/* Instagram feed をギャラリー枠に合わせて表示 */
#gallery .container > * {
    width: 100%;
}
/*
Theme Name: MADE MY DAY Theme
Theme URI: https://example.com/
Author: MADE MY DAY
Author URI: https://example.com/
Description: メイドマイデイ公式サイト用WordPressテーマ。トップのデザインを維持しつつ、Newsと飲食メニューをカスタム投稿で管理。
Version: 1.0.0
Text Domain: mmd
*/

/* ===== 既存スタイル（元の style.css を移植）===== */
/* 以下、既存の style.css 内容をそのまま配置 */
/* -- START: imported from original style.css -- */
.sns-section {
    background: #F3FFF2;
    padding: 4rem 0;
}

.sns-section .section-title {
    text-align: left; /* 他セクションと揃える */
    font-family: 'Noto Serif JP', serif; /* 明朝体 */
    font-size: 2rem;
    color: #575656;
}

.sns-section .section-title::after { display: none; }

.sns-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0; /* 仕切り線で区切るためギャップは0 */
    max-width: 720px;
    margin: 1.5rem auto 0 auto;
}

.sns-item {
    padding: 0 2.5rem; /* PC: パディングを約倍に拡大 */
    position: relative;
}

/* アイテム間の縦仕切り（最初と最後は非表示） */
.sns-item:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 28px;
    width: 1px;
    background: #cfcfcf;
}

.sns-icon {
    width: 48px; /* PCで大きく */
    height: 48px;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .sns-icon { width: 26px; height: 26px; } /* SP: アイコン小さく */
    .sns-item { padding: 0 1.5rem; } /* SP: 余白を少し大きく */
    .sns-item:not(:first-child)::before { height: 24px; }
}
/* リセット CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* ユーティリティクラス */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    margin: 1rem auto;
    border-radius: 2px;
}

/* ヘッダー */
.header {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.navbar {
    padding: 1.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo .logo-img {
    height: 40px;
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-header-link {
    display: flex;
    align-items: center;
    padding: 0.3rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-header-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-header-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-header-link:hover .social-header-icon {
    transform: scale(1.1);
}

/* オーバーレイ */
.hamburger-overlay {
    position: fixed;
    top: 63px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #C6EBEA;
    display: none;
    z-index: 9999; /* 最前面に表示 */
}

.hamburger-overlay.active { display: block; }

.overlay-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center; /* PC: 縦方向中央 */
    justify-content: center;
}

/* PC用の設定 */
@media (min-width: 769px) {
    .hamburger-overlay {
        top: 94px; /* PC用の位置 */
    }
    
    /* ハンバーガーメニューが開いた時にSNSアイコンを非表示 */
    .hamburger.active ~ * .social-header {
        display: none;
    }
}

/* ハンバーガーメニューが開いた時にヒーローの画像集合を非表示（PCのみ） */
.hamburger-overlay.active ~ main .hero-menu {
    display: none;
}

@media (max-width: 768px) {
    .hamburger-overlay.active ~ main .hero-menu {
        display: block; /* スマホでは表示を維持 */
    }
}

.overlay-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: center; /* PC中央揃え */
}

.overlay-link {
    text-decoration: none;
    color: #7B7B7B;
    font-family: 'Noto Serif JP', serif; /* 明朝体 */
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
}

@media (max-width: 768px) {
    .overlay-inner { 
        align-items: flex-start; /* スマホ: 上寄せ */
        justify-content: flex-start; 
        padding-top: 2rem; 
    }
    .overlay-menu { text-align: left; padding-left: 2rem; }
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ff6b6b;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ハンバーガーメニュー */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px; /* 間隔を広げる */
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
    height: 40px;
    align-items: center;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bar {
    width: 25px;
    height: 1px;
    background: #9c9c9c;
    transition: 0.3s;
    border-radius: 2px;
}

/* PCでもバッテンアニメーション */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ヒーローセクション */
.hero {
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* background: #f8f9fa; */
    margin-top: 0;
    padding-top: 0;
    /* 影を削除 */
}

.hero-container {
    position: relative;
    width: 100%;
    height: 80vh;
}

.hero-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* 背景画像 (最下層) */
.hero-bg {
    z-index: 101;
    height: auto;
    min-height: 100vh;
    overflow: hidden;
}

/* PCでは画像集合の下端に合わせる */
@media (min-width: 1025px) {
    .hero { overflow: hidden; }
    .hero-bg {
        min-height: auto;
        /* height: 100%; */
    }
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    opacity: 1;
    position: relative;
    top: 0;
}

/* 文字レイヤー (2層目) */
.hero-title {
    z-index: 102;
    opacity: 0;
    transform: translateY(-100px);
    animation: slideDown 1s ease-out 2s forwards;
    align-items: flex-start;
    width: 100%;
    overflow: hidden;
}

.hero-title-img {
    width: 100%;
    height: auto;
    max-height: 50vh;
    object-fit: contain;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.3));
}

/* 画像集合レイヤー (3層目) */
.hero-menu {
    z-index: 1500;
    opacity: 0;
    transform: translateY(-100px);
    animation: slideDown 1s ease-out 1s forwards;
    align-items: flex-end;
    padding-bottom: 0;
    width: 100%;
    overflow: visible;
    top: -60px;
}

.hero-menu-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: bottom;
    /* filter: drop-shadow(4px 4px 12px rgba(0, 0, 0, 0.4)); */
    overflow: visible;
}

