@charset "UTF-8";
/* ==================================
   ベース設定
================================== */
body {
    letter-spacing: 0.2em;
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    margin: 0;
    padding-top: 80px;
    background-color: #ffffff;
    color: #222222;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: #1a3a6e;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ffffff;
}





/* ==================================
   FAQページ専用設定
================================== */

:root {
    --accent: #1a3a6e;
    --accent-dark: #122c52;
    --accent-light: #eef3f9;
    --muted: #6b6b6b;
    --line: #dce3eb;
    --bg: #ffffff;
    --container: 1000px;
}


/* ==================================
   ヒーロー
================================== */

.page-hero {
    position: relative;
    background-color: #ffffff;
    padding: 100px 20px 50px;
    text-align: center;
    border-bottom: 4px solid var(--accent);
    overflow: hidden;
}

.page-hero::before {
    content: "FAQ";
    position: absolute;
    right: 5%;
    bottom: -35px;
    font-size: 10rem;
    font-weight: 800;
    color: rgba(26, 58, 110, 0.035);
    letter-spacing: 0;
    pointer-events: none;
    display: none;
}

.page-hero h1 {
    position: relative;
    font-size: 3.5em;
    margin: 0;
    color: #000;
    letter-spacing: .05em;
}

.page-hero p {
    position: relative;
    margin-top: 12px;
    color: #6b6b6b;
    font-size: 1.1em;
}

/* ==================================
   FAQ全体
================================== */

.faq {
    position: relative;
    max-width: var(--container);
    margin: 60px auto 80px;
    padding: 0 25px;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    box-sizing: border-box;
}

/* ==================================
   FAQカテゴリー
================================== */

.faq-category {
    position: relative;
    margin-bottom: 60px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.faq-category:last-child {
    margin-bottom: 0;
}

/* カテゴリー見出し */

.faq-category h2 {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 0 30px;
    padding: 0 90px 15px 22px;
    color: var(--accent);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: .05em;
    border-bottom: 2px solid var(--accent);
    box-sizing: border-box;
}

.faq-category h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 5px;
    height: 29px;
    background: var(--accent);
    border-radius: 3px;
}

.faq-category h2::after {
    position: absolute;
    right: 5px;
    bottom: 8px;
    color: #e2e8f0;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    display: none;
}

.faq-category:nth-child(1) h2::after { content: "01"; }
.faq-category:nth-child(2) h2::after { content: "02"; }
.faq-category:nth-child(3) h2::after { content: "03"; }
.faq-category:nth-child(4) h2::after { content: "04"; }

/* ==================================
   Q&A
================================== */

.qa-item {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    padding: 30px 15px;
    border-top: 1px solid var(--line);
    box-sizing: border-box;
    transition: background-color .3s ease, transform .3s ease;
}

.qa-item:first-child {
    border-top: none;
}

.qa-item:hover {
    background: linear-gradient(90deg, rgba(26, 58, 110, 0.025), transparent);
    transform: translateX(4px);
}

/* ==================================
   質問
================================== */

.question {
    position: relative;
    padding-left: 45px;
    color: #12263f;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .03em;
}

.question::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: 0 4px 10px rgba(26, 58, 110, .15);
}

/* ==================================
   回答
================================== */

.answer {
    position: relative;
    padding: 0 0 0 45px;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #444;
    line-height: 1.8;
    font-size: 1rem;
    box-sizing: border-box;
}

.answer::before {
    content: "A";
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border: 2px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: 0;
    box-sizing: border-box;
}

.answer-intro {
    margin: 0 0 16px 0;
    font-weight: 500;
}

/* ==================================
   キャリア・教育スケジュール（視認性重視デザイン）
================================== */

.schedule-timeline {
    list-style: none;
    padding: 0;
    margin: 16px 0 12px 0;
    display: flex;
    flex-direction: column;
    gap: 12px; 
}

.schedule-timeline li {
    background-color: #f8fafc; 
    border-left: 4px solid var(--accent); 
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    margin: 0;
}

/* 時期タグ */
.schedule-timeline .date {
    display: inline-block;
    background-color: var(--accent);
    color: #ffffff;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

/* 内容テキスト */
.schedule-timeline .desc {
    display: block;
    color: #333333;
    font-size: 0.95rem;
    line-height: 1.6;
}

.schedule-timeline .desc::before {
    content: "";
}
/* ==================================
   戻るボタン
================================== */

.back-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 38px;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .08em;
    transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}

.back-button:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(26, 58, 110, .2);
}

/* ==================================
   FAQアニメーション
================================== */

.fade-item {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .7s ease, transform .7s ease;
}

.fade-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==================================
   ページ下部 CTA 3列
================================== */

.cta-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 24px;
    width: 96%;
    max-width: 1250px;
    margin: 60px auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.cta-row .voice-cta-box,
