@charset "UTF-8";

/* =========================================================
   AIリスキリング LP（/service/ai-reskilling/）
   Vibe Coding Bootcamp スタンドアロンページ。
   共通ヘッダー/フッターを持たない独立ページ。
   ========================================================= */

/*
 * ▼画像は仮のプレースホルダーです。images/*.webp が用意できたら、
 *   各所の「▼画像差し替え」コメントの手順どおり <img> 1行に置き換えてください。
 */
/* ベース・カラー設定 */
:root {
    --primary-blue: #1e40af;
    --primary-blue-hover: #2563eb;
    --navy-dark: #0f172a;
    --navy-light: #1e293b;
    --navy-accent: #334155;
    --gray-bg: #f8fafc;
    --gray-border: #cbd5e1;
    --gray-text: #475569;
    --white: #ffffff;
    --accent-orange: #ea580c;

    /* コンテンツの最大幅（これ以上広い画面では左右に余白を作って中央寄せ） */
    --content-max: 1180px;
    --header-max: 1360px;

    /* フラットイラスト用パレット */
    --ill-bg: #e3edfb;
    --ill-bg2: #f1f6fd;
    --ill-blue: #2b7fe8;
    --ill-blue-dark: #1b4fa8;
    --ill-light: #b9d4f5;
    --ill-navy: #1e2a47;
    --ill-skin: #f7cba8;
    --ill-accent: #f59e0b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    color: var(--navy-dark);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 18px;
    /* デフォルト16px→18px。rem基準の全テキストが約12%拡大 */
    padding-top: 70px;
    /* 固定ヘッダー分の余白 */
}

/* 全体レイアウト：1カラム */
.wrapper {
    position: relative;
    width: 100%;
}

main {
    width: 100%;
    position: relative;
    z-index: 0;
    /* main::before(z-index:-1)を main の背景とセクションの間に置くための stacking context */
    /* ベースの極細ドット。scroll（デフォルト）でページと一緒にスクロールする。
       自前の背景色を持つセクション（.hero / .solution / .download-section 等）ではこの背景は見えない */
    background-color: #fbfcfe;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(30, 64, 175, 0.14) 1px, transparent 0);
    background-size: 24px 24px;
}

/* カーソル周辺のドットだけを濃く見せる層。
   ・position:absolute + inset:0 で main 全体を覆う（ページ全体に敷かれ、スクロールに追従）
   ・同じ24pxグリッドでベース層と完全に重なる
   ・radial-gradient で作った円形マスクで、カーソル近傍だけ露出させる
   ・座標系は main 基準（JS 側で getBoundingClientRect による viewport→main 変換をしている） */
main::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    /* main の背景の上、セクション本文の下 */
    background-image:
        radial-gradient(circle at 1px 1px, rgba(30, 64, 175, 0.40) 1px, transparent 0);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(circle 140px at var(--mouse-x, -400px) var(--mouse-y, -400px),
            #000 0%,
            rgba(0, 0, 0, 0.55) 45%,
            transparent 100%);
    mask-image: radial-gradient(circle 140px at var(--mouse-x, -400px) var(--mouse-y, -400px),
            #000 0%,
            rgba(0, 0, 0, 0.55) 45%,
            transparent 100%);
}

/* 上部固定ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--gray-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 max(4%, calc((100% - var(--header-max)) / 2));
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-logo {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--navy-dark);
    flex-shrink: 0;
}

.header-logo span {
    color: var(--primary-blue);
    font-size: 0.85rem;
    display: block;
    font-weight: normal;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* 副CTA（無料相談）：青地・白文字 */
.header-btn-sub {
    display: inline-block;
    padding: 9px 18px;
    border: 1.5px solid var(--primary-blue);
    border-radius: 4px;
    color: var(--white);
    background-color: var(--primary-blue);
    font-weight: bold;
    font-size: 0.88rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
}

