/* ───────────────────────────────────────────────────────────
   Rank1 アプリLP — トップページ (/) 専用
   ・紺 #1E2A55 × コーラル #EE7B5F(アプリ・メルマガLPと同一トークン)
   ・端末モックは画像とHTMLの併用。HTML側はタイマーが実際に動く
   ・メルマガLP(/magazine/)は css/lp.css。こちらとは独立
   ─────────────────────────────────────────────────────────── */
:root {
    --navy: #1e2a55;
    --navy-deep: #151f42;
    --coral: #ee7b5f;
    --coral-light: #ee9b85;
    --coral-warn: #f58c74;
    --green: #6fcf9a;
    --bg: #f7f8fa;
    --bg-alt: #eff1f6;
    --stack-jp: "Noto Sans JP", system-ui, sans-serif;
    --stack-en: "Inter", "Noto Sans JP", system-ui, sans-serif;

    /* 製図用紙の5mm方眼。CSS の mm は「1in = 96px」の固定換算なので
       5mm = 18.898px に解決され、実機の画素密度は見ない。
       物理的に正確なのは印刷時だけで、画面では PC のモニタでほぼ実寸、
       スマホでは3mm前後に見える。密度が気になるときは px 指定に戻してよい。
       背景レイヤーとして使うので、必ず色より前(=上)に重ねる。
       js/app.js がこの値を px に解決して各セクションの高さを整数倍に揃えるので、
       単位を変えても横線の通りはそのまま追随する */
    --grid-size: 5mm;
    --grid-dark:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px var(--grid-size)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px var(--grid-size));
    --grid-light:
        repeating-linear-gradient(0deg, rgba(30, 42, 85, 0.055) 0 1px, transparent 1px var(--grid-size)),
        repeating-linear-gradient(90deg, rgba(30, 42, 85, 0.055) 0 1px, transparent 1px var(--grid-size));
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--navy);
    font-family: var(--stack-jp);
    font-size: 16px;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--navy);
    text-decoration: none;
}

a:hover {
    color: var(--coral);
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
    text-wrap: pretty;
}

/* img の width/height 属性は CLS 防止のために入れてある。
   CSS 側で幅を決める画像は height:auto を当てないと縦に伸びる */
img {
    max-width: 100%;
    height: auto;
}

/* ── スクロール連動の出現 ──────────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-reveal][data-blur] {
    filter: blur(10px);
    transition:
        opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
        filter 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-reveal][data-on] {
    opacity: 1;
    transform: none;
}

/* filter の解除は data-blur を付けた要素だけ。
   まとめて filter:none にすると、画像の drop-shadow まで消える */
[data-reveal][data-blur][data-on],
.no-js [data-reveal][data-blur] {
    filter: none;
}

/* JS が動かない環境では最初から見えている状態にする */
.no-js [data-reveal] {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    [data-reveal][data-blur] {
        filter: none;
    }
}

/* ── 共通パーツ ────────────────────────────────────── */
.wrap {
    max-width: 1080px;
    margin: 0 auto;
}

.wrap--narrow {
    max-width: 720px;
    margin: 0 auto;
}

.sec {
    padding: 70px 24px;
}

.sec--light {
    background: var(--grid-light), var(--bg);
}

.sec--alt {
    background: var(--grid-light), var(--bg-alt);
}

.sec--navy {
    background:
        var(--grid-dark),
        linear-gradient(178deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--stack-en);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--coral);
}

.eyebrow::after {
    content: "";
    width: 22px;
    height: 1.5px;
    background: currentColor;
    opacity: 0.7;
}

.eyebrow--onnavy {
    color: var(--coral-light);
}

.sec-title {
    font-weight: 900;
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.5;
    margin-top: 12px;
}

.lede {
    margin-top: 16px;
    font-size: 15px;
    line-height: 2;
    color: rgba(30, 42, 85, 0.78);
}

.sec--navy .lede {
    color: rgba(255, 255, 255, 0.8);
}

/* 本文 + 端末画像の2カラム。画像側が先に来る節は --flip */
.split {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}

.split--flip {
    flex-wrap: wrap-reverse;
}

