/* ========================================
   BtoB Enterprise Design System
   中小企業向け - 信頼性・安定性重視
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 落ち着いた企業カラー */
    --primary: #003D7A;
    --primary-dark: #002952;
    --primary-light: #005AA3;
    --accent: #D32F2F;
    --accent-orange: #FF6B35;
    --accent-orange-light: #FFA500;
    --success: #2E7D32;
    --warning: #F57C00;
    
    /* テキストカラー - 読みやすさ重視 */
    --text-primary: #212121;
    --text-secondary: #424242;
    --text-tertiary: #616161;
    
    /* 背景カラー - 落ち着いた印象 */
    --bg-white: #FFFFFF;
    --bg-light: #FAFAFA;
    --bg-gray: #F5F5F5;
    --bg-dark: #263238;
    
    /* ボーダー */
    --border-light: #E0E0E0;
    --border-medium: #BDBDBD;
    
    /* シャドウ - 控えめ */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
    
    /* 角丸 - 控えめ */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    
    --transition: all 0.2s ease;

    /* レイアウト高さ
       --header-h    : 固定ヘッダーの実高さ（上下padding 16px×2 ＋ ボタン41px ＋ 罫線1px）
       --breadcrumb-h: パンくず帯の高さ
       この2つを使ってヒーローの高さを差し引き、FV全体を1画面に収める */
    --header-h: 74px;
    --breadcrumb-h: 38px;
}

/* 1024px以下はグローバルナビが隠れ、ロゴ（19px）が最大要素になるためヘッダーが低くなる */
@media (max-width: 1024px) {
    :root {
        --header-h: 52px;
    }
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    font-size: 1.6rem; /* 16px */
    color: var(--text-secondary);
    line-height: 1.8;
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* ========================================
   Material Icons Styling
   ======================================== */

.material-icons {
    font-size: 20px;
    vertical-align: middle;
    user-select: none;
    /* CLS対策：アイコンフォント未読込のあいだリガチャ名（"check" 等）の
       文字幅でボックスが広がり、フォント適用時にレイアウトがずれるのを防ぐ。
       アイコン1文字ぶんの正方形に固定する。 */
    display: inline-block;
    width: 1em;
    height: 1em;
    line-height: 1;
    overflow: hidden;
    white-space: nowrap;
}

.btn .material-icons {
    font-size: 18px;
}

/* パネル同様、アイコンはカード背景の透かしとして大きく薄く敷く
   （はみ出した分は .problem-card の overflow: hidden で角丸に切られる） */

.problem-icon.material-icons {
    position: absolute;
    right: -24px;
    bottom: -34px;
    z-index: 0;
    font-size: 170px;
    line-height: 1;
    color: #EBEEF2;
    pointer-events: none;
    user-select: none;
}

.floating-cta-btn .material-icons {
    font-size: 20px;
}

/* ========================================
   Container
   ======================================== */

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Header - シンプルで機能的
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header__container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo a {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 19px;
    width: auto;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* セクションリンクとCTAボタンでグループを分け、
   ボタン側の間隔を詰めて限られた横幅に収める */

.header__links {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-secondary);
    transition: var(--transition);
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--primary);
}

.header__menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.header__menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ========================================
   Mobile Menu
   ======================================== */

.mobile-menu {
    position: fixed;
    top: 57px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
}

