/* ===== Opening Splash ===== */
.opening-splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: hidden;
    visibility: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}
.opening-splash.loaded {
    pointer-events: none;
}
.opening-splash.hidden {
    visibility: hidden;
}

/* 45° tricolore: 3つの帯をそれぞれclip-pathで切り抜き、その場でフェードアウト */
.opening-panel {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 1;
    transition: opacity 0.9s ease-out;
    will-change: opacity;
    backface-visibility: hidden;
}
.opening-panel-blue {
    background: #0055A4;
    /* BL三角 (帯1) */
    clip-path: polygon(0% 33.34%, 66.67% 100%, 0% 100%);
}
.opening-panel-white {
    background: #ffffff;
    /* 中央の白帯 + TL/BR の隅まで含む六角形 (帯1〜帯2の間 = 0%/100%地点ともに白) */
    clip-path: polygon(0% 33.34%, 0% 0%, 33.34% 0%, 100% 66.67%, 100% 100%, 66.67% 100%);
}
.opening-panel-red {
    background: #EF4135;
    /* TR三角 (帯3) */
    clip-path: polygon(33.34% 0%, 100% 0%, 100% 66.67%);
}
.opening-splash.loaded .opening-panel { opacity: 0; }

/* Logo: very slow steady grow, no pulse, stays visible during reveal */
.opening-inner {
    position: relative;
    z-index: 2;
    padding: 6vh 8vw;
    display: flex;
    align-items: center;
    justify-content: center;
}
.opening-logo {
    display: block;
    width: min(72vw, 560px);
    height: auto;
    transform-origin: center center;
    filter: drop-shadow(0 10px 28px rgba(0, 40, 104, 0.45));
    animation: openingLogoGrow 1.3s linear both;
}
.opening-splash.loaded .opening-logo {
    animation: openingLogoOut 0.4s ease-out forwards;
}
@keyframes openingLogoGrow {
    0%   { transform: scale(0.8); opacity: 0; }
    20%  { opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes openingLogoOut {
    0%   { transform: scale(1); opacity: 1; }
    100% { transform: scale(1); opacity: 0; }
}

/* Rose storm — flows continuously, in front of opening splash too */
.opening-roses {
    position: fixed;
    inset: 0;
    z-index: 10000; /* above opening-splash (9999), so roses are visible from the start */
    pointer-events: none;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.4s ease;
}
.opening-roses.paused {
    opacity: 0;
}
.opening-roses.paused .opening-rose {
    animation-play-state: paused;
}
.opening-rose {
    position: absolute;
    width: clamp(48px, 7vw, 96px);
    height: auto;
    opacity: 0;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
    will-change: transform, opacity;
    pointer-events: none;
    animation: roseStorm 3.4s cubic-bezier(.25,.6,.55,1) infinite;
}
@keyframes roseStorm {
    0%   { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.6); }
    8%   { opacity: 1; }
    88%  { opacity: 1; }
    100% { opacity: 0; transform: translate(var(--rx), var(--ry)) rotate(var(--rr)) scale(1.1); }
}
/* 右下→左上に流れる吹雪。delay を duration 全体に均等配分し、常時 流れている状態を維持 */
.opening-rose:nth-child(1)  { top: 95%; left: 95%;  --rx: -160vw; --ry: -150vh; --rr:  540deg; animation-delay:    0ms; }
.opening-rose:nth-child(2)  { top: 80%; left:108%;  --rx: -150vw; --ry: -120vh; --rr: -480deg; animation-delay:  140ms; }
.opening-rose:nth-child(3)  { top:108%; left: 60%;  --rx: -130vw; --ry: -160vh; --rr:  720deg; animation-delay:  280ms; }
.opening-rose:nth-child(4)  { top: 60%; left:112%;  --rx: -140vw; --ry:  -90vh; --rr:  600deg; animation-delay:  420ms; }
.opening-rose:nth-child(5)  { top:108%; left: 45%;  --rx: -120vw; --ry: -140vh; --rr: -720deg; animation-delay:  560ms; }
.opening-rose:nth-child(6)  { top:105%; left: 90%;  --rx: -150vw; --ry: -180vh; --rr:  540deg; animation-delay:  700ms; }
.opening-rose:nth-child(7)  { top: 40%; left:110%;  --rx: -140vw; --ry: -110vh; --rr: -600deg; animation-delay:  840ms; }
.opening-rose:nth-child(8)  { top: 75%; left: 85%;  --rx: -130vw; --ry: -140vh; --rr:  720deg; animation-delay:  980ms; }
.opening-rose:nth-child(9)  { top: 60%; left: 70%;  --rx: -110vw; --ry:  -90vh; --rr:  360deg; width: clamp(36px,5vw,68px); animation-delay: 1120ms; }
.opening-rose:nth-child(10) { top: 90%; left: 55%;  --rx: -120vw; --ry: -130vh; --rr: -540deg; width: clamp(40px,5.5vw,74px); animation-delay: 1260ms; }
.opening-rose:nth-child(11) { top: 55%; left: 88%;  --rx: -100vw; --ry: -100vh; --rr:  720deg; width: clamp(34px,4.5vw,62px); animation-delay: 1400ms; }
.opening-rose:nth-child(12) { top: 85%; left: 70%;  --rx: -140vw; --ry: -150vh; --rr:  600deg; animation-delay: 1540ms; }
.opening-rose:nth-child(13) { top: 50%; left: 95%;  --rx: -130vw; --ry: -110vh; --rr: -480deg; animation-delay: 1680ms; }
.opening-rose:nth-child(14) { top:100%; left: 80%;  --rx: -150vw; --ry: -160vh; --rr:  540deg; animation-delay: 1820ms; }
.opening-rose:nth-child(15) { top: 95%; left: 62%;  --rx: -110vw; --ry: -140vh; --rr:  360deg; width: clamp(34px,4.5vw,62px); animation-delay: 1960ms; }
.opening-rose:nth-child(16) { top: 70%; left:105%;  --rx: -160vw; --ry: -120vh; --rr: -720deg; animation-delay: 2100ms; }
.opening-rose:nth-child(17) { top: 35%; left:100%;  --rx: -120vw; --ry: -130vh; --rr:  600deg; width: clamp(36px,5vw,66px); animation-delay: 2240ms; }
.opening-rose:nth-child(18) { top: 85%; left: 95%;  --rx: -140vw; --ry: -180vh; --rr: -540deg; animation-delay: 2380ms; }
.opening-rose:nth-child(19) { top: 65%; left: 80%;  --rx: -100vw; --ry: -100vh; --rr:  720deg; width: clamp(32px,4vw,56px); animation-delay: 2520ms; }
.opening-rose:nth-child(20) { top:102%; left: 35%;  --rx: -130vw; --ry: -150vh; --rr:  480deg; animation-delay: 2660ms; }
.opening-rose:nth-child(21) { top: 50%; left:110%;  --rx: -150vw; --ry: -100vh; --rr: -360deg; animation-delay: 2800ms; }
.opening-rose:nth-child(22) { top:110%; left: 75%;  --rx: -120vw; --ry: -170vh; --rr:  720deg; width: clamp(34px,4.5vw,60px); animation-delay: 2940ms; }
.opening-rose:nth-child(23) { top: 80%; left:100%;  --rx: -140vw; --ry: -120vh; --rr: -540deg; width: clamp(38px,5vw,68px); animation-delay: 3080ms; }
.opening-rose:nth-child(24) { top: 95%; left: 78%;  --rx: -130vw; --ry: -140vh; --rr:  600deg; animation-delay: 3220ms; }

/* ===== Reset & Variables ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
a, button, input, textarea, select {
    -webkit-tap-highlight-color: transparent;
}

/* ===== Image Protection ===== */
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}
a img, button img { pointer-events: none; }
a, button, .slide-item, .disco-slide-item, .news-card, .link-card { pointer-events: auto; }
img.nav-logo-img { pointer-events: none; }

