/* --- 変数定義 --- */
:root {
    --bg-color: #0a0a0a;
    --text-main: #e0e0e0;
    /* --text-sub: #888888; */
    --text-sub: #BBB;
    --accent: #bfa57d;
    --color-line: #06c755;
    --font-jp: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-en: 'Cormorant Garamond', 'Times New Roman', serif;
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/* --- 基本リセット & 設定 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-jp);
    line-height: 2.2;
    overflow-x: hidden;
    letter-spacing: 0.05em;
}

body.loading {
    overflow: hidden;
}

h1, h2, h3 { margin: 0; font-weight: 400; }
a { text-decoration: none; color: inherit; transition: opacity 0.3s; }
img { width: 100%; height: auto; display: block; }

/* --- ユーティリティ --- */
.en-title {
    font-family: var(--font-en);
    font-size: 1.2rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* --- ローダー --- */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
}

.loader-text {
    font-family: var(--font-jp);
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 30px;
}

.loader-bar {
    width: 100px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: loader-progress 1.5s var(--ease-out-expo) forwards;
}

@keyframes loader-progress {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* --- アニメーション関連 --- */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.5s, padding 0.5s;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 40px;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-main {
    font-family: var(--font-jp);
    font-size: 1rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: #fff;
}

.logo-sub {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    transition: color 0.3s;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease-out-expo);
}

.nav a:hover {
    color: #fff;
}

.nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 1px;
    background: #fff;
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

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

.hero-catch {
    font-family: var(--font-jp);
    font-size: clamp(1rem, 2vw, 1.3rem);
    letter-spacing: 0.4em;
    margin-bottom: 30px;
    font-weight: 400;
    color: var(--accent);
}

.hero-title {
    font-family: var(--font-jp);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero-branch {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.7);
}

.hero-scroll {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: rgba(255, 255, 255, 0.8);
    animation: scroll-line 2s infinite;
}

@keyframes scroll-line {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(400%); }
}

/* --- Narrative Section --- */
.narrative {
    padding: 150px 10%;
    background: var(--bg-color);
    position: relative;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.narrative-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 80px;
    max-width: 1200px;
    width: 100%;
}
.narrative-image {
    flex: 1;
    height: 600px;
    overflow: hidden;
}
.narrative-image img {
    height: 100%;
    object-fit: cover;
}
.narrative-text {
    writing-mode: vertical-rl;
    height: 500px;
    line-height: 2.5;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
}
.narrative-head {
    font-size: 1.8rem;
    margin-left: 40px;
    color: var(--accent);
}

/* --- Feature Section --- */
.feature-section {
    padding: 0;
    background: #0f0f0f;
}
.feature-row {
    display: flex;
    min-height: 600px;
}
.feature-image-col {
    flex: 1;
    position: relative;
    overflow: hidden;
}
.feature-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease;
}
.feature-row:hover .feature-image-col img {
    transform: scale(1.1);
}

.feature-text-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    box-sizing: border-box;
}
.feature-row.reverse {
    flex-direction: row-reverse;
}
.feature-title {
    font-size: 2rem;
    margin-bottom: 30px;
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    line-height: 1.2;
}
.feature-desc {
    color: var(--text-sub);
    font-size: 1rem;
    margin-bottom: 40px;
}

/* --- Parallax Break --- */
.parallax-break {
    height: 60vh;
    background: url('./img/img_03.jpg') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.parallax-break::after {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.5);
}
.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 40px 80px;
    backdrop-filter: blur(5px);
}
.parallax-content h3 {
    font-size: 2rem;
    letter-spacing: 0.2em;
}

