@charset "utf-8";
/* CSS Document */

/* ==================== */
/* visual */
/* ==================== */

.kv__contact {
	position: relative;
	z-index: -1;
	width: 100%;
	height: 400px;
	background-color: #2364C0;
}

.block__h2--contact {
	position: absolute;
	top: 50%;
	left: 2.0rem;
	transform: translateY(-50%);
}

.block__h2--contact h2 {
	position: relative;
	margin-bottom: 20px;
	color: #FFF;
	font-size: 4.0rem;
	font-weight: 700;
}

.block__h2--contact h2::before {
	position: absolute;
	bottom: -20px;
	left: 0;
	width: 150px;
	height: 5px;
	content: "";
	background: #FFF;
}

/* ==================== */
/* background */
/* ==================== */

.bg__contact {
	width: 100%;
/*	padding: 50px 20px 100px;*/
	background-color: #F4F9F7;
}

/* ==================== */
/* form */
/* ==================== */

.wrap__contact {
	width: 100%;
	max-width: 1024px;
	margin: 50px auto 0;
}

dl.dl__form dt {
	margin-bottom: 0.5rem;
}

dl.dl__form dt:nth-child(n+2) {
	margin-top: 1.5rem;
}

dl.dl__form dd input[type="text"] ,
dl.dl__form dd input[type="email"] ,
dl.dl__form dd input[type="tel"] ,
dl.dl__form dd textarea {
	width: 100%;
	padding: 0.75rem;
	font-family: "M PLUS 1", sans-serif;
	font-size: 1.0rem;
	color: #444;
	font-weight: 500;
	font-style: normal;
	line-height: 1.5;
	letter-spacing: 0.05rem;	
	border: 1px solid #CCC;
	background: #FFF;
	box-sizing: border-box;
}

dl.dl__form dd input[type="checkbox"] {
	all: revert;
}

dd.fb__checkbox {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	width: 100%;
}

dl.dl__form dd textarea {
	height: 120px;
}

.block__form--btn {
	margin: 30px 0;
	text-align: center;
}

span.icon__required {
	display: inline-block;
	margin-left: 0.625rem;
	padding: 0 0.5rem;
	color: #FFF;
	font-size: 0.75rem;
	background: #fb3b6f;
	border-radius: 3px;
}

/* ==================== */
/* ボタン */
/* ==================== */

/* 内容確認 */

button.btn__submit--conf {
	margin: 0.5rem;
	padding: 0.75rem 2.5rem;
	font-size: 1.125rem;
	color: #fff;
	border: none;
	background-color: #1DC3CF;
	border-radius: 100vh;
	cursor: pointer;
}

button.btn__submit--conf:hover {
	background-color: rgba(29 , 195 , 207 , 0.6);
}

/* 前に戻る */

button.btn__submit--back {
	margin: 0.5rem;
	padding: 0.75rem 2.5rem;
	color: #fff;
	border: none;
	background-color: #555;
	border-radius: 100vh;
	cursor: pointer;
}

button.btn__submit--back:hover {
	background-color: #999;
}

/* 内容確認 */

button.btn__submit--send {
	margin: 0.5rem;
	padding: 0.75rem 2.5rem;
	color: #fff;
	border: none;
	background-color: #1DC3CF;
	border-radius: 100vh;
	cursor: pointer;
}

button.btn__submit--send:hover {
	background-color: rgba(29 , 195 , 207 , 0.6);
}

/* ==================== */
/* エラー */
/* ==================== */

.wrap__form--error {
	width: 100%;
	text-align: center;
}

.block__form--error {
	margin: 30px 0;
}

.error_messe {
	margin: 20px 0;
	color: #fb3b6f;
	font-weight: 600;
	line-height: 1.0;
}

/* ==================== */
/* 確認 */
/* ==================== */

.wrap__form--confirm {
	width: 100%;
	text-align: center;
}

.wrap__form--confirm table {
	width: 100%;
	margin: 30px 0;
	border-collapse: collapse;
}

.wrap__form--confirm table th ,
.wrap__form--confirm table td {
	padding: 1.0rem;
	vertical-align: middle;
	border: 1px solid #81B4FD;
	box-sizing: border-box;
}

.wrap__form--confirm table th {
	text-align: center;
	white-space: nowrap;
	background-color: #C1D9FC;
}

.wrap__form--confirm table td {
	text-align: left;
	background-color: #fafafa;
}

/* ==================== */
/* 送信完了 */
/* ==================== */

p.text__contact {
	width: 100%;
	padding: 1.0rem;
}

@media (max-width: 1280px) {
/* 0.9 */

/* ==================== */
/* background */
/* ==================== */

/* ==================== */
/* visual */
/* ==================== */

.kv__contact {
	height: 360px;
}

.block__h2--contact h2 {
	margin-bottom: 18px;
	font-size: 3.6rem;
}

.block__h2--contact h2::before {
	bottom: -18px;
	width: 135px;
}


}


@media (max-width: 1024px) {
/* 0.8 */

/* ==================== */
/* visual */
/* ==================== */

.kv__contact {
	height: 320px;
}

.block__h2--contact h2 {
	margin-bottom: 16px;
	font-size: 3.2rem;
}

.block__h2--contact h2::before {
	bottom: -16px;
	width: 120px;
}


}


@media (max-width: 768px) {
/* 0.7 */

/* ==================== */
/* visual */
/* ==================== */

.kv__contact {
	height: 280px;
}

.block__h2--contact h2 {
	margin-bottom: 14px;
	font-size: 2.8rem;
}

.block__h2--contact h2::before {
	bottom: -14px;
	width: 105px;
}

.wrap__form--confirm table th ,
.wrap__form--confirm table td {
	display: block;
}


.wrap__form--confirm table th {
	text-align: center;
	white-space: normal;
}

}


@media (max-width: 640px) {
/* 0.6 */

/* ==================== */
/* visual */
/* ==================== */

.kv__contact {
	height: 240px;
}

.block__h2--contact h2 {
	margin-bottom: 12px;
	font-size: 2.4rem;
}

.block__h2--contact h2::before {
	bottom: -12px;
	width: 90px;
}

}


@page {
   size: A4 portrait; 
   margin: 10mm;
}

@media print {

}