/* 文章レイヤー (最上層) */
.hero-desc {
    z-index: 1550;
    opacity: 0;
    animation: fadeIn 1s ease-out 3s forwards;
    align-items: center;
    /* padding-top: 10%; */
    overflow: hidden;
}

.hero-desc-img {
    width: auto;
    height: auto;
    max-width: 55%;
    /* filter: drop-shadow(1px 1px 4px rgba(0, 0, 0, 0.2)); */
}

/* アニメーション定義 */
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* ホバー効果 */
.hero-menu:hover .hero-menu-img {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* PCでは画像集合のホバー拡大を無効化 */
@media (min-width: 1025px) {
    .hero-menu:hover .hero-menu-img {
        transform: none !important;
    }
}

/* PC表示ではヒーロー内のドロップシャドウを無効化してフラットに */
@media (min-width: 1025px) {
    .hero-title-img,
    .hero-menu-img,
    .hero-desc-img {
        filter: none !important;
    }
}

.hero-title:hover .hero-title-img {
    transform: scale(1.01);
    transition: transform 0.3s ease;
}

/* ニュースセクション */
.news {
    padding: 5rem 0;
    background: #ffffff;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 500;
    color: #575656;
    margin-bottom: 0.5rem;
    text-align: left;
}

.news-list {
    margin-bottom: 2rem;
}

.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.news-item-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    font-weight: 400;
    color: #575656;
}

.news-date {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    color: #575656;
    white-space: nowrap;
    margin-left: 1rem;
}

.view-all-news {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #575656;
    text-decoration: none;
    transition: all 0.3s ease;
}

.arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.arrow-circle svg {
    width: 20px;
    height: 20px;
    color: #575656;
}

.view-all-news:hover {
    opacity: 0.7;
}

.view-all-news:hover .arrow-circle {
    transform: translateX(3px);
}

/* Conceptセクション */
.concept {
    padding: 5rem 0 0 0;
    background: #E5ECED;
}

.concept-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.concept-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 500;
    color: #575656;
    margin-bottom: 0.5rem;
    text-align: left;
}

.concept-content {
    margin-top: 2rem;
}

.concept-content p {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #575656;
    margin-bottom: 1.5rem;
}

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

/* Facility Descriptionセクション */
.facility {
    padding: 5rem 0;
    background: #E5ECED;
}

.facility-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.facility-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 500;
    color: #575656;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
    text-align: left;
}

.facility-content {
    margin-top: 2rem;
}

