/* ====================================
   やきとり蔵 - Custom Styles (Gray & White / Straight Lines)
   ==================================== */

/* ====================================
   CSS Variables & Reset
   ==================================== */
:root {
    /* Pure Gray & White Theme - Sophisticated Ash Gray based */
    --color-bg-darkest: #242424;
    --color-bg-main: #333333;
    --color-bg-card: #404040;
    --color-bg-accent: #4e4e4e;
    
    --color-border-thin: rgba(255, 255, 255, 0.15);
    --color-border-focus: rgba(255, 255, 255, 0.6);
    
    --color-white: #ffffff;
    --color-text-main: #fcfcfc;
    --color-text-sub: #d1d1d1;
    --color-text-muted: #888888;
    
    /* Typography */
    --font-serif: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
    --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --section-padding-sp: 80px;
    
    /* Header */
    --header-height: 80px;
    --header-height-sp: 60px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;
}

/* ====================================
   Slideshow Component
   ==================================== */
.slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slideshow-container .slide {
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Slow transition */
}

.slideshow-container .slide.active {
    opacity: 1;
}

.slideshow-container .slide.relative {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.slideshow-container .slide.absolute {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Force straight lines - absolutely no rounded corners */
    border-radius: 0 !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background-color: var(--color-bg-main);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base), opacity var(--transition-base), border-color var(--transition-base);
}

a:hover {
    color: var(--color-white);
}

/* ====================================
   Container
   ==================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ====================================
   Header
   ==================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(36, 36, 36, 0.95);
    border-bottom: 1px solid var(--color-border-thin);
    backdrop-filter: blur(10px);
    z-index: 1000;
    /* Initial state for page load entry transition */
    opacity: 0;
    transform: translateY(-20px);
    transition: transform 1.0s cubic-bezier(0.25, 1, 0.5, 1) 1.5s,
                opacity 1.0s ease-out 1.5s,
                background var(--transition-base);
}

body.loaded .header {
    opacity: 1;
    transform: translateY(0);
}

body.loaded .header.hidden {
    transform: translateY(-100%);
}

.header.hidden {
    transform: translateY(-100%);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-15px);
    transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base);
}

.header-logo.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.logo-img {
    height: 40px;
    width: auto;
    border: 1px solid var(--color-white);
    object-fit: cover;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-white);
}

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

.nav-link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-text-sub);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-base);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.reservation-link {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    transition: background-color var(--transition-base), color var(--transition-base);
}

.nav-link.reservation-link::after {
    display: none;
}

.nav-link.reservation-link:hover {
    background: var(--color-white);
    color: var(--color-bg-darkest);
}

/* Hamburger Menu (Straight Lines) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--color-border-thin);
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
    transition: border-color var(--transition-base);
}

.hamburger:hover {
    border-color: var(--color-white);
}

.hamburger span {
    display: block;
    width: 20px;
    height: 1px;
    background: var(--color-white);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

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

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

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

/* ====================================
   Section Common Styles
   ==================================== */
.section {
    padding: var(--section-padding) 0;
    border-bottom: 1px solid var(--color-border-thin);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--color-white);
}

/* Fade-in Animation Base */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====================================
   HERO Section
   ==================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-darkest);
}

.hero-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Clean ash gray textured gradient block */
    background: linear-gradient(135deg, #444444 0%, #242424 100%);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    /* Initial state for page load entry transition */
    opacity: 0;
    filter: brightness(0.9);
    transition: opacity 2.0s ease-out 0.4s;
}

body.loaded .hero-video {
    opacity: 0.65;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(24, 24, 24, 0.3) 10%, rgba(24, 24, 24, 0.75) 100%); /* Slightly lighter overlay */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--color-white);
    padding: 0 20px;
    width: 100%;
    max-width: 800px;
}

.hero-logo-box {
    margin-bottom: 30px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(64, 64, 64, 0.6);
    backdrop-filter: blur(5px);
    /* Initial state for page load entry transition */
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.6s,
                transform 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.6s;
}

body.loaded .hero-logo-box {
    opacity: 1;
    transform: scale(1);
}

.hero-logo-img {
    height: 120px;
    width: auto;
    object-fit: cover;
    border: 1px solid var(--color-white);
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.25em;
    color: var(--color-text-sub);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    /* Initial state for page load entry transition */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1) 1.2s,
                transform 1.2s cubic-bezier(0.25, 1, 0.5, 1) 1.2s;
}

