:root {
    --primary-color: #4A4A4A;
    --accent-color: #E6A4B4;
    --gold-color: #C5A059;
    --bg-color: #FDFBF7;
    --bg-pink: #FFF0F5;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', 'Noto Sans JP', sans-serif;
    color: var(--primary-color);
    background-color: var(--bg-color);
    margin: 0;
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', 'Noto Serif JP', serif;
    letter-spacing: 0.05em;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }

/* === Header === */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(253, 251, 247, 0.95);
    padding: 10px 0; /* ロゴに合わせて少し狭く */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

/* ロゴ画像の設定 */
.logo a { display: block; }
.logo img {
    height: 40px; /* PCでの高さ */
    width: auto;
}

/* ナビゲーション */
nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav a.nav-link { font-weight: 500; font-size: 0.9rem; letter-spacing: 0.05em; }
nav a:hover { color: var(--accent-color); }

/* Instagram Icon in Header */
.sns-icon a {
    font-size: 1.2rem;
    color: var(--primary-color);
}
.sns-icon a:hover { color: var(--accent-color); }

/* Hamburger */
.hamburger { display: none; }

/* === Language Dropdown (Updated) === */
.lang-dropdown-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

#lang-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    padding: 6px 25px 6px 12px;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-family: 'Noto Sans JP', sans-serif;
    cursor: pointer;
    outline: none;
    min-width: 100px; /* 最低限の幅 */
}

.arrow-icon {
    position: absolute;
    right: 10px;
    font-size: 0.7rem;
    color: var(--accent-color);
    pointer-events: none;
}

/* === Hero === */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('image/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 60px;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 15px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); line-height: 1.2; }
.hero p { font-size: 1.2rem; font-weight: 300; letter-spacing: 0.1em;}

/* Scroll Indicator */
.scroll_indicator {
    position: absolute;
    bottom: 30px;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* === Sections Common === */
.section { padding: 100px 5%; }
.bg-pink { background-color: var(--bg-pink); }
.container { max-width: 1000px; margin: 0 auto; }
.section_title { text-align: center; font-size: 2.5rem; color: var(--gold-color); margin-bottom: 40px; font-style: italic; }
.section_title2 { text-align: center; font-size: 2.5rem; color: var(--gold-color); margin-bottom: 40px; font-style: italic; }
.section_title3 { text-align: center; font-size: 2.5rem; color: var(--gold-color); margin-bottom: 40px; font-style: italic; }
.section_title4 { text-align: center; font-size: 2.5rem; color: var(--gold-color); margin-bottom: 40px; font-style: italic; }
.section_title5 { text-align: center; font-size: 2.5rem; color: var(--gold-color); margin-bottom: 40px; font-style: italic; }
.section-desc { text-align: center; margin-bottom: 50px; }

/* === Introspection (New) === */
.intro-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.intro-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.1rem;
    line-height: 2.2;
    color: #666;
}

/* Introspection内の画像ギャラリー */
.intro-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr; /* PCでは横並び */
    gap: 30px;
    margin-top: 50px; /* テキストとの距離 */
}

.intro-img img {
    width: 100%;
    height: 350px; /* 高さを揃える */
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    filter: brightness(0.9); /* 少し落ち着いたトーンに */
    transition: 0.3s;
}

.intro-img img:hover {
    filter: brightness(1); /* ホバーで明るく */
    transform: translateY(-5px);
}

/* === Story (Updated) === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img img { border-radius: 10px; box-shadow: 10px 10px 0 var(--accent-color); }
.about-text h3 { font-size: 1.5rem; margin-bottom: 20px; line-height: 1.4; }
.story-body p { margin-bottom: 15px; text-align: justify; }

/* === Menu Cards === */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.menu-category-card {
    display: block; position: relative; border-radius: 10px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); height: 300px;
}
.menu-category-card:hover img { transform: scale(1.1); }
.category-img { width: 100%; height: 100%; }
.category-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.category_label {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9); padding: 15px 30px;
    font-family: 'Playfair Display', serif; font-size: 1.2rem;
    letter-spacing: 0.1em; color: var(--primary-color);
    border: 1px solid var(--accent-color); white-space: nowrap;
}
.btn-map {
    display: inline-block; background: var(--primary-color); color: white;
    padding: 12px 30px; border-radius: 50px; font-size: 0.9rem;
}