:root {
    /* Palette: Tricolore française × 中世POP */
    --fr-blue: #0055A4;
    --fr-blue-deep: #002868;
    --fr-blue-light: #3d82c9;
    --fr-red: #EF4135;
    --fr-red-deep: #b02a20;
    --fr-red-light: #ff6b60;
    --fr-white: #FFFFFF;
    --gold: #D4AF37;
    --gold-light: #f3d976;
    --parchment: #f1e6cc;
    --parchment-soft: #ead9b6;
    --ink: #1a1c3a;

    /* System tokens */
    --bg-deep: var(--parchment);
    --bg-dark: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.92);
    --bg-card-hover: #ffffff;
    --accent: var(--fr-blue);
    --accent-light: var(--fr-blue-light);
    --accent-glow: rgba(0, 85, 164, 0.28);
    --accent2: var(--fr-red);
    --accent2-light: var(--fr-red-light);
    --star-bright: var(--fr-blue-deep);
    --text: var(--ink);
    --text-light: #3a3f67;
    --text-muted: #7b7faa;
    --border: rgba(0, 85, 164, 0.28);
    --border-light: rgba(0, 85, 164, 0.14);
    --shadow: 0 6px 22px rgba(0, 40, 104, 0.12), 0 2px 6px rgba(239, 65, 53, 0.08);
    --shadow-glow: 0 10px 28px rgba(0, 85, 164, 0.22), 0 0 0 3px rgba(239, 65, 53, 0.12);
    --radius: 18px;
    --radius-sm: 12px;
    --font-main: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
    --font-en: 'Cormorant Garamond', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--parchment);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.8;
}

/* Parallax Background */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.parallax-bg::before {
    content: none;
}

/* Tiled ⚜ ornament layer (smaller & denser) */
.parallax-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'><text x='45' y='66' font-size='58' text-anchor='middle' fill='%23D4AF37' opacity='0.32' font-family='serif'>⚜</text></svg>");
    background-size: 90px 90px;
    background-repeat: repeat;
}

@keyframes drift {
    0% {
        transform: translate(0%, 0%) rotate(0deg);
    }
    33% {
        transform: translate(5%, -3%) rotate(1deg);
    }
    66% {
        transform: translate(-3%, 5%) rotate(-1deg);
    }
    100% {
        transform: translate(3%, 2%) rotate(0.5deg);
    }
}

/* PC: original orientation, fill screen */
.parallax-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile: rotate 90deg right, cover full viewport */
@media (max-width: 768px) {
    .parallax-bg img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(90deg);
        width: 100vh;
        height: 100vw;
        min-width: 100vh;
        min-height: 100vw;
        object-fit: cover;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

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


/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 248, 236, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(255, 248, 236, 0.92);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 248, 236, 0.97);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

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

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: block;
    position: relative;
    height: 70px;
}

