@charset "utf-8";

#content_h {
	height: 1125px;
}

/*-------------------------------------
	フォーム用テキスト表示制御
--------------------------------------*/
.preview_txt {
	display: none;
}

.mw_wp_form_confirm .input_txt {
	display: none !important;
}

.mw_wp_form_confirm .preview_txt {
	display: block !important;
	text-align: center;
}

.mw_wp_form_complete .input_txt,
.mw_wp_form_complete .preview_txt {
	display: none !important;
}

/*-------------------------------------
	共通
--------------------------------------*/
.req {
	display: inline-block;
	font-size: 1.2rem;
	font-weight: 400;
	letter-spacing: 0.05em;
	color: #F44336;
	padding: 2px 9px;
	margin: 0 20px;
	background: #FBD8D6;
	border-radius: 4px;
}

/*-------------------------------------
	content_area
--------------------------------------*/
.content_area.contact {
	padding: 65px 0 72px;
	margin-top: -620px;
	z-index: 1;
	background: linear-gradient(to bottom,
			rgba(245, 245, 245, 0) 0%,
			#f5f5f5 700px,
			#f5f5f5 100%);

}


.inner>.input_txt:first-child .sec_ttl_h2 {
	margin-top: 0;
}

/*-------------------------------------
	上部リード文
--------------------------------------*/
.contact-lead {
	text-align: center;
	margin-bottom: 30px;
}


/*-------------------------------------
	TEL / FAX
--------------------------------------*/

.contact-tel-list-lead {
	font-size: 2.4rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 50px 0 20px;
	text-align: center;
}

.contact-tel-area {
	text-align: center;
	margin-bottom: 42px;
}

.contact-tel-lead {
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 14px;
}

.contact-tel-list {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 34px;
	font-family: 'Poppins', 'Noto Sans JP', sans-serif;
	font-size: 2.6rem;
}

.contact-tel-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	/* 	color: #111; */
	text-decoration: none;
	position: relative;
}

.contact-tel-item:first-child::before {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: -15px;
	width: 1px;
	height: 20px;
	background-color: #303F5D;
}

.contact-tel-icon-img {
	display: block;
/* 	width: 20px; */
	height: auto;
}

.contact-tel-number {
	font-size: 2.6rem;
	font-weight: 600;
	letter-spacing: 0.05em;
}

/*-------------------------------------
	タブ
--------------------------------------*/

.contact-form-lead {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 40px;
}

.contact-form-area {
	text-align: center;
	margin: 100px 0 28px;
}


.contact-tab {
	display: flex;
	justify-content: center;
	gap: 40px;
	margin-bottom: 100px;
}

.contact-tab-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 320px;
	height: 90px;
	border: none;
	background: #fff;
	color: #003b7a;
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: all .3s ease;
	border-radius: 5px;
}

.contact-tab-button.is-active {
	background: #0050E6;
	color: #fff;
}

.contact-tab-button:hover {
	opacity: 0.85;
}

.contact-required-txt {
	text-align: left;
	margin-bottom: 45px;
}

.contact-required-txt span.req {
	margin: 0 20px 0 0px;
}

/*-------------------------------------
	タブパネル
--------------------------------------*/
.contact-panel {
	display: none;
}

.contact-panel.is-active {
	display: block;
}

/*-------------------------------------
	form
--------------------------------------*/
.form_wrap {
	margin-bottom: 50px;
}

.form_head {
	display: flex;
	align-items: center;
	font-size: 1.8rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	line-height: 1.6;
	margin: 45px 0 15px;
}

.form_input {
	width: 100%;
}


select,
.form_txt,
textarea {
	display: block;
	width: 100%;
	font-family: 'Noto Sans JP', 'Open Sans', sans-serif, "游ゴシック", "Yu Gothic", Yu Gothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック";
	font-size: 1.5rem;
	line-height: 1.8;
	letter-spacing: 0.05em;
	border: none;
	background-color: #fff;
	padding: 18px 20px;
	box-sizing: border-box;
}

.form_txt::placeholder,
textarea::placeholder {
	color: #b8b8b8;
}

.p-postal-code {
	margin-bottom: 10px;
	width: auto;
	display: inline-block;
}

textarea {
	min-height: 235px;
	resize: vertical;
	overflow: auto;
}

/*-------------------------------------
	プライバシーポリシー
--------------------------------------*/
.contact-privacy {
	margin-top: 50px;
}

.contact-privacy-box {
	height: 345px;
	overflow-y: auto;
	background: #fff;
	padding: 30px 35px;
	box-sizing: border-box;
}

.contact-privacy-box::-webkit-scrollbar {
	width: 8px;
}

.contact-privacy-box::-webkit-scrollbar-track {
	background: #eef2f5;
}

.contact-privacy-box::-webkit-scrollbar-thumb {
	background: #c4ccd4;
	border-radius: 10px;
}


.contact-privacy-box p {
	margin: 0 0 14px;
	max-height: none;
}

.contact-privacy-box p:last-child {
	margin-bottom: 0;
}


.contact-privacy-check {
	text-align: center;
	margin: 70px 0 40px;
}

.contact-privacy-agree {
	text-align: center;
}

.contact-privacy-agree label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
}

.contact-privacy-agree input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
}

.contact-recaptcha {
	display: flex;
	justify-content: center;
	margin: 30px 0 0;
}

/*-------------------------------------
	button
--------------------------------------*/
.content_area.contact #form_btn {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	position: relative;
	margin: 50px 0 0;
}