.header-btn-sub:hover {
    background-color: var(--primary-blue-hover);
    color: var(--white);
}

.header-btn {
    display: inline-block;
    white-space: nowrap;
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    box-shadow: 0 2px 4px rgba(234, 88, 12, 0.2);
}

.header-btn:hover {
    background-color: #c2410c;
}

/* 共通セクションスタイル */
section {
    padding: 90px max(5%, calc((100% - var(--content-max)) / 2));
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 40px;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 6px;
    background-color: var(--primary-blue);
}

.sub-title {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 30px;
    font-weight: 600;
}

/* 資料ダウンロード（ページ下部） */
.download-section {
    background-color: var(--navy-dark);
    color: var(--white);
    border-bottom: none;
    padding-top: 100px;
    padding-bottom: 100px;
}

.download-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: start;
}

.download-lead .download-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--white);
    background-color: var(--primary-blue);
    padding: 5px 14px;
    border-radius: 3px;
    margin-bottom: 20px;
}

.download-lead h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
}

.download-lead p {
    color: #cbd5e1;
    margin-bottom: 28px;
}

.download-list {
    list-style: none;
}

.download-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #e2e8f0;
    font-size: 0.95rem;
}

.download-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--primary-blue);
}

.download-list li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 9px;
    width: 8px;
    height: 4px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg);
}

.download-form-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 32px 30px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.download-form-card h3 {
    font-size: 1.25rem;
    color: var(--navy-dark);
    margin-bottom: 6px;
}

.download-form-card .form-note {
    font-size: 0.95rem;
    color: var(--gray-text);
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--gray-border);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: bold;
    margin-bottom: 6px;
    color: var(--navy-dark);
}

.form-group .req {
    color: var(--accent-orange);
    font-size: 0.75rem;
    margin-left: 4px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 11px 12px;
    font-size: 0.95rem;
    border: 1px solid var(--gray-border);
    border-radius: 4px;
    background-color: var(--white);
    color: var(--navy-dark);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.12);
}

.form-privacy {
    font-size: 0.85rem;
    color: var(--gray-text);
    margin-top: 15px;
    margin-bottom: 15px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-orange);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    font-family: inherit;
}

.submit-btn:hover {
    background-color: #c2410c;
}

/* Contact Form 7：既存 .form-group 見た目に合わせる */
.download-form-card .wpcf7 {
    margin: 0;
}

.download-form-card .wpcf7-form p {
    margin: 0;
}

.download-form-card .form-group p {
    margin: 0;
}

.download-form-card .form-group br {
    display: none;
}

.download-form-card .wpcf7-form-control-wrap {
    display: block;
}

.download-form-card .wpcf7-spinner {
    margin: 12px auto 0;
    display: block;
}

.download-form-card .wpcf7-not-valid-tip {
    color: var(--accent-orange);
    font-size: 0.8rem;
    margin-top: 4px;
}

.download-form-card .wpcf7-not-valid {
    border-color: var(--accent-orange) !important;
}

.download-form-card .wpcf7-response-output {
    margin: 14px 0 0;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--navy-dark);
}

.download-form-card input.wpcf7-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-orange);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

.download-form-card input.wpcf7-submit:hover {
    background-color: #c2410c;
}

/* --------------------------------------------------
 * 1. トップ (文字サイズ拡大・余白調整版)
 * -------------------------------------------------- */
/* ============================================================
 * FV：背景画像2枚を時間経過でクロスフェード
 *   images/hero-bg-1.webp ⇄ images/hero-bg-2.webp（16秒周期）
 * ============================================================ */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 620px;
    /* 左は控えめに、右は通常の中央寄せに合わせる（FVだけ少し左に寄せる） */
    padding: 120px max(5%, calc((100% - var(--content-max)) / 2)) 120px max(5%, calc((100% - var(--content-max)) / 4));
    overflow: hidden;
    background-color: #f4f8fd;
    /* 画像読み込み前の下地 */
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

