@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@700;900&family=Noto+Sans+JP&family=Zen+Maru+Gothic&display=swap');
/* =========================================================
   0) Variables & Base Styles
========================================================= */
:root {
    --color-bg: #f5e9de;
    --color-surface: #fff;
    --color-text: #333;
    --color-muted: #7b7b7b;
    --primary: #f4a72c;
    --accent1: #62a2af;
    --accent2: #e26b5a;
    --accent3: #b68ec4;
    --accent4: #f3d157;
    --radius: 14px;
    --radius-lg: 18px;
    --shadow: 0 8px 22px rgba(0, 0, 0, .08);
    --max: 1120px;
    --sp-1: 6px;
    --sp-2: 10px;
    --sp-3: 16px;
    --sp-4: 24px;
    --sp-5: 32px;
    --sp-6: 48px;
    --sp-7: 72px;
    --rail-safe: 0px;
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden
}

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

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

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

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

body {
    font-family: 'Noto Sans JP', 'Zen Maru Gothic', sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.8
}

p {
    margin: 0 0 var(--sp-3)
}

p:last-child {
    margin-bottom: 0
}

h1,
h2,
h3 {
    line-height: 1.3;
    margin: 0 0 .5em;
    font-weight: 900
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding-left: clamp(20px, 3.2vw, 28px);
    padding-right: clamp(20px, 3.2vw, 28px)
}

.section {
    padding-top: clamp(64px, 8vw, 92px);
    padding-bottom: clamp(56px, 7vw, 80px);
    position: relative;
    isolation: isolate
}

.section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: .4;
    background: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, .1)1px, transparent 0) 0 0/10px 10px
}

.eyebrow {
    font-size: .75rem;
    font-weight: 700;
    color: #888;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .4em;
    display: block;
    text-align: center
}

h2.section-title {
    font-size: clamp(1.4rem, 3.2vw, 1.9rem);
    text-align: center;
    letter-spacing: .02em;
    margin: 0 0 var(--sp-5);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease-out, transform .6s ease-out
}

h2.section-title.is-visible {
    opacity: 1;
    transform: translateY(0)
}

h2.section-title span {
    display: inline-block;
    padding: .35em 1em;
    border-radius: 999px;
    letter-spacing: .05em;
    color: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
    border: 2px solid rgba(255, 255, 255, .6)
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7em 1.2em;
    border-radius: 999px;
    font-weight: 700;
    transition: all .15s ease;
    border: 2px solid transparent
}

.btn:hover {
    transform: translateY(-1px)
}

.btn:active {
    transform: translateY(0)
}

.btn-main {
    background: var(--primary);
    color: #fff
}

.btn-main:hover {
    box-shadow: 0 6px 16px rgba(244, 167, 44, .35)
}

.btn-accent {
    background: var(--accent1);
    color: #fff
}

.btn-accent:hover {
    box-shadow: 0 6px 16px rgba(98, 162, 175, .35)
}

.btn-outline {
    background: #fff;
    border-color: #ddd
}

.btn-outline:hover {
    background: #f7f7f7
}

.btn-light {
    background: #fff;
    color: #333;
    border: 2px solid #eee
}

.btn-light:hover {
    background: #fafafa
}

a.btn-wire,
.btn-wire {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: .75em 1em;
    font-weight: 900;
    border-radius: 12px;
    border: 2px solid #ddd;
    background: #fff;
    transition: all .15s ease
}

a.btn-wire:hover,
.btn-wire:hover {
    background: #fafafa;
    border-color: #ccc;
    transform: translateY(-1px)
}

/* =========================================================
   1) Header & Footer
========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(245, 233, 222, .8);
    backdrop-filter: saturate(1.2) blur(6px);
    -webkit-backdrop-filter: saturate(1.2) blur(6px);
    border-bottom: 1px solid rgba(0, 0, 0, .05)
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: clamp(56px, 7vw, 76px)
}

.brand {
    display: flex;
    align-items: center
}

.brand img {
    display: block;
    height: clamp(34px, 4.4vw, 52px);
    width: auto;
    max-width: none
}

@media (min-width:1200px) {
    .brand img {
        height: 46px
    }
}

.header-cta {
    display: flex;
    gap: 10px;
    align-items: center
}

.site-footer {
    background: linear-gradient(180deg, #1f2a33 0%, #141a1f 100%);
    color: #e9eef2;
    padding: 40px 0 10px
}

.footer-inner {
    display: grid;
    gap: var(--sp-4);
    grid-template-columns: 2fr 1fr 1fr;
    align-items: start
}

.footer-brand address {
    font-style: normal;
    color: #aaa;
    margin-top: 8px
}

.footer-links a {
    transition: color .2s
}

.footer-links a:hover {
    color: #fff
}

.footer-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end
}

.footer-copy {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: var(--sp-3);
    padding-top: var(--sp-2);
    text-align: center
}

/* =========================================================
   2) Sections
========================================================= */
/* Hero */
.hero-split-bg {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden
}

.hero-bg-split {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: absolute;
    inset: 0;
    z-index: 0;
    transform: translateY(-60px)
}

.bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

.bg-left {
    background-image: url("assets/hero/bg-left.jpg")
}

.bg-center {
    background-image: url("assets/hero/bg-center.png")
}

.bg-right {
    background-image: url("assets/hero/bg-right.jpg")
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2.4vw, 28px);
    text-align: center;
    padding: 20px
}

.headline-wrap {
    transform: rotate(-5deg);
    background: var(--primary);
    padding: .6em 1.5em;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    z-index: 1
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 900;
    color: #fff;
    white-space: nowrap;
    line-height: 1.1;
    letter-spacing: .03em;
    text-shadow: 0 3px 6px rgba(0, 0, 0, .45), 0 0 1px rgba(0, 0, 0, .2);
    -webkit-text-stroke: .5px rgba(0, 0, 0, .15)
}

.copy-actions {
    display: flex;
    gap: clamp(12px, 2vw, 18px);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem
}

.hero-content .btn {
    font-size: 1.05rem;
    padding: .8em 1.8em;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2)
}

.hero-content .btn-main {
    border-color: var(--primary)
}

.hero-content .btn-light {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-color: rgba(255, 255, 255, .9)
}

.hero-content .btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25)
}

/* About */
#about.section.alt {
    background: linear-gradient(180deg, #FFF6EA 0%, #FFFFFF 100%)
}

#about.section::before {
    opacity: .28;
    background: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, .06)1px, transparent 0) 0 0/12px 12px
}

.about-hero::after {
    content: "KURAYOSHIKITA";
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, 4px);
    color: #9B8B7E;
    opacity: .05;
    font-size: clamp(3rem, 18vw, 10rem);
    font-weight: 900;
    letter-spacing: .09em;
    font-family: 'Yusei Magic', sans-serif;
    pointer-events: none;
    user-select: none;
    z-index: 0
}

.about-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(520px, 720px) minmax(160px, 1fr);
    align-items: center;
    column-gap: clamp(20px, 4vw, 40px)
}

.about-figure {
    align-self: end;
    justify-self: center;
    max-width: clamp(200px, 24vw, 320px);
    min-width: 200px;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .08))
}

.about-figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px
}

.about-figure-left {
    transform: translateX(-3%)
}

.about-figure-right {
    transform: translateX(3%)
}

.about-center {
    text-align: center;
    padding: clamp(16px, 2.2vw, 24px) clamp(20px, 3vw, 34px)
}

.about-eyebrow {
    font-size: clamp(.9rem, .6rem + .9vw, 1.2rem);
    letter-spacing: .14em;
    color: var(--accent1);
    opacity: .9;
    margin-bottom: .8em;
    display: inline-block
}

.about-copy {
    margin: clamp(2px, .5vw, 8px) 0 clamp(18px, 2.2vw, 26px);
    font-size: clamp(1.05rem, .95rem + .8vw, 1.4rem);
    line-height: 1.9;
    font-weight: 500;
    max-width: 34ch;
    margin-inline: auto;
    text-align: center
}

.about-copy .hl-1,
.about-copy .hl-2 {
    font-weight: 900;
    color: #2C91E9
}

.about-cta {
    background: linear-gradient(135deg, #F4A72C 0%, #E98B2E 100%);
    color: #fff;
    font-weight: 900;
    padding: 1em 2em;
    border-radius: 32px;
    box-shadow: 0 8px 22px rgba(244, 167, 44, .25);
    transition: all .3s ease
}

.about-cta:hover {
    box-shadow: 0 12px 30px rgba(244, 167, 44, .35);
    transform: translateY(-2px)
}

/* Features */
.point-row {
    display: flex;
    align-items: center;
    gap: clamp(24px, 5vw, 56px);
    margin-bottom: clamp(48px, 6vw, 72px)
}

.point-row:last-of-type {
    margin-bottom: 0
}

.point-row.reverse {
    flex-direction: row-reverse
}

.point-image img {
    width: 100%;
    max-width: 460px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .1)
}

.point-badge {
    font-weight: bold;
    color: var(--accent1);
    margin-bottom: .4em;
    font-size: .9rem;
    letter-spacing: .05em
}

.point-title {
    font-size: 1.6rem;
    margin-bottom: .3em
}

.point-sub {
    font-weight: 700;
    color: #555;
    margin-bottom: .6em
}

.point-desc {
    color: #444
}

/* Numbers */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 3vw, 24px)
}

.number-box {
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: clamp(16px, 2.2vw, 22px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-top: 6px solid rgba(0, 0, 0, .06);
    transition: transform .15s ease, box-shadow .15s ease
}

.number-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .12)
}

.number-box:nth-child(1) {
    border-top-color: var(--accent1);
    background: linear-gradient(180deg, #fff 50%, #f0f8fa 100%)
}

.number-box:nth-child(2) {
    border-top-color: var(--accent2);
    background: linear-gradient(180deg, #fff 50%, #fff1ef 100%)
}

.number-box:nth-child(3) {
    border-top-color: var(--accent3);
    background: linear-gradient(180deg, #fff 50%, #f9f4fb 100%)
}

.number-box:nth-child(4) {
    border-top-color: var(--accent4);
    background: linear-gradient(180deg, #fff 50%, #fffbec 100%)
}

.number-box:nth-child(5) {
    border-top-color: var(--primary);
    background: linear-gradient(180deg, #fff 50%, #fff8ea 100%)
}

.number-box:nth-child(6) {
    border-top-color: #9ad3dd;
    background: linear-gradient(180deg, #fff 50%, #f0fafb 100%)
}

.number-label {
    font-weight: 800;
    color: #555;
    line-height: 1.2
}

.number-large {
    font-size: clamp(1.8rem, 4.6vw, 2.8rem);
    line-height: 1;
    color: #1f1f1f;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    font-weight: 700
}

.number-unit {
    color: #666;
    font-weight: 700
}

/* Courses */
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.4vw, 24px)
}

.courseCard {
    background: var(--color-surface);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 4px solid rgba(0, 0, 0, .06);
    transition: transform .15s ease, box-shadow .15s ease
}

.courseCard:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .12)
}

.courseCard.accent-blue {
    border-color: rgba(98, 162, 175, .28)
}

.courseCard.accent-coral {
    border-color: rgba(226, 107, 90, .28)
}

.courseCard.accent-purple {
    border-color: rgba(182, 142, 196, .28)
}

.courseCard .card-image {
    aspect-ratio: 16/9;
    background: #f4f4f4;
    overflow: hidden
}

.courseCard .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease
}

.courseCard:hover .card-image img {
    transform: scale(1.05)
}

.courseCard .card-content {
    padding: clamp(14px, 2.2vw, 20px);
    display: flex;
    flex-direction: column;
    gap: 12px
}

.course-title {
    font-size: 1.15rem
}

.course-points {
    padding-left: 1.1em;
    display: grid;
    gap: .25em;
    font-size: .95rem
}

.course-points li {
    list-style: disc;
    line-height: 1.5
}

.voice-box {
    background: #f6f6f6;
    border: 1px dashed rgba(0, 0, 0, .15);
    border-radius: 12px;
    padding: .6em .8em;
    font-weight: 700;
    color: #444
}

/* Photo Mosaic & Programs */
.life-cinema,
.photo-mosaic {
    margin-bottom: var(--sp-6)
}

.photo-mosaic {
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-auto-flow: row dense;
    gap: clamp(16px, 2vw, 24px);
    max-width: 100%
}

.photo-mosaic>figure {
    position: relative;
    min-width: 0;
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
    z-index: 0
}

.photo-mosaic>figure>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px
}

.program-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow);
    aspect-ratio: 5/3;
    transition: transform .15s ease, box-shadow .15s ease
}

.program-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .12)
}

.program-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform .5s ease;
    opacity: .98
}

.program-card:hover img {
    transform: scale(1.08)
}

.program-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    color: #333;
    font-weight: 900;
    border-radius: 999px;
    padding: .3em .7em;
    font-size: .85rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .24)
}

.program-meta {
    position: absolute;
    inset: auto 0 0 0;
    padding: 12px 14px;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0))
}

.program-meta strong {
    display: block;
    font-size: 1.05rem
}

.program-meta small {
    opacity: .92
}

/* Clubs */
.subhead {
    font-size: 1.25rem;
    font-weight: 700
}

.club-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 44px
}

.club-slider {
    scroll-behavior: smooth;
    display: flex;
    gap: clamp(12px, 2vw, 16px);
    overflow-x: hidden;
    /* ← スクロールバーを非表示に */
    padding: 10px 2px;
    scrollbar-width: none;
    /* Firefox用の設定 */
}

/* Chrome, Safari用の設定 */
.club-slider::-webkit-scrollbar {
    display: none;
}

.club-slider:focus-visible {
    outline: 2px solid var(--accent1);
    outline-offset: 2px;
    border-radius: 4px
}

.club-card {
    flex: 0 0 auto;
    width: 260px;
    background: var(--color-surface);
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform .12s ease, box-shadow .12s ease
}

.club-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(2, 8, 20, .12)
}

.club-thumb {
    width: 100%;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0;
    background: #eef3f8
}

.club-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.club-name {
    font-weight: 900;
    font-size: 1rem;
    padding: 12px 14px
}

.club-nav {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow);
    user-select: none;
    transition: transform .1s ease, background .1s ease
}

.club-nav:hover {
    background: #f6f7f8;
    transform: translateY(-1px)
}

.club-nav:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none
}

.club-nav svg {
    width: 18px;
    height: 18px;
    color: #111
}

/* Outcomes */
.outcome-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 2.4vw, 24px);
    margin-bottom: var(--sp-5)
}

.outcome-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
    padding: 24px
}

.outcome-box .label {
    font-size: 1rem;
    font-weight: bold;
    color: #555;
    margin-bottom: 12px
}

.outcome-box strong {
    display: block;
    font-weight: 900;
    margin: 8px 0 4px
}

.interview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 2vw, 22px)
}

.interview-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    overflow: hidden;
    display: flex;
    flex-direction: column
}

.interview-image {
    height: 140px;
    overflow: hidden;
    background: #f0f0f0
}

.interview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 1px solid #eee
}

.interview-body {
    padding: clamp(12px, 2vw, 16px)
}

.interview-title {
    font-weight: bold;
    margin-bottom: 4px
}

.interview-name {
    font-size: .9rem;
    color: #666
}

.interview-quote {
    font-size: .9rem;
    margin-top: 8px;
    color: #444
}

/* Facilities */
.facilities-slider {
    position: relative
}

.facilities-track {
    display: flex;
    gap: clamp(14px, 2vw, 18px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 10px 16px;
    -ms-overflow-style: none;
    scrollbar-width: none
}

.facilities-track::-webkit-scrollbar {
    display: none
}

.facility-slide {
    scroll-snap-align: center;
    flex: 0 0 clamp(72%, 54vw, 34%);
    background: var(--color-surface);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden
}

.facility-slide img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover
}

.facility-slide figcaption {
    text-align: center;
    padding: .7em .9em;
    font-weight: 800;
    color: #555;
    background: #fff
}

.facilities-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
    color: #3b2a1a;
    font-size: 24px;
    font-weight: 900;
    display: grid;
    place-items: center;
    z-index: 1;
    transition: all .15s ease
}

.facilities-nav:hover {
    transform: translateY(-50%) scale(1.05)
}

.facilities-nav:active {
    transform: translateY(-50%) scale(.98)
}

.facilities-nav:disabled {
    opacity: .35;
    cursor: default
}