.nav-logo-default {
    height: 66px;
    width: 159px;
    margin-top: 2px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 1px 0 rgba(0, 85, 164, 0.15));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.nav-logo:hover .nav-logo-default {
    filter:
        drop-shadow(0 2px 3px rgba(0, 85, 164, 0.35))
        drop-shadow(0 4px 8px rgba(239, 65, 53, 0.25));
    transform: translateY(-1px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.nav-link {
    padding: 8px 14px;
    font-size: 15.6px;
    font-weight: 400;
    color: var(--text-light);
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-light);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section ===== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
    padding: 70px 24px 0;
}

/* Hero直後のセクションは余白を詰める */
.hero + .section {
    padding-top: 4px;
}

.top-banner {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.top-banner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
}

@media (max-width: 768px) {
    /* 元画像700x393の左右15%をcrop → aspect 490:393 */
    .top-banner {
        margin-bottom: 0;
        aspect-ratio: 490 / 393;
        overflow: hidden;
    }
    .top-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Desktop (over tablet): single 45deg tricolore diagonal background */
@media (min-width: 1024px) {
    .top-banner {
        background: linear-gradient(
            45deg,
            var(--fr-blue) 0 33%,
            var(--fr-white) 33% 66%,
            var(--fr-red) 66% 100%
        );
    }
    .top-banner img {
        display: block;
        max-width: 900px;
        margin: 0 auto;
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-visual {
    margin-bottom: 40px;
}

.hero-image-frame {
    width: 280px;
    height: 360px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    position: relative;
}

.hero-image-frame::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    opacity: 0.3;
    z-index: -1;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.1), rgba(239, 65, 53, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: var(--font-en);
    font-size: 14px;
    letter-spacing: 0.2em;
}

.hero-name {
    margin-bottom: 16px;
}

.hero-name-en {
    display: block;
    font-family: var(--font-en);
    font-size: 52px;
    font-weight: 300;
    color: var(--star-bright);
    letter-spacing: 0.1em;
    line-height: 1.2;
}

.hero-name-jp {
    display: block;
    font-size: 16px;
    font-weight: 300;
    color: var(--text-light);
    letter-spacing: 0.3em;
    margin-top: 8px;
}

.hero-tagline {
    font-family: var(--font-en);
    font-size: 15px;
    color: var(--accent-light);
    letter-spacing: 0.2em;
    font-weight: 400;
}

/* ===== Slide Banner ===== */
.slide-wrap {
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
    cursor: grab;
}

.slide-wrap.dragging {
    cursor: grabbing;
}

.slide-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide-track.no-transition {
    transition: none;
}

.slide-item {
    flex-shrink: 0;
    width: 48%;
    padding: 0 8px;
    display: block;
    cursor: grab;
}

.slide-item[data-href] {
    cursor: grab;
}

.dragging .slide-item {
    cursor: grabbing;
}

.slide-item img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

.slide-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slide-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(0, 85, 164, 0.35);
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.slide-dot:hover {
    border-color: rgba(0, 85, 164, 0.55);
    transform: scale(1.15);
}

.slide-dot.active {
    background: rgba(0, 85, 164, 0.55);
    border-color: rgba(0, 85, 164, 0.55);
}

/* ===== Booth Link ===== */
.booth-link {
    text-align: center;
    margin-top: 20px;
}

.booth-link img {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.booth-link img:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .slide-item {
        width: 85%;
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-scroll-indicator span {
    font-family: var(--font-en);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.15em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    50.1% { transform-origin: bottom; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ===== Schedule Section ===== */
.schedule-list {
    max-width: 700px;
    margin: 0 auto;
}

.schedule-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.schedule-item:first-child {
    border-top: 1px solid var(--border-light);
}

.schedule-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

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

.schedule-date {
    font-size: 14px;
    color: var(--accent-light);
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    flex-shrink: 0;
    min-width: 90px;
}

.schedule-info {
    flex: 1;
}

.schedule-title {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    transition: color 0.3s ease;
}

a.schedule-title:hover {
    color: var(--accent-light);
}

.schedule-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== Section Common ===== */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    scroll-margin-top: 70px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-en {
    font-family: var(--font-en);
    font-size: 42px;
    font-weight: 300;
    color: var(--star-bright);
    letter-spacing: 0.1em;
    display: block;
    position: relative;
}

.section-title-en::after {
    content: '';
    display: block;
    width: 96px;
    height: 4px;
    background: linear-gradient(90deg, var(--fr-blue) 0 33%, var(--fr-white) 33% 66%, var(--fr-red) 66% 100%);
    border: 1px solid var(--gold);
    border-radius: 2px;
    margin: 16px auto 0;
}

.section-title-en::before {
    content: none;
}

.works-summary {
    text-align: center;
    color: var(--text-light);
    font-size: 15px;
    line-height: 2;
    margin-top: 20px;
}

.works-summary > div[style*="border-bottom"] {
    border-bottom: none !important;
}

.works-summary-note {
    font-size: 13px;
    opacity: 0.6;
}

.section-more {
    text-align: center;
    margin-top: 40px;
}

.btn-more {
    display: inline-block;
    padding: 10px 32px;
    background: linear-gradient(180deg, var(--fr-white) 0%, var(--parchment-soft) 100%);
    border: 1.5px solid var(--fr-blue);
    color: var(--fr-blue-deep);
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 0 var(--fr-red), 0 4px 12px rgba(0, 85, 164, 0.18);
}

.btn-more:hover {
    background: var(--fr-blue);
    border-color: var(--fr-blue-deep);
    color: var(--fr-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 0 var(--fr-red-deep), 0 8px 18px rgba(0, 85, 164, 0.3);
}

.section-empty {
    text-align: center;
    color: var(--text-muted);
    font-family: var(--font-en);
    font-size: 16px;
    letter-spacing: 0.1em;
    padding: 40px 0;
}

/* ===== News Section ===== */
.news-list {
    max-width: 700px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: baseline;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.news-item.has-thumb {
    align-items: center;
}

.news-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
}

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

.news-item-text {
    display: flex;
    align-items: baseline;
    gap: 24px;
    flex: 1;
    min-width: 0;
}

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

.news-item:first-child {
    border-top: 1px solid var(--border-light);
}

.news-item:hover {
    padding-left: 8px;
}

.news-item:hover .news-text {
    color: var(--accent-light);
}

.news-date {
    font-size: 14px;
    color: var(--fr-red);
    font-family: var(--font-en);
    font-weight: 600;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.news-text {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* ===== Profile Section ===== */
.profile-content {
    display: flex;
    gap: 60px;
    align-items: stretch;
    max-width: 800px;
    margin: 0 auto;
}

.profile-image {
    flex-shrink: 0;
    width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transition: opacity 0.6s ease;
}

/* Profile 1 — 縦積みレイアウト & 横スクロールカルーセル */
.profile-content-stacked {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}
.profile-content-stacked .profile-info {
    width: 100%;
}

/* 横カルーセル本体 (ループ + ドットナビ) */
.profile-hcar-wrap {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}
/* viewport だけ 100vw で全幅、コンテナ・セクションの padding を相殺 */
.profile-hcar-viewport {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}
.profile-hcar-track {
    display: flex;
    align-items: center;
    gap: 0;
    will-change: transform;
}
.profile-hcar-track.animate {
    transition: transform 0.55s cubic-bezier(.4, 0, .2, 1);
}
.profile-hcar-item {
    flex: 0 0 auto;
    width: 320px;
    height: 520px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    transform: scale(0.6);
    opacity: 0.45;
    filter: brightness(0.78);
    /* 退場側: 拡大率の変化を遅らせて track のスライドが進んだ後に縮める */
    transition: transform 0.3s ease 0.25s, opacity 0.4s ease 0.15s, filter 0.4s ease 0.15s;
}
.profile-hcar-item.is-front {
    transform: scale(1);
    opacity: 1;
    filter: brightness(1);
    /* 入場側: 即座に大きく */
    transition: transform 0.3s ease 0s, opacity 0.3s ease 0s, filter 0.3s ease 0s;
    cursor: default;
}
/* スナップ用: クローン⇄本物入れ替え時に瞬間反映 */
.profile-hcar-item.no-anim {
    transition: none !important;
}
.profile-hcar-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}
/* avatar3 だけ縮小補正 */
.profile-hcar-item img[src$="avatar3.webp"] {
    transform: scale(0.94);
    transform-origin: center top;
}

/* ドットナビ */
.profile-hcar-dots {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 8px;
}
.profile-hcar-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--fr-blue);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.profile-hcar-dot:hover {
    transform: scale(1.2);
}
.profile-hcar-dot.active {
    background: var(--fr-red);
    border-color: var(--fr-red);
}

@media (max-width: 768px) {
    .profile-hcar-item {
        width: 240px;
        height: 380px;
    }
}
.profile-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}
.profile-thumb {
    width: 56px;
    height: 56px;
    padding: 0;
    border: 2px solid var(--fr-blue);
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    background: var(--fr-white);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.profile-thumb:hover {
    border-color: var(--fr-red);
    transform: translateY(-1px);
}
.profile-thumb.active {
    border-color: var(--fr-red);
    box-shadow: 0 0 0 2px var(--gold);
}
.profile-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    pointer-events: none;
    transform: scale(1.7);
    transform-origin: center 28%;
}
/* avatar3 だけ元画像内のキャラが大きいので少しだけ縮めて他に揃える */
.profile-thumb[data-avatar-idx="3"] img {
    transform: scale(1.55);
}
.profile-avatar[src$="avatar3.webp"] {
    transform: scale(0.94);
    transform-origin: center top;
}

.profile-info {
    flex: 1;
}

.profile-name-logo {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;       /* タイトル + ロゴは中央寄せ */
    gap: 14px;
    text-align: center;
}

.profile-name-logo img {
    height: 72px;
    width: auto;
}

.profile-name-title {
    font-family: var(--font-en);
    font-size: 30px;
    font-weight: 500;
    color: var(--fr-blue-deep);
    letter-spacing: 0.1em;
    margin: 0;
    line-height: 1;
    text-align: center;
}

.profile-name-title::after {
    content: '';
    display: block;
    width: 96px;
    height: 4px;
    background: linear-gradient(90deg, var(--fr-blue) 0 33%, var(--fr-white) 33% 66%, var(--fr-red) 66% 100%);
    border: 1px solid var(--gold);
    border-radius: 2px;
    margin: 10px auto 0;       /* 下線も中央 */
}

/* 本文テキストは左寄せ維持 */
.profile-text-content {
    text-align: left;
}

.btn-guideline {
    font-size: 14.4px;
    padding: 7px 24px;
}

/* Full-body avatar */
.profile-avatar-full {
    object-fit: contain;
    object-position: center;
}

.profile-text-content {
    margin-top: 8px;
    line-height: 1.9;
    font-size: 14px;
    color: var(--text);
}

.profile-text-content h4 {
    font-size: 16px;
    color: #D4AF37;
    margin-top: 28px;
    margin-bottom: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.45);
}

.profile-text-content h4:first-child {
    margin-top: 0;
}

.profile-text-content p {
    margin-bottom: 8px;
}

.profile-text-content ul {
    list-style: none;
    margin-bottom: 12px;
}

.profile-text-content ul li {
    padding: 2px 0;
}

.profile-text-content a {
    color: var(--accent2-light);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.profile-text-content a:hover {
    border-bottom-color: var(--accent2-light);
}

/* ===== Profile Intro Section ===== */
.profile-intro-section {
    position: relative;
    overflow: hidden;
}

.profile-intro-bg {
    position: absolute;
    inset: 0;
    background: url('images/reimei.webp') center/auto 100% no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.profile-intro-section .container {
    position: relative;
    z-index: 1;
}

.profile-intro {
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.9;
    font-size: 14px;
    color: var(--text);
}

.profile-intro h4 {
    font-size: 16px;
    color: #D4AF37;
    margin-top: 28px;
    margin-bottom: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.45);
}

.profile-intro h4:first-child {
    margin-top: 0;
}

.profile-intro p {
    margin-bottom: 8px;
}

.profile-intro ul {
    list-style: none;
    margin-bottom: 12px;
}

.profile-intro ul li {
    padding: 2px 0;
}

.profile-intro ul.profile-details li {
    padding: 2px 0;
}

.profile-intro a {
    color: var(--accent2-light);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.profile-intro a:hover {
    border-bottom-color: var(--accent2-light);
}


/* ===== Discography Slider ===== */
.disco-slide-wrap {
    position: relative;
    overflow: hidden;
    cursor: grab;
}

#discography .container {
    max-width: 100%;
    padding: 0;
}

.disco-slide-wrap.dragging {
    cursor: grabbing;
}

.disco-slide-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.disco-slide-track.no-transition {
    transition: none !important;
}

.disco-slide-item {
    flex: 0 0 280px;
    max-width: 280px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 0;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
    user-select: none;
}

.disco-slide-item:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-glow);
}

.disco-slide-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.disco-cover-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, rgba(0, 85, 164, 0.08), rgba(239, 65, 53, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: var(--font-en);
    font-size: 13px;
    letter-spacing: 0.15em;
}

.disco-info {
    padding: 8px 12px;
    text-align: center;
}

.disco-info h3 {
    font-size: 13px;
    font-weight: 400;
    font-family: var(--font-main);
    color: var(--text);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.disco-date {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-en);
}

@media (max-width: 768px) {
    .disco-slide-item {
        flex: 0 0 220px;
        max-width: 220px;
    }
}

/* ===== Sample Section ===== */
.sample-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.sample-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 0;
    padding: 0 6px 6px 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.sample-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-glow);
}

.sample-icon {
    font-size: 28px;
    margin-bottom: 12px;
    opacity: 0.7;
}

.sample-card h3 {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text);
    margin: 0 0 2px;
    text-align: left;
}

.sample-category {
    font-size: 12px;
    color: var(--accent-light);
    font-family: var(--font-en);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.sample-card audio {
    width: calc(100% + 6px);
    margin-left: -6px;
    height: 32px;
    opacity: 0.7;
    border-radius: 0;
}

.sample-subcat {
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    margin: 24px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-light);
    font-family: var(--font-jp);
}

.sample-subcat:first-child {
    margin-top: 0;
}

.sample-card-yt {
    padding: 6px;
}

.sample-card-yt h3 {
    font-size: 15px;
    text-align: center;
}

.sample-youtube {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin-bottom: 12px;
    overflow: hidden;
}

.sample-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

/* ===== Work Inquiries Section ===== */
.inquiries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.inquiry-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 36px;
    transition: all 0.3s ease;
}

.inquiry-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-glow);
}

