/* ============================================================
   【加盟店】新LP ワイヤーフレーム
   オンディーヌ / FURISODE CELEBRATION
   ※白黒＋点線プレースホルダーの構造検討用ワイヤー
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #333;
  --ink-sub: #777;
  --line: #ccc;
  --line-soft: #e2e2e2;
  --bg: #f0f0f0;
  --paper: #fff;
  --frame-w: 480px;
  --accent: #000;
  --note-bg: #fff3cd;
  --note-line: #ffc107;
}

body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Sans', 'Yu Gothic', sans-serif;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
  padding-top: 64px;
  padding-bottom: 96px;
  overflow-x: hidden;
}

/* ---------- ワイヤー全体の枠（SP幅想定） ---------- */
.lp-frame {
  max-width: var(--frame-w);
  margin: 0 auto;
  background: var(--paper);
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}

/* ---------- 汎用パーツ ---------- */
.ph {                       /* プレースホルダー */
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  border: 2px dashed var(--line);
  background: #fbfbfb;
  color: var(--ink-sub);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 10px;
  font-size: 12px;
  line-height: 1.6;
  gap: 4px;
}
.ph strong { color: var(--ink); font-size: 13px; }
.ph-img::after { content: 'IMAGE'; font-size: 10px; letter-spacing: .2em; color: #bbb; }

.ph-kv     { aspect-ratio: 3 / 4; }
.ph-tall   { aspect-ratio: 3 / 5; }
.ph-wide   { aspect-ratio: 16 / 9; }
.ph-sq     { aspect-ratio: 1 / 1; }
.ph-model  { aspect-ratio: 3 / 5; min-width: 120px; }

.note {
  background: var(--note-bg);
  border: 1px solid var(--note-line);
  padding: 7px 12px;
  margin: 10px 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  border-radius: 3px;
}
.caution { background: #ffe6e6; border-color: #e57373; }

.small { font-size: 10px; color: var(--ink-sub); line-height: 1.6; }

/* ---------- 固定ヘッダー ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: 64px; background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.header-inner {
  max-width: 1100px; height: 100%; margin: 0 auto;
  padding: 0 16px; display: flex; align-items: center; gap: 14px;
}
.logo {
  border: 2px dashed var(--line); padding: 6px 14px;
  font-size: 12px; white-space: nowrap;
}
.gnav { display: flex; gap: 6px; margin-left: auto; overflow-x: auto; }
.gnav a {
  border: 1px solid var(--line); padding: 5px 10px;
  font-size: 11px; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.header-cta {
  background: var(--accent); color: #fff; padding: 9px 16px;
  font-size: 12px; font-weight: 700; white-space: nowrap; text-decoration: none;
}

/* ---------- セクション ---------- */
.sec { padding: 28px 18px 34px; border-bottom: 8px solid var(--bg); }
.sec-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 6px; }
.sec-no {
  flex: 0 0 auto; width: 30px; height: 30px; border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.sec-title { font-size: 17px; font-weight: 700; line-height: 1.4; padding-top: 3px; }
.sec-sub { font-size: 11px; color: var(--ink-sub); margin: 2px 0 16px 40px; }
.sec-body { }

.copy {
  border-left: 3px solid var(--accent); padding: 6px 0 6px 12px;
  margin-bottom: 14px; font-size: 14px; font-weight: 600;
}

/* ---------- 帯／見出しブロック ---------- */
.band {
  background: #333; color: #fff; text-align: center;
  padding: 9px; font-size: 13px; font-weight: 700; letter-spacing: .05em;
}
.band-light { background: #e8e8e8; color: #333; }

/* ---------- ボタン ---------- */
.btn {
  display: block; text-align: center; text-decoration: none;
  background: var(--accent); color: #fff; padding: 15px;
  font-size: 14px; font-weight: 700; margin-top: 16px;
}
.btn-ghost { background: #fff; color: var(--accent); border: 2px solid var(--accent); }
.btn-sm { padding: 9px; font-size: 12px; margin-top: 10px; }

/* ---------- グリッド ---------- */
.grid2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.grid2 > *, .grid3 > *, .grid4 > * { min-width: 0; }

/* ---------- 01 KV ---------- */
.kv { position: relative; }

/* KV文言の実配置モック */
.kv-mock {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 2px dashed var(--line);
  background: #fbfbfb;
  overflow: hidden;
}
.kv-logo {
  position: absolute; top: 0; left: 14px; z-index: 3;
  background: #333; color: #fff;
  padding: 10px 12px 14px;
  border-radius: 0 0 40px 40px;
  font-size: 8px; letter-spacing: .18em; text-align: center; line-height: 1.5;
}
.kv-logo b { font-size: 11px; letter-spacing: .1em; }

.kv-vertical {
  position: absolute; top: 14%; right: 10px; z-index: 3;
  writing-mode: vertical-rl;
  font-size: 13px; font-weight: 700; line-height: 1.5; letter-spacing: .08em;
}

.kv-catch {
  position: absolute; top: 19%; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: space-between;
  padding: 0 62px 0 16px;
  font-size: 11px; font-weight: 600;
}

.kv-model {
  position: absolute; top: 12%; bottom: 30%; left: 20%; right: 22%;
  border: 1px dashed var(--line); background: #f4f4f4;
  display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 11px; color: var(--ink-sub); line-height: 1.6;
}

.kv-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 10px 12px 12px; text-align: center;
  background: linear-gradient(to top, #fff 72%, rgba(255,255,255,0));
}
.kv-title {
  font-size: 26px; font-weight: 800; line-height: 1.05; letter-spacing: .02em;
}
.kv-title-jp {
  font-size: 9px; letter-spacing: .3em; color: var(--ink-sub); margin: 4px 0 6px;
}
.kv-period { font-size: 15px; font-weight: 700; }
.kv-period b { font-size: 21px; }
.kv-note-in { font-size: 8.5px; color: var(--ink-sub); margin-top: 4px; line-height: 1.5; }
/* ---------- 02 来場特典（大抽選会） ---------- */
.prize-top { border: 2px dashed var(--line); padding: 12px; margin-bottom: 10px; }
.prize-top .rank { font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.prize-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.prize {
  min-width: 0; overflow-wrap: anywhere;
  border: 1px solid var(--line); padding: 10px; text-align: center; font-size: 11px;
}
.prize .mark { font-weight: 700; font-size: 13px; display: block; margin-bottom: 4px; }

/* ---------- 03 テイストマトリクス ---------- */
.matrix-wrap { position: relative; padding: 24px 30px; }
.matrix {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 6px;
  border: 1px solid var(--line);
}
.matrix .quad {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 4px; padding: 6px; min-width: 0;
  align-content: start;
  border: 1px solid var(--line-soft); background: #fff;
}
.label-cell {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  border: 1px dashed var(--line); background: #fbfbfb;
  aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center;
  font-size: 10px; line-height: 1.35; text-align: center; padding: 4px;
}
.axis { position: absolute; font-size: 11px; font-weight: 700; color: var(--ink-sub); }
.axis-top    { top: 2px;  left: 50%; transform: translateX(-50%); }
.axis-bottom { bottom: 2px; left: 50%; transform: translateX(-50%); }
.axis-left   { left: 2px;  top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; }
.axis-right  { right: 2px; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; }

/* ---------- 04-06 横スクロール ---------- */
.hscroll {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px;
  margin-bottom: 8px; scroll-snap-type: x mandatory;
  align-items: flex-start;
}
.hscroll > .ph { flex: 0 0 108px; scroll-snap-align: start; }
.hscroll-meta {
  font-size: 11px; color: var(--ink-sub); border: 1px solid var(--line);
  display: inline-block; padding: 3px 8px; margin-bottom: 10px; line-height: 1.6;
}

/* スクロール内カード（04-06で中身を作り分け） */
.hscroll .card {
  flex: 0 0 112px; scroll-snap-align: start; min-width: 0;
  display: flex; flex-direction: column; gap: 5px;
}
.hscroll .card .ph { flex: none; aspect-ratio: 3 / 5; }
.card .tag {
  align-self: flex-start;
  font-size: 9px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 7px; border: 1px solid var(--accent); white-space: nowrap;
}
.card .tag-brand { background: #fff; color: var(--accent); }
.card .tag-spa   { background: var(--accent); color: #fff; border-color: var(--accent); }
.card .tag-rank  { background: #fff3cd; color: #8a6d00; border-color: var(--note-line); }
.card .cap {
  font-size: 10.5px; color: var(--ink); line-height: 1.4;
  overflow-wrap: anywhere;
}

/* 04-06の関係を示すガイド */
.scroll-guide {
  border: 1px solid var(--line); background: #fafafa;
  padding: 12px; margin-bottom: 16px;
}
.scroll-guide-ttl {
  font-size: 12px; font-weight: 700; margin-bottom: 8px;
}
table.cmp { width: 100%; border-collapse: collapse; font-size: 11px; }
table.cmp th, table.cmp td {
  border: 1px solid var(--line-soft); padding: 6px 7px;
  text-align: left; vertical-align: middle; background: #fff;
}
table.cmp th { font-weight: 700; white-space: nowrap; width: 96px; }
table.cmp td.axis-lbl {
  width: 88px; text-align: center; color: var(--ink-sub); white-space: nowrap;
}
table.cmp tr.on th, table.cmp tr.on td { background: #333; color: #fff; border-color: #333; }
table.cmp tr.on td.axis-lbl { color: #ddd; }

/* ---------- 07-09 特典 ---------- */
.benefit { border: 2px dashed var(--line); padding: 12px; margin-bottom: 12px; }
.plus { text-align: center; font-size: 20px; font-weight: 700; margin: 8px 0; }
.camp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.camp {
  min-width: 0; overflow-wrap: anywhere;
  border: 1px solid var(--line); padding: 10px 8px; text-align: center; font-size: 11px;
}
.camp b { display: block; font-size: 14px; margin-top: 4px; }
.camp.full { grid-column: 1 / -1; }

/* ---------- 10-11 プラン一式 ---------- */
.plan { border: 1px solid var(--line); margin-bottom: 8px; }
.plan-head { background: #333; color: #fff; padding: 8px; text-align: center; font-size: 13px; font-weight: 700; }
.plan-body { padding: 10px 12px; font-size: 11.5px; line-height: 1.9; }

/* ---------- 12/14/15 価格 ---------- */
.price-box { border: 2px dashed var(--line); padding: 16px; text-align: center; }
.price-box .lead { font-size: 12px; color: var(--ink-sub); }
.price-box .price { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0; }
.price-box .price small { font-size: 12px; font-weight: 600; }

/* ---------- 16-17 ステップ ---------- */
.steps { counter-reset: step; }
.step {
  display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft);
}
.step:last-child { border-bottom: 0; }
.step-no {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: #333; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.step-body { flex: 1; }
.step-body h4 { font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
.step-body p { font-size: 11.5px; color: var(--ink-sub); }
.step-body .ph { margin-top: 8px; height: 90px; }

/* ---------- 19 サイズ表 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table.size { width: 100%; border-collapse: collapse; font-size: 11px; min-width: 380px; }
table.size th, table.size td { border: 1px solid var(--line-soft); padding: 7px 6px; text-align: center; }
table.size th { background: #f2f2f2; font-weight: 700; }

/* ---------- 20 信販支払い ---------- */
.pay-flow { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; align-items: stretch; }
.pay-cell {
  border: 1px solid var(--line); padding: 10px 6px; text-align: center; font-size: 11px;
}
.pay-cell b { display: block; font-size: 12px; margin-top: 4px; }
.pay-badge {
  display: inline-block; border: 2px solid var(--accent); border-radius: 50px;
  padding: 6px 14px; font-size: 12px; font-weight: 700; margin-top: 10px;
}

/* ---------- 21 店舗一覧 ---------- */
.area-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.area-tab {
  border: 1px solid var(--line); background: #fff; padding: 7px 12px;
  font-size: 11.5px; cursor: pointer; font-family: inherit; color: var(--ink);
}
.area-tab[aria-selected="true"] { background: #333; color: #fff; border-color: #333; }
.shop { display: flex; border: 1px solid var(--line); margin-bottom: 10px; }
.shop .ph { flex: 0 0 44%; aspect-ratio: auto; border: 0; border-right: 2px dashed var(--line); }
.shop-info { flex: 1; padding: 10px; background: #f7f7f7; }
.shop-info .en { font-size: 14px; font-weight: 800; color: #bbb; letter-spacing: .06em; }
.shop-info .jp { font-size: 12.5px; font-weight: 700; margin: 2px 0 4px; }
.shop-info .adr { font-size: 10.5px; color: var(--ink-sub); }

/* ---------- 22 下部固定CTA ---------- */
.fixed-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  padding: 10px 14px; box-shadow: 0 -2px 8px rgba(0,0,0,.08);
}
.fixed-cta-inner {
  max-width: var(--frame-w); margin: 0 auto; display: flex;
}
.fixed-cta a {
  flex: 1; text-align: center; text-decoration: none; padding: 14px 6px;
  font-size: 14px; font-weight: 700; letter-spacing: .04em;
  background: var(--accent); color: #fff;
}

/* ---------- フッター ---------- */
.footer { background: #333; color: #ddd; padding: 26px 18px 34px; font-size: 11.5px; }
.footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.footer a { color: #ddd; text-decoration: none; border-bottom: 1px solid #666; }

/* ---------- PC用サイドナビ（1080px以上） ---------- */
.side-nav { display: none; }

@media (min-width: 1080px) {
  .side-nav {
    display: flex; flex-direction: column;
    position: fixed; z-index: 900;
    top: 50%; right: 28px; transform: translateY(-50%);
    width: 200px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
  }
  .side-nav-list { list-style: none; }
  .side-nav-list a {
    display: block;
    padding: 13px 14px; font-size: 12.5px; line-height: 1.4;
    color: var(--ink); text-decoration: none;
    border-bottom: 1px solid var(--line-soft);
  }
  .side-nav-list a:hover { background: #f7f7f7; }
  .side-nav-list a.is-active {
    background: var(--accent); color: #fff; font-weight: 700;
  }

  .side-nav-cta {
    display: block; text-align: center; text-decoration: none;
    background: var(--accent); color: #fff;
    padding: 15px 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  }

  /* サイドナビと本文が重ならないよう、フレームを少し左へ */
  .lp-frame { margin-right: calc(200px + 56px); margin-left: auto; }
  .fixed-cta-inner { margin-right: calc(200px + 56px); margin-left: auto; }
}

@media (min-width: 1500px) {
  /* 十分に広い画面では中央寄せに戻す */
  .lp-frame, .fixed-cta-inner { margin-left: auto; margin-right: auto; }
}

/* ---------- レスポンシブ ---------- */
@media (min-width: 768px) {
  body { font-size: 15px; }
  .sec { padding: 34px 26px 42px; }
  .sec-title { font-size: 19px; }
}
@media (max-width: 400px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .pay-flow { grid-template-columns: 1fr; }
  .gnav { display: none; }
}
