  :root {
    --bg: #F6F2EA;
    --bg-2: #FBF8F2;
    --card: #FFFDF9;
    --line: #D9CBB0;
    --ink: #1C1915;
    --text: #1E1B17;
    --muted: #6B6358;
    --gold: #A8834A;
    --gold-light: #D9BC84;
    --gold-dark: #85652F;
    --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
    --accent: #B23A48;
    --radius: 14px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--serif);
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
  }
  .wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
  .gold { color: var(--gold); }
  small, .note { color: var(--muted); font-size: 0.82rem; }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    padding: 56px 0;
    text-align: left;
    background:
      radial-gradient(ellipse at 50% -20%, rgba(217,188,132,.28), transparent 60%),
      var(--ink);
    color: #F6F2EA;
    border-bottom: 2px solid var(--gold);
    overflow: hidden;
  }
  .hero h1 {
    text-align: center;
    font-size: clamp(1.8rem, 4.6vw, 3.4rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: .02em;
  }
  .hero h1 { font-weight: 800; letter-spacing: .06em; }
  .hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #C9A35E, #F1DDA8, #C9A35E);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero p.lead {
    margin: 20px auto 0;
    text-align: center;
    max-width: 620px;
    color: #CFC6B6;
    font-size: clamp(.95rem, 2.6vw, 1.05rem);
  }
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
  }
  .hero-phone { width: 280px; }
  .hero-phone img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 36px rgba(0,0,0,.28));
  }

  /* ---------- Section ---------- */
  section { padding: 64px 0; }
  .sec-title { text-align: center; margin-bottom: 36px; }
  .sec-title h2 {
    font-size: clamp(1.4rem, 4.5vw, 2rem);
    font-weight: 800;
    letter-spacing: .04em;
  }
  .sec-title h2::after {
    content: "";
    display: block;
    width: 56px; height: 2px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }
  .sec-title p { color: var(--muted); font-size: .95rem; margin-top: 6px; }

  /* ---------- Features ---------- */
  .features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .feature {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 20px 22px;
    transition: transform .2s, border-color .2s;
  }
  .feature:hover { transform: translateY(-3px); border-color: var(--gold); }
  .feature .num {
    position: absolute;
    top: 14px; right: 16px;
    font-size: 2rem;
    font-weight: 900;
    color: rgba(168,131,74,.18);
    line-height: 1;
  }
  .feature .icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(168,131,74,.12);
    color: var(--gold);
    margin-bottom: 14px;
  }
  .feature .icon svg { width: 26px; height: 26px; }
  .feature h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.5; }
  .feature p { color: var(--muted); font-size: .9rem; margin-top: 8px; }

  /* ---------- Tabs ---------- */
  .guide { border-top: 1px solid var(--line); }
  .tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 8px;
    margin-bottom: 0;
  }
  .tab {
    appearance: none;
    border: 1px solid var(--gold);
    border-bottom: none;
    background: rgba(168,131,74,.10);
    color: var(--gold-dark);
    font: inherit;
    font-weight: 700;
    font-size: .95rem;
    padding: 16px 8px 14px;
    border-radius: var(--radius) var(--radius) 0 0;
    cursor: pointer;
    line-height: 1.4;
    transition: background .2s, color .2s;
  }
  .tab small { display: block; font-size: .72rem; font-weight: 500; margin-top: 2px; color: inherit; opacity: .85; }
  .tab:hover { background: rgba(168,131,74,.18); }
  .tab[aria-selected="true"] {
    background: var(--ink);
    color: var(--gold-light);
    border-color: var(--ink);
  }
  .panel {
    background: var(--card);
    border: 1px solid var(--gold);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 36px 28px;
  }
  .panel[hidden] { display: none; }
  .panel-head { text-align: center; margin-bottom: 28px; }
  .panel-head h4 { font-size: clamp(1.15rem, 3.8vw, 1.5rem); font-weight: 900; }
  .panel-head p { color: var(--muted); font-size: .92rem; margin-top: 6px; }

  /* Steps */
  .steps { list-style: none; max-width: 640px; margin: 0 auto; counter-reset: step; }
  .step {
    position: relative;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 26px;
  }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 21px; top: 46px; bottom: 4px;
    width: 2px;
    background: linear-gradient(var(--gold), rgba(168,131,74,.15));
  }
  .step .no {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-weight: 900;
    font-size: 1rem;
    background: var(--card);
    border: 2px solid var(--gold);
    color: var(--gold);
    z-index: 1;
  }
  .step .body {
    flex: 1;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 2px;
  }
  .step .body strong { display: block; font-size: 1rem; }
  .step .body .note { display: block; margin-top: 4px; }
  .step .body .note::before { content: "※"; }
  .step .body .note a { color: inherit; text-decoration: underline; }
  .step .body .note a.tel-link { color: var(--accent); font-weight: 700; }
  .step .body .note a.tel-link:hover { text-decoration: none; }
  .panel-head .note { display: block; margin-top: 8px; }
  .step .body .shot {
    display: block;
    width: 100%; max-width: 400px; height: auto;
    margin: 12px auto 0;
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  .step .body p { font-size: .92rem; margin-top: 10px; }
  .step .body p a { color: var(--accent); font-weight: 700; }
  .methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
  .method {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 14px;
  }
  .method b { display: block; color: var(--gold-dark); }
  .method span { display: block; font-size: .88rem; margin-top: 4px; }
  .step.done .no { background: var(--ink); border-color: var(--ink); color: var(--gold-light); }
  .step.done .body { border-color: var(--gold); background: rgba(168,131,74,.08); }
  .step.done .body strong { color: var(--gold-dark); }

  /* ---------- Flow (STEP) ---------- */
  .guide-intro p { margin-top: 10px; color: var(--text); font-size: clamp(1rem, 2.8vw, 1.15rem); }
  .guide-intro p b { color: var(--gold-dark); }
  .guide-intro p a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
  .guide-intro p a:hover { text-decoration: none; }
  .guide-intro .cta-btns { margin-top: 24px; }
  .flow { list-style: none; display: grid; gap: 48px; max-width: 820px; margin: 0 auto; }
  .fstep {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }
  .fstep:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%; top: calc(100% + 10px);
    width: 18px; height: 18px;
    border-right: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    transform: translateX(-50%) rotate(45deg);
  }
  .fstep-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: var(--ink);
    color: var(--gold-light);
    border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  }
  .fstep-no {
    flex: 0 0 64px;
    height: 64px;
    border-radius: 12px;
    background: rgba(255,255,255,.16);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-size: 1.9rem; font-weight: 900; line-height: 1;
  }
  .fstep-no small { color: inherit; font-size: .68rem; font-weight: 700; letter-spacing: .14em; margin-bottom: 3px; }
  .fstep-head h3 { font-size: clamp(1.1rem, 3.6vw, 1.4rem); font-weight: 900; line-height: 1.4; }
  .fstep-body { padding: 28px; }
  .fstep-lead { font-weight: 700; }
  .fstep-body > .note { display: block; margin-top: 4px; }
  .fstep-body > .tabs { margin-top: 16px; }
  .fstep-body > .note + .tabs { margin-top: 16px; }
  .fstep-body > .steps { margin-top: 4px; }
  .fstep-body > .steps > .step:last-child { padding-bottom: 0; }
  .fstep-sub { margin-top: 14px; font-size: .92rem; }
  .fstep-sub .note { display: block; margin-top: 2px; }
  .fstep-body > .shot {
    display: block;
    width: 100%; max-width: 400px; height: auto;
    margin: 12px auto 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  .cancel-box { max-width: 820px; margin: 48px auto 0; }
  .cancel-box .fstep-head { background: var(--accent); color: #fff; }
  .cancel-rules { margin: 12px 0 0 1.2em; font-size: .92rem; display: grid; gap: 4px; }
  .cancel-rules b { color: var(--accent); }
  .tabs .tab-place { font-size: 1.35rem; line-height: 1.3; }
  .tabs .tab-place small { margin: 0 0 2px; font-size: .75rem; }

  /* Accordion */
  .acc { margin-top: 18px; border: 1px solid var(--gold); border-radius: 10px; background: var(--bg-2); }
  .acc summary {
    list-style: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 18px;
    font-weight: 700;
    color: var(--gold-dark);
  }
  .acc summary::-webkit-details-marker { display: none; }
  .acc summary::after {
    content: "";
    flex: none;
    width: 10px; height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
    transition: transform .2s;
  }
  .acc[open] summary::after { transform: translateY(3px) rotate(-135deg); }
  .acc summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 10px; }
  .acc-body { padding: 22px 18px 4px; border-top: 1px dashed var(--gold); }

  /* 承認後の確認 */
  .step .body .confirm-title { margin-top: 14px; font-size: .95rem; font-weight: 700; }
  .confirm { display: grid; gap: 10px; margin-top: 8px; }
  .confirm-item { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
  .confirm-item b { display: block; color: var(--gold-dark); }
  .step .body .confirm-item p { margin-top: 6px; }
  .step .body .confirm-end { margin-top: 16px; text-align: center; font-size: 1rem; font-weight: 900; color: var(--gold-dark); }

  /* ---------- Points ---------- */
  .points { border-top: 1px solid var(--line); }
  .point-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .info-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 22px;
    overflow:hidden;
  }
  .info-box h4 {
    font-size: 1.12rem;
    font-weight: 900;
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 12px;
  }
  .info-box h4::before {
    content: "";
    width: 6px; height: 22px;
    background: var(--gold);
    border-radius: 3px;
  }
  .info-box ul { list-style: none; }
  .info-box li { padding-left: 1.3em; position: relative; margin-bottom: 8px; font-size: .95rem; }
  .info-box li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
  .info-box .note { display: block; margin-top: 2px; }
  .info-box .rank-link { display: inline-block; margin-top: 4px; color: var(--accent); font-weight: 700; font-size: .95rem; }
  .info-box .rank-link:hover { text-decoration: none; }
  .info-box .rank-link small { margin-left: .5em; font-weight: 500; }
  .nw { white-space: nowrap; }
  .center { text-align: center; }
  .contact-guide { margin-top: 14px; }
  .contact-guide dl { margin-top: 16px; padding: 14px 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; font-size: .92rem; }
  .contact-guide dt { font-weight: 700; }
  .contact-guide dd { margin: 0 0 8px; }
  .contact-guide dd:last-child { margin-bottom: 0; }
  .copy-btn {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 10px; padding: 6px 16px;
    font: inherit; font-size: .88rem; font-weight: 700;
    color: var(--text); background: var(--card);
    border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  }
  .copy-btn:hover { background: var(--bg); }
  .copy-btn svg { width: 1em; height: 1em; }
  .feature .note { display: block; margin-top: 6px; }
  .cancel-box .fstep-head { justify-content: center; text-align: center; }
  .big-num { font-size: 1.6rem; font-weight: 900; color: var(--gold); }

  .ranks { margin-top: 26px; display: grid; gap: 10px; }
  .rank {
    display: grid;
    grid-template-columns: 56px 8.5rem 6rem 1fr;
    align-items: center;
    gap: 12px;
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 6px solid var(--c);
    border-radius: 10px;
    padding: 14px 18px;
  }
  .rank .icon { width: 56px; height: 56px; object-fit: contain; }
  .rank .name { font-weight: 900; font-size: 1.05rem; color: var(--c); letter-spacing: .04em; white-space: nowrap; }
  .rank .rate { font-weight: 900; font-size: 1.4rem; white-space: nowrap; }
  .rank .rate span { font-size: .8rem; font-weight: 700; color: var(--muted); margin-left: 2px; }
  .rank .cond { color: var(--muted); font-size: .9rem; }
  .rank .cond b { color: var(--text); }
  .r-bronze  { --c: #8a3c10; }
  .r-silver  { --c: #485858; }
  .r-gold    { --c: #986000; }
  .r-plat    { --c: #2878a0; }
  .r-diamond { --c: #6870a0; background: linear-gradient(90deg, rgba(128,136,176,.14), var(--card) 60%); }


  /* ---------- CTA ---------- */
  .cta { text-align: center; border-top: 1px solid var(--line); }
  .cta p { color: var(--muted); margin-bottom: 22px; }
  .cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
  .btn {
    display: inline-block;
    background: linear-gradient(90deg, #B8925A, #DCC08A, #B8925A);
    border: 2px solid var(--gold);
    color: var(--ink);
    font-weight: 900;
    font-size: 1.1rem;
    padding: 14px 40px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(168,131,74,.25);
    transition: transform .2s, background .2s;
  }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(168,131,74,.4); }
  .btn-outline { background: var(--ink); border-color: var(--ink); color: var(--gold-light); box-shadow: 0 8px 24px rgba(28,25,21,.2); }
  .btn-outline:hover { box-shadow: 0 10px 28px rgba(28,25,21,.3); }

  footer {
    background: var(--ink);
    border-top: 2px solid var(--gold);
    padding: 24px 0;
    text-align: center;
    color: var(--muted);
    font-size: .8rem;
  }
  footer .logo { display: inline-block; vertical-align: middle; width: 200px; height: auto; }

  /* ---------- Back to top ---------- */
  .to-top {
    position: fixed;
    right: calc(16px + env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 100;
    width: 52px; height: 52px;
    border: none;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--gold);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s, transform .25s, visibility .25s, background .2s;
  }
  .to-top.show { opacity: 1; visibility: visible; transform: none; }
  .to-top:hover { background: var(--gold-dark); }
  .to-top:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 3px; }
  .to-top svg { width: 24px; height: 24px; }
  @media (max-width: 560px) {
    .to-top { width: 46px; height: 46px; }
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 820px) {
    .features { grid-template-columns: repeat(2, 1fr); }
    .point-grid { grid-template-columns: 1fr; }
    .rank { grid-template-columns: 56px 1fr auto; row-gap: 2px; column-gap: 14px; }
    .rank .icon { grid-row: span 2; }
    .rank .cond { grid-column: 2 / -1; }
  }
  @media (max-width: 760px) {
    .hero { text-align: center; }
    .hero p.lead { margin-left: auto; margin-right: auto; }
    .hero-inner { grid-template-columns: 1fr; gap: 28px; }
    .hero-phone { width: 220px; margin: 0 auto; }
    .hero h1 { font-size: clamp(1.6rem, 7vw, 2.6rem); }
  }
  @media (max-width: 560px) {
    section { padding: 48px 0; }
    .hero { padding: 44px 0 48px; }
    .features { grid-template-columns: 1fr; gap: 12px; }
    .feature { padding: 20px 18px; display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; }
    .feature .icon { margin-bottom: 0; grid-row: span 3; }
    .tab { font-size: .9rem; padding: 12px 4px 10px; }
    .tab small { font-size: .7rem; }
    .panel { padding: 26px 14px; }
    .methods { grid-template-columns: 1fr; }
    .step { gap: 12px; }
    .rank { grid-template-columns: 48px 1fr auto; row-gap: 2px; column-gap: 12px; padding: 12px 14px; }
    .rank .icon { width: 48px; height: 48px; grid-row: span 2; }
    .rank .cond { grid-column: 2 / -1; }
    .cta-btns { flex-direction: column; align-items: stretch; }
    .btn { padding: 14px 20px; }
    .fstep-head { padding: 12px 14px; gap: 12px; }
    .fstep-no { flex-basis: 54px; height: 54px; font-size: 1.6rem; }
    .fstep-body { padding: 20px 12px; }
    .fstep .panel { padding: 22px 10px; }
    .tabs .tab-place { font-size: 1.15rem; }
    .acc summary { padding: 12px 14px; }
    .acc-body { padding: 18px 8px 2px; }
    .confirm-item { padding: 10px; }
    .info-box { padding: 20px 16px; }
    .ranks { margin-top: 20px; }
  }
  @media (max-width: 380px) {
    .tabs { gap: 4px; }
    .tab { font-size: .8rem; padding: 10px 2px 8px; letter-spacing: -.02em; }
    .tab small { font-size: .64rem; }
    .info-box .nw { white-space: normal; }
    .big-num { font-size: 1.4rem; }
    .rank { column-gap: 10px; padding: 12px 10px; }
    .rank .name { font-size: .95rem; letter-spacing: 0; }
    .rank .rate { font-size: 1.25rem; }
  }

  /* ---------- PC：シニア層向けに文字を大きく ---------- */
  @media (min-width: 821px) {
    html { font-size: 112.5%; } /* 18px */
    .info-box { padding: 24px 18px; }
    .wrap { max-width: 1120px; }
    .steps { max-width: 720px; }
    .flow, .cancel-box { max-width: 920px; }
    .hero p.lead { max-width: 700px; }
    small, .note { font-size: .9rem; }
    .feature p, .panel-head p, .step .body p, .fstep-sub, .cancel-rules,
    .rank .cond, .method span { font-size: 1rem; }
    .tab small, .tabs .tab-place small { font-size: .85rem; }
    .fstep-no small { font-size: .78rem; }
    .rank .rate span { font-size: .9rem; }
  }
  @media (min-width: 1200px) {
    html { font-size: 125%; } /* 20px */
    .wrap { max-width: 1240px; }
  }