.inquiry-icon {
    font-size: 32px;
    margin-bottom: 16px;
    opacity: 0.7;
}

.inquiry-card h3 {
    font-family: var(--font-en);
    font-size: 22px;
    font-weight: 500;
    color: var(--star-bright);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.inquiry-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.inquiry-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.inquiry-list li {
    padding: 6px 14px;
    font-size: 12px;
    color: var(--accent-light);
    border: 1px solid var(--border);
    border-radius: 20px;
}

/* ===== Works Page ===== */
.works-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.works-tab {
    background: none;
    border: none;
    padding: 14px 36px;
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.works-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.3s;
}

.works-tab:hover {
    color: var(--text);
}

.works-tab.active {
    color: var(--star-bright);
}

.works-tab.active::after {
    background: #D4AF37;
}

.works-block {
    display: none;
}

.works-block.active {
    display: block;
}

.works-sample-link {
    text-align: center;
    margin-bottom: 36px;
}

.works-sample-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
}

.works-body {
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.9;
    font-size: 14px;
    color: var(--text);
}

.works-body h4 {
    font-size: 16px;
    color: #D4AF37;
    margin-top: 36px;
    margin-bottom: 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.45);
}

.works-body h4:first-child {
    margin-top: 0;
}

.works-body h5 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-top: 16px;
    margin-bottom: 8px;
}

