@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

html {
    scroll-behavior: smooth;
}

/* =====================
   Reset & Base
   ===================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #222;
    line-height: 1.6;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

[id] {
    scroll-margin-top: 80px;
}

@media (max-width: 768px) {
    [id] {
        scroll-margin-top: 120px;
    }
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
}


html.admin-bar {
    margin-top: 0 !important;
}

/* =====================
   Header
   ===================== */
.home .site-content {
    padding-top: 80px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1010;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Header Subnav */
.header-subnav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1005;
    transition: transform 0.3s ease;
    display: none;
}

.header-subnav.is-show {
    display: block;
}

.page-template-page-junior .header-subnav,
.page-template-page-high .header-subnav,
.home .header-subnav {
    display: block;
}

.header-subnav.is-hidden {
    transform: translateY(-100%);
    pointer-events: none;
}

.header-subnav__list {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.header-subnav__list li a {
    display: block;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.3s, background 0.3s;
    position: relative;
}

.header-subnav__list li a:hover {
    color: #136db6;
    background: rgba(19, 109, 182, 0.04);
}

.page-template-page-junior .header-subnav__list li a:hover {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.04);
}

.page-template-page-junior .header-subnav__list li a::after {
    background: #4CAF50;
}

.header-subnav__list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #136db6;
    transition: width 0.3s;
}

.header-subnav__list li a:hover::after {
    width: 100%;
}

/* SP: サブナビをFV下に配置 */
@media (max-width: 768px) {
    .header-subnav {
        position: static !important;
        display: none !important;
        transform: none !important;
        z-index: auto;
    }

    .page-template-page-junior .header-subnav,
    .page-template-page-high .header-subnav,
    .header-subnav.is-show {
        display: none !important;
    }

    .sp-subnav {
        display: block;
        background: #f5f7fa;
        border-bottom: 1px solid #eee;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .sp-subnav::-webkit-scrollbar {
        display: none;
    }

    .sp-subnav__list {
        display: flex;
        gap: 0;
        list-style: none;
        padding: 0;
        margin: 0;
        white-space: nowrap;
    }

    .sp-subnav__list li a {
        display: block;
        padding: 12px 16px;
        font-size: 12px;
        font-weight: 500;
        color: #555;
        text-decoration: none;
        border-bottom: 2px solid transparent;
        transition: all 0.3s;
    }

    .sp-subnav__list li a:hover,
    .sp-subnav__list li a:active {
        color: #136db6;
        border-bottom-color: #136db6;
    }

    .page-template-page-junior .sp-subnav__list li a:hover,
    .page-template-page-junior .sp-subnav__list li a:active {
        color: #4CAF50;
        border-bottom-color: #4CAF50;
    }
}

@media (min-width: 769px) {
    .sp-subnav {
        display: none;
    }
}

/* =====================
   Drawer Menu
   ===================== */
.drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    pointer-events: none;
}

.menu-open .drawer {
    visibility: visible;
    pointer-events: auto;
}

.drawer__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s;
}

.menu-open .drawer__overlay {
    opacity: 1;
}

.drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 360px;
    max-width: 90vw;
    height: 100%;
    background: #fff;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 16px;
    padding-top: 56px;
}

.menu-open .drawer__panel {
    transform: translateX(0);
}

.drawer__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.drawer__close:hover {
    background: #e8e8e8;
}

/* クイックリンク */
.drawer__quick {
    margin-bottom: 12px;
}

.drawer__quick-row {
    display: grid;
    gap: 8px;
    margin-bottom: 8px;
}

.drawer__quick-row--2col {
    grid-template-columns: repeat(2, 1fr);
}

.drawer__quick-row--3col {
    grid-template-columns: repeat(3, 1fr);
}

.drawer__quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.3s;
}

.drawer__quick-item:hover {
    background: #f8f8f8;
}

.drawer__quick-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(43%) sepia(12%) saturate(624%) hue-rotate(176deg) brightness(94%) contrast(87%);
}

/* 進路情報バナー */
.drawer__banner {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    transition: opacity 0.3s;
}

.drawer__banner:hover {
    opacity: 0.9;
}

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

/* 入試関連カード */
.drawer__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 8px;
    padding: 0;
}

.drawer__card {
    display: flex;
    flex-direction: column;
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    transition: opacity 0.3s;
    padding: 12px 12px 0;
}

.drawer__card:hover {
    opacity: 0.9;
}

.drawer__card--banner {
    padding: 0;
    background: none;
    border: 1px solid #e8e8e8;
}

.drawer__card-banner-img {
    display: block;
    width: 100%;
    height: auto;
}

.drawer__card-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
    align-self: flex-start;
}

.drawer__card-badge--green {
    background: #429245;
}

.drawer__card-badge--red {
    background: #e53935;
}

.drawer__card-label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.drawer__card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
}

/* イベントリンク */
.drawer__events {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.drawer__event {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.3s;
}

.drawer__event:hover {
    opacity: 0.9;
}

.drawer__event--green {
    background: #fff;
    border: 1.5px solid #429245;
    color: #429245;
}

.drawer__event--blue {
    background: #fff;
    border: 1.5px solid #136db6;
    color: #136db6;
}

.drawer__event-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

.drawer__event--green .drawer__event-badge {
    background: #429245;
    color: #fff;
}

.drawer__event--blue .drawer__event-badge {
    background: #136db6;
    color: #fff;
}

.drawer__event-text {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
}

.drawer__event-arrow {
    font-size: 18px;
    opacity: 0.7;
}

/* 公式SNS */
.drawer__sns {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 16px;
}

.drawer__sns-label {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.drawer__sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.drawer__sns a:hover {
    opacity: 0.6;
}

/* アコーディオン */
.drawer__accordion {
    border-top: 1px solid #eee;
}

.drawer__acc-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 12px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    background: none;
    border: none;
    border-bottom: 1px solid #eee;
    border-left: 3px solid #ddd;
    cursor: pointer;
    transition: color 0.3s;
}

.drawer__acc-item:nth-child(1) .drawer__acc-btn {
    border-left-color: #429245;
}

.drawer__acc-item:nth-child(2) .drawer__acc-btn {
    border-left-color: #136db6;
}

.drawer__acc-item:nth-child(3) .drawer__acc-btn {
    border-left-color: #999;
}

.drawer__acc-item:nth-child(4) .drawer__acc-btn {
    border-left-color: #ff9800;
}

.drawer__acc-item:nth-child(5) .drawer__acc-btn {
    border-left-color: #333;
}

.drawer__acc-btn:hover {
    color: #136db6;
}

.drawer__acc-icon {
    font-size: 18px;
    color: #136db6;
    transition: transform 0.3s;
}

.drawer__acc-item.is-open .drawer__acc-icon {
    transform: rotate(45deg);
}

.drawer__acc-body {
    display: none;
    padding: 0 4px 8px;
}

.drawer__acc-item.is-open .drawer__acc-body {
    display: block;
}

.drawer__acc-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drawer__acc-body ul li {
    position: relative;
    padding-left: 14px;
}

.drawer__acc-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 1px;
    background: #ccc;
}

.drawer__acc-body ul li a {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    transition: color 0.3s;
}

.drawer__acc-body ul li:last-child a {
    border-bottom: none;
}

.drawer__acc-body ul li a:hover {
    color: #136db6;
}

/* トップリンク */
.drawer__acc-body-link {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: #136db6;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: opacity 0.3s;
}

.drawer__acc-body-link:hover {
    opacity: 0.7;
}

/* ネストしたサブトグル */
.drawer__acc-sub {
    border-bottom: 1px solid #f0f0f0;
}

.drawer__acc-sub-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.drawer__acc-sub-btn:hover {
    color: #136db6;
}

.drawer__acc-sub-btn .drawer__acc-icon {
    font-size: 14px;
    color: #999;
}

.drawer__acc-sub.is-open .drawer__acc-sub-btn .drawer__acc-icon {
    transform: rotate(45deg);
}

.drawer__acc-sub-body {
    display: none;
    padding-left: 12px;
    padding-bottom: 4px;
}

.drawer__acc-sub.is-open .drawer__acc-sub-body {
    display: block;
}

.drawer__acc-sub-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drawer__acc-sub-body ul li {
    position: relative;
    padding-left: 14px;
}

.drawer__acc-sub-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 1px;
    background: #ddd;
}

.drawer__acc-sub-body ul li a {
    display: block;
    padding: 8px 0;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.drawer__acc-sub-body ul li a:hover {
    color: #136db6;
}

.drawer__acc-link {
    display: block;
    padding: 16px 4px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: color 0.3s;
}

.drawer__acc-link:hover {
    color: #136db6;
}

.menu-open {
    overflow: hidden;
}

/* Fixed header offset */
.site-content {
    padding-top: 80px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* max-width: 1400px; */
    margin: 0 auto;
    padding: 0 0 0 20px;
    height: 80px;
    position: relative;
    z-index: 1;
}


/* Logo */
.header-logo a {
    display: block;
}

.header-logo img {
    height: 32px;
    width: auto;
}

/* Navigation */
.header-nav-list {
    display: flex;
    align-items: center;
    gap: 0;
}

.header-nav-item a,
.header-nav-item button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 20px;
    height: 80px;
    font-size: 12px;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
    border-left: 1px solid #f4f5f9;
}

.header-nav-item a:hover,
.header-nav-item button:hover {
    opacity: 0.7;
}

.header-nav-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* 資料請求 - blue background */
.header-nav-item--request a {
    background: #136db6;
    color: #fff;
}

/* MENU - dark background */
.header-nav-item--menu button {
    background: #333;
    color: #fff;
    padding: 10px 24px;
}


/* =====================
   First View
   ===================== */
.fv {
    position: relative;
    width: 100%;
    height: calc(100vh - 120px); /* 80px header + 40px countdown */
    overflow: visible;
}

/* Slideshow */
.fv-slideshow {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.fv-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.fv-slide.is-active {
    opacity: 1;
}

/* Dot indicators */
.fv-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}

.fv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.fv-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.fv-dot.is-active {
    width: 28px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.7);
}

/* FV Quick Nav */
.fv-quicknav {
    position: absolute;
    top: 60px;
    right: 20px;
    z-index: 4;
    display: none;
    flex-direction: column;
    gap: 6px;
}

.fv-quicknav.is-show {
    display: flex;
}

.fv-quicknav__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    min-width: 220px;
    transition: background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.fv-quicknav__item:hover {
    background: rgba(0, 0, 0, 0.45);
}

.fv-quicknav__item--active {
    background: rgba(0, 0, 0, 0.3);
    border-color: #82eaff;
    cursor: default;
}

.fv-quicknav__item--active .fv-quicknav__label {
    color: #82eaff;
}

.fv-quicknav__item--active .fv-quicknav__sub {
    color: #82eaff;
    opacity: 1;
}

@media (max-width: 768px) {
    .fv-quicknav {
        display: none !important;
    }
}

.page-template-page-junior .fv-quicknav__item--active {
    border-color: #9dffa1;
}

.page-template-page-junior .fv-quicknav__item--active .fv-quicknav__label {
    color: #9dffa1;
}

.page-template-page-junior .fv-quicknav__item--active .fv-quicknav__sub {
    color: #9dffa1;
}

.page-template-page-junior .fv-catch,
.page-template-page-high .fv-catch {
    font-weight: 500;
}

.home .fv-brand {
    font-size: 54px;
    font-weight: 400;
}

.home .fv-brand__sub {
    font-size: 18px;
}

.home .fv-catch {
    font-size: 36px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .home .fv-brand {
        font-size: 18px;
        font-weight: 400;
    }

    .home .fv-brand__sub {
        font-size: 10px;
    }

    .home .fv-catch {
        font-size: 24px;
        font-weight: 500;
    }
}

.fv-quicknav__label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.fv-quicknav__sub {
    display: block;
    font-size: 10px;
    font-weight: 400;
    opacity: 0.7;
    letter-spacing: 0.06em;
}

.fv-quicknav__arrow {
    font-size: 20px;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .fv-quicknav {
        top: 10px;
        right: 10px;
    }

    .fv-quicknav__item {
        padding: 10px 14px;
        min-width: 180px;
    }

    .fv-quicknav__label {
        font-size: 12px;
    }
}

/* Overlay catchphrase */
.fv-overlay {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 10%;
    z-index: 2;
}

.fv-brand {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    margin-bottom: 16px;
    font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "HG明朝E", serif;
    text-align: center;
}

.fv-catch__excl {
    display: inline-block;
    transform: rotate(12deg) translate(-11px, -2px);
    transform-origin: bottom left;
}

.fv-brand__sub {
    display: block;
    font-size: 11px;
    letter-spacing: 0.2em;
    margin-top: 4px;
    opacity: 0.85;
}

.fv-catch {
    color: #fff;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    letter-spacing: 0em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "HG明朝E", serif;
}

/* Bottom bar */
.fv-bottom {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 0 10px;
    z-index: 3;
}

/* News - mobile standalone section */
.fv-news.fv-news--mobile {
    display: none;
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .fv-news.fv-news--mobile {
        display: none;
        flex-direction: column;
        background: #f5f5f5;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 35px 24px;
        box-sizing: border-box;
    }

    .fv-news.fv-news--mobile .fv-news-list {
        background: #fff;
        border: 1px solid #e5e5e5;
    }

    .fv-news--mobile .fv-news-label {
        width: 100%;
        padding: 20px 0;
        border: 1px solid #e5e5e5;
    }

    .fv-news--mobile .fv-news-label br {
        display: none;
    }

    .fv-news--mobile .fv-news-list {
        width: 100%;
    }

    .fv-news--mobile .fv-news-item {
        flex-wrap: wrap;
        position: relative;
        padding-right: 30px;
        gap: 2px;
    }

    .fv-news--mobile .fv-news-item a {
        width: 100%;
        flex: none;
        line-height: 1.3;
    }

    .fv-news--mobile .fv-news-arrow {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .fv-catch {
        font-size: 26px;
    }
}

.fv-news {
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.92);
    max-width: 560px;
    margin: 40px 0;
}

.fv-news-label {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #e9eef1;
    color: #1a237e;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 16px;
    line-height: 1.3;
    white-space: nowrap;
    width: 100px;
    flex-shrink: 0;
}

.fv-news-list {
    padding: 8px 16px;
    font-size: 14px;
    overflow: hidden;
    width: 545px;
}

.fv-news-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 0;
    border-bottom: 1px solid #e5e5e5;
}

.fv-news-item:last-child {
    border-bottom: none;
}

.fv-news-item time {
    color: #666;
    flex-shrink: 0;
}

.fv-news-item a {
    display: block;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fv-news-item a:hover {
    text-decoration: underline;
}

.fv-news-arrow {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 16px;
    color: #999;
    padding-left: 8px;
}

/* Important News section */
.important-news {
    background: #f5f5f0;
    padding: 40px 24px;
}

.important-news-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    border: 2px solid #e08830;
}

.important-news-heading {
    flex-shrink: 0;
    width: 320px;
}

.important-news-en {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #e08830;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.important-news-triangle {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #e08830;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    flex-shrink: 0;
}

.important-news-ttl {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.important-news-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.important-news-link:hover {
    text-decoration: underline;
}

.important-news-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 50%;
    flex-shrink: 0;
}

.important-news-list {
    flex: 1;
    min-width: 0;
}

.important-news-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

@media (max-width: 768px) {
    .important-news-item {
        flex-direction: column;
        gap: 4px;
    }

    .important-news-item time {
        font-size: 10px;
    }

    .important-news-item a {
        font-size: 13px;
    }

    .important-news-heading {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .important-news-en {
        width: 100%;
    }

    .important-news-ttl {
        font-size: 20px;
        margin-bottom: 0;
        margin-right: auto;
    }

    .important-news-link {
        font-size: 0;
        gap: 0;
    }

    .important-news-link-icon {
        width: 32px;
        height: 32px;
    }
}

.important-news-item:first-child {
    padding-top: 0;
}

.important-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.important-news-item time {
    color: #666;
    font-size: 14px;
    flex-shrink: 0;
    white-space: nowrap;
}

.important-news-item a {
    font-size: 15px;
    color: #333;
    text-decoration: none;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .important-news-item a {
        font-size: 13px;
    }
}

.important-news-item a:hover {
    text-decoration: underline;
}

/* Deadline box */
.fv-deadline {
    position: relative;
    background: rgba(255, 255, 255, 0.92);
    max-width: 340px;
    border-radius: 10px 10px 0 0;
    overflow: visible;
}

.fv-deadline-close {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    border: none;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 14px;
    line-height: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    padding-bottom: 1px;
    z-index: 1;
    transition: background 0.3s;
}

.fv-deadline-close:hover {
    background: rgba(0, 0, 0, 0.5);
}

.fv-deadline-heading {
    background: #c9a84c;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 8px 16px;
    border-radius: 10px 10px 0 0;
}

.fv-deadline-list {
    padding: 0;
}

.fv-deadline-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px dashed #ddd;
    transition: opacity 0.3s;
}

.fv-deadline-row:last-child {
    border-bottom: none;
}

.fv-deadline-row:hover {
    opacity: 0.7;
}

.fv-deadline-text {
    flex: 1;
    min-width: 0;
}

.fv-deadline-label {
    font-size: 11px;
    color: #555;
    margin-bottom: 2px;
}

.fv-deadline-date {
    font-size: 14px;
    font-weight: 600;
    color: #c85000;
}

.fv-deadline-arrow {
    flex-shrink: 0;
    font-size: 18px;
    color: #999;
}

/* Countdown */
.fv-countdown {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #136db6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 3;
}

.fv-countdown-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.fv-countdown-timer {
    display: inline-flex;
    align-items: baseline;
    background: #fff;
    color: #2c3e6b;
    border-radius: 4px;
    padding: 0px 16px;
    gap: 2px;
}

.fv-countdown-num {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.fv-countdown-num[data-days] {
    font-size: 20px;
}

.fv-countdown-unit {
    font-size: 11px;
    font-weight: 500;
    margin-right: 6px;
}

.fv-countdown-arrow {
    font-size: 18px;
    margin-left: 4px;
}

/* =====================
   Pickup
   ===================== */
.pickup {
    padding: 0px 0 60px;
    background: #f5f5f5;
}

.pickup-title {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: 0.3em;
    color: #888;
    font-family: 'Roboto', sans-serif;
}

.pickup-slider {
    position: relative;
}

.pickup-scroll {
    overflow: hidden;
}

.pickup-list {
    display: flex;
    gap: 16px;
    transition: transform 0.5s ease;
}

.pickup-slider:not(.is-slider) .pickup-list {
    justify-content: center;
}

.pickup-slider:not(.is-slider) .pickup-arrow {
    display: none;
}

.pickup-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.pickup-arrow:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

.pickup-arrow--prev {
    left: 20px;
}

.pickup-arrow--next {
    right: 20px;
}

.pickup-card {
    display: block;
    flex-shrink: 0;
    width: 280px;
    border-radius: 8px;
    overflow: hidden;
    transition: opacity 0.3s;
    scroll-snap-align: center;
}

.pickup-card:hover {
    opacity: 0.8;
}

.pickup-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =====================
   News Section
   ===================== */
.news-section {
    padding: 60px 0;
    background: #fff;
}

.news-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.news-main {
}

.news-body {
    display: flex;
    gap: 40px;
}

.news-body-main {
    flex: 1;
    min-width: 0;
}

.news-en {
    font-size: 14px;
    font-weight: 600;
    color: #389f0f;
    text-align: center;
    letter-spacing: 0em;
    margin-bottom: 4px;
}

.news-heading {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
}

/* Tabs */
.news-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.news-tab {
    padding: 6px 18px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}

.news-tab.is-active {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* List */
.news-list {
    border-top: 1px solid #e5e5e5;
}

.news-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
}

.news-list-item time {
    color: #666;
    flex-shrink: 0;
    font-size: 13px;
}

.news-list-cat {
    display: inline-block;
    font-size: 11px;
    padding: 2px 10px;
    border: 1px solid #999;
    border-radius: 3px;
    color: #666;
    flex-shrink: 0;
}

.news-list-cat--junior {
    border-color: #2a8e0e;
    color: #2a8e0e;
}

.news-list-cat--senior {
    border-color: #1d7eaf;
    color: #1d7eaf;
}

.news-list-cat--common {
    border-color: #999;
    color: #666;
}

.news-list-cat--important {
    background: #b04e48;
    border-color: #fff;
    color: #fff;
}

.news-list-cat--emergency {
    background: #b04e48;
    border-color: #fff;
    color: #fff;
}

.news-list-cat--tidings {
    border-color: #2a8e0e;
    color: #2a8e0e;
}

.news-list-cat--other {
    border-color: #999;
    color: #666;
}

.news-list-item a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-list-item a:hover {
    text-decoration: underline;
}

/* More button */
.news-more {
    text-align: right;
    margin-top: 28px;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 20px 12px 32px;
    border: 1px solid #f2f2f2;
    border-radius: 40px;
    font-size: 14px;
    color: #333;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.btn-more:hover {
    background: #f5f5f5;
    border-color: #999;
}

.btn-more-arrow {
    color: #136db6;
    flex-shrink: 0;
}

/* Side banners */
.news-side {
    width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-banner {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    transition: opacity 0.3s;
}

.news-banner:hover {
    opacity: 0.8;
}

.news-banner img {
    width: 240px;
    height: 145px;
    object-fit: cover;
    display: block;
}

/* =====================
   Event Section
   ===================== */
.event-section {
    padding: 60px 24px;
    /* background: #f5f5f5; */
    max-width: 1100px;
    margin: 0 auto;
}

.event-en {
    font-size: 14px;
    font-weight: 600;
    color: #389f0f;
    text-align: center;
    letter-spacing: 0em;
    margin-bottom: 4px;
}

.event-heading {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
}

.event-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding-bottom: 20px;
    margin-bottom: 28px;
    border-bottom: 1px solid #136db6;
}

.page-template-page-junior .event-tabs {
    border-bottom: 1px solid #23b613;
}

/* PC: card grid */
.event-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.topics-tab-panel {
    display: none;
}

.topics-tab-panel.is-active {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.event-list-item {
    border: none;
}

.event-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
    height: 100%;
}

.event-card:hover {
    opacity: 0.7;
}

.event-card-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e5e5e5;
}

.event-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-card-body {
    position: relative;
    padding: 12px 14px 36px;
    flex: 1;
}

.event-card-body time {
    font-size: 12px;
    color: #888;
}

.event-card-cats {
    display: flex;
    gap: 4px;
    flex-wrap: nowrap;
    overflow: hidden;
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.event-card-cat {
    font-size: 11px;
    color: #313131;
    background: #c2d8ea;
    border-radius: 3px;
    padding: 2px 10px;
    line-height: 1.4;
    white-space: nowrap;
    flex-shrink: 0;
}

.event-card-cat--junior {
    background: #d2eac2;
}

.event-card-cat--common {
    background: #fae5c7;
}

.event-card-title {
    font-size: 13px;
    line-height: 1.5;
    margin: 2px 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =====================
   Top Contents (Junior/High TOP)
   ===================== */

/* State bar */
.top-state {
    background: #8d8e8e;
    position: relative;
    z-index: 2;
    display: none;
}

.top-state.is-show {
    display: block;
    padding: 0 20px;
}

.top-contents-blocks {
    display: none;
}

.top-contents-blocks.is-show {
    display: block;
}

.stake-content {
    display: none;
}

.stake-content.is-active {
    display: block;
}

.top-state-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (max-width: 400px) {
    .top-state-inner {
        padding: 0;
        gap: 8px;
    }
}

.top-state-txt {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.top-state-btn {
    color: #fff;
    font-size: 12px;
    background: #575a5b;
    padding: 6px 18px;
    border-radius: 20px;
    transition: all 0.3s;
}

.top-state-btn:hover {
    background: #fff;
    color: #575a5b;
}

/* Wrapper - alternating backgrounds */
.top-contents-wrapper {
    background:
        linear-gradient(rgba(19, 109, 182, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(19, 109, 182, 0.06) 1px, transparent 1px),
        #e9f0f8;
    background-size: 40px 40px;
    padding: 54px 0 60px;
}

.top-contents-wrapper.bg-white {
    background: #fff;
}

/* Inner container */
.top-contents {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 40px;
}

/* Section heading */
.top-contents-heading {
    flex-shrink: 0;
    width: 240px;
}

/* Grid area */
.top-contents-body {
    flex: 1;
    min-width: 0;
}

.top-contents-en {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 21px;
    font-weight: 600;
    color: #136db6;
    letter-spacing: 0em;
    line-height: 1.4;
}

.top-contents-en::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: currentColor;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    flex-shrink: 0;
}

.top-contents-ttl {
    font-size: 28px;
    font-weight: 500;
    color: #136db6;
    line-height: 1.4;
    margin: 8px 0;
}

.top-contents-ttl-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
}

.top-contents-ttl-link:hover {
    opacity: 0.7;
}

.top-contents-ttl-link::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    flex-shrink: 0;
}

.top-contents-sub {
    font-size: 15px;
    color: #666;
    margin-top: 6px;
}

/* Card grid */
.top-contents-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -16px;
    gap: 32px 0;
}

.top-contents-grid--3col .top-contents-card {
    flex: 1 1 280px;
    min-width: 280px;
    max-width: calc(33.333% - 32px);
    margin: 0 16px;
}

.top-contents-grid--2col .top-contents-card {
    flex: 0 1 calc(33.333% - 32px);
    min-width: 280px;
    margin: 0 16px;
}

.top-contents-grid + .top-contents-grid {
    margin-top: 32px;
}

/* Card base */
.top-contents-card {
    display: block;
    transition: opacity 0.3s;
}

.top-contents-card:hover {
    opacity: 0.7;
}

/* Card thumbnail */
.top-contents-card-img {
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.top-contents-card-img img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.top-contents-card:hover .top-contents-card-img img {
    transform: scale(1.05);
}

/* Card text */
.top-contents-card-desc {
    font-size: 12px;
    color: #181818;
    margin-bottom: 20px;
    line-height: 1.5;
}

.top-contents-card-ttl {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin-bottom: 12px;
}

/* Card button (same spec as btn-more) */
.top-contents-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 8px 20px 8px 32px;
    border: 1px solid #f2f2f2;
    border-radius: 40px;
    font-size: 14px;
    color: #333;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.top-contents-card-btn svg {
    color: #136db6;
    flex-shrink: 0;
}

.top-contents-card:hover .top-contents-card-btn {
    background: #f5f5f5;
    border-color: #999;
}

/* No-thumbnail variant */
.top-contents-card--no-thumb {
    padding-top: 8px;
}

.top-contents-card--no-thumb .top-contents-card-ttl {
    font-size: 16px;
    margin-bottom: 12px;
}

/* =====================
   School Split
   ===================== */
.school-split {
    display: flex;
    flex-wrap: wrap;
}

.school-split-panel {
    position: relative;
    flex: 1 1 450px;
    min-width: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.school-split-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s;
    pointer-events: none;
}

.school-split-panel--high {
    background-position: center 20%;
}

.school-split-panel--high .school-split-overlay {
    background: rgba(0, 50, 120, 0.4);
}

.school-split-panel--junior .school-split-overlay {
    background: rgba(0, 100, 50, 0.4);
}

.school-split-panel--high:hover .school-split-overlay {
    background: rgba(0, 50, 120, 0.55);
}

.school-split-panel--junior:hover .school-split-overlay {
    background: rgba(0, 100, 50, 0.55);
}

.school-split-content {
    position: relative;
    z-index: 1;
    padding: 40px 24px;
}

