@charset "utf-8";
/* ==========================================================
   お問い合わせ（contact/index.php・contact/thanks/index.php）
   ========================================================== */
.ct_sec { padding: 3rem 0 6.25rem; }
.ct_inner { max-width: 77rem; margin: 0 auto; padding: 0 1rem; }

.ct_ttl { color: var(--color-green-light); font-family: var(--font-serif); font-size: 2rem; font-weight: 700; line-height: 1.5; letter-spacing: .08em; text-align: center; }
.ct_lead { margin-top: 1rem; font-size: 1.0625rem; line-height: 2.0588; text-align: center; }

/* 小見出し（下に緑の線） */
.ct_h3 { margin-top: 2.5rem; padding-bottom: .75rem; border-bottom: 3px solid var(--color-green); font-family: var(--font-serif); font-size: 1.625rem; font-weight: 500; line-height: 1.5; letter-spacing: .04em; }

/* お電話でのご相談 */
.ct_tel { position: relative; width: 43.25rem; height: 23.4375rem; margin: 2rem auto 0; }
.ct_tel_box { position: absolute; left: 0; top: 2.75rem; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 31.8125rem; height: 11.8125rem; border-radius: 1rem; background: var(--color-bg-green); }
.ct_tel_box .tel_num { font-size: 4rem; }
.ct_tel_box .tel_num img { width: 2.5rem; height: 2.5rem; margin-right: .625rem; }
.ct_tel_box .tel_note { margin-top: .875rem; font-size: 1.375rem; font-weight: 500; }
.ct_tel_person { position: absolute; right: 0; top: 0; width: 14.75rem; height: auto; }
.ct_tel + .ct_h3 { margin-top: 0; }

