/* ═══════════════════════════════════════════════════
   RING GACHA — Single Page Scrolling Site
   
   Accent Color: Change --accent to update the entire
   site's accent color in one step.
   ═══════════════════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
    --accent: #e1edea;
    /* Same as text color */
    --accent-dim: #9cb3ad;
    --accent-glow: rgba(225, 237, 234, 0.25);
    --bg: #0a0a0a;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --text: #e1edea;
    /* Almost white with a hint of blue-green */
    --text-dim: #e1edea;
    --text-muted: #e1edea;
    --font-display: 'Cinzel', 'Zen Old Mincho', serif;
    --font-body: 'Zen Old Mincho', serif;
    --section-gap: 0;
    --nav-h: 64px;
    --radius: 8px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── Reset ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: #fff;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════
   UNIFIED IMAGE MODAL
   ═══════════════════════════════════════════════════ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.0);
    /* 初期状態は透明 */
    backdrop-filter: blur(0px);
    /* 初期ぼかし0 */
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.modal.show {
    background-color: rgba(0, 0, 0, 0.85);
    /* 表示時は暗くする */
    backdrop-filter: blur(5px);
    /* 背景をぼかす */
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal.show .modal-content {
    opacity: 1;
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 2001;
    /* 画像より手前にする */
}

.modal-close:hover,
.modal-close:focus {
    color: var(--accent);
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(192, 192, 192, 0.08);
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.96);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.nav-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    color: var(--accent) !important;
    font-weight: 600;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim) !important;
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--accent);
    position: absolute;
    left: 0;
    transition: all 0.3s;
}

.nav-toggle span:nth-child(1) {
    top: 0;
}

.nav-toggle span:nth-child(2) {
    top: 9px;
}

.nav-toggle span:nth-child(3) {
    top: 18px;
}

.nav-toggle.open span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.section {
    width: 100%;
    position: relative;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 30%, rgba(192, 192, 192, 0.06) 0%, transparent 70%),
        var(--bg);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 100px, rgba(192, 192, 192, 0.02) 100px, rgba(192, 192, 192, 0.02) 101px),
        repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(192, 192, 192, 0.02) 100px, rgba(192, 192, 192, 0.02) 101px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: heroFadeIn 1.5s ease-out forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero image (replaces text title when image is provided) */
.hero-image-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.hero-logo-img {
    max-width: 500px;
    width: 80vw;
    height: auto;
    margin: 0 auto;
    display: block;
}

.hero-logo-img[src=""],
.hero-logo-img:not([src]) {
    display: none;
}

.hero-image-placeholder {
    display: block;
}

.hero-logo-img[src]:not([src=""])~.hero-image-placeholder {
    display: none;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.5em;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent);
    text-shadow: 0 0 60px var(--accent-glow);
    line-height: 1.1;
}

.hero-tagline {
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--text-dim);
    margin-top: 1.5rem;
}

.hero-countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    font-family: var(--font-display);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.countdown-value {
    font-size: 2.5rem;
    color: var(--accent);
    line-height: 1;
    text-shadow: 0 0 15px rgba(192, 192, 192, 0.3);
}