.school-split-heading {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.school-split-sub {
    font-size: 13px;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    opacity: 0.9;
}

.school-split-btn {
    display: inline-block;
    padding: 8px 28px;
    border: 1px solid #fff;
    border-radius: 40px;
    font-size: 13px;
    letter-spacing: 0.05em;
    transition: all 0.3s;
}

.school-split-panel:hover .school-split-btn {
    background: #fff;
    color: #333;
}

/* =====================
   Footer
   ===================== */
.site-footer {
    padding-bottom: 0px;
}

@media (max-width: 768px) {
    .site-footer {
        padding-bottom: 0px;
    }
}

/* Footer CTA */
.footer-cta {
    padding: 0 20px 60px;
    background: #fff;
}

.footer-cta-inner {
    max-width: 1100px;
    margin: 0 auto;
    /* padding: 0 24px; */
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-cta-item {
    position: relative;
    flex: 1 1 200px;
    min-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #000;
    border: 1px solid #d5d5d5;
    text-decoration: none;
    transition: 0.5s;
}

.footer-cta-item::after {
    content: "";
    position: absolute;
    right: 3px;
    bottom: 3px;
    width: 0;
    height: 0;
    display: block;
    border-style: solid;
    border-width: 0 0 10px 10px;
    border-color: transparent transparent #136db6 transparent;
}

.footer-cta-item:hover {
    border-color: transparent;
    background-color: #d7e5f5;
}

.footer-cta-item:hover::after {
    border-color: transparent transparent #136db6 transparent;
}

/* Animated border on hover */
.footer-cta-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid #136db6;
    opacity: 0;
    transition: opacity 0.3s;
}

.footer-cta-item:hover::before {
    opacity: 1;
}

/* Footer CTA */
.footer-cta {
    padding: 48px 20px 35px;
    position: relative;
    background: none;
}

.footer-cta-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 900px) {
    .footer-cta-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

.footer-cta-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.3s, box-shadow 0.3s;
    position: relative;
}

.footer-cta-item:hover {
    background: #fafafa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
    .footer-cta {
        padding: 32px 20px;
    }

    .footer-cta-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .footer-cta-item {
        padding: 16px 10px;
        font-size: 12px;
    }
}

/* Footer Stakeholder Bar */
.footer-stake {
    background: #555;
}

.footer-stake-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-stake-item {
    flex: 1;
    text-align: center;
    padding: 20px 16px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-stake-item:last-child {
    border-right: none;
}

.footer-stake-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .footer-stake-inner {
        flex-wrap: wrap;
    }

    .footer-stake-item {
        flex: 1 1 50%;
        padding: 16px 8px;
        font-size: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .footer-stake-item:nth-child(2n) {
        border-right: none;
    }

    .footer-stake-item:nth-child(3),
    .footer-stake-item:nth-child(4) {
        border-bottom: none;
    }
}

/* Footer Nav */
/* --- Footer School Nav (メガメニュー風) --- */
.footer-school-nav {
    background: rgba(66, 146, 69, 0.04);
    border-bottom: 1px solid #eee;
    transition: background 0.4s ease;
}

.footer-school-nav.is-high {
    background: rgba(19, 109, 182, 0.04);
}

.footer-bg-wrap {
    position: relative;
    background: #f5f5f5;
}

.footer-bg-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/sougo_fv.JPG') center / cover no-repeat;
    opacity: 0.1;
    filter: blur(3px);
    pointer-events: none;
}

.footer-school-nav {
    position: relative;
    background: none;
}

/* タブカード */
.footer-school-nav__wrap {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-tab-header {
    display: flex;
    gap: 0;
}

.footer-tab-header__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 24px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.6;
    position: relative;
}

.footer-tab-header__btn--junior {
    background: linear-gradient(135deg, #429245, #66bb6a);
    color: #fff;
    border-radius: 0;
}

.footer-tab-header__btn--high {
    background: linear-gradient(135deg, #136db6, #42a5f5);
    color: #fff;
    border-radius: 0;
}

.footer-tab-header__btn.is-active {
    opacity: 1;
}

.footer-tab-header__btn:not(.is-active) {
    filter: brightness(0.7);
}

.footer-tab-header__btn:not(.is-active):hover {
    filter: brightness(0.85);
}

.footer-tab-header__title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.footer-tab-header__sub {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    opacity: 0.7;
}

/* パネル */
.footer-tab-panel {
    display: none;
    border-radius: 0;
    position: relative;
}

.footer-tab-panel.is-active {
    display: block;
}

.footer-tab-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: -1;
}

[data-footer-panel="junior"]::before {
    background: #429245;
}

[data-footer-panel="high"]::before {
    background: #136db6;
}

[data-footer-panel="junior"] {
    background: transparent;
}

[data-footer-panel="high"] {
    background: transparent;
}

.footer-tab-panel__top-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin: 24px 28px 16px;
    transition: opacity 0.3s;
}

.footer-tab-panel__top-link--junior,
.footer-tab-panel__top-link--high {
    color: #fff;
}

.footer-tab-panel__top-link:hover {
    opacity: 0.7;
}

.footer-tab-panel__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 28px 28px;
}

.footer-tab-panel__col-heading {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

ul + .footer-tab-panel__col-heading {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-tab-panel__col-heading-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.3s;
}

.footer-tab-panel__col-heading-link::after {
    content: '›';
    font-size: 16px;
    line-height: 1;
}

.footer-tab-panel__col-heading-link:hover {
    opacity: 0.7;
}

.footer-tab-panel__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-tab-panel__col ul li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 14px;
}

.footer-tab-panel__col ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.3s;
}

.footer-tab-panel__col ul li:hover::before {
    width: 10px;
    background: #fff;
}

.footer-tab-panel__col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.8;
    transition: color 0.3s;
}

.footer-tab-panel__col ul li a:hover {
    color: #fff;
}

/* SP */
@media (max-width: 768px) {
    .footer-school-nav__wrap {
        padding: 0;
    }

    .footer-tab-header__btn {
        padding: 14px 16px;
        gap: 8px;
    }

    .footer-tab-header__title {
        font-size: 14px;
    }

    .footer-tab-panel__grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 16px;
        padding: 0 20px 20px;
    }

    .footer-tab-panel__top-link {
        margin: 20px 20px 12px;
        font-size: 13px;
    }
}

.footer-nav {
    background: #f5f5f5;
    padding: 48px 20px 32px;
}

.footer-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
}

.footer-nav-section {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.footer-nav-divider {
    display: none;
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 0;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.footer-nav-list:last-child {
    margin-bottom: 0;
}

.footer-nav-list li {
    font-size: 13px;
    position: relative;
    margin-bottom: 8px;
}

/* 見出し項目（インデントなし） */
.footer-nav-list li:not(.footer-nav-list__indent) {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.footer-nav-list li:not(.footer-nav-list__indent) a {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.04em;
    transition: color 0.3s;
}

.footer-nav-list li:not(.footer-nav-list__indent) a:hover {
    color: #136db6;
}

/* サブ項目はダッシュライン */
.footer-nav-list__indent {
    padding-left: 14px;
}

.footer-nav-list__indent a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.6;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
}

.footer-nav-list__indent::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 1px;
    background: #bbb;
    transition: width 0.3s;
}

.footer-nav-list__indent:hover::before {
    width: 10px;
    background: #136db6;
}

.footer-nav-list__indent a:hover {
    color: #136db6;
}

.footer-nav-list li a:hover {
    opacity: 0.7;
}

/* SP: Footer Nav トグル */
@media (max-width: 768px) {
    .footer-nav {
        padding: 24px 20px 16px;
    }

    .footer-nav-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-nav-section {
        border-bottom: 1px solid #e5e5e5;
    }

    .footer-nav-divider {
        display: block;
    }

    .footer-nav-section:last-child {
        border-bottom: none;
    }

    /* 見出しをトグルボタンに */
    .footer-nav-list li:not(.footer-nav-list__indent) {
        border-bottom: none;
        margin-bottom: 0;
        padding: 14px 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .footer-nav-list li:not(.footer-nav-list__indent)::after {
        content: '';
        width: 8px;
        height: 8px;
        border-right: 2px solid #999;
        border-bottom: 2px solid #999;
        transform: rotate(45deg);
        transition: transform 0.3s;
        flex-shrink: 0;
    }

    .footer-nav-list li:not(.footer-nav-list__indent).is-open::after {
        transform: rotate(-135deg);
    }

    /* サブ項目を非表示 */
    .footer-nav-list__indent {
        display: none;
        padding-left: 14px;
    }

    .footer-nav-list__indent.is-open {
        display: block;
    }

    .footer-nav-list {
        margin: 0;
    }
}

/* Footer Bottom Links */
.footer-bottom-links {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 24px 20px;
}

.footer-bottom-links-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-bottom-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    margin-bottom: 8px;
}

.footer-bottom-links-row:last-child {
    margin-bottom: 0;
}

.footer-bottom-links-row a {
    font-size: 14px;
    color: #136db6;
    transition: opacity 0.3s;
    padding-right: 20px;
    border-right: 1px solid #ccc;
}

.footer-bottom-links-row a:last-child {
    border-right: none;
    padding-right: 0;
}

.footer-bottom-links-row a:hover {
    opacity: 0.7;
}

.footer-bottom-sns {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    justify-content: center;
}

.footer-bottom-sns__label {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

.footer-sns-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #e74c3c;
    border-radius: 8px;
    transition: opacity 0.3s;
}

.footer-sns-icon svg {
    width: 18px;
    height: 18px;
}

.footer-sns-icon:hover {
    opacity: 0.7;
}

.footer-sns-icon[aria-label="Instagram"] {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer-sns-icon--spotify {
    background: #1DB954;
}

.footer-sns-icon--line {
    background: #06C755;
}

.footer-sns-badge {
    font-size: 11px;
    font-weight: 600;
    color: #555;
    border: 1px solid #ddd;
    padding: 2px 8px;
    border-radius: 3px;
}

/* Footer Photos */
.footer-photos {
    /* background: #ececec; */
    padding: 30px 20px 10px;
    display: flex;
    align-items: center;
}

.footer-photos ul {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
}

.footer-photos ul li {
    width: calc(100% / 4);
    text-align: center;
    padding: 0 4px;
    margin-bottom: 20px;
}

.footer-photos ul li a {
    transition: 0.3s;
}

.footer-photos ul li a:hover {
    opacity: 0.8;
}

.footer-photos ul li a img {
    width: 100%;
    aspect-ratio: 3 / 1;
    object-fit: cover;
    margin-bottom: 5px;
    border-radius: 8px;
}

.footer-photos ul li a span {
    display: block;
    font-size: 12px;
    color: #333;
}

.footer-photos ul li a span::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid black;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    margin-right: 5px;
}

/* Footer Bottom */
.footer-bottom {
    background: #fff;
    padding: 28px 20px;
    text-align: center;
}

.footer-bottom-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 32px;
    width: auto;
}

.footer-address {
    font-size: 12px;
    color: #666;
    line-height: 1.8;
}

/* Copyright */
.footer-copy {
    background: #1a2a4a;
    color: #fff;
    text-align: center;
    padding: 12px 24px;
    font-size: 11px;
}

/* =====================
   Stakeholder Banner
   ===================== */
.stakeholder {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    background: rgba(30, 33, 36, 0.92);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transform: translateY(60px);
    transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.stakeholder.is-show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.stakeholder.is-show.is-minimized {
    transform: translateY(calc(100% - 44px));
    cursor: pointer;
}

.stakeholder.is-minimized .stakeholder-txts,
.stakeholder.is-minimized .stakeholder-btns,
.stakeholder.is-minimized .stakeholder-close {
    display: none;
}

.stakeholder.is-minimized .stakeholder-open {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1.5px solid #e08830;
    border-radius: 30px;
    color: #e08830;
    font-size: 14px;
    font-weight: 600;
    padding: 2px 15px;
    cursor: pointer;
    letter-spacing: 0.05em;
    margin: 0 auto;
    position: relative;
    top: -17px;
}

.stakeholder-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.stakeholder-txts {
    flex-shrink: 0;
    border-left: 3px solid #4CAF50;
    padding-left: 16px;
}

.stakeholder-title {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
}

.stakeholder-desc {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    margin-top: 4px;
    line-height: 1.6;
    opacity: 0.8;
}

.stakeholder-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stakeholder-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 44px;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 50px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.stakeholder-btn[data-stake="junior"],
.stakeholder-btn--junior {
    border-color: #389f0f;
    color: #389f0f;
}

.stakeholder-btn[data-stake="high"],
.stakeholder-btn--high {
    border-color: #136db6;
    color: #136db6;
}

.stakeholder-btn[data-stake="parent"],
.stakeholder-btn--parent {
    border-color: #e88830;
    color: #e88830;
}

.stakeholder-btn[data-stake="alumni"],
.stakeholder-btn--alumni {
    border-color: #333;
    color: #333;
}

.stakeholder-btn:hover {
    color: #fff;
}

.stakeholder-btn--junior:hover {
    background: #389f0f;
}

.stakeholder-btn--high:hover {
    background: #136db6;
}

.stakeholder-btn--parent:hover {
    background: #e88830;
}

.stakeholder-btn--alumni:hover {
    background: #333;
}

/* 追尾POP */
.floating-pop {
    position: fixed;
    bottom: 50px;
    left: 24px;
    z-index: 2;
    display: block;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

@media (max-width: 768px) {
    .floating-pop {
        display: none !important;
    }
}

.floating-pop.is-show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-pop img {
    display: block;
    width: 300px;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: width 0.4s ease, transform 0.3s ease;
}

.floating-pop.is-small img {
    width: 160px;
}

.floating-pop:hover img {
    transform: scale(1.03);
}

.floating-pop__close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.floating-pop__close:hover {
    background: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .floating-pop img {
        width: 140px;
    }

    .floating-pop {
        bottom: 76px;
        left: 12px;
    }
}

/* トースト通知 */
.stake-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #222;
    padding: 16px 28px 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    font-size: 13px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    white-space: nowrap;
    max-width: calc(100vw - 40px);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.02em;
}

.stake-toast::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background: #136db6;
    border-radius: 50%;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
}

.page-template-page-junior .stake-toast::before {
    background-color: #4CAF50;
}

.page-template-page-junior .fv-countdown {
    background: #4CAF50;
}

.page-template-page-junior .fv-countdown-timer {
    color: #2e7d32;
}

.stake-toast.is-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .stake-toast {
        white-space: normal;
        font-size: 12px;
        padding: 14px 20px 14px 16px;
        line-height: 1.6;
        bottom: 80px;
        width: 90vw;
        max-width: 90vw;
    }
}

/* PC: hide open button */
.stakeholder-open {
    display: none;
}

.stakeholder-close {
    position: absolute;
    top: -20%;
    right: 0px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
}

.stakeholder-close::before,
.stakeholder-close::after {
    content: "";
    display: block;
    width: 20px;
    height: 1px;
    position: absolute;
    top: 50%;
    left: 50%;
    background: #fff;
}

.stakeholder-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.stakeholder-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* =====================
   Responsive - fv-deadline drawer (1050px)
   ===================== */
@media (max-width: 1050px) {
    .fv-deadline {
        position: fixed;
        top: 50%;
        right: 0;
        transform: translateY(-50%) translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
        max-width: 300px;
        border-radius: 10px 0 0 10px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
    }

    .fv-deadline.is-open {
        transform: translateY(-50%) translateX(0);
    }

    /* Closed: vertical tab on right edge */
    .fv-deadline-heading {
        display: none;
        position: absolute;
        right: 100%;
        top: 50%;
        transform: translateY(-50%);
        writing-mode: vertical-rl;
        width: auto;
        padding: 12px 8px;
        border-radius: 8px 0 0 8px;
        cursor: pointer;
        white-space: nowrap;
        font-size: 12px;
        opacity: 1;
        transition: opacity 0.25s ease;
    }

    /* Tab fading out before open */
    .fv-deadline.tab-hiding .fv-deadline-heading {
        opacity: 0;
    }

    /* Tab fading back in after close — controlled via JS opacity */

    /* Open: normal heading on top */
    .fv-deadline.is-open .fv-deadline-heading {
        position: static;
        writing-mode: horizontal-tb;
        transform: none;
        width: 100%;
        padding: 8px 16px;
        border-radius: 10px 0 0 0;
        text-align: center;
        font-size: 13px;
        opacity: 1;
    }

    /* Closing: keep horizontal heading, slide out together */
    .fv-deadline.is-closing {
        transform: translateY(-50%) translateX(100%);
    }

    .fv-deadline.is-closing .fv-deadline-heading {
        position: static;
        writing-mode: horizontal-tb;
        transform: none;
        width: 100%;
        padding: 8px 16px;
        border-radius: 10px 0 0 0;
        text-align: center;
        font-size: 13px;
        opacity: 1;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .fv-deadline-close {
        display: none;
    }

    .fv-deadline-list {
        background: rgba(255, 255, 255, 0.97);
        border-radius: 0 0 0 10px;
    }
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 768px) {
    .important-news-inner {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

    .important-news-heading {
        width: 100%;
    }

    .important-news-list {
        width: 100%;
    }

    .top-contents-en {
        font-size: 18px;
    }

    .top-contents-grid--3col,
    .top-contents-grid--2col {
        flex-direction: column;
        gap: 0;
    }

    .top-contents-grid--3col .top-contents-card,
    .top-contents-grid--2col .top-contents-card {
        flex: none;
        min-width: 0;
        max-width: none;
        margin: 0;
        padding: 16px 15px;
        border-bottom: 1px solid #cdd9e7;
    }

    .top-contents-wrapper.bg-white .top-contents-card {
        border-bottom-color: #e5e5e5;
    }

    /* サムネ付きカードを横並びリスト型に */
    .top-contents-card:has(.top-contents-card-img) {
        display: grid;
        grid-template-columns: 100px 1fr auto;
        grid-template-rows: auto auto;
        gap: 0 16px;
        align-items: center;
        padding: 16px 0;
        border-bottom: 1px solid #cdd9e7;
    }

    .top-contents-wrapper.bg-white .top-contents-card:has(.top-contents-card-img) {
        border-bottom-color: #e5e5e5;
    }

    .page-template-page-junior .top-contents-card:has(.top-contents-card-img) {
        border-bottom-color: #d5e7cd;
    }

    .page-template-page-junior .top-contents-grid--3col .top-contents-card,
    .page-template-page-junior .top-contents-grid--2col .top-contents-card {
        border-bottom-color: #d5e7cd;
    }

    .top-contents-card:has(.top-contents-card-img) .top-contents-card-img {
        grid-row: 1 / 3;
        grid-column: 1;
        width: 100px;
        flex-shrink: 0;
        margin-bottom: 0;
        border-radius: 4px;
    }

    .top-contents-card:has(.top-contents-card-img) .top-contents-card-img img {
        aspect-ratio: 4 / 3;
    }

    .top-contents-card:has(.top-contents-card-img) .top-contents-card-ttl {
        grid-row: 1;
        grid-column: 2;
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 4px;
        align-self: end;
    }

    /* 補足テキストがない場合はタイトルを中央揃え */
    .top-contents-card:has(.top-contents-card-img):not(:has(.top-contents-card-desc)) .top-contents-card-ttl {
        grid-row: 1 / 3;
        align-self: center;
        font-weight: 500;
        margin-bottom: 0;
    }

    .top-contents-card:has(.top-contents-card-img) .top-contents-card-desc {
        grid-row: 2;
        grid-column: 2;
        font-size: 11px;
        margin-bottom: 0;
        color: #888;
        align-self: start;
    }

    .top-contents-card:has(.top-contents-card-img) .top-contents-card-btn {
        display: none;
    }

    .top-contents-card:has(.top-contents-card-img)::after {
        content: '›';
        grid-row: 1 / 3;
        grid-column: 3;
        font-size: 20px;
        color: #ccc;
        align-self: center;
        margin-right: 15px;
    }

    /* no-thumbカードはabout-nav__item風 */
    .top-contents-card--no-thumb + .top-contents-card--no-thumb {
        margin-top: 10px;
    }

    .top-contents-card--no-thumb {
        width: 100%;
        margin: 0;
        display: flex;
        align-items: center;
        padding: 16px 20px;
        background: #fafafa;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
        font-weight: 500;
        color: #222;
        text-decoration: none;
        position: relative;
        transition: all 0.3s;
    }

    .top-contents-card--no-thumb:hover {
        background: #f8f8f8;
        border-color: #136db6;
        color: #136db6;
    }

    .top-contents-card--no-thumb::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        width: 22px;
        height: 22px;
        background: #136db6;
        transform: translateY(-50%);
    }

    .page-template-page-junior .top-contents-card--no-thumb::after {
        background: #429245;
    }

    .page-template-page-junior .top-contents-card--no-thumb:hover {
        border-color: #429245;
        color: #429245;
    }

    .top-contents-card--no-thumb::before {
        content: '';
        position: absolute;
        right: 9px;
        top: 50%;
        width: 7px;
        height: 7px;
        border-top: 1.5px solid #fff;
        border-right: 1.5px solid #fff;
        transform: translateY(-50%) rotate(45deg);
        z-index: 1;
    }

    .top-contents-card--no-thumb {
        flex-wrap: wrap;
    }

    .top-contents-card--no-thumb .top-contents-card-ttl {
        order: -1;
        margin-bottom: 2px;
        width: calc(100% - 40px);
    }

    .top-contents-card--no-thumb .top-contents-card-desc {
        font-size: 11px;
        color: #888;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }

    .top-contents-card--no-thumb .top-contents-card-btn {
        display: none;
    }

    .header-inner {
        height: 60px;
        padding: 0 0px 0px 10px;
    }

    .header-logo img {
        height: 28px;
    }

    .header-nav-item a,
    .header-nav-item button {
        height: 60px;
        padding: 8px 12px;
        font-size: 10px;
    }

    .header-nav-icon {
        width: 20px;
        height: 20px;
    }

    .header-subnav {
        display: none;
    }

    .site-content {
        padding-top: 60px;
    }

    .home .site-content {
        padding-top: 60px;
    }

    .fv {
        height: 40vh;
    }

    .admin-bar .fv {
        height: 40vh;
    }

    .fv-overlay {
        padding-bottom: 30%;
    }

    .fv-bottom .fv-news {
        display: none;
    }

    .top-state {
        z-index: 1;
    }

    .top-state-txt {
        font-size: 12px;
    }

    .top-state-btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    .top-contents {
        flex-direction: column;
        gap: 20px;
    }

    .top-contents-heading {
        width: 100%;
        text-align: center;
    }

    .top-contents-ttl-link {
        margin-left: 20px;
    }

    .news-body {
        flex-direction: column;
    }

    .news-side {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .news-side .news-banner {
        flex: 1 1 240px;
        min-width: 240px;
    }

    .news-side .news-banner img {
        width: 100%;
        height: 145px;
    }

    .news-list-item {
        flex-wrap: wrap;
    }

    .news-list-item a {
        width: 100%;
        white-space: normal;
    }

    .school-split-panel {
        min-width: 100%;
        min-height: 250px;
    }

    .footer-photos ul {
        flex-wrap: wrap;
    }

    .footer-photos ul li {
        width: 50%;
    }

    .footer-photos ul li a img {
        max-width: 100%;
    }

    .footer-nav-grid {
        display: none;
    }

    .news-tab {
        padding: 6px 10px;
    }

    /* Event: list mode on mobile */
    .event-list {
        display: block;
    }

    .topics-tab-panel {
        display: none;
    }

    .topics-tab-panel.is-active {
        display: block;
    }

    .event-list-item {
        border-bottom: 1px solid #e5e5e5;
    }

    .event-list-item:first-child {
        border-top: 1px solid #e5e5e5;
    }

    .event-card {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 16px 0;
        background: none;
        border-radius: 0;
        box-shadow: none;
        height: auto;
    }

    .event-card-thumb {
        width: 120px;
        min-width: 120px;
        border-radius: 4px;
    }

    .event-card-body {
        position: static;
        padding: 0;
    }

    .event-card-cats {
        position: static;
        display: inline-flex;
        margin-left: 8px;
        vertical-align: middle;
    }

    .event-card-cat {
        display: inline-block;
    }

    .event-card-title {
        margin: 4px 0 0;
    }

    .footer-cta-item {
        flex: 1 1 calc(50% - 15px);
        min-width: calc(50% - 15px);
        padding: 20px 12px;
        font-size: 12px;
    }

    .header-nav-item--admission,
    .header-nav-item--event,
    .header-nav-item--contact,
    .header-nav-item--access,
    .header-nav-item--request {
        display: none;
    }

}

/* Mobile bottom nav */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
}

.mobile-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: #333;
    font-size: 9px;
}

.mobile-bottom-nav-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}


.page-template-page-junior .top-contents-wrapper:not(.bg-white) {
    background:
        linear-gradient(rgba(76, 175, 80, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 175, 80, 0.06) 1px, transparent 1px),
        #f4f8e9;
    background-size: 40px 40px;
}

.page-template-page-high .top-contents-wrapper:not(.bg-white) {
    background:
        linear-gradient(rgba(19, 109, 182, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(19, 109, 182, 0.06) 1px, transparent 1px),
        #e9f4f8;
    background-size: 40px 40px;
}

.page-template-page-junior .header-nav-item--request a,
.page-template-page-curriculum-junior .header-nav-item--request a,
.page-template-page-admission-junior .header-nav-item--request a,
.page-template-page-tuition-junior .header-nav-item--request a,
.page-template-page-admission-info-junior .header-nav-item--request a,
.page-template-page-course-junior .header-nav-item--request a,
.page-template-page-course-s-tokushin .header-nav-item--request a,
.page-template-page-course-tokushin .header-nav-item--request a {
    background: #4CAF50;
}

.mobile-bottom-nav-item--request .mobile-bottom-nav-icon {
    filter: brightness(0) saturate(100%) invert(42%) sepia(12%) saturate(600%) hue-rotate(175deg) brightness(92%) contrast(88%);
}

.mobile-bottom-nav-item--request {
    color: #5c6c7d;
}


.page-template-page-junior .news-en,
.page-template-page-junior .event-en,
.page-template-page-course-junior .news-en,
.page-template-page-course-junior .event-en,
.page-template-page-course-s-tokushin .news-en,
.page-template-page-course-s-tokushin .event-en,
.page-template-page-course-tokushin .news-en,
.page-template-page-course-tokushin .event-en {
    color: #4CAF50;
}

.page-template-page-junior .top-contents-en,
.page-template-page-junior .top-contents-ttl,
.page-template-page-course-junior .top-contents-en,
.page-template-page-course-junior .top-contents-ttl,
.page-template-page-course-s-tokushin .top-contents-en,
.page-template-page-course-s-tokushin .top-contents-ttl,
.page-template-page-course-tokushin .top-contents-en,
.page-template-page-course-tokushin .top-contents-ttl {
    color: #4CAF50;
}

.page-template-page-junior .stakeholder-txts {
    border-left-color: #4CAF50;
}


.mobile-bottom-nav-item--active {
    color: #136db6;
}

.mobile-bottom-nav-item--active .mobile-bottom-nav-icon {
    filter: brightness(0) saturate(100%) invert(30%) sepia(90%) saturate(1200%) hue-rotate(195deg) brightness(95%);
}

.page-template-page-high .news-en,
.page-template-page-high .event-en {
    color: #136db6;
}

.page-template-page-high .top-contents-en,
.page-template-page-high .top-contents-ttl {
    color: #136db6;
}

.page-template-page-high .stakeholder-txts {
    border-left-color: #136db6;
}


@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }

    .stakeholder {
        bottom: 60px;
        z-index: 999;
        padding: 16px 0;
        border-radius: 16px 16px 0 0;
    }

    .stakeholder.is-show.is-minimized {
        transform: translateY(calc(100% - 54px));
    }

    .stakeholder.is-minimized .stakeholder-open {
        top: -7px;
    }

    .stakeholder-inner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 0 20px;
    }

    /* OPEN button - visible in collapsed state */
    .stakeholder-open {
        display: flex;
        align-items: center;
        gap: 6px;
        background: none;
        border: 1.5px solid #e08830;
        border-radius: 30px;
        color: #e08830;
        font-size: 14px;
        font-weight: 600;
        padding: 2px 15px 0 25px;
        cursor: pointer;
        letter-spacing: 0.05em;
    }

    .stakeholder-open-arrow {
        font-size: 12px;
        line-height: 1;
    }

    .stakeholder-txts {
        border-left: none;
        padding-left: 0;
        text-align: left;
        width: 100%;
    }

    .stakeholder-title {
        font-size: 16px;
        font-weight: 600;
    }

    .stakeholder-desc {
        font-size: 12px;
        margin-top: 4px;
    }

    /* Collapsed: hide btns */
    .stakeholder-btns {
        width: 100%;
        gap: 8px;
        justify-content: center;
        flex-wrap: wrap;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .stakeholder.is-expanded .stakeholder-btns {
        max-height: 200px;
        opacity: 1;
    }

    .stakeholder.is-expanded .stakeholder-open {
        display: none;
    }

    .stakeholder-btns li {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
    }

    .stakeholder-btn {
        width: 100%;
        height: 38px;
        font-size: 13px;
        font-weight: 600;
        padding: 0 12px;
    }

    .stakeholder-close {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 28px;
        height: 28px;
    }

    .page-template-page-junior .stakeholder-open {
        border-color: #4CAF50;
        color: #4CAF50;
    }

    .page-template-page-high .stakeholder-open {
        border-color: #136db6;
        color: #136db6;
    }

    .top-contents-card-btn {
        width: 100%;
        justify-content: center;
        position: relative;
    }

    .top-contents-card-btn svg {
        position: absolute;
        right: 20px;
    }
}

