/* --- 変数定義 (カラーパレット) --- */
:root {
    --bg-body: #fdfdfd;
    /* オフホワイト */
    --bg-dark: #1a1a1a;
    /* チャコールブラック */
    --text-main: #333333;
    --text-light: #888888;
    --accent-gold: #bfa378;
    /* シャンパンゴールド */
    --font-en-serif: 'Cormorant Garamond', serif;
    --font-en-sans: 'Montserrat', sans-serif;
    --font-jp: 'Noto Serif JP', serif;
}

/* --- リセット & 基本設定 --- */
body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.8;
    letter-spacing: 0.05em;
}

h1, h2, h3, h4 {
    margin: 0;
    font-weight: normal;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

button {
    font-family: inherit;
}

/* --- 共通コンテナ --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 20px;
}

/* --- セクション見出し --- */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: block;
    font-family: var(--font-en-sans);
    color: var(--accent-gold);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-heading {
    font-family: var(--font-jp);
    font-size: 2.2rem;
    color: var(--text-main);
}

/* --- ボタンデザイン --- */
.btn-elegant {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-family: var(--font-en-sans);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    background: transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #fff;
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-elegant:hover {
    color: var(--bg-dark);
    border-color: #fff;
}

.btn-elegant:hover::before {
    width: 100%;
}

/* 黒文字版ボタン */
.btn-elegant.dark {
    border-color: var(--text-main);
    color: var(--text-main);
}

.btn-elegant.dark::before {
    background: var(--text-main);
}

.btn-elegant.dark:hover {
    color: #fff;
    border-color: var(--text-main);
}

/* --- ヘッダー --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.3s, padding 0.3s;
    color: #fff;
    box-sizing: border-box;
    background: rgba(26, 26, 26, 0.85); /* 半透明ダーク */
    backdrop-filter: blur(10px); /* ガラスモーフィズム */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 上品なボトムボーダー */
}

/* ホームページはダーク背景（ヒーローとの隙間を白く見せない） */
body.home { background: var(--bg-dark); }
/* 常に背景色付きにするため、body:not(.home) の特別扱いは削除 */

.logo {
    font-family: var(--font-en-serif);
    font-size: 2rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.8;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
}

.nav-link.active .nav-en {
    color: var(--accent-gold);
}

.nav-en {
    font-family: var(--font-en-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.nav-jp {
    font-family: var(--font-jp);
    font-size: 0.6rem;
    margin-top: 4px;
    opacity: 0.8;
    letter-spacing: 0.05em;
}

/* --- Footer --- */
footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 80px 20px 30px;
    font-size: 0.9rem;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}
.footer-logo {
    font-family: var(--font-en-serif);
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    margin-bottom: 5px;
}
.footer-tagline {
    font-size: 0.8rem;
    color: #aaa;
    letter-spacing: 0.2em;
}
.footer-dl { display: flex; flex-direction: column; gap: 10px; }
.footer-dl dt { color: var(--accent-gold); font-size: 0.8rem; letter-spacing: 0.15em; margin-bottom: -5px; }
.footer-dl dd { margin: 0 0 10px 0; color: #ddd; }
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer-nav a { color: #ddd; transition: color 0.3s; }
.footer-nav a:hover { color: var(--accent-gold); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; color: #777;}

/* --- カートアイコン --- */
.nav-cart { position: relative; display: flex; align-items: center; color: #fff; padding: 4px; margin-right: 4px; transition: color .3s; }
.nav-cart:hover { color: var(--accent-gold); }
.nav-cart-count { position: absolute; top: -4px; right: -6px; min-width: 16px; height: 16px; background: var(--accent-gold); color: #fff; border-radius: 50%; font-size: .65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 3px; }

/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}
.hamburger span {
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s;
}

/* --- Mobile Nav (Drawer) --- */
.mobile-nav-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav {
    position: fixed; top: 0; right: -300px;
    width: 280px; height: 100%;
    background: var(--bg-dark);
    padding: 60px 30px; box-sizing: border-box;
    transition: right 0.4s cubic-bezier(0.8, 0, 0.2, 1);
    z-index: 1000; box-shadow: -5px 0 15px rgba(0,0,0,0.2);
}
.mobile-nav.open { right: 0; }
.mobile-nav-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px; color: #fff;
}
.mobile-nav-logo { font-family: var(--font-en-serif); font-size: 1.5rem; }
.mobile-nav-close { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.mobile-nav-link {
    display: flex; align-items: center; color: #fff; margin-bottom: 25px; gap: 15px; text-decoration: none;
}
.mobile-nav-en { font-family: var(--font-en-sans); font-size: 0.9rem; color: var(--accent-gold); letter-spacing: 0.1em;}
.mobile-nav-jp { font-size: 0.85rem; }
.mobile-nav-cta { margin-top: 40px; }
.mobile-nav-btn {
    display: block; width: 100%; text-align: center; background: var(--accent-gold);
    color: #fff; padding: 15px 0; border-radius: 4px; text-decoration: none; font-weight: 500;
}

/* --- feat-item-icon 内SVGのサイズ保証（スマホでアイコンが消えないよう） --- */
.feat-item-icon svg { width: 28px; height: 28px; display: block; }

/* --- Mobile Breakpoint --- */
@media (max-width: 768px) {
    header { padding: 15px 20px; }
    .nav-menu { display: none; }
    .hamburger { display: flex; }
    .container { padding: 50px 20px; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer-dl dt, .footer-dl dd { text-align: center; }
}

/* --- Floating Action Buttons (Mobile) --- */
.floating-actions {
    display: none;
}
@media (max-width: 768px) {
    .floating-actions {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
    .floating-btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 12px 0;
        color: #fff;
        font-size: 0.75rem;
        font-weight: 600;
        text-decoration: none;
    }
    .floating-btn-tel { background: #555; }
    .floating-btn-reserve { background: var(--accent-gold); }
    .floating-btn svg { margin-bottom: 4px; }
    
    /* body padding for floating action */
    body { padding-bottom: 60px; }
}