@charset "UTF-8";
/* ==========================================================================
   h2online Theme - service-ec.css
   サービスページ共通テンプレート（EC / WordPress / 撮影 / 動画で流用）
   ・クラスは h2-srv- 接頭辞で統一（サービス非依存）
   ・赤ラインアニメは common.css の @keyframes と main.js の
     data-h2-reveal → .is-in-view を再利用（新規JS不要）
   ========================================================================== */

/* --------------------------------------------------------------------------
   ルート / 共通
   -------------------------------------------------------------------------- */
.h2-srv {
    background: var(--h2-color-black);
    color: var(--h2-color-white);
    overflow-x: hidden;
    /* ビューポート端 → 中央コンテナ左右ガイドまでの距離（緑ガイドに合わせる用） */
    --srv-gutter: max(var(--h2-container-pad), calc((100vw - var(--h2-container)) / 2 + var(--h2-container-pad)));
}
.h2-srv__inner {
    max-width: var(--h2-container);
    margin: 0 auto;
    padding: 0 var(--h2-container-pad);
}

/* 英字ラベル */
.h2-srv-eyebrow {
    font-family: var(--h2-font-en);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--h2-color-red);
    display: block;
    margin: 0 0 12px;
}
.h2-srv-eyebrow--dark { color: var(--h2-color-red); }

/* --------------------------------------------------------------------------
   赤ライン共通ベース
   - v    : 縦（上→下）        … h2-reveal-down
   - h    : 横（左→右）        … h2-reveal-right
   - diag : 斜め（右端→左端）  … h2-reveal-down-rotated（rotate -26deg）
   -------------------------------------------------------------------------- */
.h2-srv-line { pointer-events: none; display: block; }

.h2-srv-line--v {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--h2-color-red) 0%, var(--h2-color-red-deep) 100%);
    clip-path: inset(0 0 100% 0);
    will-change: clip-path;
}
.h2-srv-line--h {
    height: 3px; width: 100%;
    background: var(--h2-color-red);
    clip-path: inset(0 100% 0 0);
    will-change: clip-path;
}
.h2-srv-line--diag {
    position: absolute;
    height: 4px;
    background: linear-gradient(to bottom, var(--h2-color-red) 0 2px, transparent 2px 4px);
    transform: rotate(-26deg);
    transform-origin: right center;
    clip-path: inset(0 0 0 100%);
    will-change: clip-path;
}

/* .is-in-view（親セクションに付与）で発火 */
.h2-srv-hero.is-in-view   .h2-srv-line--v,
.h2-srv-split.is-in-view  .h2-srv-line--v,
.h2-srv-cta.is-in-view    .h2-srv-line--v {
    animation: h2-reveal-down 1.1s cubic-bezier(.65, 0, .35, 1) forwards;
}
.h2-srv-support.is-in-view .h2-srv-line--h {
    animation: h2-reveal-right .8s cubic-bezier(.65, 0, .35, 1) forwards;
}
.h2-srv-hero.is-in-view  .h2-srv-line--diag,
.h2-srv-about.is-in-view .h2-srv-line--diag,
.h2-srv-cta.is-in-view   .h2-srv-line--diag {
    animation: h2-reveal-down-rotated 1.1s cubic-bezier(.65, 0, .35, 1) forwards;
}

/* --------------------------------------------------------------------------
   1. HERO
   -------------------------------------------------------------------------- */
.h2-srv-hero { background: var(--h2-color-black); position: relative; overflow: hidden; }
.h2-srv-hero__inner {
    padding-top: 88px; padding-bottom: 72px;
    display: grid; grid-template-columns: 55% 1fr; gap: 48px; align-items: center;
}
.h2-srv-hero__body { position: relative; padding-left: 28px; }
.h2-srv-hero__title {
    /* TOPのメインビジュアル見出しと同じサイズに統一 */
    font-size: clamp(28px, 5.2vw, 58px);
    font-weight: 900; color: var(--h2-color-white);
    line-height: 1.2; letter-spacing: .01em; margin: 0 0 28px;
}
.h2-srv-hero__lead { color: var(--h2-color-gray-text); font-size: 15px; line-height: 1.9; margin: 0; }