.split__text {
    flex: 1.1;
    min-width: 300px;
}

.split__shots {
    flex: 1;
    min-width: 280px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
}

/* スクリーンショットは 741x1604(iPhone 実寸比)。高さは幅から決める。
   img に height 属性を書くと CSS より先に効いて縦に伸びるので書かない */
.shot,
.hero__shot {
    height: auto;
    aspect-ratio: 741 / 1604;
}

.shot {
    width: min(46%, 230px);
    display: block;
    filter: drop-shadow(0 14px 30px rgba(30, 42, 85, 0.22));
}

/* 2枚並べるときは後ろの1枚を下げて段差をつける */
.shot--lower {
    margin-top: 44px;
}

.shot--single {
    width: min(260px, 80%);
}

/* ── ストアバッジ ──────────────────────────────────── */
.badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

/* Apple / Google の公式バッジ画像。両社とも「高さを揃える」がガイドラインなので、
   高さだけ指定して幅は成り行きにする(縦横比が社ごとに違う) */
.badge-store {
    display: inline-flex;
}

.badge-store img {
    height: 44px;
    width: auto;
    display: block;
}

.badge-store:hover {
    opacity: 0.88;
}

/* ストア公開前。押せないことが見て分かる状態にしておく */
.badge-store[aria-disabled="true"],
.badge-store[aria-disabled="true"]:hover {
    opacity: 0.45;
    cursor: not-allowed;
}

.soon {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--coral-light);
    border: 1px solid rgba(238, 155, 133, 0.5);
    border-radius: 99px;
    padding: 1px 10px;
    margin-right: 6px;
    white-space: nowrap;
}

/* ── ヒーロー ──────────────────────────────────────── */
/* コーラルの光は hero 全面に敷く。子要素の疑似要素に持たせると、
   その要素のボックス(コンテナ幅 1080px)で切れて縦のエッジが出る。
   消える側は transparent ではなく alpha 0 の同色にする(黒に寄って濁るのを防ぐ) */
.hero {
    background:
        var(--grid-dark),
        radial-gradient(52% 62% at 74% 32%, rgba(238, 123, 95, 0.26) 0%, rgba(238, 123, 95, 0) 68%),
        linear-gradient(178deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: #fff;
    overflow: hidden;
}

.hero__inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 24px 0;
}

.hero__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.brand:hover {
    color: #fff;
}

.brand img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: block;
}

.brand__name {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand__name b {
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 0.02em;
}

.brand__name small {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
}

.hero__nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.navlink {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
}

.navlink:hover {
    color: var(--coral-light);
}

.tag {
    font-size: 11px;
    letter-spacing: 0.06em;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 99px;
    padding: 4px 12px;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
}

.hero__main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 40px;
    margin-top: 44px;
}

.hero__copy {
    flex: 1.2;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-bottom: 56px;
}

.hero__title {
    font-weight: 900;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.42;
    letter-spacing: 0.01em;
    text-wrap: balance;
}

.hero__title em {
    font-style: normal;
    color: var(--coral-light);
}

.hero__lead {
    font-size: clamp(15px, 1.4vw, 16.5px);
    line-height: 1.95;
    color: rgba(255, 255, 255, 0.85);
    max-width: 46ch;
}

.hero__lead b {
    color: #fff;
}

.hero__byline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.hero__cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
    max-width: 420px;
}

.hero__note {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
}

.hero__stage {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 26px;
}

.hero__shot {
    width: 180px;
    display: block;
    filter: drop-shadow(0 -8px 40px rgba(0, 0, 0, 0.45));
    margin-bottom: -210px;
    position: relative;
}

/* ── 端末モック(縦) ──────────────────────────────── */
/* 390x844 の実寸で組んで scale で縮める。中の比率が本物とずれない */
.phone {
    width: 281px;
    height: 560px;
    position: relative;
}

.phone__body {
    width: 390px;
    height: 844px;
    background: var(--navy);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: #fff;
    transform: scale(0.72);
    transform-origin: top left;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.22),
        0 40px 90px rgba(0, 0, 0, 0.55);
}

.phone__status {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 600;
}

.phone__status span:first-child {
    font-variant-numeric: tabular-nums;
}