.cta-row .entry-cta-box,
.cta-row .faq-cta-box {
    flex: 1 1 0;
    min-width: 0;
    min-height: 320px;
    margin: 0;
    padding: 32px 24px;
    border-radius: 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cta-row .voice-cta-box {
    background: #ffffff;
    border: 2px solid #1a3a6e;
    box-shadow: 0 8px 24px rgba(26, 58, 110, 0.08);
}

.cta-row .entry-cta-box {
    background: #1a3a6e;
    border: 2px solid #1a3a6e;
    box-shadow: 0 8px 20px rgba(26, 58, 110, 0.15);
}

.cta-row .faq-cta-box {
    background: #ffffff;
    border: 2px solid #1a3a6e;
    box-shadow: 0 8px 24px rgba(26, 58, 110, 0.08);
}

.cta-row .entry-cta-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(26, 58, 110, 0.16);
}

.cta-row .voice-cta-box h2,
.cta-row .entry-cta-box h2,
.cta-row .faq-cta-box h2 {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 18px;
    padding: 0 0 12px;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.4;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
}

.cta-row .voice-cta-box h2 { color: #0b1a33; }
.cta-row .entry-cta-box h2 { color: #ffffff; }
.cta-row .faq-cta-box h2 { color: #0b1a33; }

.cta-row .voice-cta-box h2::after,
.cta-row .entry-cta-box h2::after,
.cta-row .faq-cta-box h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 70%;
    height: 3px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.cta-row .voice-cta-box h2::after,
.cta-row .faq-cta-box h2::after { background: #1a3a6e; }
.cta-row .entry-cta-box h2::after { background: #ffffff; }

.cta-row .voice-cta-box:hover h2::after,
.cta-row .entry-cta-box:hover h2::after,
.cta-row .faq-cta-box:hover h2::after {
    width: 100%;
}

.cta-row .voice-cta-box p,
.cta-row .entry-cta-box p,
.cta-row .faq-cta-box p {
    width: 100%;
    margin: 10px 0 24px;
    font-size: 0.95rem;
    line-height: 1.6;
    box-sizing: border-box;
    flex-grow: 1;
}

.cta-row .voice-cta-box p,
.cta-row .faq-cta-box p { color: #444444; }
.cta-row .entry-cta-box p { color: #ffffff; }

.cta-row .voice-cta-box a,
.cta-row .entry-cta-box a,
.cta-row .faq-cta-box a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 280px;
    min-height: 48px;
    margin-top: auto;
    padding: 12px 20px;
    border-radius: 30px;
    box-sizing: border-box;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.cta-row .voice-cta-box .voice-button,
.cta-row .faq-cta-box .faq-button {
    background: linear-gradient(135deg, #1d3c6a, #2b5292);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(26, 58, 110, 0.2);
}

.cta-row .voice-cta-box .voice-button:hover,
.cta-row .faq-cta-box .faq-button:hover {
    background: linear-gradient(135deg, #224885, #3863a8);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(26, 58, 110, 0.3);
}

.cta-row .entry-cta-box .entry-button {
    background: #ffcc99;
    color: #000000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.cta-row .entry-cta-box .entry-button:hover {
    background: #ffb366;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

/* ==================================
   スマートフォン表示最適化 (@media)
================================== */

@media (max-width: 760px) {

    .page-hero {
        padding: 60px 20px 35px;
    }

    .page-hero h1 {
        font-size: 2em;
    }

    .page-hero p {
        font-size: 0.95rem;
    }

    /* FAQ */

    .faq {
        margin: 30px auto 40px;
        padding: 0 16px;
    }

    .faq-category {
        margin-bottom: 40px;
    }

    .faq-category h2 {
        font-size: 1.35rem;
        padding: 0 0 12px 14px;
        margin-bottom: 20px;
    }

    .faq-category h2::before {
        width: 4px;
        height: 20px;
    }

    /* Q&A */

    .qa-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px 0;
    }

    .qa-item:hover {
        transform: none;
    }

    .question {
        padding-left: 38px;
        font-size: 1rem;
    }

    .answer {
        padding-left: 38px;
        font-size: 0.95rem;
    }

    .question::before,
    .answer::before {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }


    .schedule-timeline {
        padding-left: 10px;
        margin: 15px 0;
    }

    .schedule-timeline li {
        padding-left: 12px;
        margin-bottom: 16px;
    }

    .schedule-timeline li::before {
        left: -16px;
        top: 6px;
        width: 8px;
        height: 8px;
    }

    /* CTAエリア */

    .cta-row {
        width: 100%;
        flex-direction: column;
        gap: 16px;
        margin: 40px auto;
        padding: 0 16px;
    }

    .cta-row .voice-cta-box,
    .cta-row .entry-cta-box,
    .cta-row .faq-cta-box {
        width: 100%;
        min-height: auto;
        padding: 24px 18px;
    }

    .cta-row .voice-cta-box h2,
    .cta-row .entry-cta-box h2,
    .cta-row .faq-cta-box h2 {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }

    .cta-row .voice-cta-box p,
    .cta-row .entry-cta-box p,
    .cta-row .faq-cta-box p {
        font-size: 0.9rem;
        margin: 6px 0 18px;
    }
}