@charset "UTF-8";
/* ===================================================================
   Rekam-AI ランディングページ
   style.css
   デザインはスマL版と同じ「編集（エディトリアル）系」を踏襲しつつ、
   キーカラーは実際のRekam管理画面に合わせた赤にしている。
   =================================================================== */

:root {
    --ink:        #12203a;
    --ink-2:      #4a5b76;
    --ink-3:      #7b8aa3;
    --line:       #dde4ee;

    --paper:      #ffffff;
    --paper-2:    #f3f6fa;

    /* キーカラー：Rekamの管理画面と同じ赤に合わせている */
    --key:        #d8232a;
    --key-d:      #a51a20;
    --key-pale:   #fdeced;

    --red:        #d8232a;
    --red-d:      #a51a20;
    --yellow:     #ffe45c;
    --navy:       #0f1c33;

    --font-jp:    'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Yu Gothic', sans-serif;
    --font-head:  'Zen Kaku Gothic New', 'Noto Sans JP', -apple-system, 'Hiragino Sans', 'Yu Gothic', sans-serif;
    --font-num:   'Barlow Condensed', 'Zen Kaku Gothic New', sans-serif;

    --shadow-hard: 6px 6px 0 var(--ink);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    font-family: var(--font-jp);
    font-size: 16px;
    line-height: 1.9;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
ul, ol { list-style: none; }
::selection { background: var(--yellow); color: var(--ink); }

/* === Utilities === */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }
.sp-br { display: none; }
.pc-br { display: inline; }

.mark {
    background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 94%, transparent 94%);
    padding: 0 .06em;
}

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--key-d);
    background: var(--key-pale);
    border: 1.5px solid var(--key);
    border-radius: 2px;
    padding: 5px 12px;
    line-height: 1.6;
}

.tag-first {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: #fff;
    background: var(--red);
    border-radius: 2px;
    padding: 3px 12px;
    line-height: 1.7;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.4;
    padding: 14px 28px;
    border: 2px solid var(--ink);
    border-radius: 3px;
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
    text-align: center;
    transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .2s var(--ease);
}
.btn-cta {
    background: var(--red);
    color: #fff;
    box-shadow: 4px 4px 0 var(--ink);
}
.btn-cta:hover { background: var(--red-d); transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-sub {
    background: #fff;
    color: var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
}
.btn-sub:hover { background: var(--key-pale); transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-sm { font-size: .88rem; padding: 10px 18px; box-shadow: 3px 3px 0 var(--ink); }
.btn-lg { font-size: 1.12rem; padding: 17px 36px; box-shadow: 5px 5px 0 var(--ink); }
.btn-block { display: flex; width: 100%; }

/* === Header === */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s var(--ease);
}
.header.is-scrolled { box-shadow: 0 4px 18px rgba(18, 32, 58, .1); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 68px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 132px; height: auto; }
.logo-sub {
    font-family: var(--font-jp);
    font-weight: 700;
    font-size: .68rem;
    letter-spacing: .02em;
    color: var(--ink-2);
    line-height: 1.4;
    white-space: nowrap;
    padding-left: 12px;
    border-left: 2px solid var(--line);
}

.nav { display: flex; align-items: center; gap: 24px; }
.nav-list { display: flex; align-items: center; gap: 20px; }
.nav-list a {
    font-size: .9rem;
    font-weight: 700;
    padding-bottom: 4px;
    position: relative;
}
.nav-list a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--key);
    transition: width .2s var(--ease);
}
.nav-list a:hover { color: var(--key-d); }
.nav-list a:hover::after { width: 100%; }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: none;
    border: 1.5px solid var(--line);
    border-radius: 3px;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 22px; height: 2px;
    margin: 0 auto;
    background: var(--ink);
    transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === Hero === */