/* フォーム */
.ct_form { margin-top: 2.125rem; padding: 3.5rem 5.75rem 4rem; background: var(--color-white); }
.ct_ttl + .ct_lead + .ct_form { margin-top: 2.5rem; }
.ct_hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct_test { margin-bottom: 1.5rem; padding: .625rem 1rem; background: #fff6d6; border: 1px solid #e0c060; font-size: .9375rem; line-height: 1.6; text-align: center; }
.ct_alert { margin-bottom: 1.75rem; padding: .875rem 1rem; border: 1px solid #c8372d; background: #fdf0ee; color: #b3261e; font-size: 1rem; font-weight: 700; line-height: 1.6; text-align: center; }

.ct_row { display: flex; align-items: flex-start; }
.ct_row + .ct_row { margin-top: 1.75rem; }
.ct_row dt { flex: none; display: flex; align-items: center; justify-content: space-between; width: 15.75rem; min-height: 3.4375rem; margin-right: 4.625rem; font-size: 1rem; font-weight: 700; line-height: 1.5; }
.ct_row dt .tag { flex: none; width: 4.125rem; background: var(--color-green-light); color: var(--color-white); font-size: .9375rem; font-weight: 700; line-height: 2.0625rem; text-align: center; }
.ct_row dt .tag-any { background: #aaa; }
.ct_row dd { flex: 1; min-width: 0; }
.ct_row input[type="text"], .ct_row input[type="tel"], .ct_row input[type="email"], .ct_row textarea {
	display: block;
	width: 100%;
	height: 3.4375rem;
	padding: 0 1.25rem;
	border: 1px solid #c4c4c4;
	border-radius: 0;
	background: var(--color-white);
	color: var(--color-text);
	font: inherit;
	font-size: 1rem;
	line-height: 1.6;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
}
.ct_row textarea { height: 10.25rem; padding: .875rem 1.25rem; resize: vertical; }
.ct_row input::placeholder, .ct_row textarea::placeholder { color: #c8c8c8; }
.ct_row input:focus, .ct_row textarea:focus { outline: 2px solid var(--color-green-light); outline-offset: 1px; }
.ct_row.is-error input, .ct_row.is-error textarea { border-color: #c8372d; background: #fdf6f5; }
.ct_error { margin-top: .375rem; color: #b3261e; font-size: .9375rem; font-weight: 700; line-height: 1.5; }

/* チェックボックス */
.ct_checks { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.375rem; min-height: 3.4375rem; }
.ct_checks label { display: inline-flex; align-items: center; font-size: 1rem; line-height: 1.5; cursor: pointer; }
.ct_checks input { flex: none; width: 1.0625rem; height: 1.0625rem; margin: 0 .5rem 0 0; accent-color: var(--color-green); }

.ct_agree { margin-top: 1rem; padding-left: 20.375rem; font-size: .9375rem; line-height: 1.7; }
.ct_agree a { text-decoration: underline; text-underline-offset: .2em; transition: color .3s ease; }
@media (hover: hover) {
	.ct_agree a:hover { color: var(--color-green); text-decoration: none; } /* マウスを当てると緑になり、下線が消える */
}
.ct_btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.5rem; margin-top: 2.75rem; }
.ct_btn { position: relative; width: 17.25rem; height: 3.4375rem; border: 0; font-family: inherit; font-size: 1rem; cursor: pointer; }
button.ct_btn.btn-primary::before { content: ""; position: absolute; left: 1.5rem; top: 50%; width: .5rem; height: .5rem; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: translateY(-50%) rotate(45deg); }
.ct_btn-back { border: 2px solid var(--color-green-light); background: var(--color-white); color: var(--color-text); transition: background-color .3s ease, color .3s ease; }
@media (hover: hover) { .btn.ct_btn-back:hover { background: var(--color-green-light); color: var(--color-white); opacity: 1; } }
.ct_note { margin-top: 2.25rem; color: var(--color-green-light); font-size: 1.125rem; font-weight: 700; line-height: 1.6; text-align: center; }

/* 確認画面 */
.ct_list-confirm .ct_row { padding-bottom: 1.25rem; border-bottom: 1px solid #ddd; }
.ct_list-confirm .ct_row + .ct_row { margin-top: 1.25rem; }
.ct_list-confirm dt { min-height: 0; width: 12.5rem; margin-right: 2rem; }
.ct_list-confirm dd { font-size: 1rem; line-height: 1.75; word-break: break-word; }
.ct_list-confirm .none { color: #999; }

.ct_faq { margin-top: 3rem; text-align: center; }
.ct_faq .btn { width: 17.0625rem; height: 3.4375rem; font-size: .9375rem; }

/* 完了画面 */
.ct_thanks { padding: 3.5rem 2rem 4rem; background: var(--color-white); text-align: center; }
.ct_thanks p { margin-top: 1.5rem; font-size: 1rem; line-height: 2; }
.ct_thanks_tel { display: inline-block; margin-top: 2rem; padding: 1.25rem 2.5rem 1.375rem; border-radius: .75rem; background: var(--color-bg-green); }
.ct_thanks_tel .tel_num { font-size: 2.5rem; }
.ct_thanks_tel .tel_num img { width: 1.625rem; height: 1.625rem; margin-right: .375rem; }
.ct_thanks .ct_thanks_tel .tel_note { margin-top: .5rem; font-size: .9375rem; line-height: 1.4; }
.ct_thanks .ct_btns { margin-top: 2.5rem; }
a.ct_btn { font-size: .9375rem; }

@media only screen and (max-width: 1199px) {
	.ct_sec { padding: 1.25rem 0 3.25rem; }
	.ct_inner { max-width: 40rem; padding: 0 .9375rem; }
	.ct_ttl { font-size: 1.25rem; letter-spacing: .04em; text-wrap: balance; } /* 15文字が1行に収まる大きさ */
	.ct_lead { margin-top: .625rem; font-size: 1rem; line-height: 1.625; text-align: left; }
	.ct_h3 { margin-top: 1.75rem; padding-bottom: .5rem; border-bottom-width: 2px; font-size: 1.25rem; }
	.ct_tel { width: 21.5625rem; max-width: 100%; height: 11.25rem; margin-top: 1.25rem; }
	.ct_tel_box { top: 1.25rem; width: 15.25rem; height: 5.6875rem; border-radius: .5rem; }
	.ct_tel_box .tel_num { font-size: 1.75rem; }
	.ct_tel_box .tel_num img { width: 1.125rem; height: 1.125rem; margin-right: .25rem; }
	.ct_tel_box .tel_note { margin-top: .375rem; font-size: .6875rem; }
	.ct_tel_person { right: .5rem; width: 6.9375rem; }
	.ct_tel + .ct_h3 { margin-top: 1.75rem; }
	.ct_form { margin-top: 1.25rem; padding: 1.5rem 1.3125rem 2rem; }
	.ct_row { display: block; }
	.ct_row + .ct_row { margin-top: 1rem; }
	.ct_row dt { width: auto; min-height: 0; margin: 0 0 .625rem; }
	.ct_row input[type="text"], .ct_row input[type="tel"], .ct_row input[type="email"] { height: 3.375rem; }
	.ct_row textarea { height: 13.75rem; }
	.ct_checks { gap: .375rem 1rem; min-height: 0; }
	.ct_agree { margin-top: 1.25rem; padding-left: 0; }
	.ct_btns { margin-top: 1.75rem; }
	.ct_btn { width: 100%; max-width: 17.25rem; }
	.ct_note { margin-top: 1.5rem; font-size: 1.1875rem; text-align: left; }
	.ct_list-confirm .ct_row { padding-bottom: .875rem; }
	.ct_list-confirm .ct_row + .ct_row { margin-top: .875rem; }
	.ct_list-confirm dt { margin-bottom: .25rem; color: var(--color-green); }
	.ct_faq { margin-top: 2rem; }
	.ct_thanks { padding: 2rem 1rem 2.25rem; }
	.ct_thanks p { margin-top: 1rem; line-height: 1.75; text-align: left; }
	.ct_thanks_tel { margin-top: 1.5rem; padding: 1rem 1.25rem 1.125rem; }
	.ct_thanks_tel .tel_num { font-size: 2rem; }
}
