/* ==============================
   CSS VARIABLES
   ============================== */
:root {
    --accent-blue: #4facfe;
    --accent-purple: #a18cd1;
    --accent-gold: #4facfe; /* unified to blue tone */
    --font-accent: 'Cinzel', serif;
    --glass-bg: rgba(10, 15, 30, 0.45);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-blur: blur(16px);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.55);
    --text-muted: rgba(255, 255, 255, 0.35);
}

/* ==============================
   CSS RESETS & BASE
   ============================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
html {
    width: 100%;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background: #000000;
    background: radial-gradient(ellipse at bottom, #121c26 0%, #030305 100%);
    color: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Custom cursor dot */
.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: rgba(79, 172, 254, 0.9);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.3s;
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.4), 0 0 20px rgba(79, 172, 254, 0.15);
    mix-blend-mode: screen;
}

.cursor-dot.hovering {
    width: 10px;
    height: 10px;
    background: rgba(161, 140, 209, 0.9);
    box-shadow: 0 0 15px rgba(161, 140, 209, 0.5), 0 0 30px rgba(161, 140, 209, 0.2);
}

.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                height 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.3s,
                opacity 0.3s;
    mix-blend-mode: screen;
}

.cursor-ring.hovering {
    width: 50px;
    height: 50px;
    border-color: rgba(161, 140, 209, 0.3);
}

/* Restore default cursor on interactive elements */
a, button, [onclick], .vision-cta, .story-back, .footer-links a, .footer-social a, .header-logo a {
    cursor: pointer;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ==============================
   HEADER LOGO
   ============================== */
.header-logo {
    position: absolute;
    top: 24px;
    left: 28px;
    z-index: 50;
    animation: fadeIn 2s ease forwards 0.5s;
    opacity: 0;
}

.header-logo img {
    width: 80px;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0.7;
}

.header-logo img:hover {
    transform: scale(1.05);
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

/* ==============================
   FIXED PARTICLE CANVAS (stars + "10")
   ============================== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* ==============================
   HERO SECTION
   ============================== */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.center-content {
    text-align: center;
    pointer-events: auto;
    perspective: 1000px;
}

.anniversary-badge {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    letter-spacing: 0.4em;
    margin-right: -0.4em;
    text-transform: uppercase;
    color: #4facfe;
    margin-bottom: 2vh;
    animation: fadeInUp 1.5s ease 0.4s forwards;
    opacity: 0;
    font-weight: 500;
    will-change: transform, opacity;
}

.limited-badge {
    display: inline-block;
    font-family: "Cinzel", serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    margin-right: -0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 32px;
    border-radius: 0;
    margin-top: 3vh;
    margin-bottom: 2.5vh;
    animation: fadeInUp 1.5s ease 1.2s forwards;
    opacity: 0;
    will-change: transform, opacity;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.main-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-right: -0.08em;
    margin-bottom: 2vh;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.5s ease 0.6s forwards;
    opacity: 0;
    will-change: transform, opacity;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #d1d5db;
    letter-spacing: 0.15em;
    margin-right: -0.15em;
    margin-bottom: 0.5em;
    animation: fadeInUp 1.5s ease 0.8s forwards;
    opacity: 0;
    will-change: transform, opacity;
}

.hero-course-label {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.12em;
    margin-top: 1.2em;
    margin-bottom: 0;
    padding: 8px 24px;
    background: linear-gradient(135deg, rgba(74, 106, 138, 0.4), rgba(74, 106, 138, 0.15));
    border: 1px solid rgba(74, 106, 138, 0.4);
    border-radius: 4px;
    display: inline-block;
    animation: fadeInUp 1.5s ease 1s forwards;
    opacity: 0;
    will-change: transform, opacity;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.section-course-label {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    margin-top: 1em;
    padding: 6px 20px;
    background: linear-gradient(135deg, rgba(74, 106, 138, 0.3), rgba(74, 106, 138, 0.1));
    border: 1px solid rgba(74, 106, 138, 0.3);
    border-radius: 3px;
    display: inline-block;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeIn 2s ease 2s forwards;
    z-index: 10;
}

.scroll-indicator span {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(79, 172, 254, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ==============================
   MESSAGE SECTION — SPLIT SCREEN
   ============================== */
.message-section {
    position: relative;
    z-index: 10;
    display: flex;
    min-height: 100vh;
}

/* ── Left: sticky photo panel ── */
.message-photo-panel {
    position: sticky;
    top: 0;
    flex: 0 0 32%;
    height: 100vh;
    overflow: hidden;
}

.message-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: brightness(0.65) saturate(0.75);
    transform: scale(1.03);
    transition: transform 12s ease;
}

.message-section:hover .message-photo-img {
    transform: scale(1.0);
}

/* Gradient fade on photo edges */
.message-photo-fade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, transparent 40%, rgba(2, 4, 14, 1) 100%),
        linear-gradient(to top, rgba(2, 4, 14, 0.9) 0%, transparent 35%);
}

/* Name overlay at bottom of photo */
.message-photo-label {
    position: absolute;
    bottom: 48px;
    left: 40px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.message-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.6em;
    color: rgba(79, 172, 254, 0.9);
    text-transform: uppercase;
}

.message-name {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
    line-height: 1.2;
}

.message-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    letter-spacing: 0.08em;
}

/* ── Right: scrollable text panel ── */
.message-text-panel {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 80px 60px 80px 70px;
}

.message-text-inner {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.message-summary {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 2.0;
    font-weight: 300;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.02em;
}

.message-summary strong {
    color: #fff;
    font-weight: 600;
}

/* Collapsible full text */
.message-full {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.6s ease;
    opacity: 0;
}

.message-full.open {
    max-height: 1200px;
    opacity: 1;
}

.message-full p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 2.2;
    font-weight: 300;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.02em;
}

.message-full strong {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

/* Expand button */
.message-expand-btn {
    align-self: flex-start;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    padding: 14px 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.35s ease;
}

.message-expand-btn:hover {
    border-color: rgba(79, 172, 254, 0.5);
    color: rgba(79, 172, 254, 0.9);
    background: rgba(79, 172, 254, 0.04);
}

.message-expand-arrow {
    display: inline-block;
    transition: transform 0.4s ease;
    font-size: 1rem;
}

.message-expand-btn.open .message-expand-arrow {
    transform: rotate(180deg);
}

/* ── Mobile: stacked layout ── */
@media (max-width: 768px) {
    .message-section {
        flex-direction: column;
        min-height: auto;
    }

    .message-photo-panel {
        position: relative;
        flex: none;
        height: 50vw;
        width: 100%;
        min-height: 220px;
        max-height: 320px;
    }

    .message-photo-fade {
        background:
            linear-gradient(to bottom, transparent 50%, rgba(2, 4, 14, 1) 100%),
            linear-gradient(to right, transparent 0%, rgba(2, 4, 14, 0) 100%);
    }

    .message-photo-label {
        bottom: 28px;
        left: 24px;
    }

    .message-name {
        font-size: 1.3rem;
    }

    .message-text-panel {
        padding: 40px 24px 60px;
    }

    .message-text-inner {
        max-width: 100%;
        gap: 24px;
    }

    .message-summary {
        font-size: 1.05rem;
    }
}

/* ==============================
   SCHEDULE DATE CARDS
   ============================== */
.schedule-section {
    position: relative;
    z-index: 10;
    padding: 14vh 40px 6vh;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.schedule-container {
    max-width: 1100px;
    width: 100%;
}

.schedule-header {
    text-align: center;
    margin-bottom: 64px;
}

.schedule-eyebrow {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.6em;
    color: rgba(79, 172, 254, 0.85);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.schedule-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.schedule-lead {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
    letter-spacing: 0.05em;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Card grid — 3 columns × 2 rows */
.schedule-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Individual card */
.schedule-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.schedule-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.schedule-card[data-day="01"] { transition-delay: 0s; }
.schedule-card[data-day="02"] { transition-delay: 0.1s; }
.schedule-card[data-day="03"] { transition-delay: 0.2s; }
.schedule-card[data-day="04"] { transition-delay: 0.3s; }
.schedule-card[data-day="05"] { transition-delay: 0.4s; }
.schedule-card[data-day="06"] { transition-delay: 0.5s; }

/* Hover glow background */
.schedule-card-glow {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(circle at 50% 0%, rgba(79, 172, 254, 0.12) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.schedule-card:hover .schedule-card-glow {
    opacity: 1;
}

/* Card inner — glassmorphism */
.schedule-card-inner {
    position: relative;
    z-index: 1;
    background: rgba(10, 15, 30, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
    height: 100%;
}

.schedule-card:hover .schedule-card-inner {
    border-color: rgba(79, 172, 254, 0.3);
    box-shadow: 0 12px 48px rgba(79, 172, 254, 0.1), 0 0 0 1px rgba(79, 172, 254, 0.08);
    transform: translateY(-4px);
}

/* Day badge */
.schedule-day-badge {
    display: inline-block;
    align-self: flex-start;
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: rgba(79, 172, 254, 0.9);
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.12), rgba(161, 140, 209, 0.08));
    border: 1px solid rgba(79, 172, 254, 0.25);
    padding: 5px 16px;
    border-radius: 20px;
    text-transform: uppercase;
}

/* Date display */
.schedule-date {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.schedule-month {
    font-family: 'Cinzel', serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.schedule-date-sep {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.2);
    margin: 0 2px;
}

.schedule-day {
    font-family: 'Cinzel', serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.schedule-weekday {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: rgba(79, 172, 254, 0.7);
    margin-left: 10px;
    align-self: center;
}

/* Divider line */
.schedule-card-divider {
    width: 32px;
    height: 1px;
    background: linear-gradient(to right, rgba(79, 172, 254, 0.5), transparent);
    margin: 4px 0;
}

/* Card title & desc */
.schedule-card-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0;
}

.schedule-card-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.8;
    font-weight: 300;
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
}

/* ── Tablet: 2 cols ── */
@media (max-width: 900px) {
    .schedule-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

/* ── Mobile: full width ── */
@media (max-width: 560px) {
    .schedule-section {
        padding: 10vh 20px 4vh;
    }

    .schedule-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .schedule-card-inner {
        padding: 24px 22px;
    }

    .schedule-month,
    .schedule-day {
        font-size: 2rem;
    }

    .schedule-date-sep {
        font-size: 1.4rem;
    }
}

/* ==============================
   RECRUIT / APPLICATION PROCESS
   ============================== */
.recruit-section {
    position: relative;
    z-index: 10;
    padding: 14vh 40px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.recruit-container {
    max-width: 1000px;
    width: 100%;
}

.recruit-header {
    text-align: center;
    margin-bottom: 80px;
}

.recruit-eyebrow {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.6em;
    color: rgba(79, 172, 254, 0.85);
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* --- Requirements Section (Redesigned) --- */
.requirements-section {
    padding: 14vh 0;
    background: transparent;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

/* Background Accent */
.requirements-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.requirements-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 1;
}

.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

/* Common Header Style */
.req-header {
    margin-bottom: 60px;
}

.req-label {
    font-family: 'Inter', sans-serif;
    color: rgba(79, 172, 254, 0.85);
    letter-spacing: 0.6em;
    font-size: 0.65rem;
    font-weight: 600;
    display: block;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.req-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    color: #fff;
}

/* Left: Admission Conditions */
.conditions-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.condition-item {
    display: flex;
    gap: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.condition-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.condition-num-wrap {
    position: relative;
}

.condition-num {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    line-height: 0.8;
    background: linear-gradient(to bottom, rgba(79, 172, 254, 0.9), rgba(161, 140, 209, 0.3));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    opacity: 0.8;
}

.condition-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.4;
}

.condition-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.8;
    font-weight: 300;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Right: Outline Details */
.outline-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 2px; /* Sharp editorial look */
    padding: 60px;
    position: sticky;
    top: 100px;
}

.outline-list {
    display: flex;
    flex-direction: column;
}

.outline-item {
    display: flex;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.outline-term {
    width: 100px;
    font-size: 0.85rem;
    color: rgba(79, 172, 254, 0.85);
    font-weight: 600;
    letter-spacing: 0.1em;
    padding-top: 4px;
}

.outline-desc {
    flex: 1;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 400;
    line-height: 1.5;
}

.outline-note {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 1200px) {
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }
    .outline-card {
        padding: 40px;
        position: static;
    }
}

@media (max-width: 768px) {
    .requirements-container {
        padding: 0 30px;
    }
    .req-title {
        font-size: 2rem;
    }
    .condition-num {
        font-size: 2.5rem;
    }
}

/* --- Recruitment Section (Synchronized with Schedule style) --- */
.recruit-section {
    padding: 14vh 40px;
    background: transparent;
    border-top: none;
}

.recruit-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.recruit-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.recruit-eyebrow {
    font-family: 'Inter', sans-serif;
    color: rgba(79, 172, 254, 0.85);
    display: block;
    letter-spacing: 0.6em;
    margin-bottom: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
}

.recruit-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: 0.08em;
}

.recruit-lead {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.05em;
    font-family: 'Noto Sans JP', sans-serif;
}

.recruit-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Apply Glassmorphism same as schedule-card */
.recruit-step {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.recruit-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.recruit-step:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(79, 172, 254, 0.25);
}

.step-num {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: rgba(79, 172, 254, 0.1);
    position: absolute;
    top: 20px;
    right: 20px;
    font-weight: 800;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: rgba(79, 172, 254, 0.9);
}

.step-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.8;
    font-weight: 300;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Responsive Recruit */
@media (max-width: 1200px) {
    .recruit-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .recruit-steps {
        grid-template-columns: 1fr;
    }
    .recruit-title {
        font-size: 2.2rem;
    }
}

/* Horizontal connector line between steps */
.recruit-steps::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(to right,
        rgba(79, 172, 254, 0.4),
        rgba(79, 172, 254, 0.15) 50%,
        rgba(79, 172, 254, 0.4));
    z-index: 0;
}

.recruit-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 16px;
}

/* Big ghost number */
.recruit-step-num {
    font-family: 'Cinzel', serif;
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(79, 172, 254, 0.08);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    letter-spacing: -0.02em;
    user-select: none;
}

.recruit-step-connector {
    display: none;
}

.recruit-step-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
}

.recruit-step-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(79, 172, 254, 0.06);
    border: 1px solid rgba(79, 172, 254, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.recruit-step-icon svg {
    width: 28px;
    height: 28px;
    stroke: rgba(79, 172, 254, 0.7);
}

.recruit-step:hover .recruit-step-icon {
    background: rgba(79, 172, 254, 0.12);
    border-color: rgba(79, 172, 254, 0.5);
    box-shadow: 0 0 28px rgba(79, 172, 254, 0.2);
}

.recruit-step-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0;
}

.recruit-step-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.85;
    font-weight: 300;
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    max-width: 180px;
}

.recruit-cta {
    display: flex;
    justify-content: center;
}

/* Mobile */
@media (max-width: 768px) {
    .recruit-section {
        padding: 10vh 24px;
    }

    .recruit-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .recruit-steps::before {
        display: none;
    }

    .recruit-step {
        flex-direction: row;
        text-align: left;
        gap: 24px;
        align-items: flex-start;
    }

    .recruit-step-num {
        position: static;
        transform: none;
        font-size: 3.5rem;
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
        flex-shrink: 0;
        width: 60px;
        text-align: center;
    }

    .recruit-step-body {
        align-items: flex-start;
        gap: 10px;
        padding-top: 0;
    }

    .recruit-step-desc {
        max-width: 100%;
    }
}

/* ==============================
   MATERIALS SECTION
   ============================== */
.materials-section {
    position: relative;
    z-index: 10;
    padding: 15vh 20px;
    display: flex;
    justify-content: center;
    background: transparent;
}

.materials-container {
    background: rgba(10, 15, 30, 0.35);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 30px 30px 50px;
    text-align: center;
    max-width: 900px;
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease, box-shadow 0.6s ease, border-color 0.6s ease;
}

.materials-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.materials-container:hover {
    box-shadow: 0 25px 80px rgba(79, 172, 254, 0.1);
    border-color: rgba(79, 172, 254, 0.2);
}

.materials-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.materials-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.materials-container:hover .materials-image {
    transform: scale(1.05);
}

.materials-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 15, 30, 0.9) 0%, rgba(10, 15, 30, 0.1) 50%, rgba(10, 15, 30, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.materials-content {
    position: relative;
    z-index: 2;
}

.materials-title {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #c4b5fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.materials-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 300;
}

.materials-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 48px;
    background: rgba(10, 15, 30, 0.6);
    border: 1px solid rgba(161, 140, 209, 0.4);
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    transition: all 0.4s ease;
    cursor: pointer;
}

.materials-btn:hover {
    background: rgba(161, 140, 209, 0.15);
    border-color: rgba(161, 140, 209, 0.8);
    box-shadow: 0 0 20px rgba(161, 140, 209, 0.2);
}

.materials-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.materials-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 48px;
    background: linear-gradient(135deg, rgba(161, 140, 209, 0.4), rgba(79, 172, 254, 0.4));
    border: 1px solid rgba(161, 140, 209, 0.8);
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(161, 140, 209, 0.2);
}

.materials-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.materials-cta-btn:hover {
    background: linear-gradient(135deg, rgba(161, 140, 209, 0.6), rgba(79, 172, 254, 0.6));
    border-color: #fff;
    box-shadow: 0 0 35px rgba(161, 140, 209, 0.5);
    transform: translateY(-2px);
}

.materials-cta-btn:hover::before {
    left: 100%;
}

.materials-cta-btn .cta-arrow {
    transition: transform 0.3s;
}

.materials-cta-btn:hover .cta-arrow {
    transform: translateX(4px);
}

/* ==============================
   WAVE TIMELINE SECTION
   ============================== */
.wave-timeline-section {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 10;
    cursor: default;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 50%, rgba(10,12,30,0.4) 0%, transparent 70%),
                radial-gradient(ellipse at 80% 40%, rgba(25,15,45,0.3) 0%, transparent 60%);
}