.hero {
    padding: 130px 0 80px;
    background: linear-gradient(180deg, #fff 0%, var(--key-pale) 100%);
    border-bottom: 2px solid var(--ink);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(14, 124, 107, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 124, 107, .07) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
}
.hero-title {
    font-family: var(--font-head);
    font-weight: 900;
    /* 2行に収まる大きさに抑えている（見出しを長くする場合は要調整） */
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    line-height: 1.4;
    margin: 18px 0 20px;
}
.hero-lead { font-size: 1rem; line-height: 2; color: var(--ink-2); margin-bottom: 24px; }
.hero-lead strong { color: var(--ink); }

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 3px;
    box-shadow: var(--shadow-hard);
    margin-bottom: 26px;
}
.hero-facts .fact {
    flex: 1 1 0;
    min-width: 120px;
    padding: 13px 16px;
    border-right: 1px solid var(--line);
}
.hero-facts .fact:last-child { border-right: 0; }
.hero-facts dt {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--ink-3);
    line-height: 1.6;
}
.hero-facts dd { line-height: 1.25; }
.hero-facts .num {
    font-family: var(--font-num);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--ink);
}
.hero-facts .unit { font-size: .72rem; font-weight: 700; color: var(--ink-2); margin-left: 3px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* === 管理画面キャプチャ === */
.browser {
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow-hard);
}
.browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--paper-2);
    border-bottom: 2px solid var(--ink);
}
.browser-bar .dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--ink);
}
.browser-url {
    flex: 1;
    margin-left: 8px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--ink-3);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2px 12px;
    line-height: 1.8;
}
.browser-body { background: #fff; }
/* 上部だけを見せたいとき（ヒーローなど） */
.browser-body.is-crop-top { height: 340px; overflow: hidden; }
.browser-body.is-crop-top img { object-fit: cover; object-position: top left; height: 100%; width: 100%; }

.screens {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
/* 4枚のキャプチャの天地を揃える（下部をカットして表示） */
.screens .browser-body {
    height: 300px;
    overflow: hidden;
}
.screens .browser-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}
.shot figcaption {
    margin-top: 14px;
    font-size: .85rem;
    line-height: 1.85;
    color: var(--ink-2);
}
.shot figcaption strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 2px;
}
.screens-note {
    margin-top: 20px;
    font-size: .78rem;
    color: var(--ink-3);
}
.hero-visual .shot figcaption { text-align: center; font-size: .8rem; }
.hero-note { font-size: .78rem; color: var(--ink-2); margin-top: 12px; line-height: 1.8; }

/* --- ヒーローのモック画面 --- */
.mock {
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 5px;
    box-shadow: var(--shadow-hard);
    overflow: hidden;
}
.mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--paper-2);
    border-bottom: 2px solid var(--ink);
}
.mock-bar .dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--ink);
}
.mock-title {
    flex: 1;
    margin-left: 8px;
    font-size: .7rem;
    font-weight: 700;
    color: var(--ink-3);
    letter-spacing: .02em;
}
.mock-body { padding: 16px; }