/* =====================
   Sitemap Page
   ===================== */
.sitemap-page {
    padding-top: 80px;
}

.sitemap-header {
    background: #1a3c6e;
    padding: 48px 20px;
    text-align: center;
}

.sitemap-title {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.sitemap-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

.sitemap-section {
    margin-bottom: 48px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 40px;
}

.sitemap-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.sitemap-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a3c6e;
    margin-bottom: 24px;
    padding-left: 16px;
    border-left: 4px solid #1a3c6e;
    line-height: 1.4;
}

.sitemap-section-title a {
    color: inherit;
    transition: opacity 0.3s;
}

.sitemap-section-title a:hover {
    opacity: 0.7;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 32px;
}

.sitemap-group-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.sitemap-group-title a {
    color: #333;
    transition: color 0.3s;
}

.sitemap-group-title a:hover {
    color: #1a3c6e;
}

.sitemap-list {
    padding-left: 4px;
}

.sitemap-list li {
    margin-bottom: 4px;
}

.sitemap-list li::before {
    content: "─";
    color: #bbb;
    margin-right: 6px;
    font-size: 12px;
}

.sitemap-list li a {
    font-size: 14px;
    color: #555;
    transition: color 0.3s;
}

.sitemap-list li a:hover {
    color: #1a3c6e;
}

@media (max-width: 768px) {
    .sitemap-header {
        padding: 32px 20px;
    }

    .sitemap-title {
        font-size: 22px;
    }

    .sitemap-inner {
        padding: 40px 16px 60px;
    }

    .sitemap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 24px;
    }

    .sitemap-section {
        margin-bottom: 32px;
        padding-bottom: 28px;
    }
}

@media (max-width: 480px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* =====================
   Sub Page Header
   ===================== */
.sub-page-header {
    padding: 0 20px;
}

/* =====================
   Breadcrumb
   ===================== */
.breadcrumb {
    background: #fff;
}

.breadcrumb-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 10px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 12px;
    color: #999;
    list-style: none;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: underline;
}

.breadcrumb-item a:hover {
    color: #333;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "／";
    margin: 0 8px;
    color: #999;
}

.breadcrumb-item--current {
    color: #666;
}

/* =====================
   Sub Hero (shared)
   ===================== */
.sub-hero-wrap {
    border-bottom: 1px solid #e5e5e5;
}

.sub-hero {
    background: #fff;
    padding: 60px 0 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.sub-hero__cat {
    font-size: 24px;
    font-weight: 400;
    color: #222;
    letter-spacing: 0em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.sub-hero__initial {
    color: #136db6;
}

.sub-hero__ttl {
    color: #222;
    font-size: 42px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.sub-hero__desc {
    margin-top: 16px;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* Photo Hero variant */
.sub-page-header--photo {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #555;
    margin-top: -80px;
    padding-top: 80px;
}

.sub-page-header--photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.sub-page-header--photo .breadcrumb {
    position: relative;
    z-index: 2;
    background: transparent;
}

.sub-page-header--photo .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.sub-page-header--photo .breadcrumb-item a:hover {
    color: #fff;
}

.sub-page-header--photo .breadcrumb-item--current {
    color: rgba(255, 255, 255, 0.7);
}

.sub-page-header--photo .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.sub-hero-wrap--photo {
    border-bottom: none;
}

.sub-hero--photo {
    background: transparent;
    position: relative;
    z-index: 2;
    padding: 80px 0 100px;
}

.sub-hero--photo .sub-hero__cat {
    color: rgba(255, 255, 255, 0.85);
}

.sub-hero--photo .sub-hero__initial {
    color: #fff;
}

.sub-hero--photo .sub-hero__ttl {
    color: #fff;
}

.sub-hero__lead {
    font-size: 15px;
    color: #555;
    margin-top: 16px;
    line-height: 1.8;
}

.sub-hero--photo .sub-hero__lead {
    color: rgba(255, 255, 255, 0.9);
}

/* Photo hero: transparent header (PC only) */
@media (min-width: 769px) {
    .page-template-page-about .site-header,
    .page-template-page-admission-info .site-header,
    .page-template-page-admission-info-junior .site-header,
    .page-template-page-graduates-voice .site-header,
        background: transparent;
        border-bottom: 1px solid transparent;
        box-shadow: none;
        transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
    }

    .page-template-page-about .site-header .header-logo img,
    .page-template-page-admission-info .site-header .header-logo img,
    .page-template-page-admission-info-junior .site-header .header-logo img,
    .page-template-page-graduates-voice .site-header,
        filter: brightness(0) invert(1);
        transition: filter 0.3s;
    }

    .page-template-page-about .site-header .header-nav-item a,
    .page-template-page-about .site-header .header-nav-item button,
    .page-template-page-admission-info .site-header .header-nav-item a,
    .page-template-page-admission-info .site-header .header-nav-item button,
    .page-template-page-admission-info-junior .site-header .header-nav-item a,
    .page-template-page-graduates-voice .site-header,
    .page-template-page-admission-info-junior .site-header .header-nav-item button,
    .page-template-page-graduates-voice .site-header,
        color: #fff;
        border-left-color: rgba(255, 255, 255, 0.2);
        transition: color 0.3s, background 0.3s, border-color 0.3s;
    }

    .page-template-page-about .site-header .header-nav-icon,
    .page-template-page-admission-info .site-header .header-nav-icon,
    .page-template-page-admission-info-junior .site-header .header-nav-icon,
    .page-template-page-graduates-voice .site-header,
        filter: brightness(0) invert(1);
        transition: filter 0.3s;
    }

    .page-template-page-about .site-header .header-nav-item--request a,
    .page-template-page-admission-info .site-header .header-nav-item--request a {
        background: rgba(19, 109, 182, 0.8);
    }

    .page-template-page-admission-info-junior .site-header .header-nav-item--request a,
    .page-template-page-graduates-voice .site-header,
        background: rgba(76, 175, 80, 0.8);
    }

    .page-template-page-about .site-header .header-nav-item--menu button,
    .page-template-page-admission-info .site-header .header-nav-item--menu button,
    .page-template-page-admission-info-junior .site-header .header-nav-item--menu button,
    .page-template-page-graduates-voice .site-header,
        background: rgba(51, 51, 51, 0.6);
    }

    .page-template-page-about .header-inner,
    .page-template-page-admission-info .header-inner,
    .page-template-page-admission-info-junior .header-inner,
    .page-template-page-graduates-voice .header-inner {
        background: transparent;
    }

    /* Scrolled: back to normal header */
    .page-template-page-about .site-header.is-solid,
    .page-template-page-admission-info .site-header.is-solid,
    .page-template-page-admission-info-junior .site-header.is-solid,
    .page-template-page-graduates-voice .site-header,
        background: #fff;
        border-bottom-color: #e5e5e5;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .page-template-page-about .site-header.is-solid .header-inner,
    .page-template-page-admission-info .site-header.is-solid .header-inner,
    .page-template-page-admission-info-junior .site-header.is-solid .header-inner,
    .page-template-page-graduates-voice .site-header,
        background: #fff;
    }

    .page-template-page-about .site-header.is-solid .header-logo img,
    .page-template-page-admission-info .site-header.is-solid .header-logo img,
    .page-template-page-admission-info-junior .site-header.is-solid .header-logo img,
    .page-template-page-graduates-voice .site-header,
        filter: none;
    }

    .page-template-page-about .site-header.is-solid .header-nav-item a,
    .page-template-page-about .site-header.is-solid .header-nav-item button,
    .page-template-page-admission-info .site-header.is-solid .header-nav-item a,
    .page-template-page-admission-info .site-header.is-solid .header-nav-item button,
    .page-template-page-admission-info-junior .site-header.is-solid .header-nav-item a,
    .page-template-page-graduates-voice .site-header,
    .page-template-page-admission-info-junior .site-header.is-solid .header-nav-item button,
    .page-template-page-graduates-voice .site-header,
        color: #222;
        border-left-color: #f4f5f9;
    }

    .page-template-page-about .site-header.is-solid .header-nav-icon,
    .page-template-page-admission-info .site-header.is-solid .header-nav-icon,
    .page-template-page-admission-info-junior .site-header.is-solid .header-nav-icon,
    .page-template-page-graduates-voice .site-header,
        filter: none;
    }

    .page-template-page-about .site-header.is-solid .header-nav-item--request a,
    .page-template-page-admission-info .site-header.is-solid .header-nav-item--request a,
    .page-template-page-admission-info-junior .site-header.is-solid .header-nav-item--request a,
    .page-template-page-graduates-voice .site-header,
        background: #136db6;
        color: #fff;
    }

    .page-template-page-about .site-header.is-solid .header-nav-item--menu button,
    .page-template-page-admission-info .site-header.is-solid .header-nav-item--menu button,
    .page-template-page-admission-info-junior .site-header.is-solid .header-nav-item--menu button,
    .page-template-page-graduates-voice .site-header,
        background: #333;
        color: #fff;
    }
}

.page-template-page-about .site-header.is-solid .header-nav-item--menu button,
.page-template-page-admission-info .site-header.is-solid .header-nav-item--menu button,
.page-template-page-admission-info-junior .site-header.is-solid .header-nav-item--menu button,
.page-template-page-graduates-voice .site-header,
    background: #333;
    color: #fff;
}

/* ---- ご挨拶 ---- */
.greeting-section {
    padding: 80px 20px 0;
    background: #fff;
}

.greeting__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0px;
}

.page-template-page-about .greeting__inner {
    padding: 0 20px 60px;
}

@media (max-width: 1000px) and (min-width: 769px) {
    .page-template-page-about .greeting__inner {
        padding: 60px 20px;
    }
}

.greeting__label {
    margin-bottom: 40px;
}

.greeting__label-en {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0em;
    color: #222;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.greeting__label-initial {
    color: #136db6;
}

.greeting__label-ja {
    font-size: 42px;
    font-weight: 500;
    color: #222;
    letter-spacing: 0.05em;
}

.greeting__heading {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.85;
    color: #111;
    margin-bottom: 56px;
    max-width: 780px;
}

.greeting__content {
    display: flex;
    gap: 56px;
    align-items: flex-start;
}

.greeting__text {
    flex: 1;
    min-width: 0;
}

.greeting__sub-heading {
    font-size: 16px;
    font-weight: 600;
    color: #136db6;
    margin-bottom: 24px;
    padding-left: 16px;
    border-left: 3px solid #136db6;
}

.greeting__text p {
    font-size: 15px;
    line-height: 2;
    color: #444;
    margin: 0 0 20px;
}

.greeting__text p:last-child {
    margin-bottom: 0;
}

.greeting__photo-area {
    flex-shrink: 0;
    width: 300px;
}

.greeting__photo {
    margin-bottom: 0;
}

.greeting__img {
    width: 100%;
    display: block;
    border-radius: 4px;
}

.greeting__sign {
    margin-top: 20px;
    text-align: left;
}

.greeting__sign-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.greeting__sign-name {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.14em;
}

.greeting__sign-romaji {
    display: inline-block;
    font-size: 11px;
    font-weight: 400;
    color: #222;
    letter-spacing: 0.08em;
    margin-left: 12px;
    vertical-align: baseline;
}

@media (max-width: 768px) {
    .greeting-section {
        padding: 48px 20px 0px;
    }

    .greeting__label {
        margin-bottom: 28px;
    }

    .greeting__label-en {
        font-size: 18px;
    }

    .greeting__label-ja {
        font-size: 28px;
    }

    .greeting__heading {
        font-size: 19px;
        line-height: 1.8;
        margin-bottom: 36px;
    }

    .greeting__content {
        flex-direction: column-reverse;
        gap: 32px;
    }

    .page-template-page-about .greeting__inner {
        padding: 0 0px 60px;
    }

    .greeting__photo-area {
        width: 60%;
        margin: 0 auto;
    }

    .greeting__sub-heading {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .greeting__text p {
        font-size: 14px;
    }

    .greeting__sign-name {
        font-size: 20px;
    }
}

/* About Nav Grid */
.about-nav {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    padding: 0;
}

.about-nav__item {
    display: flex;
    align-items: center;
    padding: 30px 24px;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
}

.about-nav__item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 22px;
    height: 22px;
    background: #136db6;
    transform: translateY(-50%);
    border: none;
}

.about-nav__item::before {
    content: '';
    position: absolute;
    right: 9px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
    transform: translateY(-50%) rotate(45deg);
    z-index: 1;
}

.about-nav__item:hover {
    background: #f8f8f8;
    border-color: #136db6;
    color: #136db6;
}

.about-nav__item:hover::after {
    background: #136db6;
}

/* ---- 学校概要 カードナビ ---- */
.about-cards {
    padding: 60px 20px;
}

.about-cards__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0px;
}

.about-card {
    display: block;
    text-decoration: none;
    color: #222;
    overflow: hidden;
}

.about-card:hover {
    opacity: 0.85;
}

.about-card__img-wrap {
    overflow: hidden;
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.about-card__img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-card:hover .about-card__img {
    transform: scale(1.04);
}

/* フィーチャー（制服） */
.about-card--featured {
    margin-bottom: 24px;
    position: relative;
}

.about-card--featured .about-card__img {
    aspect-ratio: 16 / 7;
}

.about-card__body--featured {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 32px;
}

.about-card__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: #136db6;
}

.about-card__title--featured {
    font-size: 20px;
    font-weight: 600;
    flex: 1;
}

.about-card__arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #136db6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s;
}

.about-card:hover .about-card__arrow {
    background: #0f5a99;
}

.about-card__arrow svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

/* 小カード群 */
.about-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-card--sm {
}

.about-card--sm .about-card__img {
    aspect-ratio: 5 / 3;
}

.about-card--sm .about-card__body {
    padding: 20px 0px;
}

.about-card--sm .about-card__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-card__title-arrow {
    position: relative;
    width: 22px;
    height: 22px;
    background: #136db6;
    flex-shrink: 0;
}

.about-card__title-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
    transform: translate(-60%, -50%) rotate(45deg);
}

.about-card__desc {
    font-size: 13px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

@media (max-width: 1024px) {
    .about-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-cards {
        padding: 48px 20px;
    }

    .about-card--featured .about-card__img {
        aspect-ratio: 16 / 9;
    }

    .about-card__body--featured {
        padding: 18px 20px;
    }

    .about-card__title--featured {
        font-size: 17px;
    }

    .about-card__arrow {
        width: 36px;
        height: 36px;
    }

    .about-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-card--sm .about-card__body {
        padding: 16px 0px;
    }

    .about-card--sm .about-card__title {
        font-size: 18px;
    }

    .about-card__desc {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .sub-page-header--photo {
        display: flex;
        flex-direction: column;
        min-height: 280px;
        position: relative;
    }

    .sub-page-header--photo .breadcrumb {
        order: 2;
        position: absolute;
        bottom: 10px;
        right: 10px;
        left: auto;
        width: auto;
    }

    .sub-page-header--photo .breadcrumb-inner {
        padding: 0;
    }

    .sub-page-header--photo .breadcrumb-list {
        font-size: 10px;
    }

    .sub-hero--photo {
        padding: 95px 0 35px;
    }

    .about-nav {
        gap: 12px;
    }

    .about-nav__item {
        padding: 16px 20px;
        font-size: 14px;
    }
}

/* =====================
   Site Policy
   ===================== */
/* =====================
   Sub Section（共通コンポーネント）
   ===================== */
.sub-section {
    padding: 80px 20px 80px;
}

.sub-section__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0px;
}

.sub-section__lead {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    margin-bottom: 48px;
}

.sub-section__block {
    margin-bottom: 80px;
}

.sub-section__block:last-child {
    margin-bottom: 0;
}

.sub-section__heading {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin-bottom: 35px;
    padding: 0px 20px 0px;
    border-left: 4px solid #136db6;
}

.sub-section__heading--lg {
    margin-bottom: 60px;
}

.sub-section__heading--line {
    padding-left: 0;
    border-left: none;
    text-align: center;
    padding-bottom: 20px;
    position: relative;
}

.sub-section__heading--line::after {
    content: "";
    display: block;
    width: 7%;
    height: 3px;
    background: #136db6;
    margin: 20px auto 0;
}

.sub-section__block p {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    margin-bottom: 12px;
}

.sub-section__block p:last-child {
    margin-bottom: 0;
}

.sub-section__block ul {
    list-style: disc;
    padding-left: 1.5em;
    margin: 12px 0;
}

.sub-section__block ul li {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    margin-bottom: 4px;
}

.sub-section__block ol {
    padding-left: 1.5em;
    margin-bottom: 32px;
}

.sub-section__block ol li {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    margin-bottom: 8px;
}

.sub-section__contact {
    margin-top: 24px;
}

.sub-section__contact p {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    margin-bottom: 12px;
}

.sub-section__subheading {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 32px 0 16px;
}

.sub-section__note {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-top: 24px;
}

/* 番号付き見出し */
.sub-section__heading--num {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin-bottom: 35px;
    padding-left: 0;
    border-left: none;
    line-height: 1.6;
}

.sub-section__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #136db6;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-right: 12px;
    flex-shrink: 0;
    line-height: 1;
}

.sub-section__heading-sub {
    font-size: 18px;
    font-weight: 400;
    color: #666;
    width: 100%;
    padding-left: 48px;
}

/* =====================
   サイトポリシー固有
   ===================== */
.sitepolicy-env h3 {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 24px 0 8px;
}

.sitepolicy-table {
    width: 100%;
    max-width: 500px;
    border-collapse: collapse;
    border: 1px solid #ccc;
    font-size: 14px;
}

.sitepolicy-table th,
.sitepolicy-table td {
    border: 1px solid #ccc;
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    width: 50%;
}

.sitepolicy-table th {
    background: #f9f9f9;
    font-weight: 400;
    text-align: center;
}

.sitepolicy-table ul {
    list-style: disc;
    padding-left: 1.2em;
    margin: 0;
}

.sitepolicy-table ul li {
    margin-bottom: 2px;
    font-size: 14px;
    line-height: 1.6;
}

/* =====================
   採用情報固有
   ===================== */
.recruit-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.recruit-table th,
.recruit-table td {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    padding: 16px 20px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.recruit-table th {
    width: 200px;
    font-weight: 400;
    background: #eff3f5;
    white-space: nowrap;
    text-align: center;
}

.recruit-download {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}

.recruit-download p {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    margin-bottom: 8px;
}



.recruit-download a {
    color: #136db6;
    text-decoration: underline;
}

.recruit-empty {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #888;
    padding: 48px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
}

/* =====================
   学びの特色
   ===================== */
/* ピックアップ */
.curriculum-pickup {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.curriculum-pickup::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(19, 109, 182, 0.12) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(19, 109, 182, 0.08) 1px, transparent 1px);
    background-size: 24px 24px, 36px 36px;
    background-position: 0 0, 12px 12px;
    pointer-events: none;
    z-index: 0;
}

.curriculum-pickup__inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.curriculum-pickup__en {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #429245;
    margin-bottom: 12px;
}

.page-template-page-curriculum-senior .curriculum-pickup__en {
    color: #136db6;
}

.page-template-page-curriculum-senior .curriculum-pickup__card-text {
    color: #136db6;
}

.page-template-page-curriculum-senior .curriculum-block__media-body .curriculum-block__hero-tags span {
    background: rgba(19, 109, 182, 0.1);
    color: #136db6;
}

.page-template-page-curriculum-senior .curriculum-block__sub-heading {
    color: #136db6;
}

.page-template-page-curriculum-senior .curriculum-block__row-label {
    color: #136db6;
}

.curriculum-block__hero-sub--marker {
    background: linear-gradient(transparent 50%, rgba(255, 240, 106, 0.5) 70%);
    font-weight: 600;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
}


.curriculum-pickup__title {
    font-size: 26px;
    font-weight: 600;
    color: #222;
    margin-bottom: 16px;
}

.curriculum-pickup__lead {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 80px;
}

