/* Google Fontsの読み込み */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

/* 全体共通 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #1c2e4a;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    margin: 0 0 1em;
    font-weight: 700;
}

p {
    margin: 0 0 1.5em;
}

/* ファーストビュー */
.hero {
    background: linear-gradient(135deg, #1c2e4a, #264d73);
    color: white;
    padding: 1.2em 1em 1.8em;
}

.hero-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.2em;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    text-align: left;
}

.hero-left {
    flex: 0 0 200px;
    text-align: center;
}

.hero-left .logo {
    max-width: 120px;
    margin: 0 auto;
}


.logo-title {
    font-weight: bold;
    font-size: 1rem;
    margin: 0.3em 0 0.1em;
    color: #ffffff;
}

.logo-subtext {
    font-size: 0.85rem;
    margin-top: 0.5em;
    color: #ffffffcc;
}

.hero-right {
    flex: 1;
    min-width: 250px;
}

.hero-right h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5em;
}

.hero-right p {
    font-size: 1.1rem;
    margin-bottom: 1.0em;
}

.cta-button {
    display: inline-block;
    margin-top: 1.5em;
    padding: 0.8em 1.5em;
    background-color: #ffc107;
    color: #1c2e4a;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.cta-button:hover {
    background-color: #ffb300;
}

.cta-row {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-top: 1.5em;
}

.cta-button {
    flex-shrink: 0;
}

.cta-note {
    max-width: 280px;
    font-size: 0.9rem;
    color: #ffffffcc;
    line-height: 1.4;
    text-align: left;
    margin-bottom: -1.0em;
    word-break: keep-all;
}

.nowrap {
    white-space: nowrap;
}



/* タブセクション */
.tab-section {
    /* 上の余白をほぼゼロにして、下方向のゆとりは確保 */
    padding: 0 1em 3em;
    background-color: white;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1em;
    gap: 1em;
}

