/**
 * ShareVie - Scene Landing Page (記事型LP) Styles
 *
 * `/pages/scenes/*.html` 専用。クラス名は必ず `.scene-lp-` プレフィックスで始める。
 * homepage-enhanced.css / header-component.css / movie-viewer-layout.css を
 * 「上書きせず」に共存させることが前提（既存ページのデグレ防止）。
 *
 * Palette: #ffcc02 (primary) / #1d1d1f (text) / #2d3436 (title) / #636e72 (muted)
 */

/* ============================================================
   Layout
   ============================================================ */
.scene-lp-main {
    padding-top: 120px;
    /* フッター手前の .cta-section が margin-top:-60px で重なってくる。
       セクションの padding-bottom(56px) だけでは 4px 食い込むため、逃げを作る */
    padding-bottom: 64px;
    background: #ffffff;
}

.scene-lp-container {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
}

.scene-lp-container--wide {
    max-width: 1120px;
}

.scene-lp-section {
    padding: 56px 0;
    border-top: 1px solid #eceef1;
    /* 固定ヘッダーに隠れないよう、目次からのアンカー遷移位置を下げる */
    scroll-margin-top: 96px;
}

.scene-lp-section:first-of-type {
    border-top: none;
}

.scene-lp-section--tinted {
    background: linear-gradient(135deg, #f8f9fb 0%, #f0f1f3 100%);
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.scene-lp-breadcrumb {
    padding: 24px 0 8px;
    font-size: 13px;
    color: #636e72;
}

.scene-lp-breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.scene-lp-breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.scene-lp-breadcrumb-list li + li::before {
    content: "›";
    color: #b2bec3;
    font-size: 14px;
    line-height: 1;
}

.scene-lp-breadcrumb-list a {
    color: #636e72;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.scene-lp-breadcrumb-list a:hover {
    color: #1d1d1f;
    border-bottom-color: #ffcc02;
}

.scene-lp-breadcrumb-current {
    color: #1d1d1f;
    font-weight: 600;
}

/* ============================================================
   Hero
   ============================================================ */
.scene-lp-hero {
    padding: 8px 0 40px;
}

.scene-lp-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 204, 2, 0.16);
    border: 1px solid rgba(255, 204, 2, 0.45);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #7a5c00;
    margin-bottom: 18px;
}

.scene-lp-title {
    font-size: 36px;
    line-height: 1.4;
    font-weight: 800;
    color: #1d1d1f;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.scene-lp-lead {
    font-size: 16px;
    line-height: 1.9;
    color: #4a5568;
    margin-bottom: 28px;
}

.scene-lp-hero-figure {
    margin: 0 0 8px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.scene-lp-hero-figure img {
    display: block;
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center;
}

.scene-lp-figcaption {
    font-size: 12px;
    color: #8a949c;
    padding: 10px 14px;
    background: #fafbfc;
    margin: 0;
}

/* ============================================================
   目次
   ============================================================ */
.scene-lp-toc {
    background: #fafbfc;
    border: 1px solid #e6e9ed;
    border-radius: 16px;
    padding: 24px 28px;
    margin: 8px 0 0;
}

.scene-lp-toc-title {
    font-size: 15px;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 14px;
}

.scene-lp-toc ol {
    margin: 0;
    padding-left: 1.2em;
    color: #636e72;
}

.scene-lp-toc li {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.6;
}

.scene-lp-toc a {
    color: #4a5568;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 204, 2, 0.6);
}

.scene-lp-toc a:hover {
    color: #1d1d1f;
    background: rgba(255, 204, 2, 0.12);
}

/* ============================================================
   Headings / Text
   ============================================================ */
.scene-lp-h2 {
    font-size: 27px;
    line-height: 1.5;
    font-weight: 800;
    color: #1d1d1f;
    margin: 0 0 12px;
    padding-left: 16px;
    border-left: 5px solid #ffcc02;
    scroll-margin-top: 110px;
}

.scene-lp-h3 {
    font-size: 19px;
    line-height: 1.6;
    font-weight: 700;
    color: #2d3436;
    margin: 36px 0 12px;
}

.scene-lp-h4 {
    font-size: 16px;
    font-weight: 700;
    color: #2d3436;
    margin: 24px 0 8px;
}

.scene-lp-text {
    font-size: 16px;
    line-height: 1.95;
    color: #4a5568;
    margin: 0 0 18px;
}

.scene-lp-text--muted {
    font-size: 14px;
    color: #8a949c;
    line-height: 1.8;
}

.scene-lp-section-intro {
    font-size: 16px;
    line-height: 1.95;
    color: #4a5568;
    margin: 0 0 28px;
}

.scene-lp-list {
    margin: 0 0 20px;
    padding-left: 1.3em;
    color: #4a5568;
}

.scene-lp-list li {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 10px;
}

.scene-lp-list--check {
    list-style: none;
    padding-left: 0;
}

.scene-lp-list--check li {
    position: relative;
    padding-left: 30px;
}

.scene-lp-list--check li::before {
    content: "✔";
    position: absolute;
    left: 4px;
    top: 0;
    color: #d9a800;
    font-weight: 700;
}

/* ============================================================
   Cards
   ============================================================ */
.scene-lp-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin: 8px 0 0;
}

