@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #DD9946; /* 温かみのあるゴールド */
    --secondary-color: #4A5568; /* 柔らかいダークグレー */
    --accent-color: #60A5FA;   /* 優しいアクセントブルー */
    --text-primary: #3f3c38;   /* 少し茶色がかった黒 */
    --text-secondary: #718096;
    --bg-light: #FDFBF8;     /* ほんのり暖かい白 */
    --bg-offwhite: #FEFBF6;
    --white: #ffffff;
    --border-light: #E2E8F0;
    --shadow-soft: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-medium: 0 6px 20px rgba(0,0,0,0.08);
    --gradient-gold: linear-gradient(135deg, #E6B88A, #DD9946);
    --transition-smooth: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--white);
    overflow-x: hidden;
    /* モバイル用フォントサイズを改善 */
    font-size: 16px;
}

body.subpage-body header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

body.subpage-body header .logo,
body.subpage-body header .nav-link {
    color: var(--primary-color);
}

body.subpage-body header .mobile-menu-btn span {
    background: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* カスタムローダー */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}
.loader-content { text-align: center; color: var(--white); }
.loader-logo { font-size: 2.5rem; font-weight: 700; margin-bottom: 2rem; }
.loader-bar { width: 200px; height: 4px; background: rgba(255,255,255,0.2); border-radius: 4px; overflow: hidden; margin: 0 auto; }
.loader-progress { height: 100%; background: var(--white); border-radius: 4px; width: 0%; animation: loading 3s ease-in-out forwards; }
@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    transform: translateY(0);
}

/* サブページ用のヘッダー（常に不透明） */
body.subpage-body header {
    background: var(--white) !important; /* 最優先 */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid var(--border-light) !important;
}

body.subpage-body header .logo,
body.subpage-body header .nav-link {
    color: var(--primary-color) !important; /* 最優先 */
}

body.subpage-body header .mobile-menu-btn span {
    background: var(--text-primary) !important; /* 最優先 */
}

header.header-transparent {
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255,255,255,0.2) !important;
}
header.header-transparent .logo { color: var(--white) !important; }
header.header-transparent .nav-link { color: var(--white) !important; }
header.header-transparent .mobile-menu-btn span { background: var(--white); }

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    min-height: 70px; /* Added */
}
.logo { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); text-decoration: none; transition: var(--transition-smooth); }
/* デスクトップメニュー */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.nav-link { color: var(--text-primary); text-decoration: none; font-weight: 500; font-size: 0.95rem; position: relative; transition: var(--transition-smooth); }
.nav-link::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--primary-color); transition: var(--transition-smooth); }
.nav-link:hover { color: var(--primary-color); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
    background: var(--gradient-gold);
    color: var(--white) !important;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-medium); }
.nav-cta::after { display: none; }

/* モバイルメニュー */
/* モバイル・タブレット用メニューボタン */
.mobile-menu-btn {
    display: none; /* Changed from display: none; outside media query */
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem; /* Changed from 0.5rem */
    z-index: 1001;
    /* タッチしやすいサイズに調整 */
    min-width: 48px; /* Added */
    min-height: 48px; /* Added */
    justify-content: center; /* Added */
    align-items: center; /* Added */
}
.mobile-menu-btn span { width: 25px; height: 3px; background: var(--text-primary); transition: var(--transition-smooth); border-radius: 3px; }
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu-btn.active span { background: var(--white); }
/* モバイル・タブレットメニュー */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--secondary-color);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem; /* Changed from 3rem */
    transition: right 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.mobile-menu.active { right: 0; }
.mobile-nav-link {
    color: var(--white);
    font-size: 1.8rem; /* Changed from 2rem */
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
    padding: 1rem 2rem; /* Added */
    /* タッチしやすいエリア */
    min-height: 60px; /* Added */
    display: flex; /* Added */
    align-items: center; /* Added */
}
.mobile-nav-link:hover { color: var(--primary-color); transform: scale(1.05); } /* Changed from 1.1 */

