*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-body: #1e1e1e;
    --color-white: #ffffff;
    --color-feature: #b8dff0;
    --color-feature-mid: #a0d0e8;
    --color-navy: #1a3562;
    --color-accent: #e04535;
    --color-accent-dark: #c73d2d;
    --color-text: #333333;
    --color-text-light: #555555;
    --color-border-card: #e86e6e;
    --max-width: 100vw;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    color: var(--color-body);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h2 {
    font-family: 'Kiwi Maru', serif;
    font-size: clamp(2.41vw, 4.55vw, 4.12vw);
    font-weight: 400;
    color: var(--color-navy);
    line-height: 1.55;
    margin-bottom: 0.53vw;
}

p {
    font-family: 'Kiwi Maru', serif;
    color: var(--color-navy);
    margin-top: 2.12vw;
    font-size: 1.72vw;
    line-height: 2.0;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 60vw;
    overflow: visible;
    background-color: #ffffff;
}

.hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.75s ease-in-out;
}

.hero__slide.is-active {
    opacity: 1;
}

.hero__inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.65vw 3.97vw 5.29vw;
    min-height: 60vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* Badge (shared) */
.hero__badge,
.schedule__badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 20vw;
    height: 20vw;
    background-color: var(--color-accent);
    border-radius: 50%;
    color: var(--color-white);
    text-align: center;
    line-height: 1.2;
    flex-shrink: 0;
    position: absolute;
}

.hero__badge {
    top: 2.6vw;
    left: 2.6vw;
}

.hero__badge-small,
.schedule__badge-small {
    font-size: 1.77vw;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.hero__badge-date,
.schedule__badge-date {
    font-size: 7.07vw;
    font-weight: 800;
    font-family: 'Shippori Mincho', serif;
    line-height: 1.1;
}

.hero__badge-day,
.schedule__badge-day {
    font-size: 1.66vw;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.hero__badge-time,
.schedule__badge-time {
    font-size: 2.18vw;
    font-weight: 500;
}

/* Hero Title */
.hero__title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vw;
    margin: 0;
    font-family: 'Shippori Mincho', 'Zen Old Mincho', serif;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1.1;
    text-shadow: 0.13vw 0.13vw 0.53vw rgba(255, 255, 255, 0.6);
}

.hero__title img {
    width: 100%;
}

.hero__title-line1 {
    font-size: clamp(4.47vw, 9.1vw, 8.26vw);
    display: block;
    letter-spacing: -0.01em;
}

.hero__title-line2 {
    font-size: clamp(3.61vw, 7.15vw, 6.88vw);
    display: block;
    letter-spacing: 0.02em;
}

.hero__title .dot {
    display: inline-block;
    width: 0.53vw;
    height: 0.53vw;
    background: var(--color-accent);
    border-radius: 50%;
    margin: 0 0.13vw;
    vertical-align: middle;
    position: relative;
    top: -0.26vw;
}

/* Illustration area */
.hero__illus {
    position: absolute;
    right: -5vw;
    bottom: -15vw;
    width: 30vw;
    height: auto;
    z-index: 3;
}

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

/* ========== ABOUT ========== */
.about {
    position: relative;
    background-color: var(--color-white);
    padding: 5.29vw 3.97vw 3.97vw;
}

.about__inner {
    max-width: 73.94vw;
    margin: 0 auto;
}

.about__heading {
    font-size: clamp(1.93vw, 3.64vw, 3.30vw);
}

/* Wave divider: white → sky blue */
.wave-divider {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    display: block;
    width: 100%;
}

/* ========== SCHEDULE ========== */
.schedule {
    position: relative;
    background-color: #C7E8F6;
    padding: 3.97vw 3.97vw 5.29vw 3.97vw;
}

.schedule__inner {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    font-family: 'Kaisei Decol', serif;
}

.schedule__main {
    display: flex;
    align-items: flex-end;
    gap: 1.32vw;
    flex-wrap: wrap;
    margin-bottom: 2.12vw;
}

.schedule__label {
    font-family: 'Kaisei Decol', serif;
    font-size: 1.55vw;
    font-weight: 500;
    color: var(--color-navy);
    flex-shrink: 0;
}

.schedule__date {
    display: flex;
    align-items: baseline;
    gap: 0.4vw;
}

.schedule__date-num {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(3.85vw, 6.24vw, 6.06vw);
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1;
}

.schedule__date-day {
    font-size: 1.55vw;
    font-weight: 700;
    color: var(--color-navy);
}

.schedule__arrow {
    display: flex;
    align-items: center;
    margin: 0 0.53vw;
}

.schedule__arrow img {
    height: 1.4em;
    width: auto;
    display: block;
}

.schedule__details {
    display: flex;
    flex-direction: column;
    gap: 0.79vw;
    margin: 0;
    width: auto;
}

.schedule__detail-row {
    display: flex;
    align-items: flex-start;
    gap: 0.79vw;
    font-size: 1.55vw;
    color: var(--color-navy);
    font-weight: 500;
}

.schedule__detail-label {
    flex-shrink: 0;
    white-space: nowrap;
}

.schedule__detail-value {
    font-weight: 400;
}

/* Student badge in schedule */
.schedule__badge {
    right: 4vw;
    bottom: -70%;
    transform: translateY(-50%);
}

/* Octopus illustration in schedule */
.schedule__octopus {
    position: absolute;
    top: -8.6vw;
    left: -6.61vw;
    bottom: 0;
    width: 32vw;
    height: auto;
    opacity: 0.95;
    pointer-events: none;
}
.schedule__octopus img {
    width: 100%;
    aspect-ratio: 6/4.5;
    display: block;
}

/* ========== WORKS INTRO ========== */
.works-intro {
    background-color: var(--color-white);
    padding: 5.29vw 3.97vw 3.97vw;
}

.works-intro__inner {
    max-width: 73.94vw;
    margin: 0 auto;
}

.works-intro__heading {
    font-size: clamp(1.93vw, 3.64vw, 3.30vw);
}

/* ========== WORKS CATEGORY ========== */
.works-category {
    background-color: var(--color-white);
    padding: 2.65vw 3.97vw 5.29vw;
}

.works-category__inner {
    max-width: 73.94vw;
    margin: 0 auto;
}

.works-category__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1.59vw;
}

