/* ============================================================
   BAIMY ランディングページ専用スタイル
   アプリ本体(style.css)とは独立。未ログインの初回訪問者だけが
   読み込むページなので、KaTeX/MathLive等は一切読み込まない。
   配色はアプリ本体のテーマ(teal #009276)に合わせている。
   ★landing.css を直したら landing.html の ?v= も必ず上げること。
   ============================================================ */

:root {
    --bg: #fafaf8;
    --bg-alt: #f2f3ef;
    --text: #31353b;
    --muted: #70767e;
    --heading: #14171a;
    --card-bg: #ffffff;
    --card-shadow: rgba(20, 23, 26, 0.07);
    --border: #e3e5e1;
    --accent: #009276;
    --accent-hover: #00715a;
    --accent-soft: #d9f2ea;
    --accent-text: #00674f;
    --hero-glow: rgba(0, 146, 118, 0.10);
    --demo-frame: #22262b;
    /* ↓ ミニデモをアプリ本体の見た目に寄せるためのトークン(style.cssと同じ値) */
    --item-bg: #fafafa;
    --item-border: #e9ecef;
    --tag-bg: #eef0ee;
    --tag-text: #4a4e52;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0c0c0c;
        --bg-alt: #141414;
        --text: #e2e2e2;
        --muted: #9aa0a6;
        --heading: #f5f5f5;
        --card-bg: #191919;
        --card-shadow: rgba(0, 0, 0, 0.55);
        --border: #333333;
        --accent: #14a98b;
        --accent-hover: #1cc4a2;
        --accent-soft: rgba(20, 169, 139, 0.16);
        --accent-text: #46cbaf;
        --hero-glow: rgba(20, 169, 139, 0.13);
        --demo-frame: #3a3f45;
        --item-bg: #131313;
        --item-border: #333333;
        --tag-bg: #292929;
        --tag-text: #c7c7c7;
    }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
                 "Noto Sans JP", Meiryo, sans-serif;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

a { color: inherit; }

/* 日本語の見出しが「る。」「ス」だけ次の行に落ちるのを防ぐための塊 */
.nw { display: inline-block; }