/* ヒーローセクション */
/* ヒーローセクション */
.hero {
    height: auto; /* Changed from 100vh */
    min-height: 100vh; /* Keep a minimum height */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Changed from flex-start */
    overflow: hidden;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4));
    padding: 130px 0 4rem; /* Adjusted padding */
    box-sizing: border-box;
}

.hero-video { position: absolute; top: 50%; left: 50%; width: auto; height: auto; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); object-fit: cover; z-index: -1; }
.hero-content { position: relative; z-index: 2; text-align: center; color: var(--white); max-width: 800px; margin: 0 auto; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); color: var(--white); padding: 0.7rem 1.5rem; border-radius: 50px; font-weight: 500; font-size: 0.9rem; margin-bottom: 2rem; animation: fadeInUp 1s ease 0.5s both; }

.hero h1 {
        font-size: clamp(2.2rem, 8vw, 4.5rem); /* Changed from 2.5rem, 7vw, 4.5rem */ /* Changed from 2.5rem, 7vw, 4.5rem */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.7s both;
}
.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.3rem); /* Changed from 1.1rem, 3vw, 1.3rem */
    font-weight: 400;
    margin-bottom: 3rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.9s both;
    line-height: 1.6; /* Added */
    line-height: 1.6; /* Added */
}

.hero-cta-group { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; animation: fadeInUp 1s ease 1.1s both; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    /* タッチしやすいサイズ */
    min-height: 54px; /* Added */
    justify-content: center; /* Added */
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary {
    background: var(--gradient-gold);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-medium); }
.btn-outline { background: rgba(255,255,255,0.2); color: var(--white); border: 2px solid var(--white); backdrop-filter: blur(20px); }
.btn-outline:hover { background: var(--white); color: var(--primary-color); }

/* 予約ウィジェット */
/* 予約ウィジェット */
.booking-widget {
    position: relative; /* Changed from absolute */
    bottom: auto; /* Removed fixed positioning */
    left: auto; /* Removed fixed positioning */
    transform: none; /* Removed transform */
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 900px;
    margin-top: 4rem; /* Added margin-top for spacing */
    animation: fadeInUp 1s ease 1.3s both; /* Changed animation */
    z-index: 10;
}
.widget-header { text-align: center; margin-bottom: 1.5rem; }
.widget-title { font-size: 1.5rem; color: var(--text-primary); margin-bottom: 0.25rem; }
.widget-subtitle { color: var(--text-secondary); font-size: 0.9rem; }
.booking-form {
    display: grid; /* Added */
    grid-template-columns: 1fr; /* Added */
    gap: 1rem; /* Changed from 1.2rem */ /* Changed from 1.2rem */
    align-items: end; /* Moved from media query */
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-weight: 700; color: var(--text-primary); font-size: 0.85rem; }
.form-input {
    padding: 1rem; /* Changed from 0.9rem */
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--white);
    transition: var(--transition-smooth);
    -webkit-appearance: none;
    font-family: 'Noto Sans JP', sans-serif;
    min-height: 48px; /* Changed from 56px */
    min-height: 48px; /* Changed from 56px */
}
.form-input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(221, 153, 70, 0.2); }
select.form-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}
.search-btn { padding: 0.9rem 2rem; border-radius: 12px; background: var(--secondary-color); color: var(--white); }
.search-btn:hover { background: var(--text-primary); }
.search-btn:disabled { background-color: #ccc; cursor: not-allowed; }


/* セクション共通 */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title { font-size: clamp(2rem, 5vw, 3rem); color: var(--text-primary); margin-bottom: 1rem; position: relative; }
.section-title::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background: var(--primary-color); border-radius: 3px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 1.5rem auto 0; }