.mobile-nav-link {
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav-link:hover {
    background: var(--bg-light);
    color: var(--primary);
}

/* スマホでも資料請求・お問い合わせ・ログインに到達できるようにする */

.mobile-menu__actions {
    display: grid;
    gap: 10px;
    padding: 16px 20px 20px;
}

/* 項目数に対して 1024px 以下では横幅が足りないため、
   ハンバーガーメニューへの切り替えを 768px から 1024px に引き上げる */

@media (max-width: 1024px) {
    .header__nav {
        display: none;
    
    }

    .header__menu-btn {
        display: flex;
    
    }
}

/* ========================================
   Buttons - 企業向けデザイン
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.btn--primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transition: all 0.3s ease;
}

.btn--primary:hover {
    background: white;
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 61, 122, 0.2);
}

.btn--outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn--outline:hover {
    background: var(--primary);
    color: white;
}

.btn--small {
    padding: 8px 16px;
    font-size: 13px;
}

.btn--large {
    padding: 14px 28px;
    font-size: 15px;
    min-width: auto;
}

/* ========================================
   Hero Section - 訴求力強化
   ======================================== */

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.hero__background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.92) 0%, rgba(0, 90, 163, 0.88) 50%, rgba(0, 61, 122, 0.95) 100%);
}

.hero__background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero__container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
}

.hero__logo {
    margin-bottom: 24px;
    align-self: flex-start;
}

.hero__title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.25;
    color: #FFFFFF;
    margin-bottom: 24px;
    letter-spacing: 1.5px;
    width: 100%;
}

.hero__subtitle {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 36px;
    width: 100%;
    font-weight: 600;
}

.hero__subtitle strong {
    color: #FFFFFF;
    font-weight: 700;
}

.hero__cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    width: 100%;
}

.hero__video-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: #000;
}

.hero__video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Section Styles
   ======================================== */

section {
    padding: 80px 0;
}

/* セクション背景（各セクションで明示指定。以前あった nth-child での交互指定は
   すべて !important で上書きされていたため削除済み） */

.hero {
    background: var(--bg-white) !important;
}

.problems {
    background: var(--bg-white) !important;
}

.solution {
    background: #F8FAFB !important;
}

.service-details {
    background: var(--bg-white) !important;
}

.pricing {
    background: #F8FAFB !important;
}

.implementation-flow {
    background: var(--bg-white) !important;
}

.benefits {
    background: #F8FAFB !important;
}

.cases {
    background: var(--bg-white) !important;
}

.faq {
    background: #F8FAFB !important;
}

.topics {
    background: var(--bg-white) !important;
}

.section-label {
    display: block;
    padding: 4px 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 auto 16px;
    width: fit-content;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
    position: relative;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   Problems Section
   ======================================== */

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    position: relative;
    overflow: hidden; /* はみ出した透かしアイコンを角丸で切る */
    padding: 28px 24px;
    /* パネルは印刷前提で濃度を確保していたが、画面ではその下限が不要なので薄く */
    background: #F7F8FA;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    text-align: center;
}