.facility-content p {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #575656;
    margin-bottom: 1.5rem;
}

.facility-content p:last-child {
    margin-bottom: 0;
}

/* Facility 画像レイアウト */
.facility-gallery {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto 0 auto;
    display: grid;
    grid-template-columns: 680fr 420fr; /* PC: 680:420の比率 */
    gap: 0;
}

.gallery-left,
.gallery-right {
    position: relative;
    display: grid;
    grid-template-rows: 1fr 1fr;
    height: 100%;
}

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


/* PC重ね画像：右列の中央に右寄せで配置し、左列に少し重ねる */
.gallery-overlay-pc {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: min(110%);
    height: auto;
    pointer-events: none;
}

/* SP重ね画像：左カラムの2枚の中央を起点に右寄せ */
.gallery-overlay-sp {
    display: none;
}

@media (max-width: 768px) {
    .facility-gallery {
        grid-template-columns: 1fr;
        gap: 0;
        overflow: visible;
    }

    .gallery-left {
        grid-template-rows: auto auto;
        justify-items: start;
        padding-right: 20px; /* 左スタックにのみ右余白を付与 */
    }

    .img-floor,
    .img-drink {
        width: auto;
        max-width: 85%;
        justify-self: start; /* 左寄せ */
    }

    .gallery-right {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 3番目の段：横並び */
        grid-template-rows: auto;
        justify-content: end; /* 内部の要素を右寄せ */
        align-items: stretch;
        column-gap: 0;
        /* 画面全幅に対して右端に揃える */
        justify-self: end;
        width: 75%;
    }
    
    /* スマホ時のHTMLの順番変更（受付が先、シュアショットが後の場合） */
    .img-reception {
        order: 2; /* 右側に配置 */
    }
    
    .img-sureshot {
        order: 1; /* 左側に配置 */
    }

    .img-sureshot,
    .img-reception {
        width: 100%;
        height: auto; /* トリミングさせない */
        object-fit: contain; /* 画像全体を表示 */
    }

    /* 高さ揃え */
    .gallery-right { align-items: stretch; }

    /* PC重ね画像は非表示、SP用を表示して右寄せ重ね */
    .gallery-overlay-pc { display: none; }
    .gallery-overlay-sp {
        display: block;
        position: absolute;
        right: 5%;
        top: 50%;
        transform: translate(15%, -50%); /* 少し右へはみ出させる */
        width: 55%;
        height: auto;
        pointer-events: none;
    }

    /* ギャラリー内の全画像をSPではトリミングしない */
    .facility-gallery .gallery-img {
        height: auto;
        object-fit: contain;
    }
}

/* About セクション */
.about {
    padding: 6rem 0;
    background: #f8f9fa;
    scroll-margin-top: 70px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

/* メニューセクション */
.menu {
    padding: 6rem 0;
    background: #FAF9DD; /* Facility後、背景色を薄い黄色系に */
    scroll-margin-top: 70px;
}

.menu-category {
    margin-bottom: 4rem;
}

/* Food Menu の説明文 */
.menu-lead {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    line-height: 1.9;
    color: #575656;
    margin: 0 0 1.25rem 0;
}

.menu-category-title {
    font-family: 'Playfair Display', serif; /* Conceptと同フォント */
    font-size: 2rem;
    font-weight: 500;
    text-align: left; /* 左寄せ */
    margin-bottom: 1.5rem;
    color: #575656; /* Conceptに合わせた色味 */
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* PC: 4列 */
    gap: 2rem;
    margin-bottom: 3rem;
}

/* New Menu 専用グリッド（スマホ2列対応） */
.new-menu-grid {
    grid-template-columns: repeat(4, 1fr);
}

.menu-item {
    background: transparent; /* 背景なし */
    border-radius: 0; /* 角丸なし */
    overflow: visible;
    box-shadow: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative; /* バッジ配置用 */
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.menu-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* 正方形表示 */
    object-fit: cover; /* 必要に応じてトリミング */
    transition: none; /* ホバー効果なし */
    border-radius: 0; /* 角を四角に */
}

.menu-item:hover .menu-img {
    transform: scale(1.05);
}

.menu-item-title {
    padding: 0; /* 指定どおり0 */
    font-size: 1rem;
    font-weight: 400;
    text-align: left; /* 左寄せ */
    color: #575656;
    font-family: 'Noto Serif JP', serif; /* コンセプトと同系 */
}

/* NEWバッジ */
.badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #DB0101;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    font-family: 'Noto Serif JP', serif; /* 明朝体 */
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 0; /* 角丸なし */
    z-index: 2;
}