/* --- Lineup Section --- */
.lineup {
    padding: 150px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 100px;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.lineup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.item-card {
    position: relative;
}
.item-card:nth-child(2) {
    margin-top: 80px;
}
.item-card:nth-child(3) {
    margin-top: 160px;
}

.item-img-box {
    width: 100%;
    /* aspect-ratio: 3/4; */
    overflow: hidden;
    margin-bottom: 20px;
}
.item-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.item-card:hover .item-img-box img {
    transform: scale(1.05);
    opacity: 0.8;
}
.item-name {
    font-size: 1.2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 10px;
    display: inline-block;
}
.item-price {
    color: var(--accent);
    font-family: var(--font-en);
    font-size: 1.1rem;
}
.item-desc {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-top: 10px;
    line-height: 1.8;
}

/* --- System / How to --- */
.system-section {
    background: #151515;
    padding: 120px 20px;
    text-align: center;
}
.steps {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    flex-wrap: wrap;
}
.step {
    width: 300px;
    text-align: left;
}
.step-num {
    font-family: 'Didot', 'Bodoni MT', 'Georgia', serif;
    font-size: 4rem;
    color: #333;
    line-height: 1;
    margin-bottom: -20px;
    position: relative;
    z-index: 0;
    font-style: italic;
}
.step-title {
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
}
.step p {
    font-size: 0.95rem;
    color: var(--text-sub);
}

/* --- Access & Info --- */
.access-section {
    padding: 100px 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}
.access-info {
    flex: 1;
    min-width: 300px;
    padding-right: 50px;
}
.access-map {
    flex: 1;
    min-width: 300px;
    height: 500px;
    background: #222;
}
.access-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Contact Section (from index.html) --- */
.section-contact {
    padding: 150px 40px;
    background: var(--bg-color);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

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

.section-contact .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-lead {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 60px;
    line-height: 2.2;
}

.sns-links {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.sns-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s var(--ease-out-expo);
}

.sns-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.sns-icon {
    width: 30px;
    height: 30px;
}

.sns-icon svg {
    width: 100%;
    height: 100%;
}

.sns-text {
    text-align: left;
}

.sns-name {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.sns-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.sns-arrow {
    font-size: 1.2rem;
    margin-left: 20px;
    transition: transform 0.3s;
}

.sns-link:hover .sns-arrow {
    transform: translateX(5px);
}

.sns-line {
    color: var(--color-line);
}

.sns-line:hover {
    border-color: var(--color-line);
}

.sns-instagram {
    color: #e1306c;
}

.sns-instagram:hover {
    border-color: #e1306c;
}

.sns-x {
    color: #fff;
}

.sns-x:hover {
    border-color: #fff;
}

/* --- Footer --- */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    background: var(--bg-color);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo .logo-main {
    color: #fff;
    font-size: 0.9rem;
}

.footer-logo .logo-sub {
    color: rgba(255, 255, 255, 0.4);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Mobile --- */
@media (max-width: 1024px) {
    .lineup-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .item-card:nth-child(2) {
        margin-top: 60px;
    }

    .item-card:nth-child(3) {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    header {
        padding: 20px;
    }

    header.scrolled {
        padding: 15px 20px;
    }

    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        z-index: 100;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 101;
    }

    .menu-toggle.active span:first-child {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:last-child {
        transform: rotate(-45deg);
    }

    .hero-title {
        font-size: 2rem;
    }

    .narrative-container {
        flex-direction: column;
        gap: 40px;
    }

    .narrative-text {
        writing-mode: horizontal-tb;
        height: auto;
        width: 100%;
    }

    .narrative-image {
        height: 300px;
        width: 100%;
    }

    .narrative-head {
        margin-left: 0;
        margin-bottom: 20px;
    }

    .feature-row {
        flex-direction: column !important;
        min-height: auto;
    }

    .feature-image-col {
        height: 300px;
    }

    .feature-text-col {
        padding: 40px 20px;
    }

    .lineup-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .item-card,
    .item-card:nth-child(2),
    .item-card:nth-child(3) {
        margin-top: 0;
    }

    .access-section {
        flex-direction: column;
        gap: 50px;
    }

    .access-info {
        padding-right: 0;
    }

    .parallax-break {
        height: 50vh;
        background-attachment: scroll;
    }

    .parallax-content {
        padding: 30px 40px;
        margin: 0 20px;
    }

    .parallax-content h3 {
        font-size: 1.3rem;
        letter-spacing: 0.1em;
    }

    .section-contact {
        padding: 100px 20px;
    }

    .contact-lead br {
        display: none;
    }

    .sns-links {
        flex-direction: column;
        align-items: center;
    }

    .sns-link {
        width: 100%;
        max-width: 320px;
        padding: 25px 30px;
    }

    footer {
        padding: 40px 20px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .step {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .parallax-content {
        padding: 25px 30px;
    }

    .parallax-content h3 {
        font-size: 1rem;
    }
}