.tab {
    padding: 0.6em 1.2em;
    border: 1px solid #1c2e4a;
    background: white;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

.tab.active {
    background-color: #1c2e4a;
    color: white;
}

.tab-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.emotion-section {
    padding: 2.5em 1em;
    text-align: center;
    background-color: #f8f9fb;
    /* 控えめな背景色 */
}

.emotion-section h2 {
    font-size: 2.8em;
    font-weight: 700;
    margin: 0;
    color: #1C2E4A;
    /* ブランドカラー寄せ */
}


/* 利用事例・料金 */
.use-cases,
.pricing {
    padding: 3em 1em;
    text-align: center;
    background-color: #f1f4f7;
}

/* CTA追従 */
.cta-floating {
    position: fixed;
    right: 16px;
    bottom: 16px;
    background: #ffc107;
    color: #1c2e4a;
    font-weight: bold;
    padding: 0.8em 1.2em;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.brand-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    /* フッターとの間に余白 */
    gap: 12px;
    /* ロゴと文字の間隔 */
    font-size: 0.85rem;
    color: #1c2e4a;
    /* 白系文字が一体感あり */
}

.brand-logo {
    height: 48px;
    width: auto;
}


/* フッター */
.footer {
    font-size: 0.85rem;
    padding: 2em 1em;
    background: #1c2e4a;
    color: white;
    text-align: center;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    display: inline-block;
    margin: 0 1em;
}

.footer a {
    color: #ffffff;
    text-decoration: underline;
}
/* ----------------------------------------
   Minimal Tweaks for Layout & Accessibility
-----------------------------------------*/
.container{
    max-width:1000px;
    margin:0 auto;
    padding:0 16px;
}

.tab:focus-visible{
    outline:3px solid #ffc107;
    outline-offset:2px;
}

.step-note ul{
    padding-left:1.2em;
    margin:0.6em 0 0.4em;
}
.step-note a{ text-decoration: underline; }

.use-cases ul,
.pricing ul{
    list-style:none;
    padding:0;
    margin:0.8em auto 1.2em;
    max-width:780px;
    text-align:center;
}
.use-cases li,
.pricing li{ margin:0.35em 0; }

#faq details{ margin:0.6em 0; }
#faq summary{ cursor:pointer; font-weight:700; }

.legal-mini{
    font-size:0.85rem;
    color:#44556e;
    margin-top:0.6em;
}

/* ===== Sticky Tabs (top-follow) ===== */
.tabs-wrapper {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: #ffffff;
    border-bottom: 1px solid #e5eaf2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
}

/* 横スクロール可能なタブ本体 */
.tabs {
    padding: 12px 16px;
    margin-top: 0;
    overflow-x: auto;
    white-space: nowrap;
}

.tabs .tab {
    display: inline-block;
    margin-right: 12px;
    padding: 8px 12px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: #1c2e4a;
    border-bottom: 2px solid transparent;
    transition: border-color .3s ease;
}

.tabs .tab:hover,
.tabs .tab:focus {
    border-bottom-color: #4a90e2;
    outline: none;
}

.tabs .tab.active {
    border-bottom-color: #1c2e4a;
    font-weight: 700;
}

.tab-section .tab-content {
    padding-top: 12px;
}

html {
    scroll-padding-top: 72px;
}

.tab-pane {
    scroll-margin-top: 72px;
}

@media (max-width: 640px) {
    html {
        scroll-padding-top: 64px;
    }

    .tab-pane {
        scroll-margin-top: 64px;
    }

    .tabs {
        padding: 10px 12px;
    }
}

.pain-list {
    list-style: none;
    padding: 0;
    margin: 1.5em 0 1.8em;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.pain-item {
    background: #f5f7fb;
    border-radius: 999px;
    padding: 0.6em 1.4em;
    margin-bottom: 0.7em;
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
}

.pain-item::before {
    content: "・";
    margin-right: 0.25em;
}

.pain-solution {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 1.6em;
    margin-bottom: 0.4em;
    color: #1c2e4a;
    border-top: 2px solid #1c2e4a;
    padding-top: 0.8em;
}

.pain-solution strong {
    font-weight: 700;
    color: #1c2e4a;
}
/* 導入〜打刻開始までの流れ（番号付きステップ） */
.steps {
    margin: 1.8em 0;
    padding-left: 1.6em;      /* 番号のぶんだけ左に余白を確保 */
    list-style-position: outside;
}

.steps li {
    background: #f5f7fb;      /* 「こんなことで困っていませんか？」と同系色 */
    border-radius: 999px;     /* 角丸の吹き出し風 */
    padding: 0.6em 1.4em;
    margin-bottom: 0.7em;
    line-height: 1.7;
}

/* 見出し部分を少し強調（任意） */
.steps li strong {
    font-weight: 700;
}


/* 導入フロー図（SVGバージョン） */
.flow-diagram-figure {
    margin: 2.2em auto 1.8em;
    max-width: 960px;      /* 少しだけ横幅を絞って横スクロールを抑制 */
    overflow-x: hidden;    /* SVG 内で多少はみ出してもページ全体は横スクロールさせない */
}

.flow-diagram-figure svg {
    display: block;
    width: 100%;
    height: auto;
}

/* スマホ時は上下の余白をやや詰める */
@media (max-width: 768px) {
    .flow-diagram-figure {
        margin: 1.8em auto 1.4em;
        padding: 0 8px;
    }
}

/* 解決事例セクション（スクショ＋説明） */
.solution-examples {
    margin-top: 2.4em;
}

.solution-example {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: nowrap;
    max-width: 1000px;
    margin: 0 auto;
}

.solution-examples-dakoku .solution-example {
    justify-content: center;
    gap: 24px;
}

@media (max-width: 768px) {
    .solution-example {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
    }
}

.solution-main-visual {
    flex: 0 1 520px;
    max-width: 520px;
}
.solution-sub-visual {
    flex: 0 1 360px;
    max-width: 360px;
}
.solution-visual-equal {
    flex: 0 1 200px;
    max-width: 200px;
}

.solution-visual-equal img {
    max-height: 260px;
    width: auto;
}

.solution-main-visual img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.solution-detail {
    flex: 0 1 520px;
    max-width: 520px;
}

.solution-sub-visual img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 12px;
}

.solution-text {
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .solution-example {
        flex-direction: column;
    }

    .solution-detail {
        max-width: 100%;
    }
}

/* 画像拡大表示（ライトボックス） */
.solution-main-visual.zoomable,
.solution-sub-visual.zoomable,
.solution-visual-equal.zoomable {
    position: relative;
    cursor: zoom-in;
}

.solution-main-visual.zoomable::after,
.solution-sub-visual.zoomable::after,
.solution-visual-equal.zoomable::after {
    content: "クリックで拡大";
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 4px 8px;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border-radius: 999px;
    pointer-events: none;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 24px;
    overflow-y: auto;   /* 縦方向のみスクロール可能に */
    overflow-x: hidden; /* 横スクロールは出さない */
}

.image-lightbox.is-visible {
    display: flex;
}

.image-lightbox__inner {
    position: relative;
    max-width: 100%;
    max-height: 100%;
}

.image-lightbox__inner img {
    max-width: 90vw;  /* 基本は画面幅の90%以内 */
    max-height: 90vh; /* 基本は画面高の90%以内に収める */
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    display: block;
}

/* 特定スクリーンショットの拡大サイズ調整 */
.image-lightbox__inner img.lightbox-img-summarysheet,
.image-lightbox__inner img.lightbox-img-monthlyreport {
    max-width: 70vw;  /* 通常よりさらに小さめ（3周りほど小さく） */
    max-height: 70vh;
}

/* 打刻アプリ画面は半分程度の大きさに */
.image-lightbox__inner img.lightbox-img-dakoku {
    max-width: 45vw;
    max-height: 60vh;
}

.image-lightbox__close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.image-lightbox__close:focus-visible {
    outline: 2px solid #ffc107;
    outline-offset: 2px;
}

/* デモ案内メッセージの強調スタイル */
.demo-notice {
    margin: 32px auto 0;
    padding: 18px 24px;
    max-width: 840px;
    background: #f5f7fb;             /* 困りごとリストと同系の淡いブルー */
    border-radius: 10px;
    border: 1px solid #dbe3f0;       /* 全体をうっすら囲う */
    border-left: 4px solid #1c2e4a;  /* ブランドカラーでワンポイント */
    font-weight: 400;
    font-size: 1.02rem;
    line-height: 1.75;
    color: #1c2e4a;
    text-align: center;
}

.demo-notice strong {
    font-weight: 700;
}

@media (max-width: 640px) {
    .image-lightbox {
        padding: 12px;
    }

    .image-lightbox__inner img {
        max-width: 94vw;
        max-height: 80vh;
    }

    .demo-notice {
        margin-top: 32px;
        padding: 14px 16px;
        font-size: 0.95rem;
    }
}
/* 残業・月次レポート用 解決セクション調整 */
.solution-examples-overtime {
    margin-top: 3em;
}

/* 2枚のスクショをPCでは横並びにする（左：大きめ / 右：小さめ） */
.solution-example-overtime {
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: nowrap;
}

/* 左側（残業集計）をやや大きめに表示 */
.solution-example-overtime .solution-main-visual:first-child {
    flex: 0 1 520px;
    max-width: 520px;
}

/* 右側（月次レポート）は少し小さく */
.solution-example-overtime .solution-main-visual:nth-child(2) {
    flex: 0 1 320px;
    max-width: 320px;
}

/* 説明文の幅を抑えて読みやすく */
.solution-text-overtime {
    text-align: left;
    max-width: 640px;
    margin: 1.6em 0 0;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== Contact form ===== */
#contact h3 {
    margin-bottom: 0.6em;
}

.contact-form {
    margin-top: 1.2em;
    padding: 20px;
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(28, 46, 74, 0.08);
}

.contact-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.contact-form label {
    font-weight: 700;
    color: #1c2e4a;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 1rem;
    background: #f9fbff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1c2e4a;
    box-shadow: 0 0 0 3px rgba(28, 46, 74, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .contact-submit {
    margin-top: 12px;
}

.contact-form .contact-submit button {
    width: 100%;
    padding: 14px 16px;
    background: #1c2e4a;
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.contact-form .contact-submit button:hover {
    background: #233a60;
}

.contact-form .contact-submit button:active {
    transform: translateY(1px);
}

.form-error {
    display: none;
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid #e74c3c;
    background: #fff5f5;
    color: #c0392b;
    border-radius: 10px;
    font-weight: 700;
}

.form-error.is-visible {
    display: block;
}

.honeypot {
    display: none;
}

.thanks-page {
    background: #f1f4f7;
    color: #1c2e4a;
    min-height: 100vh;
}

.thanks-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 16px;
}

.thanks-card {
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(28, 46, 74, 0.08);
    padding: 32px 28px;
    text-align: center;
}

.thanks-logo {
    width: 96px;
    height: auto;
    margin-bottom: 12px;
}

.thanks-card h1 {
    margin: 0 0 0.8em;
    font-size: 1.6rem;
}

.thanks-card p {
    margin: 0 0 1em;
    font-size: 1rem;
    color: #2c3e50;
}

.thanks-button {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 22px;
    background: #1c2e4a;
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
}

.thanks-button:hover {
    background: #233a60;
}

.thanks-button:active {
    transform: translateY(1px);
}

@media (max-width: 768px) {
    .solution-example-overtime {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
    }

    .solution-example-overtime .solution-main-visual:first-child,
    .solution-example-overtime .solution-main-visual:nth-child(2) {
        max-width: 100%;
        flex-basis: 100%;
    }

    .solution-text-overtime {
        margin-top: 1em;
        text-align: left;
        padding: 0 8px;
    }
}

/* ===== Demo video (LP) ===== */
.demo-video-block {
    max-width: 640px;
    margin: 24px auto 18px;
    padding: 16px 14px;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    background: #fff;
}

.demo-video-title {
    margin: 0 0 6px;
    font-size: 18px;
}

.demo-video-lead {
    margin: 0 0 12px;
    color: #334155;
    line-height: 1.6;
}

/* 2本のデモ動画を横並び（狭い画面では縦積み） */
.demo-video-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
    max-width: 760px;
    margin: 24px auto 18px;
}

/* 横並びのときは各ブロックの外側余白を打ち消して、行側で管理 */
.demo-video-row .demo-video-block {
    max-width: none;
    margin: 0;
}

/* 横並び時は動画枠を少しだけ小さめにしてバランスを取る */
.demo-video-row .video-shell {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .demo-video-row {
        grid-template-columns: 1fr;
    }

    .demo-video-row .video-shell {
        max-width: 360px;
    }
}

/* 縦動画がPCで巨大化しないように、幅を制限して9:16枠に固定 */
.video-shell {
    position: relative;
    width: clamp(240px, 28vw, 340px);
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: #0b1320;
    aspect-ratio: 9 / 16;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}

@media (min-width: 1024px) {
    .video-shell {
        width: 320px;
    }
}

/* videoは枠内に収める（欠けないように全体表示） */
.demo-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0b1320;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    border: 0;
    cursor: pointer;
    font-weight: 700;
}

.video-overlay-icon {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(248, 161, 0, 0.92);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    font-size: 22px;
    padding-left: 2px;
}

.video-overlay-text {
    font-size: 14px;
    opacity: 0.95;
}

.video-hint {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 12px;
}

.video-shell.is-playing .video-overlay,
.video-shell.is-playing .video-hint {
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

@media (prefers-reduced-motion: reduce) {
    .video-shell.is-playing .video-overlay,
    .video-shell.is-playing .video-hint {
        transition: none;
    }
}

@media (max-width: 520px) {
    .demo-video-block {
        margin: 22px auto 18px;
        padding: 14px 12px;
    }

    .video-shell {
        width: 100%;
        max-width: 360px;
        border-radius: 14px;
    }
}

/* ===== Top Intro (LP 仮トップ) ===== */
.top-intro {
    background: #ffffff;
    color: #1c2e4a;
    padding: 56px 16px 48px;
    text-align: center;
}

.top-intro-inner {
    max-width: 1000px;
    margin: 0 auto;
}

/* 2カラム：左（コピー）/ 右（スクショ） */
.top-intro-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.top-intro-copy {
    flex: 1 1 520px;
    min-width: 320px;
    text-align: left;
}

.top-intro-shot {
    flex: 0 1 380px;
    max-width: 380px;
}

.top-shot {
    margin: 0;
}

.top-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid #e6ecf5;
    box-shadow: 0 12px 32px rgba(28, 46, 74, 0.10);
}

/* 見出し直下の一行コピー */
.top-intro-subcopy {
    margin: 0 0 12px;
    font-size: 16px;
    color: rgba(28, 46, 74, 0.92);
}

/* 安心バッジ */
.top-badges {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.top-badge {
    display: inline-block;
    background: #f5f7fb;
    border: 1px solid #dbe3f0;
    color: #1c2e4a;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
}

/* 特徴（✓ + 太字 + 補足） */
.top-intro-points {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}

.top-intro-points li {
    margin: 10px 0;
    font-size: 16px;
    color: rgba(28, 46, 74, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.point-icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #1c2e4a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex: 0 0 22px;
}

.point-strong {
    font-weight: 800;
    color: #1c2e4a;
}

.point-desc {
    color: rgba(28, 46, 74, 0.86);
}

.top-intro-title {
    font-size: 32px;
    line-height: 1.4;
    margin: 0 0 10px;
    font-weight: 700;
    color: #1c2e4a;
}

.top-intro-lead {
    font-size: 18px;
    margin: 0 0 20px;
    color: rgba(28, 46, 74, 0.86);
}

.top-intro-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    margin: 18px 0 18px;
}

.top-intro-note {
    font-size: 13px;
    color: rgba(28, 46, 74, 0.72);
    margin: 0;
}

/* CTA variants used in top intro */
.cta-button.cta-demo {
    background: #ffc107;
    border: none;
    color: #1c2e4a;
    font-size: 18px;
    padding: 16px 28px;
    border-radius: 10px;
    min-width: 320px;
    text-align: center;
    margin-top: 0; /* .cta-button の margin-top を打ち消す */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.cta-button.cta-demo:hover {
    background: #ffb300;
}

.cta-sub {
    color: #1c2e4a;
    text-decoration: underline;
    font-weight: 700;
    margin: 0;
    display: inline-block;
}

@media (max-width: 640px) {
    .top-intro {
        padding: 44px 14px 40px;
    }

    .top-intro-title {
        font-size: 26px;
    }

    .top-intro-lead {
        font-size: 16px;
    }

    .cta-button.cta-demo {
        min-width: 0;
        width: 100%;
        max-width: 360px;
        font-size: 17px;
        padding: 14px 22px;
    }

    .top-intro-grid {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .top-intro-copy {
        text-align: center;
        min-width: 0;
    }

    .top-badges {
        justify-content: center;
    }

    .top-intro-cta {
        align-items: center;
    }

    .top-intro-points li {
        justify-content: center;
    }

    .top-intro-shot {
        width: 100%;
        max-width: 420px;
    }
}

/* 右上固定のデモ導線（旧インラインCSS移植） */
.demo-button-fixed {
    position: fixed;
    top: 18px;
    right: 20px;
    background: #ffc107;
    color: #1c2e4a;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    z-index: 9999;
    text-decoration: none;
}

.demo-button-fixed:hover {
    background: #ffb300;
}

@media (min-width: 768px) {
    .demo-button-fixed {
        display: none;
    }
}

