/* ==========================================
   SARI DANCE CLUB - Main Stylesheet
   ========================================== */

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

:root {
    --gold: #D4AF37;
    --gold-light: #F0D060;
    --black: #080808;
    --dark: #111111;
    --dark-2: #1a1a1a;
    --gray: #888;
    --white: #f5f5f5;
    --font-display: 'Bebas Neue', 'Oswald', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.8;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* === UTILITIES === */
.gold { color: var(--gold); }
.center { text-align: center; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* === SECTIONS === */
.section-dark { background: var(--dark); }
.section-black { background: var(--black); }

section { padding: 120px 0; }

.section-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin-bottom: 40px;
}

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.9s var(--transition) forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }

/* === HEADER === */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 40px;
    transition: background var(--transition), border-color var(--transition);
    border-bottom: 1px solid transparent;
}
#site-header.scrolled {
    background: rgba(8, 8, 8, 0.97);
    border-bottom-color: rgba(212, 175, 55, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo a {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo .logo-main {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3.5vw, 1.8rem);
    letter-spacing: 0.08em;
    color: var(--gold);
    white-space: nowrap;
}

#primary-nav ul {
    display: flex;
    gap: 32px;
    align-items: center;
}
#primary-nav a {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--white);
    transition: color var(--transition);
}
#primary-nav a:hover { color: var(--gold); }
#primary-nav .btn-contact {
    border: 1px solid var(--gold);
    padding: 8px 20px;
    color: var(--gold);
    transition: all var(--transition);
}
#primary-nav .btn-contact:hover {
    background: var(--gold);
    color: var(--black);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

/* === HERO === */
#hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 8s ease-out forwards;
}
@keyframes heroZoom {
    to { transform: scale(1); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(8, 8, 8, 0.85) 0%,
        rgba(8, 8, 8, 0.6) 50%,
        rgba(8, 8, 8, 0.3) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 80px;
    max-width: 900px;
}

.hero-eyebrow {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 9rem);
    line-height: 0.9;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}
.hero-title .gold {
    -webkit-text-stroke: 2px var(--gold);
    color: transparent;
    font-size: clamp(5rem, 13vw, 12rem);
}

.hero-sub {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: rgba(245,245,245,0.7);
    margin-bottom: 48px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    right: 60px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeInUp 1s 1.2s forwards;
}
.hero-scroll span {
    font-family: 'Oswald', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--gold);
    writing-mode: vertical-rl;
}
.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* === BUTTONS === */
.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    padding: 16px 36px;
    transition: all var(--transition);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}
.btn-primary.large { padding: 20px 56px; font-size: 1rem; }

.btn-outline {
    display: inline-block;
    border: 1px solid rgba(245,245,245,0.4);
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    padding: 16px 36px;
    transition: all var(--transition);
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-text {
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--transition);
}
.btn-text:hover { gap: 16px; }

/* === CONCEPT === */
.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.concept-text p {
    color: rgba(245,245,245,0.7);
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.concept-text .btn-text { margin-top: 16px; }

.img-stack {
    position: relative;
    height: 500px;
    overflow: hidden;
}
.img-main {
    position: absolute;
    top: 0; left: 0;
    width: 80%;
    height: 80%;
    object-fit: cover;
}
.img-sub {
    position: absolute;
    bottom: 0; right: 0;
    width: 55%;
    height: 55%;
    object-fit: cover;
    border: 4px solid var(--dark);
}

/* === CLASSES === */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.class-card {
    background: var(--dark-2);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}
.class-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 0;
    background: var(--gold);
    transition: height 0.6s var(--transition);
}
.class-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-4px);
}
.class-card:hover::before { height: 100%; }

.class-badge {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 3px 12px;
    margin-bottom: 20px;
}

.class-icon { font-size: 2rem; margin-bottom: 12px; }

.class-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.class-target {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 4px;
}
.class-genre {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    word-break: break-all;
}
.class-info {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    margin-bottom: 20px;
}
.class-info li {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.class-info .label {
    color: var(--gray);
    font-size: 0.75rem;
    min-width: 30px;
}
.class-desc {
    font-size: 0.85rem;
    color: rgba(245,245,245,0.6);
}

.trial-banner {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}
.trial-banner h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 8px;
}
.trial-banner p {
    font-size: 0.9rem;
    color: rgba(245,245,245,0.7);
}

