@charset "UTF-8";

/* 変数定義 */
:root {
    --primary-color: #0d3b66; 
    --accent-color: #c49a45; 
    --text-color: #333;
    --bg-color: #fcfcfc;
    --font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

/* リセット＆ベース */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ヘッダー */
.header {
    position: absolute; 
    top: 0; left: 0; width: 100%;
    z-index: 100;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
}
.header-inner {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 40px;
}
.logo { color: #fff; font-size: 24px; font-weight: bold; letter-spacing: 2px; }
.global-nav { display: flex; align-items: center; gap: 30px; }
.global-nav ul { display: flex; list-style: none; gap: 20px; }
.global-nav a { color: #fff; font-size: 14px; transition: opacity 0.3s; }
.global-nav a:hover { opacity: 0.7; }
.btn-reserve {
    background-color: var(--accent-color);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: bold;
}

/* モバイルメニューアイコン */
.hamburger { display: none; }

/* ヒーローセクション */
.hero {
    height: 80vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* ヒーロースライダーの設定 */
.heroSwiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.heroSwiper .swiper-slide {
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 2; /* スライダー画像より上でテキストより下 */
    pointer-events: none;
}

/* ヒーローテキスト */
.hero-content { 
    position: relative; 
    z-index: 10; 
    text-align: center; 
}
.hero h1 { 
    color: #fff; 
    font-size: 48px; 
    letter-spacing: 4px; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); 
}

/* ...中略（共通セクションスタイル、宿泊プラン、体験セクション、About...）... */

/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
    /* PC表示時のSwiper slidesPerViewを変更するため、JS側で設定 */
}

@media screen and (max-width: 768px) {
    /* グローバルナビ (SP) */
    .global-nav {
        position: fixed;
        top: 0;
        right: -100%; /* 初期は画面右外に隠す */
        width: 100%;
        height: 100vh;
        background-color: rgba(13, 59, 102, 0.95); /* --primary-colorをベースに透過 */
        z-index: 99; /* ヘッダーより下、ハンバーガーより上 */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease; /* スライドインアニメーション */
        padding: 40px;
    }
    /* ハンバーガーメニューが開いた状態 */
    .global-nav.is-active {
        right: 0;
    }
    
    /* SPメニュー内のリスト配置 */
    .global-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-bottom: 40px;
    }
    .global-nav a {
        font-size: 18px;
        color: #fff;
    }
    
    /* SPメニュー内の予約ボタン */
    .btn-reserve {
        margin-left: 0;
        width: 100%;
        max-width: 300px;
        text-align: center;
        display: block;
    }

    /* ハンバーガーメニューアイコン (SP) */
    .hamburger {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
        z-index: 101; /* メニューより上 */
    }
    .hamburger span {
        position: absolute;
        width: 100%;
        height: 2px;
        background: #fff;
        left: 0;
        transition: all 0.3s; /* アニメーション設定 */
    }
    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
    .hamburger span:nth-child(3) { bottom: 0; }
    
    /* ハンバーガーメニューがアクティブな時のアニメーション（バツ印に） */
    .hamburger.is-active span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
    .hamburger.is-active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.is-active span:nth-child(3) {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }
    
    /* bodyにno-scrollクラスがついた時のスクロール抑制 */
    body.no-scroll {
        overflow: hidden;
    }

    /* ヒーローテキストサイズ */
    .hero h1 { font-size: 32px; }
}

/* ヒーロースライダーの設定 */
/* --- 前半の共通設定・ヘッダー部分はそのまま --- */

/* ヒーローセクション */
.hero {
    height: 80vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* ヒーロースライダーの設定 */
.heroSwiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* imgタグ用のスタイルを追加 */
.heroSwiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.heroSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像の比率を保ったまま親要素を埋める */
    display: block;
    filter: brightness(2,4) contrast(2,4) saturate(2,4);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 2; /* スライダー画像より上でテキストより下 */
    pointer-events: none;
}

/* ヒーローテキスト */
.hero-content { 
    position: relative; 
    z-index: 10; 
    text-align: center; 
}
.hero h1 { 
    color: #fff; 
    font-size: 48px; 
    letter-spacing: 4px; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); 
}