.curriculum-pickup__grid {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.curriculum-pickup__card {
    flex: 1;
    max-width: 200px;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.curriculum-pickup__card:nth-child(even) {
    flex-direction: column-reverse;
    justify-content: flex-end;
}

.curriculum-pickup__card:hover {
    transform: translateY(-4px);
}

.curriculum-pickup__card-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    aspect-ratio: 3 / 4;
    position: relative;
    box-shadow:
        inset 0 -4px 8px rgba(0, 0, 0, 0.15),
        inset 0 4px 8px rgba(255, 255, 255, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.12);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.curriculum-pickup__card-img::after {
    content: 'VIEW MORE';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(19, 109, 182, 0.6);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 12px;
}

.curriculum-pickup__card-img::before {
    content: 'PICKUP';
    position: absolute;
    top: 8px;
    left: 8px;
    background: #fff;
    color: #136db6;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 50px;
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.page-template-page-curriculum-junior .curriculum-pickup__card-img::before {
    color: #429245;
}

.curriculum-pickup__card:hover .curriculum-pickup__card-img::after {
    opacity: 1;
}

.curriculum-pickup__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.curriculum-pickup__card:hover .curriculum-pickup__card-img img {
    transform: scale(1.05);
}

.curriculum-pickup__card-text {
    font-size: 13px;
    font-weight: 500;
    margin: 10px 0;
    line-height: 1.6;
    color: #444;
}

.page-template-page-curriculum-junior .curriculum-pickup__card-text {
    color: #429245;
}

.page-template-page-curriculum-junior .curriculum-pickup::before {
    background-image:
        radial-gradient(circle, rgba(66, 146, 69, 0.12) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(66, 146, 69, 0.08) 1px, transparent 1px);
    background-size: 24px 24px, 36px 36px;
    background-position: 0 0, 12px 12px;
}

#tankyu, #gcp, #5day, #kobetsu, #hokago {
    scroll-margin-top: 100px;
}

@media (max-width: 768px) {
    .curriculum-pickup {
        padding: 60px 20px;
    }

    .curriculum-pickup__title {
        font-size: 20px;
    }

    .curriculum-pickup__lead {
        margin-bottom: 32px;
        text-align: left;
    }

    .curriculum-pickup__lead br {
        display: none;
    }

    .curriculum-pickup__grid {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }

    .curriculum-pickup__card {
        max-width: calc(33.333% - 12px);
        flex: 0 0 calc(33.333% - 12px);
        flex-direction: column !important;
    }

    .curriculum-pickup__card-text {
        font-size: 9px;
        font-weight: 500;
    }

    .page-template-page-curriculum-senior .curriculum-pickup__card {
        max-width: calc(50% - 8px);
        flex: 0 0 calc(50% - 8px);
    }

    .page-template-page-curriculum-senior .curriculum-pickup__card-text {
        font-size: 12px;
    }
}

.curriculum-block {
    padding: 60px 20px;
}

.curriculum-block + .curriculum-block {
    margin-top: 0;
}

.curriculum-block:nth-child(even) {
    background: #f8f8f8;
}

.curriculum-block--white {
    background: #fff !important;
}

/* ヒーロー画像 */
.curriculum-block__hero {
    position: relative;
    overflow: hidden;
    max-height: 420px;
    max-width: 1100px;
    margin: 0 auto;
}

.curriculum-block__hero > img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.curriculum-block__hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
}

.curriculum-block__hero-sub {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.curriculum-block__hero-title {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 12px;
    font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.curriculum-block__hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.curriculum-block__hero-tags span {
    font-size: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 50px;
}

.curriculum-block__new-badge {
    display: inline-block;
    background: #f3a00d;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

/* コンテンツ */
.curriculum-block__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 0px 0px;
}

.curriculum-block__inner-flat {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

.curriculum-block__heading {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    text-align: center;
    margin: 0 auto 36px;
    width: fit-content;
    background: linear-gradient(transparent 50%, rgba(255, 240, 106, 0.5) 70%);
    font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
}


.curriculum-block__heading--green {
    color: #429245;
}

.curriculum-block__sub-heading {
    font-size: 17px;
    font-weight: 600;
    color: #429245;
    margin-top: 24px;
    margin-bottom: 8px;
    text-align: center;
}

.curriculum-block__text {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
    text-align: left;
}

.curriculum-block__text + .curriculum-block__text {
    margin-top: 12px;
}

/* 2カラム */
.curriculum-block__cols {
    display: flex;
    padding: 35px 25px;
    background: #eef9eb;
    gap: 25px;
    margin-top: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
}

.curriculum-block__col {
    flex: 1;
}

.curriculum-block__col img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 16px;
}

.curriculum-block__col-title {
    font-size: 24px;
    font-weight: 600;
    color: #429245;
    margin-bottom: 8px;
}

.curriculum-block__col-text {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

/* 想定テーマ例 */
.curriculum-block__example {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    gap: 40px;
    background: #fff;
    border: 1px solid #ececec;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin: 40px 0 0;
    border-radius: 8px;
}

.curriculum-block__example--green {
    background: #f0f7f0;
    border: 1px solid #c8e6c9;
    box-shadow: 0 2px 12px rgba(76, 175, 80, 0.08);
    margin-bottom: 30px;
}

.curriculum-block__example-body {
    flex: 1;
    padding-left: 50px;
}

.curriculum-block__example-title {
    font-size: 20px;
    font-weight: 500;
    color: #429245;
    margin-bottom: 16px;
}

.curriculum-block__example-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.curriculum-block__example-list li {
    font-size: 14px;
    line-height: 2;
    color: #444;
    padding-left: 16px;
    position: relative;
}

.curriculum-block__example-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #429245;
    font-size: 8px;
    top: 2px;
}

.curriculum-block__example-img {
    width: 400px;
    flex-shrink: 0;
    border-radius: 0;
}

/* 横並び行 */
.curriculum-block__row {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #ececec;
    border-radius: 8px;
}

.curriculum-block__row-img {
    width: 280px;
    flex-shrink: 0;
    border-radius: 8px;
}

.curriculum-block__row-body {
    flex: 1;
    margin-left: 20px;
}

.curriculum-block__row-label {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #429245;
    text-transform: lowercase;
    font-style: italic;
    margin-bottom: 8px;
}

.curriculum-block__row-title {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-bottom: 16px;
}

.curriculum-block__row-text {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 10px;
    color: #555;
}

.curriculum-block__row--reverse {
    margin-top: 40px;
}

/* メディア（画像左+テキスト右） */
.curriculum-block__media {
    display: flex;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto 60px;
    gap: 32px;
    padding: 30px 20px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #ececec;
    border-radius: 8px;
}

.curriculum-block__inner-flat:last-child .curriculum-block__media {
    margin-bottom: 0;
}

.curriculum-block__media-img {
    width: 420px;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
    align-self: stretch;
}

.curriculum-block__media-body {
    flex: 1;
}

.curriculum-block__media-body .curriculum-block__hero-sub {
    color: #333;
    font-size: 15px;
    margin-bottom: 15px;
    text-align: center;
}

.curriculum-block__media-title {
    text-align: center;
}

.curriculum-block__media-body .curriculum-block__hero-tags {
    justify-content: center;
}

.curriculum-block__media-body .curriculum-block__hero-tags {
    margin-bottom: 16px;
}

.curriculum-block__media-body .curriculum-block__hero-tags span {
    font-size: 13px;
    background: rgba(66, 146, 69, 0.1);
    color: #429245;
}

.curriculum-block__media-title {
    font-size: 26px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
    font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.curriculum-block__media-text {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
}

/* 生徒の声 */
.curriculum-block__voice {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 32px;
    margin-top: 40px;
    padding: 32px;
    background: #f8f8f8;
    border-radius: 8px;
}

.curriculum-block__voice-img {
    width: 200px;
    flex-shrink: 0;
    border-radius: 8px;
}

.curriculum-block__voice-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
}

.curriculum-block__voice-text {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

.curriculum-block__voice-name {
    font-size: 13px;
    color: #888;
    text-align: right;
}

/* SP */
@media (max-width: 768px) {
    .curriculum-block__hero > img {
        height: 240px;
    }

    .curriculum-block__hero-overlay {
        padding: 10px;
    }

    .curriculum-block__hero-sub {
        font-size: 12px;
    }

    .curriculum-block__hero-tags {
        gap: 5px;
    }

    .curriculum-block__hero-title {
        font-size: 20px;
    }

    .curriculum-block__hero-tags span {
        font-size: 8px;
        padding: 4px 7px;
    }

    .curriculum-block__inner {
        padding: 32px 0px 0px;
        text-align: center;
    }

    .curriculum-block__inner + .curriculum-block__inner {
        margin-top: 24px;
    }

    .curriculum-block__info-panel-text {
        text-align: left;
    }

    .curriculum-block__voice-card-list {
        text-align: left;
    }

    .curriculum-block__heading {
        font-size: 20px;
        display: inline;
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
        text-align: center;
    }

    .curriculum-block__text {
        text-align: left;
        margin-top: 16px;
    }

    .curriculum-block__cols {
        flex-direction: column;
        gap: 24px;
        padding: 15px 15px;
    }

    .curriculum-block__col-text {
        text-align: left;
    }

    .curriculum-block__example-list {
        text-align: left;
    }

    .curriculum-block__col-title {
        font-size: 16px;
    }

    .curriculum-block__example {
        flex-direction: column;
        margin-bottom: 0px;
    }

    .curriculum-block__example--green + .curriculum-block__row {
        margin-top: 24px;
    }

    .curriculum-block__example-body {
        padding-left: 0;
    }

    .curriculum-block__example-img {
        width: 100%;
    }

    .curriculum-block__voice {
        flex-direction: column;
    }

    .curriculum-block__voice-img {
        width: 100%;
    }

    .curriculum-block__media {
        flex-direction: column;
    }

    .curriculum-block__media-img {
        width: 100%;
    }

    .curriculum-block__row {
        flex-direction: column;
    }

    .curriculum-block__row--reverse {
        flex-direction: column;
    }

    .curriculum-block__row-img {
        width: 100%;
        order: -1;
    }

    .curriculum-block__row-body {
        margin-left: 0;
    }

    .curriculum-block__row .curriculum-block__voice-name {
        text-align: right;
    }

    .curriculum-block__voice-name br {
        display: none;
    }

    .curriculum-block__voice-name br + span::before {
        content: ' ';
    }

    .curriculum-block__row-title br {
        display: none;
    }

    .curriculum-block__row-title {
        font-size: 18px;
    }

    .curriculum-block__row-text {
        text-align: left;
    }
}

/* 感想カード */
.curriculum-block__voice-card {
    background: #f0f2f8;
    border: 1px solid #dfe2ea;
    border-radius: 8px;
    padding: 20px;
}

.curriculum-block__voice-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #136db6;
    margin-bottom: 16px;
}

.curriculum-block__voice-card-list {
    list-style: none;
    padding: 0;
}

.curriculum-block__voice-card-list li {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
    padding-left: 1.2em;
    position: relative;
}

.curriculum-block__voice-card-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #222;
    font-size: 10px;
    top: 0.5em;
}

.curriculum-block__voice-card-content {
    display: flex;
    align-items: center;
    gap: 32px;
}

.curriculum-block__voice-card-body {
    flex: 1;
}

.curriculum-block__voice-card-img {
    width: 200px;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .curriculum-block__voice-card {
        padding: 20px;
    }

    .curriculum-block__voice-card-content {
        flex-direction: column;
    }

    .curriculum-block__voice-card-img {
        width: 100%;
    }
}

/* ノートボックス */
.curriculum-block__note-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-top: 16px;
    background: #fff;
}

.curriculum-block__note-box .curriculum-block__sub-heading {
    margin-top: 0;
}

.curriculum-block__note-box .curriculum-block__media-text {
    margin-bottom: 0;
    text-align: center;
}

/* 課題解決型人材パネル */
.curriculum-block__info-panel {
    display: flex;
    align-items: center;
    gap: 32px;
    background: #eef1f7;
    border-radius: 8px;
    padding: 32px;
    margin-top: 40px;
}

.curriculum-block__info-panel-img {
    flex: 0 0 180px;
}

.curriculum-block__info-panel-img img {
    width: 100%;
    height: auto;
}

.curriculum-block__info-panel-body {
    flex: 1;
}

.curriculum-block__info-panel-title {
    font-size: 22px;
    font-weight: 600;
    color: #136db6;
    margin-bottom: 16px;
}

.curriculum-block__info-panel-text {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
}

@media (max-width: 768px) {
    .curriculum-block__info-panel {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

    .curriculum-block__info-panel-img {
        flex: none;
        width: 160px;
    }

    .curriculum-block__info-panel-title {
        font-size: 18px;
    }
}

/* --- セクション導入 (01, 02) --- */
.curriculum-block__intro {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 40px;
    text-align: center;
}

.curriculum-block__intro-num {
    font-size: 48px;
    font-weight: 400;
    color: #136db6;
    line-height: 1;
    margin-bottom: 12px;
}

.curriculum-block__intro-title {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    line-height: 1.5;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
    display: inline-block;
}

.curriculum-block__intro-text {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .curriculum-block__intro {
        padding: 0px 0px 24px;
    }

    .curriculum-block__intro-text {
        text-align: left;
    }

    .curriculum-block__intro-num {
        font-size: 36px;
    }

    .curriculum-block__intro-title {
        font-size: 20px;
    }
}

/* =====================
   金光八尾の1日
   ===================== */

/* ナビ */
.oneday-nav {
    padding: 0 20px;
    border-bottom: 1px solid #eee;
}

.oneday-nav__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 0;
}

.oneday-nav__item {
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.oneday-nav__item:hover {
    color: #136db6;
    border-bottom-color: #136db6;
}

/* タイムライン */
.oneday-timeline {
    padding: 60px 20px 0;
    overflow: hidden;
}

.oneday-timeline__inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding-left: 95px;
}

.oneday-timeline__inner::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 80px;
    bottom: 80px;
    width: 1px;
    background: #ddd;
    z-index: 0;
}

.oneday-item::before {
    display: none;
    z-index: 2;
}

.oneday-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 60px 0 60px 10px;
    position: relative;
}

.oneday-item:first-child {
    padding-top: 0;
}

.oneday-item--reverse {
    flex-direction: row-reverse;
}

.oneday-item__time {
    position: absolute;
    left: -170px;
    top: 38px;
    flex-shrink: 0;
    text-align: center;
    z-index: 1;
}

.oneday-item__time-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 16px;
    position: relative;
    z-index: 1;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid #f2f2f2;
    justify-content: center;
}

.oneday-clock {
    display: none;
    flex-shrink: 0;
}

.oneday-item__time-num {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.02em;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1;
    color: #e67e22;
}

.oneday-item__time-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #e67e22;
    opacity: 0.5;
    margin-top: 6px;
}

.oneday-item__content {
    flex: 1;
    margin-top: 40px;
    min-width: 0;
}

.oneday-item__title {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
}

.oneday-item__text {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 16px;
}

.oneday-item__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #136db6;
    text-decoration: none;
    transition: opacity 0.3s;
}

.oneday-item__link svg {
    position: relative;
    top: 2px;
}

.oneday-item__link--junior {
    color: #429245;
}

.oneday-item__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px;
}

.oneday-item__link:hover {
    opacity: 0.7;
}

.oneday-item__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    color: #136db6;
    background: #fff;
    border: 1.5px solid #136db6;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    margin-bottom: 12px;
    letter-spacing: 0.03em;
}

.oneday-item__btn:hover {
    color: #fff;
    background: #136db6;
    transform: translateY(-1px);
}

.oneday-item__img {
    flex-shrink: 0;
    width: 420px;
    border-radius: 8px;
    overflow: visible;
    position: relative;
}

.oneday-item__img::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 2px solid rgba(19, 109, 182, 0.1);
    background: transparent;
    z-index: -1;
    top: -60px;
    right: -70px;
}

.oneday-item:nth-child(even) .oneday-item__img::before {
    right: auto;
    left: -70px;
}

.oneday-item__img::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    border: 3px solid #136db6;
    border-radius: 8px;
    z-index: -1;
    opacity: 0.2;
}

