/* ベースリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 共通クラス */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f9f9f9;
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: normal;
    font-family: serif; /* 明朝体風 */
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.section-title p {
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 0.1em;
}

/* ボタン類 */
.btn-reserve {
    background-color: #d4a373; /* アクセントカラー */
    color: #fff;
    padding: 10px 20px;
    border-radius: 2px;
}

.btn-reserve:hover {
    opacity: 0.8;
}

.btn-text {
    display: inline-block;
    margin-top: 20px;
    color: #d4a373;
    border-bottom: 1px solid #d4a373;
}

.btn-border {
    display: inline-block;
    padding: 10px 40px;
    border: 1px solid #333;
    margin-top: 30px;
}

.btn-border:hover {
    background-color: #333;
    color: #fff;
}

/* プレースホルダー画像 */
.img-placeholder {
    width: 100%;
    height: 300px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.5rem;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 40px;
}

.logo {
    font-size: 1.2rem;
    line-height: 1.2;
    letter-spacing: 0.1em;
}

.logo-sub {
    font-size: 0.7rem;
    color: #888;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ヒーローセクション */
.hero {
    height: 100vh;
    background-color: #ccc; /* 背景画像を設定してください */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-catch {
    font-size: 3rem;
    font-family: serif;
    margin-bottom: 20px;
    line-height: 1.4;
    writing-mode: vertical-rl; /* 縦書きにする場合 */
    text-orientation: upright;
    margin: 0 auto;
    height: 300px; /* 縦書き用の高さ確保 */
}

/* レイアウト（画像＋テキスト） */
.split-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.split-text {
    flex: 1;
}

.split-text h3 {
    font-size: 1.5rem;
    font-family: serif;
    margin-bottom: 20px;
}

.split-image {
    flex: 1;
}

/* グリッドレイアウト（3カラム） */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    text-align: center;
}

.card-img {
    height: 250px;
    margin-bottom: 15px;
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* お知らせリスト */
.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-list li {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    display: flex;
    gap: 20px;
}

.news-list .date {
    font-family: monospace;
    color: #888;
}

/* アクセス */
.access-content {
    text-align: center;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #eee;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* フッター */
.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

.footer-logo span {
    font-size: 0.8rem;
    color: #aaa;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    font-size: 0.9rem;
}

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

.copyright {
    text-align: center;
    font-size: 0.7rem;
    color: #666;
    border-top: 1px solid #444;
    padding-top: 20px;
}

/* レスポンシブ対応 (スマホ用) */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
    }
    
    .nav {
        display: none; /* 簡易的に非表示（ハンバーガーメニュー推奨） */
    }

    .hero-catch {
        font-size: 2rem;
        height: 200px;
    }

    .split-layout,
    .split-layout.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .grid-layout {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* --- 共通クラスの追加 --- */
/* PC/スマホでの表示切り替え用ユーティリティ */
.sp-only { display: none; }
.pc-only { display: block; }

/* ハンバーガーボタン（初期状態は非表示） */
.hamburger {
    display: none;
}

/* --- レスポンシブ対応 (スマホ用) --- */
@media (max-width: 768px) {
    .sp-only { display: block; }
    .pc-only { display: none; }

    /* ヘッダーの調整 */
    .header-inner {
        padding: 0 20px;
        /* ハンバーガーとロゴの配置調整 */
        position: relative;
    }

    /* ハンバーガーボタンのスタイル */
    .hamburger {
        display: block;
        position: relative;
        width: 30px;
        height: 24px;
        cursor: pointer;
        z-index: 2000; /* メニューより手前に表示 */
    }

    .hamburger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #333;
        transition: all 0.3s;
    }

    .hamburger span:nth-of-type(1) { top: 0; }
    .hamburger span:nth-of-type(2) { top: 11px; }
    .hamburger span:nth-of-type(3) { bottom: 0; }

    /* ハンバーガーが開いた時のアニメーション（×印になる） */
    .hamburger.active span:nth-of-type(1) {
        transform: translateY(11px) rotate(45deg);
    }
    .hamburger.active span:nth-of-type(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-of-type(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    /* スマホ用ナビゲーションメニュー */
    .nav {
        display: block; /* 前回の display:none を解除 */
        position: fixed;
        top: 0;
        right: 0; /* 右から出てくる場合 */
        width: 100%; /* 全画面なら100% */
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        z-index: 1500;
        
        /* 初期状態は画面外へ隠す、または透明にする */
        opacity: 0;
        pointer-events: none; /* クリック無効化 */
        transition: opacity 0.3s ease;
        
        /* 中身の配置 */
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    /* メニューが開いた時の状態 */
    .nav.active {
        opacity: 1;
        pointer-events: auto;
    }

    .nav ul {
        flex-direction: column;
        gap: 30px;
    }

    .nav a {
        font-size: 1.2rem;
        font-family: serif;
        color: #333;
    }

    /* スマホメニュー内の予約ボタン */
    .btn-reserve-sp {
        display: inline-block;
        background-color: #d4a373;
        color: #fff;
        padding: 12px 40px;
        margin-top: 10px;
        border-radius: 2px;
    }

    /* コンテンツ部分のレイアウト調整（前回と同じ） */
    .hero-catch {
        font-size: 2rem;
        height: 200px;
    }

    .split-layout,
    .split-layout.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .grid-layout {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap; /* リンクが多い場合に折り返す */
    }
}