body.loaded .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background-color: var(--color-white);
}

.hero-title {
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.title-vertical {
    font-family: var(--font-serif);
    font-size: 72px;
    font-weight: 400;
    letter-spacing: 0.3em;
    line-height: 1.3;
    display: inline-block;
    writing-mode: vertical-rl;
    text-orientation: upright;
    margin: 0 auto;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 24px;
    /* Initial state for page load entry transition */
    clip-path: inset(0 0 100% 0);
    transform: translateY(30px);
    transition: clip-path 1.4s cubic-bezier(0.25, 1, 0.5, 1) 0.8s,
                transform 1.4s cubic-bezier(0.25, 1, 0.5, 1) 0.8s;
}

body.loaded .title-vertical {
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
}

.hero-copy {
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.15em;
    line-height: 2.2;
    color: var(--color-text-sub);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    /* Initial state for page load entry transition */
    opacity: 0;
    transform: translate(-50%, 20px);
    transition: opacity 1.0s ease-out 1.8s,
                transform 1.0s cubic-bezier(0.25, 1, 0.5, 1) 1.8s;
}

body.loaded .scroll-indicator {
    opacity: 1;
    transform: translate(-50%, 0);
}

.scroll-text {
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-white) 50%, transparent 50%);
    background-size: 100% 200%;
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0% {
        background-position: 0 -100%;
    }
    100% {
        background-position: 0 100%;
    }
}

/* ====================================
   CONCEPT Section
   ==================================== */
.concept {
    background-color: var(--color-bg-main);
}

.concept-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.concept-content {
    padding-right: 20px;
}

.concept-lead-title {
    font-family: var(--font-serif);
    font-size: 24px;
    line-height: 1.8;
    letter-spacing: 0.15em;
    color: var(--color-white);
    margin-bottom: 30px;
    font-weight: 400;
}

.concept-text {
    font-size: 15px;
    line-height: 2.2;
    margin-bottom: 24px;
    color: var(--color-text-sub);
    text-align: justify;
}

.concept-text:last-child {
    margin-bottom: 0;
}

/* Concept Image Wrap (displays entire concept image without cropping) */
.concept-image-wrap {
    position: relative;
    width: 100%;
    border: 1px solid var(--color-border-thin);
    background-color: var(--color-bg-card);
}

.concept-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain; /* displays full image */
}

/* Straight line corners for placeholder images */
.border-decor-top-left {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 30px;
    height: 30px;
    border-top: 1px solid var(--color-white);
    border-left: 1px solid var(--color-white);
}

.border-decor-bottom-right {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    border-bottom: 1px solid var(--color-white);
    border-right: 1px solid var(--color-white);
}

/* ====================================
   SYSTEM & MENU Section
   ==================================== */
.system {
    background-color: var(--color-bg-darkest);
}

.system-card {
    border: 1px solid var(--color-white);
    background: var(--color-bg-card);
    padding: 50px 60px;
    margin-bottom: 60px;
    text-align: center;
}

.system-card-header {
    margin-bottom: 30px;
}

.system-badge {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.15em;
    padding: 6px 16px;
    border: 1px solid var(--color-text-muted);
    color: var(--color-text-sub);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.system-card-title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: var(--color-white);
}

.system-desc {
    font-size: 16px;
    line-height: 2.2;
    color: var(--color-text-sub);
    max-width: 800px;
    margin: 0 auto 30px;
}

.system-desc strong {
    color: var(--color-white);
    font-weight: 700;
}

.system-alert-box {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.03);
    padding: 20px 30px;
    display: inline-block;
    max-width: 650px;
}

.system-alert-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-white);
    text-align: left;
}

.system-alert-text strong {
    font-size: 15px;
}

/* Course Unified Card */
.course-unified {
    border: 1px solid var(--color-border-thin);
    background: var(--color-bg-card);
    padding: 50px 60px;
    margin-bottom: 80px;
    transition: border-color var(--transition-base);
}

.course-unified:hover {
    border-color: var(--color-white);
}

.course-unified-title {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-white);
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 1px solid var(--color-border-thin);
    padding-bottom: 20px;
}

.course-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.course-list-item {
    border-bottom: 1px solid var(--color-border-thin);
    padding-bottom: 30px;
}

.course-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.course-header-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 16px;
}

