@charset "utf-8";

/*------------ フォーム表示制御用 ------------*/
.input_txt,
.preview_txt {
	text-align: center;
}

.preview_txt {
	display: none;
}

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

.mw_wp_form_preview .preview_txt {
	display: block !important;
	margin-bottom: 30px;
}

.mw_wp_form_preview .send_txt_box {
	display: none !important;
}

/*------------ 電話 ------------*/
.tel_box {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 30px;
	padding: 6% 12%;
    background: #F1F4F3;
}

.tel_box_head {
	font-size: 2.2rem;
	/* 	letter-spacing: 0.1em; */
	width: 50%;
	font-weight: 500;
}

.tel_box_head span {
	display: block;
	font-size: 1.6rem;
	margin-top: -10px;
}

.tel_box_content {
	letter-spacing: 0.1em;
	width: 50%;
	padding-left: 4.5%;
}

.tel_box_content a {
	display: block;
	font-family: 'Noto Sans JP';
	font-weight: 500;
	font-size: 2.6rem;
}

.tel_box_content span {
	display: block;
	font-size: 1.4rem;
}

/*------------ フォーム ------------*/
.red {
	font-size: 1.4rem;
	color: #E30613;
	padding: 0 1px;
	margin: 0 2px 0;
}

.req {
	font-size: 1.4rem;
	color: #E30613;
	padding: 0 1px;
	margin: 2px 0 0;
	position: relative;
	float: right;
}

/*--- table内 ---*/
table {
	margin: 30px auto 50px;
}

table .req:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}

table th {
	vertical-align: middle;
}

.form_table textarea {
	display: block;
	font-family: 'Noto Sans JP', 'Open Sans', sans-serif, "游ゴシック", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック";
	line-height: 1.7;
	letter-spacing: 0.08em;
	width: 100%;
	border: none;
	min-height: 180px;
	padding: 11px 15px;
	resize: vertical;
	box-sizing: border-box;
	border: 1px solid #CCD9D4;
}

#zipcode {
	width: 170px;
	margin: 0 0 10px 8px;
}

/* .send_txt_box {
    text-align: center;
}
 */
.p-postal-code {
	margin-bottom: 10px;
	width: 17%;
	display: inline-block;
}

td input+p {
	margin-top: 15px;
}

#email-preview {
	font-size: 2.6rem;
	font-weight: bold;
	letter-spacing: 2.6px;
	line-height: 3.2rem;
	margin: 13px 0 8px;
	word-break: break-all;
	max-width: 100%;
	white-space: normal;
}

.doi {
	margin: 30px 0 40px;
    background: #F1F4F3;
	border-radius: 5px;
}

.doi label {
	position: relative;
	display: block;
	text-align: center;
	padding: 22px 0 22px 25px;
	cursor: pointer;
}

/*------------ ボタン ------------*/
#form_btn_wrap {
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	max-width: 680px !important;
	width: 100%;
	margin: auto;
	justify-content: center;
	position: relative;
}

.submit_btn_box {
	position: relative;
	width: 260px;
	max-width: 100%;
	height: 60px;
}

.submit_btn {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	padding: 6px;
	font-family: 'Noto Serif JP', serif;
	font-size: 1.6rem;
	letter-spacing: 0.06em;
	color: #FFF;
	background-color: #62B06C;
	border-radius: 100px;
	cursor: pointer;
	text-decoration: none;
	transition: all .3s ease;
	max-height: 100%;
	position: relative;
	border: none;
	border-radius: 999px !important;
	font-family: 'Noto Sans JP';
}

.submit_btn:hover {
	background: #396842;
	transition: 0.5s;
}

.back_btn {
	font-family: 'Noto Sans JP';
	max-width: 140px;
	width: 100%;
	background: #f7f7f7;
	display: inline-block;
	padding: 6px;
	color: #7f7f7f;
	transition: background 0.3s;
	text-decoration: none;
	position: relative;
	text-align: center;
	margin-right: 20px;
	border: 1px solid #e6e6e6;
	font-size: 100%;
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
	border-radius: 50px;
}

.back_btn:hover {
	background: #fff;
	border: 1px solid #e6e6e6;
	cursor: pointer;
}

.w100 {
	width: 100%;
	box-sizing: border-box;
}

/*--- pdf---*/
.form_faxseat {
	border: 1px solid #05618A;
	border-radius: 6px;
	width: 490px;
	height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 30px auto 100px;
}

a[href$=".pdf"] {
	background: url(../img/icon_pdf_b.svg) no-repeat center right 5px;
}