.wave-scroll-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.wave-scroll-container::-webkit-scrollbar {
    display: none;
}

#wave-canvas {
    display: block;
    height: 100%;
}

.wave-section-label {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    z-index: 5;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    pointer-events: none;
    width: 90%;
    max-width: 800px;
}

.wave-section-label.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.wave-subtitle {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.6em;
    color: rgba(79, 172, 254, 0.8);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.wave-section-label h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #a1a1aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(79, 172, 254, 0.15));
}

.wave-section-label p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

.wave-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeIn 2s ease 1.5s forwards;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.wave-scroll-hint .hint-arrow {
    font-size: 1rem;
    color: rgba(79, 172, 254, 0.4);
}

.wave-scroll-hint .hint-text {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    animation: hintTextPulse 3s ease-in-out infinite;
}

@keyframes hintTextPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.wave-year-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(79, 172, 254, 0.06);
    letter-spacing: 0.15em;
    pointer-events: none;
    transition: color 0.5s ease;
    text-shadow: 0 0 60px rgba(129, 140, 248, 0.15);
}

/* ==============================
   STORY OVERLAY
   ============================== */
.story-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 5, 0.94);
    backdrop-filter: blur(30px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.story-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.story-back {
    position: absolute;
    top: 40px;
    left: 50px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.story-back:hover {
    border-color: rgba(79, 172, 254, 0.4);
    color: #4facfe;
}

.story-detail-content {
    text-align: center;
    max-width: 700px;
    padding: 0 30px;
    transform: translateY(30px);
    transition: transform 0.6s ease 0.1s;
}

.story-overlay.active .story-detail-content {
    transform: translateY(0);
}

.story-detail-category {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 16px;
}

.story-detail-year {
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.8), rgba(161, 140, 209, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 30px rgba(79, 172, 254, 0.2));
}

.story-detail-divider {
    width: 50px;
    height: 2px;
    margin: 30px auto;
    background: linear-gradient(90deg, #4facfe, #a18cd1);
    border-radius: 2px;
}

.story-detail-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.story-detail-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 2;
    font-weight: 300;
}

.story-nav-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
    z-index: 10;
}

