/* ========================================
   Snack Lit - Professional Design
   パンフレット準拠 + 導線設計
   ======================================== */

/* ========================================
   Opening Animation - ドア → ともしび
   ======================================== */
.opening-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center bottom, #1a1510 0%, #0a0806 40%, #000 100%);
    z-index: 9999;
    overflow: hidden;
}

.opening-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255,180,100,0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255,200,150,0.02) 0%, transparent 30%);
    pointer-events: none;
}

.opening-overlay.hidden {
    display: none;
}

/* ========== ドアシーン ========== */
.door-scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.door-scene.opened {
    pointer-events: none;
}

.door-scene.opened .door-hint {
    opacity: 0;
}

.door-scene.fade {
    opacity: 0;
    transition: opacity 1.5s ease;
}

.door-container {
    width: 260px;
    max-width: 65vw;
    height: 460px;
    max-height: 70vh;
    perspective: 1500px;
    position: relative;
    border-radius: 12px;
    box-shadow:
        0 0 80px rgba(255,180,100,0.3),
        0 0 150px rgba(255,150,80,0.15);
    animation: doorGlow 3s ease-in-out infinite;
}

@keyframes doorGlow {
    0%, 100% {
        box-shadow:
            0 0 60px rgba(255,180,100,0.25),
            0 0 120px rgba(255,150,80,0.1);
    }
    50% {
        box-shadow:
            0 0 100px rgba(255,180,100,0.4),
            0 0 180px rgba(255,150,80,0.2);
    }
}

.door {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform-origin: left center;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    position: relative;
}

.door img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    backface-visibility: hidden;
    position: relative;
    z-index: 1;
}

.door::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 12px;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    z-index: 0;
}

.door.open {
    transform: rotateY(-110deg);
}

.door-hint {
    color: rgba(255,220,180,0.6);
    font-family: var(--font-display);
    font-size: 0.9rem;
    margin-top: 35px;
    letter-spacing: 0.2em;
    font-style: italic;
    text-shadow: 0 0 20px rgba(255,180,100,0.3);
    animation: hintPulse 3s ease-in-out infinite;
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.9; }
}

/* ========== ともしび（ドアの奥） ========== */
.flame-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.3;
    transition: opacity 1.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flame-container.bright {
    opacity: 1;
}

.flame-container.brighter {
    opacity: 1;
}

.flame {
    width: 20px;
    height: 35px;
    background: linear-gradient(180deg,
        #fff 0%,
        #ffdd77 20%,
        #ffaa33 50%,
        #ff6600 80%,
        transparent 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flicker 0.3s ease-in-out infinite alternate;
    filter: blur(1px);
    position: relative;
    z-index: 2;
}

@keyframes flicker {
    0% { transform: scale(1) rotate(-2deg); opacity: 0.9; }
    100% { transform: scale(1.05, 0.95) rotate(2deg); opacity: 1; }
}

.flame-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle,
        rgba(255,170,50,0.4) 0%,
        rgba(255,100,0,0.2) 30%,
        transparent 70%);
    animation: glowPulse 2s ease-in-out infinite;
    z-index: 1;
    transition: width 1.5s ease, height 1.5s ease, background 1.5s ease;
}

.flame-container.brighter .flame-glow {
    width: 200vmax;
    height: 200vmax;
    background: radial-gradient(circle,
        rgba(255,250,240,0.9) 0%,
        rgba(255,200,120,0.5) 30%,
        rgba(255,150,80,0.2) 60%,
        transparent 80%);
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* ロゴ */
.opening-logo {
    width: 180px;
    max-width: 45vw;
    border-radius: 50%;
    opacity: 0;
    z-index: 10;
}

.flame-scene.active .opening-logo {
    animation: logoAppear 1.5s ease-out 1.5s forwards;
}

@keyframes logoAppear {
    0% { opacity: 0; transform: scale(0.8); filter: brightness(0); }
    50% { opacity: 1; filter: brightness(1.3); }
    100% { opacity: 1; transform: scale(1); filter: brightness(1); }
}

/* フェードアウト */
.opening-overlay.fade-out {
    animation: overlayFadeOut 1.2s ease-in-out forwards;
}

@keyframes overlayFadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

:root {
    --color-bg: #f3ede5;
    --color-bg-light: #f9f6f1;
    --color-bg-white: #fffcf8;
    --color-text: #3d3529;
    --color-text-muted: #6b6358;
    --color-text-light: #8a8279;
    --color-brown: #7a6b55;
    --color-brown-dark: #5a4d3d;
    --color-orange: #d97b3d;
    --color-green: #6b8f5c;
    --color-line: #ddd6ca;
    --font-display: 'Cormorant Garamond', serif;
    --font-serif: 'Noto Serif JP', serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 2;
    letter-spacing: 0.03em;
    font-size: 15px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ========================================
   Hero Section - シンプルな白背景
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-white);
}

.hero-content {
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.hero-logo {
    width: 220px;
    max-width: 55vw;
    height: auto;
    margin-bottom: 30px;
    border-radius: 50%;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--color-text);
    margin-bottom: 12px;
}

.hero-sub {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   Section Common
   ======================================== */
section {
    padding: 90px 0;
}

.section-label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-brown);
    text-align: center;
    margin-bottom: 5px;
    letter-spacing: 0.1em;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    color: var(--color-text);
    margin-bottom: 50px;
    letter-spacing: 0.1em;
}

.section-header {
    margin-bottom: 50px;
}

/* ========================================
   Concept Section
   ======================================== */
.concept {
    background: var(--color-bg-white);
    padding: 100px 0;
}

