/* お問い合わせ（v2デザイン）。フォームの仕組みは元のまま、見た目だけ */
.contact-sec { padding-top: clamp(48px, 6vw, 80px); }
.contact-main { max-width: 760px; margin: 0 auto; }
.contact-exp { font-size: 16px; line-height: 2; text-align: center; color: var(--text); }
.contact-promise { max-width: none !important; margin: 28px 0 40px !important; padding: 22px 26px !important; background: #F5F8FB !important; border-left: 3px solid var(--blue) !important; font-size: 14px !important; }
.contact-contents form { display: flex; flex-direction: column; gap: 26px; }
.form-item { display: flex; flex-direction: column; gap: 8px; }
.form-item > label { font-size: 15px; font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.form-item > p { padding: 14px 16px; background: #F5F8FB; line-height: 1.9; min-height: 52px; }
.contact-contents .input, .contact-contents textarea, .contact-contents select { width: 100%; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid rgba(4,73,125,.25); border-radius: 0; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.contact-contents select { background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.contact-contents textarea { min-height: 220px; line-height: 1.8; resize: vertical; }
.contact-contents .input:focus, .contact-contents textarea:focus, .contact-contents select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(38,167,225,.2); }
.form-note { font-size: 13px; color: var(--sub); }
.form-error, .send-error { font-size: 14px; font-weight: 700; color: #C8102E; }
.btn-area { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.submit-btn { min-width: 280px; min-height: 60px; padding: 0 40px; font: inherit; font-size: 16px; font-weight: 700; letter-spacing: .08em; color: #fff; background: var(--grad); border: 0; cursor: pointer; clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); transition: filter .3s, transform .3s; }
.submit-btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.submit-btn[type="button"] { color: var(--navy); background: #fff; box-shadow: inset 0 0 0 1.5px var(--navy); clip-path: none; }
.message { text-align: center; font-size: 17px; line-height: 2.2; padding: 40px 0; }
.message a { color: var(--blue); text-decoration: underline; }
@media (max-width: 560px) { .submit-btn { min-width: 0; width: 100%; } }
.contact-main .message, .contact-main .message p { max-width: none; width: 100%; } .contact-main .message p { font-size: 17px; }

/* ===== お問い合わせ：トップと同じ作り込み（10/1） ===== */
.ct-hero { position: relative; overflow: hidden; padding: 28px 0 120px; color: #fff; background:
  radial-gradient(90% 120% at 90% 0%, rgba(38,167,225,.35), transparent 55%), var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 5vw)); }
.ct-hero .breadcrumb { font-size: 13px; opacity: .7; }
.ct-en { position: absolute; right: -1vw; bottom: 3vw; font-family: var(--display); font-weight: 600; font-size: clamp(90px, 17vw, 260px); line-height: .8; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); pointer-events: none; }
.ct-title { position: relative; margin-top: 44px; font-size: clamp(36px, 5.4vw, 72px); font-weight: 700; letter-spacing: .02em; line-height: 1.15; animation: v3-fade-in 1s var(--ease) both; }
.ct-catch { position: relative; margin-top: 18px; font-size: clamp(16px, 1.6vw, 21px); letter-spacing: .18em; color: rgba(255,255,255,.85); animation: v3-fade-in 1s .2s var(--ease) both; }
.ct-steps { position: relative; display: flex; gap: 10px; margin-top: 40px; }
.ct-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 22px 10px 18px; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); }
.ct-steps b { font-family: var(--display); font-size: 16px; letter-spacing: .05em; }
.ct-steps li.is-on { color: var(--ink); background: linear-gradient(135deg, #9BDCFF, #2FB7FF); }
.ct-steps li.is-done { color: #9BDCFF; }
.ct-body { padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 8vw, 112px); }
.ct-grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.ct-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.ct-aside-en { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .3em; color: var(--blue); }
.ct-promise { margin-top: 14px; border-top: 2px solid var(--navy); }
.ct-promise li { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid rgba(4,73,125,.15); }
.ct-promise b { font-size: 22px; color: var(--navy); letter-spacing: .02em; }
.ct-promise span { font-size: 14px; color: var(--text); }
.ct-direct { margin-top: 24px; padding: 20px 22px; background: var(--grad); color: #fff; display: flex; flex-direction: column; gap: 6px; }
.ct-direct p { font-size: 12px; letter-spacing: .2em; opacity: .85; }
.ct-direct a { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: .04em; }
.ct-direct a + a { font-size: 15px; font-family: inherit; }
.ct-form { padding: clamp(24px, 3.4vw, 48px); background: #fff; box-shadow: 0 30px 80px rgba(2,31,54,.1); }
.ct-form .contact-main { max-width: none; }
.ct-form .contact-exp, .ct-form .contact-promise { display: none; }
.ct-form form { counter-reset: fi; }
.ct-form .form-item { counter-increment: fi; position: relative; }
.ct-form .form-item > label { display: flex; align-items: center; gap: 10px; }
.ct-form .form-item > label::before { content: counter(fi, decimal-leading-zero); font-family: var(--display); font-size: 13px; color: var(--blue); letter-spacing: .1em; }
.ct-form .form-item:has([required]) > label::after { content: "必須"; padding: 1px 8px; font-size: 11px; color: #fff; background: var(--navy); }
.ct-form .form-item:not(:has([required])) > label::after { content: "任意"; padding: 1px 8px; font-size: 11px; color: var(--navy); background: #EEF5FB; }
.ct-form .contact-contents .input, .ct-form .contact-contents textarea, .ct-form .contact-contents select { background-color: #F7FAFC; border: 0; border-bottom: 2px solid rgba(4,73,125,.2); background-image: linear-gradient(var(--blue), var(--blue)); background-size: 0 2px; background-position: left bottom; background-repeat: no-repeat; transition: background-size .5s var(--ease), background-color .3s; }
.ct-form .contact-contents select { background-image: linear-gradient(var(--blue), var(--blue)), linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-size: 0 2px, 6px 6px, 6px 6px; background-position: left bottom, calc(100% - 22px) 52%, calc(100% - 16px) 52%; }
.ct-form .contact-contents .input:focus, .ct-form .contact-contents textarea:focus { box-shadow: none; background-color: #fff; background-size: 100% 2px; }
.ct-form .contact-contents select:focus { box-shadow: none; background-color: #fff; background-size: 100% 2px, 6px 6px, 6px 6px; }
.ct-form .form-note { margin-top: -2px; background: none; padding: 0; }
.ct-form .btn-area { margin-top: 20px; }
.ct-form .submit-btn { min-width: 320px; min-height: 68px; font-size: 17px; }
.ct-form .message { padding: 24px 0; font-size: 18px; }
@media (max-width: 960px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-aside { position: static; order: 2; }
  .ct-steps li { padding: 8px 16px 8px 12px; font-size: 13px; }
}

/* ===== StockSun型（10/1）：明るく中央揃え・左に項目名の表 ===== */
.ct-head { padding: 24px 0 8px; text-align: center; background: linear-gradient(180deg, #F2F8FC 0%, #fff 100%); }
.ct-head .breadcrumb { justify-content: flex-start; font-size: 13px; color: var(--sub); }
.ct-badge { display: inline-block; margin-top: 28px; padding: 6px 18px; font-size: 14px; font-weight: 700; color: #fff; background: var(--navy); letter-spacing: .06em; }
.ct-badge b { font-family: var(--display); font-size: 20px; margin: 0 2px; color: #9BDCFF; }
.ct-head .ct-title { margin-top: 18px; font-size: clamp(30px, 4.2vw, 52px); color: var(--navy); letter-spacing: .06em; animation: none; }
.ct-lead { max-width: 760px; margin: 18px auto 0; font-size: 15px; line-height: 2; color: var(--text); }
.ct-trust { max-width: 920px; margin: 32px auto 0; display: grid; grid-template-columns: auto 1fr; gap: 20px 32px; align-items: center; padding: 20px 24px; background: #fff; box-shadow: var(--shadow); text-align: left; }
.ct-face { display: flex; align-items: center; gap: 16px; }
.ct-face img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; }
.ct-face p { display: flex; flex-direction: column; gap: 4px; }
.ct-face b { font-size: 16px; color: var(--navy); }
.ct-face span { font-size: 12px; color: var(--sub); }
.ct-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 22px; }
.ct-logos li { width: auto; height: auto; padding: 0; }
.ct-logos img { max-height: 30px; max-width: 110px; width: auto; }
.ct-other { margin-top: 16px; font-size: 13px; color: var(--sub); }
.ct-body { padding: 28px 0 clamp(64px, 8vw, 104px); }
.ct-wrap { max-width: 920px; }
.ct-form { padding: clamp(24px, 3vw, 40px); background: #F5F8FB; box-shadow: none; }
.ct-form .form-item { display: grid; grid-template-columns: 220px 1fr; column-gap: 24px; align-items: start; padding: 14px 0; border-bottom: 1px solid rgba(4,73,125,.1); }
.ct-form .form-item > label { padding-top: 12px; }
.ct-form .form-item > :not(label) { grid-column: 2; }
.ct-form .contact-contents form { gap: 0; }
.ct-form .contact-contents .input, .ct-form .contact-contents textarea { background-color: #fff; }
.ct-form .form-item > label::before { display: none; }
.ct-form .form-item:has([required]) > label::after { background: #C8102E; }
.ct-form .form-item:has([required]) > label { justify-content: flex-start; }
.ct-form .contact-contents ::placeholder { color: #A9B6C2; }
.is-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ct-choice { display: flex; flex-direction: column; gap: 8px; }
.ct-choice button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; font: inherit; font-size: 15px; text-align: left; color: var(--ink); background: #fff; border: 1px solid rgba(4,73,125,.2); cursor: pointer; transition: border-color .2s, background .2s; }
.ct-choice button::before { content: ""; flex: none; width: 18px; height: 18px; border: 2px solid rgba(4,73,125,.35); border-radius: 50%; transition: all .2s; }
.ct-choice button:hover { border-color: var(--blue); }
.ct-choice button[aria-pressed="true"] { border-color: var(--blue); background: #EEF7FD; font-weight: 700; }
.ct-choice button[aria-pressed="true"]::before { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 45%, transparent 50%); }
.ct-form .btn-area { margin-top: 32px; }
@media (max-width: 760px) {
  .ct-trust { grid-template-columns: 1fr; }
  .ct-logos { justify-content: flex-start; }
  .ct-form .form-item { grid-template-columns: 1fr; }
  .ct-form .form-item > :not(label) { grid-column: 1; }
  .ct-form .form-item > label { padding-top: 0; padding-bottom: 8px; }
}
.ct-choice.is-invalid button { border-color: #C8102E; } .ct-choice.is-invalid::after { content: "相談種別を選んでください"; font-size: 13px; font-weight: 700; color: #C8102E; }