.oneday-item__img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.oneday-item__imgs {
    flex-shrink: 0;
    width: 420px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.oneday-item__img-main {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.oneday-item__img-sub {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.oneday-point-card {
    background: linear-gradient(135deg, #4a9ec7 0%, #5b7db8 50%, #7b8cc4 100%);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

.oneday-point-card--instagram {
    background: linear-gradient(135deg, #c4687a 0%, #8b6aae 60%, #6a7ec4 100%);
}

.oneday-point-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.oneday-point__ig-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px 8px 10px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s;
    margin-top: 4px;
}

.oneday-point__ig-link:hover {
    background: rgba(255, 255, 255, 0.25);
}

.oneday-point__ig-icon {
    flex-shrink: 0;
}

.oneday-point-card__ig-logo {
    display: none;
}

.oneday-point-card::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.oneday-point-card > .oneday-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 450px;
    gap: 8px;
}

/* ポイント */
.oneday-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.oneday-point__badge {
    display: inline-block;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #f6ea52;
    font-size: 18px;
    font-weight: 600;
    padding: 6px 14px;
    flex-shrink: 0;
    letter-spacing: 0.1em;
}

.oneday-point__text {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    line-height: 1.7;
    letter-spacing: 0.03em;
}

.oneday-point__imgs {
    display: flex;
    gap: 10px;
    margin-left: auto;
    flex: 1;
}

.oneday-point__imgs img {
    flex: 1;
    border-radius: 5px;
    width: 0;
    height: auto;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

/* 特徴セクション */
.oneday-features {
    padding: 80px 20px;
    background: #f5f5f5;
}

.oneday-features__heading {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    text-align: center;
    margin-bottom: 32px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.oneday-features__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.oneday-feature {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.oneday-feature__num {
    font-size: 32px;
    font-weight: 500;
    color: #e6c322;
    flex-shrink: 0;
    line-height: 1;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.oneday-feature__body {
    flex: 1;
    min-width: 0;
    max-width: 600px;
}

.oneday-feature__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: none;
    background-image: radial-gradient(circle, #e6c322 1.5px, transparent 1.5px);
    background-size: 10px 3px;
    background-repeat: repeat-x;
    background-position: bottom;
}

.oneday-feature__title {
    font-size: 17px;
    font-weight: 600;
    color: #222;
}

.oneday-feature__text {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-top: 12px;
}

.oneday-feature__imgs {
    display: flex;
    gap: 12px;
}

.oneday-feature__imgs img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 1250px) {
    .oneday-timeline__inner {
        padding-left: 0;
    }

    .oneday-timeline__inner::before {
        display: none;
    }

    .oneday-item {
        display: grid;
        grid-template-columns: 1fr 400px;
        grid-template-rows: auto 1fr;
        gap: 12px 40px;
    }

    .oneday-item__time {
        position: static;
        display: flex;
        align-items: center;
        gap: 12px;
        grid-column: 1;
        grid-row: 1;
    }

    .oneday-item__content {
        grid-column: 1;
        grid-row: 2;
    }

    .oneday-item__img {
        grid-column: 2;
        grid-row: 1 / 3;
        width: 100%;
        align-self: center;
    }

    .oneday-item__time-badge {
        width: auto;
        height: auto;
        border-radius: 8px;
        border: 2px solid #f2f2f2;
        padding: 8px 12px;
        flex-direction: row;
        gap: 8px;
    }

    .oneday-clock {
        display: block;
    }

    .oneday-item__time-num {
        font-size: 24px;
    }

    .oneday-item__time-label {
        display: none;
    }

    .oneday-item__time::after {
        content: attr(data-title);
        font-size: 24px;
        font-weight: 600;
        color: #e67d23;
    }

    .oneday-item__content .oneday-item__title {
        display: none;
    }

    .oneday-item__content {
        margin-top: 0;
    }
}

/* SP */
@media (max-width: 768px) {
    .oneday-timeline {
        padding: 40px 20px 0;
    }

    .oneday-item {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 32px 0;
        border-bottom: 1px solid #eee;
    }

    .oneday-item__img {
        width: 100%;
        order: 1;
    }

    .oneday-item__content {
        order: 2;
        text-align: center;
    }

    .oneday-item__text {
        text-align: left;
    }

    .oneday-item__content .oneday-item__title {
        display: none;
    }

    .oneday-item__time::after {
        content: attr(data-title);
        font-size: 24px;
        font-weight: 600;
        color: #e67d23;
        margin-bottom: 5px;
    }

    .oneday-item__btn {
        justify-content: center;
    }

    .oneday-item__link {
        justify-content: center;
    }

    .oneday-item__links {
        align-items: center;
    }

    .oneday-item__time {
        position: static;
    }

    .oneday-item__time-badge {
        align-items: center;
        width: auto;
        height: auto;
        border: 2px solid #f2f2f2;
        border-radius: 8px;
        padding: 8px 12px;
    }

    .oneday-clock {
        display: block;
    }

    .oneday-item__time-badge {
        flex-direction: row;
        gap: 8px;
    }

    .oneday-item__time-num {
        font-size: 24px;
    }

    .oneday-item__content {
        margin-top: 0;
    }

    .oneday-item__img,
    .oneday-item__imgs {
        width: 100%;
    }

    .oneday-item__img::before,
    .oneday-item__img::after {
        display: none;
    }

    .oneday-item::before {
        display: none;
    }

    .oneday-point-card {
        flex-direction: column;
        gap: 16px;
    }

    .oneday-point-card > .oneday-point {
        max-width: none;
        width: 100%;
    }

    .oneday-point__imgs {
        width: 100%;
        margin-left: 0;
    }

    .oneday-point__imgs img {
        width: 0;
        flex: 1;
    }

    .oneday-point__text--left-sp {
        text-align: left;
    }

    .oneday-item__title {
        font-size: 18px;
    }

    .oneday-features {
        padding: 30px 20px;
    }

    .oneday-features__inner {
        grid-template-columns: 1fr;
    }

    .oneday-feature {
        padding: 20px 15px;
    }

    .oneday-nav__item {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* =====================
   建学の精神・教育方針
   ===================== */
.spirit-section {
    padding: 60px 20px;
}

.spirit-section + .spirit-section {
    padding-top: 0;
}

.spirit-section__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.spirit-heading {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    padding-bottom: 16px;
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.spirit-heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 120px;
    height: 3px;
    background: #136db6;
}

.spirit-quote {
    background: #f8f8f8;
    padding: 40px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    line-height: 2;
    color: #333;
    border-radius: 8px;
}

.spirit-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    text-align: center;
    margin-bottom: 16px;
}

.spirit-text {
    font-size: 15px;
    color: #444;
    text-align: center;
    margin-bottom: 10px;
}

.spirit-circles {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
    position: relative;
}

.spirit-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
}

.spirit-circle + .spirit-circle {
    margin-left: -30px;
}

.spirit-circle--green {
    background: #6b8e23;
    z-index: 3;
}

.spirit-circle--blue {
    background: #5f8fa4;
    z-index: 2;
}

.spirit-circle--orange {
    background: #d4930d;
    z-index: 1;
}

.spirit-circle__title {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.spirit-circle__desc {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.9;
}

.spirit-img {
    text-align: center;
    margin-bottom: 40px;
}

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

.spirit-pillars {
    text-align: center;
    padding: 48px 20px;
}

.spirit-pillars__text {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: 2;
    margin-bottom: 32px;
}

.spirit-pillars__main {
    font-size: 28px;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.spirit-pillars__sub {
    font-size: 18px;
    font-weight: 500;
    color: #555;
    letter-spacing: 0.15em;
}

@media (max-width: 768px) {
    .spirit-section {
        padding: 40px 20px;
    }

    .spirit-heading {
        font-size: 18px;
    }

    .spirit-quote {
        padding: 28px 20px;
        font-size: 14px;
    }

    .spirit-circles {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .spirit-circle {
        width: 180px;
        height: 180px;
    }

    .spirit-circle + .spirit-circle {
        margin-left: 0;
        margin-top: -20px;
    }

    .spirit-circle__title {
        font-size: 28px;
    }

    .spirit-subtitle {
        font-size: 20px;
    }

    .spirit-pillars__main {
        font-size: 22px;
    }

    .spirit-pillars__sub {
        font-size: 14px;
    }
}

/* =====================
   アクセス固有
   ===================== */
.access-cards {
    display: flex;
    gap: 24px;
}

.access-card {
    flex: 1;
    display: flex;
    border: 1px solid #ddd;
}

.access-card__head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 180px;
    min-width: 180px;
    padding: 20px;
    font-size: 16px;
    font-weight: 400;
    background: #eff3f5;
    color: #222;
    line-height: 1.6;
}

.access-card__body {
    flex: 1;
    padding: 20px;
    border-left: 1px solid #ddd;
}

.access-card__body ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.access-card__body li {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
}

.access-note {
    font-size: 13px;
    font-weight: 400;
    color: #666;
}

.access-map-img {
    margin-top: 16px;
}

.access-map-img img {
    width: 100%;
    height: auto;
}

.access-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.access-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    padding: 18px 40px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #136db6;
    background: #fff;
    border: 2px solid #136db6;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.access-btn::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.access-btn--bike::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23136db6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5.5' cy='17.5' r='3.5'/%3E%3Ccircle cx='18.5' cy='17.5' r='3.5'/%3E%3Cpath d='M15 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-3 11.5V14l-3-3 4-3 2 3h2'/%3E%3C/svg%3E");
}

.access-btn--map::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23136db6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.access-btn:hover {
    color: #fff;
    background: #136db6;
}

.access-btn--bike:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5.5' cy='17.5' r='3.5'/%3E%3Ccircle cx='18.5' cy='17.5' r='3.5'/%3E%3Cpath d='M15 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-3 11.5V14l-3-3 4-3 2 3h2'/%3E%3C/svg%3E");
}

.access-btn--map:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

/* =====================
   各種証明書発行固有
   ===================== */
.sub-section__text {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    margin-bottom: 24px;
}

/* =====================
   進路実績
   ===================== */
/* 目次ナビ */
.page-nav {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 0 20px;
}

.page-nav__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 0;
}

.page-nav__item {
    padding: 20px 32px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    position: relative;
    transition: color 0.3s;
    letter-spacing: 0.04em;
    border-bottom: 3px solid transparent;
}

.page-nav__item + .page-nav__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background: #ddd;
}

.page-nav__item:hover {
    color: #136db6;
    border-bottom-color: #136db6;
}

@media (max-width: 768px) {
    .page-nav__inner {
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .page-nav__item {
        padding: 16px 20px;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

.career-rate {
    padding: 80px 20px;
    background: #fff;
}

.career-rate__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.career-rate__heading {
    font-size: 22px;
    font-weight: 500;
    color: #222;
    margin-bottom: 24px;
    line-height: 1.85;
}

.career-rate__heading-red {
    color: #136db6;
    font-weight: 600;
    font-size: 32px;
}

.career-rate__heading-bold {
    font-weight: 600;
    font-size: 36px;
    color: #136db6;
}

.career-rate__desc {
    font-size: 15px;
    line-height: 2;
    color: #444;
    margin-bottom: 48px;
}

.career-rate__stats {
    margin-bottom: 40px;
}

.career-rate__label {
    font-size: 24px;
    color: #222;
    margin-bottom: 8px;
    font-weight: 600;
    font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.career-rate__label strong {
    font-size: 30px;
    color: #c0392b;
    font-weight: 600;
}

.career-rate__chart {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto 16px;
}

.career-rate__donut {
    width: 100%;
    height: 100%;
}

.career-rate__donut-bg {
    stroke: #eee;
}

.career-rate__donut-fill {
    stroke: url(#donut-gradient);
    transition: stroke-dashoffset 1s ease;
}

.career-rate__chart-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.career-rate__number {
    font-size: 56px;
    font-weight: 600;
    color: #136db6;
    line-height: 1;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.career-rate__number span {
    font-size: 24px;
}

.career-rate__note {
    font-size: 15px;
    color: #333;
    margin-top: 8px;
}

.career-rate__boxes {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin: 40px 0 16px;
}

.career-rate__box {
    background: #f5f7fa;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 28px 36px;
    flex: 1;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.career-rate__box-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.career-rate__box-title {
    font-size: 24px;
    font-weight: 600;
    color: #222;
}

.career-rate__box-num {
    font-size: 56px;
    font-weight: 500;
    color: #136db6;
    line-height: 1;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.career-rate__box-num span {
    font-size: 18px;
    font-weight: 600;
    color: #136db6;
}

.career-rate__box-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #ccc;
}

.career-rate__box-sub {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    text-align: left;
}

.career-rate__box-num--sm {
    font-size: 36px;
    font-weight: 500;
    color: #136db6;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.career-rate__box-num--sm span {
    font-size: 16px;
    font-weight: 600;
    color: #136db6;
}

.career-rate__footnote {
    font-size: 13px;
    color: #888;
    text-align: right;
    margin: 20px 0;
}

/* 進路指導 */
.career-guidance {
    padding: 80px 20px;
    background: #f5f7fa;
}

.career-guidance__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.career-guidance__heading {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    color: #222;
    line-height: 1.85;
}

.career-guidance__heading strong {
    font-weight: 600;
    color: #136db6;
}

.career-guidance__lead {
    text-align: center;
    font-size: 16px;
    color: #136db6;
    font-weight: 600;
    margin-bottom: 48px;
}

.career-guidance__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.career-guidance__card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.career-guidance__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 12px 40px rgba(0, 0, 0, 0.1);
}

.career-guidance__card-img {
    overflow: hidden;
    margin: 20px 20px 0;
    border-radius: 8px;
}

.career-guidance__card-img img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 8px;
}

.career-guidance__card:hover .career-guidance__card-img img {
    transform: scale(1.04);
}

.career-guidance__card-body {
    padding: 24px 28px 28px;
}

.career-guidance__card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.career-guidance__card-grade {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #136db6;
    background: #eef3f9;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.career-guidance__card-title {
    font-size: 20px;
    font-weight: 600;
    color: #136db6;
}

.career-guidance__card-text {
    font-size: 14px;
    line-height: 2;
    color: #555;
}

@media (max-width: 768px) {
    .career-rate__desc {
        text-align: left;
    }

    .career-rate__box-sub {
        font-size: 16px;
    }

    .career-guidance .greeting__label {
        text-align: center;
    }
}

/* 合格実績テーブル */
.career-results {
    padding: 80px 20px;
    background: #fff;
}

.career-results__inner {
    max-width: 1100px;
    margin: 0 auto;
}


.career-results__sub {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 16px;
}

.career-results__grid {
    display: flex;
    gap: 48px;
    margin-bottom: 56px;
}

.career-results__col {
    flex: 1;
    min-width: 0;
}

.career-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    border: 1px solid #ccc;
}

.career-table thead th {
    background: #1a3a6b;
    color: #fff;
    padding: 10px 12px;
    font-weight: 500;
    text-align: center;
    font-size: 13px;
    border: 1px solid #1a3a6b;
}

.career-table thead th:first-child {
    text-align: center;
}

.career-table tbody td {
    padding: 10px 12px;
    border: 1px solid #ddd;
    text-align: center;
}

.career-table tbody td:first-child {
    text-align: left;
    color: #333;
}

.career-table tbody tr:nth-child(even) {
    background: #eef2f8;
}

.career-table tbody tr:nth-child(odd) {
    background: #fff;
}

.career-results__pdf {
    text-align: center;
    margin-top: 40px;
}

.career-results__note {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-top: 24px;
}

/* 指定校推薦枠 */
.career-recommend {
    padding: 48px 20px 80px;
    background: #fff;
}

.career-recommend__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.career-recommend__lead {
    font-size: 16px;
    color: #222;
    margin-bottom: 16px;
}

.career-recommend__list {
    font-size: 15px;
    line-height: 2;
    color: #444;
    margin-bottom: 16px;
}

.career-recommend__note {
    font-size: 16px;
    color: #888;
}

/* 合格体験記バナー */
.career-voice-banner {
    padding: 0 20px 80px;
    background: #fff;
}

.career-voice-banner__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.career-voice-banner__link {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.career-voice-banner__link img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.career-voice-banner__link:hover img {
    transform: scale(1.03);
}

.career-voice-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.career-voice-banner__title {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.08em;
}

/* ページCTA */
.page-cta {
    background: linear-gradient(135deg, #1c2961 0%, #114752 100%);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.page-cta__inner {
    max-width: 900px;
    margin: 0 auto;
}

.page-cta__en {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    opacity: 0.5;
    margin-bottom: 12px;
}

.page-cta__lead {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.page-cta__sub {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 40px;
}

.page-cta__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.page-cta__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
    text-align: center;
}

.page-cta__panel:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-3px);
}

.page-cta__panel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 16px;
}

.page-cta__panel-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}

.page-cta__panel-desc {
    font-size: 11px;
    opacity: 0.6;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .page-cta {
        padding: 56px 20px;
    }

    .page-cta__lead {
        font-size: 18px;
    }

    .page-cta__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .page-cta__panel {
        padding: 24px 12px;
    }

    .page-cta__panel-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }

    .page-cta__panel-title {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .career-rate {
        padding: 56px 20px;
    }

    .career-rate__heading {
        font-size: 16px;
    }

    .career-rate__heading-red {
        font-size: 24px;
    }

    .career-rate__heading-bold {
        font-size: 28px;
    }

    .career-rate__label {
        font-size: 16px;
    }

    .career-rate__label strong {
        font-size: 22px;
        color: #c0392b;
    }

    .career-rate__chart {
        width: 200px;
        height: 200px;
    }

    .career-rate__number {
        font-size: 44px;
    }

    .career-rate__number span {
        font-size: 20px;
    }

    .career-rate__boxes {
        flex-direction: column;
        gap: 16px;
    }

    .career-rate__box {
        min-width: 0;
        max-width: none;
    }

    .career-rate__box-num {
        font-size: 40px;
    }

    .career-rate__box-num--sm {
        font-size: 28px;
    }

    .career-guidance {
        padding: 56px 20px;
    }

    .career-guidance__heading {
        font-size: 19px;
    }

    .career-guidance__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .career-guidance__card-title {
        font-size: 18px;
    }

    .career-results {
        padding: 56px 20px;
    }

    .career-results__grid {
        flex-direction: column;
        gap: 32px;
    }

    .career-table {
        font-size: 13px;
    }

    .career-voice-banner__link img {
        height: 160px;
    }

    .career-voice-banner__title {
        font-size: 20px;
    }
}

.cert-notice-box {
    border: 1px solid #c6c6c6;
    padding: 20px 24px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    background: #f8f8f8;
    margin-bottom: 24px;
}

.cert-note {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 24px;
}

.alumni-btn {
    display: inline-block;
    padding: 16px 48px;
    background: #888;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s;
    margin: 16px 0 24px;
}

.alumni-btn:hover {
    background: #666;
}

/* =====================
   合格体験記
   ===================== */
/* 桜の花びらアニメーション */
@keyframes sakura-fall {
    0% {
        transform: translateY(-20px) translateX(0) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: translateY(25vh) translateX(30px) rotate(90deg);
    }
    50% {
        transform: translateY(50vh) translateX(-20px) rotate(180deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(75vh) translateX(40px) rotate(270deg);
    }
    100% {
        transform: translateY(100vh) translateX(10px) rotate(360deg);
        opacity: 0;
    }
}

.sakura-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.sakura-petal {
    position: absolute;
    top: -20px;
    width: 20px;
    height: 20px;
    background: url('../images/sakura.png') no-repeat center / contain;
    animation: sakura-fall linear infinite;
    animation-fill-mode: both;
}

.sakura-petal:nth-child(1) { left: 5%; animation-duration: 16s; animation-delay: 0s; width: 10px; height: 10px; }
.sakura-petal:nth-child(2) { left: 15%; animation-duration: 20s; animation-delay: 1s; width: 14px; height: 14px; }
.sakura-petal:nth-child(3) { left: 25%; animation-duration: 14s; animation-delay: 3s; width: 8px; height: 8px; }
.sakura-petal:nth-child(4) { left: 35%; animation-duration: 18s; animation-delay: 0.5s; width: 12px; height: 12px; }
.sakura-petal:nth-child(5) { left: 45%; animation-duration: 22s; animation-delay: 2s; width: 10px; height: 10px; }
.sakura-petal:nth-child(6) { left: 55%; animation-duration: 16s; animation-delay: 4s; width: 14px; height: 14px; }
.sakura-petal:nth-child(7) { left: 65%; animation-duration: 20s; animation-delay: 1.5s; width: 9px; height: 9px; }
.sakura-petal:nth-child(8) { left: 75%; animation-duration: 15s; animation-delay: 3.5s; width: 13px; height: 13px; }
.sakura-petal:nth-child(9) { left: 85%; animation-duration: 19s; animation-delay: 0.8s; width: 11px; height: 11px; }
.sakura-petal:nth-child(10) { left: 95%; animation-duration: 17s; animation-delay: 2.5s; width: 10px; height: 10px; }
.sakura-petal:nth-child(11) { left: 10%; animation-duration: 24s; animation-delay: 5s; width: 8px; height: 8px; }
.sakura-petal:nth-child(12) { left: 30%; animation-duration: 18s; animation-delay: 6s; width: 15px; height: 15px; }
.sakura-petal:nth-child(13) { left: 50%; animation-duration: 22s; animation-delay: 1.2s; width: 7px; height: 7px; }
.sakura-petal:nth-child(14) { left: 70%; animation-duration: 16s; animation-delay: 4.5s; width: 12px; height: 12px; }
.sakura-petal:nth-child(15) { left: 90%; animation-duration: 20s; animation-delay: 3s; width: 9px; height: 9px; }

/* スクロールアニメーション */
@keyframes gv-fade-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gv-fade-left {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gv-fade-right {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gv-circle-grow {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.graduates-voice__item .graduates-voice__photo,
.graduates-voice__item .graduates-voice__text,
.graduates-voice__item::before {
    opacity: 0;
}

.graduates-voice__item.is-visible .graduates-voice__photo {
    animation: gv-fade-left 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.graduates-voice__item--reverse.is-visible .graduates-voice__photo {
    animation: gv-fade-right 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.graduates-voice__item.is-visible .graduates-voice__text {
    animation: gv-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.graduates-voice__item.is-visible::before {
    animation: gv-circle-grow 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.graduates-voice-lead {
    text-align: center;
    padding: 48px 20px 0;
    background: #f8f9fb;
}

.graduates-voice-lead p {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
}

.graduates-voice {
    padding: 60px 20px 80px;
    background: #f8f9fb;
    position: relative;
    overflow: hidden;
}


.graduates-voice__inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.graduates-voice__item {
    display: flex;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.graduates-voice__item:last-child {
    margin-bottom: 0;
}

.graduates-voice__item--reverse {
    flex-direction: row-reverse;
}

/* 背景のアクセント円 */
.graduates-voice__item::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid rgba(76, 175, 80, 0.15);
    background: transparent;
    z-index: -1;
    top: -40px;
    left: -60px;
}

.graduates-voice__item--reverse::before {
    left: auto;
    right: -60px;
    border-color: rgba(19, 109, 182, 0.15);
}

.graduates-voice__item:nth-child(3)::before {
    border-color: rgba(212, 155, 31, 0.15);
}

.graduates-voice__item:nth-child(5)::before {
    border-color: rgba(90, 50, 130, 0.15);
}

.graduates-voice__photo {
    flex-shrink: 0;
    width: 400px;
    position: relative;
}

.graduates-voice__photo::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    border: 3px solid #136db6;
    border-radius: 0;
    z-index: -1;
    opacity: 0.3;
}

.graduates-voice__item--reverse .graduates-voice__photo::after {
    right: auto;
    left: -12px;
}

.graduates-voice__photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.graduates-voice__text {
    flex: 1;
    min-width: 0;
}

.graduates-voice__num {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #136db6;
    margin-bottom: 24px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.graduates-voice__num span {
    font-size: 48px;
    font-weight: 200;
    color: #136db6;
    line-height: 1;
    letter-spacing: -0.02em;
}

.graduates-voice__num::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, #136db6 0%, transparent 100%);
    margin-left: 16px;
    opacity: 0.3;
}

.graduates-voice__body {
    font-size: 14px;
    line-height: 2.2;
    color: #444;
    margin-bottom: 28px;
}

.graduates-voice__name {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    text-align: right;
    margin-bottom: 12px;
    letter-spacing: 0.08em;
}

.graduates-voice__name span {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
}

.graduates-voice__info {
    text-align: right;
    padding: 16px 20px;
    border-radius: 8px;
}

.graduates-voice__info p {
    font-size: 13px;
    color: #333;
    line-height: 2;
    font-weight: 500;
}

.graduates-voice__info p:last-child {
    font-weight: 600;
    color: #136db6;
    font-size: 14px;
}

@media (max-width: 768px) {
    .graduates-voice {
        padding: 56px 20px;
    }

    .graduates-voice::before {
        font-size: 60px;
        top: 20px;
    }

    .graduates-voice__item,
    .graduates-voice__item--reverse {
        flex-direction: column;
        gap: 28px;
        margin-bottom: 56px;
    }

    .graduates-voice__item::before {
        display: none;
    }

    .graduates-voice__photo {
        width: 80%;
        margin: 0 auto;
    }

    .graduates-voice__photo::after {
        bottom: -8px;
        right: -8px;
    }

    .graduates-voice__item--reverse .graduates-voice__photo::after {
        left: -8px;
    }

    .graduates-voice__num span {
        font-size: 32px;
    }

    .graduates-voice__info {
        text-align: right;
    }
}

/* ── 合格体験記 カード型 ── */
.gv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.gv-card {
    background: #f8f9fb;
    overflow: visible;
    position: relative;
    padding: 30px 0 0;
}

.gv-card__main {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.gv-card__photo-wrap {
    flex-shrink: 0;
    position: relative;
    width: 52%;
}

.gv-card__photo-wrap::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    border: 3px solid #136db6;
    opacity: .2;
    z-index: 0;
}

.gv-card__photo {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.gv-card__photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.gv-card__right {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.gv-card__num {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #136db6;
    letter-spacing: .2em;
    text-transform: uppercase;
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 16px;
}

.gv-card__num span {
    font-size: 42px;
    font-weight: 200;
    color: #136db6;
    line-height: 1;
    letter-spacing: -.02em;
}

.gv-card__meta {
    margin-top: 8px;
}

.gv-card__meta-row {
    font-size: 12px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 6px;
}

.gv-card__meta-label {
    display: block;
    font-size: 10px;
    color: #999;
    letter-spacing: .08em;
    margin-bottom: 1px;
}

.gv-card__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 0;
    cursor: pointer;
    user-select: none;
}

.gv-card__name {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    letter-spacing: .08em;
}

.gv-card__name span {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
}

.gv-card__toggle {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #222;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background .3s;
}

.gv-card__toggle:hover {
    background: #444;
}

.gv-card__toggle-icon::before,
.gv-card__toggle-icon::after {
    content: '';
    position: absolute;
    background: #fff;
    top: 50%;
    left: 50%;
    transition: transform .3s;
}

.gv-card__toggle-icon::before {
    width: 14px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.gv-card__toggle-icon::after {
    width: 2px;
    height: 14px;
    transform: translate(-50%, -50%);
}

.gv-card.is-open .gv-card__toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.gv-card.is-open .gv-card__toggle {
    background: #136db6;
}

.gv-card__detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s cubic-bezier(.4,0,.2,1), padding .4s ease;
    padding: 0;
}

.gv-card.is-open .gv-card__detail {
    max-height: 800px;
    padding: 8px 0 28px;
}

.gv-card__gen {
    font-size: 12px;
    color: #888;
    letter-spacing: .05em;
    margin-right: 8px;
}

.gv-card__q-heading {
    font-size: 13px;
    font-weight: 600;
    color: #136db6;
    margin: 16px 0 6px;
    padding-left: 10px;
    border-left: 3px solid #136db6;
    line-height: 1.5;
}

.gv-card__q-heading:first-child {
    margin-top: 0;
}

.gv-card__body {
    font-size: 14px;
    line-height: 2.2;
    color: #444;
}

.gv-card__detail > .gv-card__body:first-child {
    border-top: 1px solid #dde1e6;
    padding-top: 16px;
}

@media (max-width: 768px) {
    .gv-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gv-card {
        padding: 20px 0 0;
    }

    .gv-card__main {
        flex-direction: column;
        gap: 16px;
    }

    .gv-card__photo-wrap {
        width: 75%;
        margin: 0 auto;
    }

    .gv-card__num span {
        font-size: 32px;
    }
}

.cert-pdf-list {
    margin: 0 0 24px;
}

.cert-pdf-list p {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    padding: 8px 0 8px 28px;
    position: relative;
}

.cert-pdf-list p::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url("../images/pdf_icon.png") no-repeat center / contain;
    position: absolute;
    left: 0;
    top: 12px;
}

.cert-pdf-list a {
    color: #136db6;
    text-decoration: underline;
    font-weight: 600;
}

.cert-pdf-list a:hover {
    text-decoration: none;
}

.cert-hours {
    margin-bottom: 16px;
}

.cert-hours p {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 1.8;
}

/* =====================
   学校評価固有
   ===================== */
.eval-group {
    margin-bottom: 80px;
}

.eval-group:last-child {
    margin-bottom: 0;
}

.eval-item {
    margin-bottom: 32px;
}

.eval-item__heading {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 35px;
}

.eval-pdf-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
    list-style: none;
    padding: 0;
}

.eval-pdf-list li a {
    font-size: 16px;
    color: #222;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.eval-pdf-list li a::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url("../images/pdf_icon.png") no-repeat center / contain;
    flex-shrink: 0;
}

.eval-pdf-list li a:hover {
    color: #136db6;
}

/* =====================
   気象警報固有
   ===================== */
.weather-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    margin-bottom: 24px;
}

.weather-table th,
.weather-table td {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    padding: 12px 16px;
    border: 1px solid #ddd;
    text-align: center;
    vertical-align: middle;
}

.weather-table thead th {
    background: #eff3f5;
    font-weight: 600;
    text-align: center;
}

.weather-table tbody td:first-child {
    white-space: nowrap;
}

.weather-notes {
    margin-bottom: 32px;
}

.weather-notes p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 4px;
}

.weather-region {
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 24px;
    margin-top: 32px;
    border-radius: 4px;
}

.weather-region p {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
}

.weather-region ol {
    padding-left: 1.5em;
    margin: 0;
}

.weather-region li {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    margin-bottom: 4px;
}

.weather-list {
    padding-left: 1.5em;
    margin-bottom: 24px;
}

.weather-list li {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    margin-bottom: 8px;
}

/* =====================
   School Bus
   ===================== */
.bus-schedule-list {
    margin: 50px 0;
}

.bus-schedule-item {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
}

.bus-schedule-item a {
    color: #136db6;
    text-decoration: underline;
    font-weight: 500;
}

.bus-schedule-item a:hover {
    text-decoration: none;
}

.bus-weather-link {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    margin: 24px 0;
}

.bus-weather-link a {
    color: #136db6;
    text-decoration: underline;
    font-weight: 500;
}

.bus-weather-link a:hover {
    text-decoration: none;
}

.bus-notice-list {
    list-style: disc;
    padding-left: 1.5em;
    margin: 0 0 32px;
}

.bus-notice-list li {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    margin-bottom: 8px;
}

.bus-route-notes {
    margin-top: 24px;
}

.bus-route-notes p {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    font-weight: 600;
}

.bus-route-notes a {
    color: #136db6;
    text-decoration: underline;
    font-weight: 500;
}

.bus-route-notes a:hover {
    text-decoration: none;
}

/* =====================
   Events
   ===================== */
.events-box {
    border: 1px solid #c6c6c6;
    border-radius: 4px;
    padding: 24px 32px;
}

.events-box__item {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    padding: 8px 0;
}

.events-box__item a {
    color: #136db6;
    text-decoration: underline;
    font-weight: 500;
}

.events-box__item a::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url("../images/pdf_icon.png") no-repeat center / contain;
    vertical-align: middle;
    margin-left: 4px;
}

.events-box__item a:hover {
    text-decoration: none;
}

/* =====================
   FAQ
   ===================== */
.faq-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}

.faq-nav__item {
    display: block;
    flex: 0 1 300px;
    padding: 16px 20px;
    border: 1px solid #333;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #222;
    text-align: left;
    transition: background 0.2s, color 0.2s;
}

.faq-nav__item:hover {
    background: #333;
    color: #fff;
}

.sub-section__block[id^="faq-section-"] {
    scroll-margin-top: 60px;
}

.faq-category-heading {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    text-align: center;
    margin-bottom: 32px;
}

.faq-list {
    margin-bottom: 0;
}

.faq-item {
    border-top: 1px solid #ddd;
}

.faq-item:last-child {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 16px;
    background: #fff;
}

.faq-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    font-family: "Roboto", sans-serif;
}

.faq-label--q {
    background: #333;
}

.faq-label--a {
    background: #136db6;
}

.faq-question__text {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 1.6;
}

.faq-answer {
    display: flex;
    gap: 16px;
    padding: 0 16px 24px 16px;
    background: #fff;
}

.faq-answer__text {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
}

/* =====================
   History
   ===================== */
.history-timeline {
    margin: 0;
}

.history-timeline__row {
    display: flex;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.history-timeline__row:first-child {
    border-top: 1px solid #eee;
}

.history-timeline__row dt {
    min-width: 240px;
    font-size: 16px;
    color: #222;
    white-space: nowrap;
}

.history-timeline__row dd {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
}

/* =====================
   Affiliated School
   ===================== */
.affiliated-school__name {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 24px;
}

.affiliated-school__img {
    margin-bottom: 32px;
}

.affiliated-school__img img {
    width: 100%;
    aspect-ratio: 1100 / 512;
    object-fit: cover;
    border-radius: 4px;
}

.affiliated-school__grid {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.affiliated-school__col {
    flex: 1;
}

.affiliated-school__dept {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}

.affiliated-school__col p,
.affiliated-school__section p {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
}

.affiliated-school__col ul,
.affiliated-school__section ul {
    list-style: none;
    margin-bottom: 12px;
}

.affiliated-school__col li,
.affiliated-school__section li {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    padding-left: 1em;
}

.affiliated-school__section {
    margin-bottom: 40px;
}

.affiliated-school__grid--two {
    display: flex;
    gap: 40px;
}

.affiliated-school__grid--two .affiliated-school {
    flex: 1;
}

/* =====================
   Facilities
   ===================== */
.facility-virtual {
    margin: 32px 0;
}

.facility-virtual__link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #3a8f7a, #4aab8e);
    border-radius: 8px;
    transition: opacity 0.2s;
}

.facility-virtual__link:hover {
    opacity: 0.9;
}

.facility-virtual__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.facility-virtual__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.facility-virtual__title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.facility-virtual__desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.facility-virtual__arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: border-color 0.2s, transform 0.2s;
}

.facility-virtual__arrow::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin-left: -3px;
}

.facility-virtual__link:hover .facility-virtual__arrow {
    border-color: #fff;
    transform: translateX(4px);
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.facility-card__img {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 8px;
}

.facility-card__img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.facility-card__badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 3px;
}

.facility-card__name {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
}

.facility-card__desc {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* =====================
   ユーティリティ
   ===================== */
.sp-only {
    display: none;
}

.pc-only {
    display: inline;
}

/* =====================
   Mobile
   ===================== */
@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }

    .pc-only {
        display: none;
    }

    .sub-page-header {
        padding: 0 20px;
    }

    .sub-hero {
        padding: 35px 0 24px;
    }

    .sub-hero--photo {
        padding: 95px 0 35px;
    }

    .sub-hero__ttl {
        font-size: 24px;
    }

    .sub-hero__cat {
        font-size: 12px;
    }

    .sub-section {
        padding: 40px 20px 60px;
    }

    .sub-section__heading {
        font-size: 18px;
    }

    .sub-section__heading--line::after {
        width: 20%;
    }

    .sub-section__lead,
    .sub-section__block p,
    .sub-section__block ul li,
    .sub-section__block ol li,
    .sub-section__contact p,
    .sub-section__note,
    .sitepolicy-env h3,
    .recruit-table th,
    .recruit-table td,
    .admission-table th,
    .admission-table td,
    .access-card__body li {
        font-size: 14px;
    }

    .page-template-page-contact .sub-section__block p,
    .page-template-page-contact .sub-section__block ul li,
    .page-template-page-contact .sub-section__block ol li {
        font-size: 15px;
    }

    .sub-section__heading-sub {
        font-size: 14px;
        padding-left: 42px;
    }

    .sub-section__num {
        width: 30px;
        height: 30px;
        font-size: 15px;
        margin-right: 10px;
    }

    .sub-section__subheading {
        font-size: 16px;
    }

    .recruit-table,
    .recruit-table tbody,
    .recruit-table tr,
    .recruit-table th,
    .recruit-table td {
        display: block;
        width: 100%;
    }

    .recruit-table th {
        white-space: normal;
        padding: 8px 16px 8px;
        border-bottom: none;
        text-align: left;
    }

    .recruit-table td {
        padding: 4px 16px 12px;
    }

    .sub-section__text,
    .cert-pdf-list p,
    .cert-hours p {
        font-size: 14px;
    }

    .cert-notice-box {
        font-size: 14px;
        padding: 16px;
    }

    .eval-item__heading {
        font-size: 14px;
    }

    .eval-pdf-list li a {
        font-size: 14px;
    }

    .eval-pdf-list {
        gap: 8px 20px;
    }

    .access-cards {
        flex-direction: column;
        gap: 16px;
    }

    .access-card {
        flex-direction: column;
    }

    .access-card__head {
        width: 100%;
        min-width: auto;
        padding: 12px 16px;
        border-bottom: 1px solid #ddd;
    }

    .access-card__body {
        border-left: none;
        padding: 16px;
    }

    .access-buttons {
        flex-direction: column;
    }

    .access-btn {
        min-width: auto;
        width: 100%;
        font-size: 14px;
        padding: 14px 24px;
    }

    .weather-table th,
    .weather-table td {
        font-size: 14px;
        padding: 8px 10px;
    }

    .weather-table tbody td:first-child {
        white-space: normal;
    }

    .weather-region li,
    .weather-list li {
        font-size: 14px;
    }

    .bus-schedule-item,
    .bus-weather-link,
    .bus-notice-list li,
    .bus-route-notes p {
        font-size: 14px;
    }

    .events-box {
        padding: 16px 20px;
    }

    .events-box__item {
        font-size: 14px;
    }

    .faq-nav {
        gap: 10px;
        margin-bottom: 40px;
    }

    .faq-nav__item {
        min-width: 0;
        flex: 1 1 calc(50% - 10px);
        font-size: 14px;
        padding: 12px 14px;
    }

    .faq-category-heading {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .faq-question {
        gap: 12px;
        padding: 16px 12px;
    }

    .faq-question__text {
        font-size: 14px;
    }

    .faq-answer {
        gap: 12px;
        padding: 0 12px 20px 12px;
    }

    .faq-answer__text {
        font-size: 14px;
    }

    .history-timeline__row {
        flex-direction: column;
        gap: 4px;
    }

    .history-timeline__row dt {
        min-width: auto;
        font-size: 14px;
        white-space: normal;
    }

    .history-timeline__row dd {
        font-size: 14px;
    }

    .affiliated-school__name {
        font-size: 18px;
    }

    .affiliated-school__grid,
    .affiliated-school__grid--two {
        flex-direction: column;
        gap: 24px;
    }

    .affiliated-school__dept {
        font-size: 14px;
    }

    .affiliated-school__col p,
    .affiliated-school__section p,
    .affiliated-school__col li,
    .affiliated-school__section li {
        font-size: 14px;
    }

    .facility-virtual__link {
        padding: 16px 20px;
        gap: 14px;
    }

    .facility-virtual__badge {
        width: 56px;
        height: 56px;
        min-width: 56px;
        font-size: 11px;
    }

    .facility-virtual__title {
        font-size: 16px;
    }

    .facility-virtual__desc {
        font-size: 12px;
    }

    .facility-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .facility-grid--pickup {
        grid-template-columns: 1fr;
    }

    .facility-card__name {
        font-size: 14px;
    }

    .facility-card__desc {
        font-size: 12px;
    }
}

/* Facility Modal */
.facility-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.facility-modal.is-active {
    display: flex;
}

.facility-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

.facility-modal__body {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    width: 800px;
    text-align: center;
}

.facility-modal__main {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.facility-modal__img {
    display: block;
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

/* Nav arrows inside main image */
.facility-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.facility-modal__nav:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: #fff;
}

.facility-modal__nav--prev {
    left: 12px;
}

.facility-modal__nav--next {
    right: 12px;
}

.facility-modal__nav::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.facility-modal__nav--prev::before {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.facility-modal__nav--next::before {
    transform: rotate(45deg);
    margin-right: 3px;
}

.facility-modal__caption {
    color: #fff;
    font-size: 14px;
    margin-top: 10px;
}

.facility-modal__close {
    position: absolute;
    top: 50px;
    right: 200px;
    z-index: 2;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

@media (max-width: 768px) {
    .facility-modal__close {
        top: 16px;
        right: 16px;
    }
}

.facility-modal__close:hover {
    opacity: 1;
}

/* Thumbnail strip */
.facility-modal__thumbs-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
}

.facility-modal__thumbs {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
}

.facility-modal__thumbs::-webkit-scrollbar {
    display: none;
}

.facility-modal__thumbs-track {
    display: flex;
    gap: 8px;
    width: max-content;
}

.facility-modal__thumb {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: opacity 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.facility-modal__thumb:hover {
    opacity: 0.8;
}

.facility-modal__thumb.is-active {
    opacity: 1;
    border-color: #fff;
}

/* =====================
   Uniform Page
   ===================== */
.uniform-hero {
    position: relative;
    background: #acd1d6;
    overflow: hidden;
}

.uniform-hero__inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    min-height: 480px;
}

.uniform-hero__text {
    position: relative;
    z-index: 1;
    padding: 60px 40px;
    color: #fff;
}

.uniform-hero__lead {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
}

.uniform-hero__title {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 16px;
}

.uniform-hero__sub {
    font-size: 15px;
    font-weight: 400;
}

.uniform-hero__slider {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
}

.uniform-hero__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.uniform-hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s;
}

.uniform-hero__slide.is-active {
    opacity: 1;
}

/* Coordinate section */
.uniform-coordinate {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.uniform-coordinate__item {
    text-align: center;
}

.sub-section__block .uniform-coordinate__label {
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    background: #333;
    padding: 8px 32px;
    margin-bottom: 24px;
}

.uniform-coordinate__img {
    background: #d6e6f2;
    border-radius: 4px;
    overflow: hidden;
}

.uniform-coordinate__img img {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    display: block;
}

/* Uniform items grid */
.uniform-items-grid {
    display: grid;
    gap: 40px 32px;
    margin-top: 40px;
}

.uniform-items-grid + .uniform-items-grid {
    margin-top: 60px;
}

.uniform-items-grid--three {
    grid-template-columns: repeat(3, 1fr);
}

.uniform-items-grid--two {
    grid-template-columns: repeat(2, 1fr);
}

.uniform-items-grid--vest {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.uniform-items-grid--vest .uniform-item {
    text-align: left;
}

.uniform-items-grid--vest .uniform-item__name {
    font-size: 20px;
}

.uniform-items-grid--vest .uniform-item__desc {
    font-size: 14px;
}

.uniform-item {
    text-align: center;
}

.uniform-item__img {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
    border-radius: 0px;
    padding: 24px 16px;
    height: 260px;
    transition: background 0.3s;
}

.uniform-item__img:hover {
    background: #efefef;
}

.uniform-item__img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.uniform-items-grid--three .uniform-item__img {
    height: 240px;
}

.uniform-items-grid--two .uniform-item__img {
    height: 280px;
}

.uniform-item__name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    font-style: italic;
    color: #222;
    letter-spacing: 0.02em;
}

.uniform-item__desc {
    font-size: 13px;
    line-height: 1.8;
    color: #555;
    text-align: left;
}

.uniform-note {
    font-size: 13px;
    color: #555;
    margin-top: 32px;
    padding: 16px 24px;
    background: #f7f7f7;
    border-radius: 8px;
    text-align: center;
    letter-spacing: 0.02em;
}

.uniform-lineup {
    margin-top: 48px;
    background: #f7f7f7;
    border-radius: 8px;
    padding: 32px;
}

.uniform-lineup img {
    width: 100%;
    display: block;
}

@media (max-width: 768px) {
    .uniform-coordinate {
        grid-template-columns: 1fr;
    }

    .uniform-hero__inner {
        min-height: 320px;
    }

    .uniform-hero__text {
        padding: 40px 20px;
    }

    .uniform-hero__title {
        font-size: 36px;
    }

    .uniform-hero__slider {
        width: 60%;
    }

    .uniform-items-grid--three {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .uniform-items-grid--two {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .uniform-item__img {
        height: 200px;
        padding: 20px 12px;
    }

    .uniform-items-grid--three .uniform-item__img,
    .uniform-items-grid--two .uniform-item__img {
        height: 220px;
    }
}

/* =====================
   Pamphlet Page
   ===================== */
.pamphlet-lead {
    text-align: center;
    font-size: 15px;
    color: #444;
    margin-bottom: 48px;
}


.pamphlet-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.pamphlet-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.pamphlet-item__img-link {
    display: block;
    width: 240px;
}

.pamphlet-item__img-link img {
    width: 100%;
    height: auto;
    display: block;
}

.pamphlet-item__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 240px;
    padding: 12px 16px;
    border: 1px solid #222;
    color: #222;
    font-size: 14px;
    text-decoration: none;
    margin-top: 20px;
    transition: background 0.2s, color 0.2s;
}

.pamphlet-item__btn:hover {
    background: #222;
    color: #fff;
}

.pamphlet-item__arrow {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .pamphlet-item__img-link,
    .pamphlet-item__btn {
        width: 100%;
        max-width: 280px;
    }

}

/* =====================
   Art Gallery Page
   ===================== */
.art-gallery__lead {
    text-align: center;
    font-size: 15px;
    color: #666;
    margin-bottom: 40px;
}

.art-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 8px;
}

.art-gallery__item {
    cursor: pointer;
    overflow: hidden;
    display: block;
    grid-column: span 1;
    grid-row: span 1;
}

.art-gallery__item--wide  { grid-column: span 2; }
.art-gallery__item--tall  { grid-row: span 2; }
.art-gallery__item--large { grid-column: span 2; grid-row: span 2; }

.art-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.art-gallery__item:hover img {
    transform: scale(1.03);
}

.art-gallery__empty {
    text-align: center;
    color: #888;
    padding: 60px 0;
}

/* Art Modal */
.art-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.art-modal[aria-hidden="true"] {
    display: none;
}

.art-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
}

.art-modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
}

.art-modal__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90vw;
    max-width: 760px;
    gap: 16px;
}

.art-modal__title {
    color: #fff;
    font-size: 13px;
    text-align: center;
    line-height: 1.6;
    margin: 0;
    padding: 0 40px;
}

.art-modal__main {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.art-modal__img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.art-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.art-modal__nav:hover {
    background: rgba(255,255,255,0.3);
}

.art-modal__nav--prev { left: 0; }
.art-modal__nav--next { right: 0; }

.art-modal__nav--prev::before,
.art-modal__nav--next::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.art-modal__nav--prev::before { transform: rotate(-135deg) translateX(-2px); }
.art-modal__nav--next::before { transform: rotate(45deg) translateX(-2px); }

.art-modal__pager {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin: 0;
}

@media (max-width: 768px) {
    .art-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
        gap: 6px;
    }

    .art-gallery__item--large { grid-column: span 2; grid-row: span 2; }
    .art-gallery__item--wide  { grid-column: span 2; }
    .art-gallery__item--tall  { grid-row: span 2; }

    .art-gallery__item {
        margin-bottom: 6px;
    }

    .art-modal__body {
        width: 95vw;
    }

    .art-modal__title {
        font-size: 12px;
        padding: 0 16px;
    }

    .art-modal__nav {
        width: 36px;
        height: 36px;
    }
}

/* =====================
   Tuition Page
   ===================== */
.tuition-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 32px;
}

.tuition-group {
    margin-bottom: 40px;
}

.tuition-group__title {
    font-size: 17px;
    font-weight: 600;
    color: #222;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tuition-group__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #1a3264;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    flex-shrink: 0;
}

.tuition-group__note {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.tuition-group > p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 12px;
}

.tuition-list {
    margin: 0 0 16px 0;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.tuition-list > li {
    margin-bottom: 8px;
}

.tuition-list--numbered {
    list-style: decimal;
}

.tuition-list:not(.tuition-list--numbered) {
    list-style: disc;
}

.tuition-sublist {
    list-style: disc;
    margin: 8px 0 8px 24px;
    font-size: 15px;
    line-height: 1.8;
}

.tuition-sublist > li {
    margin-bottom: 4px;
}

.tuition-note {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    line-height: 1.6;
}

/* Contact CTA */
.tuition-contact {
    position: relative;
    background: linear-gradient(135deg, #1a3264 0%, #136db6 100%);
    border-radius: 12px;
    padding: 56px 48px;
    margin-top: 60px;
    overflow: hidden;
}

.tuition-contact::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.tuition-contact::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 30%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.tuition-contact__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.tuition-contact__text {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.tuition-contact__tel {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}

.tuition-contact__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    padding: 18px 36px;
    background: #fff;
    border: none;
    border-radius: 50px;
    color: #1a3264;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.tuition-contact__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    color: #136db6;
}

@media (max-width: 768px) {
    .tuition-group__title {
        flex-wrap: wrap;
    }

    .tuition-group__note {
        width: 100%;
        margin-top: 4px;
        padding-left: 40px;
    }

    .tuition-subtitle {
        font-size: 16px;
    }

    .tuition-contact {
        padding: 40px 24px;
    }

    .tuition-contact__body {
        flex-direction: column;
        text-align: center;
    }

    .tuition-contact__tel {
        font-size: 20px;
    }

    .tuition-contact__btn {
        min-width: auto;
        width: 100%;
    }
}

/* =====================
   Admission Page
   ===================== */

/* Anchor Nav (共通コンポーネント) */
.anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}

.anchor-nav__item {
    display: block;
    flex: 0 1 300px;
    padding: 16px 20px;
    border: 1px solid #333;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #222;
    text-align: left;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.anchor-nav__item:hover {
    background: #333;
    color: #fff;
}

.sub-section__block[id] {
    scroll-margin-top: 100px;
}

/* Overview Table */
.admission-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.admission-table th,
.admission-table td {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    padding: 16px 20px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.admission-table th {
    width: 200px;
    font-weight: 500;
    background: #eff3f5;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
}

.admission-table td p {
    margin-bottom: 8px;
}

.admission-table td p:last-child {
    margin-bottom: 0;
}

.admission-table td ul {
    list-style: disc;
    margin: 4px 0 0 0;
}

.admission-table td ul li {
    margin-bottom: 2px;
}

.admission-table__highlight {
    background: #f9f9f9;
}

/* Timetable (nested) */
.admission-timetable-group .admission-timetable {
    flex: 0 1 auto;
    max-width: 340px;
}

.admission-timetable {
    width: 100%;
    margin: 12px 0;
    max-width: 340px;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.admission-timetable td {
    padding: 10px 20px;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px solid #ddd;
}

.admission-timetable td:first-child {
    font-weight: 500;
    min-width: 60px;
    text-align: center;
}

/* Sublabel */
.admission-sublabel {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 24px 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #ddd;
}
.admission-sublabel::before {
    content: "■";
    margin-right: 6px;
}

.admission-sublabel:first-child {
    margin-top: 0;
}

/* Timetable Group (side by side) */
.admission-timetable-group {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.admission-timetable-group .admission-timetable {
    flex: 0 1 auto;
}

.admission-timetable th {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    background: #eff3f5;
    border-bottom: 1px solid #ddd;
}

/* Features Grid */
.admission-features {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 32px 0 48px;
}

.admission-feature {
    text-align: center;
    padding: 28px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.admission-feature__icon {
    margin-bottom: 16px;
    color: #136db6;
}

.admission-feature__text {
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
}

/* Payment Box */
.admission-payment {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
}

.admission-payment__title {
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    padding: 20px;
    background: #f8f8f8;
    border-bottom: 1px solid #ddd;
}

.admission-payment__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 32px;
}

.admission-payment__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    width: 100%;
    max-width: 600px;
}

.admission-payment__letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid #1a3264;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    color: #1a3264;
    flex-shrink: 0;
}

.admission-payment__item p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

@media (max-width: 768px) {
    .anchor-nav {
        gap: 10px;
        margin-bottom: 40px;
    }

    .anchor-nav__item {
        min-width: 0;
        flex: 1 1 calc(50% - 10px);
        font-size: 14px;
        padding: 12px 14px;
    }

    .admission-table,
    .admission-table > tbody,
    .admission-table > tbody > tr,
    .admission-table > tbody > tr > th,
    .admission-table > tbody > tr > td {
        display: block;
        width: 100%;
    }

    .admission-table > tbody > tr > th {
        white-space: normal;
        padding: 8px 16px 8px;
        border-bottom: none;
        text-align: left;
    }

    .admission-table > tbody > tr > td {
        padding: 4px 16px 12px;
    }

    .admission-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .admission-feature__text {
        font-size: 12px !important;
    }

    .admission-payment__list {
        padding: 16px 20px;
    }

    .admission-timetable-group {
        flex-direction: column;
        gap: 16px;
    }

    .admission-timetable {
        display: table;
    }

    .admission-timetable tr {
        display: table-row;
    }

    .admission-timetable td {
        display: table-cell;
        padding: 8px 12px;
        font-size: 13px;
    }

    .admission-timetable td:first-child {
        min-width: 44px;
    }
}

.admission-process-img {
    margin-top: 40px;
}

.admission-process-img img {
    width: 100%;
    height: auto;
}

/* =====================
   中学校カラー (#4CAF50)
   ===================== */
.page-template-page-junior .sub-hero__initial,
.page-template-page-curriculum-junior .sub-hero__initial,
.page-template-page-admission-junior .sub-hero__initial,
.page-template-page-tuition-junior .sub-hero__initial,
.page-template-page-admission-info-junior .sub-hero__initial,
.page-template-page-event-junior .sub-hero__initial {
    color: #4CAF50;
}

.page-template-page-event-senior .sub-hero__initial {
    color: #136db6;
}

#tuition,
#scholarship,
#overview,
#application,
#online,
#enrollment,
#exam-a,
#exam-b,
#exam-late,
#exam-detail {
    scroll-margin-top: 100px;
}

.page-template-page-junior .sub-section__heading,
.page-template-page-admission .course-with-sidenav__main .sub-section,
.page-template-page-admission-info .course-with-sidenav__main .sub-section,
.page-template-page-admission-junior .course-with-sidenav__main .sub-section,
.page-template-page-admission-info-junior .course-with-sidenav__main .sub-section,
.page-template-page-tuition .course-with-sidenav__main .sub-section,
.page-template-page-tuition-junior .course-with-sidenav__main .sub-section,
.page-template-page-history .course-with-sidenav__main .sub-section,
.page-template-page-students .course-with-sidenav__main .sub-section,
.page-template-page-certificate .course-with-sidenav__main .sub-section,
.page-template-page-schoolbus .course-with-sidenav__main .sub-section,
.page-template-page-weather-alert .course-with-sidenav__main .sub-section,
.page-template-page-events .course-with-sidenav__main .sub-section {
    padding: 0px 20px 80px;
}

.page-template-page-junior .sub-section__heading,
.page-template-page-admission-junior .sub-section__heading,
.page-template-page-tuition-junior .sub-section__heading,
.page-template-page-admission-info-junior .sub-section__heading,
.page-template-page-curriculum-junior .sub-section__heading {
    border-left-color: #4CAF50;
}

.page-template-page-junior .sub-section__num,
.page-template-page-admission-junior .sub-section__num,
.page-template-page-tuition-junior .sub-section__num,
.page-template-page-admission-info-junior .sub-section__num,
.page-template-page-curriculum-junior .sub-section__num {
    background: #4CAF50;
}

.page-template-page-admission-junior .sub-section__heading,
.page-template-page-tuition-junior .sub-section__heading,
.page-template-page-admission-info-junior .sub-section__heading,
.page-template-page-annual-events .sub-section,
.page-template-page-annual-events .sub-section {
    padding: 0px 20px 0px;
}

.page-template-page-junior .sub-section__heading--line::after,
.page-template-page-admission-junior .sub-section__heading--line::after,
.page-template-page-tuition-junior .sub-section__heading--line::after,
.page-template-page-admission-info-junior .sub-section__heading--line::after {
    background: #4CAF50;
}

.page-template-page-junior .about-nav__item:hover,
.page-template-page-admission-junior .about-nav__item:hover,
.page-template-page-tuition-junior .about-nav__item:hover,
.page-template-page-admission-info-junior .about-nav__item:hover {
    border-color: #4CAF50;
    color: #4CAF50;
}

.page-template-page-junior .about-nav__item::after,
.page-template-page-admission-junior .about-nav__item::after,
.page-template-page-tuition-junior .about-nav__item::after,
.page-template-page-admission-info-junior .about-nav__item::after {
    background: #4CAF50;
}

.page-template-page-admission-junior .tuition-group__num,
.page-template-page-tuition-junior .tuition-group__num {
    background: #2E7D32;
}

.page-template-page-admission-junior .admission-feature__icon {
    color: #4CAF50;
}

.page-template-page-admission-junior .admission-payment__letter {
    border-color: #2E7D32;
    color: #2E7D32;
}

.page-template-page-admission-junior .anchor-nav__item:hover {
    background: #4CAF50;
    border-color: #4CAF50;
}

.page-template-page-admission-junior .admission-timetable th {
    background: #e8f5e9;
}

/* 中学校ヘッダー（透過ヒーロー用） */
.page-template-page-junior .site-header.is-solid .header-nav-item--request a,
.page-template-page-curriculum-junior .site-header.is-solid .header-nav-item--request a,
.page-template-page-admission-junior .site-header.is-solid .header-nav-item--request a,
.page-template-page-tuition-junior .site-header.is-solid .header-nav-item--request a,
.page-template-page-admission-info-junior .site-header.is-solid .header-nav-item--request a,
.page-template-page-annual-events .site-header.is-solid .header-nav-item--request a {
    background: #4CAF50;
    color: #fff;
}

.page-template-page-junior .breadcrumb-item a:hover,
.page-template-page-admission-junior .breadcrumb-item a:hover,
.page-template-page-tuition-junior .breadcrumb-item a:hover,
.page-template-page-admission-info-junior .breadcrumb-item a:hover,
.page-template-page-annual-events .breadcrumb-item a:hover {
    color: #4CAF50;
}

/* 年間行事カラー（タブ連動） */
.page-template-page-annual-events.annual-theme--junior .sub-hero__initial {
    color: #4CAF50;
}

.page-template-page-annual-events.annual-theme--junior .sub-section__heading {
    border-left-color: #4CAF50;
}

.page-template-page-annual-events.annual-theme--junior .sub-section__heading--line::after {
    background: #4CAF50;
}

.page-template-page-annual-events.annual-theme--high .sub-hero__initial {
    color: #136db6;
}

.page-template-page-annual-events.annual-theme--high .sub-section__heading {
    border-left-color: #136db6;
}

.page-template-page-annual-events.annual-theme--high .sub-section__heading--line::after {
    background: #136db6;
}

.page-template-page-annual-events.annual-theme--junior .annual-row__month::after {
    background: #4CAF50;
}

.page-template-page-annual-events.annual-theme--high .annual-row__month::after {
    background: #136db6;
}

.page-template-page-annual-events .annual-row__month-num,
.page-template-page-annual-events .annual-row__month-unit {
    color: #136db6;
}

.page-template-page-annual-events.annual-theme--junior .annual-row__month::after {
    background: #4CAF50;
}

.page-template-page-annual-events.annual-theme--high .annual-row__month::after {
    background: #136db6;
}

.page-template-page-annual-events .annual-gallery__inner::before {
    border-color: #136db6;
}

.page-template-page-annual-events .annual-row__list li::before {
    background: #136db6;
}

.page-template-page-annual-events .annual-row__dots .annual-dot:hover {
    background: #6daddf;
}

.page-template-page-annual-events .annual-row__dots .annual-dot.is-active {
    background: #136db6;
}

.page-template-page-annual-events .annual-tab__item.is-active::after {
    background: #136db6;
}

.page-template-page-annual-events .site-header.is-solid .header-nav-item--request a {
    background: #136db6;
    color: #fff;
}

.page-template-page-annual-events .breadcrumb-item a:hover {
    color: #136db6;
}

/* =====================
   お問い合わせ
   ===================== */
.contact-hours {
    margin: 24px 0;
}

.contact-hours p {
    margin: 0;
    line-height: 1.8;
}

.contact-info__name {
    margin-bottom: 20px;
    font-size: 18px;
}

.contact-info-grid {
    display: flex;
    gap: 20px;
}

.contact-info {
    flex: 1;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    padding: 28px 24px;
    text-align: center;
}

.contact-info__label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #136db6;
    padding: 2px 16px;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.contact-info__number {
    font-size: 32px !important;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.02em;
}

.contact-info__number a {
    color: #222;
    text-decoration: none;
}

@media (max-width: 768px) {
    .contact-info-grid {
        flex-direction: column;
        gap: 16px;
    }

    .contact-info {
        padding: 20px 16px;
    }

    .contact-info__number {
        font-size: 24px;
    }
}

/* =====================
   年間行事
   ===================== */
.annual-lead {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.annual-desc {
    text-align: center;
    line-height: 2;
    margin-bottom: 20px;
    color: #444;
}

/* タブ切り替え */
.annual-tab {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 40px;
    border-bottom: 1px solid #ddd;
}

.annual-tab__item {
    padding: 14px 48px;
    font-size: 15px;
    color: #999;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
    letter-spacing: 0.05em;
    background: none;
    border: none;
    cursor: pointer;
}

/* タブコンテンツ切り替え */
.annual-tab-content,
.annual-tab-lead {
    display: none;
}

.annual-tab-content.is-active,
.annual-tab-lead.is-active {
    display: block;
}

.annual-lead-content.annual-tab-lead.is-active {
    padding-top: 40px;
}

.annual-tab__item:hover {
    color: #555;
}

.annual-tab__item.is-active {
    color: #222;
    font-weight: 500;
}

.annual-tab__item.is-active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #4CAF50;
}

.annual-note {
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* タブ切り替えで高校テーマ適用 */
.annual-theme--high .annual-tab__item.is-active::after {
    background: #136db6;
}

.annual-theme--high .annual-row__month::after {
    background: #136db6;
}

.annual-theme--high .annual-row__month-num,
.annual-theme--high .annual-row__month-unit {
    color: #136db6;
}

.annual-theme--high .annual-row__month::after {
    background: #136db6;
}

.annual-theme--high .annual-row__list li::before {
    background: #136db6;
}

.annual-theme--high .annual-row__dots .annual-dot:hover {
    background: #6daddf;
}

.annual-theme--high .annual-row__caption {
    border-bottom-color: #136db6;
}

.annual-theme--high .annual-row__dots .annual-dot.is-active {
    background: #136db6;
}

/* 年間行事 タブ色切り替え */
.page-template-page-annual-events .club-tab-btn.is-active {
    border-bottom-color: #136db6;
}

.page-template-page-annual-events .club-tab-btn.is-active .club-tab-btn__icon {
    background: #136db6;
}

.page-template-page-annual-events .club-tab-btn.is-active .club-tab-btn__sub {
    color: #136db6;
}

.annual-theme--high .club-tab-btn.is-active {
    border-bottom-color: #136db6;
}

.annual-theme--high .club-tab-btn.is-active .club-tab-btn__icon {
    background: #136db6;
}

.annual-theme--high .club-tab-btn.is-active .club-tab-btn__sub {
    color: #136db6;
}

body.annual-theme--junior .club-tab-btn.is-active {
    border-bottom-color: #4CAF50;
}

body.annual-theme--junior .club-tab-btn.is-active .club-tab-btn__icon {
    background: #4CAF50;
}

body.annual-theme--junior .club-tab-btn.is-active .club-tab-btn__sub {
    color: #4CAF50;
}

body.annual-theme--junior .annual-row__month::after {
    background: #4CAF50;
}

body.annual-theme--junior .annual-row__month-num,
body.annual-theme--junior .annual-row__month-unit {
    color: #4CAF50;
}

body.annual-theme--junior .annual-row__month::after {
    background: #4CAF50;
}

body.annual-theme--junior .annual-row__list li::before {
    background: #4CAF50;
}

body.annual-theme--junior .annual-row__dots .annual-dot:hover {
    background: #81c784;
}

body.annual-theme--junior .annual-row__dots .annual-dot.is-active {
    background: #4CAF50;
}

/* --- ギャラリーセクション --- */
.annual-gallery {
    padding: 60px 0 70px;
    background: #fafafa;
}

.annual-gallery__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 各月の行 --- */
/* タイムライン */
.annual-gallery__inner {
    position: relative;
    padding-left: 100px;
}

.annual-gallery__inner::before {
    display: none;
}

.annual-row {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    padding: 48px 0;
    position: relative;
}

/* 月の下から次の行へ伸びるライン */
.annual-row::before {
    content: '';
    position: absolute;
    left: -61px;
    top: 140px;
    bottom: -48px;
    width: 1px;
    background: #e0e0e0;
}

.annual-row:last-child::before {
    display: none;
}

.annual-row:last-child {
    border-bottom: none;
}

/* 左: 月＋イベントリスト */
.annual-row__info {
    flex: 1;
    min-width: 0;
}

.annual-row__month {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 24px;
    position: absolute;
    left: -100px;
    top: 48px;
    width: 80px;
}

.annual-row:first-child .annual-row__month {
    top: 48px;
}

.annual-row__month::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: #4CAF50;
    margin-top: 8px;
    flex-basis: 100%;
    margin-left: auto;
    margin-right: auto;
}

.annual-row__month-num {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 56px;
    font-weight: 200;
    color: #4CAF50;
    line-height: 1;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.annual-row__month-unit {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    font-weight: 200;
    color: #4CAF50;
    margin-left: 2px;
}

.annual-row__month-en {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 9px;
    font-weight: 600;
    color: #aaa;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 6px 0 0;
    text-align: center;
    flex-basis: 100%;
}

.annual-row__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.annual-row__list li {
    position: relative;
    padding-left: 18px;
    line-height: 2.1;
    font-size: 15px;
    color: #444;
}

.annual-row__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.78em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4CAF50;
}

/* 右: 写真スライダー（フェード） */
.annual-row__slider {
    width: 52%;
    flex-shrink: 0;
    position: relative;
}

.annual-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.3s;
    padding: 0;
}

.annual-slider-arrow:hover {
    background: rgba(0, 0, 0, 0.4);
}

.annual-slider-arrow svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.annual-slider-arrow--prev {
    left: 12px;
}

.annual-slider-arrow--next {
    right: 12px;
}

.annual-row__slides {
    position: relative;
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.annual-row__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.annual-row__slide.is-active {
    opacity: 1;
    z-index: 2;
}

.annual-row__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.annual-row__caption {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    background: rgba(255, 255, 255, 0.92);
    padding: 10px 12px;
    border-bottom: 2px solid #4CAF50;
    box-sizing: border-box;
    padding-right: 2px;
    letter-spacing: 0.02em;
}

/* ドットナビ */
.annual-row__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.annual-row__dots .annual-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d0d0;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.annual-row__dots .annual-dot:hover {
    background: #81C784;
    transform: scale(1.2);
}

.annual-row__dots .annual-dot.is-active {
    background: #4CAF50;
    transform: scale(1.25);
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .annual-lead {
        font-size: 20px;
    }

    .annual-desc {
        text-align: left;
        font-size: 14px;
    }

    .annual-gallery {
        padding: 30px 0 40px;
    }

    .annual-gallery__inner {
        padding: 0 20px 0 20px;
        padding-left: 72px;
    }

    .annual-gallery__inner::before {
        left: 22px;
    }

    .annual-row {
        flex-direction: column;
        gap: 20px;
        padding: 32px 0;
    }

    .annual-row__slider {
        width: 100%;
    }

    .annual-row__month {
        left: -60px;
        top: 32px;
        width: 48px;
    }

    .annual-row:first-child .annual-row__month {
        top: 32px;
    }

    .annual-row__month-num {
        font-size: 36px;
    }

    .annual-row__month-en {
        font-size: 8px;
        letter-spacing: 0.15em;
    }

    .annual-gallery__inner {
        padding-left: 72px;
    }

    .annual-row::before {
        left: -49px;
        top: 110px;
        bottom: -32px;
    }

    .annual-row__month::after {
        width: 30px;
        height: 2px;
    }

    .annual-row__list li {
        font-size: 14px;
        line-height: 2;
    }

    .annual-row__slides {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }
}

/* =====================
   資料請求フォーム
   ===================== */
.request-form__lead {
    text-align: center;
    margin-bottom: 40px;
    line-height: 2;
}

.request-form__fields {
    max-width: 720px;
    margin: 0 auto;
}

.request-form__group {
    margin-bottom: 32px;
}

.request-form__label {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
}

.request-form__required {
    display: inline-block;
    background: #5b9bd5;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    margin-left: 10px;
    vertical-align: middle;
    line-height: 1.4;
    border-radius: 2px;
    letter-spacing: 0.05em;
}

.request-form__group input[type="text"],
.request-form__group input[type="email"],
.request-form__group input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    background: #f8f9fb;
    font-size: 16px;
    color: #222;
    transition: border-color 0.3s, background 0.3s;
    outline: none;
}

.request-form__group input[type="text"]:focus,
.request-form__group input[type="email"]:focus,
.request-form__group input[type="tel"]:focus {
    border-color: #5b9bd5;
    background: #fff;
}

.request-form__group input::placeholder {
    color: #bbb;
}

.request-form__select {
    width: 100%;
    padding: 14px 40px 14px 16px;
    border: 1px solid #ddd;
    background: #f8f9fb;
    font-size: 16px;
    color: #222;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235b9bd5' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    transition: border-color 0.3s, background 0.3s;
}

.request-form__select:focus {
    border-color: #5b9bd5;
    background: #fff;
}

.request-form__radios {
    display: flex;
    gap: 24px;
    padding: 8px 0;
}

.request-form__radio {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
    color: #333;
}

.request-form__radio input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 8px;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s;
}

.request-form__radio input[type="radio"]:checked {
    border-color: #5b9bd5;
}

.request-form__radio input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #5b9bd5;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.request-form__consent {
    text-align: center;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}

.request-form__consent p {
    color: #555;
}

.request-form__consent a {
    color: #136db6;
    text-decoration: underline;
    font-weight: 500;
}

.request-form__checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    color: #333;
}

.request-form__checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s, border-color 0.2s;
}

.request-form__checkbox input[type="checkbox"]:checked {
    background: #136db6;
    border-color: #136db6;
}

.request-form__checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.request-form__submit {
    text-align: center;
    margin-top: 40px;
}

.request-form__btn {
    display: inline-block;
    background: #222;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 18px 72px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    letter-spacing: 0.05em;
}

.request-form__complete {
    text-align: center;
}

.request-confirm__table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto 40px;
    max-width: 700px;
}

.request-confirm__table th,
.request-confirm__table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15px;
    text-align: left;
}

