:root{
  --hue: 235;
  --accent: oklch(72% 0.17 var(--hue));
  --accent-600: oklch(64% 0.17 var(--hue));
  --accent-700: oklch(50% 0.15 var(--hue));
  --accent-050: oklch(97% 0.04 var(--hue));
  --accent-100: oklch(93% 0.07 var(--hue));
  --teal:   #089FAC;
  --teal-600: #067d88;
  --ink:   oklch(24% 0.02 250);
  --ink-2: oklch(42% 0.018 250);
  --ink-3: oklch(58% 0.012 250);
  --line:  oklch(92% 0.008 240);
  --line-2:oklch(96% 0.006 240);
  --cream: oklch(98.5% 0.008 240);
  --paper: #ffffff;
  --danger:#d93025;
  --shadow: 0 1px 2px rgba(20,30,50,.04), 0 8px 24px rgba(20,30,50,.06);
  --shadow-lg: 0 2px 4px rgba(20,30,50,.05), 0 30px 60px -20px rgba(40,80,180,.22);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 28px;
  --maxw: 760px;
  --t-sans:  "Noto Sans JP", system-ui, sans-serif;
  --t-num:   "Manrope", "Noto Sans JP", system-ui;
  --t-brand: "Zen Kaku Gothic New", "Noto Sans JP", system-ui, sans-serif;
}

*{box-sizing:border-box}
html{margin:0;padding:0;scroll-behavior:smooth}
body{
  margin:0;padding:0;overflow-x:clip;
  font-family:var(--t-sans);
  color:var(--ink);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
  font-feature-settings:"palt";
  line-height:1.75;
  letter-spacing:.01em;
}
img{max-width:100%;display:block}
a{color:var(--accent-600);text-decoration:underline;text-underline-offset:2px}
a[href^="tel:"]{color:var(--accent-600);font-weight:700}
button{font:inherit;color:inherit;cursor:pointer;border:none;background:none}

.wrap{max-width:var(--maxw); margin-inline:auto; padding-inline:clamp(16px,4vw,28px);}

