/* ===== 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 {
    --bg-deep: #0a0a1a;
    --bg-dark: #0d0d2b;
    --bg-card: rgba(15, 15, 45, 0.7);
    --bg-card-hover: rgba(25, 25, 65, 0.8);
    --accent: #7b68ee;
    --accent-light: #9d8cff;
    --accent-glow: rgba(123, 104, 238, 0.3);
    --accent2: #00bcd4;
    --accent2-light: #4dd0e1;
    --star-bright: #e8e0ff;
    --text: #1a1a1a;
    --text-light: #3a3a3a;
    --text-muted: #5a5a5a;
    --border: rgba(123, 104, 238, 0.15);
    --border-light: rgba(123, 104, 238, 0.08);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(123, 104, 238, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --font-main: 'Zen Maru Gothic', 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
    --font-en: 'Zen Maru Gothic', 'Cormorant Garamond', serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-main);
    background: #ffffff;
    color: var(--text);
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
    line-height: 1.8;
    /* 全文字に細い白縁取り（special thanksスマホと同じ）。全画面幅で適用・全体に継承 */
    -webkit-text-stroke: 0.6px #fff;
    text-stroke: 0.6px #fff;
    paint-order: stroke fill;
}

/* Parallax Background */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
    /* 背景を透明度30%（白地に薄く重なる） */
    opacity: 0.3;
}

.parallax-bg picture {
    position: absolute;
    inset: 0;
    display: block;
}

/* Single background image, cover full viewport.
   Slightly oversized so the gentle scroll shift never reveals edges. */
.parallax-bg img {
    position: absolute;
    top: -8%;
    left: 0;
    display: block;
    width: 100%;
    height: 116%;
    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: transparent;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    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,
.nav-logo-hover {
    height: 66px;
    width: 159px;
    margin-top: 2px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.nav-logo-default {
    display: block;
}

.nav-logo-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.nav-logo:hover .nav-logo-default {
    opacity: 0;
}

.nav-logo:hover .nav-logo-hover {
    opacity: 1;
}

.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;
    width: 38px;
    height: 38px;
    background: url('images/item3.webp') center / contain no-repeat;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.65s cubic-bezier(0.34, 1.3, 0.5, 1);
}

/* バーは画像に置き換えるので非表示 */
.hamburger span {
    display: none;
}

/* メニューを開くと760°回転（2回転+40°で斜めに着地） */
.hamburger.active {
    transform: rotate(760deg);
}

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

.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(0, 188, 212, 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(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.slide-dot:hover {
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.15);
}

.slide-dot.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
}

/* ===== 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: 50px 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: #1a1a1a;
    letter-spacing: 0.1em;
    display: block;
    position: relative;
}

.section-title-en::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 16px auto 0;
}

.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(135deg, #6db3f2, #4a90d9);
    border: 1px solid transparent;
    color: #fff;
    font-family: var(--font-en);
    font-size: 13px;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background: linear-gradient(135deg, #5aa0e6, #3a7fc8);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(74, 144, 217, 0.35);
    transform: translateY(-1px);
}

.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: #fff;
    font-family: var(--font-en);
    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: 48px;
    align-items: stretch;
    max-width: 1040px;
    margin: 0 auto;
}

.profile-image {
    flex-shrink: 0;
    width: 504px;        /* PC：約1.8倍 */
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* タブレット幅だけ 80%（504 × 0.8） */
@media (min-width: 769px) and (max-width: 1024px) {
    .profile-image {
        width: 403px;
    }
}

/* ===== Profile 横スライドカルーセル（main1〜main5） ===== */
.profile-image {
    flex-direction: column;
}

.profile-slider-viewport {
    width: 100%;
    overflow: hidden;
}

.profile-slider-track {
    display: flex;
    width: 100%;
    transition: transform 1.1s cubic-bezier(0.45, 0, 0.15, 1);
}

.profile-slide {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 単体スライド（main5）は絶対配置にして高さを main1/2 に合わせる */
.profile-slide--single img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* main1 に main2 を重ねて、近づいたらフェードするスタック */
.profile-avatar-stack {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.profile-avatar-stack.show2 .profile-avatar-2 {
    opacity: 1;
}

.profile-slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.profile-slider-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    background: rgba(120, 170, 210, 0.35);
    transition: background 0.3s ease, transform 0.3s ease;
}

.profile-slider-dot:hover {
    background: rgba(120, 170, 210, 0.6);
}

.profile-slider-dot.active {
    background: var(--accent2, #00bcd4);
    transform: scale(1.25);
}

.profile-avatar {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.profile-info {
    flex: 1;
}

.profile-name-logo {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.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: 21px;   /* タブレット以上：従来14pxの1.5倍 */
    font-weight: 700;
    color: var(--text);
}

/* スマホ：従来14pxの1.1倍 */
@media (max-width: 768px) {
    .profile-text-content {
        font-size: 15.4px;
    }
}

.profile-text-content h4 {
    font-size: 16px;
    color: #c9a84c;
    margin-top: 28px;
    margin-bottom: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

.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: #c9a84c;
    margin-top: 28px;
    margin-bottom: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

.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(123, 104, 238, 0.08), rgba(0, 188, 212, 0.05));
    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: #c9a84c;
}

.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: #c9a84c;
    margin-top: 36px;
    margin-bottom: 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

.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: #c9a84c;
}

.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(123, 104, 238, 0.08), rgba(0, 188, 212, 0.05));
    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;
    /* 薄めの水色ブロック */
    background: #e3f1fb;
    padding: 32px 30px;
    border-radius: var(--radius);
}