.works-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--color-white);
    border: 0.13vw dashed var(--color-border-card);
    border-radius: 1.06vw;
    padding: 1.85vw 1.06vw 1.32vw;
    text-align: center;
    gap: 1.52vw;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.works-card__icon {
    width: 5.29vw;
    height: 5.29vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.works-card__icon img {
    height: 100%;
}

.works-card__label {
    font-size: 1.21vw;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.6;
}

/* ========== ACCESS ========== */
.access {
    position: relative;
    background-color: #C7E8F6;
    padding: 3.97vw 3.97vw 5.29vw;
}

.access__inner {
    max-width: 73.94vw;
    margin: 0 auto;
}

.access__heading {
    display: flex;
    align-items: center;
    gap: 1.32vw;
    margin-bottom: 2.65vw;
}

.access__heading-tag {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    background-color: #1a3562;
    color: #ffffff;
    font-size: 1.72vw;
    font-weight: 700;
    font-family: 'Kaisei Decol', serif;
    padding: 0.4vw 1.59vw 0.7vw;
    border-radius: 0.26vw;
}

.access__note {
    font-size: 1.21vw;
    color: var(--color-navy);
    line-height: 1.7;
}

.access__items {
    display: flex;
    flex-direction: column;
    gap: 2.12vw;
    margin: 0 auto 10vw auto;
}

.access__item {
    display: flex;
    align-items: flex-start;
    gap: 1.32vw;
}

.access__item-icon {
    flex-shrink: 0;
    width: 5.96vw;
    height: 5.96vw;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.07vw;
}

.access__item-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.access__item-content {
    flex: 1;
}

.access__item-heading {
    font-size: 1.66vw;
    font-weight: 700;
    color: var(--color-navy);
    margin: 1.4vw 0 1vw 0;
}

.access__item-text {
    font-size: 1.68vw;
    line-height: 1.8;
    color: var(--color-navy);
    margin: 1vw 0 0 0;
}

.access__item-text a {
    color: var(--color-navy);
    text-decoration: none;
    font-weight: 700;
}

.access__item-text a:hover {
    color: var(--color-accent);
}

/* ========== FOOTER ========== */
.footer {
    background-color: var(--color-white);
    padding: 3.98vw 3.97vw;
}

.footer__inner {
    max-width: 73.94vw;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2.65vw;
    flex-wrap: wrap;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.53vw;
}

.footer__logo-icon {
    height: 3.82vw;
    width: auto;
    flex-shrink: 0;
    display: block;
}

.footer__logo-text {
    font-size: 1.45vw;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.4;
}

.footer__logo-sub {
    font-size: 1.03vw;
    color: var(--color-navy);
    letter-spacing: 0.05em;
    font-family: 'Noto Sans JP', sans-serif;
}

.footer__divider {
    width: 0.07vw;
    height: 2.65vw;
    background-color: var(--color-navy);
    flex-shrink: 0;
}

.footer__info {
    display: flex;
    flex-direction: column;
    gap: 0.26vw;
}

.footer__info-item {
    font-size: 1.45vw;
    color: var(--color-navy);
}

.footer__info-label {
    font-weight: 700;
    margin-right: 0.4vw;
}

.footer__copy {
    margin-left: auto;
    font-size: 1.24vw;
    color: #999;
}

/* ========== RESPONSIVE (SP: ~768px) ========== */
@media (max-width: 768px) {

    h2 { font-size: 5.5vw; }
    p  { font-size: 3.8vw; margin-top: 4vw; }

    /* HERO */
    .hero { min-height: 120vw; }
    .hero__inner { min-height: 120vw; padding: 5vw; }

    .hero__badge,
    .schedule__badge {
        width: 30vw;
        height: 30vw;
    }
    .hero__badge {
        top: 4vw;
        left: 4vw;
    }
    .hero__badge-small, .schedule__badge-small { font-size: 3vw; }
    .hero__badge-date,  .schedule__badge-date  { font-size: 9vw; }
    .hero__badge-day,   .schedule__badge-day   { font-size: 2.5vw; }
    .hero__badge-time,  .schedule__badge-time  { font-size: 3vw; }

    .hero__title { width: 70vw; }

    .hero__illus {
        right: -6vw;
        bottom: -18vw;
        width: 45vw;
    }

    /* ABOUT */
    .about { padding: 16vw 5vw 12vw; }
    .about__inner { max-width: 100%; }
    .about__heading { font-size: 5vw; }
    .about__body { font-size: 3vw; }

    /* SCHEDULE */
    .schedule { padding: 8vw 5vw 12vw; }
    .schedule__main { gap: 2vw; margin-bottom: 4vw; }
    .schedule__label { font-size: 3.5vw; }
    .schedule__date-num { font-size: 9vw; }
    .schedule__arrow img { height: 0.7em; }
    .schedule__date-day { font-size: 3.5vw; }
    .schedule__detail-row { font-size: 3.5vw; gap: 2vw; }
    .schedule__badge { right: 4vw; bottom: -10vw; transform: none; }
    .schedule__octopus { width: 50vw; top: -25vw; left: -16vw; }

    /* WORKS */
    .works-intro { padding: 8vw 5vw 6vw; }
    .works-intro__inner { max-width: 100%; }
    .works-intro__heading { font-size: 5vw; }
    .works-intro__body { font-size: 3vw; }

    .works-category { padding: 4vw 5vw 8vw; }
    .works-category__inner { max-width: 100%; }
    .works-category__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, auto);
        gap: 3vw;
    }
    .works-card { gap: 4vw; }
    .works-card__icon { width: 13vw; height: 13vw; }
    .works-card__label { font-size: 2.8vw; }

    /* ACCESS */
    .access { padding: 8vw 5vw 10vw; }
    .access__inner { max-width: 100%; }
    .access__heading-tag { font-size: 3.8vw; padding: 1vw 3vw 1.5vw; }
    .access__heading { gap: 3vw; }
    .access__note { font-size: 2.24vw; }
    .access__item-icon { width: 10vw; height: 10vw; }
    .access__item { gap: 3vw; }
    .access__item-heading { font-size: 3.5vw; margin: 2vw 0 1.5vw; }
    .access__item-text { font-size: 3.2vw; }

    /* FOOTER */
    .footer { padding: 6vw 5vw; }
    .footer__inner { max-width: 100%; gap: 4vw; flex-wrap: wrap; }
    .footer__logo-icon { height: 7vw; }
    .footer__logo-text { font-size: 3vw; }
    .footer__logo-sub { font-size: 2.2vw; }
    .footer__divider { display: none; }
    .footer__info-item { font-size: 3vw; }
    .footer__copy { font-size: 2.5vw; margin-left: 0; }
}