/* === INSTRUCTOR === */
.instructor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.instructor-img {
    position: relative;
}
.instructor-img img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}
.instructor-img-deco {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--gold);
    z-index: -1;
}

.instructor-name-row {
    display: flex;
    align-items: center;
}

.instructor-ig {
    display: flex;
    align-items: center;
    color: var(--gray);
    transition: color var(--transition);
    flex-shrink: 0;
    margin-top: 4px;
    margin-left: 14px;
}

@media (max-width: 768px) {
    .instructor-ig {
        margin-left: 24px;
    }
    .instructor-ig svg {
        width: 22px;
        height: 22px;
    }
}

.instructor-ig:hover {
    color: #E1306C;
}

.instructor-origin {
    font-size: 0.85rem;
    color: var(--gray);
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.instructor-career h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 16px;
}
.instructor-career ul {
    border-left: 2px solid rgba(212, 175, 55, 0.3);
    padding-left: 24px;
    margin-bottom: 32px;
}
.instructor-career li {
    font-size: 0.9rem;
    color: rgba(245,245,245,0.8);
    margin-bottom: 10px;
    position: relative;
}
.instructor-career li::before {
    content: '▸';
    color: var(--gold);
    position: absolute;
    left: -20px;
}

.career-year {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--gray);
    margin-bottom: 2px;
}
.career-award {
    line-height: 1.8;
    font-size: 0.85rem !important;
}
.career-division {
    font-size: 0.78rem;
    color: var(--gray);
}
.career-result {
    font-size: 0.82rem;
    color: rgba(245,245,245,0.7);
}
.career-result em {
    font-style: normal;
    color: var(--gold);
    font-weight: 700;
}

.instructor-message {
    font-size: 0.9rem;
    color: rgba(245,245,245,0.7);
    border-left: 3px solid var(--gold);
    padding-left: 20px;
    font-style: italic;
    line-height: 2;
}

/* === SCHEDULE TABLE === */
.schedule-table-wrap {
    overflow-x: auto;
}
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.schedule-table th {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    white-space: nowrap;
}
.schedule-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    vertical-align: middle;
    white-space: nowrap;
}
.schedule-table tr:hover td {
    background: rgba(212, 175, 55, 0.05);
}
.schedule-table .gold { font-weight: 700; font-family: 'Oswald', sans-serif; }

.badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 10px;
}
.badge-dot.kids { background: #4ECDC4; }
.badge-dot.open { background: #FFE66D; }
.badge-dot.junior { background: #FF6B6B; }
.badge-dot.skillup { background: var(--gold); }

/* === ACCESS === */
.access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.access-detail {
    margin-bottom: 36px;
}
.access-detail h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 10px;
}
.access-detail p, .access-detail a {
    font-size: 0.95rem;
    color: rgba(245,245,245,0.8);
    line-height: 1.8;
}
.access-detail a:hover { color: var(--gold); }

.sns-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}
.sns-btn {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 20px;
    transition: all var(--transition);
}
.sns-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.access-map iframe {
    width: 100%;
    height: 380px;
    border: none;
    filter: grayscale(100%) invert(90%) contrast(85%);
}

/* === CONTACT === */
#contact {
    background: #0d0d0d;
    border-top: 2px solid rgba(212, 175, 55, 0.35);
}

.contact-lead {
    font-size: 0.95rem;
    color: rgba(245,245,245,0.6);
    margin-bottom: 56px;
}

.contact-form {
    max-width: 760px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 28px;
}
.form-group label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--gray);
    margin-bottom: 10px;
}
.required { color: var(--gold); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition);
    -webkit-appearance: none;
}
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23D4AF37' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.25);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-submit { text-align: center; margin-top: 12px; }

/* === CONTACT FORM 7 スタイル上書き === */
.contact-form-wrap { max-width: 760px; margin: 0 auto; }

.wpcf7-form { display: flex; flex-direction: column; gap: 0; }

.wpcf7-form p { margin-bottom: 28px; }

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition);
    border-radius: 0;
    -webkit-appearance: none;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus { border-color: var(--gold); }