.facilities-nav.prev {
    left: -6px
}

.facilities-nav.next {
    right: -6px
}

/* Entry */
.entry-panel {
    background: var(--color-surface);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: clamp(20px, 4vw, 32px);
    text-align: center
}

.entry-lead {
    font-weight: 600;
    margin-bottom: var(--sp-4)
}

.entry-panel .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(14px, 2vw, 20px)
}

.big-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 900;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease
}

.big-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12)
}

.big-cta.c1 {
    background: linear-gradient(90deg, #b9e5ec 0%, var(--accent1) 100%);
    color: #08353c
}

.big-cta.c2 {
    background: linear-gradient(90deg, var(--accent4) 0%, #ffe8a3 100%);
    color: #5a4200
}

.notes {
    margin-top: 14px;
    color: #666;
    font-size: .9rem
}

/* FAQ */
.faq {
    display: grid;
    gap: 1rem
}

.faq-item {
    border: 1px solid #ddd;
    border-radius: var(--radius);
    background: transparent;
    transition: background-color .2s
}

.faq-item[open] {
    background: var(--color-surface)
}

.faq-item summary {
    cursor: pointer;
    padding: 16px 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: .6em;
    list-style: none;
    position: relative;
    padding-right: 3rem
}

.faq-item summary::-webkit-details-marker {
    display: none
}

.faq-item summary:hover {
    background: #f7f7f7
}

.faq-item summary::before,
.faq-item summary::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1.5rem;
    width: 1rem;
    height: 2px;
    background: var(--color-muted);
    transform: translateY(-50%);
    transition: transform .3s ease
}

.faq-item summary::after {
    transform: translateY(-50%) rotate(90deg)
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(0deg)
}

.faq-item .q {
    color: var(--accent2)
}

.faq-item .a {
    padding: var(--sp-4);
    color: #555;
    display: flex;
    gap: .6em;
    border-top: 1px solid #ddd
}

.faq-item .a-label {
    color: var(--accent1);
    font-weight: 900
}

/* =========================================================
   3) Floating UI
========================================================= */
.side-rail {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 88px;
    background: #fff;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    z-index: 110
}

.side-rail .rail-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #3b2a1a;
    transition: transform .15s ease, opacity .15s ease
}

.side-rail .rail-block:hover {
    transform: translateY(-1px);
    opacity: .95
}

.side-rail .rail-ico {
    width: 34px;
    height: 34px;
    color: #3b2a1a
}

.side-rail .rail-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.6;
    color: #3b2a1a
}

.side-rail .rail-sep {
    width: 60%;
    height: 1px;
    background: #3b2a1a;
    opacity: .35;
    border: 0;
    margin: 0
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s ease
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.back-to-top:hover {
    background: #e0941c;
    transform: scale(1.05)
}

/* =========================================================
   4) Theming (section title pills)
========================================================= */
#points {
    background: #EAF5F7
}

#points .section-title span {
    background: #62a2af
}

#numbers {
    background: #F6F0FA
}

#numbers .section-title span {
    background: #b68ec4
}

#courses {
    background: #FFF5E4
}

#courses .section-title span {
    background: #f4a72c
}

#life {
    background: #FDECEA
}

#life .section-title span {
    background: #e26b5a
}

#club-achievements {
    background: #EAF7FB
}

#club-achievements .section-title span {
    background: #5fb3c7
}

#outcomes {
    background: #F0EFF8
}

#outcomes .section-title span {
    background: #7c70b0
}

#facilities {
    background: #FDEFF3
}

#facilities .section-title span {
    background: #ed90aa
}

#entry {
    background: #FFF9E3
}

#entry .section-title span {
    background: #f3d157
}

#faq {
    background: #EAF7F0
}

#faq .section-title span {
    background: #62c597
}

/* =========================================================
   5) LIFE CINEMA (Modern Refresh)
   - 今風の矢印/ドット/プログレス
   - 番号マーカーを非表示
========================================================= */
.life-cinema.modern {
    --nav-size: 52px;
    --nav-radius: 16px;
    --nav-bg: rgba(255, 255, 255, .85);
    --nav-brd: 1px solid rgba(255, 255, 255, .65);
    --nav-shadow: 0 10px 26px rgba(0, 0, 0, .18);
    --nav-hover-shadow: 0 16px 36px rgba(0, 0, 0, .22);
    --dot-bg: #dfe6ea;
    --dot-active: var(--accent1);
    --dot-height: 10px;
    --progress-start: var(--accent1);
    --progress-end: var(--primary);
    --edge-fade: 120px;
    position: relative;
    padding: 24px 0 40px;
    isolation: isolate;
}

.life-cinema.modern .cinema-track {
    display: flex;
    gap: clamp(18px, 2.4vw, 28px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px clamp(18px, 3vw, 30px) 14px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    position: relative;
    z-index: 1;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    mask-image: linear-gradient(to right, transparent 0, #000 var(--edge-fade), #000 calc(100% - var(--edge-fade)), transparent 100%);
}

.life-cinema.modern .cinema-track::-webkit-scrollbar {
    display: none
}

.life-cinema.modern .cinema-slide {
    flex: 0 0 auto;
    width: clamp(74%, 66vw, 860px);
    aspect-ratio: 16/9;
    scroll-snap-align: center;
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .12);
    transform: translateZ(0) scale(.97);
    transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s, filter .45s;
    outline: 0;
}

.life-cinema.modern .cinema-slide.is-active {
    transform: translateZ(0) scale(1);
    box-shadow: 0 22px 44px rgba(0, 0, 0, .16);
    filter: saturate(1.02)
}

.life-cinema.modern .cinema-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.055);
    transition: transform .6s ease;
    pointer-events: none
}

.life-cinema.modern .cinema-slide.is-active img {
    transform: scale(1.08)
}

.life-cinema.modern .cinema-caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(14px, 2.4vw, 22px);
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, .18)55%, transparent 85%)
}

.life-cinema.modern .cinema-caption .chip {
    align-self: flex-start;
    background: rgba(255, 255, 255, .94);
    color: #333;
    font-weight: 900;
    border-radius: 999px;
    padding: .32em .7em;
    font-size: .9rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25)
}

/* arrows */
.life-cinema.modern .cinema-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: var(--nav-size);
    height: var(--nav-size);
    border-radius: var(--nav-radius);
    display: grid;
    place-items: center;
    background: var(--nav-bg);
    border: var(--nav-brd);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--nav-shadow);
    color: #111;
    z-index: 6;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
    -webkit-tap-highlight-color: transparent;
}

@media (hover:hover) {
    .life-cinema.modern .cinema-nav:hover {
        transform: translateY(-50%) scale(1.06);
        box-shadow: var(--nav-hover-shadow);
        background: rgba(255, 255, 255, .98)
    }
}

.life-cinema.modern .cinema-nav:active {
    transform: translateY(-50%) scale(.98)
}

.life-cinema.modern .cinema-nav:disabled {
    opacity: .45;
    cursor: default;
    transform: translateY(-50%)
}

.life-cinema.modern .cinema-nav.prev {
    left: clamp(10px, 4vw, 32px)
}

.life-cinema.modern .cinema-nav.next {
    right: calc(clamp(10px, 4vw, 32px) + var(--rail-safe))
}

.life-cinema.modern .cinema-nav svg {
    width: 22px;
    height: 22px
}

/* dots (numbers hidden) */
.life-cinema.modern .cinema-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 14px 0 0;
    list-style: none;
    padding-left: 0
}

.life-cinema.modern .cinema-dots li {
    height: var(--dot-height);
    width: 32px;
    background: var(--dot-bg);
    border-radius: 999px;
    opacity: .95;
    transition: width .25s ease, background .25s ease, opacity .25s ease, transform .25s ease;
    backdrop-filter: blur(2px);
    list-style: none
}

.life-cinema.modern .cinema-dots li::marker {
    content: none
}

.life-cinema.modern .cinema-dots li[aria-current="true"] {
    width: 48px;
    background: var(--dot-active);
    transform: translateY(-1px)
}

/* progress */
.life-cinema.modern .cinema-progress {
    position: absolute;
    left: 0;
    right: 0;
    top: 6px;
    height: 3px;
    background: rgba(0, 0, 0, .08);
    border-radius: 999px;
    overflow: hidden;
    z-index: 6;
    margin-inline: clamp(12px, 4vw, 28px)
}

.life-cinema.modern .cinema-progress span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--progress-start), var(--progress-end));
    transition: width .2s linear;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .35);
    border-radius: inherit
}

/* Responsive */
@media (max-width:639px) {
    .life-cinema.modern .cinema-slide {
        width: calc(100% - 40px)
    }

    .life-cinema.modern .cinema-nav {
        top: auto;
        bottom: 12px;
        transform: none;
        width: 44px;
        height: 44px;
        border-radius: 14px
    }

    .life-cinema.modern .cinema-nav.prev {
        left: 12px
    }

    .life-cinema.modern .cinema-nav.next {
        right: 12px
    }
}

@media (min-width:640px) and (max-width:1023px) {
    .life-cinema.modern .cinema-slide {
        width: calc((100% - 20px - 24px)/2)
    }
}

@media (min-width:1024px) {
    .life-cinema.modern .cinema-slide {
        width: calc((100% - 40px - 24px*2)/3)
    }
}

@media (prefers-reduced-motion:reduce) {

    .life-cinema.modern .cinema-slide,
    .life-cinema.modern .cinema-slide img,
    .life-cinema.modern .cinema-nav,
    .life-cinema.modern .cinema-dots li {
        transition: none !important
    }
}

/* =========================================================
   6) Theming & Responsive
========================================================= */
@media (min-width:769px) {
    :root {
        --rail-safe: 140px
    }
}

@media (min-width:1200px) {

    .photo-mosaic>figure:nth-child(1),
    .photo-mosaic>figure:nth-child(6) {
        grid-column: span 2;
        aspect-ratio: 16/9
    }
}

@media (max-width:960px) {
    .footer-inner {
        grid-template-columns: 1fr
    }

    .course-grid {
        grid-template-columns: 1fr 1fr
    }

    .outcome-boxes {
        grid-template-columns: 1fr
    }

    .interview-cards {
        grid-template-columns: 1fr 1fr
    }

    .facility-slide {
        flex-basis: clamp(84%, 70vw, 58%)
    }

    .about-wrapper {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "left center" "right center"
    }

    .about-figure-left {
        grid-area: left;
        transform: translateX(-3%)
    }

    .about-center {
        grid-area: center
    }

    .about-figure-right {
        grid-area: right;
        transform: translateX(3%)
    }

    .about-figure {
        max-width: clamp(220px, 26vw, 300px)
    }

    .about-hero::after {
        font-size: clamp(2.8rem, 22vw, 8.5rem)
    }
}

@media (max-width:768px) {

    .point-row,
    .point-row.reverse {
        flex-direction: column
    }

    .point-image img {
        max-width: 100%
    }

    .point-text {
        text-align: center
    }

    .side-rail {
        display: none
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: var(--sp-4)
    }

    .about-figure,
    .about-figure-left,
    .about-figure-right {
        transform: none;
        max-width: clamp(200px, 40vw, 260px)
    }

    .about-copy {
        font-size: clamp(1.05rem, 1rem + .6vw, 1.3rem);
        line-height: 1.95
    }

    .about-hero::after {
        opacity: .05;
        font-size: clamp(2.6rem, 28vw, 7.2rem)
    }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .cta-belt-inner {
        grid-template-columns: 1fr
    }
}

@media (max-width:640px) {
    h2.section-title span {
        padding: .3em .8em
    }

    .point-text {
        text-align: left
    }

    .belt-card {
        border-radius: 18px
    }

    .headline-wrap {
        transform: rotate(-2.5deg);
        padding: 1em
    }

    .hero-content h1 {
        white-space: normal;
        font-size: clamp(1.6rem, 5vw, 2.5rem)
    }

    .hero-content {
        gap: 18px
    }

    .course-grid,
    .interview-cards,
    .entry-panel .grid {
        grid-template-columns: 1fr
    }

    .facility-slide {
        flex-basis: 88%
    }

    .facilities-nav {
        width: 40px;
        height: 40px;
        font-size: 22px
    }

    .facilities-nav.prev {
        left: 2px
    }

    .facilities-nav.next {
        right: 2px
    }

    .club-card {
        width: 220px
    }

    .club-thumb {
        height: 130px
    }
}

@media (max-width:480px) {
    .numbers-grid {
        grid-template-columns: 1fr
    }
}

/* ========== LIFE CINEMA v3 – Pop & Modern (scoped) ========== */
.life-cinema.v3 {
    --h: clamp(240px, 36vw, 520px);
    /* スライド高さ */
    --radius: 22px;
    --gap: clamp(14px, 2vw, 22px);
    --nav-size: 54px;
    --dot-h: 12px;
    --edge: 120px;
    --bg: var(--color-bg, #f5e9de);

    position: relative;
    isolation: isolate;
    padding: 22px 0 40px;
}

/* 端フェード（マスクで高品質） */
.life-cinema.v3 .lc3-track {
    display: flex;
    gap: var(--gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px clamp(16px, 3vw, 28px) 14px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    position: relative;
    z-index: 1;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    mask-image: linear-gradient(to right, transparent 0, #000 var(--edge), #000 calc(100% - var(--edge)), transparent 100%);
}

.life-cinema.v3 .lc3-track::-webkit-scrollbar {
    display: none;
}

/* スライドカード：ネオン×ガラスでポップに */
.life-cinema.v3 .lc3-slide {
    flex: 0 0 auto;
    width: clamp(74%, 64vw, 860px);
    height: var(--h);
    scroll-snap-align: center;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: #0b0b0b;
    box-shadow:
        0 22px 46px rgba(0, 0, 0, .18),
        inset 0 0 0 1px rgba(255, 255, 255, .06);
    outline: 0;
    transform: translateZ(0) scale(.975);
    transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s, filter .45s;
}

.life-cinema.v3 .lc3-slide.is-active {
    transform: translateZ(0) scale(1);
    box-shadow:
        0 26px 58px rgba(0, 0, 0, .22),
        0 0 0 1px rgba(255, 255, 255, .08) inset;
    filter: saturate(1.04) contrast(1.02);
}

/* 画像：既定は “contain” で全表示（data-fit="cover" でカバーに） */
.life-cinema.v3[data-fit="contain"] .lc3-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #111;
}

.life-cinema.v3[data-fit="cover"] .lc3-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* キャプション：ポップなチップ＋ふわっとグラデ */
.life-cinema.v3 .lc3-cap {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(14px, 2.4vw, 24px);
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, .15) 60%, transparent 85%);
}

.life-cinema.v3 .lc3-cap .chip {
    align-self: flex-start;
    background: linear-gradient(135deg, #62a2af, #88d0db);
    color: #0b2b31;
    font-weight: 900;
    letter-spacing: .02em;
    border-radius: 999px;
    padding: .38em .8em;
    font-size: .95rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .28);
}