.works-body p {
    margin-bottom: 10px;
}

.works-body ul {
    list-style: none;
    margin-bottom: 14px;
}

.works-body ul li {
    padding: 3px 0 3px 16px;
    position: relative;
}

.works-body ul li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: #D4AF37;
}

.works-body a {
    color: var(--accent2-light);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.works-body a:hover {
    border-bottom-color: var(--accent2-light);
}

.works-body .works-note,
.works-note {
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0.6;
}

@media (max-width: 768px) {
    .works-tab {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ===== Works Section ===== */
.works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.work-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.work-card:hover {
    transform: translateY(-4px);
    border-color: var(--border);
    box-shadow: var(--shadow-glow);
}

.work-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.work-image-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, rgba(0, 85, 164, 0.08), rgba(239, 65, 53, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: var(--font-en);
    font-size: 11px;
    letter-spacing: 0.15em;
}

.work-info {
    padding: 14px;
}

.work-info h3 {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.4;
}

.work-role {
    font-size: 12px;
    color: var(--accent-light);
}

.work-year {
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font-en);
}

/* ===== Contact Section ===== */
.contact-box {
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 32px;
    line-height: 1.8;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cf-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cf-group label {
    font-size: 13px;
    color: var(--fr-blue-deep);
    font-weight: 600;
}

.cf-req {
    color: #D4AF37;
}

.cf-group input,
.cf-group select,
.cf-group textarea {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--text);
    transition: border-color 0.3s;
}

.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
}

.cf-group select {
    appearance: none;
    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='%23a8a0b8' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.cf-group textarea {
    resize: vertical;
}

.cf-actions {
    text-align: center;
    margin-top: 8px;
}

.contact-error {
    background: rgba(220, 60, 60, 0.15);
    border: 1px solid rgba(220, 60, 60, 0.3);
    color: #ff8888;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 20px;
    text-align: center;
}

.contact-done {
    text-align: center;
    padding: 40px 20px;
    color: var(--text);
    line-height: 2;
    font-size: 15px;
}

/* ===== Footer ===== */
.footer {
    padding: 60px 0 30px;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-en);
    font-size: 20px;
    font-weight: 600;
    color: var(--star-bright);
    letter-spacing: 0.05em;
}

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

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-en);
    letter-spacing: 0.05em;
}