.wpcf7-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23D4AF37' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.wpcf7-form input[type="submit"] {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    padding: 20px 56px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    width: auto;
}
.wpcf7-form input[type="submit"]:hover { background: var(--gold-light); transform: translateY(-2px); }

.wpcf7-form .wpcf7-not-valid-tip { color: #ff6b6b; font-size: 0.78rem; margin-top: 6px; display: block; }
.wpcf7-form .wpcf7-response-output {
    border: 1px solid rgba(212,175,55,0.4);
    padding: 14px 20px;
    font-size: 0.85rem;
    margin-top: 20px;
    text-align: center;
}
.wpcf7-form.sent .wpcf7-response-output { border-color: #4ecdc4; color: #4ecdc4; }
.wpcf7-form.failed .wpcf7-response-output { border-color: #ff6b6b; color: #ff6b6b; }

.cf7-notice {
    text-align: center;
    padding: 40px;
    border: 1px dashed rgba(212,175,55,0.3);
    color: rgba(245,245,245,0.5);
    font-size: 0.9rem;
    line-height: 2;
}
.cf7-notice a { color: var(--gold); }

/* === SCHEDULE LAYOUT === */
.schedule-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: start;
}
.schedule-side-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 20px;
}
.schedule-note {
    font-size: 0.78rem;
    color: var(--gray);
    margin-top: 16px;
    line-height: 1.7;
}

/* === CALENDAR === */
.cal-wrap {
    background: var(--dark-2);
    border: 1px solid rgba(212,175,55,0.15);
    padding: 28px;
}

.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.cal-month-label {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    color: var(--white);
}
.cal-nav {
    background: none;
    border: 1px solid rgba(212,175,55,0.3);
    color: var(--gold);
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cal-nav:hover { background: rgba(212,175,55,0.15); border-color: var(--gold); }

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}
.cal-wd {
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--gray);
    padding: 4px 0;
}
.cal-wd.sun { color: #ff6b6b; }
.cal-wd.sat { color: #6bb5ff; }

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.cal-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    color: rgba(245,245,245,0.4);
    border-radius: 2px;
    transition: all var(--transition);
    position: relative;
}
.cal-cell.sun { color: rgba(255,107,107,0.4); }
.cal-cell.sat { color: rgba(107,181,255,0.4); }
.cal-cell.empty { pointer-events: none; }

.cal-cell.school {
    background: rgba(212,175,55,0.12);
    color: var(--gold);
    border: 1px solid rgba(212,175,55,0.3);
    cursor: pointer;
    font-weight: 600;
}
.cal-cell.school:hover {
    background: rgba(212,175,55,0.25);
    border-color: var(--gold);
    transform: scale(1.1);
    z-index: 1;
}
.cal-cell.event {
    background: rgba(255,107,107,0.2);
    color: #ff9090;
    border: 1px solid rgba(255,107,107,0.5);
    cursor: pointer;
    font-weight: 600;
}
.cal-cell.event:hover {
    background: rgba(255,107,107,0.35);
    border-color: #ff6b6b;
    transform: scale(1.1);
    z-index: 1;
}

.cal-legend {
    display: flex;
    gap: 20px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.cal-legend span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    color: var(--gray);
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.1em;
}
.legend-school::before {
    content: '';
    display: inline-block;
    width: 12px; height: 12px;
    background: rgba(212,175,55,0.3);
    border: 1px solid var(--gold);
    border-radius: 1px;
}
.legend-event::before {
    content: '';
    display: inline-block;
    width: 12px; height: 12px;
    background: rgba(255,107,107,0.3);
    border: 1px solid #ff6b6b;
    border-radius: 1px;
}

/* === CALENDAR MODAL === */
#cal-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
#cal-modal-overlay.open { display: flex; }

#cal-modal {
    background: var(--dark-2);
    border: 1px solid rgba(212,175,55,0.3);
    padding: 40px;
    width: min(480px, 90vw);
    position: relative;
    animation: modalIn 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94) backwards;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

#cal-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.4rem;
    cursor: pointer;
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition);
}
#cal-modal-close:hover { color: var(--gold); }