.scene-lp-card {
    background: #ffffff;
    border: 1px solid #e6e9ed;
    border-radius: 18px;
    padding: 26px 24px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
}

.scene-lp-card-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #7a5c00;
    background: rgba(255, 204, 2, 0.18);
    border-radius: 6px;
    padding: 3px 9px;
    margin-bottom: 12px;
}

.scene-lp-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #2d3436;
    line-height: 1.6;
    margin: 0 0 10px;
}

.scene-lp-card-text {
    font-size: 15px;
    line-height: 1.85;
    color: #4a5568;
    margin: 0;
}

/* ============================================================
   Table
   ============================================================ */
.scene-lp-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 0 20px;
    border: 1px solid #e6e9ed;
    border-radius: 14px;
    background: #ffffff;
}

.scene-lp-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 15px;
}

.scene-lp-table caption {
    caption-side: top;
    text-align: left;
    font-size: 13px;
    color: #8a949c;
    padding: 14px 18px 0;
}

.scene-lp-table th,
.scene-lp-table td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #eceef1;
    line-height: 1.75;
}

.scene-lp-table thead th {
    background: #fafbfc;
    color: #2d3436;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

.scene-lp-table tbody th {
    color: #2d3436;
    font-weight: 700;
    white-space: nowrap;
}

.scene-lp-table td {
    color: #4a5568;
}

.scene-lp-table tbody tr:last-child th,
.scene-lp-table tbody tr:last-child td {
    border-bottom: none;
}

.scene-lp-table-num {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   Callout / Note
   ============================================================ */
.scene-lp-note {
    background: rgba(255, 204, 2, 0.08);
    border: 1px solid rgba(255, 204, 2, 0.35);
    border-radius: 14px;
    padding: 22px 24px;
    margin: 24px 0;
}

.scene-lp-note--plain {
    background: #f7f8fa;
    border-color: #e6e9ed;
}

.scene-lp-note-title {
    font-size: 15px;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 10px;
}

.scene-lp-note p {
    font-size: 15px;
    line-height: 1.85;
    color: #4a5568;
    margin: 0 0 10px;
}

.scene-lp-note p:last-child {
    margin-bottom: 0;
}

.scene-lp-note ul {
    margin: 0;
    padding-left: 1.3em;
    color: #4a5568;
}

.scene-lp-note li {
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 6px;
}

/* ============================================================
   メッセージ文例
   ============================================================ */
.scene-lp-example {
    background: #ffffff;
    border: 1px solid #e6e9ed;
    border-left: 5px solid #ffcc02;
    border-radius: 0 14px 14px 0;
    padding: 20px 24px;
    margin: 0 0 14px;
}

.scene-lp-example-meta {
    font-size: 12px;
    font-weight: 700;
    color: #8a949c;
    letter-spacing: 0.06em;
    margin: 0 0 8px;
}

.scene-lp-example-body {
    font-size: 15.5px;
    line-height: 1.95;
    color: #2d3436;
    margin: 0;
}

/* 動画埋め込み。facade(クリックで読み込み)にしないこと。
   Googleは「ユーザー操作で読み込む動画」をインデックス対象外とするため、
   iframeはHTMLに直接置き、loading="lazy" のみで軽量化する。 */
.scene-lp-video {
    margin: 0 0 28px;
}

.scene-lp-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}

.scene-lp-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.scene-lp-video-caption {
    font-size: 13px;
    color: #636e72;
    line-height: 1.8;
    margin: 10px 2px 0;
}

/* 文例の用途バッジ。ShareVieのテキストメッセージは50字上限、
   動画メッセージは既定20秒トリムなので、どちらに使う文例かを明示する。 */
.scene-lp-example-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-right: 8px;
    vertical-align: middle;
}

.scene-lp-example-tag.is-text {
    background: #fff4c2;
    color: #7a5c00;
}

.scene-lp-example-tag.is-video {
    background: #e4f0ff;
    color: #1c4e80;
}