.request-confirm__table th {
    width: 180px;
    font-weight: 500;
    color: #555;
    background: #f9f9f9;
}

.request-form__btn--back {
    background: #999;
}

.request-form__btn--back:hover {
    background: #777;
}

.request-form__btn:hover {
    background: #444;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .request-form__group {
        margin-bottom: 24px;
    }

    .request-form__btn {
        width: 100%;
        padding: 18px 24px;
    }
}

/* =====================
   クラブ活動
   ===================== */

/* --- 中学/高校 メインタブ --- */
.club-tab-section {
    padding: 48px 0 0;
    background: #fff;
}

.club-tab-section__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.club-tab-wrap {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.page-template-page-annual-events .club-tab-wrap,
.page-template-page-annual-events .club-tab-wrap {
    padding-top: 60px;
}

.club-tab-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 240px;
    text-align: left;
    position: relative;
    border-bottom: 3px solid transparent;
    padding-bottom: 16px;
}

.club-tab-btn:hover {
    opacity: 0.8;
}

.club-tab-btn.is-active {
    border-bottom-color: #4CAF50;
}

.club-tab-btn__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s;
    color: #bbb;
}

.club-tab-btn__icon svg {
    width: 20px;
    height: 20px;
}

.club-tab-btn.is-active .club-tab-btn__icon {
    background: #4CAF50;
    color: #fff;
}

.club-tab-btn__text {
    text-align: center;
}

.club-tab-btn__label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #bbb;
    transition: color 0.3s;
}

.club-tab-btn.is-active .club-tab-btn__label {
    color: #222;
}

.club-tab-btn__sub {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: #ccc;
    margin-top: 3px;
    transition: color 0.3s;
}

.club-tab-btn.is-active .club-tab-btn__sub {
    color: #4CAF50;
}

/* 高校テーマ タブ */
.club-theme-high .club-tab-btn.is-active,
.page-template-page-clubs .club-tab-btn.is-active {
    border-bottom-color: #136db6;
}

.club-theme-high .club-tab-btn.is-active .club-tab-btn__icon,
.page-template-page-clubs .club-tab-btn.is-active .club-tab-btn__icon {
    background: #136db6;
}

.club-theme-high .club-tab-btn.is-active .club-tab-btn__sub,
.page-template-page-clubs .club-tab-btn.is-active .club-tab-btn__sub {
    color: #136db6;
}

/* 中学テーマ（bodyにclub-theme-juniorが付く）緑を強制 */
body.club-theme-junior .club-tab-btn.is-active {
    border-bottom-color: #4CAF50;
}

body.club-theme-junior .club-tab-btn.is-active .club-tab-btn__icon {
    background: #4CAF50;
}

body.club-theme-junior .club-tab-btn.is-active .club-tab-btn__sub {
    color: #4CAF50;
}

body.club-theme-junior .club-sub-tab__item.is-active {
    background: #4CAF50;
}

body.club-theme-junior .club-card__name {
    border-bottom-color: #4CAF50;
}

body.club-theme-junior .club-card__dt {
    background: #a3a3a3;
}