.battery {
    width: 20px;
    height: 10px;
    border: 1px solid #fff;
    border-radius: 3px;
    position: relative;
}

.battery::before {
    content: "";
    position: absolute;
    top: 1px;
    bottom: 1px;
    left: 1px;
    right: 5px;
    background: #fff;
    border-radius: 1px;
}

.phone__screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 8px 20px 0;
    gap: 12px;
}

.clock-row {
    display: flex;
    justify-content: center;
    padding-top: 2px;
}

.clock-caption {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    margin: 6px 0 24px;
}

/* 試験終了(17:30)の目盛りと同じ色。文字盤の弧の終端と対応させている */
.sep {
    color: var(--coral);
}

.overall {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 14px;
}

.overall__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.overall__label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.overall__value {
    font-size: 32px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}

.overall__value small {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    margin-left: 6px;
}

.overall__bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.overall__bar span {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--coral);
    border-radius: 2px;
}

.overall__hint {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 7px;
    text-align: right;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-variant-numeric: tabular-nums;
}

.step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 13px;
}

.step--done {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6);
}

.step--done > span:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step__check {
    color: var(--green);
}

.step__over {
    color: var(--coral-warn);
}

.step__under {
    color: var(--green);
}

.step--todo {
    color: rgba(255, 255, 255, 0.4);
}

.step--now {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--coral);
}

.step--now .step__name {
    font-size: 17px;
    font-weight: 700;
    color: var(--coral);
}

.step__time {
    text-align: right;
}

.step__time b {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
}

.step__time small {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
}

.phone__foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 28px;
}

.btn-next {
    background: var(--coral);
    border-radius: 12px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    gap: 8px;
}

.btn-next span {
    font-size: 21px;
}

.subactions {
    display: flex;
    justify-content: center;
    gap: 36px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.subactions > span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-pause {
    font-size: 15px;
    letter-spacing: 2px;
}

.icon-stop {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.4);
    display: inline-block;
}

/* ── 共感 ──────────────────────────────────────────── */
.sec--problem {
    padding-top: 120px;
}

.prose {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 22px;
    font-size: 15px;
    line-height: 2;
    color: rgba(30, 42, 85, 0.78);
}

.prose b {
    color: var(--navy);
}

.pull {
    margin-top: 26px;
    background: #fff;
    border: 1px solid rgba(30, 42, 85, 0.08);
    border-radius: 16px;
    padding: 24px 26px;
    box-shadow: 0 8px 24px rgba(30, 42, 85, 0.06);
}

.pull__lead {
    font-weight: 900;
    font-size: 17px;
    line-height: 1.9;
}

.pull__lead em {
    font-style: normal;
    color: var(--coral);
}

.pull__sub {
    margin-top: 10px;
    font-size: 14px;
    color: rgba(30, 42, 85, 0.6);
}

/* ── 機能カード ────────────────────────────────────── */
.points {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.point {
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: 0 4px 14px rgba(30, 42, 85, 0.05);
}

.point__num {
    font-family: var(--stack-en);
    font-weight: 800;
    font-size: 12px;
    color: #fff;
    background: var(--navy);
    border-radius: 8px;
    min-width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    margin-top: 2px;
}

.point h3 {
    font-weight: 700;
    font-size: 15px;
}

.point p {
    margin-top: 4px;
    font-size: 13.5px;
    line-height: 1.9;
    color: rgba(30, 42, 85, 0.7);
}

/* ── 横向き(グランス) ────────────────────────────── */
.sec--record {
    padding-top: 100px;
}

/* 端末が画面幅いっぱいまで伸びるので、左右のパディングは内側で持つ */
.sec--glance {
    padding: 70px 0 64px;
    background: var(--grid-dark), var(--navy);
    overflow: hidden;
}

.glance__head {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.glance__head .lede {
    max-width: 56ch;
    margin-left: auto;
    margin-right: auto;
}

.glance__stage {
    max-width: 920px;
    margin: 36px auto 0;
    padding: 0 24px;
}

/* 844x390 の実寸を、幅に合わせて JS が --glance-scale で縮める */
.glance {
    width: 100%;
    aspect-ratio: 844 / 390;
    filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.45));
}