/* PICK UPバッジ */
.badge-pickup {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #DB5D01;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    font-family: 'Noto Serif JP', serif; /* 明朝体 */
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 0;
    z-index: 2;
}

/* 価格表示 */
.menu-item-info {
    padding: 0.25rem 0 0.75rem; /* 背景なしでシンプルに */
}

.menu-item-price {
    font-family: 'Playfair Display', serif; /* 統一 */
    font-size: 0.95rem;
    color: #575656;
    text-align: left; /* 左寄せ */
    margin-top: 0.25rem; /* 商品名と少しだけ余白 */
}

/* ホバー効果を無効化 */
.menu-item:hover {
    transform: none;
    box-shadow: none;
}

.menu-item:hover .menu-img {
    transform: none;
}

/* 店内セクション */
.store {
    display: none; /* storeセクション削除代替（保険） */
}
/* メニュー→ギャラリーのブリッジコピー */
.menu-gallery-bridge {
    background: transparent; /* 背景なしで上下のセクション色を見せる */
    padding: 0; /* PC: 余白なし */
    margin-top: -7.5rem; /* PC: 上側に大きく重ねる */
    margin-bottom: 0; /* PC: 余白なし */
    position: relative;
    z-index: 2;
}

.menu-gallery-bridge p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 3.6vw, 2.4rem); /* PCで少し大きめ */
    line-height: 1.5;
    color: #575656;
}

@media (max-width: 768px) {
    .menu-gallery-bridge {
        padding: 0; /* SPも余白なし */
        margin-top: -3.7rem; /* 指定どおり */
        margin-bottom: 0; /* SPも余白なし */
    }

    .menu-gallery-bridge p {
        font-size: 1.2rem; /* SPのフォントサイズ */
    }
}

/* ギャラリー */
.gallery-section {
    background: #ffffff;
    padding: 4rem 0 6rem;
}

.gallery-section .section-title {
    text-align: left;
    font-family: 'Playfair Display', serif; /* Conceptと同 */
    font-weight: 500;
    font-size: 2rem; /* Concept参照 */
    color: #575656;
}

.gallery-section .section-title::after {
    display: none; /* 下線を消す */
}

.gallery-img-full {
    width: 100%;
    height: auto;
    display: block;
}

.store-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.store-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.store-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.store-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.store-item-title {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    color: #2c3e50;
}

/* コンタクトセクション */
/* 旧 contact セクションは使用しない */
.contact { display: none; }
/* Store information */
.store-info {
    padding: 6rem 0;
    background: #FFF2FD;
    scroll-margin-top: 70px;
}

.store-info .section-title {
    text-align: left;
    font-family: 'Noto Serif JP', serif; /* 明朝体 */
    font-size: 2rem;
    color: #575656;
}

.store-info .section-title::after {
    display: none; /* 下のボーダー削除 */
}

.store-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start; /* 右側上寄せ */
}

.map-square {
    width: 100%;
    aspect-ratio: 1 / 1; /* 正方形 */
    background: #eee;
    overflow: hidden;
    border-radius: 0; /* 角丸なし */
}

.map-square iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.store-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.store-name {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 1.6rem;
    color: #575656;
}

.store-divider {
    height: 1px;
    background: #707070;
    margin: 1em 0; /* 指定：上下1em */
}

/* モバイル時に住所と電話の間のボーダーも表示 */
.store-divider--mobile { display: none; }

