@charset "utf-8";


/* -- form#mail_form, dl, dt, dd -------------------------------------------------------------------------------- */

form#mail_form dl:after,
form#mail_form dl dt:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* -- error message -------------------------------------------------------------------------------- */

form#mail_form dl dd span.error_blank,
form#mail_form dl dd span.error_format,
form#mail_form dl dd span.error_match {
	font-size: clamp(12px,1.2vw,14px);
	display: block;
	color: #ff0000;
	margin-top: 5px;
}

/* -- loading -------------------------------------------------------------------------------- */

div.loading-layer {
	width:  100vw;
	height: 100vh;
	background: rgba( 0, 0, 0, 0.7 );
	position: fixed;
	left: 0px;
	top:  0px;
	z-index: 10000;
}
span.loading {
	width:  50px;
	height: 50px;
	border-radius: 50%;
	border-top:    5px solid rgba( 255, 255, 255, 0.2 );
	border-right:  5px solid rgba( 255, 255, 255, 0.2 );
	border-bottom: 5px solid rgba( 255, 255, 255, 0.2 );
	border-left:   5px solid #ffffff;
	-webkit-transform: translateZ( 0 );
	-ms-transform: translateZ( 0 );
	transform: translateZ( 0 );
	-webkit-animation: load-circle 1.0s linear infinite;
	animation: load-circle 1.0s linear infinite;
	position: absolute;
	top:  50%;
	left: 50%;
	margin-top:  -30px;
	margin-left: -30px;
}
@-webkit-keyframes load-circle {
	0% {
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100% {
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}
@keyframes load-circle {
	0% {
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100% {
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}




/* -- input, select, textarea -------------------------------------------------------------------------------- */

form#mail_form input,
form#mail_form textarea {
	width: 100%;
	outline:none !important;
}
form#mail_form input[type="text"],
form#mail_form input[type="email"],
form#mail_form input[type="tel"] {
	font-size: 16px;
	font-size: clamp(14px,1.4vw,16px);
	font-family: noto-sans-cjk-jp, 'Noto Sans JP', sans-serif !important;
	font-weight: normal;
	line-height: 1.3;
	letter-spacing: .1em;
	padding: .5em .75em;
	border: 1px solid #dcdddd;
	border-radius: 5px;
	box-shadow: unset !important;
	background: #fff;
	-webkit-appearance: none;
}
form#mail_form textarea {
	height:     200px;
	min-height: 200px;
	font-size: 16px;
	font-size: clamp(14px,1.4vw,16px);
	font-family: noto-sans-cjk-jp, 'Noto Sans JP', sans-serif !important;;
	display: block;
	resize: vertical;
	line-height: 1.3;
	letter-spacing: .1em;
	padding: .5em .75em;
	border: 1px solid #dcdddd;
	border-radius: 5px;
	box-shadow: unset !important;
	background: #fff;
	-webkit-appearance: none;
}

/* -- ul, li -------------------------------------------------------------------------------- */

form#mail_form ul {
	list-style-type: none;
}
form#mail_form ul li label {
	display: block;
	margin-top: 10px;
	padding: 7px 2%;
	border-radius: 3px;
	background: #f0f0f0;
}
form#mail_form ul li:first-child label {
	margin-top: 0px;
}
form#mail_form ul li label:hover {
	cursor: pointer;
	background: #e0e0e0;
}


/* -- button -------------------------------------------------------------------------------- */

form#mail_form p#form_submit {
	width: 100%;
	width: fit-content;
	position: relative;
	line-height: 1;
	text-align: center;
	margin-top: 50px;
	margin-left:  auto;
	margin-right: auto;
}
form#mail_form input[type="button"] {
	width: auto;
	font-size: clamp(16px,1.6vw,18px);
	text-align: center;
	display: inline-block;
	color: #fff;
	background-color: #a95a50;
	border: 1px solid #a95a50;
	-webkit-appearance: none;
	padding: 1em 5em;
	transition: color 0.3s, background-color .3s;
}
/* 動き */
form#mail_form input[type="button"]:hover {
    color: #a95a50;
	background-color: #fff;
	cursor: pointer;
}














/* -- add -------------------------------------------------------------------------------- */

/* ===== basic ===== */
/* header */
#contact_body header #g-nav li a {
	color: #311303 !important;
}
#contact_body header .header_logo .st0 {
	fill: #311303 !important;
}
/* footer */
#contact_body footer {
	margin-bottom: 0 !important;
}
/* main */
#contact_body main {
	padding-top:   10vw;
	padding-bottom: 8vw;
	background-image: url(../../img/index/bg_message.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top center;
}
/* head */
h1,
h1 strong {
	font-size: 58px;
	font-size: clamp(30px,5vw,58px);
}
h1 {
	width: 100%;
	text-align: center;
	margin-bottom: 1.25em;
}
h1 small {
	font-size: 18px;
	font-size: clamp(16px,1.6vw,16px);
	font-weight: normal;
	font-family: arial, 'Noto Sans JP', sans-serif;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1em;
	color: #a95a50;
}
h1 small:before,
h1 small:after  {
	content: "●";
	font-size: .5em;
	display: inline-block;
}
h1 small:before {
	margin-right: 1em;
}
h1 small:after  {
	margin-left: 1em;
}
h1 strong {
	font-weight: bold;
	line-height: 1.3;
	font-family: fot-tsukuaoldmin-pr6n, "Noto Serif JP", serif;
	color: #311303;
}


