@charset "UTF-8";

/* ===========================================
 * お問合せ（contact.html）
 * ページ固有クラスは .contact-○○ に統一。共通部品は l-* / c-* を再利用
 * ======================================== */

/* ===========================================
 * hero
 * ======================================== */
.contact-hero {
	position: relative;
	overflow: hidden;
	background: #e4f2f4;
}

/* 右側のドット柄のアーチ装飾（3つ） */
.contact-hero__deco {
	position: absolute;
	right: 3vw;
	bottom: 0;
	display: flex;
	align-items: flex-end;
	gap: 12px;
	pointer-events: none;

	@media (max-width: 768px) {
		right: 12px;
		gap: 8px;
	}
}

.contact-hero__deco span {
	display: block;
	border-radius: 999px 999px 0 0;
	background:
		radial-gradient(circle, rgba(148, 203, 210, 0.55) 2.2px, transparent 2.8px) 0 0 / 9px 9px,
		rgba(148, 203, 210, 0.3);
	-webkit-mask-image: linear-gradient(to top, #000 55%, transparent);
	mask-image: linear-gradient(to top, #000 55%, transparent);
}

.contact-hero__deco span:nth-child(1) {
	width: 112px;
	height: 190px;
}

.contact-hero__deco span:nth-child(2) {
	width: 152px;
	height: 218px;
}

.contact-hero__deco span:nth-child(3) {
	width: 110px;
	height: 160px;
}

@media (min-width: 769px) and (max-width: 1024px) {
	.contact-hero__deco span:nth-child(1) {
		width: 84px;
		height: 160px;
	}

	.contact-hero__deco span:nth-child(2) {
		width: 114px;
		height: 190px;
	}

	.contact-hero__deco span:nth-child(3) {
		width: 82px;
		height: 136px;
	}
}

@media (max-width: 768px) {
	.contact-hero__deco span:nth-child(1) {
		width: 44px;
		height: 60px;
	}

	.contact-hero__deco span:nth-child(2) {
		width: 60px;
		height: 78px;
	}

	.contact-hero__deco span:nth-child(3) {
		width: 44px;
		height: 54px;
	}
}

.contact-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 247px 1fr;
	-moz-column-gap: clamp(32px, 14.2vw, 204px);
	column-gap: clamp(32px, 14.2vw, 204px);
	min-height: 318px;

	@media (max-width: 768px) {
		grid-template-columns: 1fr;
		min-height: 0;
	}
}

/* 白いアーチ（Q&A / よくある質問）。ヘッダー直下から立ち上げる */
.contact-hero__title {
	display: flex;
	flex-direction: column;
	width: 247px;
	min-height: 318px;
	padding: 96px 0 0 29px;
	border-radius: 124px 124px 0 0;
	background: #fff;

	@media (max-width: 768px) {
		width: min(62%, 240px);
		min-height: 210px;
		padding: 64px 0 0 20px;
		border-radius: 120px 120px 0 0;
	}
}

.contact-hero__en {
	font-family: 'Outfit', sans-serif;
	font-size: clamp(44px, 5.3vw, 76px);
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1;
	white-space: nowrap;
	color: #94cbd2;

	@media (max-width: 768px) {
		font-size: 40px;
	}
}

.contact-hero__ja {
	margin-top: 18px;
	font-size: clamp(14px, 1.25vw, 18px);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;

	@media (max-width: 768px) {
		margin-top: 12px;
		font-size: 15px;
	}
}

.contact-hero__catch {
	padding-top: 108px;

	@media (max-width: 768px) {
		padding: 32px 0 56px;
	}
}

.contact-hero__catch-line {
	display: block;
	width: -moz-fit-content;
	width: -webkit-fit-content;
	width: fit-content;
	padding-bottom: 8px;
	border-bottom: 1px solid #94cbd2;
	font-size: clamp(15px, 1.4vw, 20px);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.06em;

	@media (max-width: 768px) {
		padding-bottom: 2px;
		border-bottom: 0;
		background: linear-gradient(transparent 82%, #fff 82%);
		font-size: 14px;
		letter-spacing: 0.02em;
	}

	@media (max-width: 360px) {
		font-size: 12.5px;
		letter-spacing: 0;
	}
}

.contact-hero__catch-line + .contact-hero__catch-line {
	margin-top: 14px;
}

/* ===========================================
 * form
 * ======================================== */
.contact-body {
	padding: 150px 0 200px;
	background: #faf8f0;

	@media (min-width: 769px) and (max-width: 1024px) {
		padding: 96px 0 150px;
	}

	@media (max-width: 768px) {
		padding: 48px 0 88px;
	}
}

.contact-form {
	display: grid;
	row-gap: 22px;

	@media (max-width: 768px) {
		row-gap: 24px;
	}
}

.contact-form__row {
	display: grid;
	grid-template-columns: 220px 1fr;
	align-items: start;

	@media (min-width: 769px) and (max-width: 1024px) {
		grid-template-columns: 190px 1fr;
	}

	@media (max-width: 768px) {
		grid-template-columns: 1fr;
		row-gap: 8px;
	}
}

.contact-form__label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 78px;
	padding-right: 12px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;

	@media (max-width: 768px) {
		justify-content: flex-start;
		gap: 10px;
		min-height: 0;
		padding-right: 0;
		font-size: 16px;
	}
}

.contact-form__req {
	flex: none;
	padding: 2px 9px;
	background: #94cbd2;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.04em;
	color: #fff;
}

.contact-form__control {
	display: block;
	width: 100%;
	height: 78px;
	padding: 0 24px;
	border: 1px solid #4a3b31;
	border-radius: 14px;
	background: #fff;
	font: inherit;
	letter-spacing: inherit;
	color: inherit;

	@media (max-width: 768px) {
		height: 56px;
		padding: 0 16px;
		border-radius: 10px;
	}
}

.contact-form__control--textarea {
	height: 300px;
	padding-block: 18px;
	line-height: 1.8;
	resize: vertical;

	@media (max-width: 768px) {
		height: 220px;
		padding-block: 14px;
	}
}

/* プライバシーポリシーへの同意 */
.contact-form__agree {
	display: flex;
	justify-content: center;
	margin-top: 48px;

	@media (max-width: 768px) {
		margin-top: 16px;
	}
}

.contact-form__agree-label {
	display: flex;
	align-items: center;
	gap: 14px;
	font-weight: 700;
	cursor: pointer;

	@media (max-width: 768px) {
		gap: 10px;
		font-size: 14px;
	}
}

.contact-form__check,
.contact-form__check input[type='checkbox'] {
	flex: none;
	position: relative;
	width: 30px;
	height: 30px;
	margin: 0;
	border: 1px solid #4a3b31;
	border-radius: 8px;
	background: #fff;
	-moz-appearance: none;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;

	@media (max-width: 768px) {
		width: 26px;
		height: 26px;
	}
}

.contact-form__check:checked::after,
.contact-form__check input[type='checkbox']:checked::after {
	content: '';
	position: absolute;
	top: 45%;
	left: 50%;
	width: 8px;
	height: 14px;
	border-right: 2px solid #4a3b31;
	border-bottom: 2px solid #4a3b31;
	translate: -50% -55%;
	rotate: 45deg;
}

/* Contact Form 7：チェックボックスは span で包まれて出力されるため、包みの余白・枠を消す */
span.contact-form__check {
	width: auto;
	height: auto;
	border: none;
	background: none;
}

.contact-form__check .wpcf7-list-item {
	display: block;
	margin: 0;
}

.contact-form__agree-link {
	border-bottom: 1px solid #4a3b31;
}

/* Contact Form 7：スパム対策（Turnstile） */
.contact-form__turnstile {
	display: flex;
	justify-content: center;
}

.contact-form__submit {
	margin-top: 26px;
	background-color: #94cbd2;
	font-family: inherit;
	color: inherit;
	cursor: pointer;

	@media (max-width: 768px) {
		margin-top: 8px;
	}
}

/* ===========================================
 * thanks
 * ======================================== */
.thanks {
	margin: 5rem 0 10rem;
	position: relative;
	z-index: 50;
	@media (max-width: 768px) {
		margin: 5rem 0 5rem;
	}
}

.thanks__inner {
	max-width: 1080px;
	width: 95%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.thanks__thanks {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.5;
	width: 77%;
	@media (max-width: 1100px) {
		font-size: 16px;
		width: 90%;
	}
}

.thanks__btn-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	margin-top: 3vw;
}

/* -- ========== お問合せボタン ========== -- */

.contact__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 174px;
	min-height: 48px;
	padding: 15px 58px;
	border-radius: 28px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
	text-decoration: none;
	opacity: 1;
	transition: var(--transition-base);

	box-shadow: 0px 3px 6px #00000029;

	@media (max-width: 768px) {
		min-width: 160px;
		min-height: 46px;
		padding: 13px 28px;
		font-size: 14px;
	}
}

.contact__btn {
	background: transparent linear-gradient(180deg, #0073d8 0%, #042b97 100%) 0% 0% no-repeat
		padding-box;
	border: #118ccb 2px solid;
	font-size: 20px;
	@media (max-width: 768px) {
		font-size: 16px;
	}
}

.contact__btn:hover {
	background: #fff;
	color: var(--color-main);
	border: #0073d8 2px solid;
}