/* 1枚目は常時表示、2枚目を上に重ねてフェードさせる */
.hero-bg-layer.is-1 {
    background-image: url("/wp-content/themes/wisbit/assets/img/ai-reskilling/hero-bg-1.webp");
}

.hero-bg-layer.is-2 {
    background-image: url("/wp-content/themes/wisbit/assets/img/ai-reskilling/hero-bg-2.webp");
    opacity: 0;
    animation: heroCrossfade 16s ease-in-out infinite;
}

@keyframes heroCrossfade {

    0%,
    40% {
        opacity: 0;
    }

    50%,
    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* 動きを抑える設定の環境では切り替えを止める */
@media (prefers-reduced-motion: reduce) {
    .hero-bg-layer.is-2 {
        animation: none;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

.hero-tag {
    display: inline-block;
    font-size: 1.05rem;
    /* サイズアップ */
    font-weight: bold;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 8px 20px;
    margin-bottom: 30px;
    background-color: var(--white);
    letter-spacing: 1px;
}

.hero-catch {
    font-size: 2.5rem;
    /* 修正：2.2rem から 2.5rem へ拡大 */
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1.4;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.hero-catch span {
    background: linear-gradient(transparent 70%, #93c5fd 70%);
    color: var(--primary-blue);
    padding: 0 4px;
}

.hero h1 {
    font-size: 4.0rem;
    line-height: 1.25;
    color: var(--navy-dark);
    margin-bottom: 30px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

/* H1 内のラベル（キーワード）は見た目を従来のタグ表示のまま維持する */
.hero h1 .hero-tag {
    font-size: 1.05rem;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 1px;
    color: var(--primary-blue);
}

.hero-h1-main {
    display: block;
}

.hero-lead {
    font-size: 1.45rem;
    /* 修正：1.25rem から 1.45rem へ拡大 */
    color: var(--navy-light);
    margin-bottom: 35px;
    font-weight: 500;
    line-height: 1.5;
}

/* 2. こんな課題・お悩みありませんか？ */
.issues-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.issue-card {
    background-color: var(--gray-bg);
    border-top: 4px solid var(--navy-accent);
    padding: 25px;
    border-radius: 4px;
    border-left: 1px solid var(--gray-border);
    border-right: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
}

.issue-num {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.issue-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--navy-dark);
}

.issue-card p {
    font-size: 0.95rem;
    color: var(--gray-text);
}

/* Vibe Codingの特徴 */
.vibe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.vibe-card {
    background-color: var(--white);
    border: 1px solid var(--gray-border);
    padding: 30px;
    border-radius: 4px;
}

.vibe-num {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.vibe-card h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--gray-bg);
    padding-bottom: 10px;
}

.vibe-card p {
    font-size: 0.95rem;
    color: var(--gray-text);
}

.vibe-note {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--gray-text);
}

/* 3. 解決策提示セクション */
.solution {
    background-color: var(--navy-dark);
    color: var(--white);
}

.solution .section-title {
    color: var(--white);
}

.solution-box {
    background-color: var(--navy-light);
    padding: 40px;
    border-radius: 6px;
    margin-top: 30px;
}

.solution-accent {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.4;
}

.solution-accent em {
    font-style: normal;
    color: #60a5fa;
}

.solution-desc {
    font-size: 1.05rem;
    color: #e2e8f0;
}

/* 4. 「Vibe Coding Bootcamp」が選ばれる3つの理由 */
.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.reason-item {
    display: flex;
    background-color: var(--gray-bg);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--gray-border);
}

.reason-badge {
    background-color: var(--primary-blue);
    color: var(--white);
    width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.reason-badge .num {
    font-size: 2rem;
}

.reason-badge .txt {
    font-size: 0.8rem;
}

.reason-content {
    padding: 25px 30px;
    flex: 1;
}

.reason-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--navy-dark);
}

.reason-content p {
    font-size: 0.95rem;
    color: var(--gray-text);
}

/* 5. 研修後の変化ジャーニー（レール＋ノード方式） */
.journey-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 22px;
    margin-top: 50px;
}