.modal-tag {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    padding: 3px 12px;
    margin-bottom: 14px;
    border-radius: 2px;
}
.school-tag { background: rgba(212,175,55,0.2); color: var(--gold); border: 1px solid rgba(212,175,55,0.4); }
.event-tag  { background: rgba(255,107,107,0.2); color: #ff9090; border: 1px solid rgba(255,107,107,0.4); }

.modal-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 8px;
    line-height: 1.3;
}
.modal-date {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--gray);
    margin-bottom: 24px;
}
.modal-classes { margin-bottom: 24px; }
.modal-class-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.modal-class-item:first-child { padding-top: 0; }
.modal-time {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.1em;
}
.modal-class-item strong {
    font-size: 0.95rem;
    color: var(--white);
}
.modal-target {
    font-size: 0.78rem;
    color: var(--gray);
}
.modal-btn { display: inline-block; margin-top: 4px; }

/* === EVENT BANNER === */
.event-banner-section { padding: 120px 0; }

.event-banner-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.event-banner {
    display: grid;
    grid-template-columns: 300px 1fr;
    border: 1px solid rgba(212,175,55,0.15);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
    color: inherit;
}
.event-banner:hover {
    border-color: rgba(212,175,55,0.5);
    transform: translateX(6px);
}
.event-banner-featured {
    grid-template-columns: 440px 1fr;
    border-color: rgba(212,175,55,0.3);
}

.event-banner-img {
    position: relative;
    overflow: hidden;
}
.event-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}
.event-banner:hover .event-banner-img img { transform: scale(1.05); }
.event-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 60%, rgba(8,8,8,0.6));
}
.event-banner-no-img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    background: var(--dark-2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.event-banner-no-img span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.3em;
    color: rgba(212,175,55,0.2);
}

.event-banner-body {
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--dark-2);
}
.event-banner-date {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    display: block;
    margin-bottom: 10px;
}
.event-banner-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 12px;
    transition: color var(--transition);
}
.event-banner:hover .event-banner-title { color: var(--gold); }
.event-banner-excerpt {
    font-size: 0.85rem;
    color: rgba(245,245,245,0.55);
    line-height: 1.7;
    margin-bottom: 20px;
}
.event-banner-link {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--transition);
}
.event-banner:hover .event-banner-link { gap: 14px; }

.event-view-all { text-align: center; }

/* Event banner responsive */
@media (max-width: 1024px) {
    .schedule-layout { grid-template-columns: 1fr; }
    .event-banner,
    .event-banner-featured { grid-template-columns: 260px 1fr; }
}
@media (max-width: 768px) {
    .event-banner,
    .event-banner-featured { grid-template-columns: 1fr; }
    .event-banner-img { aspect-ratio: 16/9; }
}

/* === PAGE HERO === */
.page-hero {
    background: var(--dark);
    padding: 160px 40px 80px;
    border-bottom: 1px solid rgba(212,175,55,0.15);
    text-align: center;
}
.page-hero-sm { padding: 140px 40px 60px; }
.page-hero-inner { max-width: 800px; margin: 0 auto; }
.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
    margin: 12px 0 16px;
}
.single-title { font-size: clamp(1.6rem, 3vw, 2.8rem); }
.post-meta-date {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--gray);
}
.post-cat-label {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    padding: 4px 14px;
    margin-bottom: 12px;
    border-radius: 2px;
}

/* === NEWS TOP (index.php) === */
.news-top-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}
.news-top-header .section-title { margin-bottom: 0; }

/* === NEWS GRID (共通) === */
.news-top-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.news-card { position: relative; }
.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.news-card-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--dark-2);
}
.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}
.news-card-link:hover .news-card-thumb img { transform: scale(1.06); }
.news-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8,8,8,0.6), transparent);
    transition: opacity var(--transition);
}
.news-card-no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-2);
}
.news-card-no-thumb span {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: rgba(212,175,55,0.3);
}

.news-cat {
    position: absolute;
    top: 16px; left: 16px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    padding: 4px 12px;
    border-radius: 2px;
    z-index: 1;
}
.news-cat.cat-event, .post-cat-label.cat-event {
    background: rgba(255,107,107,0.85);
    color: #fff;
}
.news-cat.cat-activity, .post-cat-label.cat-activity {
    background: rgba(78,205,196,0.85);
    color: #fff;
}
.news-cat:not(.cat-event):not(.cat-activity),
.post-cat-label:not(.cat-event):not(.cat-activity) {
    background: rgba(212,175,55,0.85);
    color: var(--black);
}