.mock-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 10px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px dashed var(--line);
}
.mock-row:last-child { border-bottom: 0; }
.mock-prompt {
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.6;
}
.mock-prompt span { display: block; font-size: .68rem; font-weight: 500; color: var(--ink-3); }
.mock-flags { display: flex; gap: 6px; justify-content: flex-end; }
.flag {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .64rem;
    font-weight: 700;
    border-radius: 2px;
    padding: 3px 7px;
    line-height: 1.5;
    white-space: nowrap;
}
.flag.is-hit { background: var(--key-pale); color: var(--key-d); border: 1px solid var(--key); }
.flag.is-miss { background: #f6f7f9; color: var(--ink-3); border: 1px solid var(--line); }
.flag i { font-size: .6rem; }

.mock-foot {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 12px 16px;
    background: var(--ink);
    color: #fff;
}
.mock-foot-label { font-size: .74rem; font-weight: 700; color: rgba(255, 255, 255, .7); }
.mock-foot-num {
    font-family: var(--font-num);
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1;
    color: var(--yellow);
}
.mock-cap {
    margin-top: 12px;
    font-size: .74rem;
    color: var(--ink-3);
    text-align: center;
}

/* === Section === */
.section { padding: 92px 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--navy); color: #fff; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }

.sec-head { margin-bottom: 48px; }
.sec-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-num);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--key-d);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ink);
    margin-bottom: 20px;
}
.sec-num {
    font-family: var(--font-num);
    font-size: 1.6rem;
    line-height: 1;
    color: var(--ink);
    padding-right: 12px;
    border-right: 2px solid var(--line);
}
.section-dark .sec-label { color: var(--yellow); border-bottom-color: rgba(255, 255, 255, .3); }
.section-dark .sec-num { color: #fff; border-right-color: rgba(255, 255, 255, .3); }

.sec-title {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(1.55rem, 2.9vw, 2.3rem);
    line-height: 1.45;
}
.sec-lead {
    font-size: 1rem;
    line-height: 2;
    color: var(--ink-2);
    margin-top: 14px;
    max-width: 760px;
}
.section-dark .sec-lead { color: rgba(255, 255, 255, .78); }
.section-dark .sec-lead strong { color: var(--yellow); }

/* === 変化（キーワード → プロンプト） === */
.shift {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: stretch;
}
.shift-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 4px;
    padding: 24px 26px;
}
.shift-card.is-new { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.shift-era { font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: rgba(255, 255, 255, .6); }
.shift-card.is-new .shift-era { color: #6b5a00; }
.shift-title {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.3rem;
    line-height: 1.5;
    margin: 6px 0 14px;
}
.shift-flow { display: flex; flex-wrap: wrap; gap: 8px; }
.shift-flow li {
    font-size: .82rem;
    font-weight: 700;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 3px;
    padding: 6px 12px;
    line-height: 1.5;
}
.shift-card.is-new .shift-flow li { background: rgba(255, 255, 255, .8); border-color: rgba(18, 32, 58, .2); }
.shift-arrow { display: grid; place-items: center; font-size: 1.5rem; color: var(--yellow); }

.shift-note {
    margin-top: 26px;
    font-size: .95rem;
    line-height: 2;
    color: rgba(255, 255, 255, .8);
}
.shift-note strong { color: var(--yellow); }

/* === Rekam と Rekam-AI の違い === */
.vs {
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 4px;
    box-shadow: var(--shadow-hard);
    overflow: hidden;
}
.vs-head, .vs-row {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}
.vs-head {
    background: var(--ink);
    color: #fff;
    font-size: .86rem;
    font-weight: 700;
}
.vs-head span {
    display: grid;
    place-items: center;
    text-align: center;
    padding: 11px 8px;
    line-height: 1.5;
}
.vs-head .is-new { background: var(--key); }
.vs-row { border-top: 1px solid var(--line); }
.vs-key {
    display: grid;
    align-items: center;
    padding: 14px 18px;
    background: var(--paper-2);
    border-right: 1px solid var(--line);
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.5;
}
.vs-cell {
    display: grid;
    align-items: center;
    padding: 14px 18px;
    font-size: .86rem;
    line-height: 1.7;
    color: var(--ink-2);
}
.vs-cell.is-new {
    background: var(--key-pale);
    border-left: 1px solid var(--line);
    color: var(--ink);
    font-weight: 700;
}

/* === 機能カード === */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.feature {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 3px;
    padding: 24px 22px 26px;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.feature:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: var(--shadow-hard); }
.feature-icon {
    width: 44px; height: 44px;
    display: grid;
    place-items: center;
    background: var(--key);
    color: #fff;
    border-radius: 3px;
    font-size: 1.05rem;
    margin-bottom: 14px;
}
.feature-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.08rem;
    line-height: 1.6;
    margin-bottom: 8px;
}
.feature-text { font-size: .87rem; line-height: 1.9; color: var(--ink-2); }
.feature-list { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.feature-list li {
    font-size: .74rem;
    font-weight: 700;
    color: var(--key-d);
    background: var(--key-pale);
    border-radius: 2px;
    padding: 2px 9px;
    line-height: 1.7;
}

/* === 言及率の比較（横棒） === */
.chart {
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 4px;
    box-shadow: var(--shadow-hard);
    padding: 26px 28px 22px;
}
.chart-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
}
.chart-title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.chart-legend { display: flex; gap: 14px; }
.chart-legend span { display: flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; color: var(--ink-2); }
.chart-legend i { width: 12px; height: 12px; border-radius: 2px; display: block; }
.chart-legend .key-own { background: var(--key); }
.chart-legend .key-rival { background: #94a3b8; }

.bars { display: grid; gap: 10px; }
.bar-row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) 62px;
    align-items: center;
    gap: 12px;
}
.bar-name { font-size: .84rem; font-weight: 700; line-height: 1.4; }
.bar-track { display: block; background: var(--paper-2); border-radius: 3px; height: 20px; }
.bar-fill {
    display: block;
    height: 100%;
    background: #94a3b8;
    border-radius: 0 4px 4px 0;
    /* JSが動かなくても最初から正しい幅で見えるようにし、
       画面に入ったときだけ左から伸びるアニメーションを足す */
    transform-origin: left center;
}
@keyframes barGrow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}
.chart.is-ready .bar-fill { animation: barGrow .85s var(--ease) both; }
.chart.is-ready .bar-row:nth-child(2) .bar-fill { animation-delay: .07s; }
.chart.is-ready .bar-row:nth-child(3) .bar-fill { animation-delay: .14s; }
.chart.is-ready .bar-row:nth-child(4) .bar-fill { animation-delay: .21s; }
.chart.is-ready .bar-row:nth-child(5) .bar-fill { animation-delay: .28s; }
.chart.is-ready .bar-row:nth-child(6) .bar-fill { animation-delay: .35s; }
.chart.is-ready .bar-row:nth-child(7) .bar-fill { animation-delay: .42s; }
@media (prefers-reduced-motion: reduce) {
    .chart.is-ready .bar-fill { animation: none; }
}
.bar-row.is-own .bar-name { color: var(--key-d); }
.bar-row.is-own .bar-fill { background: var(--key); }
.bar-val {
    font-family: var(--font-num);
    font-size: 1.35rem;
    font-weight: 700;
    text-align: right;
    line-height: 1;
    color: var(--ink-2);
}
.bar-row.is-own .bar-val { color: var(--key-d); font-size: 1.6rem; }
.chart-note {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: .78rem;
    line-height: 1.8;
    color: var(--ink-3);
}