body.club-theme-junior .club-blog-banner {
    background: linear-gradient(135deg, #43a047, #66bb6a);
}

/* --- 運動部 / 文化部 サブタブ --- */
.club-sub-tab {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
    background: #f0f0f0;
    border-radius: 8px;
    padding: 4px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.club-sub-tab__item {
    flex: 1;
    padding: 12px 32px;
    font-size: 14px;
    color: #888;
    position: relative;
    transition: all 0.3s;
    letter-spacing: 0.06em;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
}

.club-sub-tab__item:hover {
    color: #555;
}

.club-sub-tab__item.is-active {
    color: #fff;
    font-weight: 500;
    background: #4CAF50;
}

.club-sub-content {
    display: none;
}

.club-sub-content.is-active {
    display: block;
}

/* --- カードグリッド --- */
.club-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.club-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.club-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 12px 40px rgba(0, 0, 0, 0.1);
}

.club-card__img-wrap {
    position: relative;
    overflow: hidden;
}

.club-card__img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.club-card__img[alt="男子バスケットボール部"] {
    object-position: top;
}

.club-card:hover .club-card__img {
    transform: scale(1.04);
}

.club-card__body {
    padding: 24px 28px 28px;
}

.club-card__name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #222;
    padding-bottom: 0;
    border-bottom: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.club-card__badge {
    font-size: 11px;
    font-weight: 500;
    color: #136db6;
    background: none;
    border: 1px solid #136db6;
    padding: 2px 10px;
    border-radius: 20px;
    line-height: 1.5;
    flex-shrink: 0;
    letter-spacing: 0.04em;
}

.club-card__badge--green {
    color: #429245;
    border-color: #429245;
}

.club-card__dl {
    margin: 0;
}

.club-card__dt {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 0.08em;
    display: inline-block;
    background: #a3a3a3;
    padding: 2px 10px;
    border-radius: 0px;
    line-height: 1.6;
}

.club-card__dd {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin: 0 0 16px;
}

.club-card__dd:last-child {
    margin-bottom: 0;
}

/* --- クラブ活動ブログ バナー --- */
.club-blog-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 56px auto 0;
    text-align: center;
    text-decoration: none;
    background: linear-gradient(135deg, #43a047, #66bb6a);
    color: #fff;
    padding: 40px 40px;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.25);
    position: relative;
    overflow: hidden;
}

.club-blog-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.club-blog-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.club-blog-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(76, 175, 80, 0.35);
}

.club-blog-banner__text {
    position: relative;
    z-index: 1;
}

.club-blog-banner__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 2px;
}

.club-blog-banner__sub {
    font-size: 11px;
    letter-spacing: 0.14em;
    opacity: 0.8;
}

.club-blog-banner__arrow {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s;
}

.club-blog-banner:hover .club-blog-banner__arrow {
    background: rgba(255, 255, 255, 0.35);
}

.club-blog-banner__arrow svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- セクション --- */
.club-section {
    padding: 60px 0 80px;
    background: #f7f8fa;
}

.club-section__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 高校テーマ カード・バナー --- */
.club-theme-high .club-sub-tab__item.is-active,
.page-template-page-clubs .club-sub-tab__item.is-active {
    background: #136db6;
}

.club-theme-high .club-card__name,
.page-template-page-clubs .club-card__name {
    border-bottom-color: #136db6;
}

.club-theme-high .club-card__dt,
.page-template-page-clubs .club-card__dt {
    background: #a3a3a3;
}