.footer-links a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-en);
    letter-spacing: 0.05em;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .works-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: transparent;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        padding-top: 80px;
        padding-right: 32px;
        gap: 4px;
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .nav-menu.active {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateX(40px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.05s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.35s; }
    .nav-menu.active li:nth-child(8) { transition-delay: 0.4s; }

    .nav-link {
        font-size: 22px;
        padding: 12px 0;
    }

    .hero-name-en {
        font-size: 36px;
    }

    .hero-image-frame {
        width: 220px;
        height: 280px;
    }

    .section {
        padding: 70px 0;
    }

    .section-title-en {
        font-size: 32px;
    }

    .profile-content {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    .profile-image {
        width: 75vw;
        max-width: 320px;
    }

    .profile-table th,
    .profile-table td {
        text-align: center;
    }

    .profile-sns {
        justify-content: center;
    }

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

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

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-name-en {
        font-size: 28px;
    }

    .hero-image-frame {
        width: 180px;
        height: 230px;
    }

    .section-title-en {
        font-size: 26px;
    }


    .works-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* ===== News Page ===== */
.page-hero {
    padding: 140px 24px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-title {
    font-family: var(--font-en);
    font-size: 42px;
    font-weight: 300;
    color: var(--star-bright);
    letter-spacing: 0.1em;
}

.page-title::after {
    content: '';
    display: block;
    width: 96px;
    height: 4px;
    background: linear-gradient(90deg, var(--fr-blue) 0 33%, var(--fr-white) 33% 66%, var(--fr-red) 66% 100%);
    border: 1px solid var(--gold);
    border-radius: 2px;
    margin: 16px auto 0;
}

.news-page-grid {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    position: relative;
    z-index: 1;
}
.news-card-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    display: block;
    text-decoration: none;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.92);
}
.news-card-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(0, 85, 164, 0.05);
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-card-noimg {
    width: 100%;
    height: 100%;
    background: rgba(0, 85, 164, 0.05);
}
.news-card-date {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 13px;
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 4px;
}
.news-card-body {
    padding: 12px 14px 16px;
}
.news-card-title {
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.news-card:hover .news-card-title {
    color: var(--accent-light);
}
@media (max-width: 768px) {
    .news-card-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .news-card-body {
        padding: 8px 10px 12px;
    }
    .news-card-title {
        font-size: 12px;
    }
    .news-card-date {
        font-size: 10px;
        padding: 2px 6px;
    }
}

/* News Detail */
.news-detail {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    position: relative;
    z-index: 1;
}

.news-detail-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.news-detail-date {
    font-size: 14px;
    color: var(--fr-red);
    font-family: var(--font-en);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.news-detail-title {
    font-size: 26px;
    font-weight: 500;
    color: var(--star-bright);
    line-height: 1.5;
}

.news-detail-featured {
    margin-bottom: 32px;
    text-align: center;
}

.news-detail-featured img {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: inline-block;
    border-radius: 8px;
}

.news-detail-body {
    font-size: 15px;
    line-height: 2;
    color: var(--text);
}

.news-detail-body p {
    margin-bottom: 20px;
}

.news-detail-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
}

.news-detail-body a {
    color: var(--accent-light);
    text-decoration: underline;
}

.news-detail-back {
    margin-top: 60px;
    text-align: center;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-en);
    border: 1px solid var(--border-light);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent-light);
}

