/* ==========================================================================
   Hana Ohana プレミアム・グローバルUI＆ポップアップ最適化デザインCSS
   ========================================================================== */

body.custom-lp-body {
    margin: 0;
    padding: 0;
    /* フォント指定をマルチデバイスで最も美しく安定する並びに最適化 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    color: #2d3748;
    background-color: #ffffff;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
}

/* モーダル展開時に背景のスクロールを完全に固定する補助クラス */
body.custom-lp-body.modal-open {
    overflow: hidden;
}

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

.compact-container {
    max-width: 850px;
}

.lp-section {
    padding: 140px 0;
}

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

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: #1a202c;
    margin-bottom: 25px;
}

.section-lead-text {
    text-align: center;
    font-size: 1rem;
    color: #718096;
    letter-spacing: 0.05em;
    max-width: 700px;
    margin: 0 auto 80px auto;
}

/* --------------------------------------------------------------------------
   ヘッダー ＆ 言語切り替えボタン（タップバグ完全解消設計）
   -------------------------------------------------------------------------- */
.lp-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.logo a {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #1a202c;
    text-decoration: none;
}

.lp-lang-switcher {
    position: relative;
    display: inline-block;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    padding: 8px 36px 8px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #2d3748;
    cursor: pointer;
    min-width: 125px;
    box-sizing: border-box;
    user-select: none;
    transition: background-color 0.2s;
    z-index: 1010;
}

.lp-lang-switcher:hover {
    background: #edf2f7;
}

.lp-lang-switcher::after {
    content: '▼';
    position: absolute;
    right: 14px; top: 52%;
    transform: translateY(-50%);
    font-size: 0.55rem;
    color: #a0aec0;
    transition: transform 0.2s ease;
    pointer-events: none;
}

.lp-lang-switcher.is-open::after {
    transform: translateY(-50%) rotate(180deg);
}

.lp-lang-switcher ul.bogo-language-switcher {
    list-style: none;
    margin: 0; padding: 0;
    display: block;
}

.lp-lang-switcher ul.bogo-language-switcher li {
    display: none;
}
.lp-lang-switcher ul.bogo-language-switcher li.current {
    display: flex;
    align-items: center;
    pointer-events: none;
}

.lp-lang-switcher.is-open ul.bogo-language-switcher {
    position: absolute;
    top: 100%; right: 0;
    margin-top: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    min-width: 140px;
    padding: 6px 0;
    z-index: 1020;
}

.lp-lang-switcher.is-open ul.bogo-language-switcher li {
    display: block;
    border-bottom: 1px solid #f7fafc;
}
.lp-lang-switcher.is-open ul.bogo-language-switcher li:last-child {
    border-bottom: none;
}

.lp-lang-switcher.is-open ul.bogo-language-switcher li a,
.lp-lang-switcher.is-open ul.bogo-language-switcher li.current span {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    width: 100%;
    box-sizing: border-box;
    color: #4a5568;
    text-decoration: none;
    transition: background-color 0.2s;
    pointer-events: auto;
}

.lp-lang-switcher.is-open ul.bogo-language-switcher li a:hover {
    background-color: #f7fafc;
    color: #1a202c;
}

.lp-lang-switcher.is-open ul.bogo-language-switcher li.current span {
    background-color: #f1f5f9;
    color: #1a202c;
    font-weight: 600;
}

ul.bogo-language-switcher img.bogo-flag {
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* --------------------------------------------------------------------------
   ヒーローセクション（アースカラーブレンド調和設計）
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(18, 18, 16, 0.48);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-sub-title {
    display: block;
    font-size: 1rem;
    letter-spacing: 0.25em;
    margin-bottom: 25px;
    color: #e3ddcb; 
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.08em;
    margin: 0;
    color: #fdfbfa; 
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.6), 
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 10px 40px rgba(0, 0, 0, 0.25);
}