.story-nav-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.story-nav-btn:hover {
    background: rgba(161, 140, 209, 0.15);
    border-color: rgba(161, 140, 209, 0.6);
    color: #fff;
    box-shadow: 0 0 25px rgba(161, 140, 209, 0.4);
    transform: scale(1.05);
}

.story-nav-btn:disabled, .story-nav-btn.disabled {
    opacity: 0.2;
    pointer-events: none;
}

/* ==============================
   SAZARE-ISHI (さざれ石) SECTION
   ============================== */
.sazare-section {
    position: relative;
    z-index: 10;
    padding: 0;
    margin-top: 22vh;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#sazare-3d {
    width: 100%;
    height: 100%;
    display: block;
    cursor: default;
}

#sazare-3d canvas {
    display: block;
}

/* Lyrics — vertical text on left */
.sazare-lyrics {
    position: absolute;
    top: 50%;
    left: 60px;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 2.5s ease;
}

.sazare-lyrics.visible {
    opacity: 1;
}

.sazare-lyrics-inner {
    writing-mode: vertical-rl;
    text-orientation: upright;
    display: flex;
    gap: 20px;
    direction: rtl;
}

.sazare-lyrics-inner span {
    font-family: 'Noto Sans JP', serif;
    font-weight: 300;
    font-size: 1.3rem;
    letter-spacing: 0.5em;
    color: rgba(220, 215, 200, 0.4);
    line-height: 1;
}

/* Message — bottom right */
.sazare-message {
    position: absolute;
    bottom: 12vh;
    right: 60px;
    max-width: 400px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 2.5s ease 0.5s;
}

.sazare-message.visible {
    opacity: 1;
}

.sazare-message p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(220, 215, 200, 0.35);
    line-height: 2;
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    .sazare-lyrics {
        left: 24px;
    }

    .sazare-lyrics-inner {
        gap: 12px;
    }

    .sazare-lyrics-inner span {
        font-size: 0.95rem;
        letter-spacing: 0.3em;
    }

    .sazare-message {
        right: 24px;
        left: 24px;
        max-width: none;
        bottom: 8vh;
    }

    .sazare-message p {
        font-size: 0.8rem;
    }
}

.sazare-hint {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Cinzel', serif;
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    transition: opacity 1.5s ease;
    pointer-events: none;
    z-index: 2;
}

/* ==============================
   CONNECTIONS SECTION
   ============================== */
.connections-section {
    position: relative;
    z-index: 10;
    padding: 15vh 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.connections-header {
    text-align: center;
    margin-bottom: 10vh;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.connections-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.connections-header .label {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.6em;
    text-transform: uppercase;
    color: rgba(79, 172, 254, 0.85);
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.connections-header h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.08em;
}

.connections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.connection-card {
    background: rgba(10, 15, 30, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    will-change: transform, opacity;
}

.connection-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.connection-card:hover {
    box-shadow: 0 20px 60px rgba(79, 172, 254, 0.08);
    border-color: rgba(79, 172, 254, 0.15);
}

.connection-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.15), rgba(161, 140, 209, 0.15));
    border: 1px solid rgba(79, 172, 254, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    font-size: 1.5rem;
}

.connection-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.connection-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.9;
    font-weight: 300;
}

/* ==============================
   VISION SECTION
   ============================== */
.vision-section {
    position: relative;
    z-index: 10;
    padding: 20vh 20px 15vh;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.vision-content {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.vision-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.vision-year {
    font-size: 10rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(79, 172, 254, 0.25);
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1), rgba(161, 140, 209, 0.1));
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 1;
    margin-bottom: -20px;
    position: relative;
    z-index: 1;
    will-change: transform;
}

.vision-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #4facfe, #a18cd1);
    margin: 40px auto;
    border-radius: 2px;
}

.vision-quote {
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1.6;
    background: linear-gradient(135deg, #fff, #d1d5db);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.vision-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 2;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 50px;
}

.vision-cta {
    font-family: 'Cinzel', serif;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.12), rgba(161, 140, 209, 0.12));
    border: 1px solid rgba(79, 172, 254, 0.25);
    border-radius: 60px;
    color: #4facfe;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    cursor: pointer;
}

.vision-cta:hover {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.25), rgba(161, 140, 209, 0.25));
    border-color: rgba(79, 172, 254, 0.5);
    box-shadow: 0 0 40px rgba(79, 172, 254, 0.15);
    transform: translateY(-2px);
}

.vision-cta .arrow {
    transition: transform 0.3s;
}

.vision-cta:hover .arrow {
    transform: translateX(4px);
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 50px 40px 40px;
}

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

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    width: 50px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.footer-logo img:hover {
    opacity: 0.8;
}

.footer-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 400;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: rgba(79, 172, 254, 0.7);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    border-color: rgba(79, 172, 254, 0.4);
    color: #4facfe;
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.15);
}

/* ==============================
   KEYFRAMES
   ============================== */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

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

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.6);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .header-logo {
        top: 16px;
        left: 16px;
    }

    .header-logo img {
        width: 60px;
    }

    .connections-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .connection-card {
        padding: 35px 25px;
    }

    .vision-year {
        font-size: 5rem;
    }

    .vision-quote {
        font-size: 1.5rem;
    }

    .connections-header h2 {
        font-size: 2rem;
    }

    .wave-section-label {
        top: 30px;
    }

    .wave-subtitle {
        font-size: 0.55rem;
        letter-spacing: 0.4em;
        margin-bottom: 8px;
    }

    .wave-section-label h2 {
        font-size: 1.8rem;
        letter-spacing: 0.15em;
        margin-bottom: 12px;
        white-space: nowrap;
    }

    .wave-section-label p {
        font-size: 0.85rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
    }

    .materials-actions {
        flex-direction: column;
        gap: 15px;
    }

    .story-detail-year {
        font-size: 5rem;
    }

    .story-detail-title {
        font-size: 1.5rem;
    }

    .story-back {
        top: 20px;
        left: 20px;
    }

    .story-nav-controls {
        padding: 0 10px;
    }

    .story-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .pdf-header-actions {
        top: 20px;
        right: 20px;
        gap: 10px;
    }

    .overlay-cta-btn {
        padding: 8px 16px;
        font-size: 0.7rem;
    }

    .pdf-close {
        padding: 8px 16px;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .vision-year {
        font-size: 4rem;
    }

    .story-detail-year {
        font-size: 4rem;
    }
}

/* ==============================
   CINEMATIC PDF OVERLAY
   ============================== */
.pdf-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 7, 12, 0.96);
    backdrop-filter: blur(25px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.pdf-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.pdf-header-actions {
    position: absolute;
    top: 40px;
    right: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 20;
}

.overlay-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(161, 140, 209, 0.5), rgba(79, 172, 254, 0.5));
    border: 1px solid rgba(161, 140, 209, 0.8);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(161, 140, 209, 0.3);
}

.overlay-cta-btn:hover {
    background: linear-gradient(135deg, rgba(161, 140, 209, 0.8), rgba(79, 172, 254, 0.8));
    border-color: #fff;
    box-shadow: 0 0 25px rgba(161, 140, 209, 0.6);
    transform: translateY(-2px);
}

.overlay-cta-btn .cta-arrow {
    transition: transform 0.3s;
}

.overlay-cta-btn:hover .cta-arrow {
    transform: translateX(4px);
}

.pdf-close {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.pdf-close:hover {
    border-color: rgba(79, 172, 254, 0.4);
    color: #4facfe;
    background: rgba(255, 255, 255, 0.05);
}

.pdf-viewer-container {
    width: 90vw;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#viewerImage {
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
    transition: opacity 0.4s ease;
    border-radius: 4px; /* Slight rounding for luxury feel */
}

.pdf-controls {
    position: absolute;
    bottom: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    z-index: 10;
}

.pdf-prev, .pdf-next {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pdf-prev:hover, .pdf-next:hover {
    background: rgba(161, 140, 209, 0.15);
    border-color: rgba(161, 140, 209, 0.6);
    box-shadow: 0 0 20px rgba(161, 140, 209, 0.2);
}

.pdf-page-num {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.8);
    min-width: 100px;
    text-align: center;
}

.pdf-loading {
    position: absolute;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.2em;
    color: #4facfe;
    font-size: 0.9rem;
    text-transform: uppercase;
    pointer-events: none;
    animation: hintTextPulse 2s infinite;
}

/* ==============================
   PROCESS FLOW — New Timeline Design
   ============================== */
.process-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 80px;
    position: relative;
}

.process-step {
    flex: 1;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation */
.process-step:nth-child(1) { transition-delay: 0s; }
.process-step:nth-child(3) { transition-delay: 0.15s; }
.process-step:nth-child(5) { transition-delay: 0.3s; }
.process-step:nth-child(7) { transition-delay: 0.45s; }

/* Marker — number + dot */
.process-step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    position: relative;
}

.process-step-number {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: rgba(79, 172, 254, 0.6);
}

.process-step-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.9) 30%, rgba(79, 172, 254, 0.2) 100%);
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.3), 0 0 40px rgba(79, 172, 254, 0.1);
    position: relative;
    transition: all 0.4s ease;
}

.process-step:hover .process-step-dot {
    transform: scale(1.3);
    box-shadow: 0 0 30px rgba(79, 172, 254, 0.5), 0 0 60px rgba(79, 172, 254, 0.2);
}