/* 各ノードの中心をつなぐ1本のレール。左→右で色が濃くなり進行を示す */
.journey-timeline::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 12.5%;
    right: 12.5%;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gray-border) 0%, #93c5fd 32%, #3b82f6 66%, var(--primary-blue) 100%);
}

.journey-step {
    position: relative;
    padding-top: 44px;
}

/* ノード（丸） */
.journey-node {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--white);
    border: 4px solid var(--gray-border);
    z-index: 2;
}

.journey-card {
    background-color: var(--white);
    border: 1px solid var(--gray-border);
    border-top: 4px solid var(--gray-border);
    border-radius: 4px;
    padding: 22px 20px;
    height: 100%;
}

.step-header {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--gray-text);
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.step-desc {
    font-size: 0.95rem;
    color: var(--gray-text);
}

/* ステージが進むごとに濃くなる（1→4で色が育つ） */
.journey-step.s1 .journey-node {
    border-color: var(--gray-border);
}

.journey-step.s2 .journey-node {
    border-color: #93c5fd;
}

.journey-step.s3 .journey-node {
    border-color: #3b82f6;
}

.journey-step.s4 .journey-node {
    border-color: var(--primary-blue);
    background-color: var(--primary-blue);
    box-shadow: 0 0 0 5px rgba(30, 64, 175, 0.15);
}

.journey-step.s1 .journey-card {
    background-color: var(--gray-bg);
    border-top-color: var(--gray-border);
}

.journey-step.s2 .journey-card {
    border-top-color: #93c5fd;
}

.journey-step.s3 .journey-card {
    border-top-color: #3b82f6;
}

/* 到達点は青の面で示す（黒ベタは重いため使わない） */
.journey-step.s4 .journey-card {
    background-color: #eff6ff;
    border-color: #bfdbfe;
    border-top-color: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.08);
}

.journey-step.s1 .step-title {
    color: var(--gray-text);
}

.journey-step.s3 .step-header {
    color: #2563eb;
}

.journey-step.s4 .step-header {
    color: var(--primary-blue);
}

.journey-step.s4 .step-title {
    color: var(--primary-blue);
}

.journey-step.s4 .step-desc {
    color: var(--navy-light);
}

/* 6. プラン概要 */
.plans-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.plan-card {
    border: 2px solid var(--gray-border);
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--white);
}

.plan-card.featured {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
}

.plan-header {
    background-color: var(--navy-accent);
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.plan-card.featured .plan-header {
    background-color: var(--primary-blue);
}

.plan-header h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.plan-price {
    font-size: 1.6rem;
    font-weight: bold;
}

.plan-body {
    padding: 25px;
}

.plan-features {
    list-style: none;
    margin-bottom: 20px;
}

.plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-bg);
    font-size: 0.95rem;
}

.plan-features li strong {
    color: var(--navy-dark);
}

/* 7. 助成金を利用した場合の費用シミュレーション */
.subsidy-box {
    background-color: var(--gray-bg);
    padding: 30px;
    border-radius: 6px;
    margin-bottom: 30px;
    border: 1px solid var(--gray-border);
}

.subsidy-box h3 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.subsidy-box p {
    font-size: 1rem;
    color: var(--gray-text);
}

.sim-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.95rem;
    background-color: var(--white);
    /* 奇数行が透明でドット背景が透けないよう白を敷く */
}

.sim-table th,
.sim-table td {
    border: 1px solid var(--gray-border);
    padding: 12px 15px;
    text-align: left;
    white-space: nowrap;
}

.table-scroll .sim-table {
    min-width: 620px;
}

/* 横スクロールの案内はSPのみ表示 */
.table-scroll-hint {
    display: none;
    font-size: 0.85rem;
    color: var(--gray-text);
    margin-bottom: 6px;
}