/* --------------------------------------------------------------------------
   イントロダクション
   -------------------------------------------------------------------------- */
.intro-section {
    padding: 160px 0;
    background-color: #ffffff;
}

.intro-asymmetry {
    display: flex;
    align-items: center;
    gap: 60px;
}

.intro-text-side { width: 50%; }
.intro-image-side { width: 50%; }

.intro-image-side img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    object-fit: cover;
}

.intro-lead-title {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    line-height: 1.6;
    color: #1a202c;
    margin-bottom: 35px;
}

.intro-text-body {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 2.2;
    letter-spacing: 0.05em;
    margin: 0;
}

/* --------------------------------------------------------------------------
   施設紹介 ＆ アメニティハイライトエリア（!important排除・堅牢化設計）
   -------------------------------------------------------------------------- */
.main-room-showcase {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.main-room-image img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.main-room-layout-details {
    background-color: #ffffff;
    padding: 35px 40px;
    border-radius: 8px;
    border: 1px solid #edf2f7;
}

.main-room-layout-details h4 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    color: #1a202c;
}

.main-room-layout-details p {
    margin: 0;
    font-size: 1rem;
    line-height: 2;
    color: #4a5568;
}

.bedroom-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.bedroom-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    transition: transform 0.3s ease;
}

.bedroom-card:hover { transform: translateY(-5px); }
.bedroom-card img { width: 100%; height: 220px; object-fit: cover; }
.bedroom-info { padding: 20px; }
.bedroom-info h4 { margin: 0 0 8px 0; font-size: 1.05rem; font-weight: 600; color: #1a202c; }
.bedroom-info p { margin: 0; font-size: 0.88rem; color: #718096; }

/* 共通アメニティ：親の優先度を高めてテーマ干渉を防止 */
body.custom-lp-body #facility .amenity-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 30px auto;
    box-sizing: border-box;
}

body.custom-lp-body #facility .amenity-card-item {
    flex: 1 1 calc(25% - 12px);
    min-width: 220px;
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #edf2f7;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    box-sizing: border-box;
}

body.custom-lp-body #facility .amenity-card-item i {
    font-size: 20px;
    color: #d69e2e;
    width: 24px;
    text-align: center;
    margin-right: 12px;
    flex-shrink: 0;
}

body.custom-lp-body #facility .amenity-card-item .amenity-text {
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.2;
}

/* --------------------------------------------------------------------------
   周辺環境・アクセス（独立した白背景へ）
   -------------------------------------------------------------------------- */
.spots-showcase {
    background-color: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 20px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
}

.spot-block {
    display: flex;
    padding: 40px 0;
    border-bottom: 1px solid #edf2f7;
}