.life-cinema.v3 .lc3-cap .chip.c2 {
    background: linear-gradient(135deg, #f4a72c, #ffd36a);
    color: #5a3a00;
}

.life-cinema.v3 .lc3-cap .chip.c3 {
    background: linear-gradient(135deg, #e26b5a, #ff9e92);
    color: #4a1710;
}

.life-cinema.v3 .lc3-cap .chip.c4 {
    background: linear-gradient(135deg, #b68ec4, #e1c5ee);
    color: #2f1740;
}

.life-cinema.v3 .lc3-cap h3 {
    margin: .45em 0 0;
    font-size: clamp(1.2rem, 2.6vw, 1.9rem);
    text-shadow: 0 3px 10px rgba(0, 0, 0, .45);
    letter-spacing: .02em;
}

/* ナビ（ガラス＋ネオン） */
.life-cinema.v3 .lc3-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: var(--nav-size);
    height: var(--nav-size);
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(255, 255, 255, .6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .2);
    color: #111;
    z-index: 6;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.life-cinema.v3 .lc3-nav.prev {
    left: clamp(10px, 4vw, 32px);
}

.life-cinema.v3 .lc3-nav.next {
    right: clamp(10px, 4vw, 32px);
}

.life-cinema.v3 .lc3-nav:hover {
    transform: translateY(-50%) scale(1.06);
    background: #fff;
}

.life-cinema.v3 .lc3-nav:active {
    transform: translateY(-50%) scale(.98);
}

.life-cinema.v3 .lc3-nav svg {
    width: 22px;
    height: 22px;
}

/* ドット：ポップなピル＋小さな光沢 */
.life-cinema.v3 .lc3-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 14px 0 0;
    list-style: none;
    padding-left: 0;
}

.life-cinema.v3 .lc3-dots li {
    height: var(--dot-h);
    width: 30px;
    border-radius: 999px;
    background: #e5ecf0;
    opacity: .95;
    backdrop-filter: blur(2px);
    transition: width .22s ease, background .22s ease, transform .22s ease, opacity .22s ease;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, .65), 0 6px 14px rgba(0, 0, 0, .10);
}

.life-cinema.v3 .lc3-dots li[aria-current="true"] {
    width: 48px;
    background: linear-gradient(90deg, #62a2af, #f4a72c);
    transform: translateY(-1px);
}

/* プログレスバー：虹グラデで軽やかに */
.life-cinema.v3 .lc3-progress {
    position: absolute;
    left: 0;
    right: 0;
    top: 6px;
    height: 3px;
    background: rgba(0, 0, 0, .08);
    border-radius: 999px;
    overflow: hidden;
    z-index: 6;
    margin-inline: clamp(12px, 4vw, 28px);
}

.life-cinema.v3 .lc3-progress span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #62a2af, #f4a72c);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .35);
    transition: width .2s linear;
    border-radius: inherit;
}

/* レスポンシブ：段組み幅はそのままに高さ優先 */
@media (max-width: 639px) {
    .life-cinema.v3 .lc3-slide {
        width: calc(100% - 40px);
    }

    .life-cinema.v3 .lc3-nav {
        top: auto;
        bottom: 12px;
        transform: none;
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .life-cinema.v3 .lc3-nav.prev {
        left: 12px;
    }

    .life-cinema.v3 .lc3-nav.next {
        right: 12px;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .life-cinema.v3 .lc3-slide {
        width: calc((100% - 20px - 24px)/2);
    }
}

@media (min-width: 1024px) {
    .life-cinema.v3 .lc3-slide {
        width: calc((100% - 40px - 24px*2)/3);
    }
}

/* 低モーション配慮 */
@media (prefers-reduced-motion: reduce) {

    .life-cinema.v3 .lc3-slide,
    .life-cinema.v3 .lc3-nav,
    .life-cinema.v3 .lc3-dots li {
        transition: none !important;
    }
}

/* ボタンが最前面で必ずクリックできるように */
.life-cinema .cinema-nav {
    z-index: 20;
    pointer-events: auto;
}

.life-cinema .cinema-progress {
    pointer-events: none;
}

/* クリック遮らない */
/* ====== LIFE CINEMA v3 – ホール風テーマ（添付デザイン寄せ） ====== */
.life-cinema.v3.theme-hall {
    --h: clamp(260px, 48vw, 520px);
    --gap: 10px;
    padding: 12px 0 26px;
}

/* 1枚を大きく中央に */
.life-cinema.v3.theme-hall .lc3-track {
    justify-content: center;
    gap: var(--gap);
    mask: none;
    -webkit-mask: none;
}

/* スライドは横いっぱい＆大きなR、影は控えめ */
.life-cinema.v3.theme-hall .lc3-slide {
    width: clamp(92%, 92vw, 1120px);
    height: var(--h);
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
    transform: none;
}

.life-cinema.v3.theme-hall .lc3-slide.is-active {
    box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}

/* 画像はカバー（全画面で見せる） */
.life-cinema.v3.theme-hall[data-fit="cover"] .lc3-slide img {
    object-fit: cover;
}

/* 左右の丸い小矢印（外側に少しはみ出す） */
.life-cinema.v3.theme-hall .lc3-nav {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #e6e6e6;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
}

.life-cinema.v3.theme-hall .lc3-nav.prev {
    left: -10px;
}

.life-cinema.v3.theme-hall .lc3-nav.next {
    right: -10px;
}

.life-cinema.v3.theme-hall .lc3-nav svg {
    width: 18px;
    height: 18px;
}

/* ドット：小さな丸を中央に（アクティブは青） */
.life-cinema.v3.theme-hall .lc3-dots {
    gap: 8px;
    margin-top: 12px;
}

.life-cinema.v3.theme-hall .lc3-dots li {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d8d8d8;
    box-shadow: none;
    transform: none;
    transition: opacity .2s;
}

.life-cinema.v3.theme-hall .lc3-dots li[aria-current="true"] {
    width: 8px;
    background: #0aa3d9;
}

/* キャプション：左下に白カード（青文字）、月チップは非表示 */
.life-cinema.v3.theme-hall .lc3-cap {
    inset: auto auto 12px 12px;
    padding: 0;
    background: none;
}

.life-cinema.v3.theme-hall .lc3-cap .chip {
    display: none;
}

.life-cinema.v3.theme-hall .lc3-cap h3 {
    margin: 0;
    color: #0aa3d9;
    font-weight: 900;
    font-size: clamp(1.05rem, 2.2vw, 1.4rem);
    background: #fff;
    border-radius: 16px 16px 0 16px;
    padding: .55em .9em;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
    text-shadow: none;
}

/* 進捗バーは非表示（添付デザインに無い） */
.life-cinema.v3.theme-hall .lc3-progress {
    display: none;
}

/* モバイル：矢印は中へ寄せる */
@media (max-width: 640px) {
    .life-cinema.v3.theme-hall .lc3-slide {
        width: calc(100% - 24px);
    }

    .life-cinema.v3.theme-hall .lc3-nav.prev {
        left: 4px;
    }

    .life-cinema.v3.theme-hall .lc3-nav.next {
        right: 4px;
    }
}

/* スクールライフのスライダーを強制的に1枚表示にするための追加コード */
.life-cinema.v3.theme-hall .lc3-slide {
    width: 100%;
}

/* ===== Pre-Footer Split CTA (harmonized) ===== */
.prefooter-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(12px, 2vw, 16px);
}

.pf-item {
    --radius: 20px;
    /* 他カードとの角丸統一 */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(260px, 40vw, 360px);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    isolation: isolate;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    /* ソフトシャドウ（他カード寄せ） */
}

/* 背景画像 */
.pf-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scale(1.02);
}

/* 統一トーンの半透明オーバーレイ（色は下の tone-* で指定） */
.pf-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--tone, rgba(0, 0, 0, .35));
    opacity: .62;
    /* パステル面に馴染む濃さ */
}

/* 上からのうっすらグラデ（読みやすさUP） */
.pf-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .10));
    mix-blend-mode: soft-light;
}

/* 中央の白アウトラインボタン（.btn系に寄せた見た目） */
.pf-label {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: clamp(12px, 1.4vw, 14px) clamp(24px, 2.2vw, 32px);
    border-radius: 999px;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1;
    text-align: center;
    background: rgba(255, 255, 255, .10);
    backdrop-filter: blur(2px);
    box-shadow: inset 0 2px 10px rgba(255, 255, 255, .06);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

/* 右下の白丸矢印（サイトの丸ボタン系とトーンを合わせる） */
.pf-circle {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #fff;
    color: #0b0b0b;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .16);
    transition: transform .25s ease, box-shadow .25s ease;
}

/* ホバー */
.pf-item:hover .pf-label {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .18);
    box-shadow: inset 0 3px 14px rgba(255, 255, 255, .14);
}

.pf-item:hover .pf-circle {
    transform: translateX(4px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}

/* カラートーン（サイト変数に準拠） */
.tone-coral {
    --tone: color-mix(in srgb, var(--accent2) 80%, transparent);
}

.tone-teal {
    --tone: color-mix(in srgb, var(--accent1) 80%, transparent);
}

/* color-mix 未対応ブラウザのフォールバック */
@supports not (color-mix(in srgb, #000 10%, transparent)) {
    .tone-coral {
        --tone: rgba(226, 107, 90, .80);
    }

    /* 既出の --accent2 目安 */
    .tone-teal {
        --tone: rgba(98, 162, 175, .80);
    }

    /* 既出の --accent1 目安 */
}

/* レスポンシブ */
@media (max-width: 960px) {
    .prefooter-inner {
        grid-template-columns: 1fr;
    }

    .pf-item {
        min-height: clamp(220px, 48vw, 280px);
    }
}

/* 低モーション配慮 */
@media (prefers-reduced-motion: reduce) {

    .pf-item *,
    .pf-circle,
    .pf-label {
        transition: none !important;
    }
}

/* 表示切り替え */
.only-pc {
    display: block;
}

.only-sp {
    display: none;
}

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

    .only-sp {
        display: block !important;
    }
}

/* スマホ用スライダー */
.fade-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.fade-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-slider .slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-bg-split {
    position: absolute;
    inset: 0;
    display: flex;
    /* ← gridをやめて横3分割 */
}

.bg-image {
    flex: 1 1 0%;
}

.hero-bg-split {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: row;
    height: 100%;
}

.bg-image {
    flex: 1 1 0%;
    background-size: cover;
    background-position: center;
    height: 100%;
}

/* スマホ時は縦並び＆高さ指定 */
@media screen and (max-width: 768px) {
    .hero-bg-split {
        flex-direction: column;
        height: 100dvh;
        /* 縦画面いっぱい */
    }

    .bg-image {
        height: 33.3333dvh;
        /* 3分割 */
    }
}

/* 共通設定 */
.hero-split-bg {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* ヒーローテキスト配置 */
.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

.copy-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---------- PC専用：横3分割 ---------- */
.hero-bg-split {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 1;
}

.bg-image {
    flex: 1 1 0%;
    background-size: cover;
    background-position: center;
}

/* 各背景画像にクラスで個別指定 */
.bg-left {
    background-image: url('assets/bg-left.jpg');
}

.bg-center {
    background-image: url('assets/bg-center.png');
}

.bg-right {
    background-image: url('assets/bg-right.jpg');
}

/* ---------- スマホ専用：縦長スライダー ---------- */
.fade-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.fade-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeSlide 12s infinite;
}

.fade-slider .slide:nth-child(1) {
    animation-delay: 0s;
}

.fade-slider .slide:nth-child(2) {
    animation-delay: 4s;
}

.fade-slider .slide:nth-child(3) {
    animation-delay: 8s;
}

@keyframes fadeSlide {

    0%,
    100% {
        opacity: 0;
    }

    10%,
    30% {
        opacity: 1;
    }

    40%,
    90% {
        opacity: 0;
    }
}

/* ---------- レスポンシブ表示制御 ---------- */
.only-pc {
    display: flex;
}

.only-sp {
    display: none;
}

@media screen and (max-width: 768px) {
    .only-pc {
        display: none;
    }

    .only-sp {
        display: block;
    }

    .hero-content {
        padding: 1.5rem;
    }


    .copy-actions {
        align-items: center;
    }
}

@media screen and (max-width: 768px) {
    .hero-content {
        justify-content: center;
        /* ベースは中央寄せ */
        padding-top: 210px;
        /* 上部にやや余白 */
        padding-bottom: 120px;
        /* 下にも余白で中間に */
    }

    .copy-actions {
        align-items: center;
    }
}

/* --- モバイル時：ヘッダーCTAを非表示 --- */
@media (max-width: 768px) {
    .header-cta {
        display: none !important;
    }
}

/* --- モバイル時：固定バナーを“下部ドック”として表示 --- */
/* 既存の「@media (max-width:768px) { .side-rail { display:none } }」はこの指定で上書きされます */
@media (max-width: 768px) {
    .side-rail {
        display: flex !important;
        position: fixed;
        inset: auto 0 calc(12px + env(safe-area-inset-bottom)) 0;
        /* 下に固定 */
        transform: none;
        width: auto;
        height: auto;
        margin: 0 12px;
        padding: 10px clamp(10px, 2.4vw, 16px);
        border-radius: 16px;
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        z-index: 120;
        /* ヒーローや他要素より前面に */
    }

    .side-rail .rail-sep {
        display: none;
    }

    /* 仕切り線は非表示 */

    .side-rail .rail-block {
        flex: 1 1 0;
        min-width: 0;
        flex-direction: row;
        /* アイコン+横文字 */
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .side-rail .rail-ico {
        width: 24px;
        height: 24px;
    }

    .side-rail .rail-text {
        writing-mode: horizontal-tb;
        text-orientation: initial;
        font-size: 0.92rem;
        line-height: 1;
        letter-spacing: .04em;
    }

    /* 画面下ドックがコンテンツに被らないよう余白を確保（任意） */
    body.has-bottom-rail {
        padding-bottom: 84px;
        /* ドックの高さぶん確保 */
    }
}

/* ===== モバイル時の下部ドック 最終上書き（一番最後に貼る） ===== */
@media (max-width: 768px) {

    /* 1) 必ず表示 & 位置は下部フル幅 */
    .side-rail {
        display: flex !important;
        /* 既存の display:none を潰す */
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        bottom: calc(12px + env(safe-area-inset-bottom)) !important;
        top: auto !important;
        transform: none !important;

        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: 10px 12px;
        border-radius: 16px;
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
        width: auto;
        height: auto;
        z-index: 120;
        /* 前面に */
    }

    /* 2) 既存の縦書きや区切り線はオフに */
    .side-rail .rail-sep {
        display: none !important;
    }

    .side-rail .rail-text {
        writing-mode: horizontal-tb !important;
        text-orientation: initial !important;
        font-size: .92rem;
        letter-spacing: .04em;
        line-height: 1;
    }

    .side-rail .rail-block {
        flex: 1 1 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 0;
        min-width: 0;
        position: relative;
        z-index: 2;
        /* 仕切り線の上に */
    }

    .side-rail .rail-ico {
        width: 24px;
        height: 24px;
    }

    /* 3) “中央の縦線” をドック中央に1本だけ */
    .side-rail::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 1px;
        height: 60%;
        /* 長さはお好みで 40%〜70% など */
        background: #ccc;
        /* 色はお好みで */
        z-index: 1;
        /* ボタン(2)の下に */
        pointer-events: none;
    }

    /* 4) 下部ドックに被らない余白（必要なら <body class="has-bottom-rail"> 追加） */
    body.has-bottom-rail {
        padding-bottom: 84px;
    }
}

/* ===== ABOUT 背景ワード（切れ防止＆狭幅で意図的に改行） ===== */
.about-hero::after {
    content: "KURAYOSHIKITA";
    position: absolute;
    inset: auto 0 6%;
    /* 横幅いっぱいを使って中央寄せ（はみ出しにくくする） */
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    /* PC/広い幅は1行固定 */
    color: #9B8B7E;
    opacity: .06;
    font-weight: 900;
    letter-spacing: .1em;
    font-size: clamp(2.4rem, 16vw, 8rem);
    pointer-events: none;
}

.about-wrapper {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(520px, 720px) minmax(160px, 1fr);
    align-items: end;
    column-gap: clamp(20px, 4vw, 40px);
    position: relative;
    z-index: 1;
}

.about-figure {
    justify-self: center;
    max-width: clamp(200px, 24vw, 320px);
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .08))
}

.about-figure-left {
    transform: translateX(-3%)
}

.about-figure-right {
    transform: translateX(3%)
}

.about-center {
    text-align: center;
    padding: clamp(16px, 2.2vw, 24px) clamp(20px, 3vw, 34px)
}

.about-eyebrow {
    font-size: clamp(.9rem, .6rem + .9vw, 1.2rem);
    letter-spacing: .14em;
    color: var(--accent1);
    font-weight: 900;
    display: inline-block;
    margin-bottom: .8em;
}

.about-copy {
    max-width: 34ch;
    margin: 0 auto var(--sp-4);
    font-size: clamp(1.05rem, .95rem + .8vw, 1.4rem);
    line-height: 1.9;
    font-weight: 500;
}

.about-copy .hl-1,
.about-copy .hl-2 {
    font-weight: 900;
    color: #2C91E9
}

.about-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1em 2em;
    border-radius: 32px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #F4A72C 0%, #E98B2E 100%);
    box-shadow: 0 8px 22px rgba(244, 167, 44, .25);
    text-decoration: none;
}

/* モバイル専用の“横並び画像行”はPCでは非表示 */
.about-wrapper-images {
    display: none;
}