/* .form_faxseat a[href$=".pdf"] {
	display: inline-block;
	padding: 13px 20px 13px 27px;
	text-decoration: none;
	color: #fff;
	background: repeating-linear-gradient(-45deg, rgba(255, 147, 109, 1), rgba(255, 147, 109, 1) 2px, rgba(255, 128, 83, 1) 0, rgba(255, 128, 83, 1) 7px);
	border-radius: 25px;
	transition: all .3s ease;
} */

.form_faxseat a[href$=".pdf"]:hover {
	opacity: 0.8;
}

.form_faxseat a span {
	font-size: 1.8rem;
	color: #05618A;
	font-weight: 500;
	position: relative;
	display: inline-block;
	padding-left: 30px;
	background: url(img/icon_calendar.svg)no-repeat;
	background-size: 24px 24px;
	background-position: left center;
	padding-right: 10px;
}

.form_faxseat span:after {
	position: absolute;
	content: "";
	right: 0;
	width: 14px;
	height: 14px;
	top: calc(50% - 7px);
	background: url(img/icon_pdf_w.svg) no-repeat center right 5px;
	padding-right: 25px;
}

/*--- privacy policy埋め込み---*/

.pp-embed {
	margin: 20px 0;
	text-align: left;
}

p.pp-embed_title {
	font-size: 2.4rem;
	font-weight: 600;
	text-align: center;
	margin-bottom: 25px !important;
}

/* スクロールボックス */
.pp-embed__box {
	background: #fff;
	border: 1px solid #CCD9D4;
	padding: 18px 20px;
	max-height: 360px;
	overflow: auto;
	line-height: 1.7;
	text-align: left;
	-webkit-overflow-scrolling: touch;
}

.pp-embed__box p {
	margin: .6em 0;
}

.pp-embed__box h3 {
	margin: 1.2em 0 .4em;
	font-size: 1em;
	font-weight: 700;
}

.pp-embed__box ul {
	margin: .6em 0 .6em 1.2em;
	list-style: disc;
}

@media screen and (max-width: 767px) {

	/*------------ 電話 ------------*/
	.tel_box {
		margin-bottom: 35px;
		padding: 20px;
	}

	.tel_box_head {
		font-size: 1.5rem;
		letter-spacing: 0.05em;
		text-align: center;
		width: 100%;
	}

	.tel_box_content {
		width: 100%;
		padding: 10px 0;
	}

	.tel_box_content a {
		display: inline-block;
		font-size: 2.0rem;
		text-align: center;
	}

	.tel_box_content span {
		font-size: 1.3rem;
		text-align: center;
	}

	.tel_box_head span {
		font-size: 1.4rem;
	}

	/*------------ フォーム ------------*/
	.red {
		font-size: 1.2rem;
	}

	.req {
		font-size: 1.2rem;
		margin: 0;
	}

	/*--- table内 ---*/
	table {
		margin: 22px auto 35px;
	}

	table th,
	table td {
		display: block;
		width: 100%;
		padding: 13px !important;
		margin-bottom: 0px;
	}

	table th,
	table td {
		border-right: none;
	}

	input[type="text"],
	input[type="email"],
	textarea {
		width: 100%;
	}

	input,
	textarea,
	select {
		font-size: 1.3rem;
	}

	.text_area_bottom input {
		margin-bottom: 10px;
		width: 76%;
	}

	input {
		box-sizing: border-box;
		margin-bottom: 0px;
	}

	#email-preview {
		font-size: 1.9rem;
		letter-spacing: 1.9px;
		line-height: 2.4rem;
		margin: 10px 0 2px;
	}

	/*------------ ボタン ------------*/
	#form_btn_wrap {
		max-width: none;
		flex-direction: column-reverse;
		align-items: center;
	}

	.submit_btn_box {
		height: 50px;
	}

	.submit_btn {
		font-size: 1.4rem;
	}

	.back_btn {
		margin-right: 0;
		margin-top: 20px;
		margin-bottom: 30px;
		height: auto;
	}

	/*--- プレビュー時---*/
	.mw_wp_form_preview table {
		margin: 0 auto 35px;
	}

	.mw_wp_form_preview #form_btn_wrap {
		margin-top: 35px;
	}


	/*--- pdf---*/
	.form_faxseat {
		width: 100%;
		margin: 15px auto 50px;
		height: 50px;
	}

	.form_faxseat a span {
		font-size: 1.5rem;
		padding-left: 0px;
	}

	/*--- privacy policy埋め込み---*/
	p.pp-embed_title {
		font-size: 2rem;
	}
}