/* === 対応範囲テーブル === */
.spec {
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 4px;
    overflow: hidden;
}
.spec-row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    border-bottom: 1px solid var(--line);
}
.spec-row:last-child { border-bottom: 0; }
.spec-key {
    padding: 16px 20px;
    background: var(--paper-2);
    border-right: 1px solid var(--line);
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.6;
}
.spec-val { padding: 16px 20px; font-size: .9rem; line-height: 1.85; color: var(--ink-2); }
.spec-val strong { color: var(--ink); }
.spec-sub { font-size: .84em; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.chips li {
    font-size: .78rem;
    font-weight: 700;
    color: var(--ink);
    background: var(--key-pale);
    border: 1px solid var(--key);
    border-radius: 2px;
    padding: 2px 10px;
    line-height: 1.7;
}

/* === 他社比較テーブル === */
.ctable-wrap { overflow-x: auto; }
.ctable {
    width: 100%;
    min-width: 860px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 4px;
    overflow: hidden;
}
.ctable th, .ctable td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    font-size: .86rem;
    line-height: 1.7;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
}
.ctable tr:last-child th, .ctable tr:last-child td { border-bottom: 0; }
.ctable th:last-child, .ctable td:last-child { border-right: 0; }

.ctable thead th {
    background: var(--ink);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .95rem;
    text-align: center;
    border-bottom: 0;
    border-right-color: rgba(255, 255, 255, .2);
}
.ctable thead th.is-own { background: var(--key); }
.ctable thead th.ctable-item { width: 150px; }