/* ---------- HEADER（白・カラーロゴ） ---------- */
.kv-header{ background:#fff; border-bottom:1px solid var(--line); }
.kv-header .wrap{ display:flex; align-items:center; justify-content:center; min-height:72px; padding-block:10px; }
.kv-header__logo{ height:clamp(56px,8.5vw,78px); width:auto; }

/* ---------- KV（写真・青空を活かす） ---------- */
.kv{
  position:relative; overflow:hidden;
  background:#b6dbf6 url("../image/kv-pc.webp") right bottom / cover no-repeat;
  min-height: clamp(210px, 32vw, 400px);
}
.kv::before{ /* 青空トーン＋左上に陽の輝き（サンフレア） */
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(130% 150% at 4% -12%,
      rgba(255,255,255,.95) 0%,
      rgba(255,249,228,.55) 15%,
      rgba(255,255,255,0) 44%),
    linear-gradient(90deg,
      rgba(120,190,240,.9) 0%,
      rgba(150,205,244,.58) 30%,
      rgba(190,224,248,.18) 50%,
      rgba(255,255,255,0) 66%);
  pointer-events:none;
}
.kv::after{ /* 太陽の芯：小さく強い光の点 */
  content:""; position:absolute; top:-6%; left:2%; width:34%; aspect-ratio:1; pointer-events:none;
  background:radial-gradient(circle,
    rgba(255,255,255,.9) 0%,
    rgba(255,250,232,.5) 22%,
    rgba(255,255,255,0) 62%);
  mix-blend-mode:screen;
}
.kv__inner{
  position:relative; z-index:1;
  display:flex; flex-direction:column; justify-content:center;
  min-height:inherit; padding-block: clamp(24px,4vw,44px); gap:10px;
}
.kv__tag{
  display:inline-flex; align-items:center; gap:10px; align-self:flex-start;
  font-size:clamp(13px,1.9vw,19px); font-weight:800; letter-spacing:.06em; color:var(--teal-600);
  margin:0;
  /* 白のソフトグロー（ふわっと） */
  text-shadow:
    0 0 5px #fff, 0 0 10px #fff, 0 0 16px rgba(255,255,255,.85);
}
.kv__tag::before,.kv__tag::after{ content:""; width:14px; height:2px; background:var(--teal); transform:skewX(-18deg);
  /* 文字と同じふわっとした白いグロー */
  box-shadow:0 0 5px 1px #fff, 0 0 10px 2px rgba(255,255,255,.7); }
.kv__lead{
  margin:0; font-family:var(--t-brand); font-weight:900; letter-spacing:.02em;
  color:var(--ink); font-size:clamp(23px,4.2vw,42px); line-height:1.35;
  /* 白のソフトグロー（ふわっと） */
  text-shadow:
    0 0 6px #fff, 0 0 14px #fff, 0 0 24px rgba(255,255,255,.9), 0 0 40px rgba(255,255,255,.7);
}
.kv__lead .accent{ color:var(--teal-600); }
.kv__copy{ /* 文字グループのレイアウトのみ（下地なし） */
  align-self:flex-start; max-width:min(100%, 640px);
  display:flex; flex-direction:column; gap:6px;
}
@media (max-width:640px){
  .kv{
    background-image:url("../image/kv-sp.webp");
    background-position:center bottom; min-height:clamp(260px,64vw,360px);
  }
  .kv::before{ background:
    radial-gradient(120% 90% at 16% -6%, rgba(255,255,255,.92) 0%, rgba(255,249,228,.5) 15%, rgba(255,255,255,0) 46%),
    linear-gradient(180deg, rgba(120,190,240,.82) 0%, rgba(160,210,245,.4) 42%, rgba(255,255,255,0) 74%); }
  .kv__inner{ justify-content:flex-start; }
}

/* ---------- FEATURE CARDS（横並び・丸バッジ） ---------- */
.feat-cards{ max-width:1000px; margin-inline:auto; padding: clamp(18px,3.5vw,28px) clamp(16px,4vw,28px) 0; }
.feat-cards__grid{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(4,1fr); gap:14px;
}
.fcard{
  background:#fff; border:1px solid var(--line); border-radius:16px;
  box-shadow:0 4px 14px rgba(20,40,80,.06);
  padding:16px; display:flex; align-items:center; gap:13px;
  transition:transform .2s ease, box-shadow .2s ease;
}
.fcard:hover{ transform:translateY(-3px); box-shadow:0 12px 26px -8px rgba(20,40,80,.16); }
.fcard__badge{
  width:62px; height:62px; border-radius:50%; flex:none;
  display:flex; align-items:center; justify-content:center; color:#fff;
  background:linear-gradient(160deg, var(--teal) 0%, var(--accent) 100%);
  box-shadow:0 6px 14px -4px color-mix(in oklab, var(--accent) 55%, transparent);
}
.fcard__badge svg{ width:62%; height:62%; display:block; }
.fcard__label{ margin:0; font-size:15.5px; font-weight:800; color:var(--accent-700); line-height:1.5; white-space:nowrap; }
@media (max-width:1024px){ .fcard__badge{ width:56px; height:56px; } .fcard__label{ font-size:15px; } }
@media (max-width:1024px){ .feat-cards__grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){
  /* SP：1カラム・ラベルは1行（brも消す） */
  .feat-cards__grid{ grid-template-columns:1fr; }
  .fcard__label br{ display:none; }
}

/* ---------- PAGE HEAD ---------- */
.page-head{ text-align:center; padding: clamp(28px,5vw,44px) 0 clamp(8px,2vw,14px); }
.page-head h1{
  font-family:var(--t-brand);
  font-size:clamp(22px,3.4vw,30px); font-weight:900; letter-spacing:.02em;
  margin:0; color:var(--ink);
}
.page-head h1 .u{
  display:inline-block; border-bottom:4px solid var(--accent);
  padding-bottom:2px; line-height:1.2;
}
.page-intro{
  max-width:720px; margin: 14px auto 0; font-size:13px; color:var(--ink-2);
  background:var(--accent-050); border:1px solid var(--accent-100);
  border-radius:var(--r-md); padding:14px 18px; line-height:1.8; text-align:left;
}
.page-intro .nowrap{ white-space:nowrap; }
.page-intro strong{ color:var(--accent-700); }

/* ---------- CONSENT PAGE (1ページ目) ---------- */
.consent-shell{ padding: clamp(20px,4vw,32px) 0 clamp(60px,10vw,96px); }
.consent-card{
  background:var(--paper); border:1px solid var(--line);
  border-radius:var(--r-xl); box-shadow:var(--shadow);
  padding: clamp(24px,4vw,36px);
}
.consent-lead{
  max-width:720px; margin:14px auto 0;
  font-size:13.5px; color:var(--ink-2); line-height:1.95; text-align:left;
  background:var(--accent-050); border:1px solid var(--accent-100);
  border-radius:var(--r-md); padding:16px 20px;
}
.consent-lead strong{ color:var(--accent-700); }
.doc-group{ margin-bottom:22px; }
.doc-group__title{
  font-size:14px; font-weight:800; color:var(--accent-700); margin:0 0 10px;
  display:flex; align-items:center; gap:8px;
}
.doc-group__title svg{ width:16px; height:16px; color:var(--accent); flex:none; }
.doc-links{ display:flex; flex-wrap:wrap; gap:10px; }
.doc-btn{
  display:inline-flex; align-items:center; gap:8px; padding:11px 16px;
  border:1px solid var(--accent-100); background:var(--accent-050);
  border-radius:10px; font-size:13px; font-weight:700; color:var(--accent-700);
  text-decoration:none; transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.doc-btn:hover{ background:var(--accent); color:#fff; border-color:var(--accent); }
.doc-btn svg{ width:16px; height:16px; flex:none; }
.consent-divider{ height:1px; background:var(--line); margin:26px 0; }
.consent-agrees{ display:grid; gap:12px; margin: 0 0 4px; }
.consent-note{
  text-align:center; color:var(--accent-700); font-weight:700; font-size:13px;
  margin: 24px 0 14px; line-height:1.7;
}
.consent-cta{ display:flex; justify-content:center; }
.consent-cta .btn{ min-width:min(100%, 360px); }

/* ---------- 書類チェック（モーダル既読ゲート） ---------- */
.doc-check-list{ list-style:none; margin:0 0 8px; padding:0; display:grid; gap:8px; }
.doc-item{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  border:1px solid var(--line); border-radius:12px; padding:11px 14px; background:var(--cream);
}
.doc-item__name{ display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:700; color:var(--ink); }
.doc-item__name svg{ width:17px; height:17px; color:var(--accent); flex:none; }
.doc-open{
  margin-left:auto; flex:none;
  display:inline-flex; align-items:center; gap:6px; padding:8px 16px; border-radius:9px;
  font-size:12.5px; font-weight:700; color:#fff; background:var(--accent);
  transition:background .15s ease, transform .1s ease;
}
.doc-open:hover{ background:var(--accent-600); }
.doc-open:active{ transform:translateY(1px); }
.doc-item.is-read .doc-open{ background:#8aa1bd; }
.doc-item__status{
  flex:none; min-width:70px; justify-content:flex-end;
  display:inline-flex; align-items:center; gap:4px; font-size:11.5px; font-weight:700; color:var(--ink-3);
}
.doc-item.is-read .doc-item__status{ color:oklch(48% 0.15 150); }
.doc-item__status svg{ width:14px; height:14px; }
.doc-hint{ font-size:12px; color:var(--ink-3); margin:8px 0 0; line-height:1.7; }
.doc-hint.is-done{ color:oklch(48% 0.15 150); font-weight:700; }
.agree-row.is-locked, .baiden-agree.is-locked{ opacity:.5; }
.agree-row input:disabled, .baiden-agree input:disabled{ cursor:not-allowed; }
.consent-card .baiden-box{ margin:0; }

/* 売電相当額 アコーディオン（開いて確認→同意） */
.baiden-head-btn{
  width:100%; display:flex; align-items:center; gap:8px; cursor:pointer; text-align:left;
  background:var(--accent); color:#fff; padding:13px 16px;
  font-size:15px; font-weight:800; letter-spacing:.03em;
  transition:background .15s ease;
}
.baiden-head-btn:hover{ background:var(--accent-600); }
.baiden-head-btn__label{ display:flex; align-items:center; gap:8px; }
.baiden-head-btn__label svg{ width:18px; height:18px; flex:none; }
.baiden-head-btn__chev{ width:20px; height:20px; margin-left:auto; flex:none; transition:transform .2s ease; }
.baiden-head-btn[aria-expanded="true"] .baiden-head-btn__chev{ transform:rotate(180deg); }
.baiden-panel[hidden]{ display:none; }
/* 売電相当額 モーダル版（確認するボタン） */
.baiden-confirm{ padding:14px 16px; }
.baiden-confirm__note{ margin:0 0 12px; font-size:12.5px; color:var(--ink-2); line-height:1.75; }

/* ---------- MODAL ---------- */
.modal[hidden]{ display:none; }
.modal{ position:fixed; inset:0; z-index:100; display:flex; align-items:center; justify-content:center; padding:16px; }
.modal__overlay{ position:absolute; inset:0; background:rgba(15,25,45,.55); backdrop-filter:blur(2px); }
.modal__dialog{
  position:relative; z-index:1; width:min(640px,100%); max-height:min(82vh,760px);
  background:#fff; border-radius:16px; box-shadow:0 30px 60px -20px rgba(10,20,40,.5);
  display:flex; flex-direction:column; overflow:hidden;
}
.modal__head{ display:flex; align-items:center; gap:12px; padding:15px 18px; border-bottom:1px solid var(--line); }
.modal__title{ margin:0; font-size:16px; font-weight:800; color:var(--accent-700); }
.modal__close{ margin-left:auto; width:36px; height:36px; border-radius:8px; font-size:24px; line-height:1; color:var(--ink-2); }
.modal__close:hover{ background:var(--cream); }
.modal__body{ overflow-y:auto; padding:18px 20px; font-size:13px; line-height:1.95; color:var(--ink-2); -webkit-overflow-scrolling:touch; }
.modal__body h4{ font-size:14px; color:var(--ink); margin:16px 0 6px; }
.modal__body p{ margin:0 0 12px; }
.modal__foot{ border-top:1px solid var(--line); padding:13px 18px 16px; display:flex; flex-direction:column; gap:8px; }
.modal__foot-hint{ margin:0; text-align:center; font-size:12px; color:var(--ink-3); }
.modal__foot-hint.is-done{ color:oklch(48% 0.15 150); font-weight:700; }
.modal__foot .btn{ width:100%; }

/* ---------- FORM SHELL ---------- */
.form-shell{ padding: clamp(20px,4vw,32px) 0 clamp(60px,10vw,96px); }
.form-card{
  background:var(--paper); border:1px solid var(--line);
  border-radius:var(--r-xl); box-shadow:var(--shadow);
  overflow:hidden;
}

/* section */
#entryForm{ padding-top: 32px; }
#confirmView{ padding-top: 32px; }
.fsection + .fsection{ margin-top: 8px; }
.fsection__head{
  display:flex; align-items:center; gap:10px;
  background: var(--accent-050);
  border-left:5px solid var(--accent);   /* 左端いっぱいの区切り帯 */
  padding: 12px 20px;
  font-size:15px; font-weight:800; color:var(--accent-700); letter-spacing:.02em;
}
.fsection__head svg{ width:18px; height:18px; color:var(--accent); flex:none; }
.fsection__note{
  font-size:12px; color:var(--ink-3); font-weight:600; padding: 8px 20px 0;
  line-height:1.7;
}
.fsection__body{ padding: 8px 20px 20px; }

/* row: label | field */
.frow{
  display:grid; grid-template-columns: 190px 1fr; gap: 14px 20px;
  padding: 16px 0; border-bottom:1px dashed var(--line);
  align-items:start;
}
.frow:last-child{ border-bottom:none; }
.frow__label{
  display:flex; align-items:center; flex-wrap:wrap; gap:8px;
  font-size:13.5px; font-weight:700; color:var(--ink); padding-top:12px;
}
.frow__field{ min-width:0; }
@media (max-width:640px){
  .frow{ grid-template-columns:1fr; gap:8px; padding:14px 0; }
  .frow__label{ padding-top:0; }
}

.req{ font-size:10px; background:var(--accent); color:#fff; padding:2px 6px; border-radius:4px; font-weight:700; }  /* LPと同一 */
.opt{ font-size:10px; background:var(--line); color:var(--ink-3); padding:2px 6px; border-radius:4px; font-weight:700; }  /* LPと同一 */

input[type=text],input[type=email],input[type=tel],input[type=date],select,textarea{
  width:100%; padding:13px 14px; font-size:15px;
  border:1px solid var(--line); background:var(--cream);
  border-radius:12px; font-family:inherit; color:var(--ink);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
textarea{ min-height:96px; resize:vertical; }
input[type=text]:focus,input[type=email]:focus,input[type=tel]:focus,input[type=date]:focus,select:focus,textarea:focus{
  outline:none; border-color:var(--accent);
  background:var(--paper);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 16%, transparent);
}
input[type=text][aria-invalid="true"],input[type=email][aria-invalid="true"],input[type=tel][aria-invalid="true"],input[type=date][aria-invalid="true"],select[aria-invalid="true"]{
  border-color:var(--danger); background: color-mix(in oklab, var(--danger) 5%, var(--paper));
}

.name-two{ display:grid; grid-template-columns: 1fr 1fr; gap:10px; }
.name-two .np{ display:flex; align-items:center; gap:8px; }
.name-two .np span{ font-size:12px; color:var(--ink-3); font-weight:700; flex:none; }
.tel-three{ display:grid; grid-template-columns:1fr auto 1fr auto 1fr; gap:8px; align-items:center; max-width:340px; }
.tel-three .sep{ color:var(--ink-3); text-align:center; }
@media (max-width:640px){ .tel-three{ max-width:none; } }

.field-hint{ font-size:12px; color:var(--ink-3); margin:6px 0 0; line-height:1.7; }
.field-alert{ font-size:12.5px; color:var(--danger); font-weight:700; margin:0 0 8px; line-height:1.7; }
.field-error{ display:none; color:var(--danger); font-size:11.5px; margin-top:6px; font-weight:700; }
.field-error.show{ display:block; }

/* address readonly display */
.addr-box{
  background:var(--cream); border:1px solid var(--line); border-radius:12px;
  padding:13px 14px; font-size:14px; color:var(--ink); line-height:1.7;
}
.addr-box .pcode{ font-family:var(--t-num); color:var(--ink-2); font-weight:600; font-size:13px; }
.addr-box .lock{ display:inline-flex; align-items:center; gap:5px; font-size:11px; color:var(--ink-3); margin-top:6px; }
.addr-box .lock svg{ width:12px; height:12px; }

/* radio / choice cards */
.choices{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
@media (max-width:480px){ .choices{ grid-template-columns:1fr; } }
.choice{
  display:flex; align-items:center; gap:10px; cursor:pointer;
  border:1.5px solid var(--line); border-radius:12px; padding:13px 15px;
  background:var(--cream); transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  font-size:14px; font-weight:700;
}
.choice input{ accent-color:var(--accent); width:18px; height:18px; flex:none; }
.choice:hover{ border-color: color-mix(in oklab, var(--accent) 45%, var(--line)); }
.choice:has(input:checked){
  border-color:var(--accent); background: color-mix(in oklab, var(--accent) 8%, var(--paper));
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 14%, transparent);
}

/* generic checkbox line */
.check-line{
  display:flex; align-items:flex-start; gap:10px; font-size:13.5px; color:var(--ink); line-height:1.7;
  cursor:pointer;
}
.check-line input{ margin-top:3px; accent-color:var(--accent); width:17px; height:17px; flex:none; }

/* payment method extra note */
.pay-links{ margin-top:8px; }
.pay-links a{ font-size:12.5px; font-weight:700; }

/* ---------- 連絡先 住所サブフィールド ---------- */
.subgrid{ display:grid; gap:16px; margin-top:16px; }
.sub-label{
  display:flex; align-items:center; flex-wrap:wrap; gap:8px;
  font-size:12.5px; font-weight:700; color:var(--ink); margin:0 0 6px;
}
.postcode-row{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.postcode-row .pmark{ color:var(--ink-3); font-weight:700; }
.postcode-row input{ max-width:180px; }
.btn-search{
  display:inline-flex; align-items:center; gap:6px; white-space:nowrap;
  padding:11px 16px; border-radius:10px; font-size:13px; font-weight:700;
  color:var(--accent-700); background:var(--accent-050); border:1px solid var(--accent-100);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-search:hover{ background:var(--accent); color:#fff; border-color:var(--accent); }

/* ---------- 売電相当額 confirm box ---------- */
.baiden-box{
  margin: 4px 20px 0; border:1.5px solid var(--accent); border-radius:var(--r-md);
  overflow:hidden;
}
.baiden-box__head{
  background:var(--accent); color:#fff; padding:12px 18px;
  font-size:15px; font-weight:800; letter-spacing:.03em;
  display:flex; align-items:center; gap:8px;
}
.baiden-box__head svg{ width:18px; height:18px; flex:none; }
.baiden-list{
  margin:0; padding: 16px 20px 8px; list-style:none;
  font-size:13px; color:var(--ink-2); line-height:1.85;
}
.baiden-list li{ position:relative; padding-left:18px; margin-bottom:8px; }
.baiden-list li::before{
  content:""; position:absolute; left:2px; top:.72em; width:7px; height:7px;
  border-radius:50%; background:var(--accent);
}
.baiden-list b{ color:var(--accent-700); }
.baiden-agree{
  margin: 4px 12px 16px; padding:14px 16px; border-radius:12px;
  background: var(--accent-050); border:1px dashed var(--accent);
}

/* agreement row (共通) */
.agree-block{ padding: 0 20px 4px; }
.agree-row{
  display:flex; align-items:flex-start; gap:11px; padding:14px 16px;
  border:1px solid var(--line); border-radius:12px; background:var(--cream);
  font-size:13.5px; color:var(--ink); line-height:1.75; cursor:pointer;
}
.agree-row input{ margin-top:3px; accent-color:var(--accent); width:18px; height:18px; flex:none; }
.agree-row a{ font-weight:700; }

/* submit */
.submit-row{
  display:flex; flex-direction:column-reverse; gap:12px; padding: 22px 20px 26px;
}
@media (min-width:560px){ .submit-row{ flex-direction:row; justify-content:center; } }
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding:16px 26px; border-radius:14px; font-weight:800; font-size:15.5px; letter-spacing:.02em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  width:100%;
}
@media (min-width:560px){ .btn{ min-width:220px; width:auto; } }
.btn svg{ width:18px; height:18px; }
.btn-primary{ background:var(--accent); color:#fff; box-shadow: 0 10px 24px -8px color-mix(in oklab, var(--accent) 70%, transparent); }
.btn-primary:hover{ background:var(--accent-600); transform:translateY(-1px); }
.btn-primary:disabled{ background:#b6bcc6; box-shadow:none; cursor:not-allowed; transform:none; }
.btn-ghost{ background:var(--paper); color:var(--ink); border:1.5px solid var(--line); }
.btn-ghost:hover{ border-color:var(--ink-3); }
.submit-note{ text-align:center; font-size:12px; color:var(--ink-3); margin: 0 20px 8px; line-height:1.7; }

.form-error-summary{
  display:none; margin: 0 20px 8px; padding:13px 16px; border-radius:12px;
  background: color-mix(in oklab, var(--danger) 8%, var(--paper));
  border:1px solid color-mix(in oklab, var(--danger) 40%, var(--line));
  color:var(--danger); font-size:13px; font-weight:700;
}
.form-error-summary.show{ display:block; }

/* ---------- CONFIRM ---------- */
.confirm-table{ width:100%; border-collapse:collapse; font-size:14px; }
.confirm-table th{
  text-align:left; padding:12px 14px; background:var(--cream); font-weight:700;
  font-size:12.5px; color:var(--ink-2); white-space:nowrap; vertical-align:top;
  border-bottom:1px solid var(--line); width:150px;
}
.confirm-table td{ padding:12px 14px; border-bottom:1px solid var(--line); white-space:pre-wrap; word-break:break-word; }
@media (max-width:560px){
  .confirm-table,.confirm-table tbody,.confirm-table tr,.confirm-table th,.confirm-table td{ display:block; width:auto; }
  .confirm-table th{ border-bottom:none; padding-bottom:2px; }
  .confirm-table td{ padding-top:2px; }
}

/* ---------- SUCCESS ---------- */
.success-wrap{ text-align:center; padding: clamp(40px,7vw,64px) 24px; }
.success-badge{
  width:76px; height:76px; border-radius:50%; margin:0 auto 20px;
  background: color-mix(in oklab, oklch(70% 0.16 150) 22%, var(--paper));
  color: oklch(48% 0.15 150);
  display:flex; align-items:center; justify-content:center;
}
.success-badge svg{ width:38px; height:38px; }
.success-wrap h2{ font-size:22px; font-weight:900; margin:0 0 10px; }
.success-wrap p{ font-size:14px; color:var(--ink-2); margin:0 auto 8px; max-width:460px; line-height:1.9; }
.success-steps{
  max-width:460px; margin:22px auto 0; text-align:left;
  background:var(--accent-050); border:1px solid var(--accent-100); border-radius:var(--r-md);
  padding:16px 20px; font-size:13px; color:var(--ink-2); line-height:1.85;
}
.success-steps b{ color:var(--accent-700); }
.success-note{ font-size:12.5px; color:var(--ink-3); }
.success-pay{
  max-width:520px; margin:24px auto 0; text-align:left;
  background:var(--accent-050); border:1px solid var(--accent-100); border-radius:var(--r-md);
  padding:18px 20px;
}
.success-pay p{ max-width:none; margin:0 0 12px; text-align:left; font-size:13.5px; color:var(--ink-2); }
.success-pay__title{ font-weight:800; color:var(--accent-700); }
.success-ol{ margin:0 0 14px; padding-left:1.3em; font-size:13px; color:var(--ink-2); line-height:1.8; }
.success-ol li{ margin-bottom:8px; }
.success-ol a{ font-weight:700; }
.success-pay__btn{ width:100%; margin-top:2px; }

/* ---------- FOOTER (LPと同一) ---------- */
.brand-logo{ height:80px; width:auto; object-fit:contain; }
footer{
  background: oklch(20% 0.025 250); color: oklch(78% 0.015 240);
  padding: 56px 0 32px; margin-top: 40px;
  font-size:13px;
}
.foot{
  display:flex; flex-wrap:wrap; gap:24px; align-items:flex-start; justify-content:space-between;
}
.foot .brand strong{ color:#fff; }
.foot .brand small{ color: oklch(62% 0.012 60); }
.footer-logo{
  height:52px;
  filter: brightness(0) invert(1);
}
.foot-links{ display:flex; flex-wrap:wrap; gap:22px; }
.foot-links a{ color: oklch(82% 0.015 60); text-decoration:none; transition: color .15s ease;}
.foot-links a:hover{ color:#fff; }
.foot-bottom{
  margin-top:36px; padding-top:20px;
  border-top: 1px solid oklch(32% 0.02 50);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:11px; color: oklch(62% 0.012 60);
}

.hidden{ display:none !important; }

/* ---------- 版切替バー（デモ用） ---------- */
.ver-switch{
  position:sticky; top:0; z-index:200;
  display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:6px 14px;
  background:#1b2b45; color:#fff; font-size:12px; padding:7px 12px;
}
.ver-switch b{ font-weight:800; }
.ver-switch a{ color:#bcd6ff; text-decoration:underline; text-underline-offset:2px; font-weight:700; }
.ver-switch a:hover{ color:#fff; }

/* ---------- 選択ページ（デモ用） ---------- */
.chooser{ padding: clamp(28px,5vw,52px) 0 clamp(60px,10vw,96px); text-align:center; }
.chooser h1{ font-family:var(--t-brand); font-size:clamp(20px,3vw,28px); font-weight:900; margin:0 0 10px; color:var(--ink); }
.chooser p.lead{ font-size:14px; color:var(--ink-2); margin:0 auto; max-width:560px; line-height:1.9; }
.ver-cards{ display:grid; grid-template-columns:1fr 1fr; gap:16px; max-width:720px; margin:28px auto 0; }
@media(max-width:640px){ .ver-cards{ grid-template-columns:1fr; } }
.ver-card{
  display:flex; flex-direction:column; align-items:flex-start; gap:8px; text-decoration:none; text-align:left;
  background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px; box-shadow:var(--shadow);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.ver-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-lg); border-color:var(--accent); }
.ver-card__tag{ font-size:11px; font-weight:800; color:#fff; background:var(--accent); padding:3px 10px; border-radius:999px; }
.ver-card__title{ font-size:20px; font-weight:900; color:var(--ink); }
.ver-card__desc{ font-size:13px; color:var(--ink-2); line-height:1.75; }
.ver-card__go{ margin-top:2px; font-size:13px; font-weight:800; color:var(--accent-600); display:inline-flex; align-items:center; gap:6px; }
.ver-card__go svg{ width:16px; height:16px; }