.h2-srv-hero__visual { position: relative; }
.h2-srv-visual {
    margin: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden;
    background: linear-gradient(135deg, #1a0005 0%, var(--h2-color-black-3) 100%);
}
.h2-srv-visual__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h2-srv-visual__placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--h2-font-en); font-size: 12px; letter-spacing: .12em;
    color: var(--h2-color-gray-line); text-align: center; padding: 0 16px;
}
.h2-srv-hero__diag1, .h2-srv-hero__diag2 { right: -12%; width: 44%; z-index: 2; }
.h2-srv-hero__diag1 { top: 18%; }
.h2-srv-hero__diag2 { bottom: 14%; }
.h2-srv-hero.is-in-view .h2-srv-hero__diag2 { animation-delay: .18s; }

/* --- 詳細ページ：黒MV背景ヒーロー（body.h2-srv-mv で有効化） --- */
.h2-srv-mv .h2-srv-hero {
    position: relative;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}
/* 左を暗くして文字を読みやすく */
.h2-srv-mv .h2-srv-hero::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, #050505 0%, rgba(5,5,5,.92) 26%, rgba(5,5,5,.5) 54%, rgba(5,5,5,.05) 82%);
}
/* テキストは1カラムで前面に。右側の旧ビジュアルは隠す */
.h2-srv-mv .h2-srv-hero__inner {
    position: relative; z-index: 2;
    grid-template-columns: 1fr;
    min-height: clamp(360px, 42vw, 580px);
    align-content: center;
}
.h2-srv-mv .h2-srv-hero__visual { display: none; }

/* 各サービスのMV画像（CSSファイルからの相対パス: assets/css → assets/images） */
.h2-srv-mv--ec        .h2-srv-hero { background-image: url(../images/service-ec-mv.png); }
.h2-srv-mv--wordpress .h2-srv-hero { background-image: url(../images/service-wordpress-mv.png); }
.h2-srv-mv--photo     .h2-srv-hero { background-image: url(../images/service-photo-mv.png); }
.h2-srv-mv--video     .h2-srv-hero { background-image: url(../images/service-video-mv.png); }

/* スマホ：高さはそのまま、MV画像全体が見えるよう contain で表示（cover の見切れ防止） */
@media (max-width: 768px) {
    .h2-srv-mv .h2-srv-hero {
        background-size: contain;
        background-position: center center;
        background-color: var(--h2-color-black);
    }
    /* 文字可読用の暗グラデは控えめ＆下側中心に（画像を覆い隠さない） */
    .h2-srv-mv .h2-srv-hero::after {
        background: linear-gradient(180deg, rgba(5,5,5,.15) 0%, rgba(5,5,5,.2) 45%, rgba(5,5,5,.72) 100%);
    }
}

/* 小機能リスト（ヒーロー／STRENGTH 共通・暗背景用・任意表示） */
.h2-srv-features { list-style: none; margin: 0; padding: 0; display: flex; }
.h2-srv-feature { display: flex; flex-direction: column; gap: 10px; }
.h2-srv-feature__icon { color: var(--h2-color-white); }
.h2-srv-feature__icon svg { width: 100%; height: 100%; display: block; }
.h2-srv-feature__label { font-size: 12px; color: var(--h2-color-gray-text); line-height: 1.5; }

/* ヒーロー：3機能・区切り線あり */
.h2-srv-hero__features { margin-top: 36px; }
.h2-srv-hero__features .h2-srv-feature { padding: 0 24px; border-left: 1px solid var(--h2-color-gray-line); }
.h2-srv-hero__features .h2-srv-feature:first-child { padding-left: 0; border-left: none; }
.h2-srv-hero__features .h2-srv-feature__icon { width: 28px; height: 28px; }

/* STRENGTH：5機能・区切り線あり・小さめ */
.h2-srv-strength__features { margin-top: 40px; }
.h2-srv-strength__features .h2-srv-feature { flex: 1; min-width: 0; padding: 0 16px; border-left: 1px solid var(--h2-color-gray-line); }
.h2-srv-strength__features .h2-srv-feature:first-child { padding-left: 0; border-left: none; }
.h2-srv-strength__features .h2-srv-feature__icon { width: 26px; height: 26px; }
.h2-srv-strength__features .h2-srv-feature__label { font-size: 11px; }

/* --------------------------------------------------------------------------
   2. ABOUT SERVICE
   -------------------------------------------------------------------------- */