.news-card-body { padding: 20px 4px 4px; }
.news-date {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--gray);
    display: block;
    margin-bottom: 8px;
}
.news-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 10px;
    transition: color var(--transition);
}
.news-card-link:hover .news-title { color: var(--gold); }
.news-excerpt {
    font-size: 0.82rem;
    color: rgba(245,245,245,0.55);
    line-height: 1.7;
    margin-bottom: 12px;
}
.news-read-more {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}
.news-card-link:hover .news-read-more { gap: 12px; }

/* === NEWS ARCHIVE PAGE === */
.news-archive { padding: 80px 0 120px; }

.news-filter {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.filter-btn {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    padding: 8px 24px;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--gray);
    transition: all var(--transition);
    cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212,175,55,0.08);
}

.news-empty {
    text-align: center;
    padding: 80px 0;
    color: var(--gray);
    font-size: 0.95rem;
}

/* Pagination */
.pagination { display: flex; justify-content: center; margin-top: 60px; }
.pagination .page-numbers {
    display: flex;
    list-style: none;
    gap: 8px;
}
.pagination .page-numbers li a,
.pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--gray);
    transition: all var(--transition);
}
.pagination .page-numbers li a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .page-numbers li .current {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--black);
}

/* === SINGLE POST === */
.single-article { padding: 80px 0 120px; }
.container-narrow { max-width: 800px; }

.single-thumb {
    margin-bottom: 56px;
    overflow: hidden;
}
.single-thumb img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.single-content {
    font-size: 1rem;
    line-height: 2;
    color: rgba(245,245,245,0.85);
    margin-bottom: 48px;
}
.single-content h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--white);
    margin: 48px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212,175,55,0.3);
}
.single-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gold);
    margin: 36px 0 16px;
}
.single-content p { margin-bottom: 20px; }
.single-content img { max-width: 100%; margin: 32px 0; }
.single-content a { color: var(--gold); text-decoration: underline; }

.single-tags {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 48px;
}
.single-tags .tag-label { color: var(--gold); margin-right: 8px; }
.single-tags a { color: var(--gray); margin-right: 8px; transition: color var(--transition); }
.single-tags a:hover { color: var(--gold); }

.post-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.post-nav-prev { text-align: left; }
.post-nav-next { text-align: right; }
.post-nav a { font-size: 0.85rem; color: rgba(245,245,245,0.6); transition: color var(--transition); line-height: 1.8; }
.post-nav a:hover { color: var(--gold); }
.nav-label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 4px;
}
.post-nav-index {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    border: 1px solid rgba(212,175,55,0.4);
    padding: 10px 20px;
    color: var(--gold) !important;
    white-space: nowrap;
    transition: background var(--transition) !important;
}
.post-nav-index:hover { background: rgba(212,175,55,0.1) !important; }

/* News responsive */
@media (max-width: 1024px) {
    .news-top-grid,
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .news-top-grid,
    .news-grid { grid-template-columns: 1fr; }
    .news-top-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav-index { text-align: center; }
    .page-hero { padding: 120px 24px 60px; }
}

/* === FOOTER === */
#site-footer {
    background: #050505;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding: 60px 40px;
    text-align: center;
}
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
}
.footer-logo .logo-main {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--gold);
    letter-spacing: 0.1em;
}
.footer-logo .logo-sub {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: var(--gray);
    margin-top: 4px;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}
.footer-links a {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--gray);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-address {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    margin-bottom: 12px;
}
.footer-copy {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.1em;
}

/* モバイルのみ改行 */
.br-mobile { display: none; }
@media (max-width: 768px) { .br-mobile { display: block; } }

/* PCのみ表示（モバイルで非表示） */
.pc-dot { }
@media (max-width: 768px) { .pc-dot { display: none; } }

