/**
 * るし庵 - 西村屋風プレミアムデザイン V2（完全改善版）
 *
 * 改善内容:
 * - 白背景ベースの和モダンデザイン
 * - 余白を大幅に拡大（120px以上）
 * - 明朝体・筆文字フォント採用
 * - 縦書きタイトル
 * - スクロールアニメーション
 * - ハンバーガーメニュー
 * - 左右交互レイアウト
 */

/* ==========================================================================
   1. リセット & 基本スタイル
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif JP', 'Yu Mincho', '游明朝', 'YuMincho', serif;
    background: #ffffff;
    color: #333333;
    line-height: 2;
    letter-spacing: 0.1em;
    font-size: 16px;
    overflow-x: hidden;
}

/* スムーズスクロール */
html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   2. ローディングアニメーション（無効化 - ユーザーの要望により）
   ========================================================================== */

.page-loading,
#page-loading {
    display: none !important;
}

/* .page-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.8s ease-out;
}

.page-loading.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-logo {
    width: 300px;
    height: auto;
    animation: logoFadeIn 1s ease-in-out;
}

@keyframes logoFadeIn {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
} */

/* ==========================================================================
   3. 固定ヘッダー（ミニマル）
   ========================================================================== */

/* ヘッダーを body 直下に移動したので、親要素の transform は不要 */

/* 親要素のtransformを無効化（position: fixedが正しく動作するように） */
body,
html,
.wp-site-blocks,
main,
#page,
.entry-content,
[class*="wrapper"],
.wp-block-group {
    transform: none !important;
}

/* テーマのデフォルトヘッダー（#masthead）- 表示（常に表示） */
#masthead,
#masthead.site-header,
header#masthead {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* より詳細度の高いセレクターで .site-header.scrolled にも適用 */
.site-header,
.site-header.scrolled,
header.site-header,
header.site-header.scrolled,
#masthead,
#masthead.scrolled {
    pointer-events: none !important;
}

/* ヘッダー内でクリック可能にする必要がある要素 */
#masthead a,
#masthead button,
#masthead nav,
#masthead .wp-block-navigation,
#masthead .wp-block-site-logo,
#masthead .wp-block-site-title,
.site-header a,
.site-header button,
.site-header nav,
.site-header .wp-block-navigation,
.site-header .wp-block-site-logo,
.site-header .wp-block-site-title,
.site-header.scrolled a,
.site-header.scrolled button,
.site-header.scrolled nav,
.site-header.scrolled .wp-block-navigation,
.site-header.scrolled .wp-block-site-logo,
.site-header.scrolled .wp-block-site-title {
    pointer-events: auto !important;
}

/* ナビゲーションメニューボタンが確実にクリック可能になるように */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
    pointer-events: auto !important;
    position: relative !important;
    z-index: 100000 !important;
}

#masthead.site-header .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1200px;
    margin: 0 auto;
}

/* カスタムヘッダー（entry-content内）を表示 - 白背景に固定 */
.entry-content > header.site-header,
main > .entry-content > header.site-header,
.entry-content .site-header.rushian-custom-header {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 15px 40px !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease !important;
}

/* 以前のスタイル（使用しない）
.entry-content > header.site-header,
main > .entry-content > header.site-header,
.entry-content .site-header.rushian-custom-header {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 15px 40px !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease !important;
} */

/* スクロール後：白背景を維持 */
.entry-content > header.site-header.scrolled,
main > .entry-content > header.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15) !important;
}

/* ナビゲーションリンク - ダークカラーに変更 */
.entry-content > header.site-header nav a,
.entry-content > header.site-header .header-nav a,
.entry-content > header.site-header .lang-switcher a,
.entry-content > header.site-header .site-logo {
    color: #333 !important;
    text-decoration: none !important;
    transition: opacity 0.3s !important;
}

.entry-content > header.site-header nav a:hover,
.entry-content > header.site-header .header-nav a:hover,
.entry-content > header.site-header .lang-switcher a:hover {
    opacity: 0.7 !important;
}