.store-hours p,
.store-address p {
    font-family: 'Noto Serif JP', serif;
    color: #575656;
    line-height: 1.7;
}

.spacer-1em { height: 1em; }

@media (max-width: 768px) {
    .store-info-grid {
        grid-template-columns: 1fr; /* 上:地図 下:テキスト */
    }

    .store-divider--mobile { display: block; }
}

.contact .section-title {
    color: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h3,
.social-links h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #4ecdc4;
}

.contact-info p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* フッター */
.footer {
    background: #ffffff;
    color: #333;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4em; /* 各要素間に2emの余白 */
}

.footer-header-logo {
    text-align: center;
}

.footer-header-logo-img {
    height: 40px;
    width: auto;
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.footer-mmd-logo,
.footer-sideebot-logo {
    height: 70px; /* ヘッダーロゴと同じ高さに */
    width: auto;
}

.footer-divider {
    width: 3px;
    height: 70px; /* ロゴの高さに合わせて調整 */
    background: #707070;
}

.footer-caption,
.footer-copyright {
    text-align: center;
}

.footer-caption p,
.footer-copyright p {
    font-family: 'Noto Serif JP', serif; /* 明朝体 */
    font-size: 0.9rem;
    color: #575656;
    margin: 0;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .social-header {
        gap: 0.8rem;
    }
    
    .social-header-icon {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 768px) {
    .menu-grid,
    .new-menu-grid {
        grid-template-columns: repeat(2, 1fr); /* SP: 2列 */
    }

    .navbar {
        padding: 1rem 0;
    }

    .hero {
        margin-top: 0;
        padding-top: 0;
        height: 100vh;
    }
    
    .hero-menu {
        top: 0;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        padding: 2rem 0;
        display: flex;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    /* スマホでは既存のナビメニューは非表示 */
    .nav-menu { display: none !important; }

    .hamburger {
        height: 30px;
        gap: 10px; /* スマホでも間隔を広げる */
    }
    
    /* スマホでのバッテン位置調整 */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(5.5px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        transform: translateY(-5.5px) rotate(-45deg);
    }

    .nav-logo .logo-img {
        height: 30px;
        margin-left: 0;
        padding-top: 5px;
    }

    .nav-container {
        align-items: center;
    }

    .social-header {
        display: none;
    }

    /* スマホでのヒーローレイアウト */
    .hero-container {
        height: 100vh;
        overflow: hidden;
    }
    
    .hero-layer {
        height: 100%;
        min-height: 100%;
    }
    
    .hero-bg {
        height: 100%;
        min-height: 100vh;
    }
    
    .hero-bg-img {
        width: 100%;
        height: 100%;
        min-height: 100vh;
        object-fit: cover;
        object-position: center;
        position: relative;
        top: 0;
    }

    .hero-title {
        align-items: flex-start;
        padding-top: 30px;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .hero-title-img {
        width: 100%;
        max-height: 25vh;
        object-fit: contain;
    }

    .hero-menu {
        align-items: center;
        justify-content: center;
        padding: 0;
        width: 100%;
        overflow: hidden;
    }

    .hero-menu-img {
        width: auto;
        height: 100vh;
        max-width: none;
        object-fit: cover;
        object-position: center;
    }

    .hero-desc {
        padding-top: 15%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-desc-img {
        max-width: 85%;
    }

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

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

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .news-date {
        margin-left: 0;
        font-size: 0.9rem;
    }

    .concept-title {
        font-size: 1.8rem;
    }

    .concept-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .facility-title {
        font-size: 1.8rem;
        margin-top: 2rem;
    }

    .facility-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr); /* SP: 常に2列 */
        gap: 1.5rem;
    }

    .store-gallery {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-info {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr); /* 480px以下でも2列 */
    }

    .social-icons {
        justify-content: center;
    }
    
    /* より小さな画面でのヒーロー調整 */
    .nav-logo .logo-img {
        height: 25px;
    }
    
    .hero-title-img {
        width: 100%;
        max-height: 20vh;
    }
    
    .hero-menu-img {
        height: 100vh;
    }
    
    .hero-desc {
        padding-top: 15%;
    }
    
    .hero-desc-img {
        max-width: 85%;
    }
}

/* スクロールアニメーション */
@media (prefers-reduced-motion: no-preference) {
    .menu-item,
    .store-item {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }

    .menu-item:nth-child(even) {
        animation-delay: 0.1s;
    }

    .menu-item:nth-child(3n) {
        animation-delay: 0.2s;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ローディングアニメーション */
.menu-img,
.store-img,
.hero-bg-img,
.hero-title-img,
.hero-desc-img,
.hero-menu-img {
    transition: opacity 0.3s ease;
}

.menu-img:not([src]),
.store-img:not([src]),
.hero-bg-img:not([src]),
.hero-title-img:not([src]),
.hero-desc-img:not([src]),
.hero-menu-img:not([src]) {
    opacity: 0;
}

/* フォーカス管理 */
a:focus,
button:focus {
    outline: 2px solid #4ecdc4;
    outline-offset: 2px;
}

/* スムーススクロール効果を改善 */
section {
    scroll-margin-top: 80px;
}
/* -- END: imported from original style.css -- */

/* ===== 追加: News アーカイブ/シングルのレイアウト ===== */
.news-archive .news-title,
.single-news .news-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 500;
    color: #575656;
    text-align: left;
}

.news-archive .pagination {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 2rem;
}

.news-archive .pagination a,
.news-archive .pagination span {
    padding: 6px 10px;
    color: #575656;
    border: 1px solid #e0e0e0;
    text-decoration: none;
}

.single-news .news-content {
    font-family: 'Noto Serif JP', serif;
    color: #575656;
    line-height: 1.9;
    margin-top: 1.5rem;
}

/* 段落の余白（全要素リセットにより p の margin が消える対策） */
.single-news .news-content p {
    margin: 0 0 1.2rem;
}

.single-news .back-archive {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    font-family: 'Noto Serif JP', serif;
    color: #575656;
    text-decoration: none;
}

.single-news .back-archive:hover .arrow-circle {
    transform: translateX(-3px);
}

/* ===== 追加: メニュー モーダル（全画面表示） ===== */
.mmd-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}
.mmd-modal-overlay.active { display: flex; }

.mmd-modal {
    background: transparent; /* 画像に幅を合わせるため背景は透過 */
    max-width: none;
    width: auto;
    max-height: 90vh;        /* 画面に応じて可変の上限 */
    overflow: hidden;
    position: relative;
    display: inline-flex;    /* コンテンツ幅にフィット */
    flex-direction: column;
    box-sizing: border-box;
    align-items: center;      /* 子要素（画像・情報）を中央寄せ */
}

.mmd-modal-image {
    flex: 0 0 auto;          /* 高さは中身に応じる */
    display: flex;
    align-items: center;
    justify-content: center;
}

.mmd-modal-image img {
    display: block;
    max-height: 80vh;        /* 画像の最大高さ 80% */
    width: auto;             /* 横幅は画像比率に従う */
    height: auto;
    max-width: 90vw;         /* 画面横からはみ出さない */
    object-fit: contain;     /* トリミングしない */
}

.mmd-modal-info {
    flex: 0 1 auto;          /* コンテンツ量に応じる（必要なら収縮） */
    max-height: 20vh;        /* 上限は残り20%目安 */
    min-height: 0;           /* 小さい画面でも縮むように */
    background: #FAF9DD;
    padding: 1rem 1.25rem;
    overflow: auto;          /* テキストが多い場合にスクロール */
    width: 100%;
    box-sizing: border-box;
}

.mmd-modal-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.1rem;
    color: #575656;
}

.mmd-modal-price {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #575656;
}

.mmd-modal-note {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.95rem;
    color: #575656;
    margin-top: 0.4rem;
    white-space: pre-wrap;
}

.mmd-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0,0,0,0.55);
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    line-height: 36px;
}