/* ====== モバイル：テキスト → 画像2枚（横並び） ====== */
@media (max-width: 640px) {

    /* 縦積みに切替 */
    .about-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--sp-4);
    }

    /* テキストを最上段 */
    .about-center {
        order: 1
    }

    /* ★ PC用の左右画像（直下の子要素だけ）を隠す */
    .about-wrapper>.about-figure-left,
    .about-wrapper>.about-figure-right {
        display: none;
    }

    /* ★ モバイル用の横並び画像を表示 */
    .about-wrapper-images {
        order: 2;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        gap: clamp(12px, 4vw, 24px);
        width: 100%;
        margin-top: var(--sp-3);
    }

    .about-wrapper-images .about-figure {
        max-width: 40vw;
        transform: none;
    }

    /* 背景ワード控えめ */
    .about-hero::after {
        opacity: .05;
        font-size: clamp(2rem, 18vw, 5.6rem);
    }
}

/* 画面が狭くて1行だと切れそうな場合は “KURAYOSHI 改行 KITA” に切替 */
@media (max-width: 560px) {
    .about-hero::after {
        content: "KURAYOSHI\A KITA";
        /* \A で任意の改行 */
        white-space: pre;
        /* \A を改行として解釈 */
        line-height: 1.05;
        font-size: clamp(2rem, 18vw, 5.8rem);
    }
}

/* =========================
   ABOUT 強制上書き（画像＋背景文字）
   ※このブロックを style.css の一番最後に貼る
========================= */

/* 1) 画像を拡大（PC） */
#about .about-wrapper {
    grid-template-columns: minmax(220px, 1fr) minmax(560px, 780px) minmax(220px, 1fr) !important;
    align-items: end !important;
}

#about .about-figure {
    max-width: clamp(360px, 32vw, 560px) !important;
}

#about .about-figure img {
    width: 100%;
    height: auto;
}

/* 2) タブレットで少し大きめを維持 */
@media (max-width: 1200px) {
    #about .about-figure {
        max-width: clamp(320px, 34vw, 520px) !important;
    }
}

/* 3) スマホ：テキスト上／画像2枚を横並び（横幅も確保） */
@media (max-width: 640px) {
    #about .about-wrapper {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-areas:
            "center center"
            "left   right" !important;
        row-gap: var(--sp-4);
        column-gap: clamp(12px, 4vw, 24px);
        justify-items: center;
        align-items: end;
    }

    #about .about-center {
        grid-area: center;
        text-align: center;
    }

    #about .about-figure-left {
        grid-area: left;
    }

    #about .about-figure-right {
        grid-area: right;
    }

    /* 横並びの各画像幅 */
    #about .about-figure {
        max-width: clamp(180px, 44vw, 260px) !important;
    }
}

/* 4) 背景ワード：常に全体表示。足りなければ自動改行 */
section#about.about-hero {
    position: relative;
}

/* 念のため */

section#about.about-hero::after {
    content: "KURAYOSHIKITA";
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 6% !important;
    /* 画面下から少し上 */
    top: auto !important;
    /* 既存の top 指定を無効化 */
    transform: none !important;
    /* 既存の translate を無効化 */
    width: 100%;
    text-align: start;
    color: #9B8B7E;
    opacity: .08;
    font-weight: 900;
    letter-spacing: .12em;
    font-size: clamp(3rem, 22vw, 12rem);
    /* 大きく見せる */
    line-height: 1;
    white-space: nowrap;
    /* 幅がある時は1行 */
    pointer-events: none;
    z-index: 0;
}

/* 5) 幅が足りない時は「KURAYOSHI」改行「KITA」に切替え */
@media (max-width: 980px) {
    section#about.about-hero::after {
        content: "KURAYOSHI\A KITA";
        white-space: pre;
        line-height: 1.05;
        font-size: clamp(2.6rem, 20vw, 10rem);
        bottom: 5%;
    }
}

/* =========================================================
   7) School Life Section Revamp
========================================================= */

/* Helper for full-width elements */
.container-fullwidth {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* --- Revamped Overseas Program Cards --- */
.overseas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(16px, 2.4vw, 24px);
    margin-top: var(--sp-3);
}

.overseas-card {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.overseas-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
}

.overseas-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
}

.overseas-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.overseas-card:hover .overseas-thumb img {
    transform: scale(1.05);
}

.overseas-badge {
    position: absolute;
    top: var(--sp-2);
    left: var(--sp-2);
    background: var(--accent1);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: .3em .8em;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.overseas-content {
    padding: var(--sp-3);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.overseas-title {
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1.4;
    color: var(--color-text);
    margin: 0 0 .25em;
}

.overseas-desc {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.7;
    margin: 0;
}

/* =========================================================
   7) School Life Section - Cover Flow Carousel (Final)
========================================================= */

.perspective-carousel {
    position: relative;
    padding: var(--sp-4) 0;
    width: 100%;
    overflow: hidden;
}

.carousel-track-container {
    position: relative;
    padding: var(--sp-4) 0;
    height: 320px;
    /* 高さを確保してレイアウトの安定化 */
}

.carousel-track {
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
    /* JSでtransformを適用するためトランジションを設定 */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
    width: clamp(280px, 35vw, 420px);
    aspect-ratio: 4 / 3;
    margin: 0 var(--sp-2);
    flex-shrink: 0;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    /* z-indexを有効にするため */
    background: #eee;
    transition: transform 0.6s ease, opacity 0.5s ease;
    cursor: pointer;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
    text-align: center;
}

.carousel-caption h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Navigation UI */
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: var(--sp-3);
}

.carousel-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 24px;
    color: var(--color-text);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.carousel-button:hover {
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-dots button.is-active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* =========================
   ABOUT: 1000pxでレスポンシブ切替（最終上書き）
   ※このブロックは style.css の一番最後に貼る
========================= */

/* 1000px以下は「テキスト→左右2画像」のモバイルレイアウトに統一 */
@media (max-width:1000px) {

    /* レイアウト */
    #about .about-wrapper {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-areas:
            "center center"
            "left   right" !important;
        row-gap: var(--sp-4);
        column-gap: clamp(12px, 4vw, 24px);
        justify-items: center;
        align-items: end;
    }

    #about .about-center {
        grid-area: center !important;
        text-align: center !important;
        padding: clamp(16px, 2.2vw, 24px) clamp(20px, 3vw, 34px) !important;
    }

    #about .about-figure-left {
        grid-area: left !important;
    }

    #about .about-figure-right {
        grid-area: right !important;
    }

    /* 画像サイズ */
    #about .about-figure {
        max-width: clamp(200px, 44vw, 360px) !important;
        transform: none !important;
    }

    /* 既存の「640px以下で左右画像を非表示」の指定を打ち消し */
    #about .about-wrapper>.about-figure-left,
    #about .about-wrapper>.about-figure-right {
        display: block !important;
    }

    /* 背景ワードは2行に（KURAYOSHI / KITA） */
    section#about.about-hero::after {
        content: "KURAYOSHI\A KITA" !important;
        white-space: pre !important;
        line-height: 1.05 !important;
        bottom: 5% !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        transform: none !important;
        text-align: start !important;
        font-size: clamp(2.6rem, 20vw, 10rem) !important;
        opacity: .08 !important;
    }
}

/* 1000pxを超えたらPCレイアウト（3カラム系）を維持しつつ、画像は少し大きめ */
@media (min-width:1001px) {
    #about .about-wrapper {
        grid-template-columns: minmax(220px, 1fr) minmax(560px, 780px) minmax(220px, 1fr) !important;
        align-items: end !important;
    }

    #about .about-figure {
        max-width: clamp(360px, 32vw, 560px) !important;
    }

    /* 背景ワードは1行表示に戻す */
    section#about.about-hero::after {
        content: "KURAYOSHIKITA" !important;
        white-space: nowrap !important;
        bottom: 6% !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        transform: none !important;
        text-align: start !important;
        font-size: clamp(3rem, 22vw, 12rem) !important;
        opacity: .08 !important;
    }
}

/* =========================
   ABOUT: 余計な画像を非表示 & 画面切れ防止
   ※ style.css の最下部に貼る
========================= */

/* 1) 不要なモバイル用の複製ブロックを強制OFF */
#about .about-wrapper-images {
    display: none !important;
}

/* 2) 下部の横並び画像が切れないように幅管理 */
@media (max-width:1000px) {

    /* グリッドのカラムをはみ出さないように minmax(0,1fr) に */
    #about .about-wrapper {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        column-gap: clamp(12px, 4vw, 20px) !important;
        overflow: visible;
        /* 影や丸角が切れないよう念のため */
    }

    /* 図版は“列の中で完結”させる */
    #about .about-figure {
        width: 100% !important;
        /* 列幅内にフィット */
        max-width: 520px !important;
        /* 過度に大きくしない上限 */
        margin: 0 auto !important;
        /* 中央寄せ */
        transform: none !important;
        /* ずらし解除 */
    }

    #about .about-figure img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        /* 縦が切れない */
        object-fit: contain !important;
        /* 必要なら全体表示 */
    }

    /* 背景ワードと被る場合の余白調整（軽め） */
    #about .about-center {
        margin-bottom: var(--sp-3) !important;
    }
}

/* 3) PC側も安全網：画像のはみ出しを抑制 */
@media (min-width:1001px) {

    #about .about-figure,
    #about .about-figure img {
        max-width: 100% !important;
    }
}

/* Heroキャッチコピーを1行で維持する調整 */
.hero-content h1 {
    font-size: clamp(1.4rem, 6vw, 4.2rem);
    /* 最小1.4remにして小画面でも収まるように */
    white-space: nowrap;
    /* 折り返しを禁止 */
    overflow: hidden;
    text-overflow: ellipsis;
    /* 最悪は…で切れるように */
    max-width: 100%;
}

/* モバイルではサイズをさらに小さくする */
@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: clamp(1.2rem, 5vw, 2.2rem);
        /* さらに小さい最小値に設定 */
    }
}

.club-slider {
    cursor: grab;
    user-select: none;
}

.club-slider:active {
    cursor: grabbing;
}

/* カード&リンクを前面でイベント取得 */
.club-slider {
    position: relative;
}

.club-card {
    position: relative;
    z-index: 0;
}

.club-card a {
    display: block;
    position: relative;
    z-index: 1;
    text-decoration: none;
    color: inherit;
}

/* 矢印ボタンは前面だが、カード上に不要に被らない位置/サイズに */
.club-nav {
    z-index: 3;
}

/* 画像のドラッグでクリックが阻害されないように */
.club-thumb img {
    user-select: none;
    -webkit-user-drag: none;
}

/* タッチの既定の横パンを抑え、縦スクロールは許可（自前で横ドラッグ処理するため） */
.club-slider {
    touch-action: pan-y;
}

/* スライダー一式を局所的に最前面へ（周辺の固定UIや装飾が被る事故防止） */
.club-slider-wrap {
    position: relative;
    z-index: 50;
}

/* カード内リンクは常にクリック可能（上位が pointer-events: none; でも通す） */
.club-card a {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

/* 矢印はさらに上（被りにくくする） */
.club-nav {
    z-index: 60;
}

/* 念のため：このセクション配下では装飾の当たり判定を切る */
.club-slider-wrap::before,
.club-slider-wrap::after {
    pointer-events: none;
}

/* =========================================================
   Outcomes Section ONLY - Enhanced Visibility & Design
========================================================= */

/* 確かな進路実績セクションの背景をより明るく */
#outcomes {
    background: linear-gradient(135deg, #F8F6FF 0%, #FFFFFF 100%);
    position: relative;
}

#outcomes::before {
    opacity: .2;
    background: radial-gradient(circle at 1px 1px, rgba(123, 112, 176, .08) 1px, transparent 0) 0 0/14px 14px;
}

/* 実績ボックスの改善 */
#outcomes .outcome-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 3vw, 32px);
    margin-bottom: var(--sp-6);
}

#outcomes .outcome-box {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFF 100%);
    border-radius: 20px;
    box-shadow:
        0 12px 32px rgba(123, 112, 176, .08),
        0 4px 12px rgba(0, 0, 0, .06);
    padding: clamp(24px, 3.5vw, 32px);
    border: 1px solid rgba(123, 112, 176, .12);
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
}

#outcomes .outcome-box:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 40px rgba(123, 112, 176, .12),
        0 8px 20px rgba(0, 0, 0, .08);
}

/* アクセントカラーでボーダーライン */
#outcomes .outcome-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7c70b0, #b68ec4);
    border-radius: 20px 20px 0 0;
}

#outcomes .outcome-box .label {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 900;
    color: #4A4A4A;
    margin-bottom: 16px;
    letter-spacing: .02em;
    position: relative;
    padding-left: 32px;
}

/* アイコン風装飾 */
#outcomes .outcome-box .label::before {
    content: "📚";
    position: absolute;
    left: 0;
    font-size: 1.2em;
    filter: hue-rotate(200deg);
}

#outcomes .outcome-box:last-child .label::before {
    content: "💼";
    filter: hue-rotate(50deg);
}

#outcomes .outcome-box strong {
    display: block;
    font-weight: 900;
    color: #2D2D2D;
    margin: 12px 0 8px;
    font-size: 1.05rem;
    padding: 8px 12px;
    background: linear-gradient(90deg, #F0F4FF, #FAFBFF);
    border-radius: 8px;
    border-left: 3px solid #7c70b0;
}

#outcomes .outcome-box p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 12px;
}

/* 卒業生インタビューカードの改善 */
#outcomes .subhead {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-weight: 900;
    color: #2D2D2D;
    text-align: center;
    margin: var(--sp-6) 0 var(--sp-4);
    position: relative;
}

#outcomes .subhead::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7c70b0, #b68ec4);
    border-radius: 999px;
}

#outcomes .interview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(18px, 2.5vw, 28px);
}

#outcomes .interview-card {
    background: #fff;
    border-radius: 18px;
    box-shadow:
        0 10px 28px rgba(123, 112, 176, .06),
        0 4px 12px rgba(0, 0, 0, .04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(123, 112, 176, .08);
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
}

#outcomes .interview-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 16px 36px rgba(123, 112, 176, .10),
        0 8px 20px rgba(0, 0, 0, .06);
}

#outcomes .interview-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #62a2af, #f4a72c, #e26b5a);
}

#outcomes .interview-image {
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, #F8F6FF, #E8E4F8);
    position: relative;
}

#outcomes .interview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

#outcomes .interview-card:hover .interview-image img {
    transform: scale(1.05);
}

#outcomes .interview-body {
    padding: clamp(16px, 2.5vw, 20px);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#outcomes .interview-title {
    font-weight: 900;
    color: #2D2D2D;
    font-size: 1.05rem;
    line-height: 1.3;
}

#outcomes .interview-name {
    font-size: .92rem;
    color: #7c70b0;
    font-weight: 700;
    letter-spacing: .02em;
}

#outcomes .interview-quote {
    font-size: .95rem;
    color: #555;
    line-height: 1.6;
    font-style: italic;
    position: relative;
    padding: 12px 16px;
    background: #F8F9FF;
    border-radius: 12px;
    border-left: 3px solid #7c70b0;
    margin-top: auto;
}

#outcomes .interview-quote::before {
    content: "\201C";
    position: absolute;
    top: -2px;
    left: 8px;
    font-size: 2rem;
    color: #7c70b0;
    opacity: .3;
    font-family: serif;
}

/* レスポンシブ調整 */
@media (max-width: 960px) {
    #outcomes .outcome-boxes {
        grid-template-columns: 1fr;
        gap: clamp(16px, 3vw, 24px);
    }

    #outcomes .interview-cards {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: clamp(16px, 2vw, 20px);
    }
}

@media (max-width: 640px) {
    #outcomes .interview-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #outcomes .outcome-box .label {
        padding-left: 28px;
    }

    #outcomes .outcome-box .label::before {
        font-size: 1.1em;
    }
}

/* セクションタイトルの色調整 */
#outcomes .section-title span {
    background: linear-gradient(135deg, #7c70b0 0%, #9a8bc8 100%);
    box-shadow: 0 8px 24px rgba(124, 112, 176, .25);
}

/* アニメーション効果 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#outcomes .outcome-box,
#outcomes .interview-card {
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

#outcomes .outcome-box:nth-child(2) {
    animation-delay: 0.1s;
}

#outcomes .interview-card:nth-child(2) {
    animation-delay: 0.1s;
}

#outcomes .interview-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* 高コントラスト対応 */
@media (prefers-contrast: high) {

    #outcomes .outcome-box,
    #outcomes .interview-card {
        border-width: 2px;
        border-color: #333;
    }

    #outcomes .outcome-box strong,
    #outcomes .interview-title {
        color: #000;
    }

    #outcomes .interview-quote {
        background: #f0f0f0;
        border-left-width: 4px;
        border-left-color: #000;
    }
}