/* 「ご予約はこちら」ボタン */
.entry-content > header.site-header .reservation-button,
.entry-content > header.site-header a[href*="reservation"],
.entry-content > header.site-header a[href*="contact"] {
    background: linear-gradient(135deg, #c9a050, #a07830) !important;
    color: #fff !important;
    padding: 10px 25px !important;
    border-radius: 5px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.entry-content > header.site-header .reservation-button:hover,
.entry-content > header.site-header a[href*="reservation"]:hover,
.entry-content > header.site-header a[href*="contact"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(201, 160, 80, 0.4) !important;
    opacity: 1 !important;
}

/* カスタムヘッダーのロゴ（削除：WordPressの標準ロゴ機能を使用） */
/* .entry-content .site-header .site-logo {
    font-size: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    writing-mode: horizontal-tb !important;
    background-image: url('http://rushian.local/wp-content/uploads/2025/12/S__50896899-編集済み.png') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    width: 120px !important;
    height: 63px !important;
    filter: brightness(0) invert(1) !important;
    display: block !important;
    text-decoration: none !important;
} */

.header-nav {
    display: flex !important;
    align-items: center !important;
    gap: 40px !important;
}

/* 言語切り替えを非表示 */
.lang-switcher {
    display: none !important;
}

/* .lang-switcher {
    display: flex !important;
    gap: 10px !important;
    font-size: 12px !important;
    letter-spacing: 0.1em !important;
}

.lang-switcher a {
    color: #888888 !important;
    text-decoration: none !important;
    transition: color 0.3s !important;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: #333333 !important;
} */

.reservation-button {
    display: inline-block !important;
    padding: 12px 30px !important;
    background: #333333 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px !important;
    letter-spacing: 0.15em !important;
    transition: all 0.3s !important;
    border-radius: 2px !important;
}

.reservation-button:hover {
    background: #8B7355 !important;
    transform: translateY(-2px) !important;
}

/* ハンバーガーメニュー */
.hamburger-menu {
    width: 30px !important;
    height: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    cursor: pointer !important;
}

.hamburger-menu span {
    width: 100% !important;
    height: 2px !important;
    background: #333333 !important;
    transition: all 0.3s !important;
}

.hamburger-menu:hover span {
    background: #8B7355 !important;
}

/* ==========================================================================
   4. ヒーローセクション（完全改善版）
   ========================================================================== */

.rushian-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px; /* ヘッダーの高さ分 */
}

/* wp-block-cover の場合 */
.rushian-hero.wp-block-cover {
    min-height: 100vh;
}

/* 内部コンテナ - 中央配置 */
.rushian-hero .wp-block-cover__inner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px); /* ヘッダー分を引く */
    padding-top: 80px; /* ヘッダー分の余白 */
    padding-bottom: 40px;
}