.glance__body {
    width: 844px;
    height: 390px;
    transform: scale(var(--glance-scale, 0.4));
    transform-origin: top left;
    background: var(--navy);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22);
}

.glance__cols {
    flex: 1;
    display: flex;
    align-items: center;
}

.glance__clock {
    flex: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.glance__clock small {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 4px;
}

.glance__rule {
    width: 1px;
    height: 250px;
    background: rgba(255, 255, 255, 0.15);
}

.glance__steps {
    flex: 8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    font-variant-numeric: tabular-nums;
}

.glance__steps .overall__row {
    padding: 0 2px;
}

.glance__steps .overall__label {
    font-size: 13px;
}

.glance__steps .overall__value {
    font-size: 26px;
}

.glance__steps .overall__value small {
    font-size: 12px;
    margin-left: 5px;
}

.glance__steps .steps {
    gap: 4px;
}

.glance__steps .step {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
}

.glance__steps .step--done > span:first-child {
    gap: 7px;
}

.glance__steps .step--now {
    padding: 7px 10px;
}

.glance__steps .step--now .step__name {
    font-size: 15px;
}

.glance__steps .step__time b {
    font-size: 21px;
}

.glance__steps .step__time small {
    font-size: 10px;
}

.glance__actions {
    flex: 4;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 22px 22px 4px;
}

.gbtn {
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gbtn--pause {
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.gbtn--pause .icon-pause {
    font-size: 11px;
}

.gbtn--stop {
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.gbtn--stop .icon-stop {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
}

.gbtn--next {
    margin-top: auto;
    height: 88px;
    background: var(--coral);
    border-radius: 16px;
    flex-direction: column;
    gap: 3px;
    text-align: center;
    padding: 0 10px;
    box-shadow: 0 4px 14px rgba(238, 123, 95, 0.35);
}

.gbtn--next small {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.85;
    letter-spacing: 0.06em;
}

.gbtn--next b {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 7px;
}

/* 画面下端の工程バー。flex の比率がそのまま時間配分 */
.gbars {
    display: flex;
    gap: 5px;
    padding: 0 40px 12px;
}

.gbar {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gbar__name,
.gbar__time {
    text-align: center;
    white-space: nowrap;
}

.gbar__name {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
}

.gbar__time {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.45);
    font-variant-numeric: tabular-nums;
}

.gbar__track {
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.gbar--done .gbar__track {
    background: rgba(255, 255, 255, 0.4);
}

.gbar--now .gbar__name,
.gbar--now .gbar__time {
    color: var(--coral);
    font-weight: 700;
}

.gbar__fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--coral);
    border-radius: 3px;
}

/* ── 開発者 ────────────────────────────────────────── */
.record {
    margin-top: 22px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(30, 42, 85, 0.06);
}

.record__grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr 0.9fr;
    font-size: 13px;
}

.record__grid > div {
    padding: 11px 8px;
    border-bottom: 1px solid rgba(30, 42, 85, 0.06);
}

.record__grid > div:nth-child(3n + 1) {
    padding-left: 16px;
    padding-right: 16px;
}

.record__grid > div:nth-child(3n) {
    padding-left: 12px;
    padding-right: 12px;
    text-align: center;
}

.record__grid .rec-head {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    border-bottom: 0;
}

.record__grid > div:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.rec-rank {
    font-family: var(--stack-en);
    font-weight: 700;
    color: rgba(30, 42, 85, 0.55);
}

.rec-pass {
    font-weight: 700;
}

.rec-badge {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: var(--coral);
    color: #fff;
    font-family: var(--stack-en);
    font-weight: 800;
    font-size: 14px;
}

.aftertext {
    margin-top: 18px;
    font-size: 14.5px;
    line-height: 2;
    color: rgba(30, 42, 85, 0.75);
}

/* ── FAQ ───────────────────────────────────────────── */
.faqs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
}

.faq {
    background: #fff;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 4px 14px rgba(30, 42, 85, 0.05);
}

.faq h3 {
    font-weight: 700;
    font-size: 15px;
}

.faq p {
    margin-top: 6px;
    font-size: 13.5px;
    line-height: 1.95;
    color: rgba(30, 42, 85, 0.7);
}

/* ── クロージング + フッター ──────────────────────── */
.sec--closing {
    padding: 70px 24px 48px;
    text-align: center;
}

.closing__title {
    font-weight: 900;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.55;
    text-wrap: balance;
}

.closing__lead {
    margin-top: 14px;
    font-size: 14.5px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.75);
}