/* ===== form_wrap ===== */
.form_wrap {
	width: 92%;
	margin-left:  auto;
	margin-right: auto;
	padding: 80px;
	padding: clamp(40px,8vw,100px) clamp(40px,5.333vw,80px);
	background-color: #fff;
	box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.2);
}
form#mail_form {
	width: 100%;
	max-width: 800px;
	margin-left:  auto;
	margin-right: auto;
}
.how_privacy,
.how_privacy a {
	font-size: 12px;
}
.how_privacy {
	line-height: 2;
	margin-top: 2em;
}
.how_privacy span {
	display: inline-block;
	margin-bottom: .5em;
}
.how_privacy a {
	text-decoration: underline;
}


/* ===== form_contents ===== */
form dl {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
}
form dl + dl {
	position: relative;
	margin-top:  30px;
	padding-top: 30px;
}
form dl + dl:before {
	content: '';
    width: 100%;
    height: 3px;
    display: block;
	position: absolute;
	top:  0;
	left: 0;
    background: radial-gradient(circle farthest-side, #dcdddd, #dcdddd 40%, transparent 40%, transparent);
    background-size: 5px;
}
form dt {
	width: 35%;
	font-size: clamp(14px,1.4vw,18px);
	font-weight: normal;
	margin-top: .2em;
}
form dd {
	width: 65%;
}
/* 郵便番号 */
form#mail_form input[name="postal"] {
	width: 50% !important;
}
.postal_search_button {
	width: fit-content;
	font-size: clamp(11px,1.1vw,13px);
	font-family: arial, 'Noto Sans JP', sans-serif;
	line-height: 1;
	text-align: center;
	display: inline-block;
	position: relative;
	color: #fff;
	border: 1px solid #967963;
	background-color: #967963;
	padding: .85em 1em;
	transition: color .3s, background-color .3s;
}
.postal_search_button:hover {
	color: #967963;
	background-color: #fff;
}



/* ===== 任意・必須 ===== */
form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
	font-size: clamp(10px,1.2vw,14px);
	font-style: normal;
	line-height: 1;
	display: inline-block;
	margin-left: .5em;
	padding: .35em .5em;
	border-radius: 2px;
	color: #ffffff;
	background-color: #657c8c;
	transform: translateY(-.1em);
}
form#mail_form dl dt span.required {
	background-color: #d63220;
}




/* -- responsive -------------------------------------------------------------------------------- */
@media screen and (max-width:768px) {
	/* ===== basic ===== */
	/* main */
	#contact_body main {
		margin-top: 0 !important;
		padding-top: calc(min(16vw,100px) + min(8vw,60px));
		padding-left:  8vw;
		padding-right: 8vw;
		background-image: url(../../img/index/bg_message_sp.jpg);
	}
	/* head */
	h1,
	h1 strong {
		font-size: 21px;
		font-size: clamp(21px,5.6vw,26px);
	}
	h1 {
		margin-top: .5em;
		margin-bottom: 1em;
	}
	h1 small {
		font-size: 12px;
		font-size: clamp(12px,3.2vw,14px);
		margin-bottom: .75em;
	}

	/* ===== form_wrap ===== */
	.form_wrap {
		width: 100%;
		padding: clamp(20px,5.333vw,30px) clamp(25px,5.333vw,30px) clamp(30px,8vw,40px);
	}
	form#mail_form {
		max-width: 500px;
	}

	/* ===== form_contents ===== */
	form dl {
		flex-wrap: wrap;
	}
	form dl + dl {
		margin-top:  20px;
		padding-top: 20px;
	}
	form dt,
	form dd {
		width: 100%;
	}
	form dt {
		margin-bottom: .5em;
	}
	form dt,
	form dd {
		font-size: 14px;
	}
	/* form項目 */
	form#mail_form textarea,
	form#mail_form input[type="text"],
	form#mail_form input[type="email"],
	form#mail_form input[type="tel"]    {
		font-size: 14px;
	}

	/* 任意・必須 */
	form#mail_form dl dt span.required,
	form#mail_form dl dt span.optional {
		font-size: 10px;
	}
	/* エラーメッセージ */
	form#mail_form dl dd span.error_blank,
	form#mail_form dl dd span.error_format,
	form#mail_form dl dd span.error_match   {
		font-size: 12px;
	}
	/* 送信ボタン */
	form#mail_form p#form_submit {
		margin-top: 20px;
	}
	form#mail_form input[type="button"] {
		font-size: 16px;
	}
	/* 郵便番号 */
	.postal_dd {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
	}
	form#mail_form input[name="postal"] {
		width: 52% !important;
	}
	.postal_search_button {
		font-size: min(3vw,12px);
		display: inline-block;
		padding-top:    .75em;
		padding-bottom: .75em;
	}
}