/* 客室セクション (新デザイン) */
.rooms-section { padding: 6rem 0; background: var(--bg-offwhite); }
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 最小幅をさらに小さくして調整 */
    gap: 2.5rem;
    margin-top: 4rem;
}
.room-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}
.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}
.room-card-image {
    width: 100%;
    padding-top: 65%;
    background-size: cover;
    background-position: center;
}
.room-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.room-card-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
.room-card-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.room-card-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}
.room-card-details .detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.room-card-details .detail-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}
.pricing-plan {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}
.pricing-plan-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}
.pricing-plan-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}
.pricing-plan-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}
.pricing-plan-list li:last-child {
    border-bottom: none;
}
.pricing-plan-list .price {
    font-weight: 700;
    color: var(--text-primary);
}
.pricing-plan-list .per-person {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Rules Section */
.rules-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.rule-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.rule-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.rule-item h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.rule-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .rules-section {
        padding: 4rem 0;
    }
    .rules-content {
        grid-template-columns: 1fr;
    }
}

/* マップセクション */
.map-section { padding: 6rem 0; background: var(--white); }
.map-container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.map-info { padding: 1rem 0; }
.map-title { font-size: 2.2rem; margin-bottom: 2rem; }
.location-grid { display: grid; gap: 1.5rem; }
.location-item { 
    display: flex; 
    align-items: center; 
    gap: 1.5rem; 
    padding: 1.25rem; 
    background: var(--white); 
    border-radius: 15px; 
    border: 1px solid var(--border-light); 
    transition: var(--transition-smooth); 
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.location-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.location-item.active {
    border-color: var(--primary-color);
    background-color: var(--bg-offwhite);
    box-shadow: 0 0 0 3px rgba(221, 153, 70, 0.3);
}
.location-icon { width: 50px; height: 50px; background: var(--gradient-gold); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--white); flex-shrink: 0; }
.location-icon svg { width: 28px; height: 28px; fill: var(--white); }
.location-details h4 { font-weight: 700; margin-bottom: 0.25rem; }
.location-details p { color: var(--text-secondary); font-size: 0.9rem; }
.interactive-map { height: 500px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-medium); }
.interactive-map iframe { width: 100%; height: 100%; border: 0; }

/* レビューカルーセル */
.reviews-section { padding: 6rem 0; background: var(--bg-offwhite); }
.reviews-carousel { margin-top: 3rem; padding: 0 40px; }
.review-slide { background: var(--white); padding: 2.5rem; border-radius: 20px; box-shadow: var(--shadow-soft); text-align: center; margin: 0; display: flex; flex-direction: column; justify-content: space-between; min-height: 350px; }
.review-content { font-size: 1.05rem; font-style: italic; color: var(--text-secondary); line-height: 1.8; margin-bottom: 2rem; position: relative; }
.review-content::before { content: '“'; font-size: 4rem; color: rgba(221, 153, 70, 0.1); font-family: sans-serif; position: absolute; top: -20px; left: -10px; z-index: 1; }
.review-author { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: auto; }
.author-avatar img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.author-info { text-align: left; }
.author-info h4 { font-weight: 700; font-size: 1rem; }
.author-info p { color: var(--text-secondary); font-size: 0.85rem; }
.review-rating { color: var(--primary-color); font-size: 0.9rem; margin-top: 0.2rem; }
.swiper-button-next, .swiper-button-prev { color: var(--primary-color); }

/* フォトギャラリー */
.gallery-section { padding: 6rem 0; background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; margin-top: 3rem; }
.gallery-item { height: 300px; background-size: cover; background-position: center; border-radius: 15px; overflow: hidden; cursor: pointer; transition: var(--transition-smooth); position: relative; }
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-medium); }
.gallery-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition-smooth); }
.gallery-overlay svg { width: 40px; height: 40px; fill: white;}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* 動画ギャラリー */
.video-gallery-section { padding: 6rem 0; background: var(--bg-light); }
.video-gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.video-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    overflow: hidden;
}
.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}
.video-card .instagram-media {
    margin: 0 !important;
    min-width: unset !important;
}
.swipe-indicator {
    display: none; /* PCでは非表示 */
    text-align: center;
    margin-top: 2rem;
    color: var(--text-secondary);
}