.countdown-label {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.countdown-separator {
    font-size: 2rem;
    color: var(--accent-dim);
    margin-top: -1.2rem;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-line {
    width: 60px;
    height: 1px;
    background: var(--accent);
    margin: 2.5rem auto;
    opacity: 0.5;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-dim), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.7);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

.nav-link.active::after {
    width: 100%;
}

.nav-link-soon {
    opacity: 0.5;
    cursor: default !important;
    text-decoration: none;
}

.nav-link-soon:hover {
    color: var(--text-dim) !important;
}

.nav-link-soon::after {
    display: none;
}

/* ═══════════════════════════════════════════════════
   VERTICAL NAVIGATION
   ═══════════════════════════════════════════════════ */
.vertical-nav-section {
    padding: 4rem 0 1rem;
    display: flex;
    justify-content: center;
}

.vertical-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.v-nav-link {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(225, 237, 234, 0.15);
    border-radius: 4px;
    transition: all var(--transition);
    display: inline-block;
    width: 200px;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.v-nav-link:hover {
    color: var(--bg);
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════
   SHARED SECTION STYLES
   ═══════════════════════════════════════════════════ */
.section-mission,
.section-whatis,
.section-philosophy,
.section-gallery,
.section-rule,
.section-prizes,
.section-ticket {
    padding: 8rem 0;
    position: relative;
}

/* Decorative line between sections */
.section-mission::before,
.section-whatis::before,
.section-philosophy::before,
.section-gallery::before,
.section-rule::before,
.section-prizes::before,
.section-ticket::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--accent);
}

.title-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
    margin: 1.5rem auto 0;
    opacity: 0.5;
}

.audio-play-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.5s ease;
    margin: 2rem auto 0;
    display: block;
    opacity: 0.6;
    /* Brighter hidden element feel */
}

.audio-play-btn:hover {
    color: var(--accent);
    opacity: 1;
    transform: scale(1.1);
}

.audio-play-btn.playing {
    color: var(--accent);
    opacity: 1;
    animation: audioPulse 2s infinite ease-in-out;
}

@keyframes audioPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
        text-shadow: 0 0 5px var(--accent);
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
        text-shadow: 0 0 15px var(--accent);
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
        text-shadow: 0 0 5px var(--accent);
    }
}

.section-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-top: 1rem;
    letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════════
   WHAT IS 999∴999
   ═══════════════════════════════════════════════════ */
.whatis-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.whatis-content p {
    color: var(--text-dim);
    line-height: 2.2;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════════
   MISSION
   ═══════════════════════════════════════════════════ */
.mission-top-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 4rem auto;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(192, 192, 192, 0.08);
}

.mission-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    background: #111;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text .lead-text {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    line-height: 2;
}

.mission-text p {
    color: var(--text-dim);
    line-height: 2.2;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.hidden-text {
    display: none;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-text-link {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    padding: 0;
    margin-top: 1rem;
    position: relative;
    transition: color var(--transition);
}

.btn-text-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text-muted);
    transition: background var(--transition);
}

.btn-text-link:hover {
    color: var(--accent);
}

.btn-text-link:hover::after {
    background: var(--accent);
}

.mission-deco {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 300px;
}

.mission-deco-text {
    position: absolute;
    z-index: 2;
    text-align: center;
    font-family: var(--font-display);
    color: var(--accent);
    letter-spacing: 0.2em;
    font-size: 1.1rem;
    pointer-events: none;
    /* テキストがリングのクリックやアニメーションを邪魔しないように */
}

.deco-ring {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid var(--accent-dim);
    border-radius: 50%;
    opacity: 0.3;
    animation: decoSpin 20s linear infinite;
}

.deco-ring-2 {
    width: 150px;
    height: 150px;
    animation-duration: 15s;
    animation-direction: reverse;
    opacity: 0.2;
}

.deco-ring-3 {
    width: 100px;
    height: 100px;
    animation-duration: 25s;
    border-style: dashed;
    opacity: 0.15;
}

@keyframes decoSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ═══════════════════════════════════════════════════
   PHILOSOPHY
   ═══════════════════════════════════════════════════ */
.section-philosophy {
    background: linear-gradient(180deg, var(--bg) 0%, #0e0e0e 50%, var(--bg) 100%);
}

.philosophy-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-quote {
    position: relative;
    padding: 2rem 0;
    margin-bottom: 2.5rem;
}

.philosophy-quote p {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--accent);
    line-height: 2;
    font-style: italic;
}

.philosophy-quote::before,
.philosophy-quote::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
    margin: 0 auto;
}

.philosophy-quote::before {
    margin-bottom: 2rem;
}