/* 低モーション設定対応 */
@media (prefers-reduced-motion: reduce) {

    #outcomes .outcome-box,
    #outcomes .interview-card,
    #outcomes .interview-image img {
        animation: none !important;
        transition: none !important;
    }

    #outcomes .outcome-box:hover,
    #outcomes .interview-card:hover {
        transform: none;
    }
}

/* Course Layout - Consistent with site design */
.courses-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(20px, 3vw, 32px);
    margin-top: var(--sp-4);
}

/* Course Cards - Following site's card pattern */
.course-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 3px solid rgba(0, 0, 0, .06);
    transition: transform .15s ease, box-shadow .15s ease;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
}

/* Accent Colors - Consistent with existing courseCard styling */
.course-card.accent-blue {
    border-color: rgba(98, 162, 175, .28);
}

.course-card.accent-coral {
    border-color: rgba(226, 107, 90, .28);
}

.course-card.accent-purple {
    border-color: rgba(182, 142, 196, .28);
}

/* Visual Section */
.course-visual {
    flex: 0 0 auto;
}

.card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f4f4f4;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.course-card:hover .card-image img {
    transform: scale(1.05);
}

/* Content Area */
.card-content {
    padding: clamp(20px, 3vw, 24px);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    flex: 1;
}

.course-title {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    font-weight: 900;
    color: var(--color-text);
    margin: 0;
    line-height: 1.3;
}

.course-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Course Points - Consistent with existing design */
.course-points {
    padding-left: 1.1em;
    display: grid;
    gap: .25em;
    font-size: .95rem;
    margin: 0;
}

.course-points li {
    list-style: disc;
    line-height: 1.5;
    color: var(--color-text);
}

/* Voice Box - Consistent with existing voice-box */
.voice-box {
    background: #f6f6f6;
    border: 1px dashed rgba(0, 0, 0, .15);
    border-radius: 12px;
    padding: .6em .8em;
    font-weight: 700;
    color: #444;
    font-size: 0.9rem;
    text-align: center;
}

/* Graduate Voice Section */
.graduate-voice {
    margin-top: var(--sp-3);
    padding: var(--sp-3);
    background: rgba(0, 0, 0, .02);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 12px;
}

.graduate-header h4 {
    margin: 0 0 var(--sp-2);
    font-size: 1rem;
    font-weight: 700;
    color: #555;
}

.graduate-content {
    background: #fff;
    border-radius: 8px;
    padding: var(--sp-2);
}

.graduate-info {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.graduate-image {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.graduate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.graduate-name {
    font-weight: 700;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.graduate-dest {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 6px;
}

.graduate-comment {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

/* Button - Using existing btn-wire styling */
.btn-wire {
    margin-top: auto;
    padding: 12px 16px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 960px) {
    .courses-layout {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: clamp(16px, 3vw, 24px);
    }
}

@media (max-width: 640px) {
    .courses-layout {
        grid-template-columns: 1fr;
        gap: var(--sp-4);
    }

    .graduate-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .graduate-image {
        width: 45px;
        height: 45px;
    }
}

/* Accessibility */
.course-card:focus-within {
    outline: 2px solid var(--accent1);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .course-card,
    .card-image img {
        transition: none !important;
    }
}

/* ================================
   COURSES – Vertical + Decorative
================================ */

/* 縦積み全体間隔（既存トークン流用） */
.courses-layout {
    display: flex;
    flex-direction: column;
    gap: clamp(22px, 3.5vw, 36px);
}

/* ベースカード */
.course-card {
    position: relative;
    background: var(--color-surface);
    border-radius: 18px;
    overflow: clip;
    /* 淡いグラデの境界線（視覚的リッチ感） */
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: var(--shadow);
    isolation: isolate;
    /* アニメ準備 */
    transform: translateY(10px);
    opacity: 0;
}

/* アクセント色別の薄い縁（既存アクセントを流用） */
.course-card.accent-blue {
    outline: 4px solid rgb(98 162 175 / 10%);
}

.course-card.accent-coral {
    outline: 4px solid rgb(226 107 90 / 10%);
}

.course-card.accent-purple {
    outline: 4px solid rgb(182 142 196 / 10%);
}

/* リボン */
.course-ribbon {
    position: absolute;
    top: 14px;
    left: -8px;
    z-index: 2;
    display: inline-block;
    padding: .38em .9em;
    font-weight: 900;
    font-size: .82rem;
    letter-spacing: .03em;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0)) border-box,
        var(--accent1);
    border-radius: 0 999px 999px 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.course-card.accent-coral .course-ribbon {
    background:
        linear-gradient(135deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0)) border-box,
        var(--accent2);
}

.course-card.accent-purple .course-ribbon {
    background:
        linear-gradient(135deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0)) border-box,
        var(--accent3);
}

/* シェル（画像＋本文エリア） */
.course-shell {
    display: grid;
    grid-template-columns: 1fr;
}

/* 画像 */
.course-card .card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f4f4f4;
}

.course-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.055);
    transition: transform .45s ease;
}

.course-card:hover .card-image img {
    transform: scale(1.08);
}

/* コンテンツ */
.course-card .card-content {
    padding: clamp(16px, 2.4vw, 26px);
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.6vw, 16px);
}

/* 見出し周り */
.card-head {
    display: grid;
    gap: .4em;
}

.card-head .kicker {
    display: inline-block;
    font-weight: 900;
    letter-spacing: .08em;
    font-size: .8rem;
    color: #666;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 999px;
    padding: .25em .7em;
    width: fit-content;
}

.card-head .course-title {
    font-size: clamp(1.26rem, 1.05rem + .8vw, 1.6rem);
}

/* メタ情報のチップ */
.meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
    padding: 0;
    list-style: none;
}

.meta-chips li {
    font-weight: 800;
    font-size: .86rem;
    color: #2b2b2b;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 999px;
    padding: .35em .7em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
}

/* 箇条書き（SVGアイコン風の丸） */
.icon-bullets {
    padding: 0;
    margin: 0;
    display: grid;
    gap: .35em;
    list-style: none;
}

.icon-bullets li {
    position: relative;
    padding-left: 1.4em;
    line-height: 1.6;
    list-style: none;
}

.icon-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: .8em;
    height: .8em;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff 0 30%, transparent 31%),
        var(--accent1);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .75),
        0 2px 8px rgba(0, 0, 0, .12);
}

.course-card.accent-coral .icon-bullets li::before {
    background:
        radial-gradient(circle at 30% 30%, #fff 0 30%, transparent 31%),
        var(--accent2);
}

.course-card.accent-purple .icon-bullets li::before {
    background:
        radial-gradient(circle at 30% 30%, #fff 0 30%, transparent 31%),
        var(--accent3);
}

/* 卒業生ボックスの軽い強調（既存voice-boxと親和） */
.graduate-voice {
    margin-top: .4rem;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    border: 1px solid #eee;
    border-radius: 14px;
    padding: .8em;
}

.graduate-header h4 {
    margin: 0 0 .4em;
    font-size: 1rem;
    font-weight: 900;
}

.graduate-info {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
}

.graduate-image img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.graduate-name {
    font-weight: 900;
}

.graduate-dest {
    font-size: .9rem;
    color: #666;
}

/* 交互レイアウト（PC幅で左右切替） */
@media (min-width: 960px) {
    .course-shell {
        grid-template-columns: 46% 54%;
        align-items: center;
    }

    .course-card.is-alt .course-shell {
        grid-template-columns: 54% 46%;
    }

    .course-card.is-alt .card-image {
        order: 2;
    }

    .course-card.is-alt .card-content {
        order: 1;
    }
}

/* ホバー・浮き上がり */
.course-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, .03) 100%);
    opacity: 0;
    transition: opacity .25s ease;
}

.course-card:hover::after {
    opacity: 1;
}

.course-card:hover {
    box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
    transform: translateY(-2px);
}

/* ===== Appear animation（JSで .is-visible を付与） ===== */
.reveal-up {
    transition: opacity .6s ease, transform .6s ease;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Reveal-up (cards / sections)
================================ */
.reveal-up {
    opacity: 0;
    transform: translateY(10px);
    will-change: opacity, transform;
    transition: opacity .6s ease, transform .6s ease;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 動きを苦手とするユーザー配慮 */
@media (prefers-reduced-motion: reduce) {
    .reveal-up {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* ▼（任意）コースカードの見栄えを少しだけ底上げ */
.course-card {
    transition: box-shadow .25s ease, transform .25s ease;
}

.course-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
}

/* --- 画像まわりの余白と埋め込みを是正 --- */

/* figure のデフォルト余白をリセット（これだけで上の空白が消えるケースが多い） */
.course-card .card-image {
    margin: 0;
    /* ←重要 */
    width: 100%;
    aspect-ratio: 16/9;
    /* SPは従来どおり16:9 */
    overflow: hidden;
    background: #f4f4f4;
}

/* 画像を常にフルカバー */
.course-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
    /* 顔が上寄せにある写真の見切れを軽減 */
    transform: scale(1.055);
    transition: transform .45s ease;
}

.course-card:hover .card-image img {
    transform: scale(1.08);
}

/* PCレイアウト：画像を“上寄せ”に。縦センタリングによる上部の空白を解消 */
@media (min-width: 960px) {
    .course-shell {
        grid-template-columns: 46% 54%;
        align-items: start;
        /* ← center だと上下に空きが出るので start に */
    }

    /* 画像は縦をコンテンツに合わせて伸縮。比率固定を解除して“埋める” */
    .course-card .card-image {
        aspect-ratio: auto;
        /* ←比率固定を解除 */
        height: 100%;
        /* コンテンツと同じ高さまで伸長 */
        min-height: 320px;
        /* 写真が小さくなりすぎない下限 */
        align-self: start;
        /* 自身も上揃え */
    }

    /* 交互レイアウト（2枚目など .is-alt）も同様に上揃え */
    .course-card.is-alt .course-shell {
        grid-template-columns: 54% 46%;
    }

    .course-card.is-alt .card-image {
        order: 2;
    }

    .course-card.is-alt .card-content {
        order: 1;
    }
}

/* 万一、親要素の line-height や margin が影響している場合の保険 */
.course-card .card-content,
.course-card .card-image {
    line-height: normal;
}

/* もしカード全体の上下の“抜け”が気になる場合は外側余白を微調整 */
.courses-layout {
    gap: clamp(22px, 3.5vw, 36px);
}

/* コース名の色（.course-title）をコースごとにテーマカラーに */
.course-card.accent-blue .course-title {
    color: var(--accent1);
    /* 例：青（特別進学） */
}

.course-card.accent-coral .course-title {
    color: var(--accent2);
    /* 例：赤系（総合） */
}

.course-card.accent-purple .course-title {
    color: var(--accent3);
    /* 例：紫系（調理科） */
}

/* 太字・サイズはそのままでOK（ベースが以下のように指定されていれば） */
.course-title {
    font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem);
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
}

/* =========================================================
   SCHOOL LIFE SECTION - Enhanced Design
   年間行事・フォトギャラリー・海外研修の統一デザイン強化
========================================================= */

/* ----- 年間行事スライダー（facilities-slider）の現代的強化 ----- */
.facilities-slider {
    position: relative;
    padding: var(--sp-4) 0;
    isolation: isolate;
}

/* スライダートラック全体にグラデーション背景 */
.facilities-track {
    display: flex;
    gap: clamp(14px, 2vw, 18px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 10px 16px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    position: relative;

    /* 微細なテクスチャ背景 */
    background:
        radial-gradient(circle at 20% 80%, rgba(244, 167, 44, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(98, 162, 175, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(226, 107, 90, 0.02) 0%, transparent 50%);
    border-radius: 16px;
    margin: 0 -6px;
}

.facilities-track::-webkit-scrollbar {
    display: none;
}

/* 各スライドカードの強化 */
.facility-slide {
    scroll-snap-align: center;
    flex: 0 0 clamp(72%, 54vw, 34%);
    background: var(--color-surface);
    border-radius: 20px;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, .08),
        0 4px 12px rgba(0, 0, 0, .04);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, .6);
    transition: transform .3s ease, box-shadow .3s ease;
    backdrop-filter: blur(1px);
}

.facility-slide:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, .12),
        0 8px 20px rgba(0, 0, 0, .06);
}

/* 画像の強化 */
.facility-slide img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform .4s ease, filter .3s ease;
}

.facility-slide:hover img {
    transform: scale(1.05);
    filter: brightness(1.02) saturate(1.05);
}

/* キャプションの現代的デザイン */
.facility-slide figcaption {
    text-align: center;
    padding: clamp(12px, 2vw, 16px);
    font-weight: 900;
    color: #333;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    position: relative;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    letter-spacing: .02em;
}

/* キャプションにアクセントライン */
.facility-slide figcaption::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent1), var(--primary));
    border-radius: 0 0 999px 999px;
}

/* ナビゲーションボタンの強化 */
.facilities-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, .15),
        0 4px 12px rgba(0, 0, 0, .08);
    border: 1px solid rgba(255, 255, 255, .8);
    color: #2b2b2b;
    font-size: 22px;
    font-weight: 900;
    display: grid;
    place-items: center;
    z-index: 10;
    transition: all .25s ease;
    cursor: pointer;
}

.facilities-nav:hover {
    transform: translateY(-50%) scale(1.08);
    background: #fff;
    box-shadow:
        0 16px 36px rgba(0, 0, 0, .18),
        0 6px 16px rgba(0, 0, 0, .10);
}

.facilities-nav:active {
    transform: translateY(-50%) scale(.98);
}

.facilities-nav:disabled {
    opacity: .4;
    cursor: default;
    transform: translateY(-50%);
}

.facilities-nav.prev {
    left: -16px;
}

.facilities-nav.next {
    right: -16px;
}

/* ----- フォトギャラリー（perspective-carousel）の強化 ----- */
.perspective-carousel {
    position: relative;
    padding: var(--sp-5) 0 var(--sp-6);
    background:
        radial-gradient(ellipse at 30% 20%, rgba(98, 162, 175, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(244, 167, 44, 0.04) 0%, transparent 60%);
    border-radius: 24px;
    margin: var(--sp-4) 0;
    isolation: isolate;
}

.carousel-track-container {
    position: relative;
    padding: var(--sp-4) 0;
    height: 320px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
    width: clamp(280px, 35vw, 420px);
    aspect-ratio: 4 / 3;
    margin: 0 var(--sp-2);
    flex-shrink: 0;
    border-radius: 18px;
    box-shadow:
        0 16px 40px rgba(0, 0, 0, .12),
        0 6px 16px rgba(0, 0, 0, .06);
    overflow: hidden;
    position: relative;
    background: #eee;
    transition: transform 0.6s ease, opacity 0.5s ease, box-shadow 0.4s ease;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, .6);
}

.carousel-slide:hover {
    box-shadow:
        0 24px 48px rgba(0, 0, 0, .16),
        0 10px 24px rgba(0, 0, 0, .08);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: transform .4s ease, filter .3s ease;
}

.carousel-slide:hover img {
    transform: scale(1.02);
    filter: brightness(1.05) saturate(1.08);
}

/* カルーセルナビゲーション */
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-top: var(--sp-4);
}

.carousel-button {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .8);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, .1),
        0 3px 8px rgba(0, 0, 0, .06);
    font-size: 20px;
    color: #333;
    cursor: pointer;
    transition: all .25s ease;
    font-weight: 700;
}

.carousel-button:hover {
    transform: scale(1.08);
    background: #fff;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, .14),
        0 5px 12px rgba(0, 0, 0, .08);
}

.carousel-button:active {
    transform: scale(.98);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .2);
    border: none;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.carousel-dots button.is-active {
    background: linear-gradient(135deg, var(--accent1), var(--primary));
    transform: scale(1.3);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, .1);
}

/* ----- 海外研修プログラム（overseas-grid）の強化 ----- */
.overseas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(20px, 3vw, 32px);
    margin-top: var(--sp-4);
    padding: var(--sp-3);
    background:
        radial-gradient(circle at 20% 10%, rgba(182, 142, 196, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 90%, rgba(226, 107, 90, 0.04) 0%, transparent 50%);
    border-radius: 20px;
}