/* テキスト用(50字以内)の文例。動画用より視覚的に軽くする */
.scene-lp-example.is-text {
    border-left-color: #ffe071;
    background: #fffdf5;
}

.scene-lp-example-count {
    font-size: 11px;
    font-weight: 700;
    color: #8a949c;
    margin-left: 6px;
}

.scene-lp-example-short {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.scene-lp-example-short li {
    background: #ffffff;
    border: 1px solid #e6e9ed;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    line-height: 1.8;
    color: #2d3436;
}

/* ============================================================
   3ステップ
   ============================================================ */
.scene-lp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 8px 0 28px;
}

.scene-lp-step {
    background: #ffffff;
    border: 1px solid #e6e9ed;
    border-radius: 18px;
    padding: 26px 24px;
    position: relative;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
}

.scene-lp-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffcc02;
    color: #1d1d1f;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 14px;
}

.scene-lp-step-title {
    font-size: 17px;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 10px;
}

.scene-lp-step-text {
    font-size: 15px;
    line-height: 1.85;
    color: #4a5568;
    margin: 0;
}

/* ============================================================
   CTA (ページ内)
   ============================================================ */
.scene-lp-cta {
    text-align: center;
    margin: 32px 0 8px;
}

.scene-lp-cta-button {
    display: inline-block;
    padding: 18px 36px;
    background: #ffcc02;
    color: #1d1d1f;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(255, 204, 2, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.scene-lp-cta-button:hover {
    background: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(255, 204, 2, 0.45);
}

.scene-lp-cta-sub {
    font-size: 13px;
    color: #8a949c;
    margin: 14px 0 0;
    line-height: 1.8;
}

/* ============================================================
   FAQ (テキストのみ / JSON-LDなし)
   ============================================================ */
.scene-lp-faq {
    display: grid;
    gap: 16px;
}

.scene-lp-faq-item {
    background: #ffffff;
    border: 1px solid #e6e9ed;
    border-radius: 16px;
    padding: 24px 26px;
}

.scene-lp-faq-q {
    font-size: 16.5px;
    font-weight: 700;
    color: #2d3436;
    line-height: 1.65;
    margin: 0 0 10px;
    padding-left: 30px;
    position: relative;
}

.scene-lp-faq-q::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: 0;
    color: #d9a800;
    font-weight: 800;
}

.scene-lp-faq-a {
    font-size: 15px;
    line-height: 1.9;
    color: #4a5568;
    margin: 0;
    padding-left: 30px;
    position: relative;
}

.scene-lp-faq-a::before {
    content: "A";
    position: absolute;
    left: 0;
    top: 0;
    color: #8a949c;
    font-weight: 800;
}

/* ============================================================
   関連リンク
   ============================================================ */
.scene-lp-related {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.scene-lp-related-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e6e9ed;
    border-radius: 16px;
    padding: 22px 24px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.scene-lp-related-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 204, 2, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.scene-lp-related-title {
    font-size: 16px;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 8px;
}

.scene-lp-related-text {
    font-size: 14px;
    line-height: 1.75;
    color: #636e72;
    margin: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    .scene-lp-main {
        padding-top: 85px;
    }

    .scene-lp-container {
        padding: 0 20px;
    }

    .scene-lp-section {
        padding: 40px 0;
        scroll-margin-top: 76px;
    }

    .scene-lp-breadcrumb {
        padding: 16px 0 4px;
        font-size: 12px;
    }

    .scene-lp-title {
        font-size: 26px;
        line-height: 1.5;
    }

    .scene-lp-lead,
    .scene-lp-text,
    .scene-lp-section-intro {
        font-size: 15px;
        line-height: 1.9;
    }

    .scene-lp-hero-figure img {
        height: 200px;
    }

    .scene-lp-toc {
        padding: 20px;
    }

    .scene-lp-h2 {
        font-size: 21px;
        padding-left: 12px;
        border-left-width: 4px;
        scroll-margin-top: 90px;
    }

    .scene-lp-h3 {
        font-size: 17px;
        margin-top: 28px;
    }

    .scene-lp-cards,
    .scene-lp-steps,
    .scene-lp-related {
        grid-template-columns: 1fr;
    }

    .scene-lp-card,
    .scene-lp-step,
    .scene-lp-faq-item {
        padding: 20px;
    }

    .scene-lp-example {
        padding: 16px 18px;
    }

    .scene-lp-example-body {
        font-size: 15px;
    }

    .scene-lp-table {
        font-size: 14px;
        min-width: 560px;
    }

    .scene-lp-table th,
    .scene-lp-table td {
        padding: 12px 14px;
    }

    .scene-lp-cta-button {
        display: block;
        padding: 16px 24px;
        font-size: 15px;
    }
}