.wrap {
    width: 100%;
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 画面に入ったらふわっと出す(JSがclassを付けたときだけ効かせる) */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

/* ---------- ヘッダー ---------- */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.lp-header.scrolled { border-bottom-color: var(--border); }
.lp-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.lp-logo { display: flex; align-items: baseline; gap: 9px; text-decoration: none; }
.lp-logo b {
    font-size: 1.34rem;
    letter-spacing: 0.09em;
    font-weight: 800;
    color: var(--heading);
}
.lp-logo span { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.05em; }
.lp-header-actions { display: flex; align-items: center; gap: 10px; }
.lp-nav { display: none; gap: 22px; margin-left: auto; margin-right: 26px; font-size: 0.88rem; }
.lp-nav a { color: var(--muted); text-decoration: none; }
.lp-nav a:hover { color: var(--accent); }
@media (min-width: 820px) { .lp-nav { display: flex; } }

/* ---------- ボタン ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.16s, border-color 0.16s, transform 0.12s, box-shadow 0.16s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 18px -8px var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-sm { padding: 9px 17px; font-size: 0.88rem; }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }

/* ---------- ヒーロー ---------- */
.hero {
    position: relative;
    padding: 60px 0 48px;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: -220px; left: 50%;
    width: 900px; height: 620px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, var(--hero-glow), transparent 72%);
    pointer-events: none;
}
.hero .wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 46px;
    align-items: center;
}
/* ヒーロー最上部のブランド表記(題名+副題)。見出し(h1)より必ず弱く見せる。 */
.hero-brand {
    margin: 0 0 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    max-width: 21em;
}
.hero-brand-name {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 6px;
}
.hero-brand-name b {
    /* 見出し(h1)より必ず一段小さく保つこと。h1は900px以上で最大2.5rem。 */
    font-size: clamp(1.55rem, 4.4vw, 1.85rem);
    font-weight: 800;
    letter-spacing: 0.13em;
    color: var(--heading);
    line-height: 1.3;
}
.hero-brand-name span {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--muted);
}
.hero-brand-tagline {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--accent-text);
    letter-spacing: 0.01em;
}
.hero h1 {
    /* 2カラムになると見出しの使える幅が狭くなるので、下の900px以上の指定で文字を絞っている。
       12文字が1行に収まるサイズにしておかないと「を、」だけが次の行に落ちる。 */
    font-size: clamp(1.7rem, 6.2vw, 2.6rem);
    line-height: 1.4;
    color: var(--heading);
    margin: 0 0 20px;
    font-weight: 800;
}
.hero h1 .l { display: block; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead {
    font-size: 1.04rem;
    color: var(--muted);
    margin: 0 0 30px;
    max-width: 29em;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-size: 0.82rem; color: var(--muted); margin-top: 16px; }

/* ---------- ミニデモ(スマホ枠) ---------- */
.demo { justify-self: center; width: 100%; max-width: 320px; }
.demo-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px;
}
.demo-tab {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 7px 4px;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.18s, color 0.18s;
}
.demo-tab[aria-selected="true"] { background: var(--accent); color: #fff; }
.demo-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.demo-phone {
    position: relative;
    margin: 0 auto;
    width: 100%;
    aspect-ratio: 9 / 16.4;
    background: var(--demo-frame);
    border-radius: 34px;
    padding: 10px;
    box-shadow: 0 22px 50px -18px var(--card-shadow);
}
.demo-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg);
    border-radius: 25px;
    overflow: hidden;
}
.demo-screen {
    position: absolute;
    inset: 0;
    padding: 14px 13px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s;
    font-size: 0.72rem;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.demo-screen.active { opacity: 1; visibility: visible; }

.demo-bar {
    display: flex;
    align-items: center;
    min-height: 16px;
    gap: 7px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.demo-bar::before {
    content: "";
    width: 14px; height: 2px; border-radius: 2px;
    background: var(--heading);
    box-shadow: 0 4px 0 var(--heading), 0 -4px 0 var(--heading);
}

/* アプリ本体の「← ホームに戻る」(.back-btn) 相当 */
.demo-back { color: var(--accent); font-size: 0.66rem; }
.demo-title { font-size: 0.78rem; font-weight: 700; color: var(--heading); }
.demo-sublabel { font-size: 0.62rem; color: var(--muted); margin-top: 2px; }

/* アプリ本体の .card 相当(白いカードの中に見出し・入力欄・検索ボタン) */
.demo-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 12px 11px;
    box-shadow: 0 2px 8px var(--card-shadow);
}
.demo-card h4 { margin: 0 0 9px; font-size: 0.78rem; color: var(--heading); font-weight: 700; }
.demo-form { display: flex; align-items: center; gap: 6px; }
.demo-input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
    padding: 6px 8px;
    font-size: 0.66rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
}
.demo-poptags { margin-top: 10px; }
.demo-poptags-label { font-size: 0.6rem; color: var(--muted); display: block; margin-bottom: 5px; }
.demo-tagchip {
    display: inline-block;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 0.6rem;
    margin: 0 4px 4px 0;
    color: var(--text);
}
.demo-detail-link { font-size: 0.6rem; color: var(--accent); }
.demo-btn {
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.66rem;
    font-weight: 700;
    flex: none;
}
.demo-caret {
    display: inline-block;
    width: 1px; height: 0.85em;
    background: var(--accent);
    animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* アプリ本体の .problem-item 相当(バッジの行 + 太字の「第◯問 トピック」) */
.demo-item {
    border: 1px solid var(--item-border);
    border-radius: 8px;
    background: var(--item-bg);
    padding: 10px;
    opacity: 0;
    animation: rise 0.45s ease-out forwards;
}
.demo-item strong {
    display: block;
    margin-top: 6px;
    font-size: 0.7rem;
    line-height: 1.5;
    color: var(--text);
    font-weight: 700;
}
.demo-item-head { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.demo-chip {
    font-size: 0.6rem; padding: 2px 7px; border-radius: 4px;
    background: var(--tag-bg); color: var(--tag-text);
}
@keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

/* デモ2: 写真読み取り */
.demo-paper {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card-bg);
    padding: 13px 12px;
    overflow: hidden;
    display: flex; flex-direction: column; gap: 7px;
}
.demo-line { height: 5px; border-radius: 3px; background: var(--border); }
.demo-line.w90 { width: 90%; } .demo-line.w70 { width: 70%; }
.demo-line.w80 { width: 80%; } .demo-line.w50 { width: 50%; }
.demo-scan {
    position: absolute; left: 0; right: 0; height: 26px;
    background: linear-gradient(to bottom, transparent, var(--accent-soft), transparent);
    border-top: 1.5px solid var(--accent);
    animation: scan 2.4s ease-in-out infinite;
}
@keyframes scan {
    0%   { top: -26px; }
    100% { top: 100%; }
}
.demo-readout {
    border-radius: 10px; border: 1px solid var(--accent);
    background: var(--accent-soft); padding: 9px 10px;
    opacity: 0; animation: rise 0.5s ease-out 1.1s forwards;
}
.demo-readout b { display: block; font-size: 0.63rem; color: var(--accent-text); margin-bottom: 3px; }
.demo-readout span { font-size: 0.72rem; }

/* デモ3: AIチャット(アプリ本体の .ai-chat-bubble と同じ形) */
.demo-bubble {
    max-width: 85%;
    padding: 8px 11px;
    border-radius: 15px;
    font-size: 0.68rem;
    line-height: 1.6;
    opacity: 0;
    animation: rise 0.4s ease-out forwards;
}
.demo-bubble.me {
    align-self: flex-end;
    background: var(--accent);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.demo-bubble.ai {
    align-self: flex-start;
    background: var(--card-bg);
    border: 1px solid var(--item-border);
    border-bottom-left-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .demo-item, .demo-readout, .demo-bubble { opacity: 1; animation: none; }
    .demo-scan, .demo-caret { animation: none; }
    .js .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ---------- 数字 ---------- */
.stats {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 38px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: center; }
.stat b {
    display: block;
    font-size: clamp(1.5rem, 5.4vw, 2.05rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1.3;
    letter-spacing: 0.01em;
}
.stat span { font-size: 0.79rem; color: var(--muted); }
.uni-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.uni-chip {
    font-size: 0.8rem; padding: 5px 13px; border-radius: 999px;
    background: var(--card-bg); border: 1px solid var(--border); color: var(--text);
}

/* ---------- セクション共通 ---------- */
section.block { padding: 76px 0; }
section.tinted {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head h2 {
    font-size: clamp(1.42rem, 4.4vw, 1.95rem);
    color: var(--heading);
    margin: 0 0 12px;
    font-weight: 800;
    line-height: 1.5;
}
.sec-head p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- 3大機能 ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.feature {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px var(--card-shadow);
}
.feature-label {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent-text);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 13px;
    border-radius: 999px;
    margin-bottom: 15px;
    letter-spacing: 0.04em;
}
.feature h3 {
    margin: 0 0 11px;
    font-size: 1.1rem;
    color: var(--heading);
    font-weight: 800;
    line-height: 1.55;
}
.feature p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.more-head { margin: 52px 0 18px; font-size: 0.85rem; color: var(--muted); font-weight: 700; }
.more-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.more-item { padding: 13px 16px; border-radius: 12px; background: var(--bg-alt); font-size: 0.86rem; }
section.tinted .more-item { background: var(--card-bg); }
.more-item b { color: var(--heading); font-size: 0.9rem; margin-right: 8px; }
.more-item span { color: var(--muted); font-size: 0.84rem; }

/* ---------- 料金への導線(紹介ページ) ---------- */
.price-strip {
    display: flex; flex-wrap: wrap; gap: 20px;
    align-items: center; justify-content: space-between;
    border: 1px solid var(--border); border-radius: 18px;
    background: var(--card-bg); box-shadow: 0 2px 12px var(--card-shadow);
    padding: 28px 28px;
}
.price-strip h2 { margin: 0 0 6px; font-size: 1.25rem; color: var(--heading); font-weight: 800; }
.price-strip p { margin: 0; color: var(--muted); font-size: 0.92rem; max-width: 34em; }

/* ---------- 下層ページ(料金・FAQ) ---------- */
.page-head { padding-bottom: 0; text-align: center; }
.page-head h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem); color: var(--heading);
    margin: 0 0 12px; font-weight: 800; line-height: 1.5;
}
.page-head p { margin: 0; color: var(--muted); font-size: 0.95rem; }
section.pt0 { padding-top: 40px; }
.page-notes {
    max-width: 760px; margin: 34px auto 0;
    color: var(--muted); font-size: 0.84rem;
}
.page-notes p { margin: 0 0 6px; }
.page-cta {
    display: flex; flex-wrap: wrap; gap: 12px;
    justify-content: center; margin-top: 44px;
}

/* ---------- 料金 ---------- */
.plans { display: grid; grid-template-columns: 1fr; gap: 22px; max-width: 760px; margin: 0 auto; }
.plan {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px 26px;
    background: var(--card-bg);
    box-shadow: 0 2px 12px var(--card-shadow);
}
.plan.featured { border-color: var(--accent); border-width: 2px; position: relative; }
.plan-badge {
    position: absolute; top: -13px; left: 26px;
    background: var(--accent); color: #fff;
    font-size: 0.72rem; font-weight: 700; padding: 3px 13px; border-radius: 999px;
}
.plan h3 { margin: 0 0 6px; font-size: 1.08rem; color: var(--heading); font-weight: 800; }
.plan .price { font-size: 1.95rem; font-weight: 800; color: var(--heading); line-height: 1.35; }
.plan .price small { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.plan .price-strike {
    font-size: 1rem; color: var(--muted); text-decoration: line-through;
    margin-right: 8px; font-weight: 600;
}
.plan-launch-badge {
    display: inline-block; background: #d9480f; color: #fff; font-size: 0.68rem;
    font-weight: 700; padding: 2px 9px; border-radius: 999px; margin-left: 6px; vertical-align: middle;
}
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; flex: 1; }
.plan li { position: relative; padding-left: 25px; margin-bottom: 10px; font-size: 0.9rem; }
.plan li::before {
    content: ""; position: absolute; left: 4px; top: 0.58em;
    width: 9px; height: 5px;
    border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}
.plan li.off { color: var(--muted); }
.plan li.off::before { border-color: var(--muted); }
.plan-foot { margin-top: 22px; font-size: 0.78rem; color: var(--muted); }

/* ---------- 学習ルート ---------- */
.route-goals {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 44px;
}
.route-goal {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}
.route-arrow {
    flex: none;
    width: 8px; height: 8px;
    border-top: 2px solid var(--muted);
    border-right: 2px solid var(--muted);
    transform: rotate(45deg);
}
.route-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.route-item h3 {
    margin: 0 0 9px;
    font-size: 1rem;
    color: var(--heading);
    font-weight: 800;
    padding-left: 16px;
    position: relative;
    line-height: 1.55;
}
.route-item h3::before {
    content: "";
    position: absolute; left: 0; top: 0.55em;
    width: 7px; height: 7px; border-radius: 2px;
    background: var(--accent);
}
.route-item p { margin: 0; color: var(--muted); font-size: 0.9rem; padding-left: 16px; }
.route-note {
    margin: 38px 0 0;
    text-align: center;
    font-size: 0.86rem;
    color: var(--muted);
}

/* ---------- お問い合わせ ---------- */
.notice {
    max-width: 760px; margin: 0 auto 34px;
    border: 1px solid var(--border); border-left: 4px solid var(--accent);
    border-radius: 12px; background: var(--card-bg); padding: 20px 22px;
}
.notice b { display: block; color: var(--heading); font-size: 0.95rem; margin-bottom: 8px; }
.notice p { margin: 0 0 14px; color: var(--muted); font-size: 0.88rem; }

.contact-form { max-width: 760px; margin: 0 auto; }
.form-row { margin-bottom: 22px; }
.form-row label {
    display: block; font-size: 0.88rem; font-weight: 700;
    color: var(--heading); margin-bottom: 7px;
}
.form-optional {
    margin-left: 8px; font-size: 0.72rem; font-weight: 600;
    color: var(--muted); background: var(--bg-alt);
    border-radius: 4px; padding: 2px 7px;
}
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--card-bg);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.7;
}
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.form-help { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--muted); }
.form-note { font-size: 0.8rem; color: var(--muted); margin: 0 0 22px; }
.form-actions { display: flex; justify-content: center; }
.form-status { margin-top: 18px; text-align: center; font-size: 0.9rem; min-height: 1.6em; }
.form-status.ok { color: var(--accent-text); font-weight: 700; }
.form-status.ng { color: #d9480f; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto 38px; }
.faq:last-of-type { margin-bottom: 0; }
.faq-cat {
    max-width: 760px;
    margin: 0 auto 14px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-text);
    letter-spacing: 0.04em;
    padding-left: 14px;
    position: relative;
}
.faq-cat::before {
    content: "";
    position: absolute; left: 0; top: 0.45em;
    width: 4px; height: 0.9em; border-radius: 2px;
    background: var(--accent);
}
.faq details {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card-bg);
    margin-bottom: 10px;
    overflow: hidden;
}
.faq details[open] { border-color: var(--accent); }
.faq summary {
    cursor: pointer; padding: 17px 46px 17px 18px; font-weight: 700;
    font-size: 0.94rem; color: var(--heading); position: relative; list-style: none;
    line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.faq summary::after {
    content: ""; position: absolute; right: 20px; top: 50%;
    width: 8px; height: 8px; margin-top: -6px;
    border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
    transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq-body { padding: 0 18px 18px; color: var(--muted); font-size: 0.9rem; }

/* ---------- 最後のCTA ---------- */
.final-cta { padding: 76px 0; text-align: center; }
.final-cta h2 {
    font-size: clamp(1.4rem, 4.4vw, 1.9rem);
    color: var(--heading); margin: 0 0 14px; font-weight: 800; line-height: 1.5;
}
.final-cta p { color: var(--muted); margin: 0 0 28px; font-size: 0.95rem; }

/* ---------- フッター ---------- */
.lp-footer {
    border-top: 1px solid var(--border);
    padding: 36px 0 52px;
    font-size: 0.83rem;
    color: var(--muted);
}
.lp-footer-top {
    display: flex; flex-wrap: wrap; gap: 14px 24px;
    align-items: baseline; justify-content: space-between; margin-bottom: 22px;
}
.lp-footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.lp-footer-links a { color: var(--muted); text-decoration: none; }
.lp-footer-links a:hover { color: var(--accent); text-decoration: underline; }
.lp-footer details { border-top: 1px solid var(--border); padding-top: 14px; }
.lp-footer summary {
    cursor: pointer; color: var(--muted); font-size: 0.82rem; list-style: none; position: relative;
    padding-left: 15px;
}
.lp-footer summary::-webkit-details-marker { display: none; }
.lp-footer summary::before {
    content: ""; position: absolute; left: 2px; top: 0.6em;
    border-left: 5px solid var(--muted);
    border-top: 4px solid transparent; border-bottom: 4px solid transparent;
    transition: transform 0.2s;
}
.lp-footer details[open] summary::before { transform: rotate(90deg); }
.biz-table { width: 100%; border-collapse: collapse; margin: 14px 0 0; font-size: 0.8rem; }
.biz-table th, .biz-table td {
    text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top;
}
.biz-table th { width: 11em; color: var(--text); font-weight: 600; white-space: nowrap; }
.lp-copyright { margin-top: 22px; font-size: 0.78rem; }

/* ---------- レスポンシブ ---------- */
@media (min-width: 720px) {
    .more-grid { grid-template-columns: 1fr 1fr; }
    .route-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .plans { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
    .hero { padding: 88px 0 64px; }
    .hero .wrap { grid-template-columns: 1.05fr 0.95fr; gap: 58px; }
    .hero h1 { font-size: clamp(2.05rem, 3.4vw, 2.5rem); }
    .feature-grid { grid-template-columns: repeat(3, 1fr); }
    .more-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 420px) {
    .lp-header .wrap { height: 58px; }
    .lp-logo b { font-size: 1.22rem; }
    .lp-logo span { display: none; }
    .btn { padding: 11px 19px; font-size: 0.9rem; }
    .stats-grid { grid-template-columns: 1fr; gap: 22px; }
    section.block { padding: 58px 0; }
}
