/* =================================
   講師紹介ページ
================================= */

.teacher-page-hero {
    padding: 140px 0 60px;
    background: #f8fafc;
}

.teacher-page-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: #0f2d5c;
}

.teacher-page-profile {
    max-width: 700px;
    margin: 0 auto;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
}

.teacher-page-profile h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0f2d5c;
}

.teacher-page-profile ul {
    margin: 0;
    padding-left: 1.4em;
}

.teacher-page-profile li {
    margin-bottom: 12px;
    line-height: 1.8;
}


/* =================================
   本文
================================= */

.teacher-page-body {
    padding: 80px 0;
}

.teacher-page-content {
    max-width: 760px;
    margin: 0 auto;
}

.teacher-page-content p {
    margin-bottom: 1.5em;
    line-height: 2;
}

.teacher-page-emphasis {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin: 48px 0;
}

.teacher-page-quote {
    margin: 48px 0;
    padding: 32px;
    background: #f8fafc;
    border-left: 4px solid #0f2d5c;
}

.teacher-page-quote p:last-child {
    margin-bottom: 0;
}

/* =================================
   講師紹介ページ：PC装飾追加
================================= */

.teacher-page-lead {
    margin: -24px 0 16px;
    text-align: center;
    font-size: 18px;
    line-height: 2;
    letter-spacing: 0.04em;
    color: #27364a;
}

.teacher-page-content h2 {
    margin: 72px 0 24px;
    padding-left: 18px;
    border-left: 4px solid #1e3a5f;
    font-size: 26px;
    line-height: 1.7;
    font-weight: 700;
    color: #111827;
}

.teacher-page-content h2:first-of-type {
    margin-top: 64px;
}

.teacher-page-cta__block {
    max-width: 760px;
    margin: 0 auto 28px;
    padding: 34px 38px 36px;
    border: 1px solid rgba(30, 58, 95, 0.14);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 45, 92, 0.05);
    text-align: left;
}

.teacher-page-cta__block:last-child {
    margin-bottom: 0;
}

.teacher-page-cta__block p {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 2;
    color: #374151;
}

.teacher-page-cta__button {
    display: table;
    margin-left: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #1e3a5f;
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.teacher-page-cta__button:hover {
    opacity: 0.75;
}


/* =================================
   CTA
================================= */

.teacher-page-cta {
    padding: 96px 0 110px;
    background: #f8fafc;
}

.teacher-page-cta .container {
    max-width: 760px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

.teacher-page-cta h2 {
    grid-column: 1 / -1;
    margin-bottom: 18px;
    font-size: 34px;
    line-height: 1.6;
    font-weight: 500;
    text-align: center;
    color: #111827;
}

.teacher-page-cta__block {
    padding: 34px 36px 36px;
    border: 1px solid rgba(30, 58, 95, 0.14);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 45, 92, 0.05);
    text-align: left;
}

.teacher-page-cta__block p {
    margin-bottom: 26px;
    font-size: 17px;
    line-height: 2;
    color: #374151;
}

.teacher-page-cta__button {
    display: table;
    margin-left: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #1e3a5f;
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.teacher-page-cta__button:hover {
    opacity: 0.75;
}

.teacher-page-cta__primary-button {
    display: table;
    margin: 16px auto 0;
    padding: 14px 28px;
    border-radius: 999px;
    background: #1e3a5f;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.teacher-page-cta__primary-button:hover {
    opacity: 0.85;
}



/* =================================
   スマホ
================================= */

@media screen and (max-width: 768px) {

    .teacher-page-title {
        font-size: 32px;
    }

    .teacher-page-profile {
        padding: 24px;
    }

    .teacher-page-body {
        padding: 60px 0;
    }

    .teacher-page-quote {
        padding: 24px;
    }

        .teacher-page-hero {
        padding: 120px 0 50px;
    }

    .teacher-page-title {
        margin-bottom: 32px;
    }

    .teacher-page-lead {
        margin: -8px 0 24px;
        font-size: 16px;
        line-height: 2;
        letter-spacing: 0.03em;
    }

    .teacher-page-profile h2 {
        font-size: 21px;
        line-height: 1.8;
    }

    .teacher-page-content h2 {
        margin: 56px 0 22px;
        padding-left: 16px;
        border-left-width: 3px;
        font-size: 24px;
        line-height: 1.7;
    }

    .teacher-page-cta {
        padding: 80px 0 90px;
    }

    .teacher-page-cta h2 {
        margin-bottom: 28px;
        font-size: 26px;
        line-height: 1.6;
    }

    .teacher-page-cta .container {
        gap: 24px;
    }

    .teacher-page-cta__block {
        margin: 0;
        padding: 28px 24px 30px;
    }

    .teacher-page-cta__block p {
        margin-bottom: 22px;
        font-size: 16px;
        line-height: 2;
    }
}