.pagination .current {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ===== Floating SNS ===== */
.floating-sns {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}
.floating-sns-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 85, 164, 0.3);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.floating-sns-btn:hover {
    background: rgba(0, 85, 164, 0.25);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 85, 164, 0.3);
}
@media (max-width: 768px) {
    .floating-sns {
        bottom: 16px;
        right: 16px;
    }
    .floating-sns-btn {
        width: 42px;
        height: 42px;
    }
}

/* ===== Links Section ===== */
.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 32px;
    border: 1px solid rgba(0, 85, 164, 0.35);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.link-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.link-card-name {
    font-family: var(--font-en);
    font-size: 13px;
    color: var(--fr-blue-deep);
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.link-card:hover .link-card-name {
    color: var(--accent-light);
}


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

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

/* ===== Discography Grid Page ===== */
.disco-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.disco-grid-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.disco-grid-item:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.disco-grid-link {
    display: block;
    color: inherit;
}

.disco-grid-cover img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.disco-grid-info {
    padding: 10px 12px;
    text-align: center;
}

.disco-grid-info h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.disco-grid-date {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.disco-grid-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .disco-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .disco-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }
}

.disco-grid-item[data-disco-modal] {
    cursor: pointer;
}

/* ===== Discography Modal ===== */
.disco-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 40, 104, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 24px;
}

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

.disco-modal {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 0;
    max-width: 720px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), var(--shadow-glow);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.disco-modal-overlay.active .disco-modal {
    transform: translateY(0);
}

.disco-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    color: var(--text-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    line-height: 1;
}

.disco-modal-close:hover {
    border-color: var(--accent);
    color: var(--accent-light);
}

.disco-modal-content {
    display: flex;
    gap: 32px;
    padding: 32px;
}

.disco-modal-cover {
    flex-shrink: 0;
    width: 260px;
}

.disco-modal-cover img {
    width: 100%;
    border-radius: 0;
    display: block;
}

.disco-modal-info {
    flex: 1;
    min-width: 0;
}

.disco-modal-info h2 {
    font-size: 22px;
    font-weight: 500;
    color: var(--star-bright);
    margin-bottom: 8px;
    line-height: 1.4;
}

.disco-modal-date {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.disco-modal-theme h4,
.disco-modal-tracklist h4,
.disco-modal-staff h4 {
    font-size: 14px;
    color: #D4AF37;
    margin-bottom: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.45);
    font-family: var(--font-en);
    letter-spacing: 0.05em;
}

.disco-modal-theme {
    margin-bottom: 20px;
}

.disco-modal-theme p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 2;
}

.disco-modal-tracklist {
    margin-bottom: 20px;
}

.disco-track-block {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.disco-track-block:last-child {
    border-bottom: none;
}

.disco-track-title {
    font-size: 14px;
    color: var(--text);
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.disco-track-num {
    font-family: var(--font-en);
    font-size: 12px;
    color: var(--text-muted);
    min-width: 20px;
}

.disco-track-credit {
    font-size: 12px;
    color: var(--text-muted);
    padding-left: 30px;
    line-height: 1.6;
}

.disco-modal-staff {
    margin-bottom: 20px;
}

.disco-modal-staff p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.8;
}

.disco-modal-link {
    margin-top: 16px;
}

@media (max-width: 640px) {
    .disco-modal-content {
        flex-direction: column;
        padding: 24px;
    }

    .disco-modal-cover {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .disco-modal-info h2 {
        font-size: 18px;
    }
}

/* ===== Works List Page ===== */
.worklist-subcat {
    max-width: 600px;
    margin: 24px auto 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 85, 164, 0.25);
}

.worklist-subcat:first-child {
    margin-top: 0;
}

.works-list-grid {
    max-width: 600px;
    margin: 0 auto;
}

.works-list-item {
    border-bottom: 1px solid rgba(0, 85, 164, 0.14);
}

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

.works-list-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.works-list-item:hover .works-list-info h3,
.works-list-item:hover .works-list-role,
.works-list-item:hover .works-list-year {
    color: var(--accent);
}

.works-list-info {
    padding: 12px 0;
}

.works-list-info h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.4;
}

.works-list-role {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.works-list-year {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-en);
}

.works-list-desc {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 6px;
    line-height: 1.6;
}

/* ===== Works External Section ===== */
.works-external {
    max-width: 720px;
    margin: 0 auto;
    margin-top: 36px;
    padding-top: 0;
}

.works-external h4 {
    font-size: 16px;
    color: #D4AF37;
    margin-bottom: 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.45);
}

.external-links-list {
    list-style: none;
    margin-bottom: 14px;
}

.external-links-list li {
    padding: 3px 0 3px 16px;
    position: relative;
}

.external-links-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: #D4AF37;
}

.external-links-list a {
    color: var(--accent2-light);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.external-links-list a:hover {
    border-bottom-color: var(--accent2-light);
}

/* ===== Guideline Page ===== */
.guideline-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    position: relative;
    z-index: 1;
}