.ctable tbody th {
    background: var(--paper-2);
    font-weight: 700;
    width: 150px;
    white-space: nowrap;
}
.ctable tbody td { color: var(--ink-2); }
.ctable tbody td.is-own {
    background: var(--key-pale);
    color: var(--ink);
    font-weight: 700;
}
.ctable b {
    font-family: var(--font-num);
    font-size: 1.5rem;
    font-weight: 700;
}
.ctable td.is-own b { color: var(--key-d); }
.ctable-sub {
    display: block;
    font-family: var(--font-jp);
    font-size: .72rem;
    font-weight: 500;
    color: var(--ink-3);
    line-height: 1.6;
}
.ctable td.is-own .ctable-sub { color: var(--ink-2); }
.ctable .fa-circle-check { color: var(--key); margin-right: 5px; }
.ctable-no { color: var(--ink-3); }

.ctable-note {
    margin-top: 18px;
    background: var(--paper-2);
    border-left: 4px solid var(--ink-3);
    border-radius: 0 3px 3px 0;
    padding: 16px 20px;
}
.ctable-note p { font-size: .78rem; line-height: 1.85; color: var(--ink-2); }
.ctable-note p + p { margin-top: 4px; }

/* FAQ内の小さな比較表 */
.faq-table {
    margin: 12px 0;
    border: 1px solid var(--line);
    border-radius: 3px;
    overflow: hidden;
}
.faq-table-row {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.2fr);
    border-bottom: 1px solid var(--line);
}
.faq-table-row:last-child { border-bottom: 0; }
.faq-table-row span {
    padding: 9px 12px;
    font-size: .8rem;
    line-height: 1.6;
    border-right: 1px solid var(--line);
}
.faq-table-row span:last-child { border-right: 0; background: var(--key-pale); font-weight: 700; color: var(--ink); }
.faq-table-row span:first-child { background: var(--paper-2); font-weight: 700; }
.faq-table-row.is-head span {
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: .76rem;
}
.faq-table-row.is-head span:last-child { background: var(--key); color: #fff; }

/* === キャラクター === */
/* 殿様＝強調ポイント、小僧・町娘＝補助的なポイントで使う */
.chara {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}
.chara-img { width: 100%; height: auto; }
.chara-bubble {
    position: relative;
    background: #fff;
    color: var(--ink);
    border: 2px solid var(--ink);
    border-radius: 6px;
    padding: 22px 26px;
}
.chara-bubble::before,
.chara-bubble::after {
    content: "";
    position: absolute;
    top: 40px;
    width: 0; height: 0;
    border-style: solid;
}
.chara-bubble::before {
    left: -16px;
    border-width: 10px 16px 10px 0;
    border-color: transparent var(--ink) transparent transparent;
}
.chara-bubble::after {
    left: -12px;
    border-width: 8px 13px 8px 0;
    border-color: transparent #fff transparent transparent;
}
.chara-say {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(1.05rem, 2.1vw, 1.4rem);
    line-height: 1.6;
    margin-bottom: 10px;
}
.chara-note { font-size: .9rem; line-height: 1.9; color: var(--ink-2); }

/* 小さく添えるキャラクター */
.chara-mini {
    display: inline-block;
    width: 62px;
    height: auto;
    vertical-align: -18px;
    margin-right: 8px;
}
.sec-title .chara-mini { vertical-align: -14px; width: 66px; }

.cta-chara {
    width: 128px;
    height: auto;
    margin: 0 auto 6px;
}

/* === 料金シミュレーター === */
.sim {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    margin-bottom: 30px;
}
.sim-controls {
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 4px;
    padding: 26px 28px 28px;
}
.sim-group + .sim-group { margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line); }
.sim-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
}
.sim-step {
    display: grid;
    place-items: center;
    width: 24px; height: 24px;
    background: var(--key);
    color: #fff;
    border-radius: 2px;
    font-family: var(--font-num);
    font-size: 1.05rem;
    line-height: 1;
}
.sim-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.sim-chip {
    font-family: var(--font-jp);
    font-size: .9rem;
    font-weight: 700;
    color: var(--ink);
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 3px;
    padding: 9px 16px;
    cursor: pointer;
    line-height: 1.5;
    transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease);
}
.sim-chip:hover { border-color: var(--key); }
.sim-chip.is-active {
    background: var(--key);
    border-color: var(--key);
    color: #fff;
}
.sim-badge {
    display: inline-block;
    margin-left: 7px;
    font-size: .68rem;
    font-weight: 700;
    color: var(--ink);
    background: var(--yellow);
    border-radius: 2px;
    padding: 1px 6px;
    line-height: 1.6;
}