/* Connector line between steps */
.process-connector {
    flex: 0 0 auto;
    width: 60px;
    display: flex;
    align-items: center;
    padding-top: 42px; /* align with dots */
}

.process-connector-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(79, 172, 254, 0.5), rgba(161, 140, 209, 0.3));
    position: relative;
}

.process-connector-line::after {
    content: '';
    position: absolute;
    right: -2px;
    top: -3px;
    width: 7px;
    height: 7px;
    border-top: 1px solid rgba(79, 172, 254, 0.5);
    border-right: 1px solid rgba(79, 172, 254, 0.5);
    transform: rotate(45deg);
}

/* Step content */
.process-step-content {
    padding: 28px 20px 32px;
    background: rgba(10, 15, 30, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    width: 100%;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.process-step:hover .process-step-content {
    border-color: rgba(79, 172, 254, 0.25);
    box-shadow: 0 12px 48px rgba(79, 172, 254, 0.08);
    transform: translateY(-4px);
}

.process-step-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
    line-height: 1.6;
}

.process-step-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.85;
    font-weight: 300;
    font-family: 'Noto Sans JP', sans-serif;
}

/* ── Tablet: 2×2 grid ── */
@media (max-width: 1024px) {
    .process-flow {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .process-connector {
        display: none;
    }

    .process-step {
        flex: 0 0 calc(50% - 12px);
        max-width: none;
    }
}

/* ── Mobile: vertical timeline ── */
@media (max-width: 600px) {
    .recruit-section {
        padding: 10vh 24px;
    }

    .process-flow {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-bottom: 50px;
        padding-left: 32px;
        position: relative;
    }

    /* Vertical line on the left */
    .process-flow::before {
        content: '';
        position: absolute;
        top: 0;
        left: 6px;
        bottom: 0;
        width: 1px;
        background: linear-gradient(to bottom, rgba(79, 172, 254, 0.5), rgba(161, 140, 209, 0.2), transparent);
    }

    .process-connector {
        display: none;
    }

    .process-step {
        flex: none;
        max-width: none;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 0;
        padding-bottom: 36px;
    }

    .process-step-marker {
        position: absolute;
        left: -32px;
        top: 0;
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin-bottom: 0;
    }

    .process-step-number {
        font-size: 0.6rem;
        margin-bottom: 6px;
    }

    .process-step-dot {
        width: 12px;
        height: 12px;
    }

    .process-step-content {
        padding: 22px 20px 24px;
    }

    .process-step-title {
        font-size: 0.95rem;
    }

    .process-step-title br {
        display: none;
    }
}

/* ==============================
   REQUIREMENTS V2 — "最強のデザイン"
   ============================== */
.requirements-section {
    padding: 18vh 0 12vh;
    background: transparent;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

/* Atmospheric glow behind the section */
.requirements-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(79, 172, 254, 0.06) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.req-v2-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* ── Header ── */
.req-v2-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.req-v2-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.req-v2-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.6em;
    color: rgba(79, 172, 254, 0.85);
    text-transform: uppercase;
    display: block;
    margin-bottom: 24px;
}

.req-v2-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, #fff 0%, rgba(79, 172, 254, 0.9) 50%, rgba(161, 140, 209, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 40px rgba(79, 172, 254, 0.2));
}

.req-v2-title-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, rgba(79, 172, 254, 0.8), rgba(161, 140, 209, 0.6));
    margin: 28px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.3);
}

/* ── 3 Cards Grid ── */
.req-v2-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 30px;
}

/* Individual Card */
.req-v2-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px) scale(0.97);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.req-v2-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Animated gradient border */
.req-v2-card-border {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.3), rgba(161, 140, 209, 0.1), rgba(79, 172, 254, 0.3));
    background-size: 300% 300%;
    animation: borderShift 8s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.req-v2-card:hover .req-v2-card-border {
    opacity: 1;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.8), rgba(161, 140, 209, 0.5), rgba(79, 172, 254, 0.8));
    background-size: 300% 300%;
    animation: borderShift 3s ease infinite;
}