.content_area.contact .button_wrap {
	max-width: 100%;
}

.content_area.contact .form_btn_single.submit {
	display: block;
	width: 360px;
	max-width: 100%;
	height: auto;
	background: #0050E6;
	transition: all .3s ease;
	position: relative;
	overflow: hidden;
	border-radius: 5px;
}

.content_area.contact .form_btn_single.submit .submit_btn {
	display: block;
	font-size: 1.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-align: center;
	text-decoration: none;
	color: #fff !important;
	width: 100%;
	background-color: transparent;
	border: none;
	padding: 25px 15px;
	margin: auto;
	cursor: pointer;
	position: relative;
	box-sizing: border-box;
}

.content_area.contact .form_btn_single.submit:hover {
	background: #003b9e;
}


.content_area.contact .form_btn_single.goback {
	max-width: 180px;
	width: 100%;
	position: relative;
	margin: 0 20px 0 0;
	transition: all .3s ease;
}

.content_area.contact .form_btn_single.goback .back_btn {
	font-size: 1.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	/* line-height: 56px; */
	color: #7f7f7f;
	max-width: 180px;
	width: 100%;
	background: #e6e6e6;
	padding: 25px 15px;
	border: 1px solid #e6e6e6;
	transition: all .3s ease;
	box-sizing: border-box;
	border-radius: 5px;
}

.content_area.contact .form_btn_single.goback .back_btn:hover {
	background: #fff;
	cursor: pointer;
}

/*-------------------------------------
	確認画面
--------------------------------------*/
.mw_wp_form_confirm .contact-panel {
	display: block;
}

.mw_wp_form_confirm .contact-panel:not(.is-active) {
	display: none;
}

.mw_wp_form_confirm .contact-privacy {
	display: none;
}

.mw_wp_form_confirm .form_head {
	margin-top: 26px;
}

.mw_wp_form_confirm .form_input {
	background: #fff;
	padding: 15px 20px;
	box-sizing: border-box;
	font-size: 1.5rem;
	line-height: 1.8;
	min-height: 50px;
}

/*-------------------------------------
	スマホ
--------------------------------------*/
@media screen and (max-width: 767px) {
	#content_h {
		height: 810px;
	}
	
	.content_area.contact{
		padding-bottom:100px;
	}

	.mw_wp_form_confirm .preview_txt {
		margin-bottom: 25px;
	}

	.contact-tel-list-lead {
		margin: 30px 0 10px;
	}


	.contact-lead {
		margin-bottom: 28px;
	}

	.contact-lead p {
		font-size: 1.3rem;
		text-align: left;
		line-height: 1.9;
	}

	.contact-tel-list-lead {
		font-size: 1.5rem;
	}


	.contact-tel-area {
		margin-bottom: 35px;
	}

	.contact-tel-lead {
		font-size: 1.3rem;
		margin-bottom: 12px;
	}

	.contact-tel-list {
/* 		display: block; */
		flex-direction: column;
		gap:22px;
	}
	
	.contact-tel-item:first-child::before{
		width: 20px;
		height: 1px;
		top: unset;
		bottom: -15px;
		left: calc(50% - 10px);
    	transform: unset;
	}

	.contact-tel-item {
		justify-content: center;
		margin-top: 8px;
	}

	.contact-tel-number {
		font-size: 1.6rem;
	}

	.contact-form-area {
		text-align: center;
		margin: 35px 0 25px;
	}

	.contact-form-lead {
		font-size: 1.5rem;
		margin-bottom: 15px;
	}

	.contact-tab {
		display: block;
		margin-bottom: 40px;
	}

	.contact-tab-button {
		width: 100%;
		height: 48px;
		font-size: 1.4rem;
		margin-bottom: 10px;
	}

	.contact-tab-button:last-child {
		margin-bottom: 0;
	}

	.contact-required-txt {
		font-size: 1.3rem;
	}

	.req {
		font-size: 1.1rem;
		padding: 2px 8px;
		margin: 0 5px;
	}

	.form_wrap {
		margin-bottom: 35px;
	}

	.form_head {
		font-size: 1.4rem;
		margin: 22px 0 8px;
	}

	.form_txt,
	textarea {
		padding: 12px 15px;
		font-size: 1.4rem;
	}

	textarea {
		min-height: 160px;
	}

	.contact-privacy {
		margin-top: 38px;
	}

	.contact-privacy-box {
		height: 345px;
		padding: 22px 18px;
		font-size: 1.2rem;
		line-height: 1.8;
	}

	.contact-privacy-check {
		font-size: 1.3rem;
		text-align: left;
		margin: 25px 0 12px;
	}

	.contact-privacy-agree {
		font-size: 1.3rem;
	}

	.content_area.contact #form_btn {
		max-width: none;
		flex-direction: column-reverse;
		align-items: center;
		margin: 35px 0 0;
	}

	.content_area.contact .form_btn_single.goback {
		max-width: none;
		margin: 0;
		text-align: center;
	}

	.content_area.contact .form_btn_single.goback .back_btn {
		font-size: 1.5rem;
		max-width: 100%;
		width: 230px;
		padding: 15px 20px;
	}

	.content_area.contact .form_btn_single.submit {
		width: 230px;
	}

	.content_area.contact .form_btn_single.submit .submit_btn {
		font-size: 1.5rem;
		padding: 15px 20px;
	}

	.mw_wp_form_confirm .content_area.contact .form_btn_single.submit {
		margin-bottom: 20px;
	}
}