.rushian-hero .wp-block-cover__image-background {
    animation: kenburns 30s ease-out infinite alternate;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-logo-container {
    text-align: center;
    animation: heroFadeIn 2s ease-out;
    margin-top: 0; /* 上すぎるのを修正（元: -60px） */
    padding-top: 0;
}

@keyframes heroFadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-logo-symbol {
    display: none !important;
}

@keyframes symbolRotate {
    0% { transform: rotate(-180deg) scale(0); opacity: 0; }
    100% { transform: rotate(0) scale(1); opacity: 1; }
}

.hero-logo-main {
    /* テキストを非表示 */
    font-size: 0;
    text-indent: -9999px;
    overflow: hidden;
    writing-mode: horizontal-tb;

    /* ロゴ画像を背景として表示 */
    background-image: url('http://rushian.local/wp-content/uploads/2025/12/P026032033_69-編集済み.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    /* サイズを指定（縦長ロゴ） */
    width: 250px;
    height: 350px;
    margin: 0 auto 20px;
    display: block;

    /* 視認性向上 */
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.hero-logo-sub {
    font-size: 14px;
    color: #ffffff;
    letter-spacing: 0.3em;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
}

/* スクロールインジケーター - 非表示 */
.hero-scroll-indicator {
    display: none !important;
}

/* ==========================================================================
   5. セクション共通スタイル（余白大幅増加）
   ========================================================================== */

section,
.wp-block-group {
    padding: 120px 0;
}

.wp-block-spacer {
    margin: 0 !important;
}

/* Hero直後のスペーサーを小さくする */
.rushian-hero + .wp-block-spacer {
    height: 80px !important;
}

/* 全体のセクション間余白を統一 */
.fade-in-section {
    margin-top: 80px;
    margin-bottom: 80px;
}

/* 画像が読み込めない場合の代替表示 */
.dish-image img[src*="unsplash.com"] {
    background: linear-gradient(135deg, #8B7355 0%, #6d5a44 50%, #4a3d2f 100%);
    min-height: 400px;
    width: 100%;
    object-fit: cover;
    position: relative;
}

/* 料理画像コンテナの代替スタイル */
.dish-image {
    background:
        radial-gradient(circle at 30% 40%, rgba(139, 115, 85, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(109, 90, 68, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #8B7355 0%, #6d5a44 50%, #4a3d2f 100%);
    min-height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dish-image::before {
    content: '料理画像';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 20px;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.3em;
    z-index: 1;
    pointer-events: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dish-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    pointer-events: none;
}

/* 見出しスタイル */
h2,
.wp-block-heading {
    font-size: 48px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 20px;
    color: #333333;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.15em;
}

.section-subtitle {
    font-size: 12px;
    letter-spacing: 0.3em;
    color: #777777;
    text-align: center;
    margin-bottom: 80px;
    font-family: 'Cormorant Garamond', serif;
    text-transform: uppercase;
}

/* スクロール連動フェードイン */
.fade-in-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   6. コンセプトセクション（縦書き）
   ========================================================================== */

.rushian-concept {
    position: relative;
    min-height: 500px;
}

.concept-vertical-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    min-height: 500px;
}

.concept-line {
    writing-mode: vertical-rl;
    font-size: 32px;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 0.2em;
    opacity: 0;
    transform: translateY(30px);
    animation: conceptLineIn 1s ease-out forwards;
}

.concept-line-1 { animation-delay: 0.2s; }
.concept-line-2 { animation-delay: 0.4s; }
.concept-line-3 { animation-delay: 0.6s; }
.concept-line-4 { animation-delay: 0.8s; }

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

/* ==========================================================================
   7. お知らせセクション
   ========================================================================== */

.rushian-news-section {
    background: #f5f5f5;
    padding: 120px 0;
}

.news-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 40px;
}

.news-card {
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    margin: 0;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.news-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease-out;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 30px;
}

.news-date {
    font-size: 12px;
    color: #888888;
    letter-spacing: 0.1em;
    font-family: 'Cormorant Garamond', serif;
}

.news-category {
    display: inline-block;
    margin-left: 15px;
    padding: 4px 12px;
    background: #f5f5f5;
    font-size: 11px;
    color: #666666;
    letter-spacing: 0.1em;
}

.news-title {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    color: #333333;
}

/* ==========================================================================
   8. 料理セクション（左右交互の大きな写真）
   ========================================================================== */

.rushian-cuisine-section {
    padding: 120px 0;
}

.dishes-container {
    max-width: 1400px;
    margin: 0 auto;
}

.dish-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 120px;
    align-items: center;
}

/* 左右交互レイアウト */
.dish-left {
    grid-template-columns: 1.2fr 0.8fr;
}

.dish-right {
    grid-template-columns: 0.8fr 1.2fr;
}

.dish-image {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.dish-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease-out;
}

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

/* 額縁風の表示 */
.dish-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 1;
    transform: none;
}

.dish-text-box {
    padding: 60px;
    background: #ffffff;
}

.dish-left .dish-text-box {
    padding-left: 80px;
}

.dish-right .dish-text-box {
    padding-right: 80px;
}

.dish-title {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #333333;
    letter-spacing: 0.1em;
}

.dish-price {
    font-size: 14px;
    color: #888888;
    margin-bottom: 25px;
    letter-spacing: 0.1em;
    font-family: 'Cormorant Garamond', serif;
}

.dish-description {
    font-size: 15px;
    line-height: 2.2;
    color: #444444;
    font-weight: 400;
}

/* ==========================================================================
   9. 日本酒セクション
   ========================================================================== */

.rushian-sake-section {
    min-height: 500px;
    height: auto !important;
    position: relative;
}

/* Unsplash画像が読み込めない場合の代替背景 */
.rushian-sake-section .wp-block-cover__image-background {
    opacity: 1 !important;
    object-fit: cover;
}

/* 画像が読み込めない場合の代替グラデーション背景 */
.rushian-sake-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.85) 0%, rgba(26, 15, 10, 0.9) 50%, rgba(13, 7, 5, 0.95) 100%);
    z-index: 0;
}

/* 背景画像のオーバーレイ調整 */
.rushian-sake-section .wp-block-cover__background {
    opacity: 0.6 !important;
}

/* コンテンツを背景より前面に */
.rushian-sake-section .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
}