@keyframes borderShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Background glow on hover */
.req-v2-card-bg {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(circle at 50% 0%, rgba(79, 172, 254, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.req-v2-card:hover .req-v2-card-bg {
    opacity: 1;
}

/* Inner content */
.req-v2-card-inner {
    position: relative;
    z-index: 1;
    background: rgba(8, 12, 24, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 48px 36px 44px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
}

.req-v2-card:hover .req-v2-card-inner {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(79, 172, 254, 0.12), 0 0 1px rgba(79, 172, 254, 0.3);
}

/* Giant number */
.req-v2-num {
    font-family: 'Cinzel', serif;
    font-size: 6rem;
    font-weight: 900;
    line-height: 0.85;
    background: linear-gradient(180deg, rgba(79, 172, 254, 0.2) 0%, rgba(79, 172, 254, 0.03) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    transition: all 0.5s ease;
    letter-spacing: -0.03em;
}

.req-v2-card:hover .req-v2-num {
    background: linear-gradient(180deg, rgba(79, 172, 254, 0.6) 0%, rgba(161, 140, 209, 0.15) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(79, 172, 254, 0.3));
}

/* Card text */
.req-v2-card-content h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.7;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.req-v2-card-content p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.9;
    font-weight: 300;
    font-family: 'Noto Sans JP', sans-serif;
}

/* ── Outline V2 — Card Grid ── */
.outline-v2 {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.outline-v2.visible {
    opacity: 1;
    transform: translateY(0);
}

.outline-v2-header {
    text-align: center;
    margin-bottom: 60px;
}

.outline-v2-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, #fff 0%, rgba(161, 140, 209, 0.9) 50%, rgba(79, 172, 254, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 40px rgba(161, 140, 209, 0.15));
}

/* 5 cells in a responsive grid */
.outline-v2-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Each cell — same card style as req-v2-card */
.outline-v2-cell {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.outline-v2-cell.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animated border — reuses borderShift keyframe */
.outline-v2-cell-border {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(161, 140, 209, 0.25), rgba(79, 172, 254, 0.08), rgba(161, 140, 209, 0.25));
    background-size: 300% 300%;
    animation: borderShift 10s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.outline-v2-cell:hover .outline-v2-cell-border {
    opacity: 1;
    background: linear-gradient(135deg, rgba(161, 140, 209, 0.7), rgba(79, 172, 254, 0.4), rgba(161, 140, 209, 0.7));
    background-size: 300% 300%;
    animation: borderShift 3s ease infinite;
}

/* Inner */
.outline-v2-cell-inner {
    position: relative;
    z-index: 1;
    background: rgba(8, 12, 24, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 32px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.outline-v2-cell:hover .outline-v2-cell-inner {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(161, 140, 209, 0.1);
}

.outline-v2-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    color: rgba(79, 172, 254, 0.65);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.outline-v2-value {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.outline-v2-highlight {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.9), rgba(161, 140, 209, 0.9));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.3rem;
    font-weight: 800;
    filter: drop-shadow(0 0 15px rgba(79, 172, 254, 0.25));
}

.outline-v2-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
    line-height: 1.4;
}

/* ── Tablet: 3+2 grid ── */
@media (max-width: 1024px) {
    .outline-v2-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ── Mobile: 2+2+1 or stack ── */
@media (max-width: 600px) {
    .outline-v2-header {
        margin-bottom: 40px;
    }

    .outline-v2-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .outline-v2-cell-inner {
        padding: 24px 18px;
    }

    .outline-v2-value {
        font-size: 1rem;
    }
}

/* ── Tablet ── */
@media (max-width: 900px) {
    .req-v2-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .req-v2-card-inner {
        flex-direction: row;
        align-items: flex-start;
        gap: 24px;
        padding: 36px 30px;
    }

    .req-v2-num {
        font-size: 4rem;
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .req-v2-card-content h3 br {
        display: none;
    }

    .req-v2-outline {
        padding: 40px 30px;
    }

    .req-v2-outline-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Mobile ── */
@media (max-width: 600px) {
    .requirements-section {
        padding: 12vh 0 8vh;
    }

    .req-v2-container {
        padding: 0 20px;
    }

    .req-v2-header {
        margin-bottom: 50px;
    }

    .req-v2-cards {
        margin-bottom: 60px;
    }

    .req-v2-card-inner {
        flex-direction: column;
        padding: 32px 24px;
    }

    .req-v2-num {
        font-size: 3.5rem;
    }

    .req-v2-card-content h3 {
        font-size: 1.05rem;
    }
}

/* ==============================
   PHILOSOPHY — 三方よし
   ============================== */
.philosophy-section {
    position: relative;
    z-index: 10;
    padding: 16vh 40px;
}

.philosophy-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.philosophy-text {
    flex: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.philosophy-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.philosophy-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.6em;
    color: rgba(79, 172, 254, 0.85);
    text-transform: uppercase;
    display: block;
    margin-bottom: 24px;
}

.philosophy-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
    letter-spacing: 0.06em;
    margin-bottom: 28px;
}

.philosophy-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 2;
    font-weight: 300;
    font-family: 'Noto Sans JP', sans-serif;
}

.philosophy-image {
    flex: 0 0 50%;
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.philosophy-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.philosophy-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

@media (max-width: 768px) {
    .philosophy-section {
        padding: 10vh 24px;
    }

    .philosophy-container {
        flex-direction: column;
        gap: 36px;
    }

    .philosophy-image {
        flex: none;
        width: 100%;
    }
}

/* ==============================
   TRAINING SHOWCASE — Horizontal Scroll
   ============================== */
.training-section {
    position: relative;
    z-index: 10;
    padding: 14vh 0 10vh;
    overflow: hidden;
}

.training-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.training-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.training-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.6em;
    color: rgba(79, 172, 254, 0.85);
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.training-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.08em;
}

/* Horizontal scroll container */
.training-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 40px 20px;
    cursor: grab;
}

.training-scroll:active {
    cursor: grabbing;
}

.training-scroll::-webkit-scrollbar {
    display: none;
}

.training-track {
    display: flex;
    gap: 24px;
    width: max-content;
}

/* Each slide */
.training-slide {
    flex: 0 0 auto;
    width: 520px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.training-slide:hover {
    border-color: rgba(79, 172, 254, 0.2);
    box-shadow: 0 16px 50px rgba(79, 172, 254, 0.08);
    transform: translateY(-4px);
}

.training-slide img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.training-slide:hover img {
    transform: scale(1.03);
}

/* Caption overlay at bottom */
.training-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 24px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    pointer-events: none;
}

.training-slide-num {
    font-family: 'Cinzel', serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: rgba(79, 172, 254, 0.7);
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.training-slide-caption h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.04em;
}

.training-scroll-hint {
    text-align: center;
    margin-top: 20px;
}

.training-scroll-hint span {
    font-family: 'Cinzel', serif;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .training-scroll {
        padding: 0 20px 20px;
    }

    .training-slide {
        width: 320px;
    }
}

/* ==============================
   TEAM — Coded Cards
   ============================== */
.team-section {
    position: relative;
    z-index: 10;
    padding: 14vh 40px;
}

.team-container {
    max-width: 1100px;
    margin: 0 auto;
}

.team-header {
    text-align: center;
    margin-bottom: 64px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.team-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.6em;
    color: rgba(79, 172, 254, 0.85);
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.team-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.team-lead {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Members grid */
.team-members {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-member {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.team-member.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-member-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85) saturate(0.9);
    transition: filter 0.4s ease, transform 0.6s ease;
}

.team-member:hover .team-member-photo img {
    filter: brightness(1) saturate(1);
    transform: scale(1.04);
}

.team-member-coming {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 15, 30, 0.6);
}

.team-member-coming span {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
}

.team-member-info h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.team-member-role {
    font-size: 0.72rem;
    color: rgba(79, 172, 254, 0.7);
    font-weight: 500;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 12px;
    font-family: 'Noto Sans JP', sans-serif;
}

.team-member-info p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.75;
    font-weight: 300;
    font-family: 'Noto Sans JP', sans-serif;
}

@media (max-width: 900px) {
    .team-members {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .team-section {
        padding: 10vh 24px;
    }

    .team-members {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-member-photo {
        aspect-ratio: 4/3;
    }
}

/* ==============================
   APPLY SECTION
   ============================== */
.apply-section {
    position: relative;
    z-index: 10;
    padding: 14vh 40px 10vh;
}

.apply-container {
    max-width: 800px;
    margin: 0 auto;
}

.apply-header {
    text-align: center;
    margin-bottom: 50px;
}

.apply-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.6em;
    color: rgba(79, 172, 254, 0.85);
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.apply-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.apply-lead {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
    line-height: 1.8;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Form */
.apply-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.06em;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    transition: border-color 0.3s ease, background 0.3s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group select:focus {
    border-color: rgba(79, 172, 254, 0.5);
    background: rgba(79, 172, 254, 0.04);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff40' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 48px;
    cursor: pointer;
}

.form-group select option {
    background: #0a0f1e;
    color: #fff;
}

.form-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    align-self: flex-start;
    padding: 18px 52px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.15), rgba(161, 140, 209, 0.15));
    border: 1px solid rgba(79, 172, 254, 0.35);
    border-radius: 8px;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 8px;
}

.form-submit-btn:hover {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.3), rgba(161, 140, 209, 0.3));
    border-color: rgba(79, 172, 254, 0.7);
    box-shadow: 0 0 30px rgba(79, 172, 254, 0.15);
    transform: translateY(-2px);
}

.form-submit-arrow {
    transition: transform 0.3s;
}

.form-submit-btn:hover .form-submit-arrow {
    transform: translateX(4px);
}

.form-message {
    font-size: 0.9rem;
    font-family: 'Noto Sans JP', sans-serif;
    color: rgba(79, 172, 254, 0.9);
    min-height: 1.5em;
}

@media (max-width: 768px) {
    .apply-section {
        padding: 10vh 20px;
    }

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

/* ==============================
   EFO — Entry Form Optimization
   ============================== */

/* Required badge */
.form-required {
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(79, 172, 254, 0.8);
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.25);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    letter-spacing: 0.1em;
    vertical-align: middle;
}

/* Input wrapper for OK mark positioning */
.form-input-wrap {
    position: relative;
}

/* OK checkmark */
.form-ok {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(212, 190, 140, 0.2);
    border: 1.5px solid rgba(212, 190, 140, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    pointer-events: none;
}

.form-ok::after {
    content: '';
    width: 6px;
    height: 10px;
    border-right: 2px solid rgba(212, 190, 140, 0.9);
    border-bottom: 2px solid rgba(212, 190, 140, 0.9);
    transform: rotate(45deg) translate(-1px, -1px);
}

/* Show OK when valid */
.form-group.is-valid .form-ok {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* Valid state — green border */
.form-group.is-valid input,
.form-group.is-valid select {
    border-color: rgba(212, 190, 140, 0.4);
}

/* Error state — red */
.form-group.is-error input,
.form-group.is-error select {
    border-color: rgba(248, 113, 113, 0.5);
    background: rgba(248, 113, 113, 0.04);
}

/* Error message */
.form-error {
    font-size: 0.75rem;
    color: rgba(248, 113, 113, 0.8);
    min-height: 1.2em;
    margin-top: 4px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: opacity 0.2s ease;
}

/* Progress bar */
.form-progress {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 4px;
}

.form-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(79, 172, 254, 0.8), rgba(212, 190, 140, 0.8));
    border-radius: 3px;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Disabled submit */
.form-submit-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

/* Padding for OK mark space */
.form-group.is-valid input,
.form-group.is-valid select {
    padding-right: 52px;
}
}
/* ==============================
   MESSAGE — Quote Style
   ============================== */
.msg-section {
    position: relative;
    z-index: 10;
    padding: 16vh 40px;
    overflow: hidden;
}

/* Giant quote mark */
.msg-quote-mark {
    position: absolute;
    top: 8vh;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Cinzel', serif;
    font-size: clamp(10rem, 20vw, 18rem);
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(79, 172, 254, 0.08);
    pointer-events: none;
    user-select: none;
}

.msg-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.msg-quote {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 2.2;
    font-weight: 300;
    letter-spacing: 0.03em;
    margin-bottom: 48px;
}

.msg-quote strong {
    color: #fff;
    font-weight: 600;
}

/* Author */
.msg-author {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.msg-author-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.msg-author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) saturate(0.85);
}

.msg-author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.msg-author-name {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.06em;
}

.msg-author-role {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1em;
}

@media (max-width: 600px) {
    .msg-section {
        padding: 12vh 24px;
    }

    .msg-quote br {
        display: none;
    }

    .msg-quote {
        margin-bottom: 36px;
    }
}

/* ==============================
   CATALOG VIEWER
   ============================== */
.catalog-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.catalog-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Toolbar */
.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    flex-shrink: 0;
}

.catalog-page-num {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
}

.catalog-close {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-close:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

/* Body */
.catalog-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px 30px;
    gap: 16px;
    min-height: 0;
    position: relative;
}

/* Arrows */
.catalog-arrow {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.catalog-arrow:hover {
    border-color: rgba(79, 172, 254, 0.4);
    color: #fff;
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.15);
}

.catalog-arrow:disabled {
    opacity: 0.15;
    cursor: default;
    pointer-events: none;
}

/* Spread — two pages side by side */
.catalog-spread {
    display: flex;
    max-width: 1100px;
    width: 100%;
    max-height: calc(100vh - 140px);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
    position: relative;
}

.catalog-page {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    background: #111;
}

.catalog-page img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.25s ease;
}

.catalog-page img.loading {
    opacity: 0.3;
}

/* Spine divider */
.catalog-spine {
    width: 2px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.04), rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    flex-shrink: 0;
}

/* ── Mobile: single page swipe ── */
@media (max-width: 768px) {
    .catalog-body {
        padding: 0 0 20px;
        gap: 0;
    }

    .catalog-arrow {
        display: none;
    }

    .catalog-spread {
        flex-direction: column;
        max-height: calc(100vh - 100px);
        border-radius: 12px;
        margin: 0 16px;
        touch-action: pan-y;
    }

    .catalog-page-right,
    .catalog-spine {
        display: none;
    }

    .catalog-page-left {
        flex: 1;
    }

    .catalog-page img {
        object-fit: contain;
    }
}

/* ==============================
   INLINE CATALOG VIEWER
   ============================== */
.inline-catalog {
    position: relative;
    z-index: 10;
    padding: 10vh 40px 6vh;
}

.inline-catalog-header {
    text-align: center;
    margin-bottom: 40px;
}

.inline-catalog-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.6em;
    color: rgba(79, 172, 254, 0.85);
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.inline-catalog-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.08em;
}

/* Viewer frame */
.inline-catalog-viewer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.ic-stage {
    flex: 1;
    max-width: 800px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
    position: relative;
    cursor: grab;
    touch-action: pan-y;
    background: #0a0a0a;
}

.ic-stage:active {
    cursor: grabbing;
}

.ic-stage img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.2s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.ic-stage img.loading {
    opacity: 0.3;
}

/* Arrows */
.ic-arrow {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ic-arrow:hover {
    border-color: rgba(79, 172, 254, 0.4);
    color: #fff;
}

.ic-arrow:disabled {
    opacity: 0.15;
    pointer-events: none;
}

/* Controls below */
.ic-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.ic-dots {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 600px;
}

.ic-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
}

.ic-dot.active {
    background: rgba(79, 172, 254, 0.7);
    transform: scale(1.4);
}

.ic-page-num {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
    .inline-catalog {
        padding: 8vh 16px 4vh;
    }

    .inline-catalog-viewer {
        gap: 8px;
    }

    .ic-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }

    .ic-dot {
        width: 5px;
        height: 5px;
    }
}