.sim-option {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    background: var(--paper-2);
    border: 2px solid var(--line);
    border-radius: 3px;
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.sim-option:hover { border-color: var(--key); }
.sim-option input { position: absolute; opacity: 0; pointer-events: none; }
.sim-option-box {
    display: grid;
    place-items: center;
    width: 24px; height: 24px;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 2px;
    font-size: .72rem;
    color: transparent;
}
.sim-option input:checked + .sim-option-box { background: var(--key); border-color: var(--key); color: #fff; }
.sim-option:has(input:checked) { background: var(--key-pale); border-color: var(--key); }
.sim-option-name { display: block; font-weight: 700; font-size: .95rem; line-height: 1.5; }
.sim-option-text { display: block; font-size: .78rem; color: var(--ink-2); line-height: 1.6; }
.sim-option-price { font-family: var(--font-num); font-size: 1.3rem; font-weight: 700; white-space: nowrap; }

.sim-result {
    background: var(--ink);
    color: #fff;
    border: 2px solid var(--ink);
    border-radius: 4px;
    box-shadow: var(--shadow-hard);
    padding: 26px 28px 28px;
    position: sticky;
    top: 90px;
}
.sim-result-label { font-size: .82rem; font-weight: 700; color: rgba(255, 255, 255, .7); }
.sim-result-price { display: flex; align-items: baseline; gap: 2px; line-height: 1; margin: 4px 0 2px; }
.sim-cur { font-family: var(--font-num); font-size: 1.9rem; font-weight: 700; color: var(--yellow); }
.sim-amount {
    font-family: var(--font-num);
    font-size: 4rem;
    font-weight: 700;
    color: var(--yellow);
    letter-spacing: .005em;
}
.sim-result-sub { font-size: .8rem; color: rgba(255, 255, 255, .6); }

.sim-breakdown {
    margin: 18px 0;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    display: grid;
    gap: 7px;
}
.sim-breakdown li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: .84rem;
}
.sim-breakdown b { font-family: var(--font-num); font-size: 1.2rem; font-weight: 700; }
.sim-result-plan { font-size: .82rem; color: rgba(255, 255, 255, .75); margin-bottom: 16px; }

/* 追加オプション */
.price-add {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 4px;
    padding: 22px 24px;
    margin-bottom: 24px;
}
.price-add-title { font-family: var(--font-head); font-weight: 700; font-size: 1rem; margin-bottom: 14px; }
.price-add-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.price-add-item {
    background: var(--paper-2);
    border-radius: 3px;
    padding: 12px 14px;
    text-align: center;
}
.price-add-item span { display: block; font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.price-add-item b { font-family: var(--font-num); font-size: 1.7rem; font-weight: 700; }
.price-add-note { margin-top: 12px; font-size: .78rem; color: var(--ink-3); }

/* === 料金 === */
.price-model {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 26px;
}
.price-axis {
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 4px;
    box-shadow: var(--shadow-hard);
    padding: 24px 26px;
    text-align: center;
}
.price-axis-name { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.price-axis-text { font-size: .84rem; line-height: 1.8; color: var(--ink-2); }
.price-x { font-family: var(--font-num); font-size: 2rem; font-weight: 700; color: var(--key); }

.price-note {
    background: var(--key-pale);
    border-left: 5px solid var(--key);
    border-radius: 0 3px 3px 0;
    padding: 20px 24px;
}
.price-note p { font-size: .92rem; line-height: 1.9; }
.price-note p + p { margin-top: 6px; }

/* === FAQ === */
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 19px 40px 19px 0;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.7;
    cursor: pointer;
    list-style: none;
    position: relative;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::before {
    content: "Q";
    font-family: var(--font-num);
    font-size: 1.2rem;
    color: #fff;
    background: var(--key);
    width: 26px; height: 26px;
    display: grid;
    place-items: center;
    border-radius: 2px;
    flex: 0 0 auto;
    margin-top: 3px;
    line-height: 1;
}
.faq-q::after {
    content: "";
    position: absolute;
    right: 8px; top: 29px;
    width: 12px; height: 12px;
    border-right: 2px solid var(--ink-3);
    border-bottom: 2px solid var(--ink-3);
    transform: rotate(45deg);
    transition: transform .25s var(--ease);
}
.faq-item[open] .faq-q { color: var(--key-d); }
.faq-item[open] .faq-q::after { transform: rotate(-135deg); }
.faq-a { display: flex; gap: 14px; padding: 0 20px 22px 0; }
.faq-a::before {
    content: "A";
    font-family: var(--font-num);
    font-size: 1.2rem;
    color: var(--ink);
    background: var(--yellow);
    width: 26px; height: 26px;
    display: grid;
    place-items: center;
    border-radius: 2px;
    flex: 0 0 auto;
    line-height: 1;
}
.faq-a p { font-size: .91rem; line-height: 2; color: var(--ink-2); }

/* === CTA === */
.cta {
    background: var(--yellow);
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    padding: 72px 0;
    text-align: center;
}
.cta-title {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(1.6rem, 3.2vw, 2.5rem);
    line-height: 1.45;
    margin: 18px 0 14px;
}
.cta-lead { font-size: 1rem; line-height: 2; color: #3c3a1a; margin-bottom: 28px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-note {
    font-size: .78rem;
    line-height: 1.9;
    color: #4a4726;
    max-width: 720px;
    margin: 20px auto 0;
}

/* === Footer === */
.footer { background: var(--navy); color: rgba(255, 255, 255, .8); padding: 56px 0 24px; }
.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 36px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.footer-brand p { font-size: .84rem; line-height: 1.9; color: rgba(255, 255, 255, .62); margin-top: 14px; }
.footer-logo { width: 150px; height: auto; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.footer-col h3 {
    font-family: var(--font-head);
    font-size: .92rem;
    font-weight: 700;
    color: #fff;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: .84rem; color: rgba(255, 255, 255, .7); }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { padding-top: 20px; text-align: center; }
.footer-bottom p { font-size: .76rem; color: rgba(255, 255, 255, .5); }

/* === 追従CTA（SP） === */
.sticky-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 900;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top: 2px solid var(--ink);
    transform: translateY(110%);
    transition: transform .3s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { flex: 1; font-size: .92rem; padding: 12px 10px; }

/* === Reveal === */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
}

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1000px) {
    .nav-list { gap: 14px; }
    .nav-list a { font-size: .84rem; }
}

@media (max-width: 960px) {
    .section { padding: 68px 0; }

    .menu-toggle { display: flex; }
    .nav {
        position: fixed;
        top: 68px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 2px solid var(--ink);
        padding: 8px 24px 24px;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
        transform: translateY(-100%);
        visibility: hidden;
        pointer-events: none;
        transition: transform .3s var(--ease), visibility 0s linear .3s;
        box-shadow: 0 16px 30px rgba(18, 32, 58, .14);
    }
    .nav.is-open {
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
        transition: transform .3s var(--ease), visibility 0s;
    }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-list li { border-bottom: 1px solid var(--line); }
    .nav-list a { display: block; padding: 15px 4px; font-size: 1rem; }
    .nav-list a::after { display: none; }
    .nav-cta { margin-top: 16px; }

    .hero { padding: 106px 0 60px; }
    .hero-inner { grid-template-columns: 1fr; gap: 34px; }

    .shift { grid-template-columns: 1fr; }
    .shift-arrow { transform: rotate(90deg); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .screens { grid-template-columns: 1fr; }
    .sim { grid-template-columns: 1fr; }
    .sim-result { position: static; }
    .price-model { grid-template-columns: 1fr; }
    .price-x { transform: rotate(90deg); }
    .footer-main { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 768px) {
    body { font-size: 15px; }
    .container { padding: 0 18px; }
    .section { padding: 56px 0; }
    .sp-br { display: block; }
    .pc-br { display: none; }

    .sec-head { margin-bottom: 32px; }
    .sec-lead { font-size: .92rem; }

    .hero { padding: 94px 0 48px; }
    .hero-lead { font-size: .94rem; }
    .hero-facts { box-shadow: 4px 4px 0 var(--ink); }
    .hero-facts .fact { flex: 1 1 33%; min-width: 0; padding: 11px 12px; }
    .hero-facts .num { font-size: 1.4rem; }
    .hero-cta .btn { width: 100%; }
    .btn-lg { font-size: 1.02rem; padding: 15px 20px; }

    .mock-row { grid-template-columns: 1fr; gap: 6px; }
    .mock-flags { justify-content: flex-start; }
    .browser-body.is-crop-top { height: 220px; }
    .screens { grid-template-columns: 1fr; gap: 24px; }

    .vs-head, .vs-row { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) minmax(0, 1fr); }
    .vs-head { font-size: .72rem; }
    .vs-key { padding: 12px 10px; font-size: .74rem; }
    .vs-cell { padding: 12px 10px; font-size: .76rem; }

    .feature-grid { grid-template-columns: 1fr; gap: 12px; }
    .feature:hover { transform: none; box-shadow: none; border-color: var(--line); }

    .chart { padding: 18px 16px 16px; }
    .chart-head { flex-direction: column; align-items: flex-start; }
    .bar-row { grid-template-columns: 92px minmax(0, 1fr) 50px; gap: 8px; }
    .bar-name { font-size: .74rem; }
    .bar-val { font-size: 1.1rem; }
    .bar-row.is-own .bar-val { font-size: 1.3rem; }

    .spec-row { grid-template-columns: 1fr; }
    .spec-key { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; }
    .spec-val { padding: 14px 16px; }

    .price-axis { padding: 20px; }
    .price-note { padding: 18px; }

    .chara { grid-template-columns: 1fr; gap: 0; justify-items: center; }
    .chara-img { width: 150px; }
    .chara-bubble { padding: 18px 20px; }
    .chara-bubble::before, .chara-bubble::after { display: none; }
    .chara-mini { width: 50px; vertical-align: -14px; }
    .sec-title .chara-mini { width: 52px; vertical-align: -12px; }
    .cta-chara { width: 104px; }

    .sim-controls { padding: 20px 18px 22px; }
    .sim-result { padding: 20px 20px 22px; }
    .sim-amount { font-size: 3.2rem; }
    .sim-chip { font-size: .84rem; padding: 8px 13px; }
    .sim-option { grid-template-columns: 24px minmax(0, 1fr); row-gap: 6px; }
    .sim-option-price { grid-column: 2; justify-self: start; }
    .price-add-grid { grid-template-columns: repeat(2, 1fr); }

    .screens .browser-body { height: 220px; }
    .ctable { min-width: 720px; }
    .ctable th, .ctable td { padding: 11px 12px; font-size: .78rem; }
    .ctable thead th.ctable-item, .ctable tbody th { width: 108px; }
    .ctable b { font-size: 1.2rem; }
    .faq-table-row span { padding: 8px 9px; font-size: .72rem; }

    .faq-q { font-size: .95rem; padding: 16px 34px 16px 0; }
    .faq-q::after { top: 25px; width: 10px; height: 10px; }

    .cta { padding: 52px 0; }
    .cta-buttons .btn { width: 100%; }
    .footer-cols { grid-template-columns: 1fr; }

    .sticky-cta { display: flex; }
    body { padding-bottom: 72px; }
}