.guideline-body {
    font-size: 15px;
    line-height: 2;
    color: var(--text);
}

.guideline-body h3 {
    font-size: 18px;
    color: #D4AF37;
    margin-top: 36px;
    margin-bottom: 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.45);
}

.guideline-body h3:first-child {
    margin-top: 0;
}

.guideline-body p {
    margin-bottom: 16px;
}

.guideline-body ul {
    list-style: none;
    margin-bottom: 16px;
}

.guideline-body ul li {
    padding: 3px 0 3px 16px;
    position: relative;
}

.guideline-body ul li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: #D4AF37;
}

@media (max-width: 768px) {
    .profile-name-logo {
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .profile-name-title {
        text-align: center;
    }
    .profile-name-title::after {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== Medieval POP Decorations (Tricolore) ===== */
.nav {
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, var(--fr-blue) 0 33%, var(--fr-white) 33% 66%, var(--fr-red) 66% 100%) 1;
}

.nav-link {
    position: relative;
    color: var(--fr-blue-deep);
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 2px;
    background: linear-gradient(90deg, var(--fr-blue) 0 33%, var(--fr-white) 33% 66%, var(--fr-red) 66% 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    opacity: 1;
}

.hero-name-en,
.page-title,
.section-title-en {
    text-shadow:
        0 1px 0 var(--fr-white),
        0 3px 0 rgba(239, 65, 53, 0.18),
        0 5px 14px rgba(0, 85, 164, 0.2);
}

/* Disco / link / news cards get POP rounding + crest border */
.disco-slide-item,
.disco-grid-item,
.sample-card,
.news-card,
.inquiry-card,
.work-card {
    border-radius: var(--radius) !important;
    border: 1.5px solid var(--border) !important;
    background: var(--bg-card) !important;
    box-shadow: 0 4px 0 rgba(239, 65, 53, 0.2), 0 8px 20px rgba(0, 85, 164, 0.12);
}

.disco-slide-item:hover,
.disco-grid-item:hover,
.sample-card:hover,
.news-card:hover,
.inquiry-card:hover,
.work-card:hover {
    border-color: var(--fr-blue) !important;
    box-shadow: 0 6px 0 var(--fr-red), 0 14px 28px rgba(0, 85, 164, 0.25) !important;
    transform: translateY(-3px);
}

.link-card {
    background: var(--fr-white);
    border: 1.5px solid var(--fr-blue);
    border-radius: 999px;
    box-shadow: 0 3px 0 var(--fr-red);
    transition: all 0.25s ease;
}

.link-card:hover {
    background: linear-gradient(90deg, rgba(0, 85, 164, 0.08), rgba(239, 65, 53, 0.08));
    transform: translateY(-2px);
    box-shadow: 0 5px 0 var(--fr-red-deep), 0 10px 20px rgba(0, 85, 164, 0.2);
}

/* News list divider pops with gold */
.news-item {
    border-bottom-color: rgba(212, 175, 55, 0.35);
}

.news-item:first-child {
    border-top-color: rgba(212, 175, 55, 0.35);
}

/* Contact form inputs on parchment */
.cf-group input,
.cf-group select,
.cf-group textarea {
    background: var(--fr-white);
    border: 1.5px solid var(--border);
    color: var(--text);
    box-shadow: 0 2px 0 rgba(0, 85, 164, 0.08);
}

.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
    border-color: var(--fr-blue);
    box-shadow: 0 2px 0 var(--fr-red), 0 0 0 4px rgba(0, 85, 164, 0.15);
}

/* Footer with royal crest strip */
.footer {
    background: linear-gradient(180deg, transparent 0%, rgba(253, 238, 212, 0.6) 100%);
    border-top: 3px solid;
    border-image: linear-gradient(90deg, var(--fr-blue) 0 33%, var(--fr-white) 33% 66%, var(--fr-red) 66% 100%) 1;
}

.footer-logo {
    color: var(--fr-blue-deep);
    font-family: var(--font-en);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.footer-logo::before {
    content: none;
}

.footer-links a {
    color: var(--fr-blue-deep);
}

.footer-links a:hover {
    color: var(--fr-red);
}

/* Hamburger on parchment */
.hamburger span {
    background: var(--fr-blue-deep);
    height: 2.5px;
    border-radius: 4px;
}

/* Slide dots */
.slide-dot {
    border-color: var(--fr-blue);
}

.slide-dot.active {
    background: var(--fr-red);
    border-color: var(--fr-red);
}

/* News page card visual refresh */
.news-card-date {
    background: var(--fr-blue-deep);
    color: var(--fr-white);
    font-weight: 600;
    border-radius: 999px;
}

/* Profile heading fleur accent */
.profile-text-content h4::before,
.profile-intro h4::before,
.works-body h4::before,
.guideline-body h3::before {
    content: none;
}

/* Button gloss */
.btn-guideline {
    background: linear-gradient(180deg, var(--fr-red-light) 0%, var(--fr-red) 100%);
    color: var(--fr-white);
    border: 1.5px solid var(--fr-red-deep);
    box-shadow: 0 2px 0 var(--fr-blue-deep);
}

.btn-guideline:hover {
    background: var(--fr-blue);
    border-color: var(--fr-blue-deep);
    color: var(--fr-white);
    box-shadow: 0 4px 0 var(--fr-red-deep), 0 8px 18px rgba(0, 85, 164, 0.28);
}