.sim-table th {
    background-color: var(--navy-accent);
    color: var(--white);
    font-weight: 600;
}

.sim-table tr:nth-child(even) {
    background-color: var(--gray-bg);
}

.final-cost {
    font-weight: bold;
    color: var(--accent-orange);
    font-size: 1.1rem;
}

/* 8. サポート体制 */
.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.support-card {
    background-color: var(--white);
    border: 1px solid var(--gray-border);
    padding: 30px;
    border-radius: 4px;
}

.support-card h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--gray-bg);
    padding-bottom: 10px;
}

.support-card p {
    font-size: 0.95rem;
    color: var(--gray-text);
}

/* 9. 全体ロードマップ */
.roadmap-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.roadmap-phase {
    display: flex;
    background-color: var(--gray-bg);
    border-left: 5px solid var(--accent-orange);
    padding: 20px;
    border-radius: 0 4px 4px 0;
}

.phase-num {
    width: 120px;
    font-weight: bold;
    color: var(--accent-orange);
    font-size: 1.1rem;
}

.phase-detail h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--navy-dark);
}

.phase-detail p {
    font-size: 1rem;
    color: var(--gray-text);
}

/* FAQ */
.faq-list {
    max-width: 100%;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 6px;
    margin-bottom: 12px;
}

.faq-item summary {
    position: relative;
    padding: 18px 50px 18px 20px;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "＋";
    position: absolute;
    top: 50%;
    right: 20px;
    color: var(--primary-blue);
    font-size: 1.5rem;
    line-height: 1;
    transform: translateY(-50%);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item summary h3 {
    display: inline;
    margin: 0;
    font-size: 1.05rem;
    color: var(--navy-dark);
}

.faq-item summary h3::before {
    content: "Q. ";
    color: var(--primary-blue);
}

.faq-answer {
    padding: 0 20px 20px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--gray-text);
}

.faq-answer p + p {
    margin-top: 10px;
}

/* ロードマップ内の「CBITサポートあり」注釈 */
.phase-support {
    margin-top: 12px;
    padding: 10px 14px;
    background-color: #eff6ff;
    border-left: 4px solid var(--primary-blue);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--navy-light);
    line-height: 1.55;
}

.phase-support .phase-support-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--white);
    background-color: var(--primary-blue);
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 8px;
    vertical-align: 1px;
}

/* 最下部コンタクト・無料相談エリア */
.bottom-contact {
    background-color: var(--gray-bg);
    text-align: center;
    padding: 80px 4%;
}

.bottom-contact h2 {
    font-size: 1.8rem;
    color: var(--navy-dark);
    margin-bottom: 15px;
}

.bottom-contact p {
    color: var(--gray-text);
    font-size: 1rem;
    margin-bottom: 35px;
}

.cta-btn-large {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 18px 48px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    transition: background-color 0.3s, transform 0.2s;
    margin-bottom: 40px;
    font-family: inherit;
}

.cta-btn-large:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-2px);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    border-top: 1px solid var(--gray-border);
    padding-top: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.info-item {
    text-align: left;
}

.info-label {
    font-size: 0.9rem;
    color: var(--gray-text);
    font-weight: bold;
    margin-bottom: 5px;
}

.info-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--navy-dark);
}

/* フッター */
footer {
    background-color: var(--navy-dark);
    color: var(--white);
    padding: 40px 8%;
    font-size: 0.95rem;
    border-top: 1px solid var(--navy-light);
    text-align: center;
}

/* ==================================================
 * スクロール連動リビール（下からフェードイン）
 *   ・JS 側で対象要素に .reveal クラスを付与
 *   ・画面に入ったら .is-visible が付与されて opacity/transform が解除される
 *   ・グリッド内の要素は index に応じてディレイを段階的に付ける（--reveal-delay）
 *   ・prefers-reduced-motion:reduce の環境ではアニメを無効化
 * ================================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
        transform 1.05s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==================================================
 * 追加スタイル（LP修正対応）
 * ================================================== */