/* === 日本語テキスト 改行制御（全体） === */
.section-title,
.page-hero-title,
.single-title,
.hero-title,
.class-card h3,
.news-title,
.event-banner-title,
.trial-banner h3,
.instructor-message,
.contact-lead {
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .container { padding: 0 24px; }
    .concept-grid,
    .instructor-grid { grid-template-columns: 1fr; gap: 48px; }
    .img-stack { height: 340px; overflow: hidden; }
    .concept-images { overflow: hidden; }
    .instructor-img { max-width: 560px; margin: 0 auto; width: 100%; }
    .instructor-img-deco { display: none; }
    .access-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* ベース */
    section { padding: 64px 0; }
    .container { padding: 0 20px; }
    #site-header { padding: 0 20px; }
    #site-header.scrolled { padding: 0 20px; }

    /* セクションタイトル */
    .section-title { font-size: clamp(1.6rem, 7vw, 2.4rem); margin-bottom: 28px; }
    .section-label { font-size: 0.68rem; letter-spacing: 0.3em; }

    /* ナビ */
    #primary-nav {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(8, 8, 8, 0.97);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 999;
    }
    #primary-nav.open { display: flex; z-index: 1002; }
    #primary-nav ul { flex-direction: column; gap: 32px; text-align: center; }
    #primary-nav a { font-size: 1.2rem; }
    .nav-toggle { display: flex; z-index: 1003; }
    .nav-toggle.active span { background: var(--gold); }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    /* ヒーロー */
    .hero-content { padding: 0 20px; }
    .hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.2em; }
    .hero-title { font-size: clamp(2.6rem, 12vw, 4rem); }
    .hero-title .gold { font-size: clamp(3.5rem, 16vw, 6rem); }
    .hero-sub {
        font-size: 0.8rem;
        letter-spacing: 0.05em;
        /* モバイルではカタカナ途中改行を防ぐ */
        word-break: keep-all;
    }
    /* ヒーローCTA：モバイルでは縦並び・自然幅 */
    .hero-cta { flex-direction: column; align-items: flex-start; gap: 12px; }
    .hero-scroll { display: none; }

    /* コンセプト */
    .concept-text p br { display: none; } /* <br>を無効化、自然な折り返しに */
    .concept-text p { font-size: 0.9rem; }

    /* クラス */
    .classes-grid { grid-template-columns: 1fr; gap: 16px; }
    .class-card { padding: 28px 24px; }
    .trial-banner {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
        gap: 20px;
    }
    .trial-banner h3 { font-size: 1.5rem; }

    /* スケジュール */
    .schedule-layout { gap: 32px; }
    .cal-wrap { padding: 20px 16px; }
    .cal-month-label { font-size: 1.1rem; }
    .cal-cell { font-size: 0.78rem; }
    .schedule-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .schedule-table { font-size: 0.78rem; min-width: 300px; }
    .schedule-table th,
    .schedule-table td {
        padding: 10px 8px;
    }
    .schedule-note { font-size: 0.72rem; }

    /* コンセプト画像 */
    .img-stack { height: 260px; }
    .concept-images { max-width: 100%; }

    /* インストラクター */
    .instructor-img-deco { display: none; }
    .instructor-grid > * { min-width: 0; }
    .instructor-img img { max-height: 400px; width: 100%; object-fit: cover; }
    .instructor-career li { font-size: 0.85rem; }
    .instructor-message { font-size: 0.85rem; }

    /* アクセス */
    .access-map iframe { height: 260px; }
    .access-detail p, .access-detail a { font-size: 0.9rem; }

    /* コンタクト */
    #contact .section-title { font-size: clamp(1.4rem, 6vw, 2rem); }
    .contact-lead { font-size: 0.85rem; }
    .form-row { grid-template-columns: 1fr; }

    /* ページヒーロー */
    .page-hero { padding: 120px 20px 52px; }
    .page-hero-title { font-size: clamp(1.5rem, 7vw, 2.4rem); }

    /* フッター */
    #site-footer { padding: 48px 20px; }
    .footer-logo .logo-main { font-size: 2rem; }
}

@media (max-width: 480px) {
    /* 極小画面追加調整 */
    .hero-title { font-size: clamp(2.2rem, 11vw, 3rem); }
    .hero-title .gold { font-size: clamp(3rem, 14vw, 4.5rem); }
    .btn-primary, .btn-outline { padding: 14px 24px; font-size: 0.8rem; }
    .class-card h3 { font-size: 1.2rem; }
    .cal-cell { font-size: 0.72rem; }
    #cal-modal { padding: 28px 20px; }
}
