/* WAGURA モックアップ 共通スタイル（UI改修版）
   WAGURA_UI設計方針書 v0.2 の §4（可読性・操作性の数値基準）／§6.4（デザイントークン）に準拠。
   本文17px・補助15px・最小14px、タップ領域48px以上（主CTA56px以上）、
   本文コントラスト4.5:1以上。管理画面は §4.7 の緩和基準（本文14px以上・タップ32px以上）。
   配色：メイン＝紺(#223052)／確定CTA＝金茶(#8c6931)。
   顧客側＝モバイル前提。PCで開くと中央にスマホ幅で表示。 */

:root{
  --ink:#232a33; --sub:#55606e; --line:#dfe3ea; --line2:#eef1f5;
  --navy:#223052; --navy-d:#182339; --navy-l:#33456b;
  --gold:#8c6931; --gold-d:#6f5325;
  --bg:#ffffff; --card:#f7f8fa; --field:#f5f6f8;
  --ok:#1f5c39; --warn:#7d5410; --danger:#b23b3b;
  --radius:12px;
  /* タップ領域（§4.2） */
  --tap:48px; --tap-cta:56px;
  /* 別名（既存クラス互換） */
  --brand:var(--navy); --brand-d:var(--navy-d); --accent:var(--gold); --chip:#eef1f6;
}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
html{ scroll-behavior:smooth; }
[hidden]{ display:none !important; }
body{
  background:#e9ebef; color:var(--ink);
  font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans JP",Meiryo,sans-serif;
  font-size:17px; line-height:1.8; -webkit-text-size-adjust:100%;
}
a{color:var(--navy);}
/* フォーカス表示（§4.3：3:1以上・2px以上） */
:focus-visible{ outline:3px solid #1a56b0; outline-offset:2px; }
.appbar :focus-visible, .drawer .dh :focus-visible, .pc-header :focus-visible,
.adm-side :focus-visible, .hero :focus-visible{ outline-color:#ffd58a; }

/* ===== スマホ枠 ===== */
.phone{
  max-width:420px; margin:0 auto; min-height:100vh; background:var(--bg);
  box-shadow:0 0 26px rgba(20,34,60,.14); position:relative;
  display:flex; flex-direction:column;
}

/* ヘッダ */
.appbar{
  position:sticky; top:0; z-index:10; background:var(--navy); color:#fff;
  display:flex; align-items:center; gap:10px; padding:12px 14px; min-height:52px;
}
.appbar .back{ color:#fff; text-decoration:none; font-size:24px; line-height:1;
  display:inline-flex; align-items:center; justify-content:center;
  min-width:var(--tap); min-height:var(--tap); margin-left:-10px; }
.appbar h1{ font-size:17px; margin:0; font-weight:600; letter-spacing:.02em; }
.appbar .sp{ margin-left:auto; }
.brandmark{ display:inline-flex; flex-direction:column; align-items:flex-start; justify-content:center;
  gap:1px; font-weight:800; letter-spacing:0; line-height:1; }
.brand-copy{ display:block; font-size:15px; line-height:1.05; letter-spacing:.04em; font-weight:700; }
.brand-main{ display:block; font-size:1em; line-height:1.05; letter-spacing:.16em; font-weight:800; }
.page-brand{ align-items:center; }
.menu-btn{ margin-left:auto; background:none; border:none; color:#fff; font-size:32px;
  cursor:pointer; line-height:1; min-width:56px; min-height:56px; }
.mypage .appbar{ min-height:68px; padding-top:16px; padding-bottom:16px; }

/* コンテンツ */
.wrap{ padding:16px 16px 28px; flex:1; }
.section-title{ font-size:15px; color:var(--sub); font-weight:700; margin:20px 2px 8px;
  display:flex; align-items:center; gap:8px; min-width:0; }
.mypage .section-title{ font-size:21px; line-height:1.5; color:var(--navy);
  font-weight:800; margin:28px 2px 12px; }
.muted{ color:var(--sub); }
.small{ font-size:15px; }   /* §4.1 補助テキストは15px以上 */
.center{ text-align:center; }

.page-hero{ margin:18px 0 18px; padding:0; }
.member-strip{ display:block; background:#fff; border-bottom:1px solid var(--line); }
.member-strip-inner{ display:grid; grid-template-columns:minmax(0,1fr); align-items:center; gap:4px;
  min-height:62px; padding:10px 16px 11px; }
.member-greeting{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  color:var(--ink); font-size:15px; line-height:1.55; font-weight:800; }
.member-store{ justify-self:end; color:var(--sub); font-size:15px; line-height:1.5; font-weight:700; text-align:right; }
.member-name{ font-size:15px; line-height:1.5; font-weight:800; color:var(--ink); white-space:nowrap; }
.member-source{ justify-self:end; min-width:0; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  font-size:15px; line-height:1.5; color:var(--sub); }
.member-status{ display:inline-flex; align-items:center; gap:6px; color:var(--navy);
  font-size:15px; line-height:1.5; font-weight:700; white-space:nowrap; }
.member-status::before{ content:""; width:8px; height:8px; border-radius:999px; background:var(--gold); }
.page-hero h1{ margin:0; color:var(--navy); font-size:24px; line-height:1.4;
  font-weight:800; letter-spacing:0; text-align:center; }

/* デジタル庁デザインシステム素材：線画アイコン */
.ds-ic{ display:inline-block; width:26px; height:26px; flex:0 0 auto; object-fit:contain;
  vertical-align:middle; opacity:.92;
  filter:brightness(0) saturate(100%) invert(17%) sepia(21%) saturate(1452%) hue-rotate(185deg) brightness(89%) contrast(93%); }
.section-title .ds-ic{ width:22px; height:22px; }
.mypage .section-title .ds-ic{ width:26px; height:26px; }

/* カード */
.card{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  padding:14px; margin:10px 0; }
.card.tap{ cursor:pointer; transition:.12s; }
.card.tap:active{ transform:scale(.995); background:#eef1f5; }
.item-row{ display:flex; gap:14px; align-items:center; }
.thumb{ width:72px; height:72px; border-radius:8px; background:#e7e2d5;
  display:flex; align-items:center; justify-content:center; font-size:24px; flex:0 0 auto; }
.thumb .ds-ic{ width:40px; height:40px; }
.item-row .grow{ flex:1; min-width:0; }
.item-row .ttl{ font-weight:600; }
.chev{ color:var(--sub); font-size:18px; display:flex; align-items:center; justify-content:center;
  width:22px; height:22px; flex:0 0 auto; }
.chev .ds-ic{ width:18px; height:18px;
  filter:brightness(0) saturate(100%) invert(40%) sepia(10%) saturate(699%) hue-rotate(176deg) brightness(88%) contrast(87%); }

.item-card{ display:block; padding:0; overflow:hidden; color:var(--ink); text-decoration:none; }
.item-visual{ height:144px; background:linear-gradient(180deg,#f4f1e8 0%,#e7e2d5 100%);
  border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:center; }
.item-visual .ds-ic{ width:58px; height:58px; }
.item-photo{ display:block; width:100%; height:100%; object-fit:cover; }
.no-image-photo{ object-fit:cover; background:#f1f3f6; }
.item-card-body{ padding:14px; }
.item-card-head{ display:flex; align-items:flex-start; gap:10px; }
.item-card-head .ttl{ flex:1; min-width:0; font-weight:700; line-height:1.65; color:var(--ink); }
.item-card .tag-line{ margin-top:8px; }
.item-meta{ margin-top:8px; font-size:15px; color:var(--sub); line-height:1.7; }
.item-meta div + div{ margin-top:2px; }
.item-period{ display:flex; align-items:flex-start; gap:8px; margin-top:10px; padding:10px 12px;
  border:1px solid #e6d6b8; border-radius:8px; background:#fbf7ef; color:#4f432d; }
.item-period .ds-ic{ width:22px; height:22px; margin-top:2px;
  filter:brightness(0) saturate(100%) invert(34%) sepia(18%) saturate(1184%) hue-rotate(359deg) brightness(92%) contrast(86%); }
.item-period-label{ display:block; font-size:15px; font-weight:700; line-height:1.45; color:#6f5325; }
.item-period-date{ display:block; font-size:15px; line-height:1.55; color:#3a475c; }
.item-card-action{ margin-top:12px; padding-top:12px; border-top:1px solid var(--line2); }
.item-card-action .btn.sm{ width:100%; }
.item-grid{ display:grid; grid-template-columns:1fr; gap:10px; margin:10px 0 0; }
.item-grid .card{ margin:0; }
.detail-hero-card{ padding:0; overflow:hidden; margin-top:0; }
.detail-visual{ min-height:190px; aspect-ratio:4 / 3; background:linear-gradient(180deg,#f4f1e8 0%,#e7e2d5 100%);
  border-bottom:1px solid var(--line); }
.detail-hero-body{ padding:15px 14px 16px; }
.detail-title{ font-size:20px; line-height:1.55; font-weight:800; color:var(--navy); }
.detail-hero-body .tag-line{ margin-top:8px; }
.photo-note{ display:flex; align-items:flex-start; gap:8px; margin-top:12px; padding:10px 12px;
  border:1px solid #dbe1ec; border-radius:8px; background:#f6f8fb; color:#3a475c; }
.photo-note .ds-ic{ width:22px; height:22px; margin-top:2px;
  filter:brightness(0) saturate(100%) invert(33%) sepia(9%) saturate(1087%) hue-rotate(176deg) brightness(92%) contrast(88%); }
.photo-note-title{ display:block; font-size:15px; line-height:1.45; font-weight:800; color:var(--navy); }
.photo-note-text{ display:block; font-size:15px; line-height:1.65; color:var(--sub); }
.detail-card{ padding:2px 14px; }
.detail-row{ display:grid; grid-template-columns:1fr; gap:5px; padding:13px 0;
  border-bottom:1px dashed var(--line); }
.detail-row:last-child{ border-bottom:none; }
.detail-key{ color:var(--sub); font-size:15px; line-height:1.55; font-weight:700; }
.detail-key span{ display:block; margin-top:2px; color:var(--sub); font-size:15px; line-height:1.55; font-weight:500; }
.detail-value{ color:var(--ink); font-size:17px; line-height:1.7; font-weight:700; }
.detail-row-period .detail-value{ font-weight:400; }
.detail-row-period .item-period{ margin-top:0; }
.item-period-note{ display:block; font-size:15px; line-height:1.55; color:var(--sub); }
.detail-actions{ margin-top:18px; }
.filter-panel{ display:grid; grid-template-columns:1fr; gap:12px; padding:14px;
  background:#f6f8fb; border:1px solid var(--line); border-radius:10px; margin:0 0 12px; }
.filter-field{ display:grid; gap:6px; min-width:0; }
.filter-field label.f{ margin:0; }
.filter-field select{ background:#fff; min-width:0; }
.list-summary{ display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin:0 2px 10px; color:var(--sub); font-size:15px; line-height:1.6; font-weight:700; }
.list-item-grid{ margin-top:0; }
.item-alert{ display:flex; align-items:flex-start; gap:8px; margin-top:10px; padding:10px 12px;
  border:1px solid #e6cfa0; border-radius:8px; background:#fff7ea; color:var(--warn);
  font-size:15px; line-height:1.55; font-weight:700; }
.item-alert .ds-ic{ width:22px; height:22px; margin-top:2px;
  filter:brightness(0) saturate(100%) invert(32%) sepia(45%) saturate(816%) hue-rotate(359deg) brightness(92%) contrast(93%); }
.item-alert-label{ display:block; }
.item-alert-date{ display:block; color:#5e4315; font-weight:600; }
.pager{ display:flex; align-items:center; justify-content:center; gap:8px; margin:18px 0 4px; }
.pager-btn,.pager-page{ display:inline-flex; align-items:center; justify-content:center;
  min-width:var(--tap); min-height:var(--tap); padding:10px 13px; border:1px solid var(--line);
  border-radius:9px; background:#fff; color:var(--navy); font-size:15px; font-weight:700; text-decoration:none; }
.pager-page.is-current{ background:var(--navy); color:#fff; border-color:var(--navy); }
.pager-btn.is-disabled{ background:#f6f8fb; color:#7b8491; }

.section-title-text{ flex:1; min-width:0; white-space:nowrap; }
.section-count{ flex:0 0 auto; margin-left:auto; color:var(--sub); font-size:15px; font-weight:600; }

.action-grid{ display:grid; grid-template-columns:1fr; gap:10px; margin:10px 0 18px; }
.action-card{ display:grid; grid-template-columns:58px 1fr; gap:12px; align-items:center;
  min-height:112px; padding:18px 16px; border:1px solid var(--line); border-radius:10px;
  background:#fff; color:var(--ink); text-decoration:none; }
.action-card.primary-action{ border-color:#b7c1d4; background:#f6f8fb; }
.action-ic{ width:58px; height:58px; border-radius:8px; background:#f2f4f8;
  display:flex; align-items:center; justify-content:center; }
.action-ic .ds-ic{ width:32px; height:32px; }
.action-card.primary-action .action-ic{ background:var(--navy); }
.action-card.primary-action .action-ic .ds-ic{ filter:brightness(0) invert(1); opacity:1; }
.action-title{ display:block; font-size:17px; font-weight:700; line-height:1.55; color:var(--navy); }
.action-text{ display:block; margin-top:2px; font-size:15px; line-height:1.7; color:var(--sub); }

.payment-prompt{ display:grid; grid-template-columns:52px 1fr; gap:12px; align-items:center;
  width:100%; min-height:76px; padding:14px; margin:0 0 10px;
  border:1px solid #e6b3b3; border-radius:10px; background:#fdeaea; color:#8f2b29;
  text-align:left; font-family:inherit; cursor:pointer; }
.payment-prompt-ic{ width:52px; height:52px; border-radius:8px; background:#fff;
  display:flex; align-items:center; justify-content:center; }
.payment-prompt-ic .ds-ic{ width:30px; height:30px;
  filter:brightness(0) saturate(100%) invert(20%) sepia(46%) saturate(2070%) hue-rotate(338deg) brightness(91%) contrast(90%); }
.payment-prompt-title{ display:block; font-size:18px; font-weight:800; line-height:1.55; }
.payment-prompt-sub{ display:block; font-size:15px; line-height:1.6; color:#8f2b29; text-decoration:underline; }
.payment-help{ margin:2px 0 16px; font-size:15px; }

/* バッジ・チップ */
.badge{ display:inline-block; font-size:15px; padding:4px 12px; border-radius:999px;
  background:#e7ebf2; color:var(--navy); font-weight:600; }
.badge.ok{ background:#e6f2ea; color:var(--ok); }
.badge.warn{ background:#faf1dd; color:var(--warn); }
.badge.out{ background:#f3ecdd; color:var(--gold-d); }
.badge.gold{ background:#f3ecdd; color:var(--gold-d); }
.badge.danger{ background:#f9e2e2; color:var(--danger); }
.badge.muted{ background:#eef1f5; color:var(--sub); }
.kv{ display:flex; justify-content:space-between; gap:10px; padding:10px 0;
  border-bottom:1px dashed var(--line); font-size:16px; }
.kv:last-child{ border-bottom:none; }
.kv .k{ color:var(--sub); }
.kv span:last-child{ text-align:right; font-weight:600; }

/* フォーム */
label.f{ display:block; margin:16px 0 5px; font-size:15px; color:var(--sub); font-weight:600; }
.req{ color:var(--danger); font-size:15px; margin-left:4px; font-weight:700; }
input,select,textarea{
  width:100%; padding:13px 12px; min-height:var(--tap);
  border:1px solid var(--line); border-radius:9px;
  font-size:17px; font-family:inherit; background:var(--field); color:var(--ink);
}
input:focus,select:focus,textarea:focus{ outline:2px solid #b9c6de; border-color:var(--navy-l); background:#fff; }
.hint{ font-size:15px; color:var(--sub); margin-top:5px; }
/* チェック・ラジオ：ラベル全体をタップ領域に含める（§4.2） */
.checkline{ display:flex; gap:12px; align-items:flex-start; margin:6px 0; }
.checkline label{ flex:1; padding:11px 0; min-height:var(--tap); cursor:pointer; }
.checkline input{ width:26px; height:26px; min-height:0; flex:0 0 auto;
  margin-top:12px; background:#fff; accent-color:var(--navy); }

/* ボタン */
.btn{ display:flex; align-items:center; justify-content:center; width:100%; text-align:center;
  padding:16px; min-height:var(--tap-cta); border-radius:10px;
  font-size:17px; font-weight:700; border:none; cursor:pointer; text-decoration:none; margin:14px 0 0; }
.btn .ds-ic{ width:24px; height:24px; margin-right:9px; }
.btn.primary .ds-ic, .btn.gold .ds-ic{ filter:brightness(0) invert(1); opacity:1; }
.btn.primary{ background:var(--navy); color:#fff; }
.btn.primary:active{ background:var(--navy-d); }
.btn.gold{ background:var(--gold); color:#fff; }          /* 最終決定・確定CTA */
.btn.gold:active{ background:var(--gold-d); }
.btn.ghost{ background:#fff; color:var(--navy); border:1.5px solid var(--navy); }
.btn.sub{ background:#eef1f6; color:var(--navy); }
.btn.sm{ display:inline-flex; width:auto; padding:12px 18px; min-height:var(--tap);
  font-size:15px; margin:0; }
.btn.sm .ds-ic{ width:20px; height:20px; margin-right:7px; }
.btn.sm.btn-note{ flex-direction:column; gap:3px; min-height:70px; padding:12px 14px; }
.btn-main{ display:flex; align-items:center; justify-content:center; line-height:1.45; }
.btn-sub{ display:block; font-size:15px; line-height:1.45; font-weight:600; opacity:.95; }
.btn:disabled{ opacity:.5; }

/* ステッパー */
.steps{ display:flex; gap:6px; margin:2px 0 6px; }
.steps .st{ flex:1; height:6px; border-radius:3px; background:var(--line); }
.steps .st.on{ background:var(--gold); }

/* 「もっと見る」 */
.more{ display:flex; align-items:center; justify-content:center; padding:14px; margin:6px 0 0;
  text-decoration:none; min-height:var(--tap);
  color:var(--navy); font-weight:700; font-size:16px; border:1px solid var(--line); border-radius:10px; background:#fff; }

/* 通知バー */
.note{ background:#f2f4f8; border:1px solid #dbe1ec; border-radius:10px; padding:13px 14px;
  font-size:16px; color:#3a475c; margin:12px 0; }
.note.gold{ background:#f7f1e6; border-color:#e6d6b8; color:#6a5326; }
.alert h2{ display:flex; align-items:flex-start; gap:8px; }
.alert h2 .ds-ic{ width:24px; height:24px; margin-top:4px;
  filter:brightness(0) saturate(100%) invert(20%) sepia(46%) saturate(2070%) hue-rotate(338deg) brightness(91%) contrast(90%); }

/* 社内向けメモ（？アイコン・ホバーで表示） */
.help{ display:inline-flex; align-items:center; justify-content:center; width:16px; height:16px;
  border-radius:50%; background:#b9c0cc; color:#fff; font-size:11px; font-weight:700; margin-left:6px;
  cursor:help; position:relative; vertical-align:middle; flex:0 0 auto; }
.help .tip{ visibility:hidden; opacity:0; position:absolute; z-index:70; left:50%; top:150%;
  transform:translateX(-50%); width:240px; max-width:70vw; background:#2b3444; color:#fff; font-weight:400;
  font-size:12px; line-height:1.65; padding:9px 11px; border-radius:8px;
  box-shadow:0 8px 22px rgba(0,0,0,.28); text-align:left; transition:.12s; pointer-events:none; }
.help .tip::before{ content:"社内向けメモ"; display:block; font-size:10px; color:#9fb8dc;
  margin-bottom:3px; letter-spacing:.06em; }
.help:hover .tip, .help:focus .tip{ visibility:visible; opacity:1; }
.section-title .help{ background:#c3cad4; }

/* LP */
.hero{ background:linear-gradient(158deg,var(--navy),#33456b); color:#fff; padding:30px 20px 26px; }
.hero h2{ margin:.2em 0; font-size:23px; letter-spacing:.02em; line-height:1.5; }
.hero p{ margin:.5em 0 0; font-size:16px; }
.cta-block{ padding:16px 16px 4px; }
.pricetag{ display:flex; gap:10px; margin:14px 0; }
.pricetag .p{ flex:1; background:#fff; border:1px solid var(--line); border-radius:10px; padding:12px; text-align:center; }
.pricetag .p .n{ font-size:20px; font-weight:800; color:var(--navy); }
.flow-num{ display:flex; gap:11px; margin:10px 0; align-items:center; }
.flow-num .b{ width:32px; height:32px; border-radius:50%; background:var(--gold); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:16px; flex:0 0 auto; }

/* 完了アイコン */
.done-ic{ width:76px; height:76px; border-radius:50%; background:#e6f2ea; color:var(--ok);
  display:flex; align-items:center; justify-content:center; font-size:38px; margin:22px auto 8px; }
.done-ic .ds-ic{ width:42px; height:42px;
  filter:brightness(0) saturate(100%) invert(27%) sepia(33%) saturate(792%) hue-rotate(91deg) brightness(91%) contrast(88%); }

/* ハンバーガー・ドロワー */
.drawer-mask{ position:fixed; inset:0; background:rgba(18,26,44,.45); opacity:0; visibility:hidden;
  transition:.2s; z-index:40; }
.drawer{ position:fixed; top:0; height:100dvh; width:80vw; max-width:300px;
  right:max(0px,calc(50% - 210px)); transform:translateX(100%); transition:transform .22s;
  z-index:50; background:#fff; box-shadow:-6px 0 24px rgba(0,0,0,.2); display:flex; flex-direction:column; }
body.drawer-open .drawer-mask{ opacity:1; visibility:visible; }
body.drawer-open .drawer{ transform:translateX(0); }
.drawer .dh{ background:var(--navy); color:#fff; padding:16px; display:flex; align-items:center; }
.drawer .dh .x{ margin-left:auto; background:none; border:none; color:#fff; font-size:26px;
  cursor:pointer; min-width:var(--tap); min-height:var(--tap); }
.drawer .du{ padding:12px 16px; border-bottom:1px solid var(--line2); }
.drawer .du .nm{ font-weight:700; }
.drawer a{ display:flex; align-items:center; padding:15px 16px; min-height:var(--tap);
  text-decoration:none; color:var(--ink);
  border-bottom:1px solid var(--line2); font-size:17px; }
.drawer a:active{ background:#f1f4f8; }
.drawer a.logout{ color:var(--sub); margin-top:auto; border-top:1px solid var(--line); border-bottom:none; }

/* 外部決済（リンク決済）プレースホルダ */
.ext-body{ background:#eceff3; }
.appbar.ext{ background:#3a4763; }
.ext-lock{ font-size:15px; color:#cdd6e6; margin-left:auto; }
.ext-panel{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:22px 18px; margin:14px 0;
  text-align:center; }
.ext-panel .big{ font-size:44px; }
.ext-tag{ display:inline-flex; align-items:center; gap:7px; background:#eef1f6; color:#3a475c; font-size:15px; padding:5px 12px;
  border-radius:999px; margin-bottom:8px; font-weight:700; }
.ext-tag .ds-ic{ width:20px; height:20px;
  filter:brightness(0) saturate(100%) invert(33%) sepia(9%) saturate(1087%) hue-rotate(176deg) brightness(92%) contrast(88%); }
.ext-panel-icon{ width:72px; height:72px; margin:0 auto 10px; border-radius:999px;
  display:flex; align-items:center; justify-content:center; background:#f2f4f8; }
.ext-panel-icon .ds-ic{ width:38px; height:38px; }
.ext-title{ margin:4px 0 8px; color:var(--navy); font-size:20px; line-height:1.5; font-weight:800; }

/* 共通ヘッダー（app.jsが構築） */
.appbar .brandmark{ flex:0 0 auto; color:#fff; text-decoration:none; font-size:19px; }
.appbar .hd-title{ flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis;
  white-space:nowrap; font-size:16px; font-weight:600; margin:0; }
.appbar .hd-div{ flex:0 0 auto; opacity:.5; }
.guest-nav-actions{ display:flex; align-items:center; justify-content:flex-end; gap:8px; flex:1 1 200px;
  min-width:0; flex-wrap:wrap; }
.header-link,.header-login{ display:inline-flex; align-items:center; justify-content:center;
  min-height:var(--tap); padding:8px 10px; border-radius:8px; color:#fff; text-decoration:none;
  font-size:15px; line-height:1.35; font-weight:800; border:1px solid rgba(255,255,255,.72); }
.header-link{ flex:1 1 132px; white-space:normal; }
.header-login{ background:#fff; color:var(--navy); border-color:#fff; }
/* 紹介店TOP（lp.html）：ヘッダーの主CTAをファーストビューと同じゴールドにする。 */
.header-login.gold{ background:var(--gold); color:#fff; border-color:var(--gold); }
.guest-anchor-nav{ display:none; }
.guest-menu-btn{ display:none; }
.guest-drawer-mask,.guest-drawer{ display:none; }

/* 共通フッター（app.jsが挿入） */
.appfooter{ background:#f2f4f8; border-top:1px solid var(--line); padding:20px 16px 28px;
  margin-top:10px; text-align:center; }
.appfooter .ft{ color:var(--navy); font-weight:800; font-size:20px; }
.appfooter .brandmark{ align-items:center; }
.ft-links{ margin:9px 0 0; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.ft-links a{ color:var(--sub); font-size:15px; text-decoration:none;
  display:inline-flex; align-items:center; min-height:var(--tap); }
.ft-links a:hover{ color:var(--navy); }
.ft-note{ font-size:15px; color:var(--sub); margin:8px 0 0; }
.ft-copy{ font-size:15px; color:var(--sub); margin:4px 0 0; }

/* コンテンツ内「前の画面に戻る」（app.jsが挿入） */
.backbtn{ display:flex; align-items:center; justify-content:center; width:100%; padding:15px;
  margin:10px 0 0; min-height:var(--tap);
  border:1px solid var(--line); border-radius:10px; background:#fff; color:var(--sub);
  font-size:16px; font-weight:600; text-decoration:none; }

/* 規約・ポリシー等の本文 */
.doc h2{ font-size:19px; color:var(--navy); margin:20px 0 6px; }
.doc p{ font-size:16px; margin:.5em 0; }
.doc .lead{ color:var(--sub); }
.tmp{ background:#fff5e6; border:1px solid #f0d9a8; color:#6b4f18; border-radius:8px;
  padding:11px 13px; font-size:15px; margin:0 0 12px; }

/* PC表示：ハンバーガーを廃し、左に固定サイドメニュー（閉じるアイコンなし） */
/* PC用の共通ヘッダー（既定は非表示。PC幅で表示。ロゴのみ／メニューは左サイド） */
.pc-header{ display:none; position:sticky; top:0; z-index:40; background:var(--navy); color:#fff;
  align-items:center; gap:18px; padding:0 26px; height:60px; }
.pc-header-inner{ width:100%; display:flex; align-items:center; }
.pc-header .logo{ color:#fff; text-decoration:none; font-size:21px; }
.pc-header .brand-copy{ color:#cdd6e6; font-size:15px; }

@media (min-width:1024px){
  body{ background:#eef1f5; }
  .menu-btn{ display:none !important; }
  .drawer-mask{ display:none !important; }

  /* ===== ログイン後（app）：上部ロゴヘッダー＋左サイドメニュー ===== */
  body.app .pc-header{ display:flex; }
  body.app .pc-header-inner{ justify-content:flex-start; }
  /* ドロワーを左サイドバーとして常時表示（ヘッダー下） */
  body.app .drawer{ display:block; position:fixed; top:60px; left:0; bottom:0; height:auto;
    width:280px; max-width:280px; transform:none !important; overflow-y:auto;
    box-shadow:2px 0 12px rgba(20,34,60,.06); z-index:20; }
  body.app .drawer .dh{ display:none; }   /* サイドバーのヘッダー（×閉じる）は不要 */
  body.app .drawer .x{ display:none; }
  /* コンテンツはサイドバー分の左余白 */
  body.app .phone{ margin:0 0 0 280px; max-width:none; width:auto; min-height:calc(100vh - 60px);
    border-radius:0; box-shadow:none; background:#fff; }
  body.app .phone .appbar{ display:none; }   /* モバイル用の紺ヘッダーはappのPCでは隠す */
  body.app .member-strip{ display:none; }
  body.app .phone .wrap{ max-width:720px; margin:0 auto; width:100%; }
  body.app .action-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  body.app .action-card{ grid-template-columns:58px 1fr; min-height:144px; }
  body.app .item-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.app .filter-panel{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.app .detail-hero-card{ display:grid; grid-template-columns:46% 1fr; align-items:stretch; }
  body.app .detail-visual{ min-height:270px; aspect-ratio:auto; border-right:1px solid var(--line); border-bottom:none; }
  body.app .detail-hero-body{ padding:18px; display:flex; flex-direction:column; justify-content:center; }
  body.app .detail-row{ grid-template-columns:190px 1fr; gap:18px; align-items:start; }
  body.app .detail-row-period{ align-items:stretch; }
  body.app .appfooter{ margin-left:0; }
  body.mypage .pc-header{ height:72px; }
  body.app.mypage .drawer{ top:72px; }
  body.app.mypage .phone{ min-height:calc(100vh - 72px); }
  body.app.mypage .page-hero h1{ text-align:center; }

  /* ===== ゲスト（未ログイン：登録・移行・LP）：中央枠＋ヘッダーはそのまま表示 ===== */
  .guest .phone{ max-width:480px; margin:24px auto; border-radius:16px;
    box-shadow:0 6px 30px rgba(20,34,60,.14); }
  .guest .phone .appbar{ border-radius:16px 16px 0 0; }
}

/* 保管申込：PC/SP共通の5画面フロー */
.is-hidden{ display:none !important; }
.apply-flow .wrap{ padding-bottom:34px; }
.apply-flow-head{ margin:2px 0 12px; }
.apply-hero{ margin:14px 0 16px; }
.apply-hero p{ margin:6px 0 0; color:var(--sub); font-size:15px; line-height:1.7; }
.apply-kicker{ margin:0 0 3px !important; color:var(--gold-d) !important;
  font-size:15px !important; line-height:1.55 !important; font-weight:800; text-align:center; }
.apply-steplabel{ display:flex; align-items:center; justify-content:space-between; gap:10px;
  flex-wrap:wrap; }
.item-progress{ display:inline-flex; align-items:center; justify-content:center; min-height:34px;
  padding:4px 12px; border-radius:999px; background:#f3ecdd; color:var(--gold-d);
  font-size:15px; line-height:1.5; font-weight:800; }
.guide-toggle{ border:1px solid #dbe1ec; border-radius:10px; background:#f6f8fb; margin:12px 0 18px; }
.guide-toggle summary{ display:flex; align-items:center; gap:8px; min-height:var(--tap);
  padding:11px 12px; cursor:pointer; list-style:none; color:var(--navy);
  font-size:17px; line-height:1.55; font-weight:800; }
.guide-toggle summary::-webkit-details-marker{ display:none; }
.guide-toggle summary::after{ content:""; width:9px; height:9px; border-right:2px solid var(--sub);
  border-bottom:2px solid var(--sub); transform:rotate(45deg); margin-left:auto; transition:.15s; }
.guide-toggle[open] summary::after{ transform:rotate(225deg); margin-top:5px; }
.guide-toggle .ds-ic{ width:24px; height:24px; }
.guide-toggle ul{ margin:0; padding:0 14px 13px 38px; color:#3a475c; font-size:15px; line-height:1.7; }
.guide-toggle li + li{ margin-top:5px; }
.apply-card{ margin:18px 0; }
.apply-card + .apply-card{ padding-top:16px; border-top:1px solid var(--line2); }
.apply-question-card{ background:#fff; border:1px solid var(--line); border-radius:10px;
  padding:16px 14px; margin:16px 0 0; box-shadow:0 2px 10px rgba(20,34,60,.05); }
.apply-section-title{ margin:0 2px 12px; color:var(--navy); font-size:20px; line-height:1.5; font-weight:800; }
.apply-section-title .ds-ic{ width:26px; height:26px; }
.apply-section-title .section-title-text{ white-space:normal; }
.apply-items{ display:grid; gap:12px; }
.item-block{ border:1px solid var(--line); border-radius:10px; padding:14px; background:#fff;
  box-shadow:0 2px 10px rgba(20,34,60,.05); }
.item-block .ib-head{ display:flex; align-items:center; gap:10px; padding-bottom:10px; margin-bottom:12px;
  border-bottom:1px solid var(--line2); }
.item-block .ib-head .n{ display:flex; align-items:center; gap:8px; color:var(--navy);
  font-size:17px; line-height:1.5; font-weight:800; }
.item-block .ib-head .ds-ic{ width:26px; height:26px; }
.rm{ min-height:var(--tap); }
.item-block .rm{ margin-left:auto; background:#fff; border:1px solid #e4c6c6; color:var(--danger);
  border-radius:8px; font-size:15px; cursor:pointer; min-height:var(--tap); padding:0 12px; font-weight:700; }
.apply-field-grid{ display:grid; grid-template-columns:1fr; gap:12px; }
.apply-field-stack{ display:grid; grid-template-columns:1fr; gap:16px; }
.apply-field{ min-width:0; }
.apply-field label.f{ margin:0 0 6px; }
.apply-field textarea.is-hidden{ margin-top:0; }
.apply-field textarea:not(.is-hidden){ margin-top:8px; }
.apply-price-field{ margin-top:16px; }
.patother{ margin-top:8px; }
.plan-radios{ display:flex; gap:16px; margin-top:4px; align-items:center; flex-wrap:wrap; }
.plan-radios label{ font-size:16px; display:flex; align-items:center; gap:8px;
  min-height:var(--tap); cursor:pointer; }
.plan-radios input{ width:auto; }
.plan-choice{ margin:0; padding:0; border:none; display:grid; gap:10px; }
.plan-choice legend{ margin:0 0 8px; padding:0; color:var(--sub); font-size:15px; line-height:1.55; font-weight:700; }
.plan-option{ display:flex; align-items:flex-start; gap:12px; min-height:76px; padding:13px 12px;
  border:1px solid var(--line); border-radius:10px; background:#f8f9fb; cursor:pointer; }
.plan-option:has(input:checked){ border-color:#b7c1d4; background:#f2f4f8; box-shadow:inset 4px 0 0 var(--navy); }
.plan-option input{ width:26px; height:26px; min-height:0; flex:0 0 auto; margin:13px 0 0; accent-color:var(--navy); }
.plan-option-body{ display:grid; gap:2px; min-width:0; }
.plan-name{ color:var(--navy); font-size:17px; line-height:1.55; font-weight:800; }
.plan-desc{ color:var(--sub); font-size:15px; line-height:1.6; }
.cond{ display:block; font-size:15px; color:var(--gold-d); line-height:1.55; margin-top:1px; }
.subline{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-top:12px;
  padding-top:10px; border-top:1px dashed var(--line); font-size:15px; line-height:1.55; color:var(--sub); }
.subline .amt{ flex:0 0 auto; font-weight:800; color:var(--ink); font-size:17px; }
.subline .unit{ flex:1 1 auto; }
.apply-edit-btn{ flex:0 0 auto; width:auto; min-height:38px; padding:0 14px; font-size:14px; margin:0; }
.totalbar{ display:flex; justify-content:space-between; align-items:center; gap:14px; padding:13px 14px;
  background:#f2f4f8; border:1px solid var(--line); border-radius:10px; margin:12px 0 0; }
.totalbar .lbl{ font-size:17px; line-height:1.55; font-weight:800; }
.totalbar .t{ flex:0 0 auto; font-size:22px; line-height:1.35; font-weight:800; color:var(--navy); }
.additem{ display:flex; align-items:center; justify-content:center; gap:8px; width:100%; padding:14px;
  margin:12px 0 0; min-height:var(--tap);
  border:1.5px dashed var(--navy); color:var(--navy); background:#fff; border-radius:10px;
  font-weight:800; font-size:17px; cursor:pointer; }
.additem .ds-ic{ width:24px; height:24px; }
.payment-note{ display:flex; align-items:flex-start; gap:10px; padding:12px;
  background:#f7f1e6; border:1px solid #e6d6b8; border-radius:10px; color:#6a5326; }
.payment-note .ds-ic{ width:24px; height:24px; margin-top:2px;
  filter:brightness(0) saturate(100%) invert(34%) sepia(18%) saturate(1184%) hue-rotate(359deg) brightness(92%) contrast(86%); }
.payment-note p{ margin:0; font-size:15px; line-height:1.7; }
.apply-actions{ margin-top:16px; display:flex; flex-direction:column; gap:10px; }
.apply-actions .btn{ margin:0; }
.apply-summary-list{ display:grid; grid-template-columns:1fr; gap:10px; }
.apply-summary-card{ margin:0; background:#fff; }
.apply-summary-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.apply-item-title{ color:var(--navy); font-size:17px; line-height:1.55; font-weight:800; }
.summary-kv-list{ display:grid; grid-template-columns:1fr; gap:0; margin-top:10px;
  border-top:1px solid var(--line2); }
.summary-kv{ display:grid; grid-template-columns:112px minmax(0,1fr); gap:10px; padding:8px 0;
  border-bottom:1px dashed var(--line2); }
.summary-key{ color:var(--sub); font-size:15px; line-height:1.55; font-weight:700; }
.summary-val{ color:var(--ink); font-size:17px; line-height:1.6; font-weight:700; }
.apply-detail-card{ margin:0; background:#fff; }
.detail-text{ font-weight:400; }
.external-note{ margin:6px 0 0; color:var(--sub); font-size:15px; line-height:1.6; text-align:center; }
.completion-panel{ margin:4px 0 14px; }
.done-title{ margin:4px 0 6px; color:var(--navy); font-size:22px; line-height:1.45; font-weight:800; text-align:center; }
.done-lead{ margin:0; color:var(--ink); font-size:17px; line-height:1.75; }
.align-left{ text-align:left; }
.apply-note-line{ text-align:left; }
.apply-complete .apply-summary-card{ text-align:left; }
.hand-item-grid .item-period .ds-ic{ display:none; }
.hand-return-date{ display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin-top:10px; padding-top:10px; border-top:1px dashed var(--line2); }
.hand-return-label{ color:var(--sub); font-size:15px; line-height:1.55; font-weight:700; }
.hand-return-value{ color:var(--ink); font-size:15px; line-height:1.55; font-weight:700; text-align:right; }
.hand-card-actions{ display:grid; grid-template-columns:1fr; gap:8px; }
.hand-card-actions .btn.sm{ margin:0; }

/* 引き出し：商品選択と確認 */
.shipping-flow .page-hero{ margin-top:14px; }
.shipping-section{ margin-top:18px; }
.shipping-section:first-of-type{ margin-top:12px; }
.shipping-select-grid{ display:grid; grid-template-columns:1fr; gap:12px; }
.selectable-card{ position:relative; display:block; padding:0; overflow:hidden; cursor:pointer;
  border:2px solid var(--line); border-radius:var(--radius); background:#fff;
  box-shadow:0 2px 10px rgba(20,34,60,.05); transition:border-color .14s, box-shadow .14s, background .14s; }
.selectable-card:has(.selectable-input:checked){ border-color:var(--navy);
  box-shadow:0 0 0 2px var(--navy), 0 7px 18px rgba(20,34,60,.12); background:#fbfcff; }
.selectable-input{ position:absolute; opacity:0; width:1px; height:1px; min-height:0;
  margin:0; pointer-events:none; }
.selection-check{ position:absolute; top:10px; right:10px; z-index:2; display:flex;
  align-items:center; justify-content:center; width:36px; height:36px; border-radius:999px;
  background:var(--navy); opacity:0; transform:scale(.9); transition:opacity .14s, transform .14s; }
.selection-check .ds-ic{ width:22px; height:22px; filter:brightness(0) invert(1); opacity:1; }
.selectable-card:has(.selectable-input:checked) .selection-check{ opacity:1; transform:scale(1); }
.selectable-card .item-visual{ height:150px; }
.selectable-card .item-card-body{ display:block; }
.selectable-card .tag-line{ display:block; }
.selectable-card .item-period{ display:flex; }
.shipping-purpose{ margin-top:0; }
.shipping-purpose .plan-option{ background:#fff; }
.shipping-purpose .plan-option:has(input:checked){ background:#f6f8fb; }
#return-plan-block{ margin-top:14px; }
.shipping-date-card{ margin:2px 0 0; }
.shipping-date-field{ margin-top:6px; }
.shipping-field-title{ display:block; margin:16px 0 5px; color:var(--sub);
  font-size:15px; line-height:1.55; font-weight:600; }
.shipping-fee{ margin-top:2px; }
.shipping-summary-card{ padding:0; overflow:hidden; background:#fff; }
.shipping-summary-card .item-visual{ height:150px; }
.shipping-payment-note{ margin-top:12px; }
.shipping-list-summary{ margin-bottom:10px; }
.shipping-load-area{ position:relative; }
.shipping-load-area.is-collapsed{ padding-bottom:88px; }
.shipping-load-area.is-collapsed::after{ content:""; position:absolute; left:0; right:0; bottom:0;
  height:132px; background:linear-gradient(180deg,rgba(255,255,255,0),#fff 58%,#fff 100%);
  pointer-events:none; z-index:1; }
.shipping-load-more{ width:100%; cursor:pointer; font-family:inherit; }
.shipping-load-area.is-collapsed .shipping-load-more{ position:absolute; left:0; right:0; bottom:12px;
  z-index:2; box-shadow:0 8px 22px rgba(20,34,60,.12); }
.selected-request-card{ margin:0 0 14px; background:#fff; }
.shipping-item-picker .selectable-card{ display:grid; grid-template-columns:94px minmax(0,1fr);
  min-height:118px; }
.shipping-item-picker .selectable-card .item-visual{ height:auto; min-height:118px; border-right:1px solid var(--line);
  border-bottom:none; }
.shipping-item-picker .item-card-body{ padding:11px 12px; }
.shipping-item-picker .item-card-head .ttl{ font-size:16px; line-height:1.55; }
.shipping-item-picker .item-meta{ display:block; margin-top:6px; font-size:14px; line-height:1.55; }
.shipping-item-picker .badge{ font-size:14px; padding:3px 9px; }

/* 会員情報・支払い履歴 */
.account-profile-card{ display:grid; grid-template-columns:58px minmax(0,1fr); gap:12px; align-items:center;
  background:#fff; }
.account-avatar{ width:58px; height:58px; border-radius:8px; background:#f2f4f8;
  display:flex; align-items:center; justify-content:center; }
.account-avatar .ds-ic{ width:34px; height:34px; }
.account-name{ display:block; color:var(--navy); font-size:18px; line-height:1.55; font-weight:800; }
.account-sub{ display:block; color:var(--sub); font-size:15px; line-height:1.55; }
.account-menu{ display:grid; grid-template-columns:1fr; gap:10px; }
.account-menu-link{ display:grid; grid-template-columns:48px minmax(0,1fr) 22px; gap:12px; align-items:center;
  min-height:72px; padding:12px; border:1px solid var(--line); border-radius:10px;
  background:#fff; color:var(--ink); text-decoration:none; }
.account-menu-ic{ width:48px; height:48px; border-radius:8px; background:#f2f4f8;
  display:flex; align-items:center; justify-content:center; }
.account-menu-ic .ds-ic{ width:28px; height:28px; }
.account-menu-title{ display:block; color:var(--navy); font-size:17px; line-height:1.55; font-weight:800; }
.account-menu-text{ display:block; color:var(--sub); font-size:15px; line-height:1.6; }
.danger-area{ margin-top:24px; padding-top:16px; border-top:1px solid var(--line); }
.billing-list{ padding:2px 14px; background:#fff; }
.billing-row{ display:grid; grid-template-columns:1fr; gap:6px; padding:13px 0;
  border-bottom:1px dashed var(--line); }
.billing-row:last-child{ border-bottom:none; }
.billing-date{ display:block; color:var(--navy); font-size:17px; line-height:1.55; font-weight:800; }
.billing-name{ display:block; color:var(--sub); font-size:15px; line-height:1.6; }
.billing-amount{ display:flex; align-items:center; justify-content:space-between; gap:10px;
  color:var(--ink); font-size:17px; line-height:1.6; font-weight:800; }
.news-list{ display:grid; grid-template-columns:1fr; gap:10px; }
.news-card{ display:block; padding:15px 14px; border:1px solid var(--line); border-radius:10px;
  background:#fff; color:var(--ink); text-decoration:none; box-shadow:0 2px 10px rgba(20,34,60,.05); }
.news-card.is-important{ border-color:#e6cfa0; background:#fffaf2; }
.news-card-meta{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:6px; }
.news-date{ color:var(--sub); font-size:15px; line-height:1.5; font-weight:700; }
.news-label{ display:inline-flex; align-items:center; justify-content:center; min-height:30px; padding:3px 10px;
  border-radius:999px; background:#e7ebf2; color:var(--navy); font-size:15px; line-height:1.4; font-weight:800; }
.is-important .news-label{ background:#f3ecdd; color:var(--gold-d); }
.news-title{ display:block; color:var(--navy); font-size:18px; line-height:1.55; font-weight:800; }
.news-excerpt{ display:block; margin-top:4px; color:var(--sub); font-size:15px; line-height:1.7; }
.news-detail-card{ padding:18px 16px; border:1px solid var(--line); border-radius:10px;
  background:#fff; box-shadow:0 2px 10px rgba(20,34,60,.05); }
.news-detail-meta{ display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding-bottom:12px; border-bottom:1px solid var(--line2); }
.news-body{ margin-top:14px; }
.news-body p{ margin:0 0 14px; color:var(--ink); font-size:17px; line-height:1.85; }
.news-body p:last-child{ margin-bottom:0; }
.news-pager{ margin-top:16px; }

@media (min-width:1024px){
  body.app.apply-flow .phone .wrap{ max-width:900px; }
  body.app.apply-step .phone .wrap{ max-width:720px; }
  body.app.apply-step .apply-question-card{ max-width:680px; margin-left:auto; margin-right:auto; }
  body.app.apply-flow .apply-field-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.app.apply-flow .apply-field-wide{ grid-column:1 / -1; }
  body.app.apply-complete .completion-panel{ max-width:620px; margin-left:auto; margin-right:auto; }
  body.app.shipping-flow .phone .wrap{ max-width:820px; }
  body.app.shipping-flow .shipping-select-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.app.shipping-flow .shipping-summary-card{ display:grid; grid-template-columns:36% minmax(0,1fr); align-items:stretch; }
  body.app.shipping-flow .shipping-summary-card .item-visual{ height:auto; min-height:240px; border-right:1px solid var(--line); border-bottom:none; }
  body.app .account-profile-card{ max-width:620px; margin-left:auto; margin-right:auto; }
  body.app .account-menu{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.app .billing-row{ grid-template-columns:minmax(0,1fr) auto; align-items:center; }
  body.app .billing-amount{ justify-content:flex-end; }
  body.app .news-list{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.app .news-detail-card{ max-width:760px; margin-left:auto; margin-right:auto; }
}

/* サービス紹介LP・ログイン */
body.guest.lp-site{ background:#fff; }
body.guest.lp-site .phone{ width:100%; max-width:none; margin:0; box-shadow:none; border-radius:0; background:#fff; }
body.guest.lp-site .phone .appbar{ min-height:68px; border-radius:0; padding:13px 20px; flex-wrap:wrap; }
body.guest.lp-site .appbar .brandmark{ font-size:22px; }
body.guest.lp-site .guest-nav-actions{ display:none; }
body.guest.lp-site .guest-menu-btn{ display:inline-flex; align-items:center; justify-content:center;
  min-width:56px; min-height:56px; margin-left:auto; border:1px solid rgba(255,255,255,.36);
  border-radius:8px; background:rgba(255,255,255,.08); cursor:pointer; }
body.guest.lp-site .guest-menu-btn .ds-ic{ width:30px; height:30px; filter:brightness(0) invert(1); opacity:1; }
.guest-drawer-mask{ position:fixed; inset:0; z-index:54; background:rgba(18,26,44,.45);
  opacity:0; visibility:hidden; transition:.18s; }
.guest-drawer{ position:fixed; top:0; right:0; z-index:55; display:flex; flex-direction:column;
  width:84vw; max-width:330px; height:100dvh; background:#fff; box-shadow:-8px 0 28px rgba(20,34,60,.22);
  transform:translateX(100%); transition:transform .2s ease; }
body.guest-drawer-open .guest-drawer-mask{ display:block; opacity:1; visibility:visible; }
body.guest-drawer-open .guest-drawer{ transform:translateX(0); }
.guest-drawer .dh{ display:flex; align-items:center; gap:12px; padding:16px; min-height:70px;
  background:var(--navy); color:#fff; }
.guest-drawer .dh .brandmark{ flex:1 1 auto; min-width:0; color:#fff; font-size:18px; }
.guest-drawer .brand-copy{ font-size:14px; }
.guest-drawer .brand-main{ font-size:20px; letter-spacing:.12em; }
.guest-drawer .x{ margin-left:auto; display:inline-flex; align-items:center; justify-content:center;
  min-width:var(--tap); min-height:var(--tap); border:none; background:none; color:#fff; font-size:28px; cursor:pointer; }
.guest-drawer-links{ display:grid; grid-template-columns:1fr; }
.guest-drawer-links a{ display:flex; align-items:center; min-height:var(--tap); padding:14px 18px;
  border-bottom:1px solid var(--line2); color:var(--ink); text-decoration:none; font-size:17px; line-height:1.55; font-weight:700; }
.guest-drawer-actions{ margin-top:auto; padding:14px 18px calc(18px + env(safe-area-inset-bottom)); border-top:1px solid var(--line); }
.guest-drawer-actions .btn{ margin:10px 0 0; }
/* 紹介店TOP（lp.html）：ドロワー内の引き継ぎ導線。ボタン2本の下に置く。 */
.drawer-migrate{ margin:14px 0 0; text-align:center; color:var(--sub); font-size:15px; line-height:1.7; }
.drawer-migrate a{ position:relative; color:var(--navy); font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.drawer-migrate a::after{ content:""; position:absolute; left:-6px; right:-6px; top:50%;
  transform:translateY(-50%); height:44px; }
.lp-main{ background:#fff; padding-bottom:0; }
.lp-main-hero{ min-height:min(560px, calc(100svh - 112px)); display:flex; align-items:center; justify-content:center;
  padding:78px 18px 62px;
  background:
    linear-gradient(90deg,rgba(34,48,82,.96) 0%,rgba(34,48,82,.86) 44%,rgba(34,48,82,.18) 100%),
    url("../assets/lp-images/hero-kimono-storage.png");
  background-size:cover; background-position:center right; color:#fff; }
.lp-hero-inner{ width:100%; max-width:1120px; margin:0 auto; display:flex; flex-direction:column;
  align-items:flex-start; text-align:left; }
.lp-kicker{ margin:0 0 8px; color:var(--gold); font-size:15px; line-height:1.5;
  font-weight:800; text-transform:uppercase; }
/* 紹介店TOP（lp.html）：主要導線を早く見せるため、ヒーローを低くする。 */
.lp-hero-compact{ min-height:min(520px, calc(100svh - 112px)); }
@media (min-width:768px){ .lp-hero-compact{ min-height:min(620px, calc(100svh - 68px)); padding-top:96px; padding-bottom:64px; } }
.lp-main-hero .lp-kicker{ color:#efd6ac; }
.lp-main-hero h1{ max-width:620px; margin:0; font-size:32px; line-height:1.35; font-weight:800; color:#fff; }
.lp-h1-copy{ display:block; font-size:.56em; line-height:1.22; letter-spacing:.04em; }
.lp-h1-main{ display:block; margin-top:4px; font-size:1.38em; line-height:1.08; letter-spacing:.14em; }
.lp-lead{ max-width:620px; margin:14px 0 0; font-size:17px; line-height:1.85; color:#fff; }
/* 紹介店TOP（lp.html）：誰向けのページかを宣言する一文。
   ファーストビューのリード直下に置き、本文より一段控えた見え方にする。 */
.lp-audience{ margin-top:10px; font-size:15px; line-height:1.8; }
.lp-actions{ display:grid; grid-template-columns:1fr; gap:12px; margin-top:0; max-width:420px; }
.lp-actions .btn{ margin:0; }
.lp-hero-cta-band{ padding:18px 18px 28px; background:#fff; border-bottom:1px solid var(--line2); }
.lp-hero-actions{ width:100%; max-width:680px; margin:0 auto; align-items:end; }
/* 紹介店TOP（lp.html）：はじめてお預けになる方の導線。
   既存会員向けの2本とは性格が違うため、横並びに加えず1段下げて中央に置く。 */
/* ログイン画面：引き継ぎ前の会員が詰まらないようにする受け皿。
   ログインを試みる前に気づける位置（見出しの直下・入力欄の上）に置き、フォームと区別がつくよう地色を敷く。 */
.login-migrate{ margin:0 0 20px; padding:12px 14px; text-align:center; font-size:15px; line-height:1.7;
  color:var(--sub); background:#f2f5f9; border-radius:8px; }
.login-migrate a{ position:relative; color:var(--navy); font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.login-migrate a::after{ content:""; position:absolute; left:-6px; right:-6px; top:50%;
  transform:translateY(-50%); height:44px; }
/* 紹介店TOP（lp.html）：ファーストビュー内に置く主要導線。
   背景が濃いため、主CTAはゴールド、副CTAは白抜きの線ボタンにする。縦並びで、左のテキストと頭を揃える。 */
.lp-hero-cta{ width:100%; max-width:420px; margin:36px 0 0; }
.lp-hero-cta .btn + .btn{ margin-top:12px; }
.lp-hero-cta .btn{ position:relative; min-height:64px; padding:14px 48px 14px 18px; border-radius:8px; font-size:18px; gap:9px; margin:0; }
.lp-hero-cta .btn .ds-ic{ width:24px; height:24px; margin-right:0; }
/* ボタンのラベルを主文＋かっこ書きの2行で組む。SPでは1行に収まらないため折り返さず段を分ける。 */
.lp-hero-cta .btn .cta-stack{ display:flex; flex-direction:column; align-items:center; line-height:1.35; }
.lp-hero-cta .btn .cta-sub{ font-size:15px; font-weight:700; }
.lp-hero-cta .btn .cta-arrow{ position:absolute; right:18px; width:24px; height:24px; }
.lp-hero-cta .btn.gold .ds-ic,.lp-hero-cta .btn.gold .cta-arrow{ filter:brightness(0) invert(1); opacity:1; }
.lp-hero-cta .btn.ghost.on-hero{ background:transparent; color:#fff; border-color:#fff; }
.lp-hero-cta .btn.ghost.on-hero .ds-ic,.lp-hero-cta .btn.ghost.on-hero .cta-arrow{ filter:brightness(0) invert(1); opacity:1; }
/* ログインの直後に置く、引き継ぎへの受け皿。「こちら」だけをリンクにする。 */
/* ボタン2本の下に置く、引き継ぎへの受け皿。2本の主従を崩さないよう、ボタン群から1段離す。 */
.lp-hero-sub{ margin:20px 0 0; padding:0; color:#fff; font-size:15px; line-height:1.7; }
.lp-hero-sub a{ position:relative; color:#fff; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
/* タップ領域44pxは疑似要素で確保する。inline-block＋paddingだと行の高さが広がり、
   ログインボタンとの間に不要な余白ができるため。 */
.lp-hero-sub a::after{ content:""; position:absolute; left:-6px; right:-6px; top:50%;
  transform:translateY(-50%); height:44px; }
.lp-hero-note{ margin:10px 0 0; color:#fff; font-size:15px; line-height:1.6; }
/* 紹介店TOP（lp.html）：ボタンの下に置く前提条件の一文。 */
.lp-action-note{ margin:8px 0 0; color:var(--sub); font-size:15px; line-height:1.6; text-align:center; font-weight:600; }
/* 紹介店TOP（lp.html）：RAKURAからの引き継ぎへのテキストリンク。
   高年齢層が押しやすいよう、下線と十分なタップ領域（高さ44px以上）を確保する。 */
.lp-migrate-link{ margin:18px 0 0; text-align:center; }
.lp-migrate-link a{ display:inline-block; min-height:44px; padding:11px 16px; font-size:16px; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.lp-action-unit p{ min-height:auto; margin:0 0 6px; color:var(--sub); font-size:14px; line-height:1.45; font-weight:800; text-align:center; }
.lp-action-unit .sp-line{ display:block; }
.lp-hero-actions .btn{ position:relative; min-height:64px; padding:14px 48px 14px 18px; border-radius:8px; font-size:18px; gap:9px; }
.lp-hero-actions .btn .ds-ic{ width:24px; height:24px; margin-right:0; }
.lp-hero-actions .btn.primary .ds-ic,.lp-hero-actions .btn.primary .cta-arrow{ filter:brightness(0) invert(1); opacity:1; }
.lp-hero-actions .btn.ghost .ds-ic,.lp-hero-actions .btn.ghost .cta-arrow{
  filter:brightness(0) saturate(100%) invert(17%) sepia(21%) saturate(1452%) hue-rotate(185deg) brightness(89%) contrast(93%); }
.lp-hero-actions .btn .cta-arrow{ position:absolute; right:18px; width:24px; height:24px; }
.lp-trust-strip{ display:grid; grid-template-columns:1fr; gap:1px; background:#e3e7ef;
  border-top:1px solid #d6dce8; border-bottom:1px solid #d6dce8; }
.lp-trust-strip div{ padding:18px; background:#fff; text-align:center; }
.lp-stat{ display:block; color:var(--navy); font-size:20px; line-height:1.45; font-weight:800; }
.lp-stat-label{ display:block; color:var(--sub); font-size:15px; line-height:1.6; font-weight:700; }
.lp-section{ max-width:1120px; margin:0 auto; padding:44px 18px; }
.lp-section,.lp-main-hero{ scroll-margin-top:80px; }
.lp-section + .lp-section{ border-top:1px solid var(--line2); }
.lp-about-section + .lp-service-section{ border-top:none; }
.lp-price-section,.lp-faq-section,.lp-support-section{ max-width:none; background:#f6f8fb; }
.lp-flow-section{ background:#fff; max-width:none; }
.lp-price-section > .lp-section-head,.lp-price-section > .lp-course-grid,.lp-price-section > .lp-compensation,.lp-price-section > .lp-shipping-fee,
.lp-faq-section > .lp-section-head,.lp-faq-section > .lp-faq-list{
  max-width:1120px; margin-left:auto; margin-right:auto; }
.lp-faq-section > .lp-faq-list{ max-width:920px; }
.lp-service-section{ max-width:none; padding-top:0; padding-left:0; padding-right:0; }
.lp-service-section > .lp-section-head,.lp-service-section > .lp-round-feature-grid{
  max-width:1120px; margin-left:auto; margin-right:auto; padding-left:18px; padding-right:18px; }
.lp-section-head{ max-width:720px; margin:0 auto 20px; text-align:center; }
.lp-section-head h2,.lp-section-copy h2,.lp-support-head h2,.lp-final-cta h2{ margin:0; color:var(--navy);
  font-size:25px; line-height:1.45; font-weight:800; }
.lp-section-head h2::after{ content:""; display:block; width:58px; height:3px; border-radius:999px;
  background:var(--gold); margin:12px auto 0; }
.lp-section-copy h2::after{ content:""; display:block; width:58px; height:3px;
  border-radius:999px; background:var(--gold); margin:12px 0 0; }
.lp-section-head p,.lp-section-copy p,.lp-support-copy p,.lp-final-cta p{ color:var(--sub); font-size:17px; line-height:1.8; }
.lp-section-head .lp-kicker,.lp-section-copy .lp-kicker,.lp-support-copy .lp-kicker,.lp-final-cta .lp-kicker{
  margin:0 0 8px; color:var(--gold); font-size:15px; line-height:1.5; font-weight:800; }
.lp-centered-copy{ max-width:760px; margin:0 auto; text-align:center; }
.lp-centered-copy h2::after{ margin-left:auto; margin-right:auto; }
.lp-round-feature-grid{ display:grid; grid-template-columns:1fr; gap:18px; margin-top:22px; }
.lp-round-feature{ text-align:center; }
.lp-round-icon{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
  width:248px; height:248px; margin:0 auto; padding:24px; border-radius:999px; background:#fff;
  border:2px solid #dbe1ec; color:var(--navy); font-weight:800; box-shadow:0 7px 22px rgba(20,34,60,.08); }
.lp-round-num{ display:flex; align-items:center; justify-content:center; width:52px; height:52px;
  border-radius:999px; background:var(--navy); color:#fff; font-size:18px; line-height:1; letter-spacing:.08em; }
.lp-round-symbol{ display:flex; align-items:center; justify-content:center; width:78px; height:78px;
  border-radius:999px; background:#f6f8fb; border:1px solid #dbe1ec; }
.lp-round-symbol .ds-ic{ width:50px; height:50px; }
.lp-round-title{ display:block; max-width:170px; color:var(--navy); font-size:17px; line-height:1.45; font-weight:800; text-align:center; }
.lp-detail-list{ display:grid; gap:0; margin:0 0 -44px; }
.lp-detail-heading{ width:100%; margin:0; padding:44px 18px 10px; background:#f6f8fb; color:var(--navy);
  text-align:center; }
.lp-detail-heading h2{ margin:0; color:var(--navy); font-size:25px; line-height:1.45; font-weight:800; }
.lp-detail-heading h2::after{ content:""; display:block; width:58px; height:3px; border-radius:999px;
  background:var(--gold); margin:12px auto 0; }
.lp-detail-block{ display:grid; grid-template-columns:1fr; gap:18px; align-items:center; padding:30px 18px; }
.lp-detail-block:nth-of-type(odd){ background:#f6f8fb; }
.lp-detail-block:nth-of-type(even){ background:#fff; }
.lp-detail-media{ overflow:hidden; border-radius:8px; border:1px solid var(--line); background:#f6f8fb; }
.lp-detail-media img{ display:block; width:100%; aspect-ratio:16 / 10; object-fit:cover; }
.lp-screen-media{ padding:10px; background:#fff; }
.lp-screen-media img{ border-radius:6px; object-position:top center; box-shadow:0 5px 18px rgba(20,34,60,.12); }
.lp-detail-copy{ max-width:560px; }
.lp-detail-title-row{ display:grid; grid-template-columns:58px minmax(0,1fr); gap:14px; align-items:start; }
.lp-detail-badge{ display:inline-flex; align-items:center; justify-content:center; width:58px; height:58px;
  border-radius:999px; background:var(--navy); color:#fff; font-size:18px; line-height:1; font-weight:800; }
.lp-detail-copy h4{ margin:0; color:var(--navy); font-size:22px; line-height:1.45; font-weight:800; }
.lp-detail-subcopy{ margin:4px 0 0; color:var(--gold-d); font-size:17px; line-height:1.7; font-weight:800; }
.lp-detail-copy > p:not(.lp-detail-subcopy){ margin:12px 0 0; color:var(--sub); font-size:17px; line-height:1.8; }
.lp-feature-grid{ display:grid; grid-template-columns:1fr; gap:12px; }
.lp-feature-card{ padding:18px; border:1px solid var(--line); border-radius:8px; background:#fff;
  box-shadow:0 4px 16px rgba(20,34,60,.06); }
.lp-card-icon{ display:flex; align-items:center; justify-content:center; width:54px; height:54px;
  border-radius:8px; background:#f2f4f8; margin-bottom:12px; }
.lp-card-icon .ds-ic{ width:32px; height:32px; }
.lp-feature-card h3,.lp-course-card h3{ margin:0 0 6px; color:var(--navy); font-size:18px; line-height:1.5; }
.lp-feature-card p,.lp-course-card p{ margin:0; color:var(--sub); font-size:15px; line-height:1.7; }
.lp-visual-section{ display:grid; grid-template-columns:1fr; gap:20px; align-items:center; }
.lp-support-section{ display:block; overflow:hidden; }
.lp-section-copy{ max-width:560px; }
.lp-section-copy.lp-centered-copy{ max-width:760px; }
.lp-support-head{ max-width:720px; margin:0 auto 22px; text-align:center; }
.lp-support-head h2{ margin:0; color:var(--navy); font-size:25px; line-height:1.45; font-weight:800; }
.lp-support-head h2::after{ content:""; display:block; width:58px; height:3px;
  border-radius:999px; background:var(--gold); margin:12px auto 0; }
.lp-support-copy{ max-width:640px; margin:0 auto; text-align:center; }
.lp-support-body{ display:block; max-width:720px; margin:0 auto; }
.lp-visual-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.lp-visual-grid img{ width:100%; aspect-ratio:3 / 4; object-fit:cover; border-radius:8px; border:1px solid var(--line); background:#f4f1e8; }
.lp-course-grid{ display:grid; grid-template-columns:1fr; gap:12px; }
.lp-course-card{ display:grid; grid-template-columns:92px minmax(0,1fr); gap:14px; align-items:center;
  padding:12px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.lp-course-card img,.lp-course-icon{ width:92px; height:92px; border-radius:8px; background:#f4f1e8; object-fit:cover;
  border:1px solid var(--line); }
.lp-course-icon{ display:flex; align-items:center; justify-content:center; }
.lp-course-icon .ds-ic{ width:44px; height:44px; }
.lp-price{ display:inline-block; margin-top:8px; color:var(--gold-d); font-size:20px; line-height:1.4; font-weight:800; }
.lp-price span{ display:block; color:var(--sub); font-size:15px; line-height:1.45; font-weight:800; }
.lp-price strong{ display:block; color:var(--gold-d); font-size:24px; line-height:1.25; }
.lp-price small{ color:var(--gold-d); font-size:15px; line-height:1; font-weight:800; }
.lp-price-note{ max-width:1120px; margin:12px auto 0; color:var(--sub); font-size:15px; line-height:1.7; }
.lp-compensation{ margin-top:24px; padding:18px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.lp-compensation h3{ margin:0 0 12px; color:var(--navy); font-size:21px; line-height:1.5; text-align:center; }
.lp-compensation-grid{ display:grid; grid-template-columns:1fr; gap:10px; }
.lp-compensation-grid article{ overflow:hidden; padding:0 0 16px; border:1px solid var(--line); border-radius:8px; background:#fff; text-align:center; }
.lp-compensation-grid h4{ margin:0 0 12px; padding:12px 10px; background:var(--navy); color:#fff; font-size:18px; line-height:1.5; }
.lp-compensation-grid p{ max-width:280px; margin:0 auto; padding:0 14px; color:var(--sub); font-size:15px; line-height:1.7; }
.lp-compensation-grid .lp-compensation-price{ margin-bottom:6px; color:var(--gold-d); font-size:19px; line-height:1.5; font-weight:800; }
.lp-shipping-fee{ margin-top:18px; padding:18px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.lp-shipping-fee h3{ margin:0 0 12px; color:var(--navy); font-size:21px; line-height:1.5; text-align:center; }
.lp-shipping-grid{ display:grid; grid-template-columns:1fr; gap:10px; }
.lp-shipping-grid article{ padding:16px; border:1px solid var(--line); border-radius:8px; background:#fff; text-align:center; }
.lp-shipping-grid h4{ margin:0 0 8px; color:var(--navy); font-size:18px; line-height:1.5; }
.lp-shipping-grid p{ display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin:8px 0 0; padding-top:8px; border-top:1px solid var(--line2); color:var(--sub); font-size:15px; line-height:1.6; }
.lp-shipping-grid p:first-of-type{ border-top:none; }
.lp-shipping-grid strong{ color:var(--gold-d); font-size:18px; line-height:1.4; }
.lp-how-section{ background:#fff; }
/* 紹介店TOP（lp.html）：「WAGURAとは」は図と本文の2カラム（PCは図が左・本文が右）。
   DOMは本文→図の順にしてあり、スマートフォンでは見出しと本文を先に読ませる。 */
.lp-about-split{ display:grid; gap:26px; }
@media (min-width:900px){
  .lp-about-split{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:52px; }
  .lp-about-split .lp-section-copy{ order:2; max-width:none; margin:0; text-align:left; }
  .lp-about-split .lp-section-copy h2::after{ margin-left:0; margin-right:0; }
  .lp-about-split .lp-cycle{ order:1; margin:0; max-width:none; }
}
/* 紹介店TOP（lp.html）：物の流れのサイクル図。
   弧の線だけをSVGで描き、文字はHTMLに置く。縮小で文字が小さくならないようにするため。 */
.lp-cycle{ position:relative; width:100%; max-width:460px; margin:30px auto 0; padding:0;
  aspect-ratio:320 / 345; }
.lp-cycle-arrows{ position:absolute; left:0; top:0; width:100%; height:100%; overflow:visible; }
.lp-cycle .cy-line{ fill:none; stroke:var(--navy); stroke-width:1.5; }
.lp-cycle .cy-gold{ stroke:var(--gold); }
.cy-node{ position:absolute; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:3px; width:25%; min-width:78px; aspect-ratio:1.2 / 1; border:1px solid var(--navy); background:#fff;
  color:var(--navy); font-size:15px; line-height:1.4; font-weight:700; }
.cy-node .ds-ic{ width:26px; height:26px; margin:0; }
.cy-wagura{ left:50%; top:1%; transform:translateX(-50%); background:var(--navy); color:#fff; }
.cy-wagura .ds-ic{ filter:brightness(0) invert(1); }
.cy-shop{ left:12%; top:58%; }
.cy-home{ right:12%; top:58%; }
.cy-center{ position:absolute; left:50%; top:36%; transform:translateX(-50%); width:48%; margin:0;
  text-align:center; color:var(--sub); font-size:15px; line-height:1.5; }
.cy-center strong{ display:block; margin-top:2px; color:var(--navy); font-size:17px; font-weight:800; }
.cy-label{ position:absolute; width:25%; margin:0; text-align:center;
  color:var(--navy); font-size:16px; line-height:1.4; font-weight:800; }
.cy-label span{ display:block; margin-top:2px; color:var(--sub); font-size:15px; font-weight:600; }
.cy-l1{ left:0; top:26%; }
.cy-l2{ right:0; top:26%; }
.cy-l3{ left:50%; bottom:0; transform:translateX(-50%); width:60%; }
.cy-caption{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap; border:0; }
/* 紹介店TOP（lp.html）：3枚のカードを「WAGURAとは」の中に置くため、リード文から間を取る。 */
.lp-about-section .lp-how-grid{ margin-top:30px; }
.lp-how-grid{ display:grid; grid-template-columns:1fr; gap:14px; }
.lp-how-card{ overflow:hidden; border:1px solid var(--line); border-radius:8px; background:#fff;
  box-shadow:0 5px 18px rgba(20,34,60,.06); }
.lp-how-card img{ display:block; width:100%; aspect-ratio:16 / 10; object-fit:cover; background:#f4f1e8; }
.lp-how-card div{ padding:16px; }
.lp-how-card h3{ margin:0 0 6px; color:var(--navy); font-size:20px; line-height:1.5; font-weight:800; }
.lp-how-card p{ margin:0; color:var(--sub); font-size:17px; line-height:1.75; }
.lp-note{ margin:16px 0 0; padding:13px 14px; border:1px solid #e6d6b8; border-radius:8px;
  background:#f7f1e6; color:#6a5326; font-size:15px; line-height:1.7; }
.lp-flow-section .lp-section-head,.lp-flow,.lp-use-note{ max-width:1120px; margin-left:auto; margin-right:auto; }
.lp-flow{ display:grid; grid-template-columns:1fr; gap:34px; padding:26px 0 0; list-style:none; }
.lp-flow li{ display:block; min-height:188px; padding:54px 18px 18px;
  border:1px solid #eee6d3; border-radius:2px; background:#fbf7ec; position:relative; text-align:center; }
.lp-flow li:not(:last-child)::after{ content:""; position:absolute; left:50%; bottom:-24px;
  width:12px; height:12px; border-right:2px solid var(--navy); border-bottom:2px solid var(--navy);
  transform:translateX(-50%) rotate(45deg); opacity:.72; }
.lp-flow li > span{ position:absolute; top:-30px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; justify-content:center; width:66px; height:66px;
  border-radius:999px; background:var(--navy); color:#fff; font-weight:800; }
.lp-flow li > span small{ display:block; font-size:14px; line-height:1; letter-spacing:.08em; }
.lp-flow li > span strong{ display:block; margin-top:3px; font-size:22px; line-height:1; }
.lp-flow b{ display:block; color:var(--navy); font-size:18px; line-height:1.55; }
.lp-flow p{ margin:10px 0 0; color:var(--ink); font-size:15px; line-height:1.7; text-align:left; }
.lp-use-note{ max-width:900px; margin:30px auto 0; padding:20px; border:1px solid #e6d6b8;
  border-radius:8px; background:#fff; text-align:center; }
.lp-use-note h3{ margin:0; color:var(--navy); font-size:22px; line-height:1.5; font-weight:800; }
.lp-use-note p:not(.lp-kicker){ margin:8px 0 0; color:var(--sub); font-size:17px; line-height:1.8; }
.lp-support-illust{ display:block; width:100%; max-width:520px; margin:0 auto;
  border-radius:8px; border:1px solid var(--line); background:#fff; }
.lp-support-copy .btn{ max-width:320px; margin-left:auto; margin-right:auto; }
.lp-faq-list{ display:grid; grid-template-columns:1fr; gap:10px; }
.lp-faq-item{ border:1px solid var(--line); border-radius:8px; background:#fff; overflow:hidden; }
.lp-faq-item summary{ display:flex; align-items:center; justify-content:space-between; gap:12px;
  min-height:56px; padding:13px 16px; cursor:pointer; color:var(--navy);
  font-size:17px; line-height:1.55; font-weight:800; list-style:none; }
.lp-faq-item summary::-webkit-details-marker{ display:none; }
.lp-faq-item summary::marker{ content:""; }
.lp-faq-item summary::after{ content:""; width:11px; height:11px; flex:0 0 11px;
  border-right:2px solid var(--navy); border-bottom:2px solid var(--navy);
  transform:rotate(45deg); transition:.15s; }
.lp-faq-item[open] summary::after{ transform:rotate(225deg); margin-top:7px; }
.qa-icon{ display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px;
  border-radius:999px; background:var(--navy); color:#fff; font-size:16px; line-height:1; font-weight:800; flex:0 0 34px; }
.faq-question{ flex:1; min-width:0; }
.faq-answer{ display:grid; grid-template-columns:34px minmax(0,1fr); gap:12px;
  padding:0 16px 15px; color:var(--sub); font-size:15px; line-height:1.7; }
.faq-answer .qa-icon{ background:var(--gold); }
.faq-answer p{ margin:0; color:var(--sub); font-size:15px; line-height:1.7; }
.lp-final-cta{ padding:44px 18px 54px; background:#f6f8fb; text-align:center; }
.lp-final-cta .lp-actions{ margin-left:auto; margin-right:auto; }
.lp-index-link{ margin:0; padding:0 18px 30px; font-size:15px; line-height:1.6; text-align:center; }
.lp-sticky-cta{ position:fixed; left:0; right:0; bottom:0; z-index:35;
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.97); border-top:1px solid var(--line);
  box-shadow:0 -8px 24px rgba(20,34,60,.12); }
.lp-sticky-unit{ min-width:0; }
.lp-sticky-unit span{ display:block; min-height:38px; margin:0 0 5px; color:var(--sub);
  font-size:15px; line-height:1.35; font-weight:800; text-align:center; }
.lp-sticky-unit .btn{ min-height:56px; padding:10px 8px; margin:0; border-radius:8px; font-size:16px; }
.lp-page-top{ position:fixed; right:14px; bottom:calc(20px + env(safe-area-inset-bottom)); z-index:36;
  display:inline-flex; align-items:center; justify-content:center; width:56px; height:56px;
  border:1px solid rgba(255,255,255,.75); border-radius:999px; background:var(--navy); color:#fff;
  box-shadow:0 8px 22px rgba(20,34,60,.22); cursor:pointer; opacity:0; pointer-events:none;
  transform:translateY(10px); transition:opacity .18s ease, transform .18s ease; }
.lp-page-top.is-visible{ opacity:1; pointer-events:auto; transform:translateY(0); }
.lp-page-top .ds-ic{ width:26px; height:26px; opacity:1; filter:brightness(0) invert(1); }
.login-panel{ max-width:430px; margin:16px auto 0; padding:18px 0 4px; }
.login-brand{ text-align:center; margin:8px 0 18px; color:var(--navy); }
.login-brand .page-brand{ align-items:center; font-size:22px; }
.login-brand p{ margin:10px 0 0; color:var(--sub); font-size:16px; line-height:1.6; font-weight:700; }
.login-links{ display:grid; grid-template-columns:1fr; gap:4px; margin-top:18px; text-align:center; }
.login-links a{ display:flex; align-items:center; justify-content:center; min-height:var(--tap);
  color:var(--navy); font-size:15px; line-height:1.6; font-weight:700; }

@media (min-width:720px){
  .lp-actions{ grid-template-columns:1fr 1fr; }
  .lp-trust-strip{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .lp-feature-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .lp-course-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .lp-compensation-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .lp-shipping-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .lp-how-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width:420px){
  body.guest.lp-site .phone .appbar{ padding-left:10px; padding-right:10px; gap:6px; }
  body.guest.lp-site .appbar .brandmark{ font-size:18px; }
  .guest-nav-actions{ gap:6px; flex-basis:168px; }
  .header-link,.header-login{ padding-left:8px; padding-right:8px; }
}

@media (min-width:1024px){
  body.guest.lp-site .phone{ margin:0; border-radius:0; }
  body.guest.lp-site .phone .appbar{ border-radius:0; }
  .lp-main{ padding-bottom:0; }
  .lp-main-hero{ min-height:min(660px, calc(100svh - 68px)); padding:120px 42px 72px; }
  .lp-main-hero h1{ font-size:44px; }
  .lp-lead{ font-size:18px; }
  .lp-hero-cta-band{ position:relative; z-index:2; margin-top:0; padding:24px 42px 54px;
    background:#fff; border-bottom:none; }
  .lp-hero-actions{ max-width:828px; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .lp-action-unit p{ color:var(--sub); text-align:center; text-shadow:none; }
  .lp-action-unit .sp-line{ display:inline; }
  .lp-hero-actions .btn{ min-height:74px; font-size:19px; }
  .lp-section{ padding:64px 42px; }
  .lp-service-section{ padding-top:0; padding-left:0; padding-right:0; }
  .lp-service-section > .lp-section-head,.lp-service-section > .lp-round-feature-grid{
    padding-left:42px; padding-right:42px; }
  .lp-section-head h2,.lp-section-copy h2,.lp-support-head h2,.lp-final-cta h2,.lp-detail-heading h2{ font-size:30px; }
  .lp-round-icon{ width:276px; height:276px; padding:30px; }
  .lp-round-symbol{ width:86px; height:86px; }
  .lp-round-symbol .ds-ic{ width:56px; height:56px; }
  .lp-detail-list{ margin-left:0; margin-right:0; margin-bottom:-64px; }
  .lp-detail-heading{ padding:44px 42px 12px; }
  .lp-detail-block{ grid-template-columns:minmax(0,520px) minmax(0,560px); justify-content:center; gap:42px; padding:56px 42px; }
  .lp-visual-section{ grid-template-columns:1fr 1fr; }
  .lp-detail-block.is-reverse .lp-detail-media{ order:2; }
  .lp-detail-block.is-reverse .lp-detail-copy{ order:1; margin-left:auto; }
  .lp-flow{ grid-template-columns:repeat(5,minmax(0,1fr)); gap:26px; padding-top:32px; }
  .lp-flow li{ min-height:238px; padding:66px 17px 20px; }
  .lp-flow li:not(:last-child)::after{ left:auto; right:-18px; top:50%; bottom:auto;
    transform:translateY(-50%) rotate(-45deg); }
  .lp-flow p{ text-align:center; }
  .lp-support-body{ max-width:720px; }
  .lp-visual-grid{ gap:12px; }
  .lp-page-top{ right:28px; bottom:28px; }
}

@media (min-width:1200px){
  body.guest.lp-site .phone .appbar{ padding-left:32px; padding-right:32px; flex-wrap:nowrap; gap:18px; }
  body.guest.lp-site .appbar .brandmark{ font-size:21px; }
  body.guest.lp-site .guest-anchor-nav{ display:flex; align-items:center; justify-content:flex-end; gap:2px;
    flex:1 1 auto; min-width:0; }
  body.guest.lp-site .guest-anchor-nav a{ display:inline-flex; align-items:center; justify-content:center;
    min-height:var(--tap); padding:8px 10px; color:#fff; text-decoration:none; font-size:15px;
    line-height:1.45; font-weight:800; border-radius:8px; white-space:nowrap; }
  body.guest.lp-site .guest-anchor-nav a:hover{ background:rgba(255,255,255,.1); }
  body.guest.lp-site .guest-menu-btn{ display:none; }
  body.guest.lp-site .guest-nav-actions{ display:flex; flex:0 0 auto; flex-wrap:nowrap; gap:8px; }
  body.guest.lp-site .header-link,body.guest.lp-site .header-login{ flex:0 0 auto; min-width:112px;
    min-height:48px; padding:10px 14px; white-space:nowrap; }
  body.guest.lp-site .header-link{ min-width:136px; }
  body.guest.lp-site .guest-drawer-mask,body.guest.lp-site .guest-drawer{ display:none !important; }
}

/* ===== 管理画面（PC・運営向け）=====
   §4.7 の緩和基準を適用：本文14px以上／タップ領域32px以上／
   コントラスト4.5:1・フォーム・エラー表示・見出し階層は顧客側と同じ基準。 */
.admin{ background:#eef1f5; color:#202936; }
/* 管理画面のフォームは情報密度を優先（§4.7） */
.admin input,.admin select,.admin textarea{ font-size:14px; padding:8px 10px; min-height:34px; }
.adm-layout{ display:flex; min-height:100vh; }
.adm-side{ width:264px; flex:0 0 264px; background:#1f2c4a; color:#cdd6e6;
  position:sticky; top:0; height:100vh; overflow:auto; }
.adm-side .logo{ padding:20px 20px 14px; color:#fff; font-weight:800; font-size:18px; line-height:1; }
.adm-side .logo .brand-copy{ font-size:13px; color:#c7d0e0; }
.adm-side .logo .brand-main{ font-size:18px; }
.adm-side .logo small{ display:block; font-weight:400; letter-spacing:.02em; font-size:13px; color:#9fb0cc; margin-top:7px; line-height:1.45; }
.adm-side .grp{ font-size:13px; color:#a8b8d4; padding:16px 20px 5px; letter-spacing:.05em; font-weight:800; }
.adm-side .adm-nav-root{ margin:8px 10px 5px; border-radius:8px; }
.adm-side .adm-nav-group{ border-top:1px solid rgba(255,255,255,.08); margin-top:5px; }
.adm-side .adm-nav-group > summary{ display:flex; align-items:center; gap:10px; min-height:44px;
  padding:14px 18px 14px 20px; color:#f5f8fd; font-size:14px; line-height:1.45; font-weight:800;
  cursor:pointer; list-style:none; }
.adm-side .adm-nav-group > summary::-webkit-details-marker{ display:none; }
.adm-side .adm-nav-group > summary::after{ content:""; width:8px; height:8px; margin-left:auto; flex:0 0 8px;
  border-right:2px solid #cdd6e6; border-bottom:2px solid #cdd6e6; transform:rotate(45deg); transition:.15s; }
.adm-side .adm-nav-group[open] > summary::after{ transform:rotate(225deg); margin-top:6px; }
.adm-side .adm-nav-group > summary:hover{ background:rgba(255,255,255,.05); }
.adm-side .adm-nav-items{ padding:3px 0 10px; }
.adm-side a{ display:flex; align-items:center; gap:10px; padding:12px 18px 12px 20px; min-height:44px;
  color:#dbe3f0; text-decoration:none; font-size:14px; border-left:4px solid transparent; }
.adm-side .adm-nav-items a{ padding:11px 18px 11px 38px; min-height:42px; font-size:13px; }
.adm-side a:hover{ background:rgba(255,255,255,.05); }
.adm-side a.on{ background:rgba(255,255,255,.09); color:#fff; border-left-color:transparent; font-weight:700; }
.adm-side .ic{ width:22px; height:22px; flex:0 0 22px; display:inline-flex; align-items:center; justify-content:center; }
.adm-side .ic img{ width:20px; height:20px; filter:invert(92%) sepia(7%) saturate(585%) hue-rotate(181deg) brightness(95%) contrast(91%); opacity:.9; }
.adm-side a.on .ic img{ filter:invert(100%); opacity:1; }
.adm-main{ flex:1; min-width:0; display:flex; flex-direction:column; }
.adm-top{ background:#fff; border-bottom:1px solid var(--line); padding:13px 24px;
  display:flex; align-items:center; gap:12px; position:sticky; top:0; z-index:5; }
.adm-top h1{ font-size:18px; margin:0; color:var(--ink); }
.adm-top .who{ margin-left:auto; font-size:14px; color:var(--sub); }
.adm-top-actions{ margin-left:auto; display:flex; gap:8px; }
.adm-top-actions a{ min-height:34px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--line);
  border-radius:8px; padding:6px 12px; color:var(--navy); text-decoration:none; font-size:14px; font-weight:700; background:#fff; }
.adm-top-actions + .who{ margin-left:4px; }
.adm-body{ padding:22px; flex:1; }
.adm-note{ background:#eef4fa; border:1px solid #d3e2f0; color:#31556f; border-radius:8px;
  padding:10px 13px; font-size:14px; margin:0 0 14px; }
.adm-note.warn{ background:#fbf0e0; border-color:#e6cfa0; color:#7a5a1e; }
.adm-note .note-label{ display:inline-block; margin-right:6px; font-weight:800; color:inherit; }
.adm-help{ margin:0 0 14px; border:1px solid var(--line); border-radius:10px; background:#fff; }
.adm-help > summary{ display:flex; align-items:center; justify-content:space-between; gap:10px;
  min-height:42px; padding:9px 13px; cursor:pointer; list-style:none; color:var(--navy);
  font-size:14px; line-height:1.5; font-weight:800; }
.adm-help > summary::-webkit-details-marker{ display:none; }
.adm-help > summary::after{ content:""; width:9px; height:9px; flex:0 0 9px;
  border-right:2px solid var(--navy); border-bottom:2px solid var(--navy);
  transform:rotate(45deg); transition:.15s; }
.adm-help[open] > summary::after{ transform:rotate(225deg); margin-top:6px; }
.adm-help-count{ margin-left:auto; padding:2px 8px; border-radius:999px; background:#eef4fa;
  color:#31556f; font-size:13px; line-height:1.45; font-weight:700; }
.adm-help-body{ padding:0 13px 13px; }
.adm-help-body .adm-note{ margin:0 0 10px; }
.adm-help-body .adm-note:last-child{ margin-bottom:0; }
.admin-note-table{ margin-top:8px; }
.admin-note-table table.tbl{ background:#fff; }
.admin-note-table table.tbl th,.admin-note-table table.tbl td{ padding:7px 9px; }
.crumbs{ font-size:14px; color:var(--sub); margin:0 0 10px; }
.crumbs a{ color:var(--sub); }
.adm-cards{ display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:14px; margin-bottom:6px; }
.stat{ background:#fff; border:1px solid var(--line); border-radius:10px; padding:15px 16px; }
.stat .n{ font-size:26px; font-weight:800; color:var(--navy); }
.stat .l{ font-size:14px; color:var(--sub); }
.stat a{ color:inherit; text-decoration:none; display:block; }
.stat.is-attention{ border-color:#e6cfa0; background:#fffaf1; }
.admin-table-wrap{ width:100%; overflow-x:auto; }
.panel{ background:#fff; border:1px solid var(--line); border-radius:10px; padding:16px 18px; margin:14px 0; }
.panel h2{ font-size:16px; margin:0 0 12px; color:var(--navy); display:flex; align-items:center; gap:8px; }
.panel h2 .sys{ font-size:13px; padding:2px 8px; border-radius:999px; background:#e7ebf2; color:var(--navy); font-weight:600; }
.sys.logi{ background:#efe6f2; color:#7a4d86; }
.sys.external{ background:#e7f0ea; color:#2f6b46; }
table.tbl{ width:100%; border-collapse:collapse; font-size:14px; }
table.tbl th,table.tbl td{ border-bottom:1px solid var(--line2); padding:9px 10px; text-align:left; vertical-align:middle; }
table.tbl th{ background:#f6f8fb; color:var(--navy); font-weight:600; font-size:14px; white-space:nowrap; }
table.tbl tr:hover td{ background:#e8f1fb; }
table.tbl a{ color:var(--navy); font-weight:600; }
.toolbar{ display:flex; gap:10px; margin-bottom:12px; flex-wrap:wrap; }
.toolbar input,.toolbar select{ width:auto; }
.toolbar .grow{ flex:1; min-width:180px; }
.toolbar .toolbar-label{ align-self:center; color:var(--sub); font-size:14px; font-weight:700; }
.toolbar.admin-search-grid{ background:#f7f9fc; border:1px solid var(--line2); border-radius:10px; padding:14px; margin-bottom:14px; }
.admin-search-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); align-items:end; }
.admin-search-grid label{ display:grid; gap:4px; color:var(--sub); font-size:13px; line-height:1.45; font-weight:700; }
.admin-search-grid input,.admin-search-grid select{ width:100%; }
.admin-search-actions{ grid-column:1 / -1; display:flex; justify-content:flex-end; gap:8px; align-items:end; flex-wrap:wrap; }
.admin-search-note{ grid-column:1 / -1; color:var(--sub); font-size:13px; line-height:1.5; }
.abtn{ display:inline-flex; align-items:center; justify-content:center; padding:8px 14px;
  min-height:34px; border-radius:8px; font-size:14px; font-weight:700;
  text-decoration:none; border:none; cursor:pointer; }
.abtn.navy{ background:var(--navy); color:#fff; }
.abtn.gold{ background:var(--gold); color:#fff; }
.abtn.ghost{ background:#fff; color:var(--navy); border:1px solid var(--navy); }
.abtn.sm{ padding:6px 12px; min-height:32px; font-size:14px; }
table.tbl .abtn.sm{ min-width:72px; }
.dl{ display:grid; grid-template-columns:130px 1fr; gap:6px 14px; font-size:14px; }
.dl dt{ color:var(--sub); }
.dl dd{ margin:0; }
.admin-info-list{ grid-template-columns:150px 1fr; gap:0; border:1px solid var(--line2); border-radius:10px; overflow:hidden; background:#fff; }
.admin-info-list dt,.admin-info-list dd{ padding:10px 12px; border-bottom:1px solid var(--line2); line-height:1.55; }
.admin-info-list dt{ background:#f6f8fb; color:var(--navy); font-weight:800; }
.admin-info-list dd{ color:var(--ink); }
.admin-info-list dt:nth-last-of-type(1),.admin-info-list dd:last-child{ border-bottom:0; }
.adm-item-cell{ display:flex; align-items:center; gap:10px; min-width:220px; }
.adm-item-cell img{ width:58px; height:72px; flex:0 0 58px; border:1px solid var(--line2);
  border-radius:8px; background:#f7f4ee; object-fit:cover; }
.adm-item-meta{ min-width:0; }
.adm-item-meta strong{ display:block; color:var(--ink); font-size:14px; line-height:1.45; }
.adm-item-meta span{ display:block; color:var(--sub); font-size:13px; line-height:1.45; }
.admin-image-card{ margin:0; }
.admin-current-photo{ width:132px; height:164px; object-fit:cover; border:1px solid var(--line2);
  border-radius:8px; background:#f7f4ee; }
.admin-upload-mark{ display:inline-flex; align-items:center; justify-content:center; min-width:76px; min-height:42px;
  margin-bottom:8px; border-radius:999px; background:#eef4fa; color:#31556f; font-size:14px; font-weight:800; }
.admin-form-grid{ display:grid; grid-template-columns:160px minmax(0,1fr); gap:10px 16px; align-items:center; }
.admin-form-grid label{ color:var(--sub); font-weight:700; font-size:14px; }
.admin-form-grid input,.admin-form-grid select,.admin-form-grid textarea{ width:100%; }
.admin-store-picker{ display:grid; gap:8px; }
.admin-store-search{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:center; }
.admin-store-selected{ border:1px solid var(--line2); border-radius:8px; padding:10px 12px; background:#fbfcfe; }
.admin-store-selected strong{ display:block; color:var(--ink); font-size:14px; line-height:1.45; }
.admin-store-selected span{ display:block; color:var(--sub); font-size:13px; line-height:1.45; margin-top:2px; }
.admin-store-options{ display:grid; gap:6px; }
.admin-store-option{ display:flex; align-items:flex-start; gap:8px; padding:9px 10px; border:1px solid var(--line);
  border-radius:8px; background:#fff; color:var(--sub); font-size:14px; line-height:1.5; font-weight:400; }
.admin-store-option input{ width:18px; height:18px; min-height:0; margin-top:2px; accent-color:var(--navy); }
.admin-store-option strong{ display:block; color:var(--ink); }
.admin-store-option span{ display:block; color:var(--sub); font-size:13px; }
.admin-form-grid textarea{ min-height:92px; resize:vertical; }
.admin-form-note{ grid-column:2; color:var(--sub); font-size:13px; line-height:1.6; }
.admin-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.admin-actions.center{ justify-content:center; }
.admin-form-panel{ max-width:760px; }
.admin-flow-list{ padding-left:1.2em; font-size:14px; line-height:1.9; }
.admin-footnote{ margin-top:8px; }
.admin-tight-note{ margin-top:10px; }
.admin-issue-panel{ border-left:4px solid var(--gold); }
.admin-th-note{ font-weight:400; }
.admin-alert-text{ display:inline-block; margin-top:4px; color:var(--danger); font-size:13px; line-height:1.5; font-weight:700; }
.admin-range-separator{ align-self:center; color:var(--sub); font-size:14px; font-weight:700; }
.admin-complete{ max-width:620px; margin:28px auto; text-align:center; }
.admin-complete .badge{ margin-bottom:8px; }
.admin-complete .admin-actions{ justify-content:center; }
.admin-media-row{ display:flex; gap:16px; flex-wrap:wrap; align-items:flex-start; }
.admin-media-side{ flex:0 0 160px; }
.admin-media-main{ flex:1; min-width:240px; }
.admin-upload-panel{ border:1.5px dashed var(--line); border-radius:10px; padding:16px; text-align:center; background:#fff; }
.admin-upload-panel .small{ margin:4px 0 10px; }
.admin-meta-block{ margin-top:12px; }
.admin-section-subtitle{ margin-top:12px; }
.admin-radio-group{ display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:8px; }
.admin-radio-card{ display:flex; align-items:center; gap:8px; min-height:42px; padding:9px 12px;
  border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--ink); font-size:14px; font-weight:700; }
.admin-radio-card input{ width:18px; height:18px; min-height:0; accent-color:var(--navy); }
.admin-check-list{ display:grid; gap:8px; }
.admin-check-list.compact{ grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); }
.admin-check-row{ display:flex; align-items:flex-start; gap:9px; min-height:42px; padding:9px 10px;
  border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--ink); font-size:14px; line-height:1.5; font-weight:700; }
.admin-check-row input{ width:18px; height:18px; min-height:0; margin-top:2px; accent-color:var(--navy); }
.admin-check-row strong{ display:block; color:var(--ink); }
.admin-check-row span span{ display:block; color:var(--sub); font-size:13px; font-weight:600; }
.admin-pagination{ display:flex; justify-content:flex-end; align-items:center; gap:6px; flex-wrap:wrap; margin-top:14px; }
.admin-page-total{ margin-right:8px; color:var(--sub); font-size:13px; line-height:1.5; }
.admin-page{ display:inline-flex; align-items:center; justify-content:center; min-width:34px; min-height:34px;
  padding:6px 10px; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--navy);
  text-decoration:none; font-size:14px; line-height:1.4; font-weight:700; }
.admin-page.on{ background:var(--navy); border-color:var(--navy); color:#fff; }
.admin-page.disabled{ color:#9aa5b5; background:#f6f8fb; pointer-events:none; }
.admin-page-jump{ display:flex; align-items:center; gap:6px; margin-left:8px; color:var(--sub); font-size:13px; font-weight:700; }
.admin-page-jump input{ width:58px; min-height:34px; text-align:center; }
.admin-kartes-table td{ vertical-align:middle; }
.admin-kartes-table .adm-item-cell{ min-width:300px; align-items:center; }
.admin-kartes-table .adm-item-cell img{ width:76px; height:96px; flex-basis:76px; }
.admin-row-actions{ display:flex; flex-wrap:wrap; gap:6px; justify-content:flex-end; min-width:154px; }
.admin-row-actions .abtn.sm{ flex:0 0 auto; }
.admin-item-badges{ display:flex; flex-wrap:wrap; gap:5px; margin:0 0 4px; }
.adm-item-meta .admin-mini-badge{ display:inline-flex; align-items:center; min-height:22px; padding:2px 7px; border-radius:999px;
  background:#f3ecdd; color:var(--gold-d); font-size:12px; line-height:1.3; font-weight:800; }
.admin-item-period{ margin-top:3px; }
.adm-item-meta .admin-alert-dot{ display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px;
  margin-left:4px; border-radius:999px; background:var(--danger); color:#fff; font-size:13px; line-height:1; font-weight:800; }
.admin-login-wrap{ max-width:380px; margin:0 auto; padding:60px 20px; }
.admin-login-brand{ margin-bottom:8px; }
.admin-login-brand .page-brand{ font-size:26px; color:var(--navy); }
.admin-login-button{ display:block; text-align:center; margin-top:14px; }
.admin-metric-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:14px; }
.admin-metric{ display:block; padding:18px; border:1px solid var(--line2); border-radius:10px;
  background:#fbfcfe; color:inherit; text-decoration:none; }
.admin-metric-label{ display:block; color:var(--navy); font-size:15px; line-height:1.5; font-weight:800; }
.admin-metric-number{ display:block; margin-top:8px; color:var(--navy); font-size:34px; line-height:1.1; font-weight:800; }
.admin-metric-note{ display:block; margin-top:7px; color:var(--sub); font-size:13px; line-height:1.5; }
.admin-dashboard-grid{ display:grid; grid-template-columns:minmax(0,1.35fr) minmax(320px,.9fr); gap:14px; align-items:start; }
.admin-dashboard-grid.single{ grid-template-columns:minmax(0,860px); }
.admin-home{ display:grid; gap:20px; }
.admin-home-section h2{ margin:0 0 12px; color:var(--ink); font-size:20px; line-height:1.45; }
.admin-file-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:14px; }
.admin-file-card{ display:grid; gap:14px; min-height:168px; padding:19px; border:1px solid var(--line2);
  border-radius:10px; background:#fff; color:inherit; text-decoration:none; box-shadow:0 8px 20px rgba(31,44,74,.04); }
.admin-file-card:hover,.admin-quick-card:hover{ border-color:#c8d7e6; box-shadow:0 10px 22px rgba(31,44,74,.07); }
.admin-file-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.admin-card-icon{ display:inline-flex; align-items:center; justify-content:center; width:56px; height:56px;
  border-radius:10px; background:#eef4fa; }
.admin-card-icon img{ width:34px; height:34px; filter:invert(20%) sepia(30%) saturate(1150%) hue-rotate(184deg) brightness(88%) contrast(91%); }
.admin-file-count{ color:var(--navy); font-size:30px; line-height:1.05; font-weight:800; }
.admin-file-card h3,.admin-quick-card h3{ margin:0; color:var(--ink); font-size:16px; line-height:1.45; }
.admin-file-card p,.admin-quick-card p{ margin:0; color:var(--sub); font-size:13px; line-height:1.55; }
.admin-quick-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; }
.admin-quick-card{ display:grid; justify-items:center; gap:11px; min-height:134px; padding:18px;
  border:1px solid var(--line2); border-radius:10px; background:#fff; color:inherit; text-align:center; text-decoration:none; }
.admin-quick-card .admin-card-icon{ width:66px; height:66px; border-radius:14px; background:#f7f4ee; }
.admin-quick-card .admin-card-icon img{ width:40px; height:40px; filter:invert(40%) sepia(25%) saturate(995%) hue-rotate(1deg) brightness(93%) contrast(87%); }
.admin-task-list{ display:grid; gap:10px; }
.admin-task-card{ display:grid; grid-template-columns:1fr auto; gap:10px 16px; align-items:center; border:1px solid var(--line2);
  border-radius:10px; padding:12px 14px; background:#fff; }
.admin-task-card strong{ display:block; color:var(--ink); font-size:15px; line-height:1.5; }
.admin-task-card span{ display:block; color:var(--sub); font-size:13px; line-height:1.5; }
.admin-task-card .task-count{ font-size:22px; color:var(--navy); font-weight:800; text-align:right; }
.admin-task-card.is-alert{ border-color:#e6cfa0; background:#fffaf1; }
.admin-section-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 12px; }
.admin-section-head h2{ margin:0; }
.admin-section-head .abtn{ flex:0 0 auto; }
.admin-detail-summary{ display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; }
.admin-summary-item{ border:1px solid var(--line2); border-radius:8px; padding:10px 12px; background:#fbfcfe; }
.admin-summary-item span{ display:block; color:var(--sub); font-size:13px; line-height:1.45; }
.admin-summary-item strong{ display:block; color:var(--ink); font-size:16px; line-height:1.5; margin-top:2px; }
.admin-tabs{ display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 0; border-top:1px solid var(--line2); padding-top:12px; }
.admin-tabs a{ display:inline-flex; align-items:center; min-height:34px; padding:6px 12px; border-radius:999px;
  background:#eef4fa; color:var(--navy); text-decoration:none; font-size:14px; font-weight:700; }
.admin-tabs a.on{ background:var(--navy); color:#fff; }
.admin-tabs.admin-tabs-switch{ margin:0 0 14px; border-top:0; padding-top:0; }
.admin-tab-panel[hidden]{ display:none; }
.admin-tab-panel{ margin-top:0; }
.admin-detail-layout{ display:grid; grid-template-columns:minmax(250px,.9fr) minmax(0,1.4fr); gap:14px; align-items:start; }
.admin-basic-layout{ display:grid; grid-template-columns:minmax(260px,360px) minmax(0,1fr); gap:20px; align-items:start; }
.admin-basic-photo{ width:100%; aspect-ratio:1; object-fit:cover; border:1px solid var(--line2);
  border-radius:10px; background:#f7f4ee; }
.admin-karte-gallery{ display:grid; gap:14px; justify-items:start; }
.admin-karte-main-photo{ width:min(100%,800px); aspect-ratio:1; object-fit:cover; border:1px solid var(--line2);
  border-radius:10px; background:#f7f4ee; }
.admin-thumb-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); gap:10px; width:min(100%,800px); }
.admin-thumb-grid img{ width:100%; aspect-ratio:1; object-fit:cover; border:1px solid var(--line2); border-radius:8px; background:#f7f4ee; }
@media (max-width:980px){
  .admin-dashboard-grid,.admin-detail-layout,.admin-basic-layout{ grid-template-columns:1fr; }
  .adm-top{ flex-wrap:wrap; }
  .adm-top-actions{ order:3; width:100%; margin-left:0; }
  .adm-top .who{ margin-left:0; }
}
@media (max-width:820px){
  .adm-side{ display:none; }
  .admin-form-grid{ grid-template-columns:1fr; }
  .admin-form-note{ grid-column:1; }
  .adm-body{ padding:16px; }
}

/* 目次(index) */
.toc-wrap{ max-width:820px; margin:0 auto; padding:24px 18px 60px; background:#fff; min-height:100vh; }
.toc-wrap h1{ font-size:22px; color:var(--navy); }
.toc-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; margin-top:14px; }
.toc-card{ display:block; background:#fff; border:1px solid var(--line); border-radius:10px;
  padding:13px 14px; text-decoration:none; color:var(--ink); }
.toc-card:hover{ border-color:var(--gold); box-shadow:0 2px 10px rgba(20,34,60,.08); }
.toc-card .id{ font-size:14px; color:var(--sub); }
.toc-card .nm{ font-weight:700; margin-top:2px; color:var(--navy); }
.toc-card .ds{ font-size:15px; color:var(--sub); margin-top:3px; }
.tag-line{ margin:4px 0 0; }

/* ===== 連携項目マッピング（各管理画面の下部に表示） ===== */
.mapbox{ margin-top:20px; border-top:2px solid var(--line); padding-top:6px; }
.mapbox > summary{ cursor:pointer; font-weight:700; color:var(--navy); font-size:15px;
  padding:12px 2px; min-height:34px; list-style:none; display:flex; align-items:center; gap:8px; }
.mapbox > summary::-webkit-details-marker{ display:none; }
.mapbox > summary::before{ content:"▶"; font-size:10px; color:var(--sub); transition:.15s; }
.mapbox[open] > summary::before{ transform:rotate(90deg); }
.mapbox .mp-desc{ font-size:14px; color:var(--sub); margin:2px 2px 10px; }
.mapbox table{ width:100%; }
.mapbox .apicode{ display:block; color:#6b7480; font-size:13px; font-weight:400; margin-top:2px;
  font-family:ui-monospace,Menlo,Consolas,monospace; letter-spacing:0; }
.mapbox td:nth-child(3){ line-height:1.3; }

/* ===== 最小画面幅320pxで横スクロールを発生させない（§4.2・§2.3 R-7） ===== */
@media (max-width:359px){
  .wrap{ padding-left:12px; padding-right:12px; }
  .btn{ padding:16px 10px; }
  .pricetag{ flex-direction:column; }
  .plan-radios{ flex-direction:column; align-items:flex-start; }
}
img,table,pre{ max-width:100%; }

/* ===== UI改修で追加したパーツ（方針書 §4・§6） ===== */

/* ステップ表示（§3 P-2：進捗は補助テキストにしない） */
.steplabel{ font-size:16px; font-weight:700; color:var(--navy); margin:4px 0 12px; }

/* 重要なお知らせ（§3 P-1：見出し＋期日＋主CTAを1つ） */
.alert{ background:#fdeaea; border:1px solid #e6b3b3; border-radius:10px; padding:14px; margin:14px 0; color:#8f2b29; }
.alert h2{ font-size:18px; margin:0 0 6px; color:#8f2b29; }
.alert p{ margin:.3em 0; }
.alert ul{ margin:.4em 0 0; padding-left:1.3em; }
.alert ul li{ margin:.3em 0; }
.alert .btn{ margin-top:12px; }

body.modal-open{ overflow:hidden; }
.modal-layer{ position:fixed; inset:0; z-index:90; display:flex; align-items:center;
  justify-content:center; padding:20px 16px; background:rgba(18,26,44,.48); }
.modal-layer[hidden]{ display:none; }
.modal-box{ position:relative; width:100%; max-width:380px; max-height:calc(100dvh - 40px);
  overflow:auto; background:#fff; border-radius:12px; padding:24px 18px 18px;
  box-shadow:0 18px 46px rgba(18,26,44,.24); }
.modal-box h2{ margin:0 42px 8px 0; font-size:21px; line-height:1.55; color:var(--navy); }
.modal-box p{ margin:0 0 14px; color:var(--ink); }
.modal-close{ position:absolute; top:8px; right:8px; width:48px; height:48px; border:none;
  border-radius:8px; background:#fff; color:var(--sub); font-size:28px; line-height:1; cursor:pointer; }
.modal-close:active{ background:#f2f4f8; }
.modal-sub-actions{ display:flex; flex-direction:column; align-items:center; gap:8px; margin-top:14px; }
.modal-sub-actions a, .text-btn{ display:inline-flex; align-items:center; justify-content:center;
  min-height:var(--tap); color:var(--navy); font-size:15px; font-weight:700; text-decoration:underline; }
.text-btn{ border:none; background:transparent; font-family:inherit; cursor:pointer; padding:0 8px; }

/* 一覧内の注意表示（§4.3：#a5322a はカード背景で6.4:1） */
.alert-inline{ color:#a5322a; font-weight:700; margin-top:4px; }

/* 破壊的操作（§6.2：白地＋枠線・赤系文字） */
.btn.danger-out{ background:#fff; color:#a5322a; border:1.5px solid #d29a98; }
.btn.danger-out:active{ background:#fdf3f3; }

/* サポート窓口の電話番号（お問い合わせ画面にのみ掲載。§2.3 R-1） */
.support{ background:#f2f4f8; border:1px solid #dbe1ec; border-radius:12px;
  padding:18px 14px; margin:10px 0 0; text-align:center; }
.support .l{ font-size:16px; font-weight:700; color:var(--navy); }
.support .tel{ display:inline-block; margin:6px 0 4px; min-height:var(--tap);
  font-size:30px; font-weight:800; letter-spacing:.04em; color:var(--navy); text-decoration:none; }
.support .small{ color:var(--sub); }
.guest-support-box{ margin-bottom:18px; }
.guest-contact-form{ margin-top:16px; }
.migrate-wait-page .appbar{ justify-content:center; min-height:70px; padding-top:14px; padding-bottom:14px; }
.migrate-wait-page .appbar .brandmark{ align-items:center; color:#fff; text-align:center; }
.migrate-wait-page .appbar .sp{ display:none; }
.migrate-wait-wrap{ padding-top:30px; padding-bottom:38px; }
.migrate-wait-hero{ margin:0 0 20px; padding:0 4px; text-align:center; }
.migrate-wait-kicker{ margin:0 0 9px; color:var(--gold); font-size:15px; line-height:1.5; font-weight:800; }
.migrate-wait-hero h1{ text-align:center; font-size:22px; line-height:1.7; }
.migrate-wait-hero h1 span{ display:block; }
.migrate-wait-visual{ overflow:hidden; margin:0 0 24px; border-radius:18px; border:1px solid var(--line);
  background:#eef3f5; box-shadow:0 12px 26px rgba(34,48,82,.12); }
.migrate-wait-visual img{ display:block; width:100%; aspect-ratio:16/10; object-fit:cover; object-position:center; }
.migrate-wait-overview{ margin:0 0 24px; padding:0 3px; }
.migrate-wait-overview p{ margin:10px 0 0; }
.migrate-wait-overview p:first-child{ margin-top:0; }
.migrate-wait-panel{ border-top:3px solid var(--gold); border-bottom:1px solid var(--line);
  padding:20px 2px 19px; margin:0 0 20px; }
.migrate-wait-panel p{ margin:12px 0 0; }
.migrate-wait-panel p:first-child{ margin-top:0; }
.migrate-wait-date{ display:grid; grid-template-columns:1fr; gap:3px; color:var(--navy);
  font-size:23px; line-height:1.45; font-weight:800; text-align:center; }
.migrate-wait-date span{ color:var(--sub); font-size:15px; line-height:1.45; font-weight:700; }
.migrate-wait-support{ margin-top:0; }
.migrate-wait-support-note{ margin:10px 0 0; color:var(--sub); font-size:15px; line-height:1.7; }
.migrate-design-page{ background:#e9ebef;
  font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; }
.migrate-design-page .phone{ max-width:420px; margin:0 auto; min-height:100vh;
  background:#fff; box-shadow:0 0 26px rgba(20,34,60,.14); }
.migrate-design-page .appbar{ justify-content:center; min-height:74px; padding:15px 16px 13px;
  background:var(--navy); border-bottom:none; color:#fff; }
.migrate-design-page .appbar .brandmark{ align-items:center; color:#fff; text-align:center; }
.migrate-design-page .brand-copy{ color:inherit; }
.migrate-design-page .appbar .sp{ display:none; }
.migrate-design-page .appfooter{ padding-top:28px; background:#f4f0e6; border-top:none; }
.migrate-design-page .appfooter .brandmark{ color:#223752; font-size:17px; }
.migrate-design-page .appfooter .brand-copy{ color:#223752; font-size:14px; }
.migrate-design-page .appfooter .brand-main{ font-size:17px; letter-spacing:.08em; }
.migrate-design-page .ft-links{ display:none; }
.migrate-design-page .ft-copy{ margin-top:12px; color:#55606e; font-size:14px; }
.migrate-design-wrap{ padding:0 0 0; background:#fff; }
.migrate-design-hero{ position:relative; overflow:hidden; min-height:440px; margin:0;
  display:flex; align-items:center; justify-content:center; padding:60px 18px; background:#223752; text-align:center; }
.migrate-design-hero::after{ content:""; position:absolute; inset:0; background:rgba(34,55,82,.68); }
.migrate-design-hero img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:58% center; }
.migrate-design-hero-copy{ position:relative; z-index:1; color:#fff; }
.migrate-design-release{ margin:0 0 24px; color:#fff;
  font-size:22px; line-height:1.55; font-weight:800; letter-spacing:.08em; }
.migrate-design-hero h1{ margin:0; color:#fff; font-size:20px; line-height:1.95; font-weight:800; letter-spacing:0; text-align:center; }
.migrate-design-hero h1 span{ display:block; }
.migrate-design-hero-main{ font-size:22px; white-space:nowrap; }
.migrate-design-overview{ padding:58px 22px 52px; background:#fff; text-align:center; }
.migrate-design-overview p{ margin:0 auto; max-width:360px; color:#17181d;
  font-size:16px; line-height:2; font-weight:550; letter-spacing:.025em; }
.migrate-design-overview p + p{ margin-top:26px; }
.migrate-design-point{ color:var(--gold); font-size:20px; font-weight:800; }
.migrate-design-date-point{ color:var(--gold); font-weight:800; }
.migrate-design-panel{ padding:53px 18px 61px; background:#fbf7ec; text-align:center; }
.migrate-design-panel h2,.migrate-design-support h2{ position:relative; margin:0 auto 28px; padding:0 0 15px; max-width:350px;
  border:0; background:transparent; color:#223752;
  font-size:22px; line-height:1.55; font-weight:900; text-align:center; }
.migrate-design-panel h2::after,.migrate-design-support h2::after{ content:""; position:absolute; left:50%; bottom:0;
  width:82px; height:3px; transform:translateX(-50%); border-radius:999px; background:#c09256; }
.migrate-design-panel h2 span,.migrate-design-support h2 span{ display:block; }
.migrate-design-panel p{ margin:0 auto; max-width:370px; color:#17181d; font-size:16px; line-height:2; font-weight:550; letter-spacing:.025em; }
.migrate-design-panel p + p{ margin-top:24px; }
.migrate-design-inline-date{ color:#8c6931; font-size:18px; font-weight:800; }
.migrate-design-inline-date-main{ font-size:20px; }
.migrate-design-panel .migrate-design-procedure-box{ max-width:326px; padding:18px 16px 17px;
  border:1px solid #d7bd8a; border-radius:18px; background:#fffdf9;
  box-shadow:0 8px 18px rgba(34,55,82,.055); text-align:center; box-sizing:border-box; }
.migrate-design-card{ margin:32px auto 0; max-width:324px; padding:31px 16px 30px; border-radius:24px; background:#fff;
  border:1px solid #efe4d0; box-shadow:0 6px 16px rgba(34,55,82,.045); }
.migrate-design-card .migrate-design-card-label{ display:inline-flex; align-items:center; justify-content:center; gap:10px;
  margin:0; padding-bottom:10px; color:#17181d; border-bottom:1px solid #d7c5a4;
  font-size:18px; line-height:1.45; font-weight:800; letter-spacing:.04em; }
.migrate-design-card .migrate-design-card-label::before,.migrate-design-card .migrate-design-card-label::after{ content:"";
  width:18px; height:1px; background:#c09256; }
.migrate-design-card .migrate-design-card-date{ display:grid; gap:4px; margin:14px 0 18px; color:#223752; font-size:26px; line-height:1.45; font-weight:800; }
.migrate-design-card .migrate-design-card-date span{ color:var(--gold); font-size:27px; }
.migrate-design-card .migrate-design-card-date small{ color:#17181d; font-size:20px; line-height:1.45; font-weight:800; }
.migrate-design-cta{ position:relative; display:flex; align-items:center; justify-content:center; min-height:56px; width:100%;
  padding:14px 48px 14px 24px; background:#ddd7cd; color:#5c5852; border:1px solid #e7e1d8; border-radius:999px;
  font-size:17px; line-height:1.45; font-weight:700; text-decoration:none; cursor:not-allowed; opacity:1; }
.migrate-design-cta img{ position:absolute; right:20px; width:18px; height:18px; opacity:.68;
  filter:brightness(0) saturate(100%) invert(33%) sepia(8%) saturate(515%) hue-rotate(353deg) brightness(95%) contrast(86%); }
.migrate-design-support{ margin:0; padding:63px 18px 59px; border:none; border-radius:0; background:#fff; text-align:center; }
.migrate-design-support .l{ display:inline-flex; align-items:center; justify-content:center; gap:8px;
  margin-top:4px; padding:0 18px; color:var(--gold); font-size:16px; line-height:1.6; font-weight:800; background:#fff; }
.migrate-design-contact-lead{ max-width:350px; margin:0 auto 22px; color:#17181d; font-size:16px; line-height:1.9; font-weight:550; letter-spacing:.025em; }
.migrate-design-contact-owner{ margin:16px auto 0; max-width:350px; color:#55606e; font-size:15px; line-height:1.6; font-weight:400; }
.migrate-design-contact-card{ max-width:350px; margin:0 auto; padding:27px 20px 26px;
  border:1px solid #ead9bd; border-radius:22px; background:linear-gradient(180deg,#fffdf9 0%,#fbf7ec 100%);
  box-shadow:0 10px 24px rgba(34,55,82,.07); text-align:center; }
.migrate-design-contact-main{ display:grid; justify-items:center; gap:10px; padding-bottom:12px; }
.migrate-design-contact-sub{ display:grid; justify-items:center; gap:10px; margin-top:4px; padding:22px 0 0; border-top:1px solid rgba(192,146,86,.28); }
.migrate-design-contact-icon{ display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px;
  border-radius:50%; background:#223752; box-shadow:0 5px 14px rgba(34,55,82,.12); }
.migrate-design-contact-icon.sub{ width:40px; height:40px; background:#8c6931; }
.migrate-design-contact-icon img{ width:25px; height:25px; filter:brightness(0) invert(1); }
.migrate-design-contact-icon.sub img{ width:22px; height:22px; }
.migrate-design-contact-caption{ display:block; color:#8c6931; font-size:15px; line-height:1.5; font-weight:800; letter-spacing:.04em; }
.migrate-design-phone{ display:block; margin-top:4px; margin-bottom:-2px; color:#223752; font-size:27px; line-height:1.25; font-weight:900; letter-spacing:.04em; text-decoration:none; }
.migrate-design-contact-hours{ display:inline-flex; align-items:center; justify-content:center; min-height:34px; margin:-2px 0 0; padding:5px 12px;
  border-radius:999px; background:#fff; color:#55606e; font-size:15px; line-height:1.5; font-weight:400; }
.migrate-design-form-button{ position:relative; display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-width:250px; min-height:50px; margin-top:8px; padding:10px 46px 10px 22px; border-radius:999px;
  background:#223752; color:#fff; font-size:16px; line-height:1.45; font-weight:800; text-decoration:none;
  box-shadow:0 7px 16px rgba(34,55,82,.12); }
.migrate-design-form-button img{ position:absolute; right:17px; width:18px; height:18px; filter:brightness(0) invert(1); }
.migrate-design-support .small{ color:#55606e; font-size:14px; line-height:1.7; font-weight:400; }
.migrate-design-support-note{ max-width:350px; margin:28px auto 0; color:#17181d; font-size:15px; line-height:1.9; font-weight:500; letter-spacing:.025em; }
@media (min-width:760px){
  .migrate-design-page .phone{ max-width:420px; }
}
@media (max-width:359px){
  .migrate-design-hero{ padding-left:10px; padding-right:10px; }
  .migrate-design-hero h1{ font-size:18px; }
  .migrate-design-hero-main{ font-size:20px; }
  .migrate-design-overview{ padding-left:16px; padding-right:16px; }
  .migrate-design-point{ font-size:19px; }
}
.migrate-reading-page{ background:#eee7d8; }
.migrate-reading-page .phone{ max-width:420px; margin:0 auto; background:#fffdf8; box-shadow:0 0 24px rgba(23,24,29,.12); }
.migrate-reading-page .appbar{ justify-content:center; min-height:74px; padding-top:15px; padding-bottom:13px;
  background:#223752; border-bottom:none; color:#fff; }
.migrate-reading-page .appbar .brandmark{ align-items:center; color:#fff; text-align:center; }
.migrate-reading-page .appbar .sp{ display:none; }
.migrate-reading-wrap{ position:relative; padding:40px 22px 46px; background:#fffdf8; color:#17181d; }
.migrate-reading-wrap::before{ content:""; position:absolute; top:0; left:22px; right:22px; height:10px; background:#dfd1b5; }
.migrate-reading-hero{ margin:0 0 24px; padding:0 2px; text-align:center; }
.migrate-reading-kicker{ margin:0 0 13px; color:#8c6931; font-family:Georgia,"Times New Roman",serif;
  font-size:15px; line-height:1.5; letter-spacing:.08em; font-style:italic; }
.migrate-reading-hero h1{ margin:0; color:#223752; text-align:center; font-size:23px; line-height:1.72; font-weight:800; letter-spacing:0; }
.migrate-reading-hero h1 span{ display:block; }
.migrate-reading-visual{ overflow:hidden; margin:0 0 28px; border-radius:18px; border:1px solid #dfd1b5;
  background:#f5f1e8; box-shadow:0 10px 22px rgba(34,55,82,.10); }
.migrate-reading-visual img{ display:block; width:100%; aspect-ratio:16/10; object-fit:cover; object-position:center; }
.migrate-reading-overview{ margin:0 0 28px; padding:0 2px; }
.migrate-reading-overview p{ margin:12px 0 0; color:#17181d; font-size:16px; line-height:1.9; font-weight:550; letter-spacing:.02em; }
.migrate-reading-overview p:first-child{ margin-top:0; }
.migrate-reading-panel{ margin:0 0 24px; padding:25px 18px 24px; background:#f8f4ea; border-top:4px solid #c09256;
  border-bottom:1px solid #dfd1b5; text-align:center; }
.migrate-reading-panel h2{ position:relative; margin:0 0 20px; padding-bottom:12px; color:#223752;
  font-size:20px; line-height:1.55; font-weight:800; text-align:center; }
.migrate-reading-panel h2::after{ content:""; position:absolute; left:50%; bottom:0; width:72px; height:2px;
  transform:translateX(-50%); background:#c09256; }
.migrate-reading-panel p{ margin:14px 0 0; color:#17181d; font-size:16px; line-height:1.9; font-weight:550; letter-spacing:.02em; }
.migrate-reading-panel p:first-of-type{ margin-top:0; }
.migrate-reading-date{ display:grid; grid-template-columns:1fr; gap:4px; color:#223752;
  font-size:24px; line-height:1.45; font-weight:800; text-align:center; }
.migrate-reading-date span{ color:#55606e; font-size:15px; line-height:1.45; font-weight:700; }
.migrate-reading-support{ margin-top:0; }
.migrate-reading-support .l{ color:#8c6931; }
.migrate-reading-support-note{ margin:10px 0 0; color:#55606e; font-size:15px; line-height:1.7; }
.form-error{ margin:10px 0 0; color:var(--danger); font-size:15px; line-height:1.7; font-weight:700; }
.contact-summary .kv{ align-items:flex-start; }
.contact-summary .kv span:last-child{ max-width:100%; overflow-wrap:anywhere; }
.complete-title{ margin:.2em 0 8px; color:var(--navy); font-size:22px; line-height:1.5; font-weight:800; }

/* パスワードの表示切替（§2.2：呉服店店頭で本人端末を一緒に見る前提） */
.pw-toggle{ display:inline-flex; align-items:center; min-height:var(--tap); margin-top:4px;
  padding:0 4px; background:none; border:none; color:var(--navy);
  font-size:15px; font-weight:700; text-decoration:underline; cursor:pointer; }
.signup-secondary-link{ margin-top:16px; }
.signup-mail-help{ text-align:left; }

/* 生年月日（年・月・日の分割選択。§4.4） */
.birth{ display:flex; gap:8px; }
.birth select{ flex:1; min-width:0; }

/* コード入力（呉服店コード等） */
input.code{ letter-spacing:.12em; font-size:19px; }

/* 呉服店へ伝える番号（§5.3：伝票と読み合わせるため大きく出す） */
.idbox{ background:var(--card); border:2px solid var(--navy); border-radius:12px;
  padding:16px; margin:14px 0; text-align:center; }
.idbox .l{ font-size:15px; color:var(--sub); font-weight:700; }
.idbox .v{ font-size:28px; font-weight:800; color:var(--navy); letter-spacing:.06em; margin-top:6px; }
.idbox-meta{ margin:12px 0 0; padding-top:12px; border-top:1px dashed var(--line);
  display:grid; gap:6px; text-align:left; }
.idbox-meta > div{ display:grid; grid-template-columns:96px minmax(0,1fr); gap:10px; align-items:baseline; }
.idbox-meta dt{ font-size:14px; color:var(--sub); font-weight:700; }
.idbox-meta dd{ margin:0; font-size:16px; color:var(--ink); font-weight:700; }

/* オン・オフの行（ラベル全体をタップ領域に含める。§4.2） */
.switchline{ display:flex; align-items:center; justify-content:space-between; gap:12px;
  min-height:var(--tap); padding:10px 0; border-bottom:1px dashed var(--line);
  font-size:16px; cursor:pointer; }
.switchline:last-child{ border-bottom:none; }
.switchline input{ width:26px; height:26px; min-height:0; flex:0 0 auto; accent-color:var(--navy); }

/* 注意書きの箇条書き */
.note ul{ margin:.4em 0 0; padding-left:1.3em; }
.note ul li{ margin:.3em 0; }

/* ===== 入力欄の「任意」表示 ===== */
.opt{ display:inline-block; margin-left:6px; padding:1px 8px; border-radius:999px;
  background:#eef1f5; color:var(--sub); font-size:14px; line-height:1.5; font-weight:700; }

/* ===== お預かり一覧：一覧から引き出し・お預かりの終了へ進む ===== */
.items-lead{ margin:8px 0 0; color:var(--sub); font-size:15px; line-height:1.7; }
.items-empty{ margin:14px 0; padding:18px 14px; border:1px dashed var(--line); border-radius:10px;
  color:var(--sub); font-size:15px; text-align:center; }
.item-card-link{ display:block; color:inherit; text-decoration:none; }
.item-card-link:active{ background:#eef1f5; }
.pick-card:has(.pick-input:checked){ border-color:var(--navy); box-shadow:0 0 0 2px rgba(34,48,82,.16); }
.pick-row{ display:flex; align-items:center; gap:10px; min-height:var(--tap); padding:8px 14px;
  border-top:1px solid var(--line); background:#fff; color:var(--navy);
  font-size:15px; line-height:1.5; font-weight:700; cursor:pointer; }
.pick-row .pick-input{ width:24px; height:24px; min-height:0; flex:0 0 auto; padding:0; accent-color:var(--navy); }
.pick-bar{ position:sticky; bottom:0; z-index:20; margin:18px -16px 0; padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.97); border-top:1px solid var(--line); box-shadow:0 -8px 22px rgba(20,34,60,.10); }
.pick-bar-status{ margin:0 0 8px; color:var(--sub); font-size:15px; line-height:1.5; font-weight:700; text-align:center; }
.pick-bar.is-active .pick-bar-status{ color:var(--navy); }
.pick-bar-actions{ display:grid; grid-template-columns:1fr; gap:8px; }
.pick-bar-actions .btn{ margin:0; font-family:inherit; }
.pick-bar-actions .btn:disabled{ opacity:1; background:#eef1f5; color:#6b7480; border-color:var(--line); cursor:not-allowed; }
.shipping-confirm-list{ display:grid; grid-template-columns:1fr; gap:12px; }
.shipping-confirm-list .card{ margin:0; }
@media (min-width:720px){
  .pick-bar-actions{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* ===== お預かり内容：写真のサムネイルスライドと拡大表示 ===== */
body.app .detail-hero-card.detail-hero-thumbs{ display:block; }
.detail-hero-thumbs .detail-hero-body{ padding:15px 14px 4px; }
.thumb-slider{ display:flex; align-items:center; gap:6px; padding:10px 8px 0; }
.thumb-track{ display:flex; gap:10px; flex:1; min-width:0; overflow-x:auto; padding:4px 6px 8px;
  scroll-snap-type:x mandatory; scrollbar-width:thin; -webkit-overflow-scrolling:touch; }
.thumb-item{ flex:0 0 auto; width:104px; height:104px; padding:0; overflow:hidden; cursor:zoom-in;
  border:1px solid var(--line); border-radius:8px; background:#f1f3f6; scroll-snap-align:start; }
.thumb-item img{ display:block; width:100%; height:100%; object-fit:cover; }
.thumb-nav{ flex:0 0 auto; width:40px; height:48px; padding:0; border:1px solid var(--line); border-radius:8px;
  background:#fff; color:var(--navy); font-size:24px; line-height:1; font-family:inherit; cursor:pointer; }
.thumb-nav:disabled{ color:#b3bac6; cursor:default; }
.thumb-nav[hidden]{ display:none; }
.thumb-caption{ margin:0; padding:0 14px 14px; color:var(--sub); font-size:14px; line-height:1.6; }
.photo-modal{ padding:12px; background:rgba(18,26,44,.82); }
.photo-modal-box{ position:relative; width:100%; max-width:720px; padding:56px 12px 14px;
  background:#fff; border-radius:12px; box-shadow:0 18px 46px rgba(18,26,44,.3); }
.photo-modal-stage{ display:flex; align-items:center; gap:6px; }
.photo-modal-img{ display:block; flex:1; min-width:0; width:100%; max-height:calc(100dvh - 190px);
  object-fit:contain; background:#f1f3f6; border-radius:8px; }
.photo-modal-nav{ flex:0 0 auto; width:44px; height:64px; padding:0; border:1px solid var(--line); border-radius:8px;
  background:#fff; color:var(--navy); font-size:28px; line-height:1; font-family:inherit; cursor:pointer; }
.photo-modal-nav[hidden]{ display:none; }
.photo-modal-count{ margin:10px 0 0; color:var(--sub); font-size:15px; font-weight:700; text-align:center; }

/* ===== メールアドレスの確認（引き継ぎ・変更） ===== */
.mail-fixed{ display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;
  padding:12px; border:1px solid var(--line); border-radius:9px; background:#fff; }
.mail-fixed-value{ font-weight:700; overflow-wrap:anywhere; }
.mail-fixed a{ font-size:15px; font-weight:700; }

/* ===== パスワードの表示切替（目のアイコン） ===== */
.password-input-wrap{ position:relative; width:100%; }
.password-input-wrap input{ padding-right:56px; }
.pw-toggle-icon{ position:absolute; top:50%; right:4px; transform:translateY(-50%);
  display:grid; place-items:center; width:48px; height:48px; min-height:48px; padding:0;
  border:0; border-radius:999px; background:transparent; cursor:pointer; }
.pw-toggle-icon:focus-visible{ outline:3px solid #1a56b0; outline-offset:-4px; }
.pw-toggle-icon img{ display:block; width:24px; height:24px; }

/* ===== 未ログインの手続き画面：公開サイトに揃えた全幅レイアウト =====
   対象外：公開サイトTOP・引き継ぎの入口（data-guest-top）／引き継ぎ準備中の告知／外部決済の仮画面 */
body.guest:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body){ background:#fff; }
body.guest:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body) .phone{
  width:100%; max-width:none; margin:0; min-height:100vh; border-radius:0; box-shadow:none; background:#fff; }
body.guest:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body) .phone .appbar{
  min-height:68px; border-radius:0; padding:13px 20px; }
body.guest:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body) .phone .wrap{
  width:100%; max-width:660px; margin:0 auto; padding:32px 18px 48px; }
body.guest:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body) .page-hero{ margin:0 auto 24px; text-align:center; }
body.guest:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body) .page-hero h1{ font-size:25px; line-height:1.45; }
body.guest:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body) .login-panel{
  max-width:520px; margin:0 auto; padding:28px 24px 24px; border:1px solid var(--line);
  border-radius:8px; background:#fff; box-shadow:0 4px 16px rgba(20,34,60,.06); }
body.guest:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body) .wrap > .btn{
  max-width:420px; margin-left:auto; margin-right:auto; }
@media (min-width:1024px){
  body.guest:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body) .phone .appbar{ padding-left:32px; padding-right:32px; }
  body.guest:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body) .phone .wrap{ padding:44px 18px 64px; }
  body.guest:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body) .page-hero h1{ font-size:30px; }
}

/* 管理画面の一覧：状態ラベルと操作ボタンを折り返さない */
body.admin .tbl .badge{ white-space:nowrap; }
body.admin .tbl .admin-row-actions{ flex-wrap:wrap; }
body.admin .tbl .admin-row-actions .abtn{ white-space:nowrap; }
body.admin .tbl .admin-row-actions-stack{ flex-direction:column; align-items:stretch; min-width:0; }
body.admin .tbl .admin-row-actions-stack .abtn{ text-align:center; }

/* カルテ画像：サムネイル右上の削除ボタン */
.admin-thumb-grid .admin-thumb{ position:relative; }
.admin-thumb-grid .admin-thumb img{ display:block; }
.admin-thumb-remove{ position:absolute; top:6px; right:6px; display:grid; place-items:center; width:32px; height:32px; padding:0;
  border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.96); color:var(--danger);
  font-size:20px; line-height:1; font-family:inherit; cursor:pointer; box-shadow:0 2px 6px rgba(20,34,60,.18); }
.admin-thumb-remove:hover{ background:#fdf3f3; border-color:#d29a98; }
.admin-confirm-box{ max-width:420px; }
.admin-confirm-box img{ display:block; width:140px; height:140px; margin:0 auto 14px; object-fit:cover;
  border:1px solid var(--line2); border-radius:8px; background:#f7f4ee; }
.admin-confirm-actions{ display:flex; gap:10px; justify-content:flex-end; margin-top:6px; }
.abtn.danger{ background:var(--danger); border-color:var(--danger); color:#fff; }


/* ===== お預かり一覧のカード ===== */
.item-card-top{ display:flex; align-items:center; gap:10px; }
.item-state{ display:inline-block; padding:3px 10px; border-radius:3px; background:var(--navy);
  color:#fff; font-size:13px; font-weight:700; line-height:1.6; white-space:nowrap; }
.item-code{ font-size:14px; font-weight:700; color:var(--sub); letter-spacing:.02em; }
.item-card-title{ margin-top:8px; font-size:17px; font-weight:800; line-height:1.6; color:var(--ink);
  text-decoration:underline; text-underline-offset:3px; }
.item-feature{ margin-top:6px; font-size:15px; line-height:1.6; color:var(--sub);
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.item-store-period{ margin-top:8px; padding-top:8px; border-top:1px solid var(--line2);
  font-size:15px; line-height:1.6; color:var(--sub); }
.item-store-period .lbl{ display:block; }
.item-store-period .val{ display:block; white-space:nowrap; }
.apply-month-row{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.apply-card-actions{ display:flex; gap:8px; flex-wrap:wrap; }
.apply-card-actions .btn{ width:auto; min-height:38px; padding:0 14px; font-size:14px; margin:0; }


/* ===== お預かり一覧：サムネイル右上の丸いチェック ===== */
.pick-card{ position:relative; }
.pick-card.is-picked{ border-color:var(--navy); box-shadow:0 0 0 1px var(--navy) inset; }
.pick-mark{ position:absolute; top:12px; right:12px; z-index:2; width:40px; height:40px;
  display:flex; align-items:center; justify-content:center; cursor:pointer; }
.pick-mark .pick-input{ position:absolute; opacity:0; width:100%; height:100%; margin:0; cursor:pointer; }
.pick-mark-box{ width:34px; height:34px; border-radius:50%; background:#fff;
  border:2px solid var(--navy); box-shadow:0 1px 4px rgba(20,40,60,.22);
  display:flex; align-items:center; justify-content:center; transition:background .12s ease; }
.pick-mark-box::after{ content:""; width:16px; height:9px; margin-top:-3px;
  border-left:3px solid #fff; border-bottom:3px solid #fff; transform:rotate(-45deg); opacity:0; }
.pick-mark .pick-input:checked + .pick-mark-box{ background:var(--navy); }
.pick-mark .pick-input:checked + .pick-mark-box::after{ opacity:1; }
.pick-mark .pick-input:focus-visible + .pick-mark-box{ outline:3px solid #8fb6dd; outline-offset:2px; }
.sr-only{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* 下部の追従バー：3つの手続きを並べる */
.pick-bar-actions{ display:grid; gap:8px; }
@media (min-width:768px){
  .pick-bar-actions{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
  .pick-bar-actions .btn{ min-height:54px; font-size:16px; }
}

/* 一覧の操作列：ボタンの数が行によって違っても、右端が揃うようにする */
.tbl td .admin-row-actions{ display:flex; gap:8px; align-items:center; justify-content:flex-end; }
.tbl td:last-child{ text-align:right; white-space:nowrap; }

/* 引き継ぎ手続き：冒頭の説明文（枠なし・中央揃え） */
.migrate-intro{ margin:14px auto 4px; max-width:620px; color:var(--ink); font-size:16px; line-height:1.8; text-align:center; }
.migrate-intro .ib, .page-hero .ib, .center .ib{ display:inline-block; }

/* 引き継ぎ手続き：H2見出し（中央） */
.migrate-section-heading{ margin:30px 0 6px; color:var(--navy); font-size:20px; line-height:1.5; font-weight:800; text-align:center; }
/* 編集できない項目 */
input.field-readonly{ background:#eef1f5; color:var(--sub); border-color:var(--line); cursor:default; }
input.field-readonly:focus{ outline:none; background:#eef1f5; }
/* 郵便番号の自動入力メッセージ */
.postcode-msg{ margin:5px 0 0; color:var(--danger); font-size:15px; font-weight:700; }
/* メールが届かないとき（全文表示） */
.mail-help-title{ margin:0 0 6px; color:var(--navy); font-size:17px; line-height:1.5; font-weight:800; }
/* 確認テーブル：値が長くても項目名を折り返さない */
.kv .k{ flex:0 0 auto; white-space:nowrap; }
.kv span:last-child{ min-width:0; overflow-wrap:anywhere; }
/* ===== 引き継ぎ手続き（body.migrate-flow）：余白を広げる・進捗見出しは左揃え ===== */
body.migrate-flow .phone .wrap{ padding-bottom:64px; }
body.migrate-flow .page-hero{ margin-bottom:28px; }
body.migrate-flow .steps{ margin-bottom:8px; }
body.migrate-flow .steplabel{ margin:0 0 24px; text-align:left; }
body.migrate-flow .migrate-intro{ margin:0 auto 28px; }
body.migrate-flow label.f{ margin-top:26px; margin-bottom:8px; }
body.migrate-flow .hint{ margin-top:8px; }
body.migrate-flow .btn{ margin-top:32px; }
body.migrate-flow .btn + .btn{ margin-top:16px; }
body.migrate-flow .card, body.migrate-flow .note, body.migrate-flow .alert{ margin-top:20px; margin-bottom:20px; }
body.migrate-flow .migrate-section-heading{ margin:44px 0 12px; }
body.migrate-flow .checkline{ margin-top:20px; }
body.migrate-flow .done-ic{ margin:8px auto 16px; }
body.migrate-flow .center.signup-secondary-link, body.migrate-flow .migrate-link-line{ margin-top:14px; }

/* 入力エラー（赤系の背景＋！アイコン） */
.field-error{ display:flex; align-items:flex-start; gap:8px; margin:8px 0 0; padding:10px 12px;
  border:1px solid #e3a9a9; border-radius:8px; background:#fdeeee; color:#9b2626;
  font-size:15px; line-height:1.6; font-weight:700; text-align:left; }
.field-error[hidden]{ display:none; }
.field-error::before{ content:"!"; flex:0 0 22px; display:grid; place-items:center; width:22px; height:22px;
  margin-top:1px; border-radius:999px; background:#b23b3b; color:#fff; font-size:14px; line-height:1; font-weight:800; }
input.is-invalid, select.is-invalid, textarea.is-invalid{ border-color:#b23b3b; background:#fff7f7; }

/* 郵便番号：3桁＋4桁の2欄 */
.postcode-split{ display:flex; align-items:center; gap:8px; }
.postcode-split input{ flex:0 0 auto; text-align:center; letter-spacing:.08em; }
.postcode-split [data-postcode-first]{ width:5.5em; }
.postcode-split [data-postcode-last]{ width:7em; }
.postcode-hyphen{ color:var(--sub); font-size:18px; font-weight:700; }

/* 編集できない項目：入力欄の枠なしで値だけ表示 */
.field-static{ margin:2px 0 0; padding:2px 0; color:var(--ink); font-size:17px; line-height:1.6; font-weight:600; overflow-wrap:anywhere; }

/* 登録内容の確認：スマホでは項目名と内容を縦に並べる */
@media (max-width:719px){
  .confirm-list .kv{ display:block; }
  .confirm-list .kv .k{ display:block; font-size:14px; line-height:1.5; }
  .confirm-list .kv span:last-child{ display:block; margin-top:2px; text-align:left; }
}

/* 利用規約の表示領域 */
.terms-box{ height:240px; overflow:auto; font-size:15px; line-height:1.8; }
.terms-box p{ margin:0 0 10px; }
@media (min-width:720px){ .terms-box{ height:300px; } }

/* メールが届かないとき：本文より小さく */
body.migrate-flow .signup-mail-help, body.migrate-flow .signup-mail-help p{ font-size:15px; line-height:1.75; }
body.migrate-flow .signup-mail-help .mail-help-title{ font-size:16px; }

/* 引き継ぎ完了：この後の流れ・よくある質問 */
.migrate-next-steps{ margin:0; padding:0; list-style:none; text-align:left; }
.migrate-next-steps li{ position:relative; padding:0 0 18px 28px; border-left:2px solid #e6d6b8; margin-left:9px; }
.migrate-next-steps li:last-child{ padding-bottom:0; border-left-color:transparent; }
.migrate-next-steps li::before{ content:""; position:absolute; left:-9px; top:4px; width:16px; height:16px; border-radius:999px; background:var(--gold); }
.migrate-next-steps .when{ display:block; color:var(--navy); font-size:17px; line-height:1.5; font-weight:800; }
.migrate-next-steps .what{ display:block; margin-top:4px; font-size:16px; line-height:1.8; }
.migrate-faq{ margin:0; text-align:left; }
.migrate-faq dt{ margin:18px 0 0; color:var(--navy); font-size:16px; line-height:1.6; font-weight:800; }
.migrate-faq dt:first-child{ margin-top:0; }
.migrate-faq dt::before{ content:"Q. "; color:var(--gold); }
.migrate-faq dd{ margin:6px 0 0; padding-bottom:16px; border-bottom:1px solid var(--line2); font-size:16px; line-height:1.8; }
.migrate-faq dd:last-child{ border-bottom:none; padding-bottom:0; }
.migrate-faq dd::before{ content:"A. "; color:var(--sub); font-weight:800; }
.migrate-contact{ text-align:center; }
.migrate-contact .btn{ margin-top:16px; }
/* メールアドレスのご登録：新規登録・変更の見出しと、入力欄の組 */
body.migrate-flow .migrate-subheading{ margin:36px 0 4px; padding-top:24px; border-top:1px solid var(--line); color:var(--navy); font-size:18px; line-height:1.5; font-weight:800; text-align:left; }
body.migrate-flow .migrate-subheading + .hint{ margin-top:4px; }
body.migrate-flow label.f.f-tight{ margin-top:14px; }
body.migrate-flow .migrate-nomail-link{ margin:10px 0 0; font-size:14px; line-height:1.6; text-align:right; }
/* メールアドレスのご登録：登録済みアドレスは枠で囲む／新規登録・変更の見出しは罫線なし・中央 */
.field-boxed{ margin:0; padding:13px 14px; border:1px solid var(--line); border-radius:9px; background:var(--card);
  color:var(--ink); font-size:17px; line-height:1.6; font-weight:700; overflow-wrap:anywhere; }
body.migrate-flow .migrate-subheading{ border-top:none; padding-top:0; margin-top:40px; text-align:center; }
body.migrate-flow .migrate-subheading + .hint{ text-align:center; }

/* 引き継ぎ手続きの「戻る」ボタン：主ボタンと同じ大きさにそろえる */
body.migrate-flow .backbtn{ max-width:420px; min-height:var(--tap-cta); margin:16px auto 0; padding:16px; font-size:17px; }

/* 確認メールの送信：「メールが届かないとき」の見出しは枠に対して中央 */
body.migrate-flow .signup-mail-help .mail-help-title{ text-align:center; }

/* 引き継ぎ完了：この後の流れ（枠付きの要素を縦に並べる） */
.migrate-step-list{ display:grid; gap:12px; text-align:left; }
.migrate-step-box{ padding:14px 16px; border:1px solid var(--line); border-radius:10px; background:#fff; }
.migrate-step-box .when{ margin:0; color:var(--navy); font-size:17px; line-height:1.5; font-weight:800; }
.migrate-step-box .what{ margin:4px 0 0; font-size:16px; line-height:1.8; }

/* 引き継ぎ完了：よくある質問の「Q」をベタ塗り・白抜きの四角にする */
.migrate-faq dt{ display:flex; align-items:flex-start; gap:10px; }
.migrate-faq dt::before{ content:"Q"; flex:0 0 26px; display:grid; place-items:center; width:26px; height:26px; margin-top:1px;
  border-radius:5px; background:var(--navy); color:#fff; font-size:15px; line-height:1; font-weight:800; }
/* 戻るボタンの高さを主ボタン（58px）にそろえる：行の高さと枠線1px分を調整 */
body.migrate-flow .backbtn{ line-height:normal; padding:15px 16px; }
/* 登録済みのメールアドレスの枠：入力欄と見分けがつくよう背景を白にする */
.field-boxed{ background:#fff; }

/* 引き継ぎ手続き：進捗バー下の「STEP 〜」は小さめに */
body.migrate-flow .steplabel{ font-size:14px; letter-spacing:.02em; }

/* 生年月日：数字の幅に合わせたプルダウン＋単位の文字（年・月・日）。矢印は右端から5px内側へ */
.birth.birth-select{ display:flex; align-items:center; flex-wrap:wrap; gap:6px 0; }
.birth.birth-select select{ flex:0 0 auto; min-width:0; padding:13px 34px 13px 12px; background-color:var(--field);
  -webkit-appearance:none; appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23223052' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 17px center; background-size:12px 8px; }
.birth.birth-select [data-birth="year"]{ width:6.6em; }
.birth.birth-select [data-birth="month"], .birth.birth-select [data-birth="day"]{ width:4.8em; }
.birth-unit{ margin:0 12px 0 6px; color:var(--ink); font-size:17px; font-weight:600; }
.birth-unit:last-child{ margin-right:0; }

/* 引き継ぎ完了：この後の流れの時期は中央寄せ／よくある質問は質問ごと紺のベタ塗り */
.migrate-step-box .when{ text-align:center; }
.migrate-faq dt{ padding:10px 12px; border-radius:8px; background:var(--navy); color:#fff; }
.migrate-faq dt::before{ background:#fff; color:var(--navy); }
.migrate-faq dd{ padding-left:4px; padding-right:4px; }
/* 生年月日：スマートフォン幅（390px）でも「年・月・日」が1行に収まるよう幅と間隔を詰める */
.birth.birth-select{ flex-wrap:nowrap; }
.birth.birth-select [data-birth="year"]{ width:6.2em; }
.birth.birth-select [data-birth="month"], .birth.birth-select [data-birth="day"]{ width:4.4em; }
.birth-unit{ margin:0 8px 0 4px; }
/* 引き継ぎ手続き：かたまり同士の余白（PC 40px／スマートフォン 32px）。入力項目どうしの余白は変えない */
body.migrate-flow{ --block-gap:40px; }
@media (max-width:719px){ body.migrate-flow{ --block-gap:32px; } }
body.migrate-flow .migrate-intro{ margin-bottom:var(--block-gap); }
body.migrate-flow .migrate-intro-block{ margin-bottom:var(--block-gap); }
body.migrate-flow .migrate-intro-block .migrate-intro{ margin-bottom:0; }
body.migrate-flow .migrate-intro-block .field-error{ margin-top:16px; }
body.migrate-flow .wrap > .btn{ margin-top:var(--block-gap); }
body.migrate-flow .wrap > .btn + .btn, body.migrate-flow .wrap > .btn + .backbtn{ margin-top:16px; }
body.migrate-flow .wrap > .card:not(.terms-box), body.migrate-flow .wrap > .migrate-step-list{ margin-top:var(--block-gap); margin-bottom:var(--block-gap); }
body.migrate-flow .migrate-section-heading, body.migrate-flow .migrate-subheading{ margin-top:var(--block-gap); }
body.migrate-flow .migrate-section-heading + .card, body.migrate-flow .migrate-section-heading + .migrate-step-list, body.migrate-flow .migrate-section-heading + .migrate-contact{ margin-top:12px; }
body.migrate-flow .migrate-body{ margin:var(--block-gap) 0; }
body.migrate-flow .migrate-contact .btn{ margin-top:24px; }
/* スマートフォン幅でだけ改行する */
.sp-br{ display:none; }
@media (max-width:719px){ .sp-br{ display:inline; } }
/* 引き継ぎ手続き：文の区切り（.ib）を塊として折り返し、1文字だけの段落ちを防ぐ */
body.migrate-flow .ib{ display:inline-block; }
/* 引き継ぎ手続き：文字の大きさを16pxにそろえる（サイト共通の17pxを、この手続きの画面だけ16pxにする）
   本文・リンク行など大きさの指定がない文字は body の16pxを継ぎ、17pxを個別に指定している部品は下で16pxに直す。
   15px・14pxの補足文字（ヒント・エラー・STEP表示など）はそのまま */
body.migrate-flow{ font-size:16px; }
body.migrate-flow input, body.migrate-flow select, body.migrate-flow textarea,
body.migrate-flow .btn, body.migrate-flow .backbtn,
body.migrate-flow .field-boxed, body.migrate-flow .field-static,
body.migrate-flow .birth-unit, body.migrate-flow .migrate-step-box .when{ font-size:16px; }
/* ===== 引き継ぎ手続き（body.migrate-flow）：文字を15pxに。情報量が多いため、すっきり見せる =====
   入力欄の中の文字だけは16pxのまま（iPhoneのSafariは16px未満の入力欄を押すと画面を自動で拡大するため） */
body.migrate-flow{ font-size:15px; }
body.migrate-flow .btn, body.migrate-flow .backbtn,
body.migrate-flow .field-boxed, body.migrate-flow .field-static, body.migrate-flow .birth-unit,
body.migrate-flow .migrate-intro, body.migrate-flow .migrate-step-box .when, body.migrate-flow .migrate-step-box .what,
body.migrate-flow .migrate-faq dt, body.migrate-flow .migrate-faq dd{ font-size:15px; }
body.migrate-flow input, body.migrate-flow select, body.migrate-flow textarea{ font-size:16px; }
/* 入力項目の見出し：15px・普通の太さ */
body.migrate-flow label.f{ font-size:15px; font-weight:400; }

/* 入力欄の直下のエラー：背景なし・14pxの太字 */
body.migrate-flow .field-error{ display:block; margin:6px 0 0; padding:0; border:none; border-radius:0; background:none;
  color:#b23b3b; font-size:14px; line-height:1.6; font-weight:700; }
body.migrate-flow .field-error::before{ content:none; display:none; }

/* ページ上部のエラーのまとめ：赤系の背景・！アイコン・普通の太さ */
.error-summary{ position:relative; margin:16px 0 0; padding:12px 14px 12px 46px; border:1px solid #e3a9a9; border-radius:8px;
  background:#fdeeee; color:#9b2626; font-size:15px; line-height:1.7; font-weight:400; text-align:left; }
.error-summary[hidden]{ display:none; }
.error-summary::before{ content:"!"; position:absolute; left:14px; top:13px; display:grid; place-items:center; width:22px; height:22px;
  border-radius:999px; background:#b23b3b; color:#fff; font-size:14px; line-height:1; font-weight:800; }
.error-summary:focus{ outline:none; }
.error-summary-title{ margin:0; }
.error-summary-list{ margin:2px 0 0; padding:0; list-style:none; }
/* 同意ページ：ボタンの直前に置く警告（10/29 先方FB） */
.error-summary.error-summary-near-button{ margin:16px 0 12px; }
body.migrate-flow .hint.password-rule{ margin:-2px 0 0; }
body.migrate-flow .hint.password-symbols{ margin:2px 0 8px; font-size:13px; }
.password-symbol-list{ font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing:.02em; overflow-wrap:anywhere; }
.error-summary-list li::before{ content:"・"; }

/* 背景：ページは水色（フッターの灰色とは別の色）、メインの内容は白い面の上に置く */
body.migrate-flow, body.migrate-flow .phone{ background:#e6f0f7; }
body.migrate-flow .phone .wrap{ background:#fff; border-radius:12px; width:auto; max-width:700px;
  margin:32px auto 48px; padding:40px 28px 56px; }
@media (max-width:719px){
  body.migrate-flow .phone .wrap{ margin:16px 12px 32px; padding:28px 16px 40px; }
}
/* 引き継ぎ手続きの背景：未ログイン画面を白にする既存の指定（body.guest:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body) …）より
   優先されるよう、同じ書き方に .migrate-flow を足して指定する */
body.guest.migrate-flow:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body),
body.guest.migrate-flow:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body) .phone{ background:#e6f0f7; }
body.guest.migrate-flow:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body) .phone .wrap{
  background:#fff; border-radius:12px; width:auto; max-width:700px; margin:32px auto 48px; padding:40px 28px 56px; }
@media (max-width:719px){
  body.guest.migrate-flow:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body) .phone .wrap{ margin:16px 12px 32px; padding:28px 16px 40px; }
}
/* 登録内容の確認：内容の文字も15pxに（スマートフォンで項目名を14pxにしている指定はそのまま） */
body.migrate-flow .kv, body.migrate-flow .kv span{ font-size:15px; }
/* メールが届かないとき：本文（15px）より小さく */
body.migrate-flow .signup-mail-help, body.migrate-flow .signup-mail-help p{ font-size:14px; }
body.migrate-flow .signup-mail-help .mail-help-title{ font-size:15px; }
/* 白い面の幅をどの画面でも同じにする（中身の幅で縮まないよう幅を明示） */
body.guest.migrate-flow:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body) .phone .wrap{ width:100%; box-sizing:border-box; }
@media (max-width:719px){
  body.guest.migrate-flow:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body) .phone .wrap{ width:calc(100% - 24px); }
}
/* 引き継ぎ手続き：ページの背景はフッターに使っていた薄い灰色に、フッターはヘッダーと同じ紺色にする */
body.guest.migrate-flow:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body),
body.guest.migrate-flow:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body) .phone{ background:#f2f4f8; }
/* 背景が薄い灰色になると白い面との境目が見えにくいため、薄い枠線を付ける */
body.guest.migrate-flow:not([data-guest-top]):not(.migrate-wait-page):not(.ext-body) .phone .wrap{ border:1px solid #e1e5ec; }
body.migrate-flow .appfooter{ background:var(--navy); border-top:none; }
body.migrate-flow .appfooter .ft, body.migrate-flow .appfooter .brandmark,
body.migrate-flow .appfooter .brand-copy, body.migrate-flow .appfooter .brand-main{ color:#fff; }
body.migrate-flow .appfooter .ft-links a{ color:#e3e8f0; }
body.migrate-flow .appfooter .ft-links a:hover{ color:#fff; }
body.migrate-flow .appfooter .ft-copy{ color:#c3cad6; }
body.migrate-flow .appfooter :focus-visible{ outline-color:#ffd58a; }
/* よくある質問：質問の帯を横並び（flex）にしていたため、文の区切り（.ib）が別々の要素として並び、
   「2月1日までに、　ほかに…」のように途中に空きが出ていた。帯はブロックにし、「Q」の四角は左に固定する */
.migrate-faq dt{ display:block; position:relative; padding:10px 12px 10px 48px; }
.migrate-faq dt::before{ position:absolute; left:12px; top:10px; }
/* 見出しの直後の枠は、見出しとの間を12pxにする（かたまり同士の余白40pxの指定より優先させる） */
body.migrate-flow .wrap > .migrate-section-heading + .card{ margin-top:12px; }
/* 項目名を折り返さない指定は、会員移行の確認画面の表（.confirm-list）だけにする（他の表で長い項目名がはみ出すため） */
.kv .k{ flex:0 1 auto; white-space:normal; }
.confirm-list .kv .k{ flex:0 0 auto; white-space:nowrap; }

/* 2026-10-23 会員移行FB（照合・メール登録・送信完了） */
body.migrate-flow .migrate-carrier-note{ margin:0 0 26px; padding:14px 16px; border:1px solid var(--line); border-radius:9px;
  background:var(--field); font-size:15px; line-height:1.75; text-align:left; }
body.migrate-flow .migrate-mail-choices{ display:grid; gap:12px; }
body.migrate-flow .migrate-mail-choice{ display:flex; align-items:flex-start; gap:10px; min-height:var(--tap); padding:14px 12px;
  border:1px solid var(--line); border-radius:9px; font-size:15px; line-height:1.75; cursor:pointer; }
body.migrate-flow .migrate-mail-choice:has(input:checked){ border-color:var(--navy); background:var(--field); }
body.migrate-flow .migrate-mail-choice:focus-within{ outline:2px solid #b9c6de; outline-offset:2px; }
body.migrate-flow .migrate-mail-choice input{ flex:0 0 20px; width:20px; height:20px; min-height:0; margin:3px 0 0; padding:0; accent-color:var(--navy); }
body.migrate-flow .migrate-mail-choice > span{ min-width:0; }
body.migrate-flow .migrate-mail-current{ display:block; margin-top:4px; color:var(--sub); overflow-wrap:anywhere; }
body.migrate-flow [data-migrate-mail]{ overflow-wrap:anywhere; }

/* 2026-10-23 会員移行FB（登録内容のご確認） */
body.migrate-flow .migrate-policy-links{ display:flex; flex-direction:column; align-items:flex-start; }
body.migrate-flow .migrate-policy-links a{ display:inline-block; padding:4px 0; line-height:1.6;
  font-size:15px; text-decoration:underline; text-underline-offset:3px; }
body.migrate-flow .migrate-conditions-label{ display:block; margin:26px 0 8px; color:var(--sub); font-size:15px; font-weight:400; }
body.migrate-flow .migrate-conditions{ height:300px; margin-top:8px; font-size:15px; line-height:1.8;
  line-break:strict; text-wrap:pretty; }
body.migrate-flow .migrate-conditions h3{ margin:16px 0 6px; font-size:15px; line-height:1.8; font-weight:700; }
body.migrate-flow .migrate-conditions h3:first-child{ margin-top:0; }
@media (min-width:720px){ body.migrate-flow .migrate-conditions{ height:360px; } }

/* 2026-10-23 会員移行FB（事前登録完了） */
body.migrate-flow .migrate-todo-notice{ display:grid; grid-template-columns:24px minmax(0,1fr); align-items:start;
  gap:10px; margin:16px 0 0; padding:14px; border:2px solid var(--danger); border-radius:10px;
  background:color-mix(in srgb, var(--danger) 5%, var(--bg)); text-align:left; }
body.migrate-flow .migrate-todo-notice-icon{ display:grid; place-items:center; width:24px; height:24px; margin-top:2px;
  border-radius:50%; background:var(--danger); color:var(--bg); font-weight:800; line-height:1; }
body.migrate-flow .migrate-todo-reminder{ margin:0; color:var(--danger); font-weight:700; line-height:1.7; }
body.migrate-flow .migrate-todo-instruction{ margin:4px 0 0; color:var(--ink); font-size:14px; line-height:1.7; }
/* 確認画面：郵便番号・住所が未入力の会員への案内（完了画面の注意枠と同じ見た目・年配の方向けに文字を大きめに） */
body.migrate-flow .migrate-address-notice{ margin:20px 0 0; }
body.migrate-flow .migrate-address-notice .migrate-todo-reminder{ font-size:17px; }
body.migrate-flow .migrate-address-notice .migrate-todo-instruction{ font-size:16px; }
/* 未入力のときは「内容を編集する」も赤枠・太字にして、押す場所を目立たせる */
body.migrate-flow .btn.ghost.migrate-edit-needed{ border:2px solid var(--danger); color:var(--danger); font-weight:700; }
body.migrate-flow .migrate-todo{ text-align:left; }
body.migrate-flow .migrate-todo-list{ display:grid; gap:12px; margin:0; padding:0; list-style:none; }
body.migrate-flow .migrate-todo-card{ display:grid; grid-template-columns:28px minmax(0,1fr); align-items:start;
  gap:10px; padding:16px; border:1px solid var(--line); border-radius:10px; background:var(--bg); }
body.migrate-flow .migrate-todo-number{ display:grid; place-items:center; width:28px; height:28px;
  border-radius:50%; background:var(--navy); color:var(--bg); font-size:15px; font-weight:700; line-height:1; }
body.migrate-flow .migrate-todo-content{ min-width:0; }
body.migrate-flow .migrate-todo-date{ margin:0; color:var(--navy); font-size:14px; font-weight:700; line-height:1.6; }
body.migrate-flow .migrate-todo-main{ margin:2px 0 0; color:var(--navy); font-size:17px; line-height:1.6; font-weight:800; }
body.migrate-flow .migrate-todo-description{ margin:6px 0 0; font-size:15px; line-height:1.8; }
body.migrate-flow .migrate-todo-done{ background:var(--field); color:var(--sub); }
body.migrate-flow .migrate-todo-done .migrate-todo-main{ color:var(--sub); }
body.migrate-flow .migrate-todo-done .migrate-todo-number{ background:var(--sub); }
body.migrate-flow .migrate-todo-status{ display:inline-flex; align-items:center; gap:4px; padding:1px 6px; border-radius:4px;
  background:color-mix(in srgb, var(--ok) 8%, var(--bg)); color:var(--ok); }
body.migrate-flow .migrate-todo-required{ border:2px solid var(--gold);
  background:color-mix(in srgb, var(--gold) 4%, var(--bg)); }
body.migrate-flow .migrate-todo-required .migrate-todo-number{ background:var(--gold); }
body.migrate-flow .migrate-todo-mandatory{ color:var(--danger); font-size:14px; }
body.migrate-flow .migrate-complete-faq{ padding-top:16px; padding-bottom:16px; }
body.migrate-flow .migrate-complete-faq dd{ position:relative; min-height:27px; margin-top:10px;
  padding-left:48px; padding-right:12px; border-bottom:none; }
body.migrate-flow .migrate-complete-faq dd::before{ content:"A"; position:absolute; left:12px; top:0;
  display:grid; place-items:center; width:26px; height:26px; margin-top:1px;
  border-radius:5px; background:var(--bg); color:var(--navy); font-size:15px; line-height:1; font-weight:800; }

/* 2026-10-23 会員移行FB（お問い合わせ） */
/* 白い面は内容の高さで止め、内容が短い画面でもフッターを画面の下端に置く */
body.migrate-flow .phone > .wrap{ flex:0 0 auto; }
body.migrate-flow .phone > .appfooter{ margin-top:auto; }

/* 2026-10-23 規約・法定表記（利用規約・個人情報保護方針・運営会社・特定商取引法） */
/* 条（節）ごとにまとめ、見出しと本文は寄せ、条と条の間で区切る */
.doc .doc-section + .doc-section{ margin-top:32px; }
.doc .doc-section > h2{ margin:0 0 8px; font-size:17px; line-height:1.6; }
.doc .doc-section > h3{ margin:20px 0 6px; color:var(--navy); font-size:16px; line-height:1.6; font-weight:700; }
.doc .doc-section > h2 + h3{ margin-top:8px; }
.doc .doc-section p{ margin:0; line-height:1.8; }
.doc .doc-section p + p, .doc .doc-section p + ul, .doc .doc-section ul + p, .doc .doc-section p + ol{ margin-top:8px; }
.doc .doc-ol{ margin:0; padding-left:1.6em; font-size:16px; line-height:1.8; }
.doc .doc-ol > li + li{ margin-top:8px; }
.doc .doc-items{ margin:4px 0 0; padding:0; list-style:none; font-size:16px; line-height:1.8; }
.doc .doc-items > li + li{ margin-top:2px; }
.doc .doc-ol-tight{ padding-left:1.4em; font-size:inherit; }
.doc .doc-ol-tight > li + li{ margin-top:2px; }
.doc .doc-date{ margin-top:8px; color:var(--sub); font-size:14px; text-align:right; }
.doc .doc-table{ margin:0; }
@media (max-width:719px){ .doc .doc-section + .doc-section{ margin-top:24px; } }
/* 長い規約の文で、最後の行に1〜2文字だけが落ちないようにする */
.doc .doc-section p, .doc .doc-section li, .doc .doc-section h2, .doc .doc-section h3, .doc .doc-table .kv span{ text-wrap:pretty; }
.doc .nw{ white-space:nowrap; }
/* 規約ページの表：PCは項目名の列幅をそろえて内容を左寄せ、スマートフォンは項目名の下に内容を置く */
.doc .doc-table .kv{ display:grid; grid-template-columns:13em minmax(0,1fr); gap:4px 16px; align-items:start; text-align:left; }
.doc .doc-table .kv > span{ min-width:0; text-align:left; font-weight:400; overflow-wrap:anywhere; }
.doc .doc-table .kv > .k{ color:var(--sub); }
@media (max-width:719px){
  .doc .doc-table .kv{ grid-template-columns:minmax(0,1fr); gap:2px; }
  .doc .doc-table .kv > .k{ font-size:14px; }
}
.doc .doc-table .kv .nw{ font-weight:inherit; text-align:inherit; }
.doc .doc-bullets > li{ position:relative; padding-left:1em; }
.doc .doc-bullets > li::before{ content:"・"; position:absolute; left:0; }

/* 2026-10-24 姓名の入力欄（会員側・管理画面 共通） */
/* 「姓［　］ 名［　］」を横に並べる。エラーは2つの欄の下にまとめて1つ出す（form-error.js の .name-split） */
.name-split{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; }
.name-split-item{ display:flex; align-items:center; gap:8px; min-width:0; }
.name-split-item > .name-split-label{ flex:0 0 2em; color:var(--sub); font-size:14px; line-height:1; }  /* 「姓」「セイ」で幅をそろえ、上下の行の入力欄の左端を揃える */
.name-split-item > input{ flex:1 1 auto; width:100%; min-width:0; margin:0; }

/* 2026-10-30 メールアドレスは1人1つ：ほかの方が使っている登録アドレスは選べない */
.migrate-mail-choice input:disabled + span{ color:var(--sub); }
.migrate-mail-taken{ display:block; margin-top:6px; color:#9b2626; font-size:14px; line-height:1.6; }

/* 2026-10-30 iPhone がメールアドレス・電話番号を自動でリンクにしても、押せず見た目も変えない（先方FB） */
a[x-apple-data-detectors], a[href^="mailto:"], a[href^="tel:"]{ color:inherit !important; text-decoration:none !important; pointer-events:none; }
/* 一覧の値の列（.kv span:last-child）の指定が @ の span にも当たって改行されるため、必ず行内に置く */
.nolink-at, .kv .nolink-at, .confirm-list .kv .nolink-at{ display:inline !important; margin:0 !important; text-align:inherit !important; }