/* アンカーリンク：固定ヘッダーに隠れないようオフセット */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

section {
    scroll-margin-top: 90px;
}

/* ヘッダー内 グローバルナビゲーション */
.global-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0 auto 0 40px;
}

.global-nav a {
    flex: 0 0 auto;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy-light);
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
}

.global-nav a:hover,
.global-nav a:focus-visible {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

/* SP用ハンバーガー（PCでは非表示） */
.drawer-icon {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background-color: var(--primary-blue);
    cursor: pointer;
}

.drawer-icon__bar {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 2px;
    background-color: var(--white);
    transition: transform 0.25s, opacity 0.2s;
}

.drawer-icon__bar:nth-child(1) {
    top: 15px;
}

.drawer-icon__bar:nth-child(2) {
    top: 21px;
}

.drawer-icon__bar:nth-child(3) {
    top: 27px;
}

.is-drawer-open .drawer-icon__bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.is-drawer-open .drawer-icon__bar:nth-child(2) {
    opacity: 0;
}

.is-drawer-open .drawer-icon__bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ドロワー内のCTA・電話（PCでは非表示） */
.drawer-extra {
    display: none;
}

/* FV内テキスト（背景画像の上に載る） */
.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-note {
    display: inline-block;
    font-size: 1rem;
    color: var(--navy-light);
    line-height: 1.6;
    background-color: rgba(255, 255, 255, 0.82);
    padding: 12px 16px;
    margin-bottom: 20px;
}

.hero-note a {
    color: inherit;
    text-decoration: underline;
}

/* カード内画像（すべて3:2で書き出し済み） */
.card-ill {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    margin-bottom: 18px;
    border-radius: 6px;
}


/* 課題カード：画像付き */
.issue-card {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
}

/* 研修後の効果：画像付きパネル */
.reason-badge {
    background-color: var(--white);
    color: var(--primary-blue);
    width: 200px;
    gap: 6px;
    padding: 18px 12px;
    flex-shrink: 0;
    border-right: 1px solid var(--gray-border);
}

.reason-badge .card-ill {
    margin-bottom: 6px;
}

.reason-badge .num {
    font-size: 0.95rem;
    letter-spacing: 1px;
    color: var(--primary-blue);
}

/* プラン概要：比較表（詳細資料P.13準拠） */
.plan-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    font-size: 0.95rem;
    background-color: var(--white);
}

.plan-table th,
.plan-table td {
    border: 1px solid var(--gray-border);
    padding: 14px 18px;
    vertical-align: middle;
    text-align: center;
}

.plan-table thead th {
    background-color: var(--navy-dark);
    color: var(--white);
    font-size: 1.15rem;
    padding: 18px;
}

.plan-table thead th span {
    display: block;
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--gray-border);
    margin-top: 4px;
}

.plan-table thead th.row-label {
    font-size: 0.95rem;
    width: 15%;
}

.plan-table tbody th {
    background-color: var(--gray-bg);
    color: var(--navy-dark);
    font-weight: 700;
    width: 15%;
}

.plan-table .col-a {
    background-color: #f5f9ff;
}

.plan-table .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--navy-dark);
}

.plan-table .price span {
    font-size: 0.85rem;
    font-weight: normal;
    color: var(--gray-text);
}