.overseas-card {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border-radius: 20px;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, .08),
        0 4px 12px rgba(0, 0, 0, .04);
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .6);
    transition: all .3s ease;
    position: relative;
    backdrop-filter: blur(1px);
}

.overseas-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent1), var(--primary), var(--accent2));
    border-radius: 20px 20px 0 0;
}

.overseas-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, .12),
        0 8px 20px rgba(0, 0, 0, .06);
}

.overseas-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f4f8, #e8ecf0);
}

.overseas-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease, filter .3s ease;
}

.overseas-card:hover .overseas-thumb img {
    transform: scale(1.05);
    filter: brightness(1.05) saturate(1.08);
}

/* バッジの強化 */
.overseas-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--accent1), #7bb8c4);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
    padding: .4em .9em;
    border-radius: 999px;
    box-shadow:
        0 8px 20px rgba(98, 162, 175, .25),
        0 3px 8px rgba(0, 0, 0, .15);
    letter-spacing: .02em;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* コンテンツエリア */
.overseas-content {
    padding: clamp(20px, 3.5vw, 28px);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.overseas-title {
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    font-weight: 900;
    line-height: 1.3;
    color: var(--color-text);
    margin: 0;
    position: relative;
    padding-left: 24px;
}

/* タイトル前のアイコン */
.overseas-title::before {
    content: "✈";
    position: absolute;
    left: 0;
    color: var(--accent1);
    font-size: 1.1em;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .1));
}

.overseas-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fafbfc, #f5f7fa);
    border-radius: 12px;
    border-left: 3px solid var(--accent1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .03);
}

/* ----- セクション共通の装飾強化 ----- */
#life .subhead {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-weight: 900;
    color: #2d2d2d;
    text-align: center;
    margin: var(--sp-6) auto var(--sp-4);
    position: relative;
    max-width: 600px;
    padding: 0 var(--sp-3);
}

#life .subhead::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent2), var(--primary));
    border-radius: 999px;
}

#life .note {
    text-align: center;
    color: #666;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    margin-bottom: var(--sp-4);
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ----- レスポンシブ調整 ----- */
@media (max-width: 960px) {
    .overseas-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: clamp(16px, 3vw, 24px);
        padding: var(--sp-2);
    }

    .facilities-nav {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    .facilities-nav.prev {
        left: -12px;
    }

    .facilities-nav.next {
        right: -12px;
    }
}

@media (max-width: 640px) {
    .overseas-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-3);
        padding: var(--sp-2);
    }

    .facilities-nav {
        width: 42px;
        height: 42px;
        font-size: 18px;
        border-radius: 12px;
    }

    .facilities-nav.prev,
    .facilities-nav.next {
        left: -8px;
        right: -8px;
    }

    .carousel-button {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .overseas-title {
        padding-left: 20px;
    }

    .overseas-title::before {
        font-size: 1em;
    }
}

/* ----- アニメーション効果 ----- */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.facility-slide {
    animation: slideInFromLeft 0.6s ease-out;
    animation-fill-mode: both;
}

.facility-slide:nth-child(even) {
    animation-name: slideInFromRight;
}

.facility-slide:nth-child(n+3) {
    animation-delay: 0.1s;
}

.facility-slide:nth-child(n+5) {
    animation-delay: 0.2s;
}

.overseas-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.overseas-card:nth-child(2) {
    animation-delay: 0.1s;
}

.overseas-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* ----- 低モーション設定対応 ----- */
@media (prefers-reduced-motion: reduce) {

    .facility-slide,
    .overseas-card,
    .carousel-slide,
    .facilities-nav,
    .carousel-button,
    .overseas-thumb img,
    .facility-slide img {
        animation: none !important;
        transition: none !important;
    }

    .facility-slide:hover,
    .overseas-card:hover,
    .carousel-slide:hover {
        transform: none;
    }
}

/* ----- 高コントラスト対応 ----- */
@media (prefers-contrast: high) {

    .facility-slide,
    .overseas-card,
    .carousel-slide {
        border-width: 2px;
        border-color: #333;
    }

    .facilities-nav,
    .carousel-button {
        border-width: 2px;
        border-color: #333;
        background: #fff;
        color: #000;
    }

    .overseas-title,
    .facility-slide figcaption {
        color: #000;
    }

    .overseas-desc {
        background: #f0f0f0;
        border-left-width: 4px;
        border-left-color: #000;
    }
}

/* =========================================================
   ADMISSION SECTION - Placeholder/Coming Soon
========================================================= */
.admission-placeholder {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 5vw, 48px);
    margin-top: var(--sp-4);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow: var(--shadow);
}

.admission-placeholder .subhead {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    color: var(--color-text);
}

.placeholder-icon {
    color: var(--accent1);
    margin: var(--sp-3) auto;
    opacity: 0.8;
}

.placeholder-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
    font-weight: 500;
    margin-bottom: var(--sp-4);
}

.placeholder-note {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-muted);
    background: #f8f9fa;
    border-radius: var(--radius);
    padding: var(--sp-3);
    max-width: 600px;
    margin: 0 auto var(--sp-5);
}

/* =========================================================
   ADMISSION SECTION - Simple & Stand-out Design
========================================================= */

/* 1. セクション全体の背景を白に変更 */
section#admission {
    background: #fff;
}

/* ドット柄の背景は不要なため非表示に */
#admission::before {
    display: none;
}

/* 2. タイトルをシンプルで目立つ下線スタイルに変更 */
#admission .section-title {
    padding-bottom: 12px;
    margin-bottom: var(--sp-5);
    position: relative;
}


/* タイトルテキストのスタイルを調整 */
#admission .section-title span {
    background: none;
    color: var(--color-text);
    box-shadow: none;
    padding: 0;
    border: none;
}

/* 3. 「準備中」エリアを点線で囲むスタイルに変更 */
.admission-placeholder {
    background: none;
    /* 背景色を削除 */
    box-shadow: none;
    /* 影を削除 */
    border: 2px dashed #dcdcdc;
    /* 点線の枠を追加 */
    border-radius: var(--radius-lg);
    padding: clamp(32px, 5vw, 48px);
}

/* アイコンの色をキーカラーに変更 */
.placeholder-icon {
    color: var(--primary);
}

.placeholder-note {
    background: none;
    /* 背景色を削除 */
    padding: 0;
    margin-bottom: var(--sp-4);
    border-radius: 0;
}

.side-rail {
    position: fixed;
    top: 50%;
    right: 0;
    width: 88px;
    background: #fff;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    z-index: 110;
    transform: translateY(-50%) translateX(120px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s;
}

.side-rail.side-rail-visible {
    transform: translateY(-50%) translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.side-rail.side-rail-hidden {
    transform: translateY(-50%) translateX(120px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* 募集要項セクション専用タイトルスタイル */
#admission .section-title {
    text-align: center;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

#admission .title-en {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #999;
    margin-bottom: 8px;
    order: 1;
}

#admission .title-ja {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    order: 2;
}

#admission .section-lead {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 50px;
}

/* 情報カード（他セクションのfeature-boxスタイルを踏襲） */
.info-card {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* 強調カード */
.info-card.highlight {
    background: #f8f9ff;
    border: 2px solid #2c5aa0;
}

.info-card.accent {
    background: #f0f8ff;
    border: 2px solid #5fa8d3;
}

.info-card.notice {
    background: #fffbf0;
    border: 2px solid #ffc107;
}

/* カードタイトル */
.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* 募集概要 - コースグリッド */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.course-box {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.course-box:hover {
    border-color: #2c5aa0;
    background: #f0f8ff;
    transform: translateY(-3px);
}

.course-label {
    display: inline-block;
    background: #2c5aa0;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.course-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* テーブル */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table thead {
    background: #2c5aa0;
}

.schedule-table th {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 15px;
    text-align: left;
}

.schedule-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
}

.schedule-table tbody tr {
    background: #fff;
    transition: background 0.2s ease;
}

.schedule-table tbody tr:hover {
    background: #f8f9ff;
}

.text-small {
    font-size: 0.85rem;
    color: #888;
}

/* 試験内容 */
.exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.exam-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
}

.exam-type {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 12px;
}

.exam-text {
    color: #333;
    line-height: 1.8;
    margin: 10px 0;
}

.exam-note {
    font-size: 0.9rem;
    color: #888;
    margin: 10px 0 0 0;
}

/* 出願方法 */
.application-content {
    margin-top: 20px;
}

.app-main {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.text-link {
    color: #2c5aa0;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #2c5aa0;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.text-link:hover {
    color: #5fa8d3;
    border-bottom-color: #5fa8d3;
}

.app-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.detail-row {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-label {
    font-weight: 600;
    color: #2c5aa0;
    font-size: 0.95rem;
}

.detail-value {
    color: #333;
    line-height: 1.6;
}

/* 合格者登校日 */
.date-box {
    text-align: center;
    padding: 20px;
}

.date-main {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.date-sub {
    font-size: 0.95rem;
    color: #856404;
}

/* CTAボタン */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 50px 0;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-icon {
    font-size: 1.2rem;
}

.cta-btn.primary {
    background: #2c5aa0;
    color: #fff;
}

.cta-btn.primary:hover {
    background: #1e3a70;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(44, 90, 160, 0.3);
}

.cta-btn.secondary {
    background: #e74c3c;
    color: #fff;
}

.cta-btn.secondary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(231, 76, 60, 0.3);
}

/* お問い合わせカード */
.contact-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.contact-info {
    margin-top: 20px;
}

.school-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.contact-info p {
    color: #666;
    line-height: 2;
    margin: 8px 0;
}

.contact-info a {
    color: #2c5aa0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #5fa8d3;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    #admission .title-ja {
        font-size: 1.6rem;
    }

    .info-card {
        padding: 30px 20px;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    /* テーブルをカード形式に */
    .schedule-table thead {
        display: none;
    }

    .schedule-table,
    .schedule-table tbody,
    .schedule-table tr,
    .schedule-table td {
        display: block;
    }

    .schedule-table tr {
        background: #fff;
        border: 2px solid #2c5aa0;
        border-radius: 8px;
        margin-bottom: 15px;
        overflow: hidden;
    }

    .schedule-table td {
        text-align: right;
        padding: 12px 15px;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        justify-content: space-between;
    }

    .schedule-table td:before {
        content: attr(data-label);
        font-weight: 600;
        color: #2c5aa0;
        text-align: left;
    }

    .schedule-table td:last-child {
        border-bottom: none;
    }

    .exam-grid {
        grid-template-columns: 1fr;
    }

    .app-details {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    #admission .title-ja {
        font-size: 1.4rem;
    }

    #admission .title-en {
        font-size: 0.8rem;
    }

    .info-card {
        padding: 25px 15px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .cta-btn {
        padding: 14px 25px;
        font-size: 0.95rem;
    }
}

/* 募集要項詳細 */
.admission-details {
    margin-bottom: 40px;
}

/* セクション区切り */
.admission-section {
    margin-bottom: 50px;
}

.admission-section:last-child {
    margin-bottom: 30px;
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

/* 募集概要 - コースグリッド */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.course-box {
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.course-label {
    display: inline-block;
    background: #2c5aa0;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.course-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* テーブル */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table thead {
    background: #2c5aa0;
}

.schedule-table th {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 15px;
    text-align: left;
}

.schedule-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
}

.schedule-table tbody tr {
    transition: background 0.2s ease;
}

.schedule-table tbody tr:hover {
    background: #f8f9fa;
}

.text-small {
    font-size: 0.85rem;
    color: #888;
}

/* 試験内容 */
.exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.exam-item {
    padding: 25px;
}

.exam-type {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 12px;
}

.exam-text {
    color: #333;
    line-height: 1.8;
    margin: 10px 0;
}

.exam-note {
    font-size: 0.9rem;
    color: #888;
    margin: 10px 0 0 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .admission-section {
        margin-bottom: 40px;
    }

    .section-heading {
        font-size: 1.3rem;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    /* テーブルをカード形式に */
    .schedule-table thead {
        display: none;
    }

    .schedule-table,
    .schedule-table tbody,
    .schedule-table tr,
    .schedule-table td {
        display: block;
    }

    .schedule-table tr {
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        margin-bottom: 15px;
        overflow: hidden;
    }

    .schedule-table td {
        text-align: right;
        padding: 12px 15px;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        justify-content: space-between;
    }

    .schedule-table td:before {
        content: attr(data-label);
        font-weight: 600;
        color: #2c5aa0;
        text-align: left;
    }

    .schedule-table td:last-child {
        border-bottom: none;
    }

    .exam-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-heading {
        font-size: 1.2rem;
    }
}

/* 受付中バナー */
.status-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    margin-bottom: 40px;
    border-radius: 10px;
    border: 3px solid;
    animation: pulse 2s ease-in-out infinite;
}

.status-banner.accepting {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-color: #c0392b;
    color: #fff;
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.4);
}


.status-icon {
    font-size: 3rem;
    animation: shake 3s ease-in-out infinite;
}

@keyframes shake {

    0%,
    90%,
    100% {
        transform: rotate(0deg);
    }

    92%,
    96% {
        transform: rotate(-10deg);
    }

    94%,
    98% {
        transform: rotate(10deg);
    }
}

.status-content {
    flex: 1;
}

.status-label {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
    color: #2c5aa0;
}

.status-text {
    font-size: 1rem;
    opacity: 0.95;
}

/* ステータスタグ */
.status-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}

.accepting-tag {
    background: #e74c3c;
    color: #fff;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.upcoming-tag {
    background: #95a5a6;
    color: #fff;
}

.closed-tag {
    background: #7f8c8d;
    color: #fff;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .status-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }

    .status-icon {
        font-size: 2.5rem;
    }

    .status-label {
        font-size: 1.3rem;
    }

    .status-text {
        font-size: 0.95rem;
    }

    .status-tag {
        display: block;
        margin: 8px auto 0;
        width: fit-content;
    }
}

@media (max-width: 480px) {
    .status-banner {
        padding: 15px;
    }

    .status-icon {
        font-size: 2rem;
    }

    .status-label {
        font-size: 1.2rem;
    }

    .status-text {
        font-size: 0.9rem;
    }
}

/* ===== モバイル：下部ドックに変形 ===== */
@media (max-width: 768px) {
    :root {
        --rail-ico: 24px;
    }

    body.has-bottom-rail {
        padding-bottom: calc(84px + 12px + var(--safe-b));
    }

    .side-rail {
        left: 12px !important;
        right: 12px !important;
        bottom: calc(12px + var(--safe-b)) !important;
        top: auto !important;
        transform: none !important;
        width: auto;
        height: auto;
        padding: 10px 12px;
        border-radius: 16px;
        border-right: var(--rail-brd);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }

    .side-rail .rail-sep {
        display: none !important;
    }

    .side-rail .rail-text {
        writing-mode: horizontal-tb !important;
        text-orientation: initial !important;
        font-size: .92rem;
        letter-spacing: .04em;
        line-height: 1;
    }

    .side-rail .rail-block {
        flex: 1 1 0;
        min-width: 0;
        flex-direction: row;
        gap: 8px;
        justify-content: center;
        padding: 10px 0;
        position: relative;
        z-index: 2;
    }

    /* 真ん中の仕切り線（装飾） */
    .side-rail::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 1px;
        height: 60%;
        background: #ddd;
        z-index: 1;
        pointer-events: none;
    }
}

/* ダークモード配慮（任意） */
@media (prefers-color-scheme: dark) {
    .side-rail {
        --rail-bg: rgba(20, 20, 22, .9);
        --rail-ink: #f1f1f1;
        --rail-brd: 1px solid rgba(255, 255, 255, .08);
        --rail-shadow: 0 8px 24px rgba(0, 0, 0, .5);
    }

    .side-rail::before {
        background: #444;
    }
}

/* アニメ＆アクセシビリティ */
@media (prefers-reduced-motion: reduce) {

    .side-rail,
    .side-rail * {
        transition: none !important;
    }
}

/* “ページ先頭へ” ボタン（任意） */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: calc(20px + var(--safe-b));
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary, #f4a72c);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(0) scale(1.05);
}

