@charset "utf-8";
/*------------------------------
		all
------------------------------*/
.bold{
	font-weight: bold;
}

/* ハンバーガー */
.menu-wrapper {
  position: relative;
}

.menu-icon {
  width: 40px;
  height: 30px;
  position: fixed; /* ← fixedにして常に左上固定 */
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 5;
  display: inline-block;
}

.menu-icon span {
  display: block;
  height: 4px;
  margin: 6px 0;
  background: #333;
  border-radius: 2px;
  transition: 0.4s;
}

#menu-toggle:checked + .menu-icon span:nth-child(1) {
  /* バツ印の回転中心を線の中心にする */
  transform-origin: center;
  /* 2番目の線の位置に移動させて、45度回転 */
  transform: translateY(10px) rotate(45deg); 
}

#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .menu-icon span:nth-child(3) {
  /* バツ印の回転中心を線の中心にする */
  transform-origin: center;
  /* 2番目の線の位置に移動させて、-45度回転 */
  transform: translateY(-10px) rotate(-45deg); 
}
/* オーバーレイ背景 */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 3;
}

#menu-toggle:checked ~ .overlay {
  opacity: 1;
  pointer-events: auto;
}

/* メニュー本体（左から出す） */
.menu {
  position: fixed;
  top: 0;
  right: -250px; /* ← 初期位置を左へ */
  width: 250px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  transition: right 0.4s ease;
  z-index: 4;
}

#menu-toggle:checked ~ .menu {
  right: 0; /* ← 開いたときは左0へ */
}

.menu ul {
  list-style: none;
  padding: 60px 20px;
}

.menu li {
  margin: 20px 0;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.menu a:hover {
  color: #007bff;
}

/* お問い合わせ */
.contact_wrap {
	width: 1200px;
	margin: 95px auto;
}
.form_box {
	padding: 40px 30px;
	background-color: #fff;
}
.form_table {
	width: 100%;
}
.form_table th {
	line-height: 1.4;
	width: 370px;
	padding-top: 10px;
	text-align: left;
	font-size: 20px;
	vertical-align: top;
}
.form_table th .required {
	display: inline-block;
	margin-left: 2.5em;
	padding: 2px 10px;
	color: #fff;
	font-size: 14px;
	border-radius: 15px;
	background-color: #C30C18;
	vertical-align: middle;
}
.form_table td {
	display: block;
	width: 710px;
	margin-bottom: 20px;
}
.form_table td.number {
	width: 280px;
}
.form_table td.name {
	width: 65%;
}
.form_table td.company_name {
	width: 80%;
}
.form_table td.mail {
	width: 60%;
}
.form_table td input, .form_table td textarea {
	width: 100%;
	height: 45px;
	padding: 10px;
	outline: none;
	font-size: 14px;
	font-family: inherit;
	background-color: #fff !important; 
	border: 1px #6B84A0 solid;
	border-radius: 10px;
}
.form_table td textarea {
	line-height: 1.4;
	width: 100% !important;
	height: 160px !important;
	resize: none;
}
.form_table td.area textarea {
	height: 70px !important;
}

.form_table td.checkbox input {
	display: none;
}
.form_table td.checkbox input + span {
	position: relative;
	padding-left: 40px;
	margin-right: 30px;
	line-height: 35px;
	cursor: pointer;
}
.form_table td.checkbox input ~ span::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 22px;
	height: 22px;
	border: 1px #6B84A0 solid;
	border-radius: 50%;
}
.form_table td.checkbox input:checked ~ span::after {
	content: "";
	display: block;
	position: absolute;
	top: 6px;
	left: 6px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #6B84A0;
}
.form_table td .pv_tx {
	width: 100%;
	height: 100px;
	padding: 5px 10px;
	overflow-y: scroll;
	font-size: 12px;
	border: 1px #eee solid;
}
.form_box .submit_btn {
	padding: 10px 50px;
	width: 600px;
	height: 65px;
	margin: 0 auto;
	border: none;
	outline: none;
	color: #fff;
	font-family: inherit;
	font-size: 20px;
	font-weight: bold;
	cursor: pointer;
	background-color: #C30C18;
	border-radius: 45px;
	letter-spacing: 2px;
}
.submit_btn:hover{
	background-color: #a10c1f;
}
.submit_btn span{
	position: relative;
	display: inline-block;
	padding-right: 40px;
}
.submit_btn span::after{
	position: absolute;
	content: "";
	width: 8px;
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	background: url("../img/arrow-icon.svg") no-repeat center right/8px;
}
.contact_sub_tx {
	font-size: 14px;
	font-weight: bold;
	margin-top: 30px;
	text-align: center;
}
.contact_sub_tx a {
		color: var(--color-primary);
		text-decoration: underline;
		text-decoration-thickness: 2px;
		text-underline-offset: 4px;
}
/*------------------------------
		thanks
------------------------------*/
.thanks_wrap {
	min-height: calc(100vh - 335px);
	padding: 70px 0 100px;
	text-align: center;
	color: #333;
}
.thanks_wrap p {
	font-weight: bold;
}
.thanks_wrap .head_tx {
	margin: 50px 0 70px;
	font-size: 40px;
	font-weight: bold;
}
.thanks_wrap .sub_tx {
	margin-bottom: 25px;
}
.thanks_wrap .top_btn {
	display: flex;
	width: 255px;
	height: 70px;
	margin: 50px auto;
	color: #fff;
	font-weight: bold;
	background-color: #333;
	border-radius: 35px;
	align-items: center;
	justify-content: center;
}
.thanks_wrap .top_btn:hover {
	background-color: var(--color-primary);
}
.contact_tel {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 32px;
	font-weight: bold;
	margin-top: 25px;
}
@media screen and (max-width: 1200px) {
	.contact_wrap {
		width: 100%;
	}

}
@media screen and (max-width: 1200px) {
	.form_table th, .form_table td {
		display: block;
		width: 100%;
	}
	.form_table td {
		margin: 10px 0 20px;
	}

}
@media screen and (max-width: 767px) {
	.sp_hide {
		display: none !important;
	}

	/* contact */
	.contact_wrap {
		width: 100%;
		padding: 0 15px;
		margin: 135px auto 50px;
	}
	.form_box {
		padding: 0;
	}
	.form_table th, .form_table td {
		display: block;
		width: 100%;
	}
		.form_table td.mail {
		width: 300px !important;
	}
		.form_table td.mail input{
		width: 300px !important;
	}
	.form_table th .required {
		top: 5px;
		bottom: 0;
		right: 0;
	}
	.form_table td {
		margin: 10px 0 20px;
	}
	.form_table td textarea {
		height: 160px!important;
	}
	.form_table td .address_zip input {
		width: 140px;
	}
	.form_box .submit_btn {
		width: 100%;
		height: 55px;
	}
	form#mailformpro label {
		width: 100%;
	}
	/*------------------------------
			thanks
	------------------------------*/
	.thanks_wrap {
		padding: 50px 15px 80px;
	}
	.thanks_wrap .head_tx {
		line-height: 1.5;
		margin: 30px 0 15px;
		text-align: center;
		font-size: 30px;
	}
	.thanks_wrap .head_tx + p {
		text-align: center;
	}
	.thanks_wrap .top_btn {
		margin-top: 30px;
		color: #fff;
		background-color: #2c4d4e;
	}
		.contact_tel a {
		color: #333;
	}

}