.course-name-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.recommend-tag {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 400;
    background: var(--color-white);
    color: var(--color-bg-darkest);
    padding: 3px 8px;
    letter-spacing: 0.05em;
}

.course-price-val {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--color-white);
}

.price-tax-note {
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--color-text-muted);
}

.course-detail-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-sub);
}

.course-footer-note {
    margin-top: 40px;
    border-top: 1px solid var(--color-border-thin);
    padding-top: 20px;
    text-align: center;
}

.course-note-text {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* Menu Intro Section */
.menu-intro-title {
    font-family: var(--font-serif);
    font-size: 22px;
    letter-spacing: 0.15em;
    text-align: center;
    color: var(--color-white);
    margin-bottom: 40px;
}

.menu-intro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.menu-intro-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-thin);
    transition: border-color var(--transition-base);
}

.menu-intro-card:hover {
    border-color: var(--color-white);
}

.aspect-menu {
    width: 100%;
    height: 240px;
}

.menu-placeholder {
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-card-content {
    padding: 24px;
}

.menu-item-title {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.menu-item-text {
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-text-sub);
}

/* ====================================
   SEAT Section
   ==================================== */
.seat {
    background-color: var(--color-bg-main);
}

.seat-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.seat-image-wrap {
    position: relative;
    width: 100%;
    border: 1px solid var(--color-border-thin);
    background-color: var(--color-bg-card);
}

.seat-info {
    padding-left: 20px;
}

.seat-capacity {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--color-border-thin);
    padding-bottom: 24px;
}

.seat-label-small {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 8px;
}

.seat-count-box {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.seat-number {
    font-family: var(--font-serif);
    font-size: 64px;
    font-weight: 300;
    line-height: 1;
    color: var(--color-white);
}

.seat-unit {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--color-text-sub);
}

.seat-type-name {
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.seat-desc {
    font-size: 15px;
    line-height: 2.2;
    color: var(--color-text-sub);
    margin-bottom: 30px;
}

.policy-box {
    border: 1px solid var(--color-border-thin);
    padding: 24px;
    background: var(--color-bg-card);
}

.policy-title {
    font-family: var(--font-serif);
    font-size: 15px;
    color: var(--color-white);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.policy-text {
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-text-sub);
}

/* ====================================
   ACCESS Section
   ==================================== */
.access {
    background-color: var(--color-bg-darkest);
}

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

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border-thin);
    font-size: 14px;
    vertical-align: top;
}

.info-table th {
    width: 120px;
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 0.1em;
    text-align: left;
}

.info-table td {
    color: var(--color-text-sub);
    line-height: 2;
}

.tel-link {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-white);
    border-bottom: 1px solid transparent;
}

.tel-link:hover {
    border-color: var(--color-white);
}

.time-note {
    font-size: 12px;
    color: var(--color-text-muted);
}

.insta-link-underline {
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 500;
}

.insta-link-underline:hover {
    opacity: 0.8;
}

.map-wrapper {
    width: 100%;
    border: 1px solid var(--color-border-thin);
}

.google-map {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
    /* Custom grayscale map overlay to match grey-scale theme */
    filter: grayscale(1) contrast(1.1) opacity(0.85);
}

/* ====================================
   RESERVATION Section
   ==================================== */
.reservation {
    background-color: var(--color-bg-main);
    text-align: center;
}

.reservation-content {
    max-width: 700px;
    margin: 0 auto;
}

.reservation-lead {
    font-size: 16px;
    line-height: 2;
    color: var(--color-text-sub);
    margin-bottom: 40px;
}

.reservation-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

.btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    width: 320px;
    height: 100px;
    border: 1px solid var(--color-white);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-sub {
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.btn-main {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-white);
}

/* Buttons Hover states - strictly rectangular */
.btn-primary {
    background: var(--color-white);
}

.btn-primary .btn-sub {
    color: #666666;
}

.btn-primary .btn-main {
    color: var(--color-bg-darkest);
}

.btn-primary:hover {
    background: transparent;
}

.btn-primary:hover .btn-sub {
    color: var(--color-text-muted);
}

.btn-primary:hover .btn-main {
    color: var(--color-white);
}

.btn-secondary {
    background: transparent;
}

.btn-secondary:hover {
    background: var(--color-white);
}

.btn-secondary:hover .btn-sub {
    color: #666666;
}

.btn-secondary:hover .btn-main {
    color: var(--color-bg-darkest);
}