/* 縦書きテキストのコンテナ - 横並び配置 */
.sake-vertical-text {
    display: flex;
    flex-direction: row !important;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    padding: 80px 40px;
    min-height: auto;
}

/* タイトル「銘柄日本酒」 */
.sake-title {
    writing-mode: vertical-rl !important;
    text-orientation: mixed;
    width: auto !important;
    height: 300px !important;
    font-size: 48px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.2em;
    line-height: 1.5;
    margin: 0;
}

/* 説明文 */
.sake-description {
    writing-mode: vertical-rl !important;
    text-orientation: mixed;
    width: auto !important;
    height: 400px !important;
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.15em;
    line-height: 2;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sake-vertical-text {
        flex-direction: column !important;
        align-items: center;
        gap: 40px;
    }

    .sake-title {
        height: 250px !important;
        font-size: 36px;
    }

    .sake-description {
        height: 300px !important;
        font-size: 14px;
    }
}

/* ==========================================================================
   10. 店内紹介セクション
   ========================================================================== */

.rushian-interior-section {
    padding: 120px 0;
    background: #f5f5f5;
}

.interior-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    padding: 0 40px;
}

.interior-card {
    background: #ffffff;
    overflow: hidden;
    margin: 0;
}

.interior-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease-out;
}

.interior-card:hover img {
    transform: scale(1.08);
}

.interior-card-content {
    padding: 40px;
}

.interior-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #333333;
    letter-spacing: 0.1em;
}

.interior-description {
    font-size: 15px;
    line-height: 2.2;
    color: #444444;
    margin-bottom: 25px;
    font-weight: 400;
}

.interior-link {
    display: inline-block;
    color: #8B7355;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.15em;
    transition: all 0.3s;
    position: relative;
    font-family: 'Cormorant Garamond', serif;
}

.interior-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #8B7355;
    transition: width 0.3s;
}

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

/* ==========================================================================
   11. 店舗情報・アクセスセクション
   ========================================================================== */

.rushian-info-section {
    padding: 120px 0;
}

.info-grid {
    max-width: 1200px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 80px;
    padding: 0 40px;
}

.info-item {
    text-align: center;
}