.concept-header {
    margin-bottom: 50px;
}

.concept-content {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

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

.concept-lead {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 2.4;
    margin-bottom: 35px;
    color: var(--color-text);
}

.concept-text {
    font-size: 0.9rem;
    line-height: 2.4;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.concept-signature {
    font-size: 0.85rem;
    color: var(--color-brown);
}

/* ========================================
   Gallery Section - 2枚構成
   ======================================== */
.gallery {
    background: var(--color-bg);
    padding: 90px 0;
}

.gallery .container {
    max-width: 950px;
}

.gallery-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px 15px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* ========================================
   System Section
   ======================================== */
.system {
    background: var(--color-bg-white);
    padding: 90px 0;
}

.system-content {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.price-card {
    background: #fff;
    border: 2px solid var(--color-brown);
    border-radius: 8px;
    padding: 35px 45px;
    text-align: center;
    min-width: 220px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

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

.price-card.main {
    border: 2px solid var(--color-orange);
    background: #fffdfb;
}

.price-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.price-time {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--color-brown-dark);
}

.price-card.main .price-amount {
    color: var(--color-orange);
}

.price-amount .yen {
    font-size: 1.2rem;
    margin-right: 2px;
}

/* Capacity */
.capacity-box {
    text-align: center;
    padding: 35px 0;
    margin-bottom: 40px;
    border-top: 1px dashed var(--color-line);
    border-bottom: 1px dashed var(--color-line);
}

.capacity-number {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.capacity-number strong {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-text);
    margin: 0 5px;
}

.capacity-note {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 10px;
}

/* Feature Box (カラオケ・貸切) */
.feature-box {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #fff8f0, #fff);
    border: 2px solid var(--color-orange);
    border-radius: 50px;
    padding: 15px 30px;
    box-shadow: 0 3px 15px rgba(217, 123, 61, 0.15);
}

.feature-icon {
    font-size: 1.3rem;
}

.feature-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-brown-dark);
}

.feature-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

/* Payment */
.payment-info {
    max-width: 600px;
    margin: 0 auto;
}

.payment-title {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 20px;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.payment-group {
    text-align: center;
    padding: 15px;
    background: var(--color-bg-light);
    border-radius: 6px;
}

.payment-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 5px;
}

.payment-items {
    font-size: 0.7rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ========================================
   Access Section
   ======================================== */
.access {
    background: var(--color-bg);
    padding: 90px 0;
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.access-map {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1/1;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.access-map.visible {
    opacity: 1;
    transform: translateY(0);
}

.access-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.access-info {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.access-info.visible {
    opacity: 1;
    transform: translateY(0);
}

.info-list {
    margin-bottom: 30px;
}

.info-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px dashed var(--color-line);
}

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

.info-row dt {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-green);
}

.info-row dd {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.7;
}

.info-row .note {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* CTA Phone Button */
.cta-box {
    background: var(--color-bg-white);
    border: 2px solid var(--color-orange);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    max-width: 400px;
    margin: 50px auto 0;
}

.cta-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-orange);
    color: #fff;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.cta-phone:hover {
    background: #c66a2e;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(217, 123, 61, 0.3);
}

.cta-phone svg {
    width: 22px;
    height: 22px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--color-bg-light);
    padding: 50px 0 30px;
    border-top: 1px solid var(--color-line);
    text-align: center;
}

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

.footer-logo {
    width: 70px;
    height: auto;
    border-radius: 50%;
}

.footer-instagram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    text-decoration: none;
    padding: 10px 22px;
    border: 1px solid var(--color-line);
    border-radius: 25px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    border-color: transparent;
}

.footer-copy {
    font-size: 0.7rem;
    color: var(--color-text-light);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 800px) {
    section {
        padding: 70px 0;
    }

    .section-heading {
        font-size: 1.25rem;
    }

    .access-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .access-map {
        aspect-ratio: 16/10;
    }

    .payment-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    /* Opening Animation */
    .door-container {
        width: 200px;
        height: 360px;
        box-shadow:
            0 0 50px rgba(255,180,100,0.25),
            0 0 100px rgba(255,150,80,0.1);
    }

    @keyframes doorGlow {
        0%, 100% {
            box-shadow:
                0 0 40px rgba(255,180,100,0.2),
                0 0 80px rgba(255,150,80,0.08);
        }
        50% {
            box-shadow:
                0 0 70px rgba(255,180,100,0.35),
                0 0 120px rgba(255,150,80,0.15);
        }
    }

    .door-hint {
        font-size: 0.8rem;
        margin-top: 25px;
    }

    .flame {
        width: 16px;
        height: 28px;
    }

    .flame-glow {
        width: 100px;
        height: 100px;
    }

    .flame-container.brighter .flame-glow {
        width: 200vmax;
        height: 200vmax;
    }

    body {
        font-size: 14px;
    }

    .feature-box {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .feature-item {
        padding: 12px 25px;
    }

    .container {
        padding: 0 20px;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        min-height: 500px;
    }

    .hero-logo {
        width: 150px;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .section-heading {
        font-size: 1.15rem;
        margin-bottom: 35px;
    }

    .gallery-two {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .system-content {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .price-card {
        width: 100%;
        max-width: 260px;
        padding: 30px 35px;
    }

    .price-amount {
        font-size: 2rem;
    }

    .info-row {
        grid-template-columns: 70px 1fr;
        gap: 10px;
        padding: 15px 0;
    }

    .cta-phone {
        padding: 14px 30px;
        font-size: 1.1rem;
    }

    .concept-lead br,
    .concept-text br {
        display: none;
    }
}
