:root {
    --bg: #0d0d0d;
    --bg-card: #141414;
    --text: #f0f0f0;
    --gold: #d4b86e; 
    --font-jp: 'Shippori Mincho', serif;
    --font-en: 'Cormorant Garamond', serif;
    --transition: 0.3s ease;
}

/* Base */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
body { background: var(--bg); color: var(--text); font-family: var(--font-jp); line-height: 1.8; letter-spacing: 0.05em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; border-radius: 2px; }
a { text-decoration: none; color: inherit; transition: opacity var(--transition); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Utilities */
.en { font-family: var(--font-en); }
.gold-text { color: var(--gold); }
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.section { padding: 100px 0; position: relative; }
.bg-darker { background: var(--bg-card); }

/* Header */
header {
    position: fixed; top:0; left:0; width:100%; padding:15px 20px;
    background: rgba(13,13,13,0.95);
    display: flex; justify-content: space-between; align-items: center; z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo { font-weight: 600; font-size: 1.1rem; color: #fff; letter-spacing: 0.05em; }
.header-right { display: flex; align-items: center; gap: 15px; }

/* Custom Language Dropdown */
.lang-dropdown { position: relative; }
.lang-btn {
    background: #222; color: #fff; border: 1px solid #444; padding: 6px 12px; border-radius: 4px; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; cursor: pointer;
}
.arrow {
    font-size: 0.7rem; color: var(--gold); margin-left: 5px;
}

.lang-menu {
    display: none; position: absolute; top: 100%; right: 0; background: #222; border: 1px solid #444; border-radius: 4px; overflow: hidden; min-width: 100px; margin-top: 5px; box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.lang-menu.show { display: block; }
.lang-menu div {
    padding: 10px 15px; cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 0.9rem; transition: background 0.2s;
}
.lang-menu div:hover { background: #333; color: var(--gold); }
.fi { font-size: 1.1rem; border-radius: 2px; }

.btn-reserve {
    background: var(--gold); color: #000; padding: 8px 20px; font-size: 0.85rem; 
    font-weight: 600; display: none; border-radius: 2px;
}
@media(min-width: 768px){ 
    .btn-reserve.pc-only { display: block; } 
    .logo { font-size: 1.3rem; }
}

/* Hero */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hero-bg {
    position: absolute; inset:0; z-index:-2;
    background-color: #111;
    background-size: cover; background-position: center;
}
.hero-overlay { position: absolute; inset:0; background: radial-gradient(circle, rgba(0,0,0,0.3), rgba(0,0,0,0.8)); z-index: -1; }
.hero-content { display: flex; flex-direction: row-reverse; gap: 40px; z-index: 1; }
.vertical { writing-mode: vertical-rl; text-orientation: upright; }
.hero-title { font-size: 2.5rem; border-right: 1px solid var(--gold); padding-right: 30px; height: 320px; text-shadow: 0 4px 10px rgba(0,0,0,0.8); }
.hero-sub { font-size: 1rem; color: #ddd; height: 200px; margin-top: 100px; }
.scroll-down { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); font-family: var(--font-en); font-size: 0.8rem; letter-spacing: 0.3em; opacity: 0.7; }

/* Sections */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 3rem; color: var(--gold); margin-bottom: 5px; font-weight: 400; }
.section-header span { font-size: 0.85rem; color: #999; letter-spacing: 0.3em; text-transform: uppercase; }

/* Philosophy (Layout) */
.split-layout { 
    display: flex; flex-direction: column; /* スマホ: 縦並び */
    gap: 30px; margin-bottom: 80px; 
}
.split-img {
    display: flex; justify-content: center;
}

/* 画像サイズ: 崩れないように高さ自動調整 */
.split-img img {
    width: 100%;
    height: auto; 
    max-width: 450px; 
    object-fit: cover;
    border-radius: 2px;
}

.split-text h3 { font-size: 1.8rem; margin-bottom: 25px; color: var(--gold); border-bottom: 1px solid #333; display: inline-block; padding-bottom: 10px; }

.philosophy-grid {
    display: grid; grid-template-columns: 1fr; gap: 30px;
    border-top: 1px solid #333; padding-top: 40px;
}
.phi-item h4 { color: var(--gold); margin-bottom: 8px; font-size: 1.1rem; border-left: 3px solid var(--gold); padding-left: 10px; }
.phi-item p { font-size: 0.9rem; color: #ccc; line-height: 1.6; }

/* Menu */
.menu-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.menu-card {
    border: 1px solid #333; padding: 40px 20px; text-align: center; background: rgba(255,255,255,0.02);
}
.menu-card.featured { border: 1px solid var(--gold); background: rgba(212, 184, 110, 0.05); }
.menu-label { font-size: 0.8rem; letter-spacing: 0.2em; margin-bottom: 10px; opacity: 0.8; }
.price { font-size: 1.8rem; color: var(--gold); margin-bottom: 15px; }
.wine-text { font-size: 0.95rem; color: #ccc; line-height: 1.8; margin-bottom: 20px; }

/* Style Section */
.style-section { min-height: 70vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.style-bg {
    position: absolute; inset: 0; z-index: -2;
    background-color: #111;
    background-size: cover; background-position: center;
    filter: brightness(0.4); transform: scale(1.05);
}
.style-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); z-index: -1; }
.style-main { font-size: 3rem; color: #fff; margin-bottom: 20px; text-shadow: 0 4px 15px rgba(0,0,0,0.6); }
.style-divider { width: 50px; height: 2px; background: var(--gold); margin: 0 auto 30px; }
.style-sub { font-size: 1.1rem; color: #eee; max-width: 600px; margin: 0 auto 50px; }

/* Style Tags */
.style-tags { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; text-align: center; margin-bottom: 60px; }
.tag-item { flex: 1; min-width: 250px; max-width: 300px; }
.tag-item .en { border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 5px; font-size: 1.2rem; display: inline-block; margin-bottom: 8px; }
.tag-desc { font-size: 0.85rem; color: #ccc; letter-spacing: 0.05em; margin-bottom: 15px; }
.tag-img-box {
    width: 100%; aspect-ratio: 4/3; overflow: hidden; border: 1px solid #444; border-radius: 2px;
}
.tag-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tag-item:hover .tag-img-box img { transform: scale(1.1); }

/* Evolution Section */
.evolution-container {
    max-width: 1000px; margin: 0 auto; padding: 40px 0;
}
.evo-main-title { font-size: 2rem; color: #fff; margin-bottom: 10px; font-weight: 400; letter-spacing: 0.05em; }
.evo-sub-title { font-size: 1rem; color: var(--gold); margin-bottom: 40px; }

.evolution-grid {
    display: flex; flex-direction: column; gap: 30px; align-items: center;
}
.evolution-col {
    position: relative; width: 100%; max-width: 500px;
    min-height: 450px;
    border-radius: 4px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: flex-end;
    text-align: left;
}
.evo-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transition: transform 0.5s ease;
}
.evolution-col:hover .evo-bg { transform: scale(1.05); }

.evo-overlay { position: absolute; inset: 0; z-index: -1; }
.trad-overlay { background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%); }
.modern-overlay { background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 50%); }

.evo-content { padding: 30px; color: #fff; z-index: 1; text-shadow: 0 2px 5px rgba(0,0,0,0.9); }
.evo-title { font-size: 1.5rem; margin-bottom: 15px; font-weight: 600; }
.evo-desc { font-size: 0.9rem; margin-bottom: 25px; line-height: 1.6; opacity: 1; }

.guide-list { list-style: none; padding-left: 0; margin: 0; }
.guide-list li { margin-bottom: 12px; display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.guide-icon { font-size: 1.2rem; width: 25px; text-align: center; }

.evolution-arrow {
    display: flex; flex-direction: column; align-items: center; color: var(--gold); font-family: var(--font-en);
}
.arrow-shape { font-size: 2rem; transform: rotate(90deg); margin-top: 5px; }

/* Footer & Sticky */
footer { text-align: center; padding: 60px 0 100px; color: #666; font-size: 0.8rem; border-top: 1px solid #222; }
.footer-links a { margin: 0 15px; color: #ccc; }
.sticky-btn {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 400px;
    background: var(--gold); color: #000; text-align: center; padding: 14px; font-weight: bold; 
    border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 999;
}

@media(min-width: 768px){
    .hero-title { font-size: 3.5rem; height: 400px; }
    
    /* PC表示 */
    .split-layout { 
        flex-direction: row; /* 基本は横並び */
        align-items: center; gap: 50px; 
    }
    
    /* reverse-pc クラスがついている要素だけ反転 */
    .split-layout.reverse-pc {
        flex-direction: row-reverse;
    }

    .split-text { flex: 1; min-width: 0; }
    .split-img {
        flex: 1;
        display: block;
        text-align: center;
        max-width: none;
    }
    
    .philosophy-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
    .menu-grid { grid-template-columns: repeat(3, 1fr); }
    .sticky-btn { display: none; }
    footer { padding-bottom: 60px; }
    .style-main { font-size: 4.5rem; }

    .evo-main-title { font-size: 2.5rem; }
    .evolution-grid {
        flex-direction: row; align-items: stretch; justify-content: center; gap: 20px;
    }
    .evolution-col { height: auto; min-height: 550px; }
    .evolution-arrow { flex-direction: row; gap: 10px; align-self: center; }
    .arrow-shape { transform: rotate(0deg); font-size: 3rem; margin-top: 0; }
}
/* Menu Accordion Settings */
.accordion-btn {
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.accordion-btn:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}
.accordion-btn::after {
    content: 'CLICK TO VIEW DETAILS';
    display: block;
    font-size: 0.65rem;
    color: var(--gold);
    margin-top: 15px;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.menu-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    text-align: left;
    border-top: 0px solid transparent;
}

.menu-card.active .menu-detail {
    max-height: 1000px; /* 十分な高さ */
    transition: max-height 0.8s ease-in;
    border-top: 1px solid rgba(212, 184, 110, 0.2);
    margin-top: 20px;
}

.detail-inner {
    padding-top: 20px;
    font-size: 0.85rem;
    color: #ccc;
    line-height: 2;
}

/* プレミアムコースの名前を英語併記へ微調整 */
[data-i18n="menu_premium_name"] {
    text-transform: uppercase;
}