.sec--closing .badges {
    margin-top: 24px;
    justify-content: center;
}

.sec--closing .soon {
    margin: 14px 0 0;
}

.foot {
    max-width: 1080px;
    margin: 52px auto 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-align: left;
}

.foot__links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.foot__links a {
    color: rgba(255, 255, 255, 0.65);
}

.foot__links a:hover {
    color: var(--coral-light);
}

.foot__disclaimer {
    line-height: 1.9;
}

/* ── 法務ページ(/terms/ /privacy/ /law/) ──────────── */
/* アプリの設定画面がこの3本のURLを直接開く。LPと同じシェルを被せて
   ブランドを揃えるが、中身は読ませるための素直な文書レイアウトにする */
.dochead {
    background:
        var(--grid-dark),
        linear-gradient(178deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: #fff;
    padding: 20px 24px;
}

.dochead__inner {
    max-width: 760px;
    margin: 0 auto;
}

.doc {
    background: var(--grid-light), var(--bg);
    padding: 48px 24px 72px;
}

.doc__inner {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(30, 42, 85, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(30, 42, 85, 0.06);
    padding: 44px clamp(20px, 4vw, 48px) 48px;
}

.doc h1 {
    font-weight: 900;
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.5;
}

.doc__meta {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(30, 42, 85, 0.55);
}

.doc h2 {
    font-weight: 900;
    font-size: 17px;
    line-height: 1.6;
    margin: 40px 0 10px;
    padding-left: 12px;
    border-left: 4px solid var(--coral);
}

.doc h3 {
    font-weight: 700;
    font-size: 15px;
    margin: 24px 0 6px;
}

.doc p,
.doc li {
    font-size: 14.5px;
    line-height: 2;
    color: rgba(30, 42, 85, 0.82);
}

.doc p + p {
    margin-top: 12px;
}

.doc ol,
.doc ul {
    margin: 10px 0 0;
    padding-left: 1.4em;
}

.doc li + li {
    margin-top: 6px;
}

.doc b,
.doc strong {
    color: var(--navy);
    font-weight: 700;
}

.doc a {
    color: var(--coral);
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-all;
}

.doc__lead {
    margin-top: 20px;
}

/* 表は狭い画面では横スクロールさせる(潰して読めなくしない) */
.doc__table {
    margin-top: 14px;
    overflow-x: auto;
}

.doc table {
    border-collapse: collapse;
    width: 100%;
    min-width: 480px;
    font-size: 13.5px;
    line-height: 1.9;
}

.doc th,
.doc td {
    border: 1px solid rgba(30, 42, 85, 0.12);
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
    color: rgba(30, 42, 85, 0.82);
}

.doc th {
    background: var(--bg-alt);
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
}

/* 特商法表記は2列。左は項目名なので詰める */
.doc--law table {
    min-width: 420px;
}

.doc--law th {
    width: 12em;
}

.doc__note {
    margin-top: 32px;
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 13.5px;
    line-height: 1.95;
    color: rgba(30, 42, 85, 0.75);
}

.doc__back {
    max-width: 760px;
    margin: 24px auto 0;
    font-size: 13.5px;
}

.docfoot .foot {
    margin-top: 0;
    border-top: 0;
    padding-top: 0;
}

/* ── 狭い画面 ──────────────────────────────────────── */
/* ヒーローの重ね置きは横幅が要る。畳まれたら副端末は隠す */
@media (max-width: 760px) {
    .hero__shot {
        display: none;
    }

    .hero__stage {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .sec {
        padding: 56px 20px;
    }

    .sec--problem {
        padding-top: 90px;
    }

    .split {
        gap: 32px;
    }

    .subactions {
        gap: 20px;
    }
}