/* ===== モバイル時の下部ドック 最終上書き（一番最後に貼る） ===== */
@media (max-width: 768px) {

    /* 1) 必ず表示 & 位置は下部フル幅 */
    .side-rail {
        display: flex !important;
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        bottom: calc(12px + env(safe-area-inset-bottom)) !important;
        top: auto !important;
        transform: none !important;
        width: auto !important;
        height: auto !important;

        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: 12px 16px;
        border-radius: 16px;
        background: rgba(255, 255, 255, .98);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, .12), 0 4px 16px rgba(0, 0, 0, .08);
        border: 1px solid rgba(255, 255, 255, .8);
        z-index: 120;

        /* スムーズなアニメーション */
        opacity: 1 !important;
        visibility: visible !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease !important;
    }

    /* ヒドゥン状態の場合は下に隠す */
    .side-rail.side-rail-hidden {
        transform: translateY(calc(100% + 20px)) !important;
        opacity: 0 !important;
    }

    /* 2) 既存の縦書きや区切り線はオフに */
    .side-rail .rail-sep {
        display: none !important;
    }

    .side-rail .rail-text {
        writing-mode: horizontal-tb !important;
        text-orientation: initial !important;
        font-size: clamp(0.85rem, 2vw, 0.95rem);
        font-weight: 700;
        letter-spacing: .03em;
        line-height: 1.2;
        color: #3b2a1a;
    }

    .side-rail .rail-block {
        flex: 1 1 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 8px;
        min-width: 0;
        position: relative;
        z-index: 2;
        transition: transform 0.2s ease, opacity 0.2s ease;
        border-radius: 12px;
    }

    .side-rail .rail-block:active {
        transform: scale(0.95);
        opacity: 0.8;
    }

    .side-rail .rail-ico {
        width: 26px;
        height: 26px;
        flex-shrink: 0;
    }

    /* 3) "中央の縦線" をドック中央に1本だけ */
    .side-rail::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 1px;
        height: 65%;
        background: rgba(59, 42, 26, 0.15);
        z-index: 1;
        pointer-events: none;
    }

    /* 4) 下部ドックに被らない余白（必要なら <body class="has-bottom-rail"> 追加） */
    body.has-bottom-rail {
        padding-bottom: calc(84px + env(safe-area-inset-bottom));
    }

    /* 5) テキストの折り返し防止 */
    .side-rail .rail-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 6) 小さい画面でのさらなる調整 */
    @media (max-width: 380px) {
        .side-rail {
            padding: 10px 12px;
        }

        .side-rail .rail-block {
            gap: 6px;
            padding: 10px 6px;
        }

        .side-rail .rail-ico {
            width: 22px;
            height: 22px;
        }

        .side-rail .rail-text {
            font-size: 0.82rem;
        }
    }
}

/* =========================================
   ヒーローを下線デザインに変更（修正版：テキストに被せる）
========================================= */

/* 1. ラッパーのスタイルを解除 */
.headline-wrap {
    background: none;
    padding: 0;
    box-shadow: none;
}

/* 2. H1に回転・下線と必要なスタイルを適用 */
.hero-content h1 {
    /* 既存のスタイルを再定義 */
    color: #fff;
    text-shadow: 0 3px 6px rgba(0, 0, 0, .45), 0 0 1px rgba(0, 0, 0, .2);
    -webkit-text-stroke: .5px rgba(0, 0, 0, .15);
    font-weight: 900;
    margin: 0;
    white-space: nowrap;
    line-height: 1.1;
    letter-spacing: .03em;

    /* 下線デザインのためのスタイル */
    position: relative;
    display: inline-block;
    padding-bottom: 0;
    /* ★変更：下線とのスペースを削除 */

    /* 回転を適用（元のPC用スタイル） */
    transform: rotate(-1deg);
}

/* 3. 下線本体を作成（太く・影付きに） */
.hero-content h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    /* ★変更：テキスト下部に被るように調整 */
    width: 100%;
    height: 25px;
    background: var(--primary);
    border-radius: 5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    z-index: -1;
    /* ★追加：下線をテキストの背後に配置 */
}

/* 4. モバイルでの調整 */
@media (max-width: 640px) {
    .headline-wrap {
        padding: 0;
    }

    .hero-content h1 {
        white-space: normal;
        transform: rotate(-2.5deg);
    }

    .hero-content h1::after {
        height: 8px;
        border-radius: 4px;
        bottom: 0.15em;
        /* ★追加：モバイルでも被らせる */
    }
}

/* =========================================
   ヒーローセクション調整：ボタン色＆レスポンシブ
========================================= */

/* 1. 「個別相談会」ボタンの色を変更 */
/*    既存の .btn-light スタイルを上書き */
.hero-content .btn-light {
    background: var(--accent1);
    /* アクセントカラー1（水色系） */
    color: #fff;
    /* 文字色を白に */
    border-color: var(--accent1);
    /* 枠線も同色に */
    backdrop-filter: none;
    /* 背景のぼかしを解除 */
    -webkit-backdrop-filter: none;
}

/* ホバー時のスタイルも調整 (任意) */
.hero-content .btn-light:hover {
    background: #5593a0;
    /* 少し暗い水色 */
    border-color: #5593a0;
    box-shadow: 0 6px 16px rgba(98, 162, 175, .35);
    /* btn-accent のホバー影を流用 */
    transform: translateY(-3px) scale(1.03);
    /* 既存のホバー効果 */
}

/* 2. レスポンシブ (モバイル) レイアウト調整 */
@media screen and (max-width: 768px) {
    .hero-content {
        /* 上下のパディングを調整して、画像に対して中央に寄りやすく */
        padding-top: clamp(100px, 25vh, 180px);
        /* 上部余白を少し減らす */
        padding-bottom: clamp(80px, 15vh, 120px);
        /* 下部余白も少し減らす */
        gap: clamp(18px, 4vw, 24px);
        /* 見出しとボタンの間隔を調整 */
    }

    /* ボタンが縦に並ぶ場合も考慮して、上下マージンを追加 */
    .copy-actions {
        justify-content: center;
        /* 中央揃え */
        gap: 1rem;
        /* ボタン間の隙間 */
        margin-top: 1.5rem;
        /* 見出しとのマージン */
    }

    .hero-content .btn {
        /* ボタンサイズを少し調整 (任意) */
        font-size: 1rem;
        padding: .7em 1.5em;
    }
}

@media screen and (max-width: 480px) {
    .hero-content {
        /* さらに小さい画面用のパディング調整 */
        padding-top: clamp(80px, 20vh, 150px);
        padding-bottom: clamp(60px, 12vh, 100px);
    }
}

/* =========================================
   ヒーローセクション調整：ボタン色＆レスポンシブ (再調整)
========================================= */

/* 1. 「個別相談会」ボタンの色を変更 (変更なし) */
/*    既存の .btn-light スタイルを上書き */
.hero-content .btn-light {
    background: var(--accent1);
    /* アクセントカラー1（水色系） */
    color: #fff;
    /* 文字色を白に */
    border-color: var(--accent1);
    /* 枠線も同色に */
    backdrop-filter: none;
    /* 背景のぼかしを解除 */
    -webkit-backdrop-filter: none;
}

/* ホバー時のスタイルも調整 (任意) */
.hero-content .btn-light:hover {
    background: #5593a0;
    /* 少し暗い水色 */
    border-color: #5593a0;
    box-shadow: 0 6px 16px rgba(98, 162, 175, .35);
    /* btn-accent のホバー影を流用 */
    transform: translateY(-3px) scale(1.03);
    /* 既存のホバー効果 */
}

/* 2. レスポンシブ (モバイル) レイアウト調整 (さらに最適化) */
/*    背景画像の表示位置を調整 */
.hero-visual {
    background-position: center top 20%;
    /* 画像を上寄りに表示 */
}

@media screen and (max-width: 991px) {

    /* タブレット横向きまで */
    .hero-content {
        /* 縦方向の中央配置を維持しつつ、上下の余白を調整 */
        padding-top: clamp(100px, 20vh, 180px);
        padding-bottom: clamp(80px, 15vh, 150px);
        justify-content: center;
        /* コンテンツ全体を垂直方向の中央に */
        align-items: center;
        /* 横方向の中央 */
        text-align: center;
        /* テキストも中央 */
    }

    .hero-content h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        /* フォントサイズをより柔軟に調整 */
        line-height: 1.4;
        /* 行の高さを少し広げ、読みやすく */
        margin-bottom: 1.5rem;
        /* ボタンとの間隔 */
        padding: 0 1rem;
        /* 左右に余白を持たせる */
    }
}

@media screen and (max-width: 768px) {

    /* モバイル縦向き */
    .hero-visual {
        background-position: center top 10%;
        /* さらに上寄りに */
    }

    .hero-content {
        padding-top: clamp(80px, 18vh, 150px);
        padding-bottom: clamp(60px, 12vh, 120px);
        gap: 1rem;
        /* 見出しとボタンの間隔 */
    }

    .hero-content h1 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        /* さらに小さい画面向けに調整 */
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }

    .copy-actions {
        flex-direction: column;
        /* ボタンを縦に並べる */
        gap: 0.8rem;
        /* 縦に並んだ時のボタン間の隙間 */
        margin-top: 1.2rem;
        /* h1との間隔 */
    }

    .hero-content .btn {
        width: 80%;
        /* ボタンの幅を調整 */
        max-width: 300px;
        /* 最大幅を設定 */
        font-size: 1rem;
        padding: .8em 1.5em;
    }
}

@media screen and (max-width: 480px) {

    /* 小型スマホ */
    .hero-visual {
        background-position: center top 5%;
        /* 極力上部を見せる */
    }

    .hero-content {
        padding-top: clamp(60px, 15vh, 100px);
        padding-bottom: clamp(40px, 10vh, 80px);
    }

    .hero-content h1 {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }

    .hero-content .btn {
        width: 90%;
        /* より幅広に */
    }
}

/* =========================================
   ヒーローセクション：レスポンシブバランス最終調整
========================================= */

/* --- モバイル共通 (768px以下) --- */
@media screen and (max-width: 768px) {

    /* スライダー画像の表示位置を調整（顔が見えやすいように少し上寄りに）*/
    .fade-slider .slide {
        /* background-position: center center; */
        /* 中央表示の場合 */
        background-position: center 30%;
        /* 顔が中央より上にある画像向け */
        /* background-position: center 60%; */
        /* 顔が中央より下にある画像向け */
    }

    .hero-content {
        /* コンテンツ全体を少し上に配置 */
        justify-content: flex-start;
        /* 上寄せに変更 */
        padding-top: clamp(80px, 18vh, 150px);
        /* ★上部余白を確保 */
        padding-bottom: clamp(60px, 10vh, 100px);
        /* ★下部余白 */
        gap: 1.2rem;
        /* 要素間の基本ギャップ */
    }

    .hero-content h1 {
        /* フォントサイズと行間を再調整 */
        font-size: clamp(1.5rem, 6vw, 2.0rem);
        /* やや小さめに */
        line-height: 1.45;
        padding: 0 0.5rem;
        /* 左右のパディング */
        margin-bottom: 0;
        /* 下マージンをgapで管理 */
        /* 回転は維持 */
        transform: rotate(-2.5deg);
        /* 折り返しは許可 */
        white-space: normal;
    }

    /* 下線の調整 (高さを少し控えめに) */
    .hero-content h1::after {
        height: 6px;
        /* ★高さを 8px -> 6px に */
        border-radius: 3px;
        bottom: 0.1em;
        /* ★重なり具合を微調整 */
    }

    .copy-actions {
        /* ボタン群の配置 */
        flex-direction: column;
        /* 縦並び */
        align-items: center;
        /* 中央揃え */
        gap: 0.8rem;
        /* ボタン間の隙間 */
        margin-top: 0;
        /* 上マージンをgapで管理 */
        width: 100%;
        /* 幅を確保 */
    }

    .hero-content .btn {
        /* ボタンサイズ */
        width: clamp(240px, 70%, 300px);
        /* 幅を画面に応じて調整 */
        font-size: 0.95rem;
        padding: .8em 1.5em;
        text-align: center;
        justify-content: center;
        /* ボタン内テキストも中央揃え */
    }
}

/* --- さらに小さい画面 (480px以下) --- */
@media screen and (max-width: 480px) {
    .fade-slider .slide {
        background-position: center 25%;
        /* さらに微調整 */
    }

    .hero-content {
        padding-top: clamp(60px, 15vh, 120px);
        padding-bottom: clamp(40px, 8vh, 80px);
    }

    .hero-content h1 {
        font-size: clamp(1.4rem, 7vw, 1.8rem);
    }
}

/* --- PC用スタイルの確認 (769px以上) --- */
@media screen and (min-width: 769px) {

    /* PCでは元の h1 スタイル (下線含む) を適用 */
    .hero-content h1 {
        transform: rotate(-1deg);
        white-space: nowrap;
        font-size: clamp(1.4rem, 6vw, 4.2rem);
        /* PC用のフォントサイズ */
        line-height: 1.1;
        padding-bottom: 0;
    }

    .hero-content h1::after {
        height: 25px;
        /* PC用の下線高さ */
        border-radius: 5px;
        bottom: 0em;
        /* PC用の重なり具合 */
    }

    /* PCではボタンは横並び */
    .copy-actions {
        flex-direction: row;
        justify-content: center;
        gap: clamp(12px, 2vw, 18px);
        margin-top: 1rem;
        width: auto;
        /* 幅を自動に */
    }

    .hero-content .btn {
        width: auto;
        /* 幅を自動に */
        font-size: 1.05rem;
        /* PC用のフォントサイズ */
        padding: .8em 1.8em;
        /* PC用のパディング */
    }
}

/* ================================
   FINAL FIX PATCH (append at end)
================================ */

/* 0) 安全系トークン */
:root {
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* 1) Hero 背景の二重定義を一本化：
        ここを最終仕様として固定（PC=横3分割 / SP=縦スライド） */
.hero-split-bg {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden
}

.hero-bg-split {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 1
}

.bg-image {
    flex: 1 1 0%;
    background-size: cover;
    background-position: center
}

/* PC: 横3分割 */
@media (min-width:769px) {
    .only-pc {
        display: flex !important
    }

    .only-sp {
        display: none !important
    }

    .hero-bg-split {
        flex-direction: row;
        height: 100%
    }
}

/* SP: 縦スライダーのみ表示 */
@media (max-width:768px) {
    .only-pc {
        display: none !important
    }

    .only-sp {
        display: block !important
    }

    .hero-bg-split {
        display: none !important
    }

    /* ← PC用の分割背景を確実に無効化 */
}

/* 2) Side-rail：モバイル“下部ドック”の最終上書きだけを生かす */
@media (max-width:768px) {
    .side-rail {
        display: flex !important;
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        bottom: calc(12px + var(--safe-bottom)) !important;
        top: auto !important;
        transform: none !important;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: 10px 12px;
        border-radius: 16px;
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
        width: auto;
        height: auto;
        z-index: 120;
    }

    .side-rail .rail-sep {
        display: none !important
    }

    .side-rail .rail-text {
        writing-mode: horizontal-tb !important;
        text-orientation: initial !important;
        font-size: .92rem;
        letter-spacing: .04em;
        line-height: 1
    }

    .side-rail .rail-block {
        flex: 1 1 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 0;
        min-width: 0;
        position: relative;
        z-index: 2
    }

    .side-rail .rail-ico {
        width: 24px;
        height: 24px
    }

    .side-rail::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 1px;
        height: 60%;
        background: #ccc;
        z-index: 1;
        pointer-events: none
    }

    body.has-bottom-rail {
        padding-bottom: 84px
    }
}

/* 3) ABOUT：最後の仕様を強制。中盤の相反指定を打消し */
section#about.about-hero {
    position: relative
}

section#about.about-hero::after {
    content: "KURAYOSHIKITA";
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 6% !important;
    transform: none !important;
    text-align: start !important;
    color: #9B8B7E;
    opacity: .08;
    font-weight: 900;
    letter-spacing: .12em;
    font-size: clamp(3rem, 22vw, 12rem);
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

@media (max-width:980px) {
    section#about.about-hero::after {
        content: "KURAYOSHI\A KITA";
        white-space: pre;
        line-height: 1.05;
        font-size: clamp(2.6rem, 20vw, 10rem);
        bottom: 5%;
    }
}

/* モバイル用の複製ブロックは常に無効（重複事故防止） */
#about .about-wrapper-images {
    display: none !important
}