/* ==============================
   SAZARE-ISHI — Hidden Whisper
   ============================== */
.sazare-whisper {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 10vh 40px 4vh;
}

.sazare-whisper span {
    font-family: 'Noto Sans JP', serif;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.5em;
    color: rgba(255, 255, 255, 0.06);
    transition: color 2s ease;
}

.sazare-whisper:hover span {
    color: rgba(220, 215, 200, 0.25);
}

/* ==============================
   CATALOG — Redesigned Header & Flip Animation
   ============================== */
/* Override old header */
.inline-catalog-header {
    text-align: center;
    margin-bottom: 48px;
}

.ic-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.6em;
    color: rgba(79, 172, 254, 0.7);
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}

.ic-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.ic-title-en {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, #fff 0%, rgba(161, 140, 209, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Stage — perspective for 3D flip */
.ic-stage {
    position: relative;
    perspective: 1200px;
}

.ic-page-current,
.ic-page-next {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.ic-page-next {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

/* Flip animation classes */
.ic-page-current.flip-out {
    animation: flipOut 0.45s ease-in forwards;
}

.ic-page-next.flip-in {
    opacity: 1;
    animation: flipIn 0.45s ease-out 0.15s forwards;
}

@keyframes flipOut {
    0% { transform: rotateY(0); opacity: 1; }
    100% { transform: rotateY(-90deg); opacity: 0; }
}

@keyframes flipIn {
    0% { transform: rotateY(90deg); opacity: 0; }
    100% { transform: rotateY(0); opacity: 1; }
}

/* Slide animation (fallback / alternative) */
.ic-page-current.slide-out-left {
    animation: slideOutLeft 0.35s ease-in forwards;
}
.ic-page-next.slide-in-right {
    opacity: 1;
    animation: slideInRight 0.35s ease-out forwards;
}
.ic-page-current.slide-out-right {
    animation: slideOutRight 0.35s ease-in forwards;
}
.ic-page-next.slide-in-left {
    opacity: 1;
    animation: slideInLeft 0.35s ease-out forwards;
}

@keyframes slideOutLeft {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-8%); opacity: 0; }
}
@keyframes slideInRight {
    0% { transform: translateX(8%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}
@keyframes slideOutRight {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(8%); opacity: 0; }
}
@keyframes slideInLeft {
    0% { transform: translateX(-8%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* Progress bar instead of dots */
.ic-progress-bar {
    width: 100%;
    max-width: 400px;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}

.ic-progress-fill {
    height: 100%;
    width: 2.5%;
    background: linear-gradient(90deg, rgba(79, 172, 254, 0.7), rgba(161, 140, 209, 0.6));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.ic-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

/* Hide old dots */
.ic-dots { display: none; }

/* ==============================
   SAZARE-ISHI — Center Text + Flowing Marquee
   ============================== */
/* Center text */
.sazare-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 2s ease;
}

.sazare-center-text.visible {
    opacity: 1;
}

.sazare-main {
    font-family: 'Noto Sans JP', serif;
    font-weight: 300;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    letter-spacing: 0.5em;
    color: rgba(220, 215, 200, 0.6);
    margin-bottom: 0.8em;
    white-space: nowrap;
}

.sazare-sub {
    font-family: 'Noto Sans JP', serif;
    font-weight: 300;
    font-size: clamp(0.75rem, 1.5vw, 0.95rem);
    letter-spacing: 0.4em;
    color: rgba(200, 195, 180, 0.35);
    white-space: nowrap;
}

/* Flowing marquee text */
.sazare-marquee {
    position: absolute;
    bottom: 12vh;
    left: 0;
    width: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 2.5s ease;
}

.sazare-marquee.visible {
    opacity: 1;
}

.sazare-marquee-track {
    display: flex;
    gap: 80px;
    white-space: nowrap;
    animation: marqueeFlow 25s linear infinite;
}

.sazare-marquee-track span {
    font-family: 'Noto Sans JP', serif;
    font-weight: 200;
    font-size: 0.75rem;
    letter-spacing: 0.6em;
    color: rgba(220, 215, 200, 0.08);
    flex-shrink: 0;
}

@keyframes marqueeFlow {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Remove old sazare-text styles conflict */
.sazare-text { display: none; }

@media (max-width: 600px) {
    .sazare-main {
        letter-spacing: 0.3em;
    }
    .sazare-marquee-track span {
        letter-spacing: 0.3em;
    }
}

/* ==============================
   EFO — BUTTON ACTIVATION EFFECT
   ============================== */
.form-submit-btn:not(:disabled) {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.35), rgba(161, 140, 209, 0.35));
    border-color: rgba(79, 172, 254, 0.7);
    box-shadow: 0 0 40px rgba(79, 172, 254, 0.15), 0 0 80px rgba(161, 140, 209, 0.08);
    animation: btnPulseGlow 2.5s ease-in-out infinite;
}

@keyframes btnPulseGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(79, 172, 254, 0.12), 0 0 60px rgba(161, 140, 209, 0.06); }
    50% { box-shadow: 0 0 50px rgba(79, 172, 254, 0.25), 0 0 100px rgba(161, 140, 209, 0.12); }
}

/* Progress bar glow when 100% */
.ic-progress-fill,
.form-progress-bar {
    transition: width 0.4s ease, box-shadow 0.3s ease;
}

/* ==============================
   LUXURY REFINEMENT — Global Polish
   ============================== */

/* Body — deeper, richer background */
body, html {
    background: #000000;
    background: radial-gradient(ellipse at 30% 100%, #0d1117 0%, #020204 50%, #000000 100%);
}

/* Hero — add subtle gold shimmer line */
.anniversary-badge {
    color: rgba(212, 190, 140, 0.85);
    font-weight: 600;
}

.main-title {
    font-weight: 500;
    letter-spacing: 0.12em;
    text-shadow: 0 0 60px rgba(212, 190, 140, 0.08);
}

.subtitle {
    color: rgba(200, 195, 180, 0.5);
    font-weight: 400;
    letter-spacing: 0.2em;
}

.scroll-indicator span {
    color: rgba(212, 190, 140, 0.25);
}

.scroll-line {
    background: linear-gradient(to bottom, rgba(212, 190, 140, 0.4), transparent);
}

/* Header logo — slightly warmer */
.header-logo img {
    filter: brightness(0) invert(1) sepia(0.15) saturate(0.5) drop-shadow(0 0 8px rgba(212, 190, 140, 0.1));
}

/* Message quote — warm accent */
.msg-quote-mark {
    -webkit-text-stroke: 1px rgba(212, 190, 140, 0.06);
}

.msg-author-role {
    color: rgba(212, 190, 140, 0.4);
}

/* Catalog — warm touches */
.ic-eyebrow {
    color: rgba(212, 190, 140, 0.6);
}

.ic-title-en {
    background: linear-gradient(135deg, #fff 0%, rgba(212, 190, 140, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.ic-arrow:hover {
    border-color: rgba(212, 190, 140, 0.35);
    color: rgba(212, 190, 140, 0.9);
}

.ic-dot.active {
    background: rgba(212, 190, 140, 0.6);
}

.ic-progress-fill {
    background: linear-gradient(90deg, rgba(212, 190, 140, 0.6), rgba(161, 140, 100, 0.4));
}

.ic-stage {
    border-color: rgba(212, 190, 140, 0.08);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 1px rgba(212, 190, 140, 0.1);
}

/* Apply section — luxe form */
.apply-eyebrow {
    color: rgba(212, 190, 140, 0.65);
}

.apply-title {
    font-weight: 400;
}

.form-group input:focus,
.form-group select:focus {
    border-color: rgba(212, 190, 140, 0.4);
    background: rgba(212, 190, 140, 0.03);
}

.form-required {
    color: rgba(212, 190, 140, 0.7);
    background: rgba(212, 190, 140, 0.08);
    border-color: rgba(212, 190, 140, 0.2);
}

.form-submit-btn:not(:disabled) {
    background: linear-gradient(135deg, rgba(212, 190, 140, 0.2), rgba(161, 140, 100, 0.15));
    border-color: rgba(212, 190, 140, 0.5);
    color: rgba(212, 190, 140, 0.95);
}

.form-submit-btn:not(:disabled):hover {
    background: linear-gradient(135deg, rgba(212, 190, 140, 0.35), rgba(161, 140, 100, 0.25));
    border-color: rgba(212, 190, 140, 0.8);
    box-shadow: 0 0 40px rgba(212, 190, 140, 0.15);
}

@keyframes btnPulseGlow {
    0%, 100% { box-shadow: 0 0 25px rgba(212, 190, 140, 0.1); }
    50% { box-shadow: 0 0 50px rgba(212, 190, 140, 0.2), 0 0 80px rgba(212, 190, 140, 0.06); }
}

/* Footer — warm */
.footer-links a:hover {
    color: rgba(212, 190, 140, 0.6);
}

.footer-social a:hover {
    border-color: rgba(212, 190, 140, 0.3);
    color: rgba(212, 190, 140, 0.8);
}

/* Sazare marquee — warm tone */
.sazare-marquee-track span {
    color: rgba(212, 190, 140, 0.06);
}

.sazare-main {
    color: rgba(212, 190, 140, 0.5);
}

.sazare-sub {
    color: rgba(200, 190, 170, 0.3);
}

/* Thin golden separator between sections */
.msg-section::after,
.inline-catalog::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 190, 140, 0.2), transparent);
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.msg-section,
.inline-catalog {
    position: relative;
}

/* ==============================
   MESSAGE V2 — Asymmetric Split
   ============================== */
.msg-v2 {
    position: relative;
    z-index: 10;
    padding: 14vh 40px 12vh;
}

.msg-v2-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 64px;
}

/* ── Photo column ── */
.msg-v2-photo-col {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.msg-v2-photo-frame {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(212, 190, 140, 0.15);
    box-shadow: 0 0 60px rgba(212, 190, 140, 0.06);
}

.msg-v2-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(0.8) saturate(0.85) contrast(1.05);
}

.msg-v2-name-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.msg-v2-name {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.12em;
}

.msg-v2-role {
    font-family: 'Cinzel', serif;
    font-size: 0.6rem;
    font-weight: 400;
    color: rgba(212, 190, 140, 0.45);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

/* ── Text column ── */
.msg-v2-text-col {
    flex: 1;
    min-width: 0;
}

.msg-v2-accent-line {
    width: 40px;
    height: 1px;
    background: rgba(212, 190, 140, 0.35);
    margin-bottom: 32px;
}

.msg-v2-quote {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 2;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}

.msg-v2-quote strong {
    color: rgba(212, 190, 140, 0.95);
    font-weight: 600;
}

.msg-v2-body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.92rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    line-height: 2;
    letter-spacing: 0.03em;
}

.msg-v2-body strong {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .msg-v2 {
        padding: 10vh 24px;
    }

    .msg-v2-inner {
        flex-direction: column;
        gap: 36px;
        text-align: center;
    }

    .msg-v2-photo-frame {
        width: 120px;
        height: 120px;
    }

    .msg-v2-accent-line {
        margin: 0 auto 24px;
    }

    .msg-v2-quote {
        font-size: 1.1rem;
    }
}

/* ==============================
   EDITORIAL MESSAGE — Magazine Layout
   ============================== */
.ed {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 80vh;
    display: flex;
    overflow: hidden;
}

/* Photo — left, bleeds edge */
.ed-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 42%;
    height: 100%;
    overflow: hidden;
}