/* --- 以降の共通セクションスタイル等はそのまま --- */

/* 共通セクションスタイル */
.section-title {
    font-size: 24px; font-weight: bold; margin-bottom: 20px; color: var(--primary-color);
    text-transform: uppercase; letter-spacing: 2px; border-bottom: 2px solid var(--primary-color);
    display: inline-block; padding-bottom: 5px;
}

/* 宿泊プラン */
.section-accommodations { padding: 80px 0; display: flex; gap: 40px; }
.section-header h2 { font-size: 32px; line-height: 1.2; margin-bottom: 10px; }
.plans-grid { flex: 1; display: flex; flex-direction: column; gap: 40px; }

.plan-card {
    position: relative; 
    display: flex;
    justify-content: flex-start;
}
.plan-bg-gold {
    position: absolute;
    top: 20px; left: 20px;
    width: 60%; height: 100%;
    background-color: var(--accent-color);
    z-index: 0;
}
.plan-card.reverse .plan-bg-gold {
    left: auto; right: 20px;
}
.plan-content {
    position: relative;
    z-index: 1;
    display: flex;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    width: 80%;
}
.plan-card.reverse { justify-content: flex-end; }
.plan-img { width: 50%; object-fit: cover; }
.plan-text { width: 50%; padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.plan-text h3 { font-size: 20px; margin-bottom: 15px; color: var(--primary-color); }
.plan-text p { font-size: 14px; margin-bottom: 20px; color: #666; }
.btn-detail {
    align-self: flex-start;
    background-color: var(--accent-color); color: #fff;
    padding: 8px 20px; font-size: 14px; border-radius: 4px;
}

/* 体験セクション (Swiper) */
.section-experiences { padding: 0 0 80px 0; }
.swiper-slide { position: relative; overflow: hidden; }
/* カルーセル用の画像の高さを統一 */
.mySwiper .swiper-slide img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.3s; }
.mySwiper .swiper-slide:hover img { transform: scale(1.05); }
.slide-caption {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff; padding: 20px 15px 15px; font-weight: bold; font-size: 18px;
}

/* 下部グリッド */
.section-bottom-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 80px;
}
.about-content p, .spots-content p { font-size: 14px; color: #555; margin-bottom: 20px; }
.spot-images { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

/* フッター */
.footer { background-color: var(--primary-color); color: #fff; padding: 60px 0 20px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 40px; }
.footer-logo { font-size: 24px; font-weight: bold; }
.footer-logo small { display: block; font-size: 12px; letter-spacing: 2px; font-weight: normal; }
.footer-links ul { list-style: none; display: flex; gap: 20px; }
.footer-links a { color: #ccc; font-size: 14px; }
.footer-sns { display: flex; gap: 15px; align-items: center; }
.footer-copyright { text-align: center; font-size: 12px; color: #888; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }

/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
    .section-accommodations { flex-direction: column; }
    .plan-card, .plan-card.reverse { justify-content: center; }
    .plan-bg-gold { width: 100%; left: 10px; top: 10px; }
    .plan-content { width: 100%; }
}

@media screen and (max-width: 768px) {
    .global-nav ul { display: none; }
    .hamburger { 
        display: block; 
        width: 30px; 
        height: 20px;
        position: 
        relative; 
        cursor: pointer;
        right: -20px; 
    }
    .hamburger span { position: absolute; width: 100%; height: 2px; background: #fff; left: 0; }
    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
    .hamburger span:nth-child(3) { bottom: 0; }
    
    .hero h1 { font-size: 32px; }
    .plan-content, .plan-card.reverse .plan-content { flex-direction: column; }
    .plan-img, .plan-text { width: 100%; }
    .section-bottom-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 30px; }
}