/* === Album (New) === */
.album-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px;
}
.album-item img {
    width: 100%; height: 200px; object-fit: cover; border-radius: 5px;
    transition: 0.3s;
}
.album-item img:hover { opacity: 0.8; }
.insta-link-area { text-align: center; margin-top: 30px; }
.insta-btn-large {
    display: inline-block; border: 1px solid var(--primary-color);
    padding: 10px 25px; border-radius: 30px; font-size: 0.9rem;
}
.insta-btn-large:hover { background: var(--primary-color); color: white; }

/* === Access === */
.access-box {
    background: white; padding: 40px; border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); display: flex; gap: 40px;
}
.access-info, .access-map { flex: 1; }
.shop-name { font-size: 1.4rem; border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 20px;}
.highlight-text { color: var(--accent-color); font-weight: bold; background: #FFF0F5; padding: 2px 5px; }

/* Footer */
footer { background: var(--primary-color); color: white; text-align: center; padding: 40px 0; }
.social-links a { font-size: 1.2rem; margin: 0 10px; }
.copyright { margin-top: 20px; font-size: 0.8rem; opacity: 0.7; }

/* =========================================
   Mobile Responsive (Max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
    /* Header */
    .logo img { height: 30px; } /* スマホロゴサイズ */
    
    .hamburger { display: block; cursor: pointer; z-index: 1002; }
    .hamburger span { display: block; width: 25px; height: 2px; background-color: var(--primary-color); margin: 5px 0; transition: 0.3s; }
    
    .hamburger.active span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

    /* Nav Drawer */
    nav {
        position: fixed; top: 0; right: -100%; width: 75%; height: 100vh;
        background: white; box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        display: flex; align-items: center; justify-content: center;
        transition: 0.3s; z-index: 1001;
    }
    nav.active { right: 0; }
    nav ul { flex-direction: column; text-align: center; gap: 30px; width: 100%; }
    nav a.nav-link { font-size: 1.1rem; }
    
    /* Instagram Icon in Drawer */
    .sns-icon { margin-bottom: 10px; }
    .sns-icon a { font-size: 1.5rem; }

    /* Dropdown Fix for Mobile */
    .lang-dropdown-wrapper {
        margin-top: 20px;
        width: 100%;
        justify-content: center;
    }
    
    #lang-select {
        font-size: 1rem;
        padding: 10px 35px 10px 15px;
        width: auto; /* 幅を自動に */
        min-width: 200px; /* ある程度の幅は確保 */
        max-width: 80%; /* 画面からはみ出さない */
        text-align: center;
        border-color: #ddd; /* 薄くして圧迫感を減らす */
    }
    .arrow-icon { right: calc(50% - 90px); /* 矢印の位置を目分量で調整 */ }

    /* Layout Adjustments */
    .hero h1 { font-size: 2.2rem; }
    .section { padding: 60px 5%; }
    .about-grid, .menu-grid, .access-box { grid-template-columns: 1fr; flex-direction: column; }
    .about-img { order: -1; }
    .intro-text { font-size: 0.95rem; text-align: left; }
    
    /* Album Mobile */
    .album-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .album-item img { height: 150px; }
}

@media (max-width: 768px) {
    /* ... 既存のコード ... */

    /* Introspection画像をスマホで縦並びに */
    .intro-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .intro-img img {
        height: 250px; /* スマホでは少し高さを抑える */
    }
    
    /* Albumは既存の grid-template-columns: 1fr 1fr; で
       自動的に4行になりますので、変更不要です */
}

/* === Menu Page Styles === */

/* ページタイトルヘッダー */
.page-header {
    background-color: var(--bg-pink);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--gold-color);
    letter-spacing: 0.2em;
    margin: 0;
}

/* メニューリストのデザイン */
.menu-page-container {
    padding: 60px 20px;
}

.menu-category-section {
    margin-bottom: 60px;
}