/* 4) Hero 見出しを一貫化（小画面で収め、PCで伸ばす） */
.hero-content h1 {
    font-size: clamp(1.4rem, 6vw, 4.2rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

@media (max-width:768px) {
    .hero-content {
        padding: 1.5rem;
        justify-content: center;
        padding-top: 210px;
    }

    .hero-content h1 {
        font-size: clamp(1.2rem, 5vw, 2.2rem)
    }

    .copy-actions {
        align-items: center
    }
}

/* 5) .only-pc / .only-sp の重複宣言を整理 */
.only-pc {
    display: block
}

.only-sp {
    display: none
}

@media (max-width:768px) {
    .only-pc {
        display: none
    }

    .only-sp {
        display: block
    }
}

/* 6) LIFE CINEMA：ボタン操作性を常に最前面に（保険） */
.life-cinema .cinema-nav,
.life-cinema.v3 .lc3-nav {
    z-index: 20;
    pointer-events: auto
}

/* 7) .reveal-up の未閉じを修正（フェードアップ演出のベース） */
.reveal-up {
    opacity: 0;
    transform: translateY(10px);
    will-change: opacity, transform;
    transition: opacity .6s ease, transform .6s ease;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 8) パフォーマンス微調整（ペイント分離） */
.site-header {
    contain: paint
}

.side-rail {
    contain: layout paint
}

/* ================================
   Hero: SP時は画像の見せる位置を少し上へ
   （顔や被写体がヘッダー/キャッチと被らないように）
================================ */
@media (max-width: 768px) {

    /* PC用の3分割背景と、SP用フェードスライダーの両方に効かせる */
    .hero-split-bg .bg-image,
    .fade-slider .slide {
        /* Y方向を 50% → 30% に。数値はお好みで微調整（20〜40%目安） */
        background-position: 50% 30% !important;
    }

    /* 万一 <img> を使っている場合の保険（object-fit: cover のとき） */
    .hero-split-bg img,
    .fade-slider img {
        object-position: 50% 30% !important;
    }
}

/* ======================================
   在校生の声：画像を大きく見せる調整
====================================== */
.graduate-image {
    width: 160px;         /* ← 元が120〜140pxなら拡大。200px程度まで可 */
    height: 160px;
    border-radius: 50%;   /* 丸型維持 */
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
    margin-right: 1rem;   /* テキストとの余白 */
    transition: transform .5s ease;
  }
  
  .graduate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* 枠いっぱいに */
    object-position: center 25%; /* 少し上寄せ（顔を中心に） */
    transform: scale(1.1); /* デフォルトで少し拡大表示 */
    transition: transform .5s ease;
  }
  
  /* Hover時の演出（任意） */
  .graduate-image:hover img {
    transform: scale(1.2);
  }
  
  /* スマホ表示では比率調整 */
  @media (max-width: 768px) {
    .graduate-image {
      width: 140px;
      height: 140px;
      margin: 0 auto 1rem;   /* 中央寄せ＆下に余白 */
    }
    .graduate-image img {
      object-position: center 30%;
    }
    .graduate-info {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  }
  /* ========= 在校生の声: レイアウトを安定させて被りを防止 ========= */

/* 1) ボックス全体の余白と見出し */
.graduate-voice{
    margin-top: var(--sp-3);
    padding: clamp(12px, 2.2vw, 16px);
    background: rgba(0,0,0,.02);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 12px;
  }
  .graduate-header h4{
    margin: 0 0 clamp(10px,1.6vw,14px);
    font-weight: 900;
    font-size: 1rem;
    color: #555;
  }
  
  /* 2) 画像 + テキストをグリッドで整列（PCは2カラム、SPは縦） */
  .graduate-info{
    display: grid;
    grid-template-columns: auto minmax(0,1fr); /* ← テキストの折返しを許可 */
    align-items: center;
    gap: clamp(14px, 2vw, 22px);
  }
  
  /* 3) 画像サイズをクランプで安定（丸型＋白縁＋影） */
  .graduate-image{
    width: clamp(124px, 18vw, 180px);
    height: clamp(124px, 18vw, 180px);
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
    border: 6px solid #fff;             /* 白いリング */
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
  }
  
  /* 写真は上寄せ気味に見せて顔を切らない */
  .graduate-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 28%;
  }
  
  /* 4) テキスト側の安定化 */
  .graduate-text{min-width:0}            /* ← 改行計算の要 */
  .graduate-name{font-weight: 900; margin-bottom: 2px; color:#333}
  .graduate-dest{font-size:.9rem; color:#666; font-weight:700; margin-bottom: 8px}
  .graduate-comment{margin:0; line-height:1.65; color:#555}
  
  /* 5) スマホは縦積み＆中央寄せ（被らないよう余白を確保） */
  @media (max-width: 768px){
    .graduate-info{
      grid-template-columns: 1fr;      /* 1カラム */
      justify-items: center;           /* 画像とテキストを中央に */
      text-align: center;
    }
    .graduate-image{
      margin-bottom: 8px;
    }
    .graduate-text{padding: 0 6px}     /* 端ギリを回避 */
  }
  /* ===== facilities ナビが片側だけ消える問題の対策（最終上書き） ===== */
.facilities-slider { 
    position: relative;         /* 参照位置を明示 */
    overflow: visible;          /* クリップされないように */
  }
  
  .facilities-nav {
    z-index: 80 !important;     /* 周囲の装飾や固定UIより前面に */
    top: 50%;
    transform: translateY(-50%);
    /* どの幅でも“内側”に置く（負の値をやめる） */
  }
  
  .facilities-nav.prev  { left:  clamp(6px, 2.5vw, 14px) !important; }
  .facilities-nav.next  { right: clamp(6px, 2.5vw, 14px) !important; }
  
  /* notch 等の安全域も考慮（対応端末のみ効く） */
  @supports (right: max(0px)) {
    .facilities-nav.next { right: max(clamp(6px, 2.5vw, 14px), env(safe-area-inset-right)); }
    .facilities-nav.prev { left:  max(clamp(6px, 2.5vw, 14px), env(safe-area-inset-left)); }
  }
  
  /* モバイルで矢印がカードの角丸に飲まれないよう少し上げる */
  @media (max-width: 640px) {
    .facilities-nav { top: 45%; }
  }
/* facilities：矢印の競合リセット＆常に両側表示 */
.facilities-slider {
    position: relative;
    overflow: visible;                 /* クリップ防止 */
    --nav-gap: clamp(6px, 2.5vw, 14px);
    padding-left:  calc(var(--nav-gap) + 6px);  /* 矢印ぶんの内側余白 */
    padding-right: calc(var(--nav-gap) + 6px);
  }
  
  .facilities-nav {
    z-index: 120 !important;
    top: 50%;
    transform: translateY(-50%);
  }
  
  /* ← 左ボタン：rightを必ず無効化 */
  .facilities-nav.prev  {
    left: var(--nav-gap) !important;
    right: auto !important;
  }
  
  /* → 右ボタン：leftを必ず無効化 */
  .facilities-nav.next  {
    right: var(--nav-gap) !important;
    left:  auto !important;
  }
  
  /* セーフエリア対応（ノッチ端末） */
  @supports (right: max(0px)) {
    .facilities-nav.prev { left:  max(var(--nav-gap), env(safe-area-inset-left)); }
    .facilities-nav.next { right: max(var(--nav-gap), env(safe-area-inset-right)); }
  }
  
  /* モバイルで少しだけ上に寄せる（お好みなら調整） */
  @media (max-width: 640px) {
    .facilities-nav { top: 45%; }
  }
  
  /* 無効時も視認性を少し上げる（任意） */
  .facilities-nav:disabled { opacity: .6; }
    /* ==== FIX 2: 卒業生インタビュー画像を切らない ==== */
/* 切らずに全体表示（余白は出ます） */
.interview-image {
    aspect-ratio: 16/9;      /* 高さ固定の代わりに比率で安定 */
    height: auto !important; /* 140pxを解除 */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
  }
  .interview-image img {
    width: 100%;
    height: 100%;
    object-fit: contain !important; /* ← ここがポイント */
    object-position: center;
    background: #fff;
    border-bottom: 1px solid #eee;
  }
  
  /* 余白を出したくない（全面カバーでOK）場合は下の1行に切り替え */
  /* .interview-image img { object-fit: cover !important; } */

  /* 画像の外側に出せるように */
.overseas-thumb{
    position: relative;
    overflow: visible;           /* ← これでバッジを外へ出せる */
  }
  
  /* 左隅から半円タブをにゅっと出す */
  .overseas-badge{
    position: absolute;
    top: 14px;
    left: -10px;                 /* ← 画像の外へ少しはみ出す */
    z-index: 2;
    display: inline-block;
    padding: .46em 1.05em .46em 1.2em;
    max-width: min(72%, 260px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  
    background: rgba(98,162,175,.95);
    color: #fff;
    font-weight: 900;
    font-size: .92rem;
    line-height: 1;
  
    /* 左は直線、右は丸：半円タブ風 */
    border-radius: 0 999px 999px 0;
    border: 1px solid rgba(255,255,255,.65);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  
    pointer-events: none;        /* 画像リンク操作を邪魔しない */
  }
  
  /* ちょっとした縁の演出（任意） */
  .overseas-badge::before{
    content:"";
    position:absolute;
    inset:-1px auto -1px -12px;  /* 左側だけ少し広げる */
    width: 12px;
    background: inherit;
    border-radius: 0;            /* 左端は直線のまま */
  }
  
  /* モバイルで控えめに */
  @media (max-width:640px){
    .overseas-badge{
      top: 10px;
      left: -8px;
      font-size: .86rem;
      padding: .36em .8em .36em 1em;
      max-width: 80%;
    }
  }
  /* ==== ABOUT 背景ワード：左→右ループ ==== */
section#about.about-hero{
    position: relative;
    overflow: hidden;                 /* はみ出し隠し */
    --marquee-speed: 28s;             /* 速さ（小さいほど速い） */
    --marquee-color: #9B8B7E;
  }
  
  /* 既存の静止テキストを無効化 */
  section#about.about-hero::after{
    content: none !important;
  }
  
  /* 2本の帯を並走させて継ぎ目なしに */
  section#about.about-hero::before,
  section#about.about-hero::after{
    content: "KURAYOSHIKITA   KURAYOSHIKITA   KURAYOSHIKITA";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6%;
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    font-family: 'Yusei Magic', sans-serif;
    font-weight: 900;
    letter-spacing: .09em;
    color: var(--marquee-color);
    opacity: .06;
    font-size: clamp(3rem, 18vw, 10rem);
    line-height: 1;
    will-change: transform;
  }
  
  /* 1本目：左端の外から右へ */
  section#about.about-hero::before{
    transform: translateX(-100%);
    animation: aboutMarqueeR var(--marquee-speed) linear infinite;
  }
  
  /* 2本目：画面内から右へ（1本目と継ぎ目を作らない） */
  section#about.about-hero::after{
    transform: translateX(0%);
    animation: aboutMarqueeR var(--marquee-speed) linear infinite;
  }
  
  /* 左→右に流す */
  @keyframes aboutMarqueeR{
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }
  
  /* 動きが苦手なユーザー配慮 */
  @media (prefers-reduced-motion: reduce){
    section#about.about-hero::before,
    section#about.about-hero::after{
      animation: none !important;
      transform: none !important;
      opacity: .08;
      content: "KURAYOSHIKITA";
      text-align: start;
    }
  }
/* ABOUT：流れる帯を“セクション下端”に固定 */
section#about.about-hero { position: relative; }

section#about.about-hero::before,
section#about.about-hero::after{
  top: auto !important;          /* 上基準を無効化 */
  bottom: 8% !important;          /* 下端に固定（必要なら 2% などに） */
}

/* SPで下部UIとぶつかる場合は、ほんの少しだけ上げる */
@media (max-width: 640px){
  section#about.about-hero::before,
  section#about.about-hero::after{
    bottom: 8% !important;          /* 下端に固定（必要なら 2% などに） */
  }
}

.status-intro {
    text-align: center;
    margin: 2.5em auto 2em;
    padding-bottom: 1.2em;
    position: relative;
    max-width: 800px;
  }
  
  .status-intro .catchcopy {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #2e6ed8;
    border-bottom: 3px solid #2e6ed8;
    padding-bottom: 6px;
    margin-bottom: 0.6em;
  }
  
  .status-intro .desc {
    font-size: 1rem;
    color: #555;
    margin-top: 0.5em;
  }
  .status-intro .catchcopy {
    position: relative;
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2e6ed8;
    overflow: hidden;
  }
  
  .status-intro .catchcopy::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: #2e6ed8;
    animation: underlineGrow 1.2s ease-out forwards;
  }
  
  @keyframes underlineGrow {
    to {
      width: 100%;
    }
  }
/* 募集定員テーブル */
.quota-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .quota-table th,
  .quota-table td {
    border: 1px solid #ccc;
    padding: 0.8em 1em;
    text-align: center;
    vertical-align: top;
  }
  
  .quota-table th {
    background: #f7f7f7;
    font-weight: 600;
    color: #333;
  }
  
  .quota-table td strong {
    font-weight: 600;
    color: #333;
  }
  
  .quota-table .text-small {
    font-size: 0.8em;
    color: #777;
    font-weight: 400;
  }
  
  .quota-table .quota-total td {
    background: #fafafa;
    font-weight: 700;
  }
  
  /* アドミッション・ポリシー */
  .policy-block {
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5em 1.5em 1em;
    line-height: 1.75;
    color: #333;
  }
  
  .policy-lead {
    margin-bottom: 1.5em;
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
  }
  
  .policy-subheading {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.2em 0 0.4em;
    color: #2e2e2e;
  }
  
  .policy-list {
    margin: 0 0 1.2em 1.2em;
    padding: 0;
    list-style: disc;
    font-size: 0.95rem;
    color: #444;
  }
  
  .policy-list li {
    margin-bottom: 0.4em;
  }
  
  .policy-text {
    font-size: 0.95rem;
    color: #444;
    margin: 0 0 1em;
  }
    
  .interview-badge {
    display: inline-block;
    background-color: #f2ecfb; /* ごく淡いラベンダー */
    color: #5e3fa0; /* 深みのある落ち着いた紫 */
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 20px;
    margin: 10px 0;
    border: 1px solid #d7caef; /* 控えめな紫の枠線 */
    text-align: center;
  }
  .status-intro {
    text-align: center;
    /* 既存のスタイルがあればそのまま */
}

.catchcopy {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    font-size: 2rem;
    line-height: 1.6;
    text-align: center;
    color: #003d82;
    letter-spacing: 0.08em;
    
    position: relative;
    display: inline-block;
    margin: 0 auto 3em;
    
    isolation: isolate;
    z-index: 0;
    
    /* 下線を完全に削除 */
    border: none;
    border-bottom: none;
    text-decoration: none;
    box-shadow: none;
}

.catchcopy::before,
.catchcopy::after {
    /* 擬似要素が下線として表示されないように */
    border: none;
}

/* キャッチコピー内の強調表現 */
.catchcopy-emphasis {
    position: relative;
    display: inline-block;
}

.catchcopy-emphasis::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.1em;
    width: 100%;
    height: 0.4em;
    background: rgba(255, 193, 7, 0.4);
    z-index: -1;
    border-radius: 2px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .catchcopy {
        font-size: 1.5rem;
        padding: 1.5em 2em;
    }
}

@media (max-width: 480px) {
    .catchcopy {
        font-size: 1.2rem;
        padding: 1.2em 1.5em;
    }

    .catchcopy::before,
    .catchcopy::after {
        font-size: 3.5em;
    }
}

.status-intro {
    border: none;
    border-bottom: none;
}

.status-intro::after {
    display: none;
}

/* キャッチコピー部分の下線を完全に削除 */
.status-intro {
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.status-intro::before,
.status-intro::after {
    display: none !important;
}

.catchcopy {
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.catchcopy::before,
.catchcopy::after {
    /* 引用符の擬似要素はそのまま */
}

/* ============================================
   キャッチコピーエリアの下線を完全削除（最終上書き）
============================================ */
.status-intro,
.status-intro * {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    outline: none !important;
    box-shadow: none !important;
    background-image: none !important;
}

.status-intro::before,
.status-intro::after,
.catchcopy::before,
.catchcopy::after {
    border: none !important;
    background: transparent !important;
}

/* キャッチコピー自体のスタイルをクリーンに */
.catchcopy {
    border: none !important;
    text-decoration: none !important;
    background: transparent !important;
}