.problem-card h3 {
    position: relative;
    z-index: 1;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.5;
    /* 2行のタイトルがあるため、3カード間で本文の開始位置を揃える */
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.problem-details {
    position: relative;
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.problem-details li {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    padding-left: 20px;
    position: relative;
    margin-bottom: 12px;
}

.problem-details li:last-child {
    margin-bottom: 0;
}

.problem-details li::before {
    content: '・';
    position: absolute;
    left: 8px;
    color: var(--primary);
    font-weight: 700;
}

.problem-details em {
    font-style: normal;
    font-weight: 700;
    color: var(--accent);
}

/* ========================================
   Solution Section
   ======================================== */

/* stat-number-large は新しいスタイルで使用 */

.stat-number-large {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Arial', sans-serif;
    letter-spacing: -2px;
}

.stat-unit {
    font-size: 24px;
    font-weight: 700;
    margin-left: 4px;
}

.stat-label-large {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.solution-points-wrapper {
    margin-top: 56px;
}

.solution-points-header {
    text-align: center;
    margin-bottom: 32px;
}

.solution-points-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

/* 幅の上限は設けず、他セクションのグリッド（.problems-grid / .videos-grid）と同じく
   .container の幅いっぱいに広げる */

.solution-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.point-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: var(--transition);
}

.point-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.point-card__media {
    position: relative;
    padding-bottom: 62.5%; /* 16:10 */
    overflow: hidden;
    background: var(--bg-gray);
}

.point-card__media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.point-card__number {
    position: absolute;
    bottom: 0;
    left: 0;
    min-width: 52px;
    padding: 6px 14px;
    background: var(--primary);
    color: white;
    border-radius: 0 var(--radius-md) 0 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    letter-spacing: 0.05em;
}

.point-card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.point-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    line-height: 1.5;
    text-align: left;
}

.point-card__text {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

/* ========================================
   Service Details Section
   ======================================== */

.service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto 64px;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.service-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #F8FAFB 0%, #F0F4F8 100%);
    border-bottom: 2px solid var(--primary);
    min-height: 100px;
}

.service-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.service-card__title-group {
    flex: 1;
}

.service-problem {
    font-size: 15px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}

.service-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-image {
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.service-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    flex: 1;
}

.service-description strong {
    color: var(--text-primary);
    font-weight: 600;
    background: linear-gradient(transparent 60%, rgba(0, 102, 204, 0.1) 60%);
}

/* ========================================
   Benefits Section
   ======================================== */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benefit-card {
    padding: 32px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.benefit-stat {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 12px;
}

.benefit-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

/* カードの text-align: center は数字と見出しのためのもの。
   複数行になる説明文は行頭が揃わず読みにくいので左揃えに戻す
   （課題カードの .problem-details と同じ扱い） */

.benefit-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: left;
}

/* ========================================
   Case Studies
   ======================================== */

/* 2列・3列のタイル並びは、課題文（最長で約120字）に対して本文幅が
   230〜400px しか取れず窮屈になるため、横長カードの1列に変更。
   左に企業名パネル、右に課題・効果を置くことで本文幅を約740px確保する */

.cases-list {
    display: grid;
    gap: 20px;
}

.case-card {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.case-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* 左の企業名パネル。従来の下罫を右罫に置き換えて縦の仕切りにする */

.case-card__head {
    position: relative;
    overflow: hidden; /* はみ出した透かしアイコンを切る */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px;
    background: linear-gradient(135deg, #F8FAFB 0%, #F0F4F8 100%);
    border-right: 2px solid var(--primary);
}

/* 課題カード（.problem-icon）と同じ考え方で、業種アイコンは
   四角いバッジをやめてパネル背景の透かしとして大きく薄く敷く */

.case-card__icon {
    position: absolute;
    right: -30px;
    bottom: -44px;
    z-index: 0;
    display: block;
    background: none;
    border-radius: 0;
    box-shadow: none;
    pointer-events: none;
    user-select: none;
}

.case-card__icon .material-icons {
    font-size: 200px;
    line-height: 1;
    color: #DDE5EF;
}

.case-card__title {
    position: relative;
    z-index: 1;
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}

/* 導入事例の動画。事例カード群の直前に、ブランドカラーの帯として置く。
   幅は事例カードと同じ1100pxに揃え、左にリード、右にプレイヤーの2カラム。
   16:9のレスポンシブ枠は既存の .video-wrapper を流用する
   （Vimeo公式の埋め込みコードにある padding-top 56.25% と同じ考え方） */

/* グリッドで等分にせず、テキストは内容幅・プレイヤーは固定幅にして中央に寄せる。
   こうするとテキストと動画の間の余白が gap の値どおりになり、間延びしない */

.case-video {
    position: relative;
    overflow: hidden; /* はみ出した装飾を切る */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 56px;
    max-width: 1100px;
    margin: 0 auto 40px;
    padding: 28px 32px;
    background:
        linear-gradient(135deg,
            var(--primary) 0%,
            var(--primary-light) 55%,
            var(--primary) 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* 右上から差す光。ベタ塗りの青に奥行きを足すだけの装飾 */

.case-video::after {
    content: '';
    position: absolute;
    top: -140px;
    right: -90px;
    z-index: 0;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            rgba(255, 255, 255, 0.14) 0%,
            rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.case-video__body {
    position: relative;
    z-index: 1;
    flex: 0 1 auto;
    max-width: 360px;
}

/* .section-label と同じ形。青地なので文字はゴールドに */

.case-video__label {
    display: block;
    width: fit-content;
    margin-bottom: 14px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* 会社名を必ず次の行に落とすため、見出し自体を縦のflexにする */

.case-video__title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--bg-white);
}

/* 会社名は上にゴールドの罫を敷いて見出しと切り分ける。
   flexアイテムなので幅は文字幅ぴったりになり、罫も文字幅に収まる */

.case-video__company {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 17px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

/* プレイヤーはヒーローの動画と同じ黒フレームに載せて、ページ内の意匠を揃える */

.case-video__player {
    position: relative;
    z-index: 1;
    flex: 0 1 580px;
    min-width: 0;
    padding: 12px;
    background: #2c2c2c;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.case-video .video-wrapper {
    margin-bottom: 0;
    border: none;
    border-radius: 10px;
    background: #0a0a0a;
}

/* 2カラムだとリードが窮屈になる幅からは縦積み＋中央寄せに切り替える */

@media (max-width: 900px) {
    .case-video {
        flex-direction: column;
        gap: 22px;
        padding: 24px 20px;
        text-align: center;
    }

    .case-video__body,
    .case-video__player {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .case-video__label {
        margin-left: auto;
        margin-right: auto;
    }

    .case-video__title {
        align-items: center;
        font-size: 19px;
    }

    .case-video__company {
        font-size: 16px;
    }

    .case-video::after {
        top: -110px;
        right: -70px;
        width: 280px;
        height: 280px;
    }
}

.case-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    margin: 0;
    padding: 24px 28px;
}

.case-row {
    /* 本文1行分の高さ（.case-row__text の font-size × line-height）。
       ラベルの高さをこれに合わせることで、本文1行目と視覚的な中心が揃う */
    --case-row-line: calc(17px * 1.8);
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: start;
}

.case-row__tag {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--case-row-line);
    padding: 0 4px;
    background: var(--warning);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    letter-spacing: 0.08em;
}

.case-row--effect .case-row__tag {
    background: var(--primary);
}

.case-row__text {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.case-row__text em {
    font-style: normal;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(transparent 60%, rgba(255, 213, 79, 0.5) 60%);
}

.case-row--effect .case-row__text em {
    color: var(--primary);
    background: linear-gradient(transparent 60%, rgba(0, 90, 163, 0.14) 60%);
}

/* 事例詳細記事へのリンク（PDF）。左パネル内で企業名の下に置く */

.case-card__link {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 8px;
    width: 100%;
    margin-top: auto;
    padding: 10px 14px;
    background: var(--bg-white);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    transition: var(--transition);
}

.case-card__link:hover,
.case-card__link:focus-visible {
    background: var(--primary);
    color: white;
}

.case-card__link .material-icons {
    font-size: 22px;
}

/* PDF・別タブであることの補足。常にリンク文の下の行に置く */

.case-card__link-note {
    flex: 0 0 100%;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-tertiary);
}

.case-card__link:hover .case-card__link-note,
.case-card__link:focus-visible .case-card__link-note {
    color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   Pricing Section
   ======================================== */

/* スクリーンリーダー専用テキスト（表の caption 用） */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 横幅が足りない場合は表だけ横スクロールさせる */

.pricing-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    font-size: 18px;
    line-height: 1.6;
}

.pricing-table th,
.pricing-table td {
    border: 1px solid #C9D6E4;
    padding: 12px 16px;
    vertical-align: middle;
}

/* 見出し行 */

.pricing-table thead th {
    background: var(--primary);
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    border-color: var(--primary);
    white-space: nowrap;
}

.pricing-table thead th:first-child {
    text-align: left;
}

/* プラン表：内容量にかかわらず Basic / Standard / Advance を等幅にする。
   table-layout: fixed では1行目（thead）の指定が全列の幅になる */

.pricing-table--plan {
    table-layout: fixed;
}

.pricing-table--plan thead th:first-child {
    width: 28%;
}

.pricing-table--plan thead th:not(:first-child) {
    width: 24%;
}

/* 項目名の列。文字サイズは指定せず表の基準サイズ（価格セルと同じ）を継承させる */

.pricing-table tbody th {
    background: var(--bg-white);
    color: var(--text-primary);
    font-weight: 700;
    text-align: left;
}

.pricing-table tbody td {
    text-align: center;
    color: var(--text-primary);
}

/* 初期費用・月額の行は薄い青で強調 */

.pricing-table td.is-highlight {
    background: #DCEAF7;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-table td.is-free {
    color: var(--accent);
}

/* 「※1」などの参照番号は本文より小さく */

.pricing-ref {
    font-size: 12px;
    font-weight: 700;
    vertical-align: super;
    margin-left: 1px;
}

/* セル内の補足（21時間の動画に相当 など） */

.pricing-cell-note {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--text-tertiary);
}

/* ※1〜※3 の注記 */

.pricing-footnotes {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.pricing-footnotes li {
    display: flex;
    gap: 6px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-tertiary);
}

.pricing-footnotes__mark {
    flex-shrink: 0;
}

/* オプション表 ＋ 右側の注記 */

.pricing-option-area {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: end;
    gap: 32px;
    margin-top: 40px;
}

.pricing-table--option {
    font-size: 17px;
}

.pricing-table--option thead th {
    text-align: left;
    font-size: 19px;
}

.pricing-table--option tbody th {
    width: auto;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-table--option tbody td {
    width: 40%;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-notes {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing-notes li {
    display: flex;
    gap: 6px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-tertiary);
}

.pricing-notes__mark {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .pricing-table {
        /* 4列が潰れないよう最小幅を確保し、狭い画面では横スクロールに切り替える */
        min-width: 640px;
    
    }

    .pricing-table th,
    .pricing-table td {
        padding: 10px 12px;
    
    }

    .pricing-option-area {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 20px;
        margin-top: 32px;
    
    }

    .pricing-table--option {
        min-width: 0;
    
    }
}

/* ========================================
   Implementation Flow Section
   ======================================== */

.implementation-flow {
    background: var(--bg-white);
}

/* 横5分割は1枚あたり約190pxしか取れず、説明文の量に耐えられないため
   縦のステッパー（左にアイコンのレール、右に本文カード）に変更。
   各行が独立するので、文章量が違っても高さを揃える必要がなくなる */

.flow-steps {
    list-style: none;
    display: grid;
    gap: 16px;
    max-width: 880px;
    margin: 0 auto;
    padding: 0;
}

.flow-step {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

/* ステップ間をつなぐ縦のライン（最後の行には引かない） */

.flow-step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 72px;
    bottom: -16px;
    left: 35px;
    width: 2px;
    background: #C9D6E4;
}

.flow-step__icon {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-step__icon .material-icons {
    font-size: 34px;
    color: var(--primary);
}

.flow-step__body {
    padding: 20px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.flow-step:hover .flow-step__body {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.flow-step__label {
    margin: 0 0 2px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--primary-light);
}

.flow-step__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.flow-step__text {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

/* ========================================
   FAQ Section
   ======================================== */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-white);
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* 対応言語の一覧など長い回答でも切れないよう余裕をとる */

.faq-item.active .faq-answer {
    max-height: 1000px;
}

/* 余白は内側のラッパーで持つ。段落ごとに padding を付けると
   複数段落の回答で間隔が不揃いになるため */

.faq-answer__inner {
    padding: 4px 24px 22px;
}

.faq-answer p {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.faq-answer p + p {
    margin-top: 14px;
}

.faq-answer a {
    color: var(--primary-light);
    font-weight: 700;
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--primary);
}

/* ※付きの補足（対応言語の内訳など） */

.faq-note {
    font-size: 15px;
    color: var(--text-tertiary);
}

/* ========================================
   CTA Section
   ======================================== */

.cta {
    background: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* 装飾用パターン（意味を持たないため background で配信）。
       WebP対応ブラウザには軽量なWebPを、非対応には従来のPNGを配信する */
    background-image: url('../images/cta-pattern-desktop.png');
    background-image: image-set(
        url('../images/cta-pattern-desktop-1920.webp') type('image/webp'),
        url('../images/cta-pattern-desktop.png') type('image/png'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.cta::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.cta .btn--primary {
    background: white;
    color: var(--primary);
    border-color: white;
}

.cta .btn--primary:hover {
    background: var(--primary);
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.cta .btn--outline {
    border-color: white;
    color: white;
}

.cta .btn--outline:hover {
    background: white;
    color: var(--primary);
}

/* ========================================
   Service Videos Section
   ======================================== */

.solution-videos-wrapper {
    margin-top: 56px;
}

.solution-videos-header {
    text-align: center;
    margin-bottom: 32px;
}

.solution-videos-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.solution-intro {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto 48px;
    padding: 32px 40px;
    background: linear-gradient(135deg, #F8FAFB 0%, #F0F4F8 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    text-align: left;
}

.solution-intro__text {
    font-size: 18px;
    line-height: 2;
    color: var(--text-primary);
    text-align: left;
    max-width: none;
    margin: 0;
}

.solution-intro__text strong {
    color: var(--primary);
    font-weight: 700;
}

.solution-intro__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 32px;
    background: linear-gradient(135deg, #F0F7FF 0%, #E3F2FD 100%);
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary);
    margin: 0;
    width: fit-content;
    text-align: center;
}

.video-card {
    background: var(--bg-white);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background: var(--bg-light);
    margin-bottom: 16px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* ========================================
   Topics Section
   ======================================== */

.topics-list {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
    cursor: pointer;
}

.topic-item:last-child {
    border-bottom: none;
}

.topic-item:not(.topic-item--no-link):hover {
    background: var(--bg-light);
}

.topic-item--no-link {
    cursor: default;
}

.topic-date {
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-tertiary);
    font-family: 'Courier New', monospace;
}

.topic-text {
    flex: 1;
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.topic-badge {
    flex-shrink: 0;
    padding: 3px 9px;
    background: var(--accent);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.topic-arrow {
    flex-shrink: 0;
    font-size: 22px;
    color: var(--text-tertiary);
}

.topic-item:hover .topic-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

/* ========================================
   Floating CTA
   ======================================== */

.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    opacity: 0;
    transform: translateY(100px);
    transition: var(--transition);
    /* 非表示のときは透明なまま残るため、クリックを拾わないようにする */
    pointer-events: none;
}

.floating-cta.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--accent);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.floating-cta-btn:hover {
    background: #B71C1C;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 50px;
    
    }

    .solution-intro {
        padding: 32px 24px;
        margin-bottom: 40px;
    
    }

    .solution-intro {
        grid-template-columns: 1fr;
        gap: 24px;
        justify-items: center;
    
    }

    .solution-intro__stat {
        max-width: 300px;
        margin: 0 auto;
    
    }

    .stat-number-large {
        font-size: 48px;
    
    }

    .stat-unit {
        font-size: 20px;
    
    }

    .solution-intro__text {
        font-size: 15px;
        text-align: center;
    
    }

    .solution-points {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 48px;
    
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    
    }

    /* 企業名パネルを少し詰めて本文の幅を確保する */

    .case-card {
        grid-template-columns: 200px minmax(0, 1fr);
    
    }

    .service-list {
        grid-template-columns: 1fr;
        gap: 24px;
    
    }

    .service-card__header {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
        align-items: flex-start;
        min-height: auto;
    
    }

    .service-number {
        width: 44px;
        height: 44px;
        font-size: 18px;
    
    }

    .service-card__body {
        padding: 20px;
    
    }

    .service-title {
        font-size: 19px;
    
    }

    .service-description {
        font-size: 15px;
    
    }

    .service-image {
        margin-bottom: 16px;
    
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    
    }

    .hero__content {
        align-items: center;
        text-align: center;
    
    }

    .hero__logo {
        align-self: center;
    
    }

    .hero__title {
        font-size: 40px;
        letter-spacing: 0;
        text-align: center;
    
    }

    .hero__subtitle {
        font-size: 16px;
        text-align: center;
    
    }

    .solution-intro {
        padding: 24px 20px;
        margin-bottom: 32px;
    
    }

    .solution-intro {
        gap: 20px;
    
    }

    .solution-intro__stat {
        padding: 20px;
    
    }

    .stat-number-large {
        font-size: 40px;
    
    }

    .stat-unit {
        font-size: 18px;
    
    }

    .stat-label-large {
        font-size: 12px;
    
    }

    .solution-intro__text {
        font-size: 14px;
        line-height: 1.8;
    
    }

    .solution-points-header {
        margin-bottom: 32px;
    
    }

    .solution-points-title {
        font-size: 24px;
    
    }

    .solution-points {
        gap: 20px;
        margin-bottom: 40px;
    
    }

    .point-card__body {
        padding: 18px 18px 20px;
    
    }

    .point-card__number {
        min-width: 46px;
        padding: 5px 12px;
        font-size: 14px;
    
    }

    .point-card__title {
        font-size: 20px;
    
    }

    .point-card__text {
        font-size: 16px;
    
    }

    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    
    }

    .hero__cta {
        flex-direction: column;
    
    }

    .hero__cta .btn {
        width: 100%;
    
    }

    section {
        padding: 60px 0;
    
    }

    .section-title {
        font-size: 28px;
    
    }

    .problems-grid {
        grid-template-columns: 1fr;
    
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    
    }

    /* 狭い画面はアイコンのレールを細くして本文の幅を稼ぐ */

    .flow-step {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 16px;
    
    }

    .flow-step:not(:last-child)::before {
        top: 56px;
        left: 27px;
    
    }

    .flow-step__icon {
        width: 56px;
        height: 56px;
    
    }

    .flow-step__icon .material-icons {
        font-size: 28px;
    
    }

    .flow-step__body {
        padding: 16px 18px;
    
    }

    .flow-step__title {
        font-size: 18px;
    
    }

    .flow-step__text {
        font-size: 16px;
    
    }

    .cta-buttons {
        flex-direction: column;
    
    }

    .cta-buttons .btn {
        width: 100%;
    
    }

    .cta::before {
        background-image: url('../images/cta-pattern-mobile.png');
        background-image: image-set(
            url('../images/cta-pattern-mobile-750.webp') type('image/webp'),
            url('../images/cta-pattern-mobile.png') type('image/png'));
    
    }

    .topic-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    
    }

    .topic-arrow {
        display: none;
    
    }

    .service-title {
        font-size: 22px;
    
    }

    .service-list {
        gap: 32px;
    
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 32px;
    
    }

    .solution-videos-wrapper {
        margin-top: 40px;
    
    }

    .solution-videos-header {
        margin-bottom: 24px;
    
    }

    .solution-videos-title {
        font-size: 20px;
    
    }

    .solution-intro {
        padding: 24px 20px;
        margin-bottom: 48px;
    
    }

    .solution-intro__stat {
        padding: 20px 28px;
    
    }

    .solution-intro__text {
        font-size: 15px;
    
    }

    .solution-points-wrapper {
        margin-top: 40px;
    
    }

    .solution-points-title {
        font-size: 20px;
    
    }

    .solution-points {
        grid-template-columns: 1fr;
        gap: 20px;
    
    }

    .point-card__body {
        padding: 16px 16px 20px;
    
    }

    .point-card__title {
        font-size: 19px;
    
    }

    .point-card__text {
        font-size: 16px;
    
    }
}

/* ========================================
   Accessibility
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    
    }
}

.btn:focus,
a:focus,
button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn:focus:not(:focus-visible),
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* ========================================
   お客様導入事例 - レスポンシブ対応
   ======================================== */

@media (max-width: 768px) {
    /* 横並びでは本文が狭くなりすぎるので、企業名パネルを上に積む */

    .case-card {
        grid-template-columns: 1fr;
    
    }

    .case-card__head {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        padding: 16px 18px;
        border-right: none;
        border-bottom: 2px solid var(--primary);
    
    }

    /* パネルが横長・低くなるので透かしも小さくする */

    .case-card__icon {
        right: -16px;
        bottom: -28px;
    
    }

    .case-card__icon .material-icons {
        font-size: 120px;
    
    }

    .case-card__title {
        font-size: 17px;
    
    }

    .case-card__body {
        gap: 14px;
        padding: 18px;
    
    }

    .case-card__link {
        margin-top: 0;
        padding: 10px 14px;
    
    }

    .case-row {
        grid-template-columns: 1fr;
        gap: 8px;
    
    }

    .case-row__tag {
        width: 52px;
    
    }

    .case-row__text {
        font-size: 16px;
    
    }
}

/* ========================================
   Web Vitals 対策
   ======================================== */

/* スクロール連動フェードイン
   以前は JavaScript が要素ごとに opacity / transform / transition を
   インラインで書き込んでいたため、(1) 初期描画後に一瞬見えてから消える
   ちらつき (2) 要素数ぶんのスタイル再計算 が発生していた。
   初期状態を CSS 側で持ち、JS はクラスの付け外しだけを行う。
   `js-anim` は head のインラインスクリプトが付与するため、
   JavaScript 無効時やモーション低減設定時は最初から表示される。 */

.js-anim .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    /* 画面外の要素の描画コストを下げる（LCP/INP に寄与） */
    will-change: opacity, transform;
}

.js-anim .reveal.is-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
}

/* OS側で「視差効果を減らす」設定の場合はアニメーションしない */

@media (prefers-reduced-motion: reduce) {
    .js-anim .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    
    }
}

/* ヒーロー動画は読み込みを遅延させるため、読み込み前の領域を
   ダークプレースホルダで見せる（寸法は video の width/height 属性で予約済み） */

.hero__video-wrapper video[data-src] {
    background: #0a0a0a;
}

/* ========================================
   Breadcrumb
   ======================================== */
/* 固定ヘッダーとヒーローの間に置く。ヘッダーは position: fixed で流れから外れているため、
   margin-top でヘッダーの高さぶん下げる。高さは --breadcrumb-h で固定し、
   その分をヒーローの min-height から差し引いてFV全体を1画面に保つ（hero-new.css 参照）。 */
.breadcrumb {
    background: var(--bg-white);
    margin-top: var(--header-h);
    min-height: var(--breadcrumb-h);
    display: flex;
    align-items: center;
}

/* .container は margin: 0 auto で中央寄せするため、flex子要素として幅を持たせる */
.breadcrumb > .container {
    width: 100%;
}

.breadcrumb__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-tertiary);
}

.breadcrumb__item {
    display: flex;
    align-items: center;
}

/* 区切りはCSSで描く（テキストにしないので読み上げ対象にならない） */
.breadcrumb__item + .breadcrumb__item::before {
    content: '';
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    margin: 0 10px;
    border-top: 1px solid var(--border-medium);
    border-right: 1px solid var(--border-medium);
    transform: rotate(45deg);
}

.breadcrumb__item a {
    color: var(--text-tertiary);
    text-decoration: none;
}

.breadcrumb__item a:hover,
.breadcrumb__item a:focus-visible {
    color: var(--primary);
    text-decoration: underline;
}

.breadcrumb__item[aria-current="page"] {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    :root {
        --breadcrumb-h: 34px;
    }

    .breadcrumb__list {
        font-size: 12px;
    }

    .breadcrumb__item + .breadcrumb__item::before {
        margin: 0 8px;
    }
}