.ed-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: brightness(0.5) saturate(0.7) contrast(1.1);
}

.ed-photo-fade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, transparent 30%, #000 100%),
        linear-gradient(to top, #000 0%, transparent 30%),
        linear-gradient(to bottom, #000 0%, transparent 20%);
}

/* Content — right side */
.ed-content {
    position: relative;
    z-index: 2;
    margin-left: 42%;
    padding: 12vh 8vw 12vh 6vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80vh;
}

.ed-label {
    font-family: 'Cinzel', serif;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: rgba(212, 190, 140, 0.5);
    margin-bottom: 32px;
}

.ed-headline {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 2;
    letter-spacing: 0.05em;
    margin-bottom: 28px;
}

.ed-headline em {
    font-style: normal;
    color: rgba(212, 190, 140, 0.95);
    font-weight: 500;
}

.ed-body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.35);
    line-height: 2.1;
    letter-spacing: 0.03em;
    margin-bottom: 48px;
}

/* Signature */
.ed-sig {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ed-sig-line {
    width: 40px;
    height: 1px;
    background: rgba(212, 190, 140, 0.3);
    flex-shrink: 0;
}

.ed-sig-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ed-sig-name {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.15em;
}

.ed-sig-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.55rem;
    font-weight: 400;
    color: rgba(212, 190, 140, 0.4);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

/* ── Mobile: stack ── */
@media (max-width: 768px) {
    .ed {
        flex-direction: column;
        min-height: auto;
    }

    .ed-photo {
        position: relative;
        width: 100%;
        height: 45vw;
        max-height: 280px;
    }

    .ed-photo-fade {
        background:
            linear-gradient(to bottom, transparent 30%, #000 100%),
            linear-gradient(to top, transparent 80%, rgba(0,0,0,0.5) 100%);
    }

    .ed-content {
        margin-left: 0;
        padding: 6vh 28px 8vh;
        min-height: auto;
    }

    .ed-headline {
        font-size: 1.3rem;
    }

    .ed-headline br {
        display: block;
    }

    .ed-body br {
        display: none;
    }
}

/* ── Photo credit overlay ── */
.ed-photo-credit {
    position: absolute;
    bottom: 40px;
    left: 36px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ed-credit-name {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.18em;
}

.ed-credit-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.55rem;
    font-weight: 400;
    color: rgba(212, 190, 140, 0.45);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

/* Remove old sig from ed-content */
.ed-sig { display: none; }

@media (max-width: 768px) {
    .ed-photo-credit {
        bottom: auto;
        top: 16px;
        left: 24px;
    }

    .ed-credit-name {
        font-size: 0.85rem;
    }
}

/* ==============================
   CATALOG — Page Curl + Swipe Hint
   ============================== */

/* Page curl — bottom-right corner */
.ic-curl {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    pointer-events: none;
    z-index: 5;
    background: linear-gradient(
        225deg,
        rgba(212, 190, 140, 0.12) 0%,
        rgba(212, 190, 140, 0.04) 30%,
        transparent 60%
    );
    border-radius: 12px 0 0 0;
    animation: curlPeek 3s ease-in-out infinite;
}

.ic-curl::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(225deg, rgba(30, 25, 18, 0.9) 0%, transparent 70%);
    border-radius: 12px 0 0 0;
    box-shadow: -3px -3px 8px rgba(0, 0, 0, 0.3);
}

@keyframes curlPeek {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-4px, -4px); }
}

/* Swipe hint overlay */
.ic-swipe-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.ic-swipe-hint.hidden {
    opacity: 0;
}

.ic-swipe-icon {
    font-size: 1.1rem;
    color: rgba(212, 190, 140, 0.5);
    animation: swipeSlide 2s ease-in-out infinite;
}

.ic-swipe-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.1em;
}

@keyframes swipeSlide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-8px); }
}

@media (max-width: 768px) {
    .ic-curl {
        width: 40px;
        height: 40px;
    }
    .ic-curl::before {
        width: 28px;
        height: 28px;
    }
}

/* ==============================
   CONFIRM MODAL
   ============================== */
/* ── Confirm Overlay (main-site style) ── */
.confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 5, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.confirm-overlay.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.confirm-card {
    background: linear-gradient(160deg, rgba(0,12,35,0.99) 0%, rgba(0,28,60,0.97) 100%);
    border: 1px solid rgba(181,153,76,0.22);
    border-radius: 24px;
    padding: 48px 48px;
    max-width: 560px;
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 40px 100px rgba(0,8,30,0.8), 0 0 0 1px rgba(181,153,76,0.22);
    position: relative;
    overflow: hidden;
}

.confirm-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(76,201,240,0.6) 30%, rgba(76,201,240,1) 50%, rgba(76,201,240,0.6) 70%, transparent 100%);
    background-size: 200% auto;
    animation: shimmerLine 3s linear infinite;
}

@keyframes shimmerLine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.confirm-overlay.active .confirm-card {
    transform: translateY(0);
}

/* Step indicators */
.confirm-steps {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

.confirm-step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Times New Roman', serif;
}

.confirm-step.done .step-num {
    background: rgba(76,201,240,0.15);
    color: rgba(76,201,240,0.5);
    border: 1px solid rgba(76,201,240,0.2);
}

.confirm-step.active .step-num {
    background: #4cc9f0;
    color: #001535;
    border: 1px solid #4cc9f0;
}

.step-label {
    font-size: 12px;
    letter-spacing: 2px;
    font-family: 'Noto Sans JP', sans-serif;
}

.confirm-step.done .step-label {
    color: rgba(192,216,240,0.45);
}

.confirm-step.active .step-label {
    color: #fff;
    font-weight: 600;
}

.confirm-step-line {
    flex: 0 0 60px;
    height: 1px;
    background: rgba(76,201,240,0.25);
    margin: 0 16px;
}

.confirm-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 3px;
}

.confirm-subtitle {
    font-size: 13px;
    color: rgba(192,216,240,0.7);
    font-family: 'Noto Serif JP', serif;
    margin: 0 0 32px;
    letter-spacing: 0.5px;
    line-height: 1.8;
}

.confirm-table {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 36px;
    background: rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 8px 20px;
    border: 1px solid rgba(181,153,76,0.08);
}

.confirm-row {
    display: flex;
    padding: 16px 0;
    border-bottom: 1px solid rgba(181,153,76,0.08);
    align-items: baseline;
}

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

.confirm-label {
    flex: 0 0 140px;
    font-family: 'Times New Roman', serif;
    font-size: 11px;
    font-weight: 400;
    color: rgba(181,153,76,0.65);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding-top: 2px;
}

.confirm-value {
    flex: 1;
    font-family: 'Noto Serif JP', serif;
    font-size: 15px;
    color: #e5e4dd;
    word-break: break-all;
    letter-spacing: 0.5px;
    line-height: 1.7;
}

.confirm-actions {
    display: flex;
    gap: 12px;
}