.club-theme-high .club-blog-banner,
.page-template-page-clubs .club-blog-banner {
    background: linear-gradient(135deg, #1565c0, #42a5f5);
    box-shadow: 0 4px 16px rgba(19, 109, 182, 0.25);
}

.club-theme-high .club-blog-banner:hover,
.page-template-page-clubs .club-blog-banner:hover {
    box-shadow: 0 8px 28px rgba(19, 109, 182, 0.35);
}

/* --- タブコンテンツ切り替え --- */
.club-tab-content {
    display: none;
}

.club-tab-content.is-active {
    display: block;
}

/* --- SP --- */
@media (max-width: 768px) {
    .club-tab-section {
        padding: 32px 0 0;
    }

    .club-tab-wrap {
        gap: 12px;
    }

    .page-template-page-annual-events .club-tab-wrap,
    .page-template-page-annual-events .club-tab-wrap {
        padding-top: 20px;
    }

    .page-template-page-annual-events .sub-section,
    .page-template-page-annual-events .sub-section {
        padding: 40px 20px 0px;
    }

    .club-tab-btn {
        padding: 16px 20px;
        min-width: 0;
        flex: 1;
        gap: 12px;
        border-radius: 0px;
    }

    .club-tab-btn__icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .club-tab-btn__icon svg {
        width: 18px;
        height: 18px;
    }

    .club-tab-btn__label {
        font-size: 14px;
    }

    .club-tab-btn__sub {
        font-size: 9px;
    }

    .club-sub-tab {
        margin-bottom: 32px;
        max-width: 100%;
    }

    .club-sub-tab__item {
        padding: 10px 20px;
        font-size: 13px;
    }

    .club-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .club-section {
        padding: 36px 0 48px;
    }

    .club-card {
        border-radius: 8px;
    }

    .club-card__body {
        padding: 20px 20px 24px;
    }

    .club-card__name {
        font-size: 17px;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .club-blog-banner {
        margin: 36px 0px 0;
        padding: 35px 24px;
        border-radius: 10px;
    }

    .club-blog-banner__title {
        font-size: 18px;
    }

    .club-blog-banner__arrow {
        width: 36px;
        height: 36px;
    }
}

/* =====================
   コース紹介
   ===================== */

/* ヒーロー */
.course-hero {
    position: relative;
    background-size: cover;
    background-position: center right;
    background-color: #fff;
    padding: 0 20px 0px;
}

.course-hero__sp-img {
    display: none;
    width: 100%;
}

.course-hero .breadcrumb {
    background: transparent;
}

.course-hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 140px 0 140px;
}

.course-hero__title {
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "HG明朝E", serif;
}

.page-template-page-course-s-tokushin .course-hero__title {
    color: #5a3282;
}

/* 特進コース テーマカラー */
.page-template-page-course-tokushin .course-hero__title {
    color: #48a0b0;
}

.page-template-page-course-tokushin .course-voice {
    background-color: #8fd4df;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1.5px, transparent 1.6px);
    background-size: 22px 22px;
}

.page-template-page-course-tokushin .course-voice__badge {
    background: #48a0b0;
}

.page-template-page-course-tokushin .course-voice__heading {
    color: #2a7a8a;
}

.page-template-page-course-tokushin .course-voice__title {
    color: #2a7a8a;
}

.page-template-page-course-tokushin .course-voice__title::after {
    background: radial-gradient(#8fd4df 0%, #8fd4df 25%, transparent 25%, transparent 100%) center 0 repeat-x;
    background-size: 15px 15px;
}

.page-template-page-course-tokushin .course-teacher {
    background-image: url('../images/course/img_toku_teacher.png');
}

.page-template-page-course-tokushin .course-teacher__heading em {
    color: #48a0b0;
}

.page-template-page-course-tokushin .course-teacher__heading::after {
    background: #48a0b0;
}

.page-template-page-course-tokushin .course-points__heading::after {
    background: #48a0b0;
}

.page-template-page-course-tokushin .course-flow__heading::after {
    background: #48a0b0;
}

.page-template-page-course-tokushin .course-points__item::before {
    background-color: #48a0b0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

/* 高校S特進コース */
.page-template-page-course-s-tokushin-high .course-hero__title {
    color: #5a3282;
}

.page-template-page-course-s-tokushin-high .course-voice--grad {
    background: #ec6d65;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.6px);
    background-size: 22px 22px;
}

.page-template-page-course-s-tokushin-high .course-voice--grad .course-voice__badge {
    background: #ec6d65;
}

.page-template-page-course-s-tokushin-high .course-voice--grad .course-voice__heading {
    color: #c94a42;
}

.page-template-page-course-s-tokushin-high .course-voice--grad .course-voice__title {
    color: #c94a42;
}

.page-template-page-course-s-tokushin-high .course-voice--grad .course-voice__title::after {
    background: radial-gradient(#ec6d65 0%, #ec6d65 25%, transparent 25%, transparent 100%) center 0 repeat-x;
    background-size: 15px 15px;
}

.page-template-page-course-s-tokushin-high .course-teacher {
    background-image: url('../images/course-senior/img_spcl_st.jpg');
}

/* 高校特進コース */
.page-template-page-course-tokushin-high .course-hero__title {
    color: #48a0b0;
}

.page-template-page-course-tokushin-high .course-voice {
    background-color: #8fd4df;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1.5px, transparent 1.6px);
    background-size: 22px 22px;
}

.page-template-page-course-tokushin-high .course-voice__badge {
    background: #48a0b0;
}

.page-template-page-course-tokushin-high .course-voice__heading {
    color: #2a7a8a;
}

.page-template-page-course-tokushin-high .course-voice__title {
    color: #2a7a8a;
}

.page-template-page-course-tokushin-high .course-voice__title::after {
    background: radial-gradient(#8fd4df 0%, #8fd4df 25%, transparent 25%, transparent 100%) center 0 repeat-x;
    background-size: 15px 15px;
}

.page-template-page-course-tokushin-high .course-points__item-title::before {
    background-color: #48a0b0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

.page-template-page-course-tokushin-high .course-points__heading::after {
    background: #48a0b0;
}

.page-template-page-course-tokushin-high .course-flow__heading::after {
    background: #48a0b0;
}

.page-template-page-course-tokushin-high .course-voice--grad {
    background: #ec6d65;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.6px);
    background-size: 22px 22px;
}

.page-template-page-course-tokushin-high .course-voice--grad .course-voice__badge {
    background: #ec6d65;
}

.page-template-page-course-tokushin-high .course-voice--grad .course-voice__heading {
    color: #c94a42;
}

.page-template-page-course-tokushin-high .course-voice--grad .course-voice__title {
    color: #c94a42;
}

.page-template-page-course-tokushin-high .course-voice--grad .course-voice__title::after {
    background: radial-gradient(#ec6d65 0%, #ec6d65 25%, transparent 25%, transparent 100%) center 0 repeat-x;
    background-size: 15px 15px;
}

/* 高校総合進学コース */
.page-template-page-course-sogo-high .course-hero__title {
    color: #5a8a3c;
}

.page-template-page-course-sogo-high .course-voice {
    background-color: #8bc078;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1.5px, transparent 1.6px);
    background-size: 22px 22px;
}

.page-template-page-course-sogo-high .course-voice__badge {
    background: #5a8a3c;
}

.page-template-page-course-sogo-high .course-voice__heading {
    color: #3d6a28;
}

.page-template-page-course-sogo-high .course-voice__title {
    color: #3d6a28;
}

.page-template-page-course-sogo-high .course-voice__title::after {
    background: radial-gradient(#8bc078 0%, #8bc078 25%, transparent 25%, transparent 100%) center 0 repeat-x;
    background-size: 15px 15px;
}

.page-template-page-course-sogo-high .course-points__item-title::before {
    background-color: #5a8a3c;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

.page-template-page-course-sogo-high .course-points__heading::after {
    background: #5a8a3c;
}

.page-template-page-course-sogo-high .course-flow__heading::after {
    background: #5a8a3c;
}

.page-template-page-course-sogo-high .course-voice--grad {
    background: #ec6d65;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.6px);
    background-size: 22px 22px;
}

.page-template-page-course-sogo-high .course-voice--grad .course-voice__badge {
    background: #ec6d65;
}

.page-template-page-course-sogo-high .course-voice--grad .course-voice__heading {
    color: #c94a42;
}

.page-template-page-course-sogo-high .course-voice--grad .course-voice__title {
    color: #c94a42;
}

.page-template-page-course-sogo-high .course-voice--grad .course-voice__title::after {
    background: radial-gradient(#ec6d65 0%, #ec6d65 25%, transparent 25%, transparent 100%) center 0 repeat-x;
    background-size: 15px 15px;
}

/* 高校美術コース */
.page-template-page-course-art-high .course-hero__title {
    color: #d49b1f;
}

.page-template-page-course-art-high .course-voice {
    background-color: #f0c85a;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1.5px, transparent 1.6px);
    background-size: 22px 22px;
}

.page-template-page-course-art-high .course-voice__badge {
    background: #d49b1f;
}

.page-template-page-course-art-high .course-voice__heading {
    color: #a07718;
}

.page-template-page-course-art-high .course-voice__title {
    color: #a07718;
}

.page-template-page-course-art-high .course-voice__title::after {
    background: radial-gradient(#f0c85a 0%, #f0c85a 25%, transparent 25%, transparent 100%) center 0 repeat-x;
    background-size: 15px 15px;
}

.page-template-page-course-art-high .course-points__heading::after {
    background: #d49b1f;
}

.page-template-page-course-art-high .course-flow__heading::after {
    background: #d49b1f;
}

.page-template-page-course-art-high .course-voice--grad {
    background: #ec6d65;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.6px);
    background-size: 22px 22px;
}

.page-template-page-course-art-high .course-voice--grad .course-voice__badge {
    background: #ec6d65;
}

.page-template-page-course-art-high .course-voice--grad .course-voice__heading {
    color: #c94a42;
}

.page-template-page-course-art-high .course-voice--grad .course-voice__title {
    color: #c94a42;
}

.page-template-page-course-art-high .course-voice--grad .course-voice__title::after {
    background: radial-gradient(#ec6d65 0%, #ec6d65 25%, transparent 25%, transparent 100%) center 0 repeat-x;
    background-size: 15px 15px;
}

/* アートギャラリー バナー */
.course-art-banner {
    padding: 0 20px 50px;
    background: #fff;
}

.course-art-banner__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 480px;
    margin: 0 auto;
    padding: 24px 40px;
    background: #d49b1f;
    color: #fff;
    text-decoration: none;
    border-radius: 60px;
    transition: background 0.3s, color 0.3s;
    border: 2px solid #d49b1f;
}

.course-art-banner__link:hover {
    background: #fff;
    color: #d49b1f;
}

.course-art-banner__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.course-art-banner__icon svg {
    width: 100%;
    height: 100%;
}

.course-art-banner__title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.course-art-banner__sub {
    display: block;
    font-size: 11px;
    letter-spacing: 0.14em;
    opacity: 0.8;
}

/* コースのポイント カード版（美術コース） */
.course-points__cards {
    display: flex;
    gap: 32px;
}

.course-points__card {
    flex: 1;
    overflow: hidden;
}

.course-points__card-img {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.course-points__card-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.course-points__card-title {
    font-size: 17px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
    padding-left: 32px;
    position: relative;
}

.course-points__card-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background: #d49b1f;
    border-radius: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-size: 13px;
    background-position: center;
    background-repeat: no-repeat;
}

.course-points__card-text {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
    margin: 0;
}

@media (max-width: 768px) {
    .course-points__cards {
        flex-direction: column;
        gap: 40px;
    }
}

/* =====================
   学びのロードマップ
   ===================== */
.roadmap {
    padding: 80px 20px;
    background: #f5f7fa;
}

.roadmap__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.roadmap__heading {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
}

.roadmap__lead {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 48px;
}

.roadmap__row {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
}

.roadmap__year {
    width: 88px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    text-align: center;
    padding: 20px 8px;
    writing-mode: vertical-rl;
    letter-spacing: 0.1em;
    min-height: 240px;
    white-space: nowrap;
}

.roadmap__year-num {
    font-size: 32px;
    font-weight: 600;
    text-orientation: upright;
}

.roadmap__year-label {
    font-size: 18px;
    padding-top: 3px;
}

/* 1学年: 下三角矢印付き */
.roadmap__year--hex {
    background: #5185c5;
    position: relative;
    border-radius: 0;
    margin-bottom: 20px;
}

.roadmap__year--hex::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 44px 0 44px;
    border-color: #5185c5 transparent transparent transparent;
}

.roadmap__year--blue {
    background: #5185c5;
    position: relative;
    margin-bottom: 20px;
}

.roadmap__year--blue::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 44px 0 44px;
    border-color: #5185c5 transparent transparent transparent;
}

.roadmap__year--yellow {
    background: #fef9c4;
    color: #5185c5;
    position: relative;
    margin-bottom: 20px;
    writing-mode: vertical-rl;
}

.roadmap__year--yellow::after {
    display: none;
}

/* 1学年コース: 横並びピル */
.roadmap__courses--1st {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 0 0 20px;
    margin-bottom: 20px;
}

.roadmap__pill {
    display: inline-block;
    padding: 10px 10px;
    border: 2px solid;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    background: #fff;
}

.roadmap__courses--1st.roadmap__courses--1st-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    align-items: center;
    padding: 20px;
    background: #fff;
}

.roadmap__pill--spcl { border-color: #9b72b0; color: #5a3282; }
.roadmap__pill--toku { border-color: #48a0b0; color: #48a0b0; }
.roadmap__pill--sogo { border-color: #5a8a3c; color: #5a8a3c; }
.roadmap__pill--art { border-color: #d49b1f; color: #d49b1f; }

/* 2-3学年・目標 コースグリッド */
.roadmap__courses {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 20px;
    background: #fff;
    align-items: center;
    margin-bottom: 20px;
}

.roadmap__row--jr .roadmap__courses,
.roadmap__row--high23 .roadmap__courses {
    display: block;
    padding: 28px;
}

.roadmap__course {
    border: 2px solid;
    border-radius: 10px;
    padding: 24px 16px;
    text-align: center;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.roadmap__course--spcl { border-color: #9b72b0; }
.roadmap__course--toku { border-color: #48a0b0; }
.roadmap__course--sogo { border-color: #5a8a3c; }
.roadmap__course--art { border-color: #d49b1f; }

.roadmap__course-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.roadmap__course--spcl .roadmap__course-name { color: #5a3282; }
.roadmap__course--toku .roadmap__course-name { color: #48a0b0; }
.roadmap__course--sogo .roadmap__course-name { color: #5a8a3c; }
.roadmap__course--art .roadmap__course-name { color: #d49b1f; }

.roadmap__tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: calc(100% + 32px);
    margin: 0 -16px -24px;
    padding: 15px;
}

.roadmap__course--spcl .roadmap__tags { background: #e0d5e9; }
.roadmap__course--toku .roadmap__tags { background: #d4ecea; }
.roadmap__course--sogo .roadmap__tags { background: #dcedc8; }
.roadmap__course--art .roadmap__tags { background: #fef3e3; }

.roadmap__tag {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 0px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.roadmap__tag--spcl { background: #5a3282; }
.roadmap__tag--toku { background: #48a0b0; }
.roadmap__tag--sogo { background: #5a8a3c; }
.roadmap__tag--art { background: #d49b1f; }

/* 下矢印 */
.roadmap__arrows {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-left: 88px;
    margin-bottom: 20px;
}

.roadmap__courses--jr {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.roadmap__courses--grid4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.roadmap__arrows--jr {
    grid-template-columns: repeat(2, 1fr);
}

/* コース説明付きカード */
.roadmap__course--desc {
    padding: 24px 20px;
    background: transparent;
}

.roadmap__course--desc .roadmap__course-name {
    margin-bottom: 16px;
}

.roadmap__course-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
    color: #333;
    margin: 0;
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-bottom: -24px;
    padding: 15px 20px;
}

.roadmap__course--spcl .roadmap__course-text {
    background: #e0d5e9;
}

.roadmap__course--toku .roadmap__course-text {
    background: #d4ecea;
}

/* 注意書き */
.roadmap__notes {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.roadmap__notes li {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    padding-left: 1.2em;
    position: relative;
}

.roadmap__notes li::before {
    content: "●";
    position: absolute;
    left: 0;
    font-size: 10px;
    top: 3px;
}

/* 探求学習・個別学習 */
.roadmap__feature {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
    border: 1px solid #ddd;
    border-left: 4px solid #4CAF50;
    border-radius: 4px;
    margin-bottom: 16px;
    background: #fff;
}

.roadmap__feature-label {
    flex-shrink: 0;
    padding: 10px 32px;
    background: #f0f0f0;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    color: #4CAF50;
    white-space: nowrap;
}

.roadmap__feature-text {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

/* 年バッジ（中学・高校） */
.roadmap__year-badge {
    font-size: 12px;
    font-weight: 600;
    background: #fff;
    color: #5185c5;
    padding: 2px 8px;
    border-radius: 3px;
    writing-mode: horizontal-tb;
    margin-bottom: 4px;
}

.page-template-page-course-junior .roadmap__year {
    min-height: auto;
}

.roadmap__year--green {
    background: #4CAF50;
    position: relative;
    margin-bottom: 20px;
}

.roadmap__year--green::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 44px 0 44px;
    border-color: #4CAF50 transparent transparent transparent;
}

.roadmap__year--green .roadmap__year-badge {
    color: #4CAF50;
}

@media (max-width: 768px) {
    .roadmap__courses--jr {
        grid-template-columns: 1fr;
    }

    .roadmap__courses--grid4 {
        grid-template-columns: 1fr;
    }

    .roadmap__feature {
        flex-direction: column;
        gap: 12px;
    }

    .roadmap__year--green {
        border-radius: 0px;
        margin-bottom: 0px;
    }

    .roadmap__year--green::after {
        display: none;
    }
}

/* コース別の合格実績 */
.roadmap-results {
    margin-top: 40px;
    background: #f5f7fa;
}

.roadmap-results__header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 0px;
    padding: 20px 28px;
    background: #555;
    color: #fff;
}

.roadmap-results__heading {
    font-size: 24px;
    font-weight: 600;
    white-space: nowrap;
}

.roadmap-results__note {
    font-size: 13px;
    margin: 0;
}

.roadmap-results__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: #fff;
    padding: 32px 28px;
}

.roadmap-results__name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 3px solid;
}

.roadmap-results__col--spcl .roadmap-results__name { color: #5a3282; border-color: #5a3282; }
.roadmap-results__col--toku .roadmap-results__name { color: #48a0b0; border-color: #48a0b0; }
.roadmap-results__col--sogo .roadmap-results__name { color: #5a8a3c; border-color: #5a8a3c; }
.roadmap-results__col--art .roadmap-results__name { color: #d49b1f; border-color: #d49b1f; }

.roadmap-results__list {
    font-size: 13px;
    line-height: 2;
    color: #444;
    margin: 0;
}

@media (max-width: 768px) {
    .roadmap-results__header {
        flex-direction: column;
        gap: 8px;
        padding: 16px 20px;
    }

    .roadmap-results__heading {
        font-size: 20px;
    }

    .roadmap-results__grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 24px 20px;
    }
}

.roadmap__arrow {
    display: flex;
    justify-content: center;
}

.roadmap__arrow svg {
    width: 32px;
    height: 32px;
}

/* 目標とする進路 */
.roadmap__goal {
    border-radius: 10px;
    padding: 20px 16px;
    height: 100%;
}

.roadmap__goal--spcl { background: #e0d5e9; }
.roadmap__goal--toku { background: #d4ecea; }
.roadmap__goal--sogo { background: #dcedc8; }
.roadmap__goal--art { background: #fff3cd; }

.roadmap__goal-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.roadmap__goal--spcl .roadmap__goal-name { color: #5a3282; }
.roadmap__goal--toku .roadmap__goal-name { color: #48a0b0; }
.roadmap__goal--sogo .roadmap__goal-name { color: #5a8a3c; }
.roadmap__goal--art .roadmap__goal-name { color: #d49b1f; }

.roadmap__goal-text {
    font-size: 13px;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

@media (max-width: 768px) {
    .roadmap {
        padding: 56px 20px;
    }

    .roadmap__heading {
        font-size: 22px;
    }

    .roadmap__row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
        position: relative;
        padding-bottom: 50px;
    }

    .roadmap__row::after {
        content: "";
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 25px 44px 0 44px;
        border-color: #707070 transparent transparent transparent;
    }

    .roadmap__row:last-child {
        padding-bottom: 0;
    }

    .roadmap__row:last-child::after {
        display: none;
    }

    .roadmap__year {
        width: 100%;
        writing-mode: horizontal-tb;
        padding: 12px 16px;
        flex-direction: row;
        gap: 4px;
        min-height: auto;
    }

    .roadmap__year--hex {
        border-radius: 0px;
        margin-bottom: 0px;
    }

    .roadmap__year--hex::after,
    .roadmap__year--blue::after {
        display: none;
    }

    .roadmap__year--blue,
    .roadmap__year--yellow {
        border-radius: 0px;
        margin-bottom: 0px;
    }

    .roadmap__year-num {
        font-size: 20px;
        text-orientation: initial;
    }

    .roadmap__year-label {
        font-size: 18px;
        padding-top: 0;
    }

    .roadmap__courses--1st {
        flex-wrap: wrap;
    }

    .roadmap__courses {
        grid-template-columns: 1fr;
        padding: 20px 20px;
        margin-bottom: 0px;
    }

    .roadmap__arrows {
        display: none;
        margin-left: 0;
    }
}

.course-hero__lead {
    font-size: 15px;
    line-height: 2;
    color: #444;
}

@media (max-width: 768px) {
    .course-hero {
        background-image: none !important;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    .course-hero .breadcrumb {
        order: -2;
    }

    .course-hero__inner {
        order: -1;
        padding: 30px 20px 0px;
        background: #fff;
        position: relative;
        z-index: 1;
    }

    .course-hero__title {
        font-size: 28px;
    }

    .course-hero__lead {
        font-size: 14px;
    }

    .course-hero__sp-img {
        display: block;
        width: 100%;
        height: auto;
        margin-top: -40px;
        position: relative;
        z-index: 0;
    }
}

/* コース紹介カード */
.course-cards {
    padding: 0 0px;
}

.course-cards__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0px 20px 60px;
}

@media (max-width: 1000px) {
    .course-cards__inner {
        padding: 60px 20px;
    }
}

/* コースサイドナビ */
.course-sidenav {
    position: sticky;
    top: 100px;
    width: 260px;
    flex-shrink: 0;
    align-self: flex-start;
}

.course-sidenav__header {
    background: #444;
    padding: 20px 24px;
}

.course-sidenav__header a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.course-sidenav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e5e5e5;
    border-top: none;
}

.course-sidenav__item {
    border-bottom: 1px solid #e5e5e5;
}

.course-sidenav__item:last-child {
    border-bottom: none;
}

.course-sidenav__item a {
    display: block;
    padding: 16px 24px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: all 0.25s;
}

.course-sidenav__item a:hover {
    background: #f8f8f8;
    color: #222;
}

.course-sidenav__item.is-active {
    border-left: 3px solid #136db6;
}

.course-sidenav__item.is-active a {
    color: #222;
    font-weight: 600;
    background: #f5f7fa;
}

/* 中学のサイドナビ */
.page-template-page-course-junior .course-sidenav__item.is-active,
.page-template-page-course-s-tokushin .course-sidenav__item.is-active,
.page-template-page-course-tokushin .course-sidenav__item.is-active,
.page-template-page-curriculum-junior .course-sidenav__item.is-active,
.page-template-page-admission-junior .course-sidenav__item.is-active,
.page-template-page-admission-info-junior .course-sidenav__item.is-active,
.page-template-page-tuition-junior .course-sidenav__item.is-active {
    border-left-color: #429245;
}

.page-template-page-course-junior .course-sidenav__header,
.page-template-page-course-s-tokushin .course-sidenav__header,
.page-template-page-course-tokushin .course-sidenav__header,
.page-template-page-curriculum-junior .course-sidenav__header,
.page-template-page-admission-junior .course-sidenav__header,
.page-template-page-admission-info-junior .course-sidenav__header,
.page-template-page-tuition-junior .course-sidenav__header {
    background: #429245;
}

.course-sidenav__header a {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.course-sidenav__header-sub {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.7;
}

/* 他校リンク */
.course-sidenav__other {
    padding: 14px 24px;
    border: 1px solid #e5e5e5;
    border-top: none;
    background: #fafafa;
}

.course-sidenav__other a {
    font-size: 13px;
    color: #888;
    text-decoration: none;
    transition: color 0.25s;
}

.course-sidenav__other a:hover {
    color: #136db6;
}

/* サイドナビ トグル */
.course-sidenav__item--parent > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.course-sidenav__toggle-icon {
    font-size: 14px;
    color: #bbb;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.course-sidenav__item--parent.is-open .course-sidenav__toggle-icon {
    transform: rotate(45deg);
}

.course-sidenav__toggle-body {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.course-sidenav__item--parent.is-open .course-sidenav__toggle-body {
    max-height: 400px;
}

.course-sidenav__toggle-body li {
    border-top: 1px solid #f0f0f0;
}

.course-sidenav__toggle-body li a {
    display: block;
    padding: 12px 24px 12px 40px;
    font-size: 13px;
    color: #777;
    text-decoration: none;
    transition: all 0.25s;
}

.course-sidenav__toggle-body li a:hover {
    color: #222;
    background: #f8f8f8;
}

/* サイドナビ付きレイアウト */
.course-with-sidenav {
    display: flex;
    gap: 40px;
    margin: 0 auto;
    padding: 40px 20px;
    justify-content: center;
}

.course-with-sidenav__main {
    width: calc(100% - 320px);
    min-width: 0;
    max-width: 1100px;
}

@media (max-width: 1000px) {
    .course-with-sidenav {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }

    .course-with-sidenav__main {
        width: 100%;
        max-width: none;
    }

    .course-sidenav {
        position: static;
        width: 100%;
        order: 2;
        padding: 0 0px 0px;
    }

    .about-cards {
        padding: 60px 20px 35px;
    }

    .page-template-page-admission .course-with-sidenav__main .sub-section,
    .page-template-page-admission-info .course-with-sidenav__main .sub-section,
    .page-template-page-admission-junior .course-with-sidenav__main .sub-section,
    .page-template-page-admission-info-junior .course-with-sidenav__main .sub-section,
    .page-template-page-tuition .course-with-sidenav__main .sub-section,
    .page-template-page-tuition-junior .course-with-sidenav__main .sub-section,
    .page-template-page-history .course-with-sidenav__main .sub-section,
    .page-template-page-students .course-with-sidenav__main .sub-section,
    .page-template-page-certificate .course-with-sidenav__main .sub-section,
    .page-template-page-schoolbus .course-with-sidenav__main .sub-section,
    .page-template-page-weather-alert .course-with-sidenav__main .sub-section,
    .page-template-page-events .course-with-sidenav__main .sub-section {
        padding: 80px 20px;
    }
}

/* コースのポイント */
.course-points {
    padding: 0px 20px 60px;
    background: #fff;
}

@media (max-width: 1000px) {
    .course-points {
        padding: 60px 20px;
    }
}

.course-points__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.course-points__heading {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
    color: #222;
}

.course-points__heading::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #5a3282;
    margin: 16px auto 40px;
    border-radius: 2px;
}

.course-points__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-points__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 15px;
    line-height: 1.9;
    color: #333;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.course-points__item:last-child {
    border-bottom: none;
}

.course-points__item::before {
    content: '';
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    background: #5a3282;
    border-radius: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

/* コースのポイント 詳細版（高校） */
.course-points__item--detail {
    flex-direction: column;
    gap: 0;
}

.course-points__item--detail::before {
    display: none;
}

.course-points__item-title {
    font-size: 17px;
    font-weight: 600;
    color: #222;
    padding-left: 36px;
    position: relative;
    margin-bottom: 12px;
}

.course-points__item-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: #5a3282;
    border-radius: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

.course-points__item-text {
    font-size: 14px;
    line-height: 2;
    color: #555;
    padding-left: 36px;
    margin: 0;
}

/* 在校生 出身校・学年 */
.course-voice__info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

/* 学習の流れ */
.course-flow {
    padding: 80px 20px;
    background: #f9f9fb;
}

.course-flow__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.course-flow__heading {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    padding-bottom: 16px;
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.course-flow__heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 120px;
    height: 3px;
    background: #5a3282;
}

.course-flow__lead {
    text-align: center;
    font-size: 18px;
    line-height: 2;
    font-weight: 500;
    color: #333;
    margin-bottom: 40px;
}

.course-flow__lead mark {
    background: linear-gradient(transparent 60%, #fff06a 60%);
    padding: 0 2px;
}

.course-flow__lead strong {
    font-size: 20px;
    font-weight: 600;
    color: #222;
}

.course-flow__img-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.course-flow__img {
    display: block;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* 在校生からの声 */
.course-voice {
    padding: 30px 20px;
    background: #bb92cc;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1.5px, transparent 1.6px);
    background-size: 22px 22px;
}

.course-voice__inner {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 50px;
}

.course-voice__label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.course-voice__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #5a3282;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.06em;
}

.course-voice__heading {
    font-size: 24px;
    font-weight: 600;
    color: #804798;
}

.course-voice__content {
    display: flex;
    gap: 48px;
    align-items: center;
}

.course-voice__text {
    flex: 1;
    min-width: 0;
}

.course-voice__title {
    font-size: 18px;
    font-weight: 600;
    color: #804798;
    margin-bottom: 20px;
    position: relative;
    padding: 0px 10px 32px;
}

.course-voice__title::after {
    content: "";
    background: radial-gradient(#bb92cc 0%, #bb92cc 25%, transparent 25%, transparent 100%) center 0 repeat-x;
    background-size: 15px 15px;
    width: 100%;
    height: 15px;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
}

.course-voice__body {
    font-size: 14px;
    line-height: 2;
    color: #444;
    margin: 24px 10px;
}

.course-voice__name {
    font-size: 14px;
    color: #555;
    text-align: right;
}

.course-voice__photo {
    flex-shrink: 0;
}

.course-voice__photo-circle {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background: #ddd;
}

.course-voice__photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 卒業生からの声（--grad modifier） */
.course-voice--grad {
    background: #ec6d65;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.6px);
    background-size: 22px 22px;
}

.course-voice--grad .course-voice__badge {
    background: #ec6d65;
}

.course-voice--grad .course-voice__heading {
    color: #c94a42;
}

.course-voice--grad .course-voice__title {
    color: #c94a42;
}

.course-voice--grad .course-voice__title::after {
    background: radial-gradient(#ec6d65 0%, #ec6d65 25%, transparent 25%, transparent 100%) center 0 repeat-x;
    background-size: 15px 15px;
}

/* 先生からのメッセージ */
.course-teacher {
    padding: 90px 20px;
    background: url('../images/course/img_spcl_teacher.png') no-repeat top left;
    background-size: cover;
    position: relative;
}

.course-teacher::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.course-teacher__inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.course-teacher__heading {
    text-align: center;
    padding-bottom: 30px;
    margin-bottom: 50px;
    position: relative;
}

.course-teacher__heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: #5a3282;
}

.course-teacher__heading em {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 400;
    font-style: italic;
    color: #5a3282;
    letter-spacing: 0.04em;
}

.course-teacher__content {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.course-teacher__text {
    flex: 1;
    min-width: 0;
}

.course-teacher__title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
}

.course-teacher__body {
    font-size: 14px;
    line-height: 2;
    color: #444;
    margin-bottom: 24px;
}

.course-teacher__name {
    text-align: right;
}

.course-teacher__name-role {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}

.course-teacher__name-main {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.1em;
}

.course-teacher__name-suffix {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
}

.course-teacher__photo {
    flex-shrink: 0;
    width: calc(100% / 3);
}

.course-teacher__photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}



/* SP コース紹介 */
@media (max-width: 768px) {
    .course-points {
        padding: 56px 20px;
    }

    .course-points__heading {
        font-size: 22px;
    }

    .course-points__item {
        font-size: 14px;
    }

    .course-flow {
        padding: 56px 20px;
    }

    .course-flow__lead strong {
        font-size: 17px;
    }

    .course-flow__img {
        min-width: 700px;
    }

    .course-voice {
        padding: 56px 20px;
    }

    .course-voice__inner {
        padding: 50px 20px;
    }

    .course-voice__content {
        display: contents;
    }

    .course-voice__text {
        display: contents;
    }

    .course-voice__inner {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .course-voice__label {
        order: -2;
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: -10px;
    }

    .course-voice__photo {
        order: -1;
        align-self: center;
    }

    .course-voice__photo-circle {
        width: 160px;
        height: 160px;
    }

    .course-voice__heading {
        font-size: 20px;
    }

    .course-teacher {
        padding: 56px 20px;
    }

    .course-teacher__content {
        flex-direction: column-reverse;
        gap: 32px;
    }

    .course-teacher__photo {
        width: 100%;
    }

    .course-teacher__heading em {
        font-size: 22px;
    }

    .course-voice__info {
        font-size: 12px;
    }

    .course-voice__body {
        margin: 0 0 24px;
    }

    .course-voice__title {
        padding: 0 0 32px;
    }

    .course-points__item-title {
        font-size: 16px;
    }

    .course-points__item-text {
        font-size: 13px;
    }
}

/* =====================
   アーカイブ・記事共通
   ===================== */

/* カテゴリフィルター */
.archive-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.archive-filter__item {
    display: inline-block;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
}

.archive-filter__item:hover {
    border-color: #136db6;
    color: #136db6;
}

.archive-filter__item.is-active {
    background: #136db6;
    border-color: #136db6;
    color: #fff;
}

/* 記事一覧 */
.archive-list {
    display: flex;
    flex-direction: column;
}

.archive-list__item {
    border-bottom: 1px solid #eee;
}

.archive-list__item:first-child {
    border-top: 1px solid #eee;
}

.archive-list__link {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    text-decoration: none;
    transition: opacity 0.3s;
}

.archive-list__link--no-thumb {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.archive-list__link--no-thumb .archive-list__body {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.archive-list__link--no-thumb .archive-list__title {
    flex: 1;
    min-width: 200px;
}

.archive-list__link:hover {
    opacity: 0.7;
}

.archive-list__thumb {
    width: 160px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.archive-list__thumb img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.archive-list__no-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #f0f0f0;
}

.archive-list__body {
    flex: 1;
    min-width: 0;
}

.archive-list__date {
    font-size: 13px;
    color: #888;
    margin-right: 12px;
}

.archive-list__cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #136db6;
    background: rgba(19, 109, 182, 0.08);
    padding: 2px 10px;
    border-radius: 3px;
    vertical-align: middle;
    margin-right: 4px;
}

.archive-list__cat--junior {
    color: #2a8e0e;
    background: rgba(42, 142, 14, 0.08);
}

.archive-list__cat--common {
    color: #888;
    background: rgba(0, 0, 0, 0.05);
}

.archive-list__cat--important,
.archive-list__cat--emergency {
    color: #fff;
    background: #b04e48;
}

.archive-list__cat--junior {
    color: #429245;
    background: rgba(66, 146, 69, 0.08);
}

.archive-list__cat--senior {
    color: #136db6;
    background: rgba(19, 109, 182, 0.08);
}

.archive-list__cat--common {
    color: #e67e22;
    background: rgba(230, 126, 34, 0.08);
}

.archive-list__title {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    margin-top: 8px;
    line-height: 1.6;
}

/* ページネーション */
.archive-pagination {
    margin-top: 48px;
    text-align: center;
}

.archive-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
}

.archive-pagination .page-numbers:hover {
    border-color: #136db6;
    color: #136db6;
}

.archive-pagination .page-numbers.current {
    background: #136db6;
    border-color: #136db6;
    color: #fff;
}

.archive-load-more {
    text-align: center;
    padding: 32px 0;
}

.archive-loadmore-wrap {
    text-align: center;
    margin-top: 40px;
}

.archive-loadmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 600;
    color: #136db6;
    background: #fff;
    border: 2px solid #136db6;
    border-radius: 50px;
    cursor: pointer;
    transition: all .3s;
    letter-spacing: .05em;
}

.archive-loadmore-btn:hover {
    background: #136db6;
    color: #fff;
}

.archive-loadmore-btn span {
    font-size: 18px;
    line-height: 1;
}

.archive-load-more__btn {
    cursor: pointer;
}

.archive-empty {
    text-align: center;
    color: #888;
    padding: 60px 0;
    font-size: 15px;
}

/* 中学/高校切り替えタブ */
.archive-school-tab {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
    border-bottom: 2px solid #eee;
}

.archive-school-tab__item {
    padding: 12px 40px;
    font-size: 15px;
    font-weight: 500;
    color: #888;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.archive-school-tab__item:hover {
    color: #555;
}

.archive-school-tab__item.is-active {
    color: #222;
    font-weight: 600;
}

.archive-school-tab__item.is-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #136db6;
    border-radius: 2px 2px 0 0;
}

@media (max-width: 768px) {
    .archive-school-tab__item {
        padding: 10px 24px;
        font-size: 14px;
    }
}

/* =====================
   イベント・説明会
   ===================== */

/* 注意事項 */
.event-notice {
    padding: 48px 20px 0;
}

.event-notice__inner {
    max-width: 800px;
    margin: 0 auto;
}

.event-notice__box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px 36px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.event-notice__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #c0392b;
    color: #c0392b;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.event-notice__text p {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 4px;
}

.event-notice__text p:last-child {
    margin-bottom: 0;
}

/* スケジュール */
.event-tab-content {
    display: none;
}

.event-tab-content.is-active {
    display: block;
}

.event-schedule {
    padding: 56px 20px 0;
}

.event-schedule__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.event-schedule__heading {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    text-align: center;
    margin-bottom: 35px;
}

.event-schedule__note {
    font-size: 13px;
    color: #888;
    text-align: center;
    margin-bottom: 32px;
}

.event-schedule__empty {
    text-align: center;
    color: #888;
    padding: 40px 0;
}

/* テーブル */
/* --- イベントカード --- */
.event-cards {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.event-cards .event-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-radius: 0;
    overflow: visible;
    border: none;
    border-bottom: 1px solid #eee;
    box-shadow: none;
    height: auto;
    padding: 24px 0;
    transition: background 0.3s;
}

.event-cards .event-card:hover {
    opacity: 1;
}

.event-cards .event-card:first-child {
    border-top: 1px solid #eee;
}

.event-cards .event-card:hover {
    background: #fafbfc;
    transform: none;
    box-shadow: none;
}

.event-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 20px 16px;
    background: rgba(66, 146, 69, 0.08);
    border-radius: 12px;
    color: #429245;
    text-align: center;
    flex-shrink: 0;
    margin-right: 24px;
}

.event-cards--senior .event-card__date {
    background: rgba(19, 109, 182, 0.08);
    color: #136db6;
}

.event-card__date-num {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1;
}

.event-card__date-dow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid currentColor;
}

.event-card__date-range {
    font-size: 11px;
    margin-top: 4px;
    opacity: 0.7;
}

.event-card__main {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.event-card__thumb {
    flex-shrink: 0;
    width: 280px;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
}

.event-card__thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.event-card__info {
    flex: 1;
    min-width: 0;
}

.event-card__title {
    font-size: 18px;
    font-weight: 500;
    color: #429245;
    margin-bottom: 0;
}

.event-cards--senior .event-card__title {
    color: #136db6;
}

.event-card__body {
    padding: 12px 0 0;
}

.event-card__content {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 8px;
}

.event-card__content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 8px 0;
}

.event-card__note {
    font-size: 13px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 12px;
    padding: 12px 16px;
    background: #f8f8f8;
    border-left: 3px solid #429245;
    border-radius: 0 6px 6px 0;
}

.event-cards--senior .event-card__note {
    border-left-color: #136db6;
}

.event-card__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.event-card__reserve {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 48px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #43a047, #66bb6a);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 0.03em;
}

.event-card__reserve svg {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.event-card__reserve:hover {
    background: linear-gradient(135deg, #388e3c, #43a047);
    transform: translateY(-1px);
}

.event-card__reserve:hover svg {
    transform: translateX(3px);
}

.event-card__reserve--app {
    background: linear-gradient(135deg, #1565c0, #42a5f5);
}

.event-card__reserve--app:hover {
    background: linear-gradient(135deg, #0d47a1, #1565c0);
}

.event-cards--senior .event-card__reserve {
    background: linear-gradient(135deg, #1565c0, #42a5f5);
}

.event-cards--senior .event-card__reserve:hover {
    background: linear-gradient(135deg, #0d47a1, #1565c0);
}

.event-card__reserve:hover {
    background: #429245;
    color: #fff;
}

.event-cards--senior .event-card__reserve:hover {
    background: #136db6;
    color: #fff;
}

.event-card__reserve svg {
    flex-shrink: 0;
}

/* 過去イベントカード */
.event-card--past .event-card__date {
    background: rgba(0, 0, 0, 0.04);
    color: #6b6b6b;
}

.event-card--past .event-card__title {
    color: #666;
    font-weight: 500;
    font-size: 16px;
}

.event-cards--past .event-card {
    padding: 20px 0;
}

.event-card--past .event-card__thumb {
    width: 280px;
    height: 280px;
}

.event-card__toggle {
    display: none;
    background: none;
    border: none;
    color: #429245;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.3s;
}

.event-card__toggle::before {
    content: 'さらに表示する ＋';
}

.event-card__toggle.is-open::before {
    content: '閉じる −';
}

.event-card__toggle:hover {
    color: #367a39;
}

.event-cards--senior .event-card__toggle {
    color: #136db6;
}

.event-cards--senior .event-card__toggle:hover {
    color: #0f5a96;
}

/* 過去のイベントリンク */
/* もっと見るボタン */
.event-loadmore {
    text-align: center;
    margin-top: 40px;
}

.event-loadmore__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 56px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #43a047, #66bb6a);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.03em;
}

.event-loadmore__btn--senior {
    background: linear-gradient(135deg, #1565c0, #42a5f5);
}

.event-loadmore__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(66, 146, 69, 0.3);
}

.event-loadmore__btn--senior:hover {
    box-shadow: 0 4px 16px rgba(19, 109, 182, 0.3);
}

.event-loadmore__text {
    font-size: 15px;
}

.event-loadmore__count {
    font-size: 12px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.25);
    padding: 3px 12px;
    border-radius: 20px;
}

.event-loadmore__arrow {
    flex-shrink: 0;
    animation: loadmore-bounce 1.5s ease infinite;
}

@keyframes loadmore-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* 高校テーマ タブ */
.event-theme-high .club-tab-btn.is-active {
    border-color: #136db6;
    background: linear-gradient(135deg, rgba(19, 109, 182, 0.04), rgba(19, 109, 182, 0.08));
    box-shadow: 0 2px 12px rgba(19, 109, 182, 0.15);
}

.event-theme-high .club-tab-btn.is-active .club-tab-btn__icon {
    background: #136db6;
}

.event-theme-high .club-tab-btn.is-active .club-tab-btn__sub {
    color: #136db6;
}

/* 戻るリンク */
.event-back-link {
    text-align: center;
    margin-top: -15px;
}

.event-back-link a {
    display: inline-block;
    padding: 16px 48px;
    font-size: 14px;
    font-weight: 500;
    color: #429245;
    background: #fff;
    border: 1.5px solid #429245;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 0.03em;
}

.event-back-link a:hover {
    background: rgba(66, 146, 69, 0.06);
    color: #367a39;
}

.event-theme-high .event-back-link a {
    color: #136db6;
    border-color: #136db6;
}

.event-theme-high .event-back-link a:hover {
    background: rgba(19, 109, 182, 0.06);
    color: #0f5a96;
}

.event-past-link {
    text-align: center;
    margin-top: 0;
}

.event-past-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 48px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 0.03em;
}

.event-past-link a::after {
    content: '→';
    font-size: 16px;
    transition: transform 0.3s;
}

.event-past-link a:hover {
    border-color: #333;
    color: #111;
    background: #f8f8f8;
}

.event-past-link a:hover::after {
    transform: translateX(4px);
}

/* お問い合わせ */
.event-contact {
    padding: 56px 20px 80px;
}

.event-contact__inner {
    max-width: 800px;
    margin: 0 auto;
}

.event-contact__heading {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    padding-bottom: 16px;
    border-bottom: 2px solid #333;
    margin-bottom: 24px;
}

.event-contact__body {
    padding-left: 16px;
}

.event-contact__body p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2px;
}

.event-contact__school {
    font-size: 18px !important;
    margin-bottom: 12px !important;
}

@media (max-width: 768px) {
    .event-notice__box {
        flex-direction: column;
        align-items: center;
        padding: 24px 20px;
        gap: 12px;
    }

    .event-schedule__heading {
        font-size: 18px;
    }

    .event-cards .event-card {
        padding: 16px 0;
        flex-direction: column;
    }

    .event-card__date {
        flex-direction: row;
        gap: 8px;
        min-width: auto;
        padding: 10px 16px;
        margin-right: 0;
        margin-bottom: 12px;
        border-radius: 8px;
        align-self: stretch;
    }

    .event-card__date-dow {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        padding-left: 8px;
        border-left: 1px solid currentColor;
    }

    .event-card__date-num {
        font-size: 18px;
    }

    .event-card__date-dow {
        font-size: 11px;
        margin-top: 6px;
        padding-top: 6px;
    }

    .event-card__main {
        flex-direction: column;
        gap: 12px;
    }

    .event-card__thumb {
        width: 100%;
    }

    .event-card__title {
        font-size: 15px;
    }

    .event-card__body {
        padding: 8px 0 0;
    }

    .event-card__reserve {
        width: 100%;
        justify-content: center;
    }

    .event-card__body--accordion {
        display: none;
    }

    .event-card__body--accordion.is-open {
        display: block;
    }

    .event-card__toggle {
        display: block;
        text-align: center;
        width: 100%;
    }

    .event-card--past .event-card__thumb {
        width: 100%;
        height: auto;
    }

    .event-card__title {
        font-size: 16px;
    }

    .event-contact {
        padding: 40px 20px 60px;
    }

    .event-back-link a {
        padding: 16px 15px;
        font-size: 13px;
    }
}

/* ACFブロック表示 */
.acf-block {
    margin-bottom: 2em;
}

.acf-block__text p {
    margin-bottom: 1em;
    line-height: 2;
}

.acf-block__image {
    margin: 1.5em 0;
}

.acf-block__image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.acf-block__pdf {
    display: inline-block;
    padding: 10px 24px;
    font-size: 14px;
    color: #136db6;
    border: 1px solid #136db6;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 8px;
    transition: all 0.3s;
}

.acf-block__pdf:hover {
    background: #136db6;
    color: #fff;
}

/* カード型アーカイブ */
.archive-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.archive-card__link {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s;
}

.archive-card__link:hover {
    opacity: 0.75;
}

.archive-card__thumb {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.archive-card__thumb img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.archive-card__link:hover .archive-card__thumb img {
    transform: scale(1.04);
}

.archive-card__no-thumb {
    width: 100%;
    aspect-ratio: 3 / 2;
    background: #f0f0f0;
}

.archive-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.archive-card__date {
    font-size: 13px;
    color: #888;
}

.archive-card__cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: #136db6;
    background: rgba(19, 109, 182, 0.08);
    padding: 2px 8px;
    border-radius: 3px;
}

.page-template-page-clubblog-junior .archive-card__cat {
    color: #429245;
    background: rgba(66, 146, 69, 0.08);
}

.page-template-page-clubblog-junior .archive-filter__item:hover {
    border-color: #429245;
    color: #429245;
}

.page-template-page-clubblog-junior .archive-filter__item.is-active {
    background: #429245;
    border-color: #429245;
    color: #fff;
}

.page-template-page-clubblog-junior .archive-school-tab__item.is-active::after {
    background: #429245;
}

.archive-card__title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .archive-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .archive-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .archive-card__title {
        font-size: 13px;
    }

    .archive-card__date {
        font-size: 11px;
    }
}

/* シングル記事 */
.single-article__header {
    margin-bottom: 32px;
}

.single-article__date {
    font-size: 14px;
    color: #888;
    margin-right: 12px;
}

.single-article__cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #136db6;
    background: rgba(19, 109, 182, 0.08);
    padding: 2px 10px;
    border-radius: 3px;
    vertical-align: middle;
}

.single-article__title {
    font-size: 28px;
    font-weight: 600;
    color: #222;
    margin-top: 12px;
    line-height: 1.5;
}

.single-article__eyecatch {
    margin-bottom: 32px;
    border-radius: 4px;
    overflow: hidden;
}

.single-article__eyecatch img {
    width: 100%;
    height: auto;
    display: block;
}

.single-article__content {
    font-size: 16px;
    line-height: 2;
    color: #333;
}

.single-article__content p {
    margin-bottom: 1.5em;
}

.single-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.single-article__content h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 2em 0 1em;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.single-article__content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 1.5em 0 0.8em;
}

/* 前後ナビ */
.single-article__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #f0f0f0;
}

.single-article__nav-prev,
.single-article__nav-next {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    font-weight: 500;
    color: #888;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.3s;
}

.single-article__nav-prev:hover,
.single-article__nav-next:hover {
    color: #222;
}

.single-article__nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #888;
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.single-article__nav-prev:hover .single-article__nav-arrow,
.single-article__nav-next:hover .single-article__nav-arrow {
    border-color: #136db6;
    color: #136db6;
    background: rgba(19, 109, 182, 0.04);
}

.single-article__nav-next {
    margin-left: auto;
}

/* 一覧に戻る */
.single-article__back {
    display: block;
    text-align: center;
    margin-top: 32px;
    padding: 14px 40px;
    font-size: 14px;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
}

.single-article__back:hover {
    border-color: #136db6;
    color: #136db6;
}

/* SP */
@media (max-width: 768px) {
    .archive-filter {
        position: relative;
        display: flex;
        flex-direction: column;
        margin-bottom: 24px;
        overflow: visible;
        z-index: 10;
    }

    .archive-filter::before {
        content: '';
        position: absolute;
        right: 16px;
        top: 16px;
        width: 7px;
        height: 7px;
        border-right: 2px solid #136db6;
        border-bottom: 2px solid #136db6;
        transform: rotate(45deg);
        pointer-events: none;
        transition: transform .3s, top .3s;
        z-index: 3;
    }

    .archive-filter.is-open::before {
        transform: rotate(-135deg);
        top: 19px;
    }

    .archive-filter__item {
        display: none;
        width: 100%;
        padding: 12px 16px;
        font-size: 13px;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid #f0f0f0;
        background: #fff;
        color: #444;
        text-decoration: none;
        transition: background .2s, color .2s;
    }

    .archive-filter__item:last-child {
        border-bottom: none;
    }

    .archive-filter__item.is-active {
        display: flex;
        align-items: center;
        border-radius: 8px;
        position: relative;
        z-index: 2;
        background: #fff;
        color: #136db6;
        border: 1px solid #136db6;
        font-weight: 600;
        order: -1;
        padding-right: 36px;
    }

    .archive-filter.is-open .archive-filter__item {
        display: block;
    }

    .archive-filter.is-open .archive-filter__item:not(.is-active):hover,
    .archive-filter.is-open .archive-filter__item:not(.is-active):active {
        background: #f5f8fc;
        color: #136db6;
        padding-left: 20px;
    }

    .archive-filter.is-open .archive-filter__item.is-active {
        border-radius: 8px 8px 0 0;
        border-bottom: 1px solid #e8edf3;
        background: #f5f8fc;
    }

    .archive-filter.is-open {
        background: #fff;
        border: 1px solid #e8edf3;
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0,0,0,.08);
    }

    .archive-filter.is-open .archive-filter__item:not(.is-active) {
        border: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .archive-filter.is-open .archive-filter__item:last-child {
        border-bottom: none;
    }

    .archive-filter.is-open .archive-filter__item.is-active {
        border: none;
        border-bottom: 1px solid #e8edf3;
    }

    .archive-list__link {
        gap: 16px;
        padding: 16px 0;
    }

    .archive-list__thumb {
        width: 100px;
    }

    .archive-list__title {
        font-size: 14px;
    }

    .single-article__title {
        font-size: 22px;
    }

    .single-article__content {
        font-size: 15px;
    }

    .single-article__nav-arrow {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .single-article__nav-prev,
    .single-article__nav-next {
        font-size: 12px;
        gap: 10px;
    }
}