/* FAQ */
.faq-section { padding: 6rem 0; background: var(--bg-offwhite); }
.faq-container { max-width: 800px; margin: 3rem auto 0; }
.faq-item { background: var(--white); border-radius: 15px; margin-bottom: 1rem; overflow: hidden; box-shadow: var(--shadow-soft); transition: var(--transition-smooth); border: 1px solid var(--border-light); }
.faq-item.active { border-color: var(--primary-color); }
.faq-question { padding: 1.5rem; cursor: pointer; font-weight: 700; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; transition: var(--transition-smooth); }
.faq-item.active .faq-question { color: var(--primary-color); }
.faq-icon { width: 30px; height: 30px; background: rgba(221, 153, 70, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-color); font-size: 0.8rem; transition: var(--transition-smooth); flex-shrink: 0; }
.faq-icon svg { width: 14px; height: 14px; fill: currentColor; }
.faq-item.active .faq-icon { transform: rotate(180deg); background: var(--primary-color); color: var(--white); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out; }
.faq-answer-content { padding: 0 1.5rem 1.5rem; color: var(--text-secondary); line-height: 1.8; }
.faq-item.active .faq-answer { max-height: 300px; }

/* CTA セクション */
.cta-section { padding: 6rem 0; background: var(--secondary-color); color: var(--white); text-align: center; }
.cta-content { max-width: 700px; margin: 0 auto; }
.cta-title { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1.5rem; }
.cta-text { font-size: 1.1rem; margin-bottom: 2.5rem; opacity: 0.9; }
.cta-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-primary { background: var(--gradient-gold); }
.cta-section .btn-outline { border-color: var(--primary-color); color: var(--primary-color); }
.cta-section .btn-outline:hover { background: var(--primary-color); color: var(--white); }

/* フッター */
footer { background: var(--secondary-color); color: var(--white); padding: 4rem 0 2rem; border-top: 4px solid var(--primary-color); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-section h3 { font-size: 1.2rem; margin-bottom: 1rem; color: var(--white); font-weight: 700; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: var(--transition-smooth); }
.footer-links a:hover { color: var(--white); padding-left: 5px; }
.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.social-link { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); text-decoration: none; transition: var(--transition-smooth); }
.social-link svg { width: 18px; height: 18px; fill: var(--white); }
.social-link:hover { background: var(--primary-color); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; color: rgba(255,255,255,0.5); font-size: 0.9rem; }

.story-link { color: rgba(255,255,255,0.8); text-decoration: underline; cursor: pointer; transition: var(--transition-smooth); }
.story-link:hover { color: var(--white); }

/* チャット */
.floating-chat { position: fixed; bottom: 2rem; right: 2rem; z-index: 1000; }
.chat-btn { width: 60px; height: 60px; background: var(--gradient-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); cursor: pointer; box-shadow: var(--shadow-medium); transition: var(--transition-smooth); animation: pulse 2.5s infinite; }
.chat-btn svg { width: 28px; height: 28px; fill: var(--white); }
.chat-btn:hover { transform: scale(1.1); animation-play-state: paused; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(221, 153, 70, 0.6); } 70% { box-shadow: 0 0 0 12px rgba(221, 153, 70, 0); } 100% { box-shadow: 0 0 0 0 rgba(221, 153, 70, 0); } }