.confirm-back {
    flex: 1;
    height: 52px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    color: rgba(192,216,240,0.9);
    font-family: 'Times New Roman', serif;
    font-size: 13px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.confirm-back:hover {
    border-color: rgba(255,255,255,0.22);
    color: #fff;
}

.confirm-send {
    flex: 2;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #4cc9f0, #3a9fd4);
    border: none;
    border-radius: 10px;
    color: #001535;
    font-family: 'Times New Roman', serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(76,201,240,0.25);
    transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
}

.confirm-send:hover {
    box-shadow: 0 12px 40px rgba(76,201,240,0.35);
    transform: translateY(-2px);
}

/* ── Done Overlay (main-site style) ── */
.done-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 5, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.done-overlay.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.done-card {
    background: linear-gradient(160deg, rgba(0,12,35,0.99) 0%, rgba(0,28,60,0.97) 100%);
    border: 1px solid rgba(181,153,76,0.22);
    border-radius: 24px;
    padding: 56px 48px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 40px 100px rgba(0,8,30,0.8);
    animation: doneCardIn 0.5s ease both;
}

@keyframes doneCardIn {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.done-overlay.active .done-card {
    transform: translateY(0);
}

.done-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 32px;
    background: radial-gradient(circle, rgba(181,153,76,0.25) 0%, rgba(181,153,76,0.04) 70%);
    border: 1.5px solid rgba(181,153,76,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(181,153,76,0.25);
}

.done-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(20px, 2.4vw, 30px);
    color: #fff;
    letter-spacing: 4px;
    font-weight: 600;
    margin: 0 0 20px;
}

.done-message {
    font-size: 14px;
    color: rgba(192,216,240,0.9);
    line-height: 2.4;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.5px;
    margin: 0;
}

.done-close {
    margin-top: 36px;
    padding: 12px 40px;
    background: none;
    border: 1px solid rgba(181,153,76,0.2);
    border-radius: 8px;
    color: rgba(181,153,76,0.7);
    font-size: 12px;
    letter-spacing: 3px;
    font-family: 'Noto Serif JP', serif;
    cursor: pointer;
    transition: all 0.25s ease;
}

.done-close:hover {
    border-color: rgba(181,153,76,0.5);
    color: #B5994C;
}

@media (max-width: 600px) {
    .confirm-card {
        padding: 32px 24px;
    }

    .confirm-label {
        flex: 0 0 100px;
        font-size: 10px;
    }

    .confirm-actions {
        flex-direction: column-reverse;
    }

    .confirm-back,
    .confirm-send {
        width: 100%;
        justify-content: center;
        flex: unset;
        height: 56px;
        font-size: 15px;
        border-radius: 12px;
    }

    .done-card {
        padding: 40px 24px;
    }

    .done-close {
        padding: 16px 48px;
        font-size: 14px;
    }
}

/* ==============================
   CATALOG — Bottom Row + Action Buttons
   ============================== */
.ic-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
}

.ic-actions {
    display: flex;
    gap: 8px;
}

.ic-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.ic-action-btn:hover {
    background: rgba(212, 190, 140, 0.08);
    border-color: rgba(212, 190, 140, 0.3);
    color: rgba(212, 190, 140, 0.8);
}

/* Fullscreen mode */
.ic-stage.fullscreen {
    position: fixed;
    inset: 0;
    z-index: 2500;
    border-radius: 0;
    border: none;
    background: #000;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ic-stage.fullscreen img {
    max-height: 100vh;
    max-width: 100vw;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ic-stage.fullscreen .ic-curl,
.ic-stage.fullscreen .ic-swipe-hint {
    display: none;
}

.ic-fullscreen-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2600;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.ic-fullscreen-close.visible {
    display: flex;
}

.ic-fullscreen-close:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

/* ==============================
   CATALOG — Labeled Action Buttons
   ============================== */
.ic-actions-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 6px;
}

.ic-labeled-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(181,153,76,0.06);
    border: 1px solid rgba(181,153,76,0.35);
    border-radius: 8px;
    color: rgba(212, 190, 140, 0.85);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ic-labeled-btn:hover {
    border-color: rgba(181, 153, 76, 0.6);
    color: rgba(212, 190, 140, 1);
    background: rgba(181,153,76,0.12);
    box-shadow: 0 0 20px rgba(181,153,76,0.1);
}

.ic-labeled-btn svg {
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.ic-labeled-btn:hover svg {
    opacity: 1;
}

/* Hide old action buttons */
.ic-bottom-row { display: none; }
.ic-action-btn { display: none; }

@media (max-width: 600px) {
    .ic-actions-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .ic-labeled-btn {
        justify-content: center;
        padding: 12px 16px;
    }
}

/* ==============================
   APPLY — Refined Header V2
   ============================== */
.apply-header-v2 {
    margin-bottom: 56px;
}

.apply-eyebrow-v2 {
    font-family: 'Cinzel', serif;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: rgba(212, 190, 140, 0.45);
    display: block;
    margin-bottom: 20px;
}

.apply-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.apply-title-line {
    width: 40px;
    height: 1px;
    background: rgba(212, 190, 140, 0.3);
    flex-shrink: 0;
}

.apply-title-v2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.1em;
}

.apply-lead-v2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.06em;
    padding-left: 60px;
}

/* Hide old header */
.apply-header { display: none; }

@media (max-width: 600px) {
    .apply-title-row {
        gap: 14px;
    }

    .apply-title-line {
        width: 24px;
    }

    .apply-lead-v2 {
        padding-left: 38px;
    }
}

/* ==============================
   FINAL POLISH
   ============================== */

/* Footer — minimal, centered, luxe */
.site-footer {
    border-top: 1px solid rgba(212, 190, 140, 0.06);
    padding: 48px 40px 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.footer-logo img {
    width: 44px;
    height: auto;
    filter: brightness(0) invert(1) sepia(0.15) saturate(0.5);
    opacity: 0.35;
    transition: opacity 0.3s;
}

.footer-logo:hover img {
    opacity: 0.6;
}

.footer-years {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.4em;
    color: rgba(212, 190, 140, 0.25);
}

.footer-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 0.08em;
}

/* Hide old footer elements */
.footer-left, .footer-links, .footer-social { display: none; }

/* ── Scroll-triggered fade-in ── */
.ed,
.inline-catalog,
.apply-section {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ed.visible,
.inline-catalog.visible,
.apply-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Placeholder styling ── */
.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.15);
    font-weight: 300;
}

@media (max-width: 600px) {
    .site-footer {
        padding: 36px 24px 32px;
    }
}

/* ==============================
   SAZARE-ISHI — Hidden Promise
   ============================== */
.sazare-promise {
    position: absolute;
    bottom: 6vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
    font-family: 'Noto Sans JP', serif;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.35em;
    color: rgba(212, 190, 140, 0);
    white-space: nowrap;
    transition: color 4s ease;
}

.sazare-promise.visible {
    color: rgba(212, 190, 140, 0.4);
}

/* ==============================
   ULTRA-FINAL POLISH
   ============================== */

/* Hero subtitle — Cinzel for luxury feel */
.subtitle {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    color: rgba(212, 190, 140, 0.4);
    text-transform: none;
}

/* Form label — bilingual */
.form-label-en {
    font-family: 'Cinzel', serif;
    font-size: 0.55rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    color: rgba(212, 190, 140, 0.35);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

/* Section rhythm — unified vertical spacing */
.ed { margin-bottom: 0; }
.inline-catalog { padding-top: 14vh; padding-bottom: 10vh; }
.apply-section { padding-top: 14vh; padding-bottom: 14vh; }

/* Smooth page scroll — subtle */
html { scroll-behavior: smooth; }

/* Selection color */
::selection {
    background: rgba(212, 190, 140, 0.25);
    color: #fff;
}

/* Loading state — page entrance */
body {
    animation: bodyFadeIn 1.2s ease forwards;
}

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

/* ==============================
   FILM GRAIN — Analog Texture
   ============================== */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    mix-blend-mode: overlay;
}

/* ==============================
   SHIMMER — 10th Anniversary Badge
   ============================== */
.anniversary-badge {
    position: relative;
    overflow: hidden;
}

.anniversary-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 190, 140, 0.15), transparent);
    animation: shimmer 5s ease-in-out infinite 2s;
}

@keyframes shimmer {
    0% { left: -100%; }
    30% { left: 150%; }
    100% { left: 150%; }
}

/* ==============================
   FORM FIELDS — Stagger Reveal
   ============================== */
.apply-section .form-group {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.apply-section.visible .form-group {
    opacity: 1;
    transform: translateY(0);
}

.apply-section.visible .form-group:nth-child(1) { transition-delay: 0.05s; }
.apply-section.visible .form-group:nth-child(2) { transition-delay: 0.12s; }
.apply-section.visible .form-group:nth-child(3) { transition-delay: 0.19s; }
.apply-section.visible .form-group:nth-child(4) { transition-delay: 0.26s; }

.apply-section .form-progress,
.apply-section .form-submit-btn {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease 0.35s, transform 0.5s ease 0.35s;
}

.apply-section.visible .form-progress,
.apply-section.visible .form-submit-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Disabled button stays faded */
.form-submit-btn:disabled {
    opacity: 0.3 !important;
}

/* ==============================
   EDITORIAL PHOTO — Parallax via CSS
   ============================== */
.ed-photo img {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* ==============================
   HERO — Main Title Polish
   ============================== */
.main-title {
    background: linear-gradient(135deg, #fff 0%, rgba(212, 190, 140, 0.6) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: none;
    text-shadow: none;
}

/* ==============================
   MICRO-INTERACTIONS
   ============================== */

/* All links & buttons — smooth */
a, button {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Catalog arrows — scale on hover */
.ic-arrow:hover {
    transform: scale(1.08);
}

/* Form inputs — lift on focus */
.form-group input:focus,
.form-group select:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(212, 190, 140, 0.06);
}

/* Footer logo — subtle lift */
.footer-logo:hover img {
    transform: translateY(-2px);
}

/* ==============================
   SCROLL PROGRESS BAR — Top of page
   ============================== */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 190, 140, 0.6), rgba(212, 190, 140, 0.2));
    z-index: 9998;
    width: 0%;
    transition: width 0.1s linear;
}

/* ── Headline size for message copy ── */
.ed-headline {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1.8;
    letter-spacing: 0.08em;
    background: linear-gradient(160deg, rgba(210, 208, 200, 0.9) 0%, rgba(160, 155, 145, 0.6) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ed-headline em {
    font-style: normal;
    -webkit-text-fill-color: transparent;
}

.ed-accent {
    background: linear-gradient(160deg, #e0d8c8 0%, #c0b5a0 50%, #a89d8a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

@media (max-width: 768px) {
    .sp-only { display: inline; }
}

/* Limited badge — positioned near scroll indicator */
.limited-badge {
    display: inline-block;
    font-family: "Cinzel", serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    margin-right: -0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 32px;
    border-radius: 0;
    margin-top: 3vh;
    margin-bottom: 2.5vh;
    animation: fadeInUp 1.5s ease 1.2s forwards;
    opacity: 0;
    will-change: transform, opacity;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