.info-title {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 25px;
    color: #333333;
    letter-spacing: 0.15em;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.info-content {
    font-size: 15px;
    line-height: 2.2;
    color: #555555;
    font-weight: 300;
}

.info-content a {
    color: #8B7355;
    text-decoration: none;
    transition: color 0.3s;
}

.info-content a:hover {
    color: #333333;
}

.map-placeholder {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 40px;
}

.map-placeholder iframe,
.map-placeholder > div {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.map-placeholder:hover iframe,
.map-placeholder:hover > div {
    filter: grayscale(0%);
}

/* ==========================================================================
   12. フッター
   ========================================================================== */

.site-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 80px 40px 40px;
    text-align: center;
}

.footer-logo {
    /* テキストを非表示 */
    font-size: 0;
    text-indent: -9999px;
    overflow: hidden;

    /* ロゴ画像を背景として表示 */
    background-image: url('http://rushian.local/wp-content/uploads/2025/12/S__50896899-編集済み.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    /* サイズを指定 */
    width: 200px;
    height: 105px;
    margin: 0 auto 40px;
    display: block;

    /* 暗い背景で見えるようにフィルター適用 */
    filter: brightness(0) invert(1);
}

.footer-info {
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 2.5;
    font-size: 14px;
    color: #cccccc;
    font-weight: 300;
}

.footer-sns {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-sns a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 0; /* テキストを非表示 */
    transition: all 0.3s;
    position: relative;
}

/* SVGアイコンを::beforeで追加 */
.footer-sns a[aria-label="Twitter"]::before,
.footer-sns a[href*="twitter"]::before,
.footer-sns a[href*="x.com"]::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.footer-sns a[aria-label="Facebook"]::before,
.footer-sns a[href*="facebook"]::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.footer-sns a[aria-label="Instagram"]::before,
.footer-sns a[href*="instagram"]::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.footer-sns a:hover {
    background: #8B7355;
    border-color: #8B7355;
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

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

.footer-copyright {
    font-size: 11px;
    color: #888888;
    letter-spacing: 0.15em;
    padding-top: 30px;
    border-top: 1px solid #333333;
    font-family: 'Cormorant Garamond', serif;
}

/* ==========================================================================
   13. レスポンシブデザイン
   ========================================================================== */

/* ナビゲーションブロックのレスポンシブ対応 */
/* デスクトップ: ハンバーガーメニューボタンを非表示 */
@media (min-width: 782px) {
    #masthead .wp-block-navigation__responsive-container-open,
    #masthead .wp-block-navigation__responsive-container-close {
        display: none !important;
    }
}

/* タブレット・モバイル: ナビゲーションメニューをハンバーガーメニューに */
@media (max-width: 781px) {
    /* ヘッダーのパディング調整 */
    #masthead,
    .site-header {
        padding: 15px 20px !important;
    }

    /* ハンバーガーメニューボタンを表示 */
    #masthead .wp-block-navigation__responsive-container-open {
        display: flex !important;
    }

    /* ナビゲーションメニューコンテナのスタイル調整 */
    #masthead .wp-block-navigation__responsive-container {
        z-index: 100000 !important;
    }

    /* オーバーレイメニューを全画面表示 */
    #masthead .wp-block-navigation__responsive-container.is-menu-open {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background-color: rgba(0, 0, 0, 0.95) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 2rem !important;
    }

    /* オーバーレイ内のナビゲーションコンテナ */
    #masthead .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
        width: 100% !important;
        height: auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* メニューリストを中央配置 */
    #masthead .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
    #masthead .wp-block-navigation__responsive-container.is-menu-open ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
        align-items: center !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* ナビゲーションリンクのスタイル */
    #masthead .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
    #masthead .wp-block-navigation__responsive-container.is-menu-open li {
        margin: 0 !important;
        text-align: center !important;
    }

    #masthead .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a,
    #masthead .wp-block-navigation__responsive-container.is-menu-open a {
        color: #ffffff !important;
        font-size: 1.5rem !important;
        font-weight: 400 !important;
        text-decoration: none !important;
        padding: 0.5rem 1rem !important;
        transition: opacity 0.3s ease !important;
    }

    #masthead .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a:hover,
    #masthead .wp-block-navigation__responsive-container.is-menu-open a:hover {
        opacity: 0.7 !important;
    }

    /* 閉じるボタンのスタイル */
    #masthead .wp-block-navigation__responsive-container-close {
        position: absolute !important;
        top: 2rem !important;
        right: 2rem !important;
        color: #ffffff !important;
        font-size: 2rem !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        z-index: 100001 !important;
    }

    #masthead .wp-block-navigation__responsive-container-close:hover {
        opacity: 0.7 !important;
    }
}