/* カスタムモーダル */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; z-index: 10000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { background: var(--white); padding: 2.5rem; border-radius: 20px; box-shadow: var(--shadow-heavy); width: 90%; max-width: 600px; transform: scale(0.9); transition: transform 0.3s ease; text-align: left; max-height: 80vh; overflow-y: auto; }
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-header { font-size: 1.8rem; color: var(--text-primary); margin-bottom: 1rem; text-align: center; }
.modal-body { color: var(--text-secondary); margin-bottom: 2rem; line-height: 1.9; }
.modal-body h4 { color: var(--text-primary); margin-top: 1.5rem; margin-bottom: 0.5rem; font-weight: 700; }
.modal-body ul { list-style-position: inside; padding-left: 1rem; }
.modal-body li { margin-bottom: 0.5rem; }
.modal-footer { text-align: center; margin-top: 1.5rem; }
.modal-close-btn { background: var(--secondary-color); color: var(--white); }
.modal-close-btn:hover { background: var(--text-primary); }

/* レスポンシブ */
@media (max-width: 1024px) {
    .map-container { grid-template-columns: 1fr; }
    .interactive-map { height: 400px; }
}

@media (max-width: 768px) {
    body { font-size: 15px; }
    .container { padding: 0 1rem; }
    .nav-menu { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero {
        .hero {
        padding-bottom: 2rem; /* Adjusted for mobile clearance */
        height: auto; /* Change */
        min-height: auto;
        align-items: center; /* Change */
        justify-content: center; /* Change */
        padding-top: 120px; /* Keep existing value */
    }
    }
    .hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
    .hero-subtitle { font-size: clamp(1rem, 4vw, 1.2rem); }
    .hero-content {
        padding-top: 60px; /* ヘッダーの高さとバッジの配置を考慮して調整 */
    }
    .booking-widget {
        margin: 0 auto; /* 中央揃え */
        position: relative; 
        bottom: auto; 
        left: auto; 
        transform: none; 
        animation: none; 
        padding: 1.5rem;
        margin-top: 3rem; /* Added margin-top for spacing */
    }
    .info-bar { display: none; }
    .hero-cta-group, .cta-buttons { flex-direction: column; align-items: center; margin-bottom: 2rem; }
    .rooms-section, .map-section, .reviews-section, .gallery-section, .faq-section, .cta-section { padding: 4rem 0; }
    .room-details { grid-template-columns: 1fr; }
    .room-title { font-size: 2rem; }
    .map-container { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .video-gallery-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding-bottom: 1.5rem; /* for scrollbar */
    }
    .video-card {
        flex: 0 0 80%;
        scroll-snap-align: center;
    }
    .swipe-indicator {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Rules Section */
.rules-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.rule-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.rule-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.rule-item h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.rule-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .rules-section {
        padding: 4rem 0;
    }
    .rules-content {
        grid-template-columns: 1fr;
    }
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 4rem;
    align-items: start;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.service-main {
    border: 2px solid var(--primary-color);
}

.service-card-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.pricing-table th,
.pricing-table td {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.pricing-table th {
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-table td {
    font-weight: 500;
    color: var(--text-primary);
    text-align: right;
}

.pricing-table .item-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-top: 0.25rem;
    padding-bottom: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.pricing-table tr:last-child th,
.pricing-table tr:last-child td {
    border-bottom: none;
}

.service-benefits {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.benefit-icon {
    width: 22px;
    height: 22px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.service-notes {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.notes-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.service-notes ul {
    list-style-position: inside;
    color: var(--text-secondary);
}

.faq-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

@media (max-width: 768px) {
    .services-section {
        padding: 4rem 0;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .service-card {
        padding: 2rem;
    }
}

/* Minor Consent Section */
.radio-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.radio-group input[type="radio"] {
    display: none;
}

.radio-group label {
    background-color: var(--bg-light);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid var(--border-color);
}

.radio-group input[type="radio"]:checked + label {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.consent-message {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    color: #664d03;
    font-size: 0.95em;
    line-height: 1.5;
}

.consent-message a {
    color: #0056b3;
    text-decoration: underline;
}

.consent-message a:hover {
    color: #003d82;
}
