/* ============================================================
   /study-abroad/regular/ 専用スタイルシート
   GUIDE BOOK 20・21・22 準拠
   ============================================================ */

.sr-page {
    --sr-green: #2eb08c;
    --sr-green-dark: #23987a;
    --sr-orange: #f16935;
    --sr-mint: #e5f5f0;
    --sr-ink: #333333;
    color: var(--sr-ink);
}

.sr-page img {
    max-width: 100%;
    height: auto;
}

.sr-shell {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ GUIDE BOOK 20: ヒーロー ============ */
.sr-hero {
    /* 2026-10-06: パンくず下の緑帯を削除 */
    background: none;
}

.sr-hero__inner {
    display: grid;
    /* 2026-10-06: タイトル＋テキストを1列にし、その下に画像を配置 */
    grid-template-columns: 1fr !important;
    gap: 28px;
    align-items: center;
    padding-top: 48px;
    padding-bottom: 48px;
}

.sr-course-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 16px;
    padding: 8px 30px;
    background: var(--sr-orange);
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 0.98rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.sr-hero__option {
    margin: 0;
    color: var(--sr-ink) !important;
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.sr-hero__title {
    margin: 4px 0 18px;
    color: var(--sr-ink) !important;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.2;
}

.sr-hero__catch {
    margin: 0 0 16px;
    color: var(--sr-ink) !important;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 800;
    line-height: 1.5;
}

.sr-hero__text {
    margin: 0;
    color: var(--sr-ink) !important;
    font-size: 0.97rem;
    line-height: 2;
}

.sr-hero__visual {
    margin: 0;
}

.sr-hero__visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ============ 見出し（このページで完全定義） ============ */
.sr-page h2,
.sr-page h3 {
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    text-decoration: none !important;
    padding: 0 !important;
}

.sr-page h2::before,
.sr-page h2::after,
.sr-page h3::before,
.sr-page h3::after {
    content: none !important;
    display: none !important;
}

.sr-page .sr-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
    color: var(--sr-ink) !important;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800;
    line-height: 1.35;
}

.sr-page .sr-heading::before {
    content: "" !important;
    display: block !important;
    position: static !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    background: none !important;
    border-top: 12px solid var(--sr-green) !important;
    border-right: 12px solid transparent !important;
    border-bottom: none;
    border-left: none;
}

.sr-page .sr-heading-sub {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 40px 0 20px;
    color: var(--sr-orange) !important;
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 800;
    line-height: 1.4;
}

/* ============ 共通セクション ============ */
.sr-section {
    padding: 56px 0;
}

.sr-section--subjects {
    background: var(--sr-mint);
}

.sr-figure {
    margin: 0;
    overflow: hidden;
}

.sr-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.sr-copy {
    margin: 0;
    color: var(--sr-ink);
    font-size: 0.97rem;
    line-height: 2;
}

.sr-lead-green {
    margin: 0;
    color: var(--sr-green) !important;
    font-size: clamp(1.15rem, 1.9vw, 1.45rem);
    font-weight: 900;
    line-height: 1.55;
}

.sr-col-copy {
    display: grid;
    gap: 14px;
    align-content: start;
}

.sr-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: center;
}

.sr-two-col--top {
    align-items: start;
}

.sr-two-col--gap-lg {
    margin-top: 28px;
}

/* 渡航先の例（見出し帯） */
.sr-box-title {
    display: inline-flex;
    align-items: center;
    margin: 0 0 26px;
    padding: 10px 30px;
    background: var(--sr-green);
    border-radius: 10px;
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.sr-dest {
    display: grid;
    gap: 14px;
    align-content: start;
}

/* ============ GUIDE BOOK 21: 留学先（4カ国） ============ */
.sr-country-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.sr-country {
    margin: 0;
    overflow: hidden;
}

.sr-country img {
    display: block;
    width: 100%;
    height: auto;
}

/* ============ GUIDE BOOK 22: 高校で学べる科目例 ============ */
.sr-subject-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.sr-subject {
    display: grid;
    gap: 10px;
    align-content: start;
    margin: 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.sr-subject__photo {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
}

.sr-subject__photo img {
    display: block;
    width: 100%;
    height: auto;
}

.sr-subject__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0;
    border-radius: 50%;
    background: var(--sr-orange);
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.sr-subject__catch {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.6;
}

.sr-subject__name {
    margin: 0;
    color: var(--sr-ink) !important;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.4;
}

.sr-subject__text {
    margin: 0;
    color: #555555;
    font-size: 0.86rem;
    line-height: 1.9;
}

/* 科目例の紹介パネル（グリッド内に配置） */
.sr-subject-intro {
    display: grid;
    gap: 14px;
    align-content: center;
    padding: 26px;
    background: var(--sr-green);
    border-radius: 14px;
    border-top: 3px dashed rgba(255, 255, 255, 0.75);
}

.sr-subject-intro__title {
    margin: 0;
    color: #ffffff !important;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 900;
    line-height: 1.35;
}

.sr-subject-intro__text {
    margin: 0;
    color: #ffffff;
    font-size: 0.86rem;
    line-height: 1.9;
}

/* ============ レスポンシブ ============ */
@media (min-width: 900px) {
    .sr-two-col {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    }

    .sr-two-col--top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sr-country-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 28px;
    }

    .sr-subject-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 899px) {
    .sr-section {
        padding: 44px 0;
    }

    .sr-page .sr-heading {
        font-size: 1.5rem;
    }
}