.plan-table ul {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.plan-table ul li {
    position: relative;
    padding-left: 22px;
    margin: 4px 0;
    font-size: 1rem;
}

.plan-table ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-scroll .plan-table {
    min-width: 720px;
}

.table-note {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-top: 15px;
}

/* 研修事例：課題→成果の構成 */
.case-block {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 0.95rem;
}

.case-block .case-block-label {
    display: block;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.case-issue {
    background-color: var(--gray-bg);
    border-left: 4px solid var(--navy-accent);
    color: var(--gray-text);
}

.case-issue .case-block-label {
    color: var(--navy-accent);
}

.case-outcome {
    background-color: #fff7ed;
    border-left: 4px solid var(--accent-orange);
    color: var(--navy-dark);
    font-weight: bold;
}

.case-outcome .case-block-label {
    color: var(--accent-orange);
}

/* 研修事例 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.case-card {
    background-color: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.case-body {
    padding: 22px;
}

.case-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--white);
    background-color: var(--navy-accent);
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
}

.case-body h3 {
    font-size: 1.15rem;
    color: var(--navy-dark);
    margin-bottom: 10px;
    line-height: 1.5;
}

.case-body p {
    font-size: 1rem;
    color: var(--gray-text);
}

.case-result {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--gray-border);
    font-size: 0.95rem;
    font-weight: bold;
    color: #15803d;
}

.case-card .card-ill {
    margin-bottom: 0;
    border-radius: 0;
    object-fit: cover;
    background-color: #eff6ff;
    border-bottom: 1px solid var(--gray-border);
}

/* 助成金：訴求強調エリア */
.subsidy-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 2px solid var(--accent-orange);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.sh-item {
    flex: 1 1 240px;
    text-align: center;
}

.sh-label {
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--navy-dark);
    margin-bottom: 6px;
}

.sh-num {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--accent-orange);
    line-height: 1.1;
    letter-spacing: -1px;
}

.sh-num .unit {
    font-size: 1.4rem;
    font-weight: bold;
    margin-left: 2px;
}

.sh-sub {
    font-size: 0.95rem;
    color: var(--gray-text);
    margin-top: 6px;
}

.sh-strike {
    text-decoration: line-through;
    color: var(--gray-text);
    font-weight: normal;
}

/* レスポンシブ対応 */
@media (max-width: 1500px) {

    /* 写真追加で本文幅が狭まるため、ヒーローの文字サイズを微調整 */
    .hero h1 {
        font-size: 3.2rem;
    }

    .hero-catch {
        font-size: 2rem;
    }

    .hero-lead {
        font-size: 1.25rem;
    }
}

/* PC幅のみ。SPドロワー（1024px以下）では全リンクを表示する */
@media (min-width: 1025px) and (max-width: 1400px) {
    /* Vibe Codingとは・サポート */
    .global-nav a:nth-child(2),
    .global-nav a:nth-child(7) {
        display: none;
    }
}