.category-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}
.category-title2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}
.category-title3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.menu-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 0.9rem;
    color: #888;
}
.menu-intro2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 0.9rem;
    color: #888;
}
.menu-intro3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 0.9rem;
    color: #888;
}

.menu-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.menu-list-item {
    border-bottom: 1px dotted #ccc;
    padding-bottom: 15px;
}

.item-name {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.price {
    font-family: 'Playfair Display', serif;
    color: var(--gold-color);
    font-weight: bold;
}

.item-desc {
    font-size: 0.85rem;
    color: #888;
    margin: 5px 0 0 0;
}

.menu-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 60px auto;
    width: 50%;
}

/* === Top Page Menu Cards (New) === */
.menu-category-card {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.menu-category-card:hover {
    transform: translateY(-5px);
}

.category-img {
    position: relative;
    height: 300px; /* カードの高さ */
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.menu-category-card:hover img {
    transform: scale(1.1);
}

.category_label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 30px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    border: 1px solid var(--accent-color);
    white-space: nowrap;
}
.category_label2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 30px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    border: 1px solid var(--accent-color);
    white-space: nowrap;
}
.category_label3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 30px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    border: 1px solid var(--accent-color);
    white-space: nowrap;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .category-img { height: 200px; }
    .page-header h1 { font-size: 2rem; }
    .menu-list-grid { grid-template-columns: 1fr; } /* スマホは1列 */
}

/* === Menu Anchor Navigation (New) === */

.menu-anchor-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px; /* 下のコンテンツとの余白 */
    flex-wrap: wrap; /* スマホで折り返す */
}

.menu-anchor-nav a {
    display: inline-block;
    border: 1px solid var(--accent-color);
    color: var(--primary-color);
    background: white;
    padding: 10px 30px;
    border-radius: 50px;
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: 0.3s;
}

.menu-anchor-nav a:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(230, 164, 180, 0.4);
}

/* ページ内リンクで飛んだ時に、固定ヘッダーに隠れないようにする調整 */
#cafe, #alcohol, #food {
    scroll-margin-top: 100px; /* ヘッダーの高さ分+余白 */
}

/* スマホ調整 */
@media (max-width: 768px) {
    .menu-anchor-nav a {
        font-size: 0.8rem;
        padding: 8px 20px;
        width: 100%; /* スマホではボタンを横幅いっぱいにしても押しやすい */
        text-align: center;
        max-width: 200px; /* 広がりすぎないように制限 */
    }
    
    .menu-anchor-nav {
        gap: 10px;
    }
}

/* === Back to Top Button === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--gold-color); /* テーマカラーのゴールド */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 2000; /* 最前面に表示 */
    opacity: 0;      /* 最初は隠す */
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.back-to-top i {
    font-size: 1.2rem;
}

/* 表示クラスがついた時の状態 */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-color); /* ホバー時はダークグレーに */
    transform: translateY(-5px);
}

/* スマホ表示時の調整 */
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* =========================================
   Mobile Responsive (Max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
    /* --- 既存のコード（ヘッダーや文字サイズなど）はそのまま残してください --- */

    /* ... (中略) ... */


    /* ▼▼▼ 今回の追加・修正箇所 ▼▼▼ */

    /* ① Googleマップのはみ出し防止 */
    .access-map iframe {
        width: 100% !important; /* 強制的に画面幅に合わせる */
        height: 300px; /* スマホで見やすい高さに調整 */
    }

    /* ② メニュー画像の余白削除 */
    .menu-category-card {
        height: 250px; /* スマホでは少し高さを抑えて見やすく */
        display: flex; /* 余白を消すためにFlexbox化 */
        flex-direction: column;
    }

    .category-img {
        width: 100%;
        height: 100%;
        display: block;
    }

    .category-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block; /* 隙間の原因となるインライン要素を解除 */
        vertical-align: bottom; /* 念の為の下部余白削除 */
    }

    /* ▲▲▲ 追加箇所ここまで ▲▲▲ */
}

.note {
  display: block;
  margin-top: 0.5em;
  font-size: 0.62em;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  font-family: "Playfair Display", "Helvetica Neue", serif;
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  .note {
    font-size: 0.7em;
    letter-spacing: 0.06em;
  }
}