@charset "UTF-8";

/* ==================================================================
   1. 変数定義・基本設定 (共通)
================================================================== */
:root {
    /* ティファニー風のカラーパレット */
    --color-bg-body: #E6F9F7; /* [新規] 薄いティファニーブルー (基本背景：single-store.phpと統一) */
    --color-bg-primary: #FFFFFF; /* クリーンな白 (ヘッダーやカード背景など) */
    --color-bg-secondary: #F7F7F7; /* 非常に薄いグレー (UIパーツ背景など) */
    --color-text-main: #111111; /* 濃い黒 (テキスト) */
    --color-text-subtle: #555555; /* サブテキスト用のグレー */
    --color-accent: #81d8d0; /* ティファニーブルー */
    --color-accent-dark: #0ABAB5; /* 濃いティファニーブルー */
    --color-border: #E5E5E5; /* 境界線 */
}

/* htmlのデフォルトマージン/パディングをリセット + 背景色を指定 */
html {
    margin: 0;
    padding: 0;
    background-color: #000000;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    /* [変更] 背景色を白(primary)から薄いティファニーブルー(bg-body)に変更 */
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

main {
    display: block;
    margin: 0;
    padding: 0;
}

.logo-font { 
    font-family: 'Playfair Display', serif; 
}

.logo-font.text-gold {
     color: var(--color-text-main);
}

/* ==================================================================
   2. 共通ユーティリティ・アニメーション
   ※各ブロックで共通して使われるクラスのみ残しています
================================================================== */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.fade-in-up {
    transform: translateY(50px);
}
.animate-on-scroll.fade-in {
    transform: translateY(0);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.split-text-animate .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.split-text-animate.is-visible .char {
    opacity: 1;
    transform: translateY(0);
}


/* ==================================================================
   3. ヘッダー (収納式・固定式)
================================================================== */
.site-header {
    background: var(--color-bg-primary); /* ヘッダーは白のまま維持 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    transform: translateY(-100%);
    visibility: hidden;
    z-index: 999;
}

.site-header.is-visible {
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.header-nav-link {
    position: relative;
    font-size: 0.75rem; /* text-xs */
    padding-bottom: 5px;
    transition: all 0.3s;
    color: var(--color-text-subtle);
    text-shadow: none;
    font-weight: 400;
    margin: 0 0.125rem; /* space-x-1 */
}

@media (min-width: 640px) {
    .header-nav-link {
        font-size: 0.875rem; /* sm:text-sm */
        margin: 0 0.375rem; /* sm:space-x-3 */
    }
}
@media (min-width: 768px) {
    .header-nav-link {
         margin: 0 0.75rem; /* md:space-x-6 */
    }
}

.header-nav-link:hover { color: var(--color-text-main); }
.header-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s;
}
.header-nav-link:hover::after { width: 100%; }


/* ==================================================================
   4. ハンバーガーボタン (JS制御用)
================================================================== */
#header-toggle-button.header-active {
    transform: translateY(64px);
}
#header-toggle-button.header-active:hover {
    transform: scale(1.05) translateY(64px);
}


/* ==================================================================
   5. ヒーローセクション & エリアナビゲーション (共通パーツ)
================================================================== */
#hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #000000;
}

/* ナビゲーションボタン群 (複数ブロックで共有) */
.hero-button-container {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    margin-top: 2rem;
    width: 90%;
    max-width: 640px;
    position: relative;
    z-index: 30;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 768px) {
    .hero-button-container {
        gap: 1.5rem;
        max-width: 800px;
    }
}

.hero-area-group {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 0.75rem;
    padding: 0.75rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
@media (min-width: 768px) {
    .hero-area-group { padding: 1rem; }
}

.hero-area-label {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
@media (min-width: 768px) {
    .hero-area-label {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
}

.hero-area-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
@media (min-width: 640px) { .hero-area-buttons { flex-direction: row; } }
@media (min-width: 768px) { .hero-area-buttons { flex-direction: column; } }
@media (min-width: 1024px) { .hero-area-buttons { flex-direction: row; } }

.hero-nav-button {
    flex: 1;
    font-weight: 700;
    font-size: 0.875rem;
    color: white;
    padding: 0.625rem 0.5rem;
    border-radius: 0.5rem;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-nav-button i { margin-right: 0.25rem; }
@media (min-width: 768px) {
    .hero-nav-button {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    .hero-nav-button i { margin-right: 0.5rem; }
}
.hero-nav-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    color: white;
}

/* ==================================================================
   6. Section Header (共通フォント設定)
================================================================== */
.section-header-block h2 {
    font-family: 'Playfair Display', serif;
}

/* ==================================================================
   7. モバイル用コンテンツ表示トグル & フッター
================================================================== */
footer.bg-gray-900 {
    background-color: var(--color-bg-primary);
    color: var(--color-text-subtle);
    border-top: 1px solid var(--color-border);
}
footer h5 { color: var(--color-text-main); font-weight: 700; }
footer a { color: var(--color-text-subtle); }
footer a:hover { color: var(--color-accent-dark); }
footer p { color: var(--color-text-subtle); }

.tel-display-number {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 1.0;
}

/* ★★★ 修正: お問い合わせボタンを常時表示に変更 ★★★ */
#mobile-content-toggle {
    display: inline-flex; /* PCでも表示 */
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-accent);
    color: white;
    border: none;
    position: fixed; /* 常に固定配置 */
    bottom: 2rem; 
    right: 2rem; /* PCでは右下に配置 */
    z-index: 999; /* 最前面 */
    border-radius: 9999px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem; 
    font-weight: 700;
    transition: all 0.3s ease;
    opacity: 0.9;
    text-decoration: none;
}

#mobile-content-toggle i { transition: transform 0.3s ease; }
#mobile-content-toggle:hover { 
    opacity: 1; 
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* モバイル用調整: 中央下に配置 */
@media (max-width: 767px) {
    #mobile-content-toggle {
        bottom: 2rem; 
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    #mobile-content-toggle:hover {
        transform: translateX(-50%) translateY(-2px);
    }
}

/* ==================================================================
   8. 特定ページでの表示調整
================================================================== */

/* front-page.php (トップページ) のモバイル表示時のみフッターを非表示 */
@media (max-width: 767px) {
    body.home #site-footer {
        display: none !important;
    }
}

/* ==================================================================
   9. 表示制御ユーティリティ (完全分離版)
   ※ブラウザや回線状況に依存せず、確実に片方だけを表示するための独自クラス
   ※これを一番最後に追加してください
================================================================== */

/* 初期状態：まずはクラスの挙動を定義 */
.u-show-only-mobile { display: block !important; }
.u-show-only-pc { display: none !important; }

/* 画面幅 768px以上 (PC・タブレット) の場合のルール（反転させる） */
@media all and (min-width: 768px) {
    .u-show-only-mobile { 
        display: none !important; 
    }
    .u-show-only-pc { 
        display: block !important; 
    }
}

/* 念のため既存のTailwindクラスへのフォールバックも残す */
.hidden { display: none !important; }
.block { display: block !important; }

@media (min-width: 768px) {
    .md\:hidden { display: none !important; }
    .md\:block { display: block !important; }
}