@charset "utf-8";
/* contact.html / contact_complete.html 専用（2026改修：EFO） */
.rnCt { padding-top: 40px; }
.rnCtFlow { margin-bottom: 36px; }
.rnCtWrap { display: flex; align-items: flex-start; gap: 36px; }
.rnCtMain { flex: 1 1 auto; min-width: 0; }
.rnCtAside { flex: 0 0 320px; order: 2; position: sticky; top: 100px; }

/* 安心材料・電話番号 */
.rnCtAssure { padding: 22px 22px 14px; background: #fdeceb; border-top: 4px solid #b80000; }
.rnCtAssure .ttl, .rnCtTel .ttl { margin: 0 0 8px; font-size: 17px; font-weight: bold; color: #b80000; }
.rnCtAssure p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.9; color: #2b2b2b; }
.rnCtAssure strong { color: #2b2b2b; background: linear-gradient(transparent 62%, #ffd9d6 62%); }
.rnCtAssure .rnCheck li { font-size: 14px; }
.rnCtTel { margin-top: 16px; padding: 20px 22px; background: #fff; border: 1px solid #d6dbe6; border-top: 4px solid #1C4C9F; }
.rnCtTel .ttl { color: #1C4C9F; }
.rnCtTel dl { margin: 0; }
.rnCtTel dt { margin: 10px 0 0; font-size: 13px; font-weight: bold; color: #555; }
.rnCtTel dt:first-child { margin-top: 0; }
.rnCtTel dd { margin: 0; }
.rnCtTel dd a { display: inline-block; padding-left: 26px; font-family: Arial, "Helvetica Neue", sans-serif; font-size: 23px; font-weight: bold; letter-spacing: 0.04em; color: #2b2b2b; text-decoration: none; background: url("../images/icon_tel.svg") no-repeat left center / 20px 20px; }
.rnCtLinks { margin: 16px 0 0; padding: 0; list-style: none; }
.rnCtLinks li { border-bottom: 1px solid #e3e3e3; }
.rnCtLinks a { display: block; padding: 10px 4px; font-size: 14px; font-weight: bold; color: #1C4C9F; text-decoration: none; }
.rnCtLinks a:after { content: " →"; }

/* フォーム */
.rnCtMain .step li { font-size: 15px; }
.rnCtMode { margin: 18px 0 0; padding: 12px 16px; font-size: 14.5px; font-weight: bold; color: #1C4C9F; background: #eaf0fa; border-left: 4px solid #1C4C9F; }
.rnCtMode[hidden] { display: none; }
.rnCtIntro { margin: 18px 0 8px; font-size: 14.5px; line-height: 1.9; }
.rnCtForm { margin: 0; text-align: left; }
.rnCtRow { padding: 18px 0; border-bottom: 1px solid #e6e6e6; }
.rnCtLabel { display: block; margin: 0 0 8px; font-size: 15.5px; font-weight: bold; color: #2b2b2b; }
.req { display: inline-block; margin-left: 8px; padding: 1px 7px; font-size: 11.5px; font-weight: bold; line-height: 1.6; color: #fff; background: #b80000; border-radius: 2px; vertical-align: 2px; }
.rnCtIntro .req { margin: 0 2px; }
.rnCtHelp { margin: 0 0 8px; font-size: 13px; line-height: 1.8; color: #767676; }
.rnCtForm .form-control { display: block; width: 100%; box-sizing: border-box; padding: 12px 14px; font-family: inherit; font-size: 16px; line-height: 1.6; color: #2b2b2b; background: #fff; border: 1px solid #c9ced8; border-radius: 4px; transition: border-color .15s, box-shadow .15s; }
.rnCtForm .form-control:focus { outline: none; border-color: #1C4C9F; box-shadow: 0 0 0 3px rgba(28,76,159,0.15); }
.rnCtForm .form-control.error { border-color: #b80000; background: #fff8f8; }
.rnCtForm textarea.form-control { min-height: 200px; resize: vertical; }
.rnCtForm label.error { display: block; margin: 6px 0 0; font-size: 13.5px; font-weight: bold; color: #b80000; }

/* 相談種別ラジオ（6区分） */
.rnCtRadios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border-radius: 6px; }
.rnCtRadios.is-error { padding: 6px; box-shadow: 0 0 0 2px #b80000; }
.rnCtRadio { position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; margin: 0; padding: 10px 14px; box-sizing: border-box; font-size: 14.5px; font-weight: bold; line-height: 1.5; color: #2b2b2b; background: #fff; border: 1px solid #c9ced8; border-radius: 6px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.rnCtRadio:hover { border-color: #1C4C9F; }
.rnCtRadio input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: #b80000; cursor: pointer; }
.rnCtRadio:has(input:checked) { color: #b80000; background: #fdeceb; border-color: #b80000; box-shadow: inset 0 0 0 1px #b80000; }
.rnCtRadio:has(input:focus-visible) { outline: 2px solid #1C4C9F; outline-offset: 2px; }

.rnCtPrivacy { margin: 20px 0 0; font-size: 13px; line-height: 1.8; color: #555; }
.rnCtPrivacy a { color: #1C4C9F; font-weight: bold; }
.rnCtSubmit { margin: 24px 0 8px; text-align: center; }
.rnCtSubmit .btnClickHereForContactUs { min-width: 280px; cursor: pointer; border: none; font-family: inherit; }

/* 送信完了ページ */
.rnCtDone { max-width: 820px; margin: 0 auto; text-align: center; }
.rnCtDone .step { margin-bottom: 30px; text-align: left; }
.rnCtDone .step li { font-size: 15px; }
.rnCtDone .msg { margin: 0 0 8px; font-size: 22px; font-weight: bold; line-height: 1.6; color: #2b2b2b; }
.rnCtDone .sub { margin: 0 0 28px; font-size: 15px; line-height: 2; }
.rnCtDone .rnCtTel { display: inline-block; text-align: left; }
.rnCtNextCards { margin-top: 12px; }

@media screen and (max-width: 1023px) {
	.rnCtWrap { gap: 24px; }
	.rnCtAside { flex-basis: 280px; }
}
@media screen and (max-width: 767px) {
	.rnCt { padding-top: 28px; }
	.rnCtWrap { flex-direction: column; gap: 20px; }
	.rnCtAside { order: 0; position: static; flex: none; width: 100%; }
	.rnCtMain { width: 100%; }
	.rnCtAssure { padding: 18px 16px 8px; }
	.rnCtTel { padding: 16px; }
	.rnCtTel dd a { font-size: 21px; }
	.rnCtLinks { display: none; }
	.rnCtRadios { grid-template-columns: 1fr; gap: 8px; }
	.rnCtRadio { min-height: 50px; font-size: 14px; }
	.rnCtLabel { font-size: 15px; }
	.rnCtMain .step li, .rnCtDone .step li { font-size: 13px; }
	.rnCtSubmit .btnClickHereForContactUs { width: 100%; min-width: 0; }
	.rnCtDone .msg { font-size: 18px; }
	.rnCtDone .sub { font-size: 14px; text-align: left; }
}
/* ---------- QA調整（2026/10/28） ---------- */
/* 文節で折り返す（「ご/相談」「受/付中」「ご/連絡」などの泣き別れ防止） */
.rnCtRadio span, .rnCtAssure .rnCheck li, .rnCtAssure p, .rnCtIntro, .rnCtHelp, .rnCtPrivacy, .rnCtMode, .rnCtDone .msg, .rnCtDone .sub { word-break: auto-phrase; }
.rnCtRadio span, .rnCtAssure .rnCheck li, .rnCtDone .msg { text-wrap: balance; }
.rnCtAssure .nw { white-space: nowrap; }
.rnCtDone .rnNote { max-width: 640px; margin-left: auto; margin-right: auto; word-break: auto-phrase; text-wrap: balance; }
@media screen and (max-width: 767px) {
	/* ヒーロー：インラインの 2vw / 1vw のままだとスマホで 7px・4px 程度になり読めないため拡大し中央揃え */
	.slide > div[style*="font-size:2vw"] { left: 0 !important; width: 100%; top: 52% !important; font-size: 5vw !important; font-weight: bold; letter-spacing: 0.06em; text-align: center; }
	.slide > div[style*="font-size:1vw"] { left: 0 !important; width: 100%; top: 73% !important; font-size: 2.8vw !important; letter-spacing: 0.08em; text-align: center; }
	.slide .contacttop-red { top: 40%; left: 33%; border-width: 3.5vw 3.5vw 0 0; }
}
.rnCtSubmit .btnClickHereForContactUs { box-sizing: border-box; max-width: 100%; padding: 16px 48px; font-size: 17px; font-weight: bold; background: #b80000; border-radius: 4px; }
.rnCtSubmit .btnClickHereForContactUs:hover { color: #fff; opacity: 1; background: #9a0000; }