.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(--text);
}

.cf-req {
    color: #c9a84c;
}

.cf-group input,
.cf-group select,
.cf-group textarea {
    background: #ffffff;
    border: 1px solid rgba(74, 144, 217, 0.3);
    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: #4a90d9;
}

.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: 36px 0;
    }

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

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

    .profile-image {
        width: 90vw;
        max-width: 480px;   /* スマホ：約1.5倍 */
    }

    .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: #1a1a1a;
    letter-spacing: 0.1em;
}

.page-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    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(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.news-card-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-card-noimg {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,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: #fff;
    font-family: var(--font-en);
    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: linear-gradient(135deg, #6db3f2, #4a90d9);
    border: 1px solid transparent;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(74, 144, 217, 0.3);
    transition: all 0.3s ease;
}
.floating-sns-btn:hover {
    background: linear-gradient(135deg, #5aa0e6, #3a7fc8);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 144, 217, 0.4);
}
@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;
    gap: 8px;
    padding: 10px 32px;
    background: linear-gradient(135deg, #6db3f2, #4a90d9);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.link-card-icon {
    color: #fff;
    font-size: 15px;
    line-height: 1;
}

.link-card:hover {
    background: linear-gradient(135deg, #5aa0e6, #3a7fc8);
    box-shadow: 0 4px 16px rgba(74, 144, 217, 0.35);
    transform: translateY(-1px);
}

.link-card-name {
    font-family: var(--font-en);
    font-size: 13px;
    color: #fff;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.link-card:hover .link-card-name {
    color: #fff;
}


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

@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(5, 5, 15, 0.85);
    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(15, 15, 45, 0.8);
    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: #c9a84c;
    margin-bottom: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
    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(255, 255, 255, 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(255, 255, 255, 0.12);
}

.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: #fff;
    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: #c9a84c;
    margin-bottom: 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

.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: #c9a84c;
}

.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: #c9a84c;
    margin-top: 36px;
    margin-bottom: 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

.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: #c9a84c;
}

@media (max-width: 768px) {
    .profile-name-logo {
        justify-content: center;
    }
}

/* ===== Reload Preloader (full-screen reveal) ===== */
body.preloading {
    overflow: hidden;
}

.preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    overflow: hidden;
    background: #ffffff;   /* 円の周りは真っ白 */
    transition: opacity 0.6s ease;
}

.preloader.done {
    opacity: 0;
    pointer-events: none;
}

/* メニュー/ロゴからの遷移時はオープニングを最初から出さない（ちらつき防止） */
html.skip-opening .preloader {
    display: none !important;
}

/* オープニング GIF（キャラを円形に切り抜き・中央小さめ） */
.preloader-gif {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(180px, 50vw, 300px);
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    clip-path: circle(50% at 50% 50%);
    transition: clip-path 0.8s ease-in;
}

/* 解除時：円形クリップを縮めて、周りの白が中心へ覆いかぶさる */
.preloader.closing .preloader-gif {
    clip-path: circle(0% at 50% 50%);
}

/* カーテン画像（back0）：横幅いっぱい・上合わせ。高さをビューポートより高く取り、
   object-fit:cover（縦の中身は切らず左右だけ調整）で、下部の装飾を必ず画面外へ隠す。
   PC（back0_2）は装飾開始88%→116vh、スマホ/タブレット（back0_1）は90%→114vh。
   開くときは自分の高さ分だけ上へ移動して装飾がせり上がる。 */
.preloader-veil {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: none; /* 全体の img{max-width:100%} クランプを無効化 */
    height: 122vh;
    object-fit: cover;
    object-position: center top;
    transform: translate(-50%, 0);
    transition: transform 0.85s cubic-bezier(0.7, 0, 0.3, 1);
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

@media (max-width: 1024px) {
    /* タブレット/スマホ（縦長 back0_1）は“幅基準”で必ず全幅カバー（左右に隙間を作らない）。
       高さ自動で切らず、はみ出した下部の装飾は画面外へ。
       base の max-width:none で全体の img{max-width:100%} クランプを回避済み。 */
    .preloader-veil {
        width: 130%;
        height: auto;
        object-fit: fill;
    }
}

@media (max-width: 600px) {
    /* スマホは縦長なので、全幅カバー＋下部を画面外にするため幅をさらに広げる */
    .preloader-veil {
        width: 175%;
    }
}

/* main3 が下からにょきっと出てくる（ベールより前面） */
.preloader-hero {
    position: fixed;
    left: 50%;
    bottom: 0;
    height: 78vh;
    width: auto;
    max-width: 92vw;
    z-index: 100001;
    transform: translate(-50%, 120vh);
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* ===== Movie Section (YouTube player + thumbnail slider) ===== */
/* 最初のセクションなので固定ヘッダー(70px)分の上余白を確保 */
.movie-section {
    padding-top: 50px;
}

/* ===== トップ：main4 を大きく + 白い斜め背景（重ね順 サイト背景 < main4 < 白 < Profile） ===== */
.hero-wrap {
    position: relative;
    z-index: 1;          /* サイト背景(.parallax-bg z0)より前 */
}

.topvisual {
    position: relative;
    z-index: 1;
    text-align: center;
    line-height: 0;
}

/* main3 を実寸表示（PCは約720px。頭は上にはみ出してOK）。高さ自動で斜め背景と連結 */
.topvisual-img {
    display: block;
    width: min(720px, 92vw);
    max-width: none;
    height: auto;
    margin: 0 auto;
}

/* 斜め背景と main の切れ目（中央）に置くロゴ。絶対配置で流れから外す（隙間を作らない） */
.slope-logo {
    position: absolute;
    top: 4.5vw;             /* 斜めの中央（切れ目）あたり */
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(210px, 33vw, 330px);
    height: auto;
    z-index: 2;             /* ::before(z-1) と内容より前 */
    pointer-events: none;
}

.white-slope {
    position: relative;
    z-index: 2;          /* main3 より前。斜め背景が main3 の下部を覆う */
    margin-top: -12vw;   /* main3 の下端にしっかり重ねる（隙間防止） */
    padding-top: 11vw;   /* 斜めの切れ目の下に内容を出す */
}

/* 濃い水色の斜め背景（右上が高く・左下が低い：右上→左下の切れ目） */
.white-slope::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #B0C4DE;
    clip-path: polygon(0 9vw, 100% 0, 100% 100%, 0 100%);
    z-index: -1;
}

/* main6：青い図形(::before z-1)の背面(z-2)に置き、白スロープ下端から
   News右上へ下向きに見切れて出る。translateY はスクロール連動でJSが制御 */
.news-peek {
    position: absolute;
    right: 6%;
    bottom: -150px;          /* 白スロープ下端より下＝News上部へはみ出す量 */
    width: clamp(150px, 19vw, 230px);
    z-index: -2;             /* 青い図形より背面（＝図形の下に見切れる） */
    pointer-events: none;
    transform: translateY(-160%);   /* 初期は青い図形の裏に隠す */
    will-change: transform;
}

.news-peek-img {
    display: block;
    width: 100%;
    height: auto;
    transform: rotate(-90deg);   /* 左辺が下を向く向き */
}

@media (max-width: 768px) {
    .news-peek {
        right: 4%;
        bottom: -110px;
        width: clamp(120px, 34vw, 170px);
    }
}

/* main6：ハッシュタグの背景として右上にふわっと現れる */
.tags-section {
    position: relative;
    overflow: hidden;
}

.tags-bg {
    position: absolute;
    top: 6%;
    right: 5%;
    width: clamp(130px, 21vw, 250px);
    height: auto;
    z-index: -1;             /* テキストの背面 */
    opacity: 0;
    transform: translateY(16px) scale(0.94);
    transition: opacity 1s ease, transform 1.1s cubic-bezier(0.2, 0.7, 0.3, 1);
    pointer-events: none;
}

.tags-section.show-bg .tags-bg {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
    .tags-bg {
        top: 3%;
        right: 2%;
        width: clamp(100px, 32vw, 170px);
        opacity: 0;
    }
    .tags-section.show-bg .tags-bg {
        opacity: 1;
    }
}

/* main6：Contact フォーム枠の背面から、上端右側にひょこっと顔を出す */
.contact-section {
    position: relative;
}

.contact-box-wrap {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.contact-box-wrap .contact-box {
    position: relative;
    z-index: 1;          /* フォーム枠を main6 の手前に */
    margin: 0;
}

.contact-deco {
    position: absolute;
    top: 0;
    right: 30px;
    width: clamp(96px, 13vw, 150px);
    height: auto;
    z-index: 0;          /* フォーム枠(z1)の背面 */
    transform: translateY(45%);   /* 初期：枠の裏に隠れる */
    transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.35, 1.45);  /* 軽い行き過ぎ＝ひょこっ */
    pointer-events: none;
}

.contact-section.show-deco .contact-deco {
    transform: translateY(-46%);  /* 枠の上端から顔を出す */
}

@media (max-width: 768px) {
    .contact-deco {
        right: 14px;
        width: clamp(80px, 22vw, 120px);
    }
}

.movie-main {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    aspect-ratio: 1422 / 915;
    /* block1 をプレイヤーの背景フレームに */
    background: url('images/block1.webp') center / 100% 100% no-repeat;
}

/* ウィンドウ枠の本体部分に動画を配置 */
.movie-player {
    position: absolute;
    top: 19.5%;
    left: 4.5%;
    right: 4.5%;
    bottom: 6%;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
}

.movie-player iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.movie-slider {
    max-width: 860px;
    margin: 22px auto 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    /* 左右スクロールバーを水色のシンプルな線に（Firefox） */
    scrollbar-width: thin;
    scrollbar-color: #4dd0e1 transparent;
}

/* 左右スクロールバー（Chrome/Safari/Edge） */
.movie-slider::-webkit-scrollbar {
    height: 6px;
}

.movie-slider::-webkit-scrollbar-track {
    background: transparent;
}

.movie-slider::-webkit-scrollbar-thumb {
    background: #4dd0e1;
    border-radius: 3px;
}

.movie-thumb-track {
    display: flex;
    gap: 12px;
    padding: 4px 2px 10px;
    width: max-content;
}

.movie-thumb {
    flex: 0 0 auto;
    width: 168px;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.movie-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.movie-thumb:hover {
    transform: translateY(-2px);
}

.movie-thumb.active {
    border-color: var(--accent);
}

@media (max-width: 768px) {
    .movie-thumb {
        width: 132px;
    }
}


/* ===== 寝具からのお願い / 切り抜きガイドライン テキスト ===== */
.guideline-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.95;
    color: var(--text);
}

@media (max-width: 600px) {
    .guideline-text {
        font-size: 12.5px;
        line-height: 1.85;
        text-align: left;
    }
}

/* ===== special thanks ブロック（back1 背景 + main4 重ね） ===== */
.thanks-block {
    position: relative;
    /* back1 をトリミングせず全体表示（比率を画像に合わせて contain） */
    aspect-ratio: 1400 / 1127;
    background: #eef1f8 url('images/back1_sm.webp') center top / contain no-repeat;
    border-radius: var(--radius);
    overflow: hidden;
    padding: 30px 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* 文字は左上 */
/* ===== 汎用 画像横スライダー（高さ揃え） ===== */
.imgslider {
    max-width: 760px;
    margin: 0 auto 36px;
}

.imgslider-viewport {
    width: 100%;
    height: clamp(220px, 40vw, 420px);
    overflow: hidden;
    border-radius: 16px;
}

.imgslider-track {
    display: flex;
    height: 100%;
    transition: transform 1.1s cubic-bezier(0.45, 0, 0.15, 1);
    will-change: transform;     /* レイヤーを常時保持してスライド時の再描画ちらつきを防止 */
    backface-visibility: hidden;
}

.imgslider-slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imgslider-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* 小さい画像（image2_2）は高さを2/3に抑えて拡大ボケを防ぐ */
.imgslider-slide img.imgslider-img--sm {
    height: 66.6667%;
}

.imgslider-slide img {
    cursor: zoom-in;
    pointer-events: auto;   /* 画像保護の既定(none)を解除してタップ可能に */
}

/* ===== 画像ライトボックス（タップで拡大・ズーム） ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(60, 60, 65, 0.82);   /* グレーがかった背景 */
    backdrop-filter: blur(2px);
    touch-action: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 92vw;
    max-height: 88vh;
    transform-origin: center center;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
    border-radius: 6px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
    cursor: grab;
    transition: transform 0.08s linear;
    pointer-events: auto;   /* ズーム/パン操作を受け取る */
}

.lightbox.open .lightbox-img {
    animation: lightboxPop 0.28s cubic-bezier(0.2, 0.7, 0.3, 1.2);
}

@keyframes lightboxPop {
    from { transform: scale(0.88); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: #333;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: #fff;
}

body.lightbox-open {
    overflow: hidden;
}

.imgslider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.imgslider-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    background: rgba(120, 170, 210, 0.35);
    transition: background 0.3s ease, transform 0.3s ease;
}

.imgslider-dot:hover {
    background: rgba(120, 170, 210, 0.6);
}

.imgslider-dot.active {
    background: var(--accent2, #00bcd4);
    transform: scale(1.25);
}

/* thanksSlider: image2_1 の横幅を下の special thanks 画像(main4)に合わせ、
   ビューポートを image2_1 の比率にして 2_2 も同じ高さに揃える */
#thanksSlider {
    max-width: 946px;   /* main4: 高さ762px × 比1.242 ≈ 946px */
}
#thanksSlider .imgslider-viewport {
    height: auto;
    aspect-ratio: 1200 / 840;   /* = image2_1 の比率 */
}
@media (max-width: 600px) {
    #thanksSlider {
        max-width: 569px;   /* main4: 高さ458px × 比1.242 ≈ 569px */
    }
}