.inquiry-box {
    border-top: 1px solid var(--color-border-thin);
    padding-top: 50px;
    margin-top: 20px;
}

.inquiry-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

.inquiry-text {
    font-size: 14px;
    color: var(--color-text-sub);
    margin-bottom: 30px;
}

.btn-outline-insta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border: 1px solid var(--color-border-thin);
    background: transparent;
    color: var(--color-text-sub);
    font-size: 13px;
    letter-spacing: 0.1em;
    transition: all var(--transition-base);
    height: auto;
    width: auto;
}

.btn-outline-insta:hover {
    border-color: var(--color-white);
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
    background-color: var(--color-bg-darkest);
    color: var(--color-text-main);
    padding: 80px 0 40px;
    border-top: 1px solid var(--color-border-thin);
}

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

.footer-brand {
    text-align: center;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    border: 1px solid var(--color-white);
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-white);
}

.footer-address {
    font-size: 13px;
    line-height: 2;
    color: var(--color-text-muted);
}

.footer-address a {
    color: var(--color-text-sub);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-address a:hover {
    color: var(--color-white);
}

.footer-links {
    display: flex;
    gap: 80px;
    flex: 1;
    justify-content: flex-end;
}

.footer-nav-title {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-nav-list,
.footer-sns-list {
    list-style: none;
}

.footer-nav-list li,
.footer-sns-list li {
    margin-bottom: 12px;
}

.footer-nav-list a,
.sns-link {
    font-size: 13px;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.footer-nav-list a:hover,
.sns-link:hover {
    color: var(--color-white);
}

.sns-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--color-border-thin);
}

.footer-copyright {
    text-align: center;
    font-size: 11px;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
}

/* ====================================
   GALLERY Section
   ==================================== */
.gallery {
    background-color: var(--color-bg-main);
}

.gallery-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
    width: 100%;
}

.gallery-track-container {
    overflow: hidden;
    width: 100%;
}

.gallery-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease-out;
}

.gallery-slide {
    flex: 0 0 calc((100% - 48px) / 3);
    width: calc((100% - 48px) / 3);
}

.gallery-placeholder {
    position: relative;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-thin);
    width: 100%;
    aspect-ratio: 3/2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: border-color var(--transition-base);
}

.gallery-slide:hover .gallery-placeholder {
    border-color: var(--color-white);
}

.gallery-nav-btn {
    background: transparent;
    border: 1px solid var(--color-border-thin);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.gallery-nav-btn:hover {
    background: var(--color-white);
    color: var(--color-bg-darkest);
    border-color: var(--color-white);
}

.gallery-hint {
    text-align: center;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 20px;
}

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

/* ====================================
   Responsive Styles
   ==================================== */

/* Tablet & Smaller Screens */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .section {
        padding: var(--section-padding-sp) 0;
    }

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

    .concept-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .concept-content {
        padding-right: 0;
    }

    .course-grid {
        gap: 20px;
    }

    .menu-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .aspect-menu {
        height: 300px;
    }

    .seat-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .seat-info {
        padding-left: 0;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        justify-content: flex-start;
        gap: 60px;
        width: 100%;
    }

    /* Gallery Tablet */
    .gallery-slide {
        flex: 0 0 calc((100% - 24px) / 2);
        width: calc((100% - 24px) / 2);
    }
}