.spot-block:last-child { border-bottom: none; }
.spot-label { width: 28%; flex-shrink: 0; }
.spot-label h3 { margin: 0; font-size: 1.05rem; font-weight: 600; color: #1a202c; letter-spacing: 0.05em; }
.spot-details { width: 72%; font-size: 0.98rem; color: #2d3748; line-height: 1.9; }
.spot-details p { margin: 0 0 15px 0; }

.spot-note {
    display: block;
    font-size: 0.88rem;
    color: #718096;
    line-height: 1.8;
    background-color: #ffffff;
    padding: 15px 20px;
    border-radius: 6px;
    margin-top: 10px;
    border: 1px solid #edf2f7;
}

/* --------------------------------------------------------------------------
   室内設備・アメニティ（詳細一覧用）
   -------------------------------------------------------------------------- */
.luxury-amenity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.l-amenity-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #edf2f7;
}

.amenity-img-wrapper {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 20px;
}

.amenity-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.l-amenity-item h4 { font-size: 1rem; font-weight: 600; color: #1a202c; margin: 0 0 12px 0; }
.l-amenity-item p { font-size: 0.88rem; color: #4a5568; margin: 0; line-height: 1.7; }

.amenity-notice-box {
    margin-top: 40px;
    background-color: #ffffff;
    border-left: 3px solid #718096;
    padding: 15px 30px;
    font-size: 0.88rem;
    color: #718096;
    border-radius: 0 6px 6px 0;
}

.amenity-notice-box p { margin: 8px 0; line-height: 1.8; }

/* --------------------------------------------------------------------------
   プレミアム・プロミス（ハイブリッド案内カード）
   -------------------------------------------------------------------------- */
.premium-promises-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.promise-card {
    background-color: #f8fafc;
    border: 1px solid #edf2f7;
    padding: 35px 30px;
    border-radius: 8px;
    text-align: left;
}

.promise-card h5 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
}

.promise-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
   ハウスルール ＆ Q&A アコーディオン
   -------------------------------------------------------------------------- */
.rules-sign-wrapper { text-align: center; margin-bottom: 40px; }
.rules-sign-img { max-width: 200px; height: auto; border-radius: 4px; opacity: 0.85; }

.accordion-wrapper { margin-top: 20px; }

.styled-accordion {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    padding: 24px 30px;
    cursor: pointer;
    background-color: #ffffff;
    list-style: none;
    position: relative;
    transition: background-color 0.2s;
}

.accordion-header:hover { background-color: #f8fafc; }
.accordion-header::-webkit-details-marker { display: none; }

.toggle-rules-trigger {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #2d3748;
    letter-spacing: 0.05em;
    text-align: center;
    width: 100%;
    padding-right: 20px;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 40px; top: 50%;
    transform: translateY(-50%);
    font-weight: 300;
    font-size: 1.4rem;
    color: #718096;
}

.styled-accordion[open] .accordion-header::after { content: '−'; }

.accordion-content {
    padding: 50px 60px;
    border-top: 1px solid #edf2f7;
    background-color: #fafafa;
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 2;
    text-align: left;
}

.accordion-inner-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a202c;
    margin-top: 0;
    margin-bottom: 25px;
    border-left: 3px solid #1a202c;
    padding-left: 15px;
}

.accordion-separator { height: 1px; background-color: #e2e8f0; margin: 50px 0; }
.accordion-content hr { border: none; border-top: 1px solid #edf2f7; margin: 25px 0; }
.license-box { text-align: center; margin-top: 60px; font-size: 0.85rem; color: #a0aec0; }

/* --------------------------------------------------------------------------
   コンバージョンボタン（右下浮遊）
   -------------------------------------------------------------------------- */
.luxury-floating-btn {
    position: fixed;
    bottom: 40px; right: 40px;
    background-color: #1a202c;
    color: #ffffff;
    text-decoration: none;
    padding: 18px 45px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
    z-index: 999;
    transition: all 0.3s ease;
}

.luxury-floating-btn:hover { background-color: #4a5568; transform: translateY(-3px); }

/* --------------------------------------------------------------------------
   予約ポップアップ（モーダルウィンドウ）
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.is-active { opacity: 1; pointer-events: auto; }

.modal-window {
    background-color: #ffffff;
    width: 90%;
    max-width: 460px;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    text-align: center;
}

.modal-overlay.is-active .modal-window { transform: translateY(0); }
.modal-close-x { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 1.8rem; color: #a0aec0; cursor: pointer; line-height: 1; transition: color 0.2s; }
.modal-close-x:hover { color: #4a5568; }
.modal-title-text { font-size: 1.2rem; font-weight: 600; color: #1a202c; margin-top: 10px; margin-bottom: 30px; letter-spacing: 0.05em; }
.modal-btn-container { display: flex; flex-direction: column; gap: 15px; }

.platform-btn { display: flex; align-items: center; justify-content: center; padding: 16px; border-radius: 6px; text-decoration: none; font-weight: bold; font-size: 1.05rem; transition: transform 0.2s, box-shadow 0.2s; }
.platform-btn:hover { transform: translateY(-2px); }
.airbnb-btn { background-color: #FF5A5F; color: #ffffff; box-shadow: 0 4px 12px rgba(255, 90, 95, 0.2); }
.airbnb-btn:hover { background-color: #e0484d; box-shadow: 0 6px 16px rgba(255, 90, 95, 0.3); }
.booking-btn { background-color: #003580; color: #ffffff; box-shadow: 0 4px 12px rgba(0, 53, 128, 0.2); }
.booking-btn:hover { background-color: #002253; box-shadow: 0 6px 16px rgba(0, 53, 128, 0.3); }
.btn-brand-name { letter-spacing: 0.05em; }

/* --------------------------------------------------------------------------
   モバイル対応レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .luxury-amenity-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
}

@media (max-width: 991px) {
    .lp-section { padding: 90px 0; }
    .hero-content h1 { font-size: 2.2rem; }
    .intro-asymmetry { flex-direction: column; gap: 40px; }
    .intro-text-side, .intro-image-side { width: 100%; }
    .spot-block { flex-direction: column; gap: 15px; }
    .spot-label, .spot-details { width: 100%; }
    .bedroom-gallery { grid-template-columns: 1fr; gap: 25px; }
    .premium-promises-grid { grid-template-columns: 1fr; gap: 20px; }
    
    /* アメニティ：タブレット時は2列配置 */
    body.custom-lp-body #facility .amenity-card-item {
        flex: 1 1 calc(50% - 8px);
        min-width: calc(50% - 8px);
    }
}

@media (max-width: 767px) {
    .header-container { padding: 12px 18px; }
    .logo a { font-size: 1.15rem; letter-spacing: 0.12em; }
    
    .lp-lang-switcher { padding: 7px 30px 7px 14px; min-width: 110px; font-size: 0.78rem; }
    .lp-lang-switcher::after { right: 12px; }

    .container { padding: 0 25px; }
    .section-title { font-size: 1.6rem; }
    .hero-content h1 { font-size: 1.6rem; line-height: 1.5; }
    .intro-lead-title { font-size: 1.4rem; }
    .intro-text-body { text-align: left; font-size: 0.95rem; }
    .main-room-image img { max-height: 350px; }
    .accordion-content { padding: 35px 25px; }
    .spots-showcase { padding: 10px 25px; }
    .luxury-amenity-grid { grid-template-columns: 1fr; }
    
    /* アメニティ：スマホ環境では文字溢れを防ぐため100%（1列）に最適化 */
    body.custom-lp-body #facility .amenity-card-item {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .luxury-floating-btn { bottom: 0; left: 0; right: 0; width: 100%; border-radius: 0; text-align: center; box-sizing: border-box; padding: 22px; font-size: 1rem; }
    body.custom-lp-body { padding-bottom: 70px; }
    .modal-window { padding: 35px 20px; }
}
/* 周辺環境セクションのビジュアルグリッド */
.spots-visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.spot-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 35px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.spot-icon-wrapper {
    width: 60px;
    height: 60px;
    background: #f7fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.spot-icon-wrapper i {
    font-size: 24px;
    color: #d69e2e; /* Hana Ohanaのアクセントゴールド */
}

.spot-card h3 {
    font-size: 18px;
    color: #1a202c;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.spot-links-list {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.8;
}

/* Google Map ラッパー（16:9のレスポンシブ ＆ グレースケール微調整） */
.map-section-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.lp-map-container {
    width: 100%;
    aspect-ratio: 16 / 9; /* モダンブラウザ用アスペクト比固定 */
}

@media (max-width: 767px) {
    .lp-map-container {
        aspect-ratio: 4 / 3; /* スマホでは縦幅を少し持たせて操作しやすく */
    }
}

.lp-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /* サイトに馴染ませるためにマップの彩度を5%だけ落とす（お好みで調整または削除してください） */
    filter: saturate(0.95);
}