.thanks-text {
    position: relative;
    z-index: 2;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    text-align: left;
    color: #1a1a1a;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.9;
}

/* back1 に重ねる main4（下・中央、約2倍） */
.thanks-main4 {
    position: absolute;
    left: 50%;
    bottom: 4px;                 /* 10px下げ */
    transform: translateX(-50%) translateZ(0);   /* 独立レイヤー化＝隣のスライド再描画の巻き添えを防ぐ */
    backface-visibility: hidden;
    height: 762px;               /* さらに10%大きく */
    width: auto;
    max-width: none;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 600px) {
    .thanks-block {
        padding: 20px;
    }
    .thanks-text {
        font-size: 14.4px;   /* 従来12pxの1.2倍 */
        -webkit-text-stroke: 0.6px #fff;   /* 細めの白い縁取り */
        text-stroke: 0.6px #fff;
        paint-order: stroke fill;          /* 文字本体を縁取りの上に描いて潰れ防止 */
    }
    .thanks-main4 {
        height: 458px;
    }
}

/* ===== ゆらゆら漂う前面デコ（item2/3/4） ===== */
.floaties {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 900;       /* コンテンツより手前、ナビより後ろ */
}

.floaty {
    position: absolute;
    bottom: -140px;     /* 画面下からスタート */
    will-change: transform;
    animation: floatUp linear infinite;
}

.floaty-img {
    display: block;
    width: 40px;        /* JSで個別上書き（小さめ） */
    height: auto;
    opacity: 0.8;
    will-change: transform;
    animation: floatSway ease-in-out infinite alternate;
}

@keyframes floatUp {
    from { transform: translateY(0); }
    to   { transform: translateY(calc(-100vh - 280px)); }
}

@keyframes floatSway {
    from { transform: translateX(-16px) rotate(-7deg); }
    to   { transform: translateX(16px) rotate(7deg); }
}