/* Smartphone (Mobile) */
@media screen and (max-width: 768px) {
    :root {
        --header-height: var(--header-height-sp);
    }

    .container {
        padding: 0 16px;
    }

    /* Header Mobile */
    .header-inner {
        padding: 0 16px;
    }

    .logo-text {
        font-size: 16px;
    }

    .logo-img {
        height: 32px;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: var(--color-bg-main);
        padding: 100px 30px 40px;
        transition: right var(--transition-base);
        z-index: 999;
        border-left: 1px solid var(--color-border-thin);
    }

    .header-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .nav-link {
        display: block;
        padding: 18px 0;
        font-size: 14px;
        border-bottom: 1px solid var(--color-border-thin);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.reservation-link {
        margin-top: 30px;
        text-align: center;
        border: 1px solid var(--color-white);
        background: var(--color-white);
        color: var(--color-bg-darkest);
    }

    .hamburger {
        display: flex;
    }

    /* Hero Mobile */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 110px 16px 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero-content {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .title-vertical {
        font-size: clamp(36px, 11vw, 48px);
        padding: 0 12px;
        letter-spacing: 0.2em;
        line-height: 1.2;
        margin-bottom: 30px;
    }

    .hero-subtitle {
        font-size: clamp(12px, 3.8vw, 15px);
        letter-spacing: 0.15em;
        margin-bottom: 24px;
        text-align: center;
    }

    .hero-copy {
        font-size: clamp(12px, 3.2vw, 14px);
        line-height: 1.8;
        text-align: center;
    }

    .hero-logo-box {
        margin-bottom: 20px;
    }

    .hero-logo-img {
        height: clamp(70px, 18vw, 90px);
    }

    /* Section Mobile */
    .section {
        padding: 60px 0;
    }

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

    .section-title {
        font-size: 24px;
    }

    .section-label {
        font-size: 11px;
    }

    /* Concept */
    .concept-lead-title {
        font-size: 18px;
        line-height: 1.6;
    }

    .concept-text {
        font-size: 14px;
        line-height: 2;
    }

    /* System */
    .system-card {
        padding: 30px 20px;
    }

    .system-card-title {
        font-size: 24px;
    }

    .system-desc {
        font-size: 14px;
        line-height: 1.8;
    }

    .system-alert-box {
        padding: 16px 20px;
    }

    .system-alert-text {
        font-size: 12px;
    }

    /* Courses */
    .course-unified {
        padding: 35px 20px;
        margin-bottom: 60px;
    }

    .course-unified-title {
        font-size: 20px;
        margin-bottom: 30px;
        padding-bottom: 15px;
    }

    .course-name-title {
        font-size: 17px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .course-price-val {
        font-size: 20px;
    }

    /* Seat */
    .seat-number {
        font-size: 48px;
    }

    .seat-unit {
        font-size: 16px;
    }

    .seat-desc {
        font-size: 14px;
    }

    /* Access */
    .info-table th {
        width: 90px;
        font-size: 13px;
    }

    .info-table td {
        font-size: 13px;
    }

    .tel-link {
        font-size: 16px;
    }

    .google-map {
        height: 300px;
    }

    /* Reservation */
    .reservation-lead {
        font-size: 14px;
    }

    .reservation-actions {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        height: 90px;
        padding: 16px 20px;
    }

    .btn-main {
        font-size: 16px;
    }

    .inquiry-box {
        padding-top: 40px;
    }

    .inquiry-title {
        font-size: 16px;
    }

    .inquiry-text {
        font-size: 13px;
    }

    /* Footer Mobile */
    .footer {
        padding: 60px 0 30px;
    }

    .footer-logo-text {
        font-size: 18px;
    }

    .footer-logo-img {
        height: 30px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    /* Gallery Mobile */
    .gallery-slider-wrapper {
        gap: 10px;
    }
    
    .gallery-nav-btn {
        display: none;
    }
    
    .gallery-track-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .gallery-track {
        gap: 16px;
    }
    
    .gallery-slide {
        flex: 0 0 80%;
        width: 80%;
        scroll-snap-align: center;
    }
}

/* Nav Overlay for Mobile (strictly rectangular layout) */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
    z-index: 998;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ====================================
   Premium Loading Screen & Opening Animation
   ==================================== */
body:not(.loaded) {
    overflow: hidden;
}

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-darkest);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1.2s cubic-bezier(0.76, 0, 0.24, 1), 
                opacity 1.2s ease;
}

.loader-wrapper.hide {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.loader-logo-box {
    opacity: 0;
    transform: scale(0.9);
    animation: loader-fade-in-scale 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.loader-logo {
    height: 80px;
    width: auto;
    border: 1px solid var(--color-white);
}

.loader-text-box {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: var(--color-white);
    display: flex;
    gap: 6px;
}

.loader-text-char {
    opacity: 0;
    transform: translateY(12px);
    display: inline-block;
    animation: loader-char-fade-in 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.loader-text-char:nth-child(1) { animation-delay: 0.2s; }
.loader-text-char:nth-child(2) { animation-delay: 0.3s; }
.loader-text-char:nth-child(3) { animation-delay: 0.4s; }
.loader-text-char:nth-child(4) { animation-delay: 0.5s; }
.loader-text-char:nth-child(5) { animation-delay: 0.6s; }

.loader-line-container {
    width: 120px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.loader-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--color-white);
    transition: width 1.2s cubic-bezier(0.25, 1, 0.3, 1);
}

@keyframes loader-fade-in-scale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes loader-char-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