@media (max-width: 1024px) {
    .hero-logo-main {
        width: 200px;
        height: 280px;
    }

    .dish-item {
        grid-template-columns: 1fr !important;
    }

    .dish-image {
        height: 400px;
    }

    .dish-text-box {
        padding: 40px !important;
    }

    .interior-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section,
    .wp-block-group {
        padding: 80px 0;
    }

    h2 {
        font-size: 32px;
    }

    .site-header {
        padding: 15px 20px;
    }

    .header-nav {
        gap: 20px;
    }

    .reservation-button {
        padding: 10px 20px;
        font-size: 12px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .concept-vertical-text {
        gap: 30px;
    }

    .concept-line {
        font-size: 24px;
    }

    .dish-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-logo-main {
        width: 150px;
        height: 210px;
    }

    .hero-logo-symbol {
        width: 70px;
        height: 70px;
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    .dish-title {
        font-size: 22px;
    }

    .footer-logo {
        width: 150px;
        height: 79px;
    }
}

/* ==========================================================================
   14. パララックス効果
   ========================================================================== */

.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ==========================================================================
   15. プリント対応
   ========================================================================== */

@media print {
    .site-header,
    .hero-scroll-indicator,
    .reservation-button,
    .hamburger-menu {
        display: none;
    }

    section,
    .wp-block-group {
        padding: 40px 0;
    }
}

/* ==========================================================================
   16. テーマテンプレートパーツの非表示（るし庵専用）
   ========================================================================== */

/* テーマのデフォルトヘッダー/フッターを非表示（削除 - ヘッダーを常に表示） */
/* .wp-block-template-part header.site-header,
.wp-block-template-part footer.site-footer,
header.wp-block-template-part,
footer.wp-block-template-part {
    display: none !important;
} */

/* ページコンテンツ内のカスタムフッターのみ表示 */
.entry-content .site-footer {
    display: block !important;
}

/* ==========================================================================
   17. 一品メニューリスト
   ========================================================================== */

.menu-items-list {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 0 40px;
}

.menu-items-list h3 {
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.15em;
    color: #333;
    margin-bottom: 30px;
    font-family: 'Noto Serif JP', serif;
}

.menu-items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 60px;
}

.menu-item-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.menu-item-name {
    font-size: 15px;
    font-weight: 400;
    color: #333;
    letter-spacing: 0.05em;
    font-family: 'Noto Serif JP', serif;
}

.menu-item-price {
    font-size: 14px;
    color: #8B7355;
    letter-spacing: 0.05em;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 20px;
}

/* ==========================================================================
   18. コースアコーディオン
   ========================================================================== */

.course-accordion {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.course-card {
    margin-bottom: 20px;
}

.course-card details {
    border: 1px solid #e0d5c5;
    background: #fff;
    overflow: hidden;
}

.course-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 35px;
    cursor: pointer;
    list-style: none;
    transition: background 0.3s ease;
    position: relative;
}

.course-card summary::-webkit-details-marker {
    display: none;
}

.course-card summary::after {
    content: '+';
    font-size: 24px;
    color: #8B7355;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.course-card details[open] summary::after {
    content: '−';
}

.course-card summary:hover {
    background: #faf8f5;
}

.course-summary-text {
    flex: 1;
}

.course-name {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    letter-spacing: 0.1em;
    font-family: 'Noto Serif JP', serif;
    margin-bottom: 6px;
}

.course-name .course-badge {
    display: inline-block;
    font-size: 11px;
    color: #fff;
    background: #c9a050;
    padding: 2px 10px;
    margin-left: 10px;
    vertical-align: middle;
    letter-spacing: 0.05em;
    font-family: 'Noto Sans JP', sans-serif;
}

.course-meta {
    font-size: 14px;
    color: #666;
    letter-spacing: 0.05em;
}

.course-price {
    font-size: 28px;
    font-weight: 400;
    color: #8B7355;
    font-family: 'Cormorant Garamond', serif;
    white-space: nowrap;
    margin-left: 30px;
    letter-spacing: 0.05em;
}

.course-details {
    padding: 0 35px 35px;
    border-top: 1px solid #e0d5c5;
    background: #faf8f5;
}

.course-details-inner {
    padding-top: 25px;
}

.course-detail-label {
    font-size: 13px;
    font-weight: 600;
    color: #8B7355;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    font-family: 'Noto Sans JP', sans-serif;
}

.course-detail-content {
    font-size: 15px;
    line-height: 2;
    color: #444;
    font-weight: 400;
    margin-bottom: 20px;
}

.course-detail-content:last-child {
    margin-bottom: 0;
}

.course-detail-note {
    font-size: 13px;
    color: #999;
    line-height: 1.8;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0d5c5;
}

/* ==========================================================================
   19. ドリンクメニュー
   ========================================================================== */

.drink-menu-section {
    margin-top: 60px;
    padding: 60px 40px 0;
}

.drink-menu-section h3 {
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    font-family: 'Noto Serif JP', serif;
}

.drink-categories {
    max-width: 700px;
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 40px;
    text-align: center;
}

.drink-category-item {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.1em;
    font-weight: 300;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.drink-nomihodai {
    max-width: 750px;
    margin: 0 auto;
}

.nomihodai-accordion {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nomihodai-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 30px;
    cursor: pointer;
    list-style: none;
    font-size: 18px;
    font-weight: 400;
    color: #c9a050;
    letter-spacing: 0.15em;
    font-family: 'Noto Serif JP', serif;
    transition: background 0.3s ease;
    position: relative;
}

.nomihodai-summary::-webkit-details-marker {
    display: none;
}

.nomihodai-summary::after {
    content: '+';
    font-size: 20px;
    color: #c9a050;
    margin-left: 15px;
    font-weight: 300;
}

.nomihodai-accordion[open] .nomihodai-summary::after {
    content: '−';
}

.nomihodai-summary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nomihodai-details {
    padding: 5px 25px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.nomihodai-tier {
    margin-bottom: 25px;
    padding: 20px 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.nomihodai-tier-name {
    font-size: 15px;
    font-weight: 400;
    color: #c9a050;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    font-family: 'Noto Serif JP', serif;
}

.nomihodai-tier-content {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   20. クレジットカード対応表示
   ========================================================================== */

.payment-info {
    text-align: center;
}

.payment-info .info-title {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 25px;
    color: #333;
    letter-spacing: 0.15em;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.payment-brands {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-brand {
    font-size: 13px;
    color: #555;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border: 1px solid #ddd;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
}

/* ==========================================================================
   21. レスポンシブ追加（新セクション用）
   ========================================================================== */

@media (max-width: 768px) {
    .menu-items-grid {
        grid-template-columns: 1fr;
    }

    .menu-items-list {
        padding: 0 20px;
    }

    .course-accordion {
        padding: 0 20px;
    }

    .course-card summary {
        padding: 20px 25px;
        flex-wrap: wrap;
    }

    .course-name {
        font-size: 17px;
    }

    .course-price {
        font-size: 22px;
        margin-left: 0;
        margin-top: 5px;
    }

    .course-summary-text {
        width: 100%;
    }

    .course-details {
        padding: 0 25px 25px;
    }

    .drink-menu-section {
        padding: 40px 20px 0;
    }

    .drink-categories {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .nomihodai-tier {
        padding: 15px 20px;
    }

    .payment-brands {
        gap: 10px;
    }

    .payment-brand {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* ==========================================================================
   22. h1タグ（SEO用・視覚的に非表示）
   ========================================================================== */

.rushian-h1-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ==========================================================================
   23. ドリンクメニュー カテゴリ別アコーディオン
   ========================================================================== */

.drink-accordion-item {
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.drink-accordion-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    cursor: pointer;
    list-style: none;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.1em;
    font-family: 'Noto Serif JP', serif;
    transition: background 0.3s ease;
}

.drink-accordion-item summary::-webkit-details-marker {
    display: none;
}

.drink-accordion-item summary::after {
    content: '+';
    font-size: 20px;
    color: #c9a050;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.drink-accordion-item[open] summary::after {
    content: '\2212';
}

.drink-accordion-item summary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.drink-accordion-item summary .drink-cat-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 10px;
    font-family: 'Cormorant Garamond', serif;
}

.drink-item-list {
    padding: 5px 24px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.drink-item-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.drink-item-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.drink-item-row:last-child {
    border-bottom: none;
}

.drink-item-name {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    letter-spacing: 0.05em;
}

.drink-item-price {
    font-size: 14px;
    color: #c9a050;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 20px;
    letter-spacing: 0.03em;
}

/* ドリンクアコーディオン レスポンシブ */
@media (max-width: 768px) {
    .drink-accordion-item summary {
        padding: 14px 18px;
        font-size: 15px;
    }

    .drink-item-list {
        padding: 5px 18px 16px;
    }

    .drink-item-row {
        padding: 6px 0;
    }
}