.philosophy-quote::after {
    margin-top: 2rem;
}

.philosophy-body p {
    color: var(--text-dim);
    line-height: 2.2;
    margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════════
   RING GALLERY
   ═══════════════════════════════════════════════════ */
.gallery-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.gallery-intro-title {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.gallery-intro-desc {
    color: var(--text-dim);
    line-height: 2;
    font-size: 0.95rem;
}

.gallery-images-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    /* 縦長スクロールに映えるように画像間の余白を広めに */
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-group-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-group-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-group-image.top-gallery-image {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.gallery-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* もっと見るで隠すためのクラス */
.hidden-gallery-img {
    display: none;
}

.gallery-img-caption {
    padding: 1.5rem 2rem;
    text-align: center;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.95), transparent);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

/* ギャラリー個別写真のグリッドレイアウト */
.gallery-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 3rem;
}

.gallery-grid-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-img-clickable {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-img-clickable:hover {
    transform: scale(1.05);
    /* クリックできることを強調するためのズーム */
}

.gallery-item-caption {
    padding: 1rem;
    text-align: center;
    background: var(--bg-card);
}

.gallery-item-title {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.gallery-img-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.gallery-img-desc {
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.8;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.9);
}

.gallery-action {
    text-align: center;
    margin-top: 4rem;
}

.btn-show-more {
    display: inline-block;
    padding: 1rem 4rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--accent-dim);
    border-radius: 40px;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-show-more:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════════════════
   RULE
   ═══════════════════════════════════════════════════ */
.section-rule {
    background: linear-gradient(180deg, var(--bg) 0%, #0c0c0c 50%, var(--bg) 100%);
}

.rule-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.rule-image-frame {
    position: relative;
    border: 1px solid rgba(192, 192, 192, 0.15);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #111;
}

.rule-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rule-img[src=""],
.rule-img:not([src]) {
    display: none;
}

.rule-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    border: 2px dashed rgba(192, 192, 192, 0.15);
    margin: 12px;
    border-radius: 4px;
}

.rule-img[src]:not([src=""])~.rule-image-placeholder {
    display: none;
}

.rule-text-col {
    padding-top: 1rem;
}

.rule-text-col h3 {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.rule-japanese p,
.rule-english p {
    color: var(--text-dim);
    line-height: 2.4;
    font-size: 0.95rem;
}

.rule-divider {
    width: 40px;
    height: 1px;
    background: var(--accent-dim);
    margin: 2.5rem 0;
    opacity: 0.4;
}

/* ═══════════════════════════════════════════════════
   PRIZES
   ═══════════════════════════════════════════════════ */
.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.prize-card {
    background: var(--bg-card);
    border: 1px solid rgba(192, 192, 192, 0.08);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform var(--transition), border-color var(--transition);
}

.prize-card:hover {
    transform: translateY(-4px);
    border-color: rgba(192, 192, 192, 0.2);
}

.prize-rank {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.prize-rank-s {
    border-color: #e8e8e8;
    color: #e8e8e8;
    box-shadow: 0 0 20px rgba(232, 232, 232, 0.15);
}

.prize-rank-a {
    border-color: var(--accent);
    color: var(--accent);
}

.prize-rank-b {
    border-color: var(--text-muted);
    color: var(--text-muted);
}

.prize-card h3 {
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.prize-card p {
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════════
   PHILOSOPHY
   ═══════════════════════════════════════════════════ */
.philosophy-body p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 2;
}

.donation-action {
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid rgba(192, 192, 192, 0.1);
    padding-top: 3rem;
}

.donation-text {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.btn-donation {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 4px;
    transition: all var(--transition);
}

.btn-donation:hover {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

.donation-buttons-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    /* スマホなどで折り返す用 */
}

.donation-image-container {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(225, 237, 234, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.donation-image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--accent-glow);
}

.donation-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.zoom-icon {
    position: absolute;
    bottom: 4px;
    right: 4px;
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* ドネーション画像用モーダル */
.donation-modal {
    display: none;
    /* 初期状態は非表示 */
    position: fixed;
    z-index: 2000;
    /* ナビゲーションより上 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.donation-modal .modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border: 2px solid var(--accent);
    border-radius: 8px;
    box-shadow: 0 0 40px var(--accent-glow);
    animation: zoomIn 0.3s ease;
}

.donation-modal .modal-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: var(--accent);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.donation-modal .modal-close:hover {
    color: #fff;
}

/* ═══════════════════════════════════════════════════
   TICKET
   ═══════════════════════════════════════════════════ */
.ticket-content {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.ticket-card {
    background: var(--bg-card);
    border: 1px solid rgba(192, 192, 192, 0.12);
    border-radius: 12px;
    max-width: 420px;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* ゴールドチケット（通常チケット）の装飾 */
.gold-ticket {
    border-color: rgba(255, 215, 0, 0.15);
}

.gold-ticket::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
}

.gold-ticket h3,
.gold-icon {
    color: #ffd700 !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* シルバーチケット（浄財）の装飾 */
.silver-ticket {
    border-color: rgba(225, 237, 234, 0.2);
}

.silver-ticket::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #e1edea, transparent);
}

.silver-ticket h3,
.silver-icon {
    color: #e1edea !important;
    text-shadow: 0 0 15px rgba(225, 237, 234, 0.4);
}

.ticket-donation-thumb {
    margin: 0 auto 2rem auto;
}

.w-100 {
    width: 100%;
}

.ticket-card-inner {
    padding: 3rem 2.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ticket-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.ticket-card-inner h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.ticket-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.ticket-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem auto 2rem;
    padding: 1rem;
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    width: fit-content;
    min-width: 60%;
}

.gold-ticket .ticket-price {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.03);
}

.silver-ticket .ticket-price {
    border-color: rgba(225, 237, 234, 0.3);
    background: rgba(225, 237, 234, 0.03);
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.price-value {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--accent);
    font-weight: 600;
}

.price-tax {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.ticket-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* ─── Buttons ─── */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    padding: 0.9rem 2.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
}

.btn-primary {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-purchase {
    width: 100%;
    font-size: 0.9rem;
    padding: 1rem;
}

/* ═══════════════════════════════════════════════════
   COMING SOON (Hidden Sections)
   ═══════════════════════════════════════════════════ */
.coming-soon {
    text-align: center;
    padding: 3rem 0;
}

.coming-soon-icon {
    font-size: 1.5rem;
    color: var(--accent-dim);
    margin-bottom: 1.5rem;
    opacity: 0.4;
    animation: comingSoonPulse 3s ease-in-out infinite;
}

.coming-soon-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    color: var(--accent-dim);
    margin-bottom: 0.75rem;
}

.coming-soon-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

@keyframes comingSoonPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.section-hidden {
    min-height: auto;
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(192, 192, 192, 0.06);
}

.footer-inner {
    text-align: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: var(--accent-dim);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-copy {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════ */
.reveal {
    /* アニメーションをオフにし、常に表示状態にする */
    opacity: 1;
    transform: translateY(0);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered ring cards */
.ring-card {
    /* 常に表示状態にする */
    opacity: 1;
    transform: translateY(0);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.ring-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s ease;
    }

    .nav-menu.open {
        right: 0;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-deco {
        height: 200px;
    }

    .rule-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .rule-image-frame {
        max-width: 360px;
        margin: 0 auto;
    }

    .ring-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
    }

    .section-mission,
    .section-whatis,
    .section-philosophy,
    .section-gallery,
    .section-rule,
    .section-prizes,
    .section-ticket {
        padding: 5rem 0;
    }

    .prizes-grid {
        grid-template-columns: 1fr;
    }

    .ticket-card-inner {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .ring-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .ring-card-number {
        font-size: 1.8rem;
    }
}