@media (max-width: 1280px) {
    .global-nav {
        gap: 12px;
        margin-left: 20px;
    }

    .global-nav a {
        font-size: 0.8rem;
    }

    .header-logo {
        font-size: 1rem;
    }

    .header-btn {
        padding: 9px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    body {
        padding-top: 60px;
    }

    /* 固定ヘッダー60px（ナビはドロワー化） */
    .wrapper {
        flex-direction: column;
    }

    main {
        width: 100%;
    }

    header {
        width: 100%;
        height: 60px;
    }

    .header-logo {
        font-size: 0.95rem;
    }

    .header-logo span {
        font-size: 0.7rem;
    }

    .header-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    /* ナビはハンバーガーで開閉するドロワーにする */
    .drawer-icon {
        display: block;
    }

    .global-nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        margin: 0;
        padding: 8px 6% 40px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: linear-gradient(180deg, #eef4fd 0%, var(--white) 55%);
        border-bottom: 1px solid var(--gray-border);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 998;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.25s ease, visibility 0.25s;
    }

    .is-drawer-open .global-nav {
        transform: translateX(0);
        visibility: visible;
    }

    .is-drawer-open {
        overflow: hidden;
    }

    .global-nav a {
        display: block;
        font-size: 1rem;
        padding: 18px 4px;
        border-bottom: 1px solid var(--gray-border);
    }

    .global-nav a:hover,
    .global-nav a:focus-visible {
        border-bottom-color: var(--gray-border);
    }

    .drawer-extra {
        display: block;
        margin-top: 32px;
        text-align: center;
    }

    .drawer-extra__btn {
        display: block;
        padding: 16px;
        border-radius: 999px;
        background-color: var(--accent-orange);
        color: var(--white);
        font-weight: bold;
        font-size: 1rem;
        text-decoration: none;
        box-shadow: 0 2px 6px rgba(234, 88, 12, 0.25);
    }

    .drawer-extra__btn--sub {
        margin-top: 14px;
        border: 1.5px solid var(--primary-blue);
        background-color: var(--white);
        color: var(--primary-blue);
        box-shadow: none;
    }

    .drawer-extra__call {
        margin-top: 24px;
        padding: 18px;
        border-radius: 10px;
        background-color: var(--white);
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
    }

    .drawer-extra__call-label {
        font-size: 0.8rem;
        color: var(--gray-text);
    }

    .drawer-extra__call-number {
        display: block;
        margin: 4px 0;
        color: var(--primary-blue);
        font-size: 1.5rem;
        font-weight: bold;
        letter-spacing: 1px;
        text-decoration: none;
    }

    .header-btn-sub {
        display: none;
    }

    /* 狭い画面では主CTAのみ残す */
    .download-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .download-lead h2 {
        font-size: 1.6rem;
    }

    section {
        padding: 60px 5%;
    }

    .hero {
        min-height: 0;
        padding: 70px 5%;
    }

    .hero-inner {
        max-width: 100%;
    }

    /* 縦画面では画像の淡い左側を残し、白いスクリムで可読性を確保 */
    .hero-bg-layer {
        background-position: left center;
    }

    .hero-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.9) 0%,
                rgba(255, 255, 255, 0.82) 60%,
                rgba(255, 255, 255, 0.62) 100%);
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    /* レスポンシブ時も少し大きめに維持 */
    .hero-catch {
        font-size: 1.8rem;
    }

    .issues-grid,
    .vibe-grid,
    .journey-timeline,
    .plans-container,
    .support-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .reason-item {
        flex-direction: column;
    }

    .reason-badge {
        width: 100%;
        flex-direction: row;
        gap: 12px;
        padding: 14px;
    }

    .reason-badge .card-ill {
        width: 130px;
        margin-bottom: 0;
    }

    .sh-num {
        font-size: 2.6rem;
    }

    section {
        scroll-margin-top: 76px;
    }

    /* 縦並び時はレールを左側の縦線に切り替え */
    .journey-timeline {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .journey-timeline::before {
        top: 12px;
        bottom: 24px;
        left: 15px;
        right: auto;
        width: 4px;
        height: auto;
        background: linear-gradient(180deg, var(--gray-border) 0%, #93c5fd 32%, #3b82f6 66%, var(--primary-blue) 100%);
    }

    .journey-step {
        padding: 0 0 24px 46px;
    }

    .journey-node {
        left: 15px;
        top: 12px;
        transform: translateX(-50%);
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }

    .info-item {
        text-align: center;
    }
}

/* -----------------------------------------------------------------
   サンクスページ（page-ai-reskilling-thanks.php）
   ----------------------------------------------------------------- */
.thanks {
    text-align: center;
    padding: 100px 4% 80px;
}

.thanks-title {
    font-size: 2rem;
    color: var(--navy-dark);
    margin-bottom: 20px;
}

.thanks-lead {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 32px;
}

.thanks-note {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-top: 28px;
}

@media (max-width: 768px) {
    .table-scroll-hint {
        display: block;
    }

    /* ヘッダーはロゴ＋ハンバーガーのみ（CTAはドロワー内に集約） */
    .header-btn {
        display: none;
    }

    .header-logo {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .thanks {
        padding: 70px 5% 60px;
    }

    .thanks-title {
        font-size: 1.5rem;
    }
}