.h2-srv-about { background: var(--h2-color-white-soft); color: var(--h2-color-black); padding: clamp(36px, 3.5vw, 52px) 0; }
/* STRENGTH と同じ構造：全幅をビューポート中央で50:50分割。
   左テキストはコンテナ左ガイド、右パネルは中央〜ブラウザ右端まで。 */
.h2-srv-about__inner {
    max-width: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}
.h2-srv-about__text {
    padding-left: var(--srv-gutter);
    padding-right: clamp(32px, 4vw, 64px);
}
.h2-srv-about__title { font-size: clamp(22px, 3.2vw, 36px); color: var(--h2-color-black); line-height: 1.45; margin: 0 0 28px; font-weight: 900; }
.h2-srv-about__p { font-size: 14px; line-height: 1.95; color: #333; margin: 0; }
.h2-srv-about__p + .h2-srv-about__p { margin-top: 18px; }

.h2-srv-about__panel {
    background: var(--h2-color-black); color: var(--h2-color-white);
    padding: clamp(32px, 3.5vw, 44px) clamp(28px, 3vw, 48px);
    position: relative; overflow: hidden;
}
.h2-srv-about__diag1, .h2-srv-about__diag2 { right: -14%; width: 42%; }
.h2-srv-about__diag1 { top: 18%; }
.h2-srv-about__diag2 { top: 26%; opacity: .5; }
.h2-srv-about.is-in-view .h2-srv-about__diag2 { animation-delay: .18s; }
.h2-srv-about__abbr {
    display: block; font-family: var(--h2-font-en); font-weight: 700;
    font-size: clamp(72px, 9vw, 100px); color: var(--h2-color-red);
    line-height: 1; margin: 0 0 6px;
}
.h2-srv-about__keywords {
    font-family: var(--h2-font-en); font-size: 13px; letter-spacing: .07em;
    color: var(--h2-color-gray-text); line-height: 2.1; margin: 0 0 28px;
}
.h2-srv-about__icons { display: flex; gap: 24px; border-top: 1px solid var(--h2-color-gray-line); padding-top: 24px; }
.h2-srv-about__icons svg { width: 53px; height: 53px; opacity: .75; }

/* --------------------------------------------------------------------------
   3. SUPPORT AREA
   -------------------------------------------------------------------------- */
.h2-srv-support { background: var(--h2-color-white); color: var(--h2-color-black); padding: 88px 0; border-top: 1px solid #e6e6e6; }
.h2-srv-support__head { margin-bottom: 48px; }
.h2-srv-support__title { font-size: clamp(28px, 4vw, 44px); color: var(--h2-color-black); margin: 0; font-weight: 900; }

.h2-srv-cards { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid #e0e0e0; }
.h2-srv-card { padding: 28px 18px 44px; border-right: 1px solid #e0e0e0; background: var(--h2-color-white); position: relative; }
.h2-srv-card:last-child { border-right: none; }
.h2-srv-card__icon { display: block; width: 40px; height: 40px; margin-bottom: 12px; }
.h2-srv-card__icon svg { width: 100%; height: 100%; }
.h2-srv-card__num { font-family: var(--h2-font-en); font-size: 11px; color: var(--h2-color-red); letter-spacing: .12em; display: block; margin-bottom: 12px; }
.h2-srv-card__title { font-size: 14px; font-weight: 700; color: var(--h2-color-black); margin: 0 0 10px; line-height: 1.5; }
.h2-srv-card__desc { font-size: 12px; color: #555; line-height: 1.85; margin: 0; }
.h2-srv-card__bar { position: absolute; bottom: 0; left: 0; right: 0; }
/* カード下部ラインを順番にずらして発火 */
.h2-srv-support.is-in-view .h2-srv-card:nth-child(2) .h2-srv-card__bar { animation-delay: .08s; }
.h2-srv-support.is-in-view .h2-srv-card:nth-child(3) .h2-srv-card__bar { animation-delay: .16s; }
.h2-srv-support.is-in-view .h2-srv-card:nth-child(4) .h2-srv-card__bar { animation-delay: .24s; }
.h2-srv-support.is-in-view .h2-srv-card:nth-child(5) .h2-srv-card__bar { animation-delay: .32s; }
.h2-srv-support.is-in-view .h2-srv-card:nth-child(6) .h2-srv-card__bar { animation-delay: .40s; }

/* --------------------------------------------------------------------------
   4. STRENGTH + RECOMMENDED
   -------------------------------------------------------------------------- */
.h2-srv-split { display: grid; grid-template-columns: 1fr 1fr; }
/* 背景の黒/白は全幅のまま、テキストはコンテナ（緑ガイド）に揃える。
   外側（ビューポート寄り）= コンテナ端、内側（中央寄り）= 適度な余白。 */
.h2-srv-strength {
    background: var(--h2-color-black); color: var(--h2-color-white); position: relative;
    padding-top: clamp(56px, 6vw, 80px);
    padding-bottom: clamp(56px, 6vw, 80px);
    /* テキストはコンテナ左ガイド＋赤ラインぶんのインデント */
    padding-left: calc(var(--srv-gutter) + 28px);
    padding-right: clamp(24px, 4vw, 56px);
}
/* 赤い縦ラインを画面左端ではなくコンテナ左ガイドに合わせる */
.h2-srv-strength__vline { left: var(--srv-gutter); }
.h2-srv-strength__title { font-size: clamp(22px, 2.8vw, 34px); color: var(--h2-color-white); line-height: 1.45; margin: 0 0 24px; font-weight: 900; }
.h2-srv-strength__p { font-size: 14px; line-height: 1.95; color: var(--h2-color-gray-text); margin: 0; }

.h2-srv-recommend {
    background: var(--h2-color-white); color: var(--h2-color-black);
    padding-top: clamp(56px, 6vw, 80px);
    padding-bottom: clamp(56px, 6vw, 80px);
    padding-left: clamp(24px, 4vw, 56px);
    padding-right: var(--srv-gutter);
}
.h2-srv-recommend__title { font-size: clamp(22px, 2.8vw, 34px); color: var(--h2-color-black); line-height: 1.45; margin: 0 0 28px; font-weight: 900; }
.h2-srv-checklist { list-style: none; margin: 0; padding: 0; }
.h2-srv-checklist li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 14px; color: #222; line-height: 1.7;
    padding: 12px 0; border-bottom: 1px solid #e0e0e0;
}
.h2-srv-checklist li:first-child { border-top: 1px solid #e0e0e0; }
.h2-srv-checklist svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }

/* --------------------------------------------------------------------------
   5. FLOW
   -------------------------------------------------------------------------- */
.h2-srv-flow { background: var(--h2-color-white); color: var(--h2-color-black); padding: clamp(44px, 4.5vw, 64px) 0; border-top: 1px solid #e6e6e6; }
.h2-srv-flow__layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; }
.h2-srv-flow__title { font-size: clamp(20px, 2.2vw, 28px); color: var(--h2-color-black); line-height: 1.5; margin: 0; font-weight: 900; }
/* ステップ数（4でも5でも）に依存しないフレックス方式 */
.h2-srv-flow__steps { display: flex; align-items: stretch; }
.h2-srv-flow__steps .h2-srv-step { flex: 1 1 0; min-width: 0; }
/* 矢印はカード全高の中央（＝アイコンと同じ要素中央ライン）に配置 */
.h2-srv-flow__arrow {
    flex: 0 0 28px; display: flex; align-items: center; justify-content: center;
    color: var(--h2-color-red);
}
.h2-srv-flow__arrow svg { width: 12px; height: 20px; opacity: 0; transition: opacity .5s ease; }
/* ステップ数に関わらず全矢印を表示（遅延だけ段階的に） */
.h2-srv-flow.is-in-view .h2-srv-flow__arrow svg { opacity: 1; }
.h2-srv-flow.is-in-view .h2-srv-flow__arrow:nth-of-type(1) svg { transition-delay: .3s; }
.h2-srv-flow.is-in-view .h2-srv-flow__arrow:nth-of-type(2) svg { transition-delay: .45s; }
.h2-srv-flow.is-in-view .h2-srv-flow__arrow:nth-of-type(3) svg { transition-delay: .6s; }
.h2-srv-flow.is-in-view .h2-srv-flow__arrow:nth-of-type(4) svg { transition-delay: .75s; }

/* 各ステップ＝枠付きカード（番号＋タイトル横並び・線アイコン・左寄せ） */
.h2-srv-step { text-align: left; border: 1px solid #e0e0e0; background: var(--h2-color-white); padding: 18px 18px 22px; position: relative; }
/* タイトル行を2行分の高さで固定 → 説明文の開始位置を全カードで揃える */
.h2-srv-step__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; min-height: 2.8em; }
.h2-srv-step__num { font-family: var(--h2-font-en); font-size: 22px; color: var(--h2-color-red); letter-spacing: .04em; line-height: 1; }
.h2-srv-step__title { font-size: 14px; font-weight: 700; color: var(--h2-color-black); margin: 0; line-height: 1.4; }
/* アイコンはカード全高の中央に絶対配置（＝矢印と同じ要素中央ライン）。
   説明文は本文の左にアイコン幅ぶんの余白を空けて上揃え。 */
.h2-srv-step__icon {
    position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; color: var(--h2-color-black);
}
.h2-srv-step__body { padding-left: 42px; }
.h2-srv-step__icon svg { width: 100%; height: 100%; }
.h2-srv-step__desc { font-size: 12px; color: #555; line-height: 1.85; margin: 0; }

/* --------------------------------------------------------------------------
   6. CONTACT CTA
   -------------------------------------------------------------------------- */
.h2-srv-cta { background: var(--h2-color-black); padding: 72px 0; position: relative; overflow: hidden; }
.h2-srv-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; position: relative; }
.h2-srv-cta__title { font-size: clamp(22px, 3vw, 34px); color: var(--h2-color-white); line-height: 1.35; margin: 0 0 14px; font-weight: 900; }
.h2-srv-cta__p { font-size: 14px; color: var(--h2-color-gray-text); line-height: 1.85; margin: 0; }
.h2-srv-cta__btn {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--h2-color-red); color: var(--h2-color-white);
    font-size: 16px; font-weight: 700; padding: 20px 48px;
    white-space: nowrap; flex-shrink: 0; transition: background .2s ease;
}
.h2-srv-cta__btn:hover { background: var(--h2-color-red-deep); color: var(--h2-color-white); }
.h2-srv-cta__btn-arrow { font-family: var(--h2-font-en); font-size: 20px; line-height: 1; }
.h2-srv-cta__diag1, .h2-srv-cta__diag2 { right: -8%; width: 36%; }
.h2-srv-cta__diag1 { bottom: 35%; }
.h2-srv-cta__diag2 { bottom: 20%; opacity: .45; }
.h2-srv-cta.is-in-view .h2-srv-cta__diag2 { animation-delay: .15s; }

/* --------------------------------------------------------------------------
   prefers-reduced-motion : 動きを無効化して最初から表示
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .h2-srv-line { animation: none !important; clip-path: none !important; }
    .h2-srv-flow__arrow svg { opacity: 1 !important; transition: none !important; }
}

/* --------------------------------------------------------------------------
   レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .h2-srv-hero__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; padding-bottom: 48px; }
    /* 1カラム時：左右余白をコンテナ余白に統一 */
    .h2-srv-about__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .h2-srv-about__text {
        padding-left: var(--h2-container-pad);
        padding-right: var(--h2-container-pad);
    }
    .h2-srv-about__panel { margin: 0 var(--h2-container-pad); }
    .h2-srv-cards { grid-template-columns: repeat(3, 1fr); }
    .h2-srv-card { border-bottom: 1px solid #e0e0e0; }
    .h2-srv-card:nth-child(3n) { border-right: none; }
    .h2-srv-card:nth-child(n+4) { border-bottom: none; }
    .h2-srv-split { grid-template-columns: 1fr; }
    /* 1カラム時は左右余白をコンテナ余白に統一 */
    .h2-srv-strength, .h2-srv-recommend {
        padding-left: calc(var(--h2-container-pad) + 16px);
        padding-right: var(--h2-container-pad);
    }
    /* 赤い縦ラインは画面左端寄せにして、テキストと重ならないようにする */
    .h2-srv-strength__vline { left: 0; }
    .h2-srv-flow__layout { grid-template-columns: 1fr; gap: 32px; }
    /* タブレット：2列で折り返し、矢印は非表示 */
    .h2-srv-flow__steps { flex-wrap: wrap; gap: 16px; }
    .h2-srv-flow__steps .h2-srv-step { flex: 1 1 calc(50% - 8px); }
    .h2-srv-flow__arrow { display: none; }
    .h2-srv-cta__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
    .h2-srv-cards { grid-template-columns: 1fr; }
    .h2-srv-card { border-right: none !important; border-bottom: 1px solid #e0e0e0 !important; }
    .h2-srv-card:last-child { border-bottom: none !important; }
    /* スマホ：1列でカードを縦積み */
    .h2-srv-flow__steps .h2-srv-step { flex: 1 1 100%; }

    /* 小機能リストは折り返し */
    .h2-srv-features { flex-wrap: wrap; gap: 20px 0; }
    .h2-srv-hero__features .h2-srv-feature { flex: 0 0 50%; padding: 0 18px; }
    .h2-srv-hero__features .h2-srv-feature:nth-child(odd) { padding-left: 0; border-left: none; }
    .h2-srv-strength__features .h2-srv-feature { flex: 0 0 50%; padding: 0 14px; }
    .h2-srv-strength__features .h2-srv-feature:nth-child(odd) { padding-left: 0; border-left: none; }
}

/* ==========================================================================
   サービス一覧ページ（page-service-index.php / .h2-srvidx）
   ========================================================================== */

/* ---- 1. HERO ---- */
.h2-srvidx-hero { background: var(--h2-color-black); position: relative; overflow: hidden; }
/* MV背景画像 */
.h2-srvidx-hero__bg {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center right;
    pointer-events: none;
}
/* 左を暗くして文字を読みやすく（画像の暗部側にテキストを重ねる） */
.h2-srvidx-hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, #050505 0%, rgba(5,5,5,.9) 26%, rgba(5,5,5,.35) 55%, rgba(5,5,5,0) 78%);
}
.h2-srvidx-hero--mv .h2-srvidx-hero__inner { min-height: clamp(340px, 40vw, 560px); display: flex; flex-direction: column; justify-content: center; }
.h2-srvidx-hero__inner { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 80px; }
.h2-srvidx-hero__vline { left: var(--h2-container-pad); }
.h2-srvidx-hero__title {
    /* TOP・各サービス詳細ページのMV見出しと同じサイズに統一 */
    font-size: clamp(28px, 5.2vw, 58px); font-weight: 900; color: var(--h2-color-white);
    line-height: 1.2; letter-spacing: .01em; margin: 0 0 28px; padding-left: 28px;
}
.h2-srvidx-hero__lead { color: var(--h2-color-gray-text); font-size: 15px; line-height: 1.95; margin: 0; padding-left: 28px; }
.h2-srvidx-hero__diag1, .h2-srvidx-hero__diag2 { right: -6%; width: 46%; z-index: 1; }
.h2-srvidx-hero__diag1 { top: 30%; }
.h2-srvidx-hero__diag2 { top: 42%; opacity: .55; }
.h2-srvidx-hero.is-in-view .h2-srvidx-hero__diag1 { animation: h2-reveal-down-rotated 1.1s cubic-bezier(.65,0,.35,1) forwards; }
.h2-srvidx-hero.is-in-view .h2-srvidx-hero__diag2 { animation: h2-reveal-down-rotated 1.1s cubic-bezier(.65,0,.35,1) .18s forwards; }
.h2-srvidx-hero.is-in-view .h2-srvidx-hero__vline { animation: h2-reveal-down 1.1s cubic-bezier(.65,0,.35,1) forwards; }

/* ---- 2. サマリーバンド ---- */
.h2-srvidx-summary { background: var(--h2-color-white-soft); color: var(--h2-color-black); padding: clamp(36px, 4vw, 56px) 0; }
.h2-srvidx-summary__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.h2-srvidx-summary__title { position: relative; font-size: clamp(22px, 3vw, 32px); font-weight: 900; color: var(--h2-color-black); margin: 0 0 18px; padding-left: 18px; }
.h2-srvidx-summary__title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; background: var(--h2-color-red); }
.h2-srvidx-summary__lead { font-size: 13.5px; line-height: 1.95; color: #333; margin: 0; }
.h2-srvidx-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.h2-srvidx-point { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.h2-srvidx-point__icon { width: 44px; height: 44px; }
.h2-srvidx-point__icon svg { width: 100%; height: 100%; }
.h2-srvidx-point__label { font-size: 12px; font-weight: 700; color: var(--h2-color-black); line-height: 1.5; }

/* ---- 3. サービスバナー一覧 ---- */
.h2-srvidx-list { background: var(--h2-color-black); padding: clamp(28px, 3vw, 44px) var(--h2-container-pad); display: flex; flex-direction: column; gap: clamp(20px, 2.5vw, 32px); }
.h2-srvidx-row {
    position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
    max-width: var(--h2-container); width: 100%; margin: 0 auto;
    background: var(--h2-color-white); overflow: hidden; color: var(--h2-color-black);
    min-height: 230px; transition: transform .25s ease, box-shadow .25s ease;
}
.h2-srvidx-row:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,0,0,.35); color: var(--h2-color-black); }
/* 左上：赤い斜めコーナー＋番号 */
.h2-srvidx-row__corner {
    position: absolute; top: 0; left: 0; z-index: 3;
    width: 86px; height: 86px;
    background: linear-gradient(135deg, var(--h2-color-red) 0 50%, transparent 50%);
    font-family: var(--h2-font-en); font-size: 26px; font-weight: 700; color: var(--h2-color-white);
    padding: 8px 0 0 12px; line-height: 1;
}
.h2-srvidx-row__body { padding: clamp(28px, 3.5vw, 48px) clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.h2-srvidx-row__title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; color: var(--h2-color-black); margin: 0 0 16px; line-height: 1.3; }
.h2-srvidx-row__desc { font-size: 14px; line-height: 1.85; color: #444; margin: 0 0 26px; }
.h2-srvidx-row__btn {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 28px;
    background: var(--h2-color-red); color: var(--h2-color-white);
    font-size: 14px; font-weight: 700; padding: 13px 22px; transition: background .2s ease;
}
.h2-srvidx-row:hover .h2-srvidx-row__btn { background: var(--h2-color-red-deep); }
.h2-srvidx-row__btn-arrow { font-family: var(--h2-font-en); font-size: 16px; }
.h2-srvidx-row__media { margin: 0; position: relative; background: var(--h2-color-white); overflow: hidden; }
.h2-srvidx-row__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h2-srvidx-row__placeholder {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-family: var(--h2-font-en); font-size: 11px; letter-spacing: .1em; color: #bbb; text-align: center; padding: 0 16px;
}

/* ---- 4. CTA ---- */
.h2-srvidx-cta { background: var(--h2-color-black); padding: clamp(44px, 5vw, 72px) 0; position: relative; overflow: hidden; }
.h2-srvidx-cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.h2-srvidx-cta__title { position: relative; font-size: clamp(20px, 2.6vw, 30px); font-weight: 900; color: var(--h2-color-white); margin: 0 0 14px; padding-left: 18px; }
.h2-srvidx-cta__title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; background: var(--h2-color-red); }
.h2-srvidx-cta__p { font-size: 14px; line-height: 1.85; color: var(--h2-color-gray-text); margin: 0; padding-left: 18px; }
.h2-srvidx-cta__label { font-size: 13px; color: var(--h2-color-white); margin: 0 0 14px; font-weight: 700; }
.h2-srvidx-cta__btn {
    display: inline-flex; align-items: center; gap: 16px; width: 100%; justify-content: center;
    background: var(--h2-color-red); color: var(--h2-color-white);
    font-size: 16px; font-weight: 700; padding: 20px 32px; transition: background .2s ease;
}
.h2-srvidx-cta__btn:hover { background: var(--h2-color-red-deep); color: var(--h2-color-white); }
.h2-srvidx-cta__btn-icon { width: 22px; height: 22px; }
.h2-srvidx-cta__btn-icon svg { width: 100%; height: 100%; }
.h2-srvidx-cta__btn-arrow { font-family: var(--h2-font-en); font-size: 18px; margin-left: auto; }
.h2-srvidx-cta__diag { right: -6%; bottom: 18%; width: 38%; }
.h2-srvidx-cta.is-in-view .h2-srvidx-cta__diag { animation: h2-reveal-down-rotated 1.1s cubic-bezier(.65,0,.35,1) forwards; }

/* ---- 一覧ページ レスポンシブ ---- */
@media (max-width: 900px) {
    .h2-srvidx-summary__inner { grid-template-columns: 1fr; gap: 32px; }
    .h2-srvidx-row { grid-template-columns: 1fr; }
    .h2-srvidx-row__media { min-height: 200px; order: -1; }
    .h2-srvidx-cta__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .h2-srvidx-points { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
    .h2-srvidx-hero__title, .h2-srvidx-hero__lead { padding-left: 20px; }
}
