/* =========================================================
   hotel list（ホテル一覧） / search/index.css
   ========================================================= */

/* ホテル名サジェスト */
ul.TapSuggest li.ts-header {
    background: #f5f5f5;
    color: #666;
    font-size: 12px;
    cursor: default;
}

ul.TapSuggest li.ts-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

ul.TapSuggest li.ts-item i {
    color: #666;
}


/* =========================================================
   [共通化予定ブロック]
   ▼ 検索フォーム・モーダル・ページャーなど
   → 今後 /css/search/common.css へ移行予定
   ========================================================= */

/* ================================
   ▼ 検索フォーム（仮置き）
   ================================ */
/*
.searchbar {
    ...
}
*/

/* ================================
   ▼ モーダル（仮置き）
   ================================ */
/* pseudo type modal */
@media (max-width: 767px) {

    /* フルスクリーンモーダルを開くトリガー **************************/
    .search-form-pc {
        display: none !important;
    }

    .sp-search-trigger__inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .sp-search-trigger__info {
        font-size: 0.714rem; /* 12px */
        color: var(--color-text);
    }

    .sp-search-trigger__label {
        color: #888;
        margin-right: 4px;
    }

    .sp-search-trigger__icon {
        font-size: 1.143rem; /* 20px */
        color: #ccc;
    }

    /* フルスクリーンモーダル **************************/
    .sp-search-modal,
    .sp-sub-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 1000;
        overflow-y: auto;
        display: none; /* 初期は非表示（JSでfadeIn） */
    }

    .sp-search-modal[style*="display: block"],
    .sp-sub-modal[style*="display: block"] {
        display: block;
    }
    body.is-fixed {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    /* 条件変更 **************************/
    /* ブロック全体：ラベルと入力を横並び */
    .sp-search-modal__block {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin: 0 8px 8px;
    }

    /* 必須 */
    .sp-search-modal__required {
        color: #EF7474;
        text-align: right;
        padding: 10px 8px;
    }
    .sp-search-modal__required i {
        margin-right: 2px;
    }

    /* ラベル：左側固定幅 */
    .sp-search-modal__label {
        flex: 0 0 6rem;
    }
    .sp-search-modal__label i {
        font-size: 0.667rem;
        color: #EF7474;
        margin-left: 2px;
    }

    /* ボタン型入力とセレクト：右側可変 */
    .sp-search-modal__input,
    .sp-search-modal__input[type="text"],
    .sp-search-modal__select {
        flex: 1;
        width: 100%;
        padding: 12px 10px;
        border: 1px solid #ccc;
        background: #fff;
        color: #333;
        box-sizing: border-box;
        text-align: left;
    }

    /* セレクト：矢印装飾 */
    .sp-search-modal__select {
        appearance: none;
        background-image: url("data:image/svg+xml;utf8,<svg fill='%23333' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px 16px;
    }


    /* 人数 **************************/
    /* ゲスト1行（大人・子供） */
    .sp-sub-modal__guest-group {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 10px;
    }

    /* ラベル */
    .sp-sub-modal__guest-label {
        font-size: 0.875rem;
        color: var(--color-text);
    }

    /* ＋−ボタンと数字 */
    .sp-sub-modal__guest-control {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .sp-sub-modal__guest-control #child-count,
    .sp-sub-modal__guest-control #adult-count {
        width: 32px;
        text-align: center;
    }

    .sp-sub-modal__guest-control button {
        width: 32px;
        height: 32px;
        font-size: 1.25rem;
        border: 1px solid var(--color-border);
        background: #fff;
        color: #333;
        border-radius: 4px;
    }

    /* 子供年齢セレクト */
    /* 子供年齢セレクト群（#guestModal 内） */
    #guestModal #child-age-selects {
        display: flex;
        flex-direction: column;
        align-items: flex-end;   /* 右寄せ */
        margin-left: auto;       /* 左側に余白 */
        gap: 8px;                /* 各行の間隔 */
        background: none;        /* 背景は白にしない */
        padding: 0;
    }

    /* 各年齢セレクト行 */
    #guestModal #child-age-selects .child-age-select {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        width: 100%;
        padding: 12px 10px 0;
    }

    #guestModal #child-age-selects label {
        color: var(--color-text);
        white-space: nowrap;
    }

    #guestModal #child-age-selects select {
        width: 128px;               /* 1人目/2人目のプルダウン幅 */
        height: 34px;
        border: 1px solid #ccc;
        background: #fff;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        padding: 0 24px 0 8px;
        background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 6px center;
        background-size: 10px 6px;
    }
    /* ＋−ボタン：通常 */
    #guestModal .sp-sub-modal__guest-control button {
        width: 32px;
        height: 32px;
        font-size: 1.25rem;
        border: 1px solid var(--color-border);
        background: #fff;
        color: #333;
        border-radius: 4px;
        cursor: pointer;
        transition: color 0.2s, border-color 0.2s;
    }

    /* 無効状態（最小 or 最大時） */
    #guestModal .sp-sub-modal__guest-control button.is-disabled,
    #guestModal .sp-sub-modal__guest-control button:disabled {
        color: #D8D8D8 !important;
        border-color: #D8D8D8 !important;
        cursor: default;
        opacity: 1; /* 薄くしない */
    }

    /* ヘッダー **************************/
    .sp-search-modal__header,
    .sp-sub-modal__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 8px;
        background: #000;
        color: #fff;
    }

    .sp-search-modal__title,
    .sp-sub-modal__title {
        font-size: 1.333rem;
        font-weight: bold;
    }
    .sp-search-modal__clear,
    .sp-sub-modal__clear {
        font-size: 0.75rem;
        background: none;
        border: 1px solid #fff;
        border-radius: 4px;
        color: #fff;
        padding: 4px 8px;
    }
    .sp-search-modal__close,
    .sp-sub-modal__close {
        font-size: 1.333rem;
        background: none;
        border: none;
        color: #fff;
    }

    /* フッター **************************/
    @media (max-width: 767px) {
        .sp-search-modal__footer,
        .sp-sub-modal__footer{
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 12px 16px;
            background: #474747;
            z-index: 1001;
            text-align: center;
        }

        .sp-search-modal__submit,
        .sp-sub-modal__submit{
            width: 60%;
            padding: 10px;
            font-size: 1rem;
            border: none;
            border-radius: 4px;
            background: var(--color-btn-primary);
            color: #fff;
            font-weight: bold;
        }

    }

}

/* ===== Modal (base) ===== */
.modal{
    position: fixed;
    inset: 0;
    display: none;                 /* 初期は非表示 */
    padding: 2vh 2vw;              /* 画面端に余白 */
    box-sizing: border-box;
}
@media (max-width: 767px) {
    .modal{ padding: 0 }  /* SPは固定値 */
}
.modal.is-open{
    display: flex;                 /* 画面中央へ */
    align-items: center;
    justify-content: center;
    z-index: 10000;
}
body.is-modal-open{ overflow: hidden; }  /* 背景スクロール停止 */

.modal__overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.84);
    z-index: 1;
}

/* 汎用ダイアログ（白背景） */
.modal__dialog{
    position: relative;            /* overlay より前面に */
    z-index: 2;
    width: min(640px, 100%);
    max-height: min(80vh, calc(100vh - 4vh));
    overflow: auto;
    background: #fff;
    padding: 44px;
    box-sizing: border-box;
}

/* タイトル・本文・閉じる */
.modal__title{ margin: 0 0 4px; font-size: 16px; color: #222; }
.modal__body{ font-size: 14px; color: #222; }
.modal__content{ margin-bottom: 24px; }
.modal__content p{ margin-top: 0; }
@media (max-width: 767px){
    .modal__title{ margin: 0 0 4px; font-size: 14px; }
    .modal__body{ font-size: 12px; }
    .modal__content{ margin-bottom: 24px; }
}

.modal__close{
    position: absolute;
    top: 12px;
    left: 12px;
    width: 26px; height: 26px;
    font-size: 26px; line-height: 26px;
    border: 0; background: none; color: #95979D;
    cursor: pointer; padding: 0;
}
@media (max-width: 767px){
    .modal__close{
        top: 8px;
        left: 4px;
    }
}
/* モーダルの下部ボタン（クチコミ風） */
.modal__footer{ text-align: center; padding-top: 16px; }
.modal__footer .btn--link{
    font-size: 12px;
    padding: 10px 16px;
    border: 1px solid #CCC;
    background: #EFEFEF;
}
@media (max-width: 767px){
    .modal__footer{ padding-top: 0; }
}
/* Tablet */
@media (max-width: 1024px){
    .modal__dialog{ width: min(680px, 100%); }
}
/* iPhone (〜767) */
@media (max-width: 767px){
    .modal__dialog{
        width: calc(100% - 24px);
        max-height: calc(100% - 32px);
        padding: 48px 8px 32px;
    }
}

/* slick 既定矢印は常に非表示（“Previous”対策） */
.slick-prev.slick-arrow,
.slick-next.slick-arrow{ display: none !important; }

/* ====== ギャラリーモーダル ====== */
@media (min-width: 1025px) {
    .js-open-sp-gallery {
        display: none;
    }
}
@media (max-width: 1024px) {
    .slider-badge {
        display: none;
    }
}
.modal-gallery{ color:#fff; }         /* デフォ文字色を白に */
.modal-gallery *{ color:inherit; }

.modal-gallery .modal__dialog{
    width: min(1160px, 100%);
    max-width: 1160px;
}

/* × は右上・サイズ倍。左指定は打ち消し */
.modal-gallery .modal__close{
    position: absolute;
    top: 16px; right: 16px; left: auto;
    width: 28px; height: 28px; font-size: 28px; line-height: 1;
    background: none; border: 0; color: #fff; cursor: pointer; z-index: 20;
}

/* ヘッダー */
.gallery-header{
    display: flex; align-items: center;
    gap: 12px; min-height: 32px; padding: 0 4px;
}

/* 2カラムを固定幅で（左863 / 右272 / 間20） */
.gallery-body{
    display: grid;
    grid-template-columns: 863px 272px;  /* ← 固定 */
    column-gap: 20px;
    align-items: start;
    width: 100%;
    min-height: 0;
}

/* 左カラムを確定しておく */
.gallery-left{ width: 863px; }

/* メイン枠を固定ボックスに */
.gallery-main{
    width: 863px;
    height: 577px;
    position: relative;
    display: block;          /* 中央化はimg側でやる */
    background: transparent; /* 透過のまま、必要なら色入れてOK */
}

/* 画像は中央に“収める”。比率維持・はみ出さない・拡大しない */
.gallery-main img{
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;             /* 画像実サイズ優先（枠内で縮小） */
    height: auto;
    object-fit: contain;
    display: block;
}

/* フッター（矢印＋件数を中央に並べる） */
.gallery-footer{
    height: var(--gallery-footer-h);
    display: flex; align-items: center; justify-content: center;
    gap: 48px;                          /* 矢印と件数の距離 */
    margin-top: 8px;                    /* メインとの間隔（任意） */
}
.gallery-count{
    font-size: 14px; padding: 4px 8px;
    background: rgba(0,0,0,.5);
    border-radius: 4px;
}
.gallery-prev, .gallery-next{
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: none; border: 0; color: #fff; font-size: 20px; cursor: pointer;
}
.gallery-prev{  left: calc(50% - 72px); }
.gallery-next{ right: calc(50% - 72px); }

/* ===== 右カラム：サムネ ===== */
/* スクロール担当 */
/* スクロール容器（高さを明示） */
.gallery-thumbs-scroll {
    width: 272px;
    height: calc(609px + var(--gallery-footer-h, 32px));
    overflow: auto;
    padding: 0 4px 32px 0;   /* ← 下を32pxにした */
    -webkit-overflow-scrolling: touch;
}
/* 2本カラム（左右） */
.gallery-cols{
    display: flex;
    align-items: flex-start;
    gap: 8px;               /* 列間 */
}
.gallery-cols .col{
    width: 132px;
    display: flex;
    flex-direction: column; /* 縦積み */
    gap: 1px;               /* 縦の間隔 */
}

/* サムネ画像（幅固定・高さは画像任せ） */
.gallery-cols img{
    width: 100%;        /* 132px にフィット */
    height: auto;
    display: block;
    border-radius: 4px;
    cursor: pointer;
    opacity: .9;
}
.gallery-cols img.is-active{
    outline: 3px solid var(--color-main);
    opacity: 1;
}
/* サムネ：メイソンリー風（行を揃えない） */
.gallery-thumbs{
    width: 272px;                       /* 132×2 + 8 */
    column-gap: 8px;                    /* 列間 8px */
    max-height: calc(577px + var(--gallery-footer-h, 54px));
    overflow: auto;
    padding-right: 4px;
}
/* 画像は列幅いっぱい。行の揃いをなくすため break-inside を付与 */
.gallery-thumbs img{
    width: 100%;                        /* 列幅にフィット（= 132px） */
    height: auto;                       /* 高さは画像比率のまま */
    display: block;
    margin: 0 0 1px;                    /* 縦間 1px（ご指定） */
    border-radius: 4px;
    cursor: pointer;
    opacity: .9;
    break-inside: avoid;                /* 列の途中で分割しない */
}

/* アクティブ枠線はそのまま */
.gallery-thumbs img.is-active{
    outline: 3px solid var(--color-main);
    opacity: 1;
}
.slick-prev.slick-arrow,
.slick-next.slick-arrow{ display: none !important; }

/* サムネ lazy 表示 */
.gallery-thumbs img.is-lazy{
    filter: blur(6px); transform: scale(1.02);
    transition: filter .25s ease, transform .25s ease, opacity .2s;
    opacity: .8;
}
.gallery-thumbs img.is-loaded{
    filter: none; transform: none; opacity: 1;
}

/* バッジはリンク風カーソル */
.slider-badge, .plan-slider-badge{ cursor: pointer; }

/* ==== SPギャラリーモーダル（全デバイス共通初期設定） ==== */
.sp-gallery-modal {
    display: none; /* ← 初期非表示を必ず全幅に適用 */
}
@media (max-width: 1024px) {
    .sp-gallery-modal {
        position: fixed;
        inset: 0;
        background: #000;
        z-index: 1000;
        display: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 0 32px;
    }

    .sp-gallery-modal.is-open {
        display: block;
    }

    .sp-gallery-modal .modal-header-fixed {
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: #000;
        padding-bottom: 12px;
    }

    .sp-gallery-modal .modal-header {
        display: flex;
        justify-content: flex-start; /* ← 左寄せ */
        align-items: center;
        gap: 12px;                    /* 間隔を開ける */
        padding: 12px 16px 0;
        font-size: 1rem;
    }

    .sp-gallery-modal .modal-close {
        font-size: 1.25rem;
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
    }

    .sp-gallery-modal .modal-image-count {
        margin-left: 16px;
        color: #fff;
    }

    .sp-gallery-modal .modal-toolbar {
        display: flex;
        align-items: center;
    }

    .sp-gallery-modal .modal-resize {
        margin: 0 16px 0 auto;
        background: none;
        border: none;
        color: #fff;
        padding: 0;
        line-height: 1;
        text-decoration: underline;
    }

    .sp-gallery-modal .modal-title {
        color: #fff;
    }

    .sp-gallery-modal .modal-body {
        padding: 12px 16px;
    }

    /* ギャラリー：グリッド配置に余白防止 */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2列 */
        gap: 1px;                              /* 隙間1px */
        list-style: none;
        padding: 0;
        margin:0;
        background-color: #000;                /* 隙間の背景色 */
        grid-auto-rows: auto;                  /* ← 高さ詰める */
    }

    .gallery-grid li {
        background-color: #000;
    }

    .gallery-grid li img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 0;
    }
}

/* ===== ギャラリー用 強制上書き（順序・優先度で勝つ） ===== */

/* モーダル本体：黒背景固定・中央表示・オーバーフロー防止 */
.modal.modal-gallery .modal__dialog{
    background: #000 !important;            /* ← 白に勝つ */
    color: #fff !important;
    width: 1160px;                           /* PCは固定幅 */
    max-width: calc(100vw - 32px);           /* 画面狭い時だけ縮む */
    max-height: calc(100vh - 32px);
    padding: 16px !important;
    overflow: hidden;                         /* 内側はみ出し防止 */
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* ヘッダー（ホテル名）が勝手にでかくならないよう固定 */
.modal-gallery .gallery-header{
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
}

/* 2カラム：左=863px / 右=272px（間20px）を固定 */
.modal-gallery .gallery-body{
    display: grid;
    grid-template-columns: 863px 272px;      /* 固定 */
    column-gap: 20px;
    align-items: start;
    width: 100%;
    min-height: 0;                            /* grid内のオーバーフロー抑止 */
}

/* 左カラムは縦積み（メイン＋フッター） */
.modal-gallery .gallery-left{
    width: 863px;
    min-width: 863px;                         /* 揺れ防止 */
    display: flex;
    flex-direction: column;
    align-items: center;                      /* 中央寄せ */
    padding-top: 0;                           /* ここは触らない（要件通り） */
}

/* メイン枠：固定サイズボックス（画像はその中で自動縮小） */
.modal-gallery .gallery-main{
    width: 863px;
    height: 577px;
    position: relative;
    display: flex;                            /* 中央に置くためflex */
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;                         /* 念のため */
}

/* 画像：比率維持・はみ出さない・中央配置（拡大しない） */
.modal-gallery .gallery-main img{
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;                             /* 中央配置 */
}

/* 左下フッター（矢印＋件数）はそのまま */
.modal-gallery .gallery-footer{
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-top: 8px;
}
.modal-gallery .gallery-count{
    font-size: 14px;
    background: rgba(0,0,0,.5);
    padding: 4px 8px;
    border-radius: 4px;
}
.modal-gallery .gallery-prev,
.modal-gallery .gallery-next{
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: none; border: 0; color: #fff; font-size: 20px; cursor: pointer;
}

/* 右：サムネ2列（スクロール容器の高さはあなたの調整を尊重） */
.modal-gallery .gallery-thumbs-scroll{
    width: 272px;
    height: calc(609px + var(--gallery-footer-h, 32px)); /* ←あなたの最終値 */
    overflow: auto;
    padding: 0 4px 0 0;                     /* 下は32px入れたいなら 0→32px に */
    -webkit-overflow-scrolling: touch;
}
.modal-gallery .gallery-cols{
    display: flex; align-items: flex-start; gap: 8px;
}
.modal-gallery .gallery-cols .col{
    width: 132px;
    display: flex; flex-direction: column; gap: 1px;
}
.modal-gallery .gallery-cols img{
    width: 100%; height: auto; display: block;
    border-radius: 4px; cursor: pointer; opacity: .9;
}
.modal-gallery .gallery-cols img.is-active{
    outline: 3px solid var(--color-main); opacity: 1; outline-offset: -3px;
}

/* × は右上固定（共通の left:12px を打ち消す） */
.modal.modal-gallery .modal__close{
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    width: 28px; height: 28px; font-size: 28px; line-height: 1;
    color: #fff; background: none; border: 0; cursor: pointer; z-index: 20;
}

/* slickデフォ矢印は常に消す（“Previous”対策） */
.slick-prev.slick-arrow, .slick-next.slick-arrow{ display: none !important; }

/* ===== ギャラリー細部の余白調整（復活パッチ） ===== */
:root{
    --gallery-gap-x: 20px;    /* 左(メイン)と右(サムネ)の間隔 */
    --thumbs-gutter-right: 32px;/* サムネ右側の余白（スクロールバー逃げ） */
    --thumbs-pad-bottom: 32px; /* サムネ下の余白（リスト末尾スペース） */
    --main-top-gap: 38px;      /* メイン画像上の余白 */
}

/* 左右のカラム間 */
.modal-gallery .gallery-body{
    column-gap: var(--gallery-gap-x);
}

/* メイン画像の上に余白を戻す */
.modal-gallery .gallery-main{
    margin-top: var(--main-top-gap);
}

/* サムネスクロールの右・下に余白を戻す（上は変更しない） */
.modal-gallery .gallery-thumbs-scroll{
    /* 右側スペース & 下側スペースを確保 */
    padding-right: var(--thumbs-gutter-right);
    padding-bottom: var(--thumbs-pad-bottom);
    /* 既存の高さ指定はそのまま活かす（例：height: calc(609px + var(--gallery-footer-h, 32px));） */
}

/* Safari対策：余白が効かない時の保険 */
@supports (-webkit-touch-callout: none) {
    .modal-gallery .gallery-thumbs-scroll{
        box-sizing: border-box;
    }
}



/* ================================
   ▼ ページャー（仮置き）
   ================================ */
/*
.pager--pc {
    ...
}
.pager--sp {
    ...
}
*/

/* ================================
   ▼ パーツ
   ================================ */

/* =========================================================
   ↑ ここまで common.css へ移行予定
   ========================================================= */


/* =========================================================
   ▼ 1. レイアウトベース
   ========================================================= */

.site-main {
    padding: 0 0 60px;
    color: var(--color-text, #222);
    font-size: 14px;
    line-height: 1.6;
}
@media (max-width: 1024px) {
    .site-main {
        padding: 0 0 50px;
    }
}
@media (max-width: 767px) {
    .site-main {
        padding: 0 0 40px;
    }
}

/* 2カラム構成 */
.cols--with-sidebar {
    display: flex;
    justify-content: space-between;
    max-width: 1010px;
    margin: 0 auto;
    gap: 24px;
}

/* --- TBもPC同様（flex横並び維持） --- */
@media (max-width: 1024px) {
    .cols--with-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* --- SPのみ縦並び --- */
@media (max-width: 767px) {
    .cols--with-sidebar {
        flex-direction: column;
        gap: 16px;
        padding: 0;
    }
}

/* サイドカラム */
.col--side {
    width: 220px;
    flex-shrink: 0;
}
@media (max-width: 1024px) {
    .col--side {
        width: 25%;
    }
}
@media (max-width: 767px) {
    .col--side {
        width: 100%;
    }
}

/* メインカラム */
.col--main {
    flex: 1;
    min-width: 0;
}
@media (max-width: 1024px) {
    .col--main {
        width: 100%;
    }
}
@media (max-width: 767px) {
    .col--main {
        width: 100%;
    }
}


/* ================================
   ▼ 2. ページタイトル
   ================================ */

.search-result-title {
    max-width: 1010px;
    margin: 12px auto 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text, #222);
    display: flex;
    align-items: center;
    gap: 8px;
    h2 {
        margin:0;
    }
}
@media (max-width: 767px) {
    .search-result-title {
        font-size: 16px;
        padding: 0;
        margin-bottom: 10px;
        margin-top:-16px;
    }
    .search-result-title h2{
        margin:0;
    }
}


/* ================================
   ▼ 2.5 検索フォーム（#searchbar）
   ※ このブロックは後で /css/search/common.css に移行予定
   ※ ラベル＋フィールドは一体型（横並びで密着）
   ================================ */

/* --- 干渉回避：他CSSでflex指定されている場合を解除 --- */
#searchbar #js-search-form {
    display: block;
}

/* ラッパー */
#searchbar {
    max-width: 1010px;
    margin: 0 auto 4px;
    padding: 16px;
}

/* 上段：目的地・チェックイン・チェックアウト
   目的地は可変、日付2つは固定幅でプラン詳細と合わせる */
.search-row--upper {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 260px 260px;
    gap: 8px;
    width: 100%;
    margin-bottom: 10px;
}

/* 下段：左（部屋＋人数）／右（再検索）に分割 */
.search-row--lower {
    display: flex;
    align-items: flex-end;
    justify-content: space-between; /* 左右端で配置 */
    gap: 14px;
    width: 100%;
}

/* 左グループ（部屋＋人数） */
.search-lower-left {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

/* 行＝ラベル＋フィールド一体 */
.sb-row {
    display: flex;
    align-items: stretch;
}

/* ラベル（左側） */
.sb-label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 10px;
    background: #f9f9f9;
    color: var(--color-text, #333);
    font-size: 12px;
    font-weight: 500;
    flex: 0 0 80px; /* ラベル幅固定 */
}

/* フィールド（右側） */
.sb-field {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 12px;
    background: #fff;
    border-left: none;               /* ラベルと接続 */
    transition: border-color .2s ease, box-shadow .2s ease;
    flex: 1 1 auto; /* 残り全幅を取る */
    min-width: 0;   /* ← これが超重要！flex子の幅制御を許可 */
}

/* 目的地欄 */
/* サジェスト挿入後のレイアウト崩れ対応のためblockで上書き */
.sb-field.sb-field--suggest {
    display: block;
    padding-right: 34px;
}

.sb-field input,
.sb-field select {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #222;
}
.sb-field i {
    margin-left: 6px;
    color: #666;
}

/* 目的地（サジェスト） */
.sb-field--suggest {
    position: relative;
}

.sb-field--suggest input {
    width: 100%;
    padding-right: 36px; /* ← ここに移す！input内に余白確保 */
}

/* 虫眼鏡アイコン（Font Awesome） */
.sb-field--suggest::after {
    content: "\f002";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #CCCCCC;
    pointer-events: none;
}

/* 目的地エラー */
.suggest-error-balloon {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    z-index: 1000;
}
.suggest-error-balloon__text {
    display: inline-block;
    position: relative;
    background: #d32f2f;
    color: #fff;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.suggest-error-balloon__text::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 16px;
    border: 6px solid transparent;
    border-bottom-color: #d32f2f;
}

/* チェックイン／チェックアウト：アイコン表示 */
.sb-row--checkin .sb-field,
.sb-row--checkout .sb-field {
    position: relative;
    padding-right: 30px;
}
.sb-row--checkin .sb-field::after,
.sb-row--checkout .sb-field::after {
    content: "\f073"; /* Font Awesome calendar */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #ccc;
}
.sb-row--checkin .sb-label,
.sb-row--checkout .sb-label {
    flex: 0 0 112px;
}
@media (max-width: 1024px) {
    .sb-row--checkin .sb-label,
    .sb-row--checkout .sb-label {
        flex: 0 0 90px;
    }
}

.sb-row--rooms .sb-field{
    width:90px;
    padding:0 8px;
}

/* 下段：部屋・人数は“左にコンパクト配置”（幅を取りすぎない） */
.search-lower-left .sb-row--room,
.search-lower-left .sb-row--guests {
    flex: 0 0 auto;          /* 伸びない */
}
.search-lower-left .sb-row--room { min-width: 180px; }   /* 目安：調整OK */
.search-lower-left .sb-row--guests { min-width: 260px; } /* 目安：調整OK */

.sb-row--guests .sb-field {
    flex : 0 0 auto; /* 幅固定 */
}
/* 再検索ボタン（右端固定） */
.sb-row--submit { flex: 0 0 auto; }
.sb-row--submit button {
    background: var(--color-btn-search, #3983B5);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    padding: 10px 28px;
    cursor: pointer;
    transition: background .3s ease;
}
.sb-row--submit button:hover {
    background: #2f6b93;
}

/* ===== TB（768〜1024px）はPC構成のまま（少しだけ縮める） ===== */
@media (max-width: 1024px) {

    .search-row--upper {
        grid-template-columns: 1fr 210px 210px;
        gap: 12px;
    }

    .search-row--lower { gap: 12px; }
    .search-lower-left { gap: 10px; }

    .sb-label {
        min-width: 68px;
        font-size: 12px;
    }
    /* .sb-field { height: 38px; } */
}

/* ===== SP（〜767px）：フォームはモーダル、ここでは非表示 ===== */
@media (max-width: 767px) {
    /* 一覧画面ではヘッダー下の検索バーはトグル表示にする前提 */
    #searchbar #js-search-form { display: none !important; }

    /* モーダル内（縦積み） */
    #modal-search .search-row {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    #modal-search .sb-row {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    #modal-search .sb-label {
        border-radius: 4px;
        border-right: 1px solid var(--color-border, #ccc);
    }
    #modal-search .sb-field {
        border-radius: 4px;
        border-left: 1px solid var(--color-border, #ccc);
        height: 42px;
        padding: 0 12px;
    }
    #modal-search button[type="submit"] {
        width: 100%;
        background: var(--color-main, #65121B);
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        border: none;
        border-radius: 4px;
        padding: 12px 0;
    }

    /* SPの“条件変更”トリガー */
    .sp-search-trigger {
        display: block;
        width: 100%;
        background: var(--color-white);
        border: 1px solid var(--color-border);
        padding: 6px 34px 6px 14px;
        font-size: 14px;
        color: #222;
        text-align: left;
        position: relative;
        box-shadow: 0 1px 2px rgba(0,0,0,.05);
        cursor: pointer;
    }
    .sp-search-trigger .fa-magnifying-glass:before{
        color:#ccc;
    }
    .sp-search-trigger__icon {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #666;
    }
}


/* ================================
   ▼ 3. 件数・並び替えバー（list-head）調整
   ================================ */

/* --- PC：縦並び・左寄せ（メインカラムと揃える） --- */
@media (min-width: 768px) {
    .list-head {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0; /* サイドと平行に */
        width: 100%;
        max-width: 1010px; /* main内の幅に揃える */
    }

    .list-count {
        color: #222;
        margin-left: 0;
    }

    .sort-nav.pc-only {
        display: flex;
        flex-wrap: wrap;
        gap: 24px; /* 少し広めにして視認性アップ */
        border-bottom: 1px solid #ddd;
        width:100%;
    }

    .sort-nav.pc-only li {
        color: #555;
        cursor: pointer;
        transition: color 0.2s;
    }

    .sort-nav.pc-only li:hover {
        color: #000;
    }

    .sort-nav.pc-only li.is-active {
        color: #000;
        border-bottom: 2px solid #000;
        font-weight: bold;
        padding-bottom: 2px;
    }
}

/* --- SP：list-countをsp-controls下へ --- */
@media (max-width: 767px) {
    .list-head {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .sp-controls {
        order: 1;
    }

    .sp-controls-item{
        display: grid;
        gap:0 10px;
        grid-template-columns: 1fr 1fr 1fr;
    }
    .sp-controls-item .btn{
        --btn-bd:#bbb;
    }

    .list-count {
        order: 2;
        color: #333;
        padding-left: 2px;
        margin-bottom:6px;
    }

    .sort-select{
        width:100%;
        background-color: #fff;
        --color-form-border:#ccc;
    }

    .sort-nav.pc-only {
        display: none;
    }
}


/* ================================
   ▼ 4. サイドカラム
   ================================ */

.side-header {
    margin-bottom: 8px;
}
@media (max-width: 767px) {
    .side-header {
        font-size: 12px;
    }
}

/* tab-btn-map */
.tab-btn-map{
    background:url( ../images/side-map.jpg ) no-repeat center top;
    border:none;
    padding:0;
    margin:0;
    display: flex;
    align-items: center;
    justify-content: center;
    color:#707070;
    background-color: #fff;
    border: 1px solid #707070;
    width:100%;
    height: 66px;
}
.tab-btn-map span::before{
    content:"";
    display:inline-block;
    background: url(/images/icon-map-pin.svg) 0 0 no-repeat;
    background-size: 13px;
    width:14px;
    height:20px;
    position:relative;
    top:4px;
    margin-right:11px;
}

/* price-range */
.price-range .price-inputs{
    display: grid;
    gap:0 10px;
    grid-template-columns: calc((100% - 34px) / 2) 14px calc((100% - 34px) / 2);
}
.price-range .price-inputs input{
    height: 25px;
    padding: 0 6px 0 20px;
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 767px) {
    .price-range .price-inputs input{
        font-size:16px;
    }
}

/* 料金入力欄の￥マーク固定表示 */
.price-input-wrap {
    position: relative;
    display: block;
    width: 100%;
}
.price-input-wrap .price-prefix {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    font-size: 12px;
    pointer-events: none;
    z-index: 1;
    line-height: 1;
}


.price-slider{
    position: relative;
    margin: 0;
    padding-top: 44px;
    padding-bottom: 12px;
}
@media (max-width: 767px) {
    .price-slider{
        position: relative;
        margin: 0;
    }
}

.price-slider .price-scale-rail{
    position:relative;
    width:100%;
    height:2px;
    background-color:#bbb;
}

.price-slider .price-scale-track{
    cursor:pointer;
    position:absolute;
    top:0;
    height:2px;
    background-color:#222;
}

.price-slider .price-scale-thumb{
    display:block;
    position:absolute;
    top:0;
    padding-top: 24px;
    margin-top:-39px;
    margin-left:-5.5px;
}

.price-slider .price-scale-thumb .price-scale-sup{
    position: absolute;
    top:0;
    left:50%;
    transform:translate(-50%, 0);
}

.price-slider .price-scale-thumb button{
    display:block;
    background:none;
    border:none;
    padding:0;
    margin:0;
    width:11px;
    height:16px;
    overflow:hidden;
}

.price-slider .price-scale-thumb button::after{
    font-family: "Font Awesome 6 Free";
    font-weight:900;
    content: "\f3c5";
    color: #222;
}



/* 件数＋クリアボタンの横並び */
.side-header__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.side-header__title {
    font-weight: bold;
}
.side-header__count {
    line-height: 1;
    display: flex;
    align-items: center;
}

#js-clear-filters {
    background: #fff;
    border: 1px solid #bbb;
    font-size: 11px;
    padding: 2px 18px 0;
    height: 22px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    border-radius: 0;
}

#js-clear-filters:hover {
    background: #f7f7f7;
}

/* 共通 */
.filter-title {
    font-weight: 600;
    margin-bottom: 6px;
}
@media (max-width: 767px) {
    .filter-title {
        margin-bottom: 0;
    }
}

.filter-block {
    border-bottom: 1px #BBBBBB solid;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

@media (max-width: 767px) {
    .filter-block {
        margin-bottom: 0;
    }
}

.filter-block__body{
    padding:20px 10px 10px;
}

.filter-block-toggle{
    display:block;
    background:none;
    border:none;
    padding:10px 10px 0;
    margin:0;
    position:relative;
    width:100%;
    height: 100%;
    text-align: left;
    color: var(--color-text);
    font-weight: bold;
}

.filter-block-toggle::before{
    content:"\f077";
    display:block;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size:18px;
    color:#707070;
    right:15px;
    position:absolute;
    top:50%;
    margin-top:-3px;
}

.filter-block-toggle.is-open::before{
    content:"\f078";
}

.filter-acc__body{
    margin-top:10px;
}

.filter-list {
    margin: 0;
}

.filter-list .is-disabled label{
    color:#BBBBBB;
}

.filter-list .is-disabled .rating{
    opacity:.5;
}

.filter-list .rating:not([class*="rating--"]) .star::before {
    font-size:12px;
}

@media (max-width: 767px) {
    .filter-list li:not(:first-child){
        margin-top:8px;
    }
}


/* ホテル名 */
input[type="text"].hotel-name {
    width: 100%;
    border: 1px solid #bbb;
    padding: 8px 10px; /* ✕アイコン分の右余白 */
    font-size: 12px;
    font-weight: 400;
    background: #fff;
    box-sizing: border-box;
}
@media (max-width: 767px) {
    input[type="text"].hotel-name {
        font-size:16px;
    }
}
.filter-input-wrap {
    position: relative;
}

.filter-input-wrap::after {
    content: "\f00d"; /* ✕ Font Awesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s ease;
}

/* スポット */
.filter-acc__title {
    font-weight: 600;
    padding-left: 10px;
    margin-bottom: -6px;
}
.spot-list li:not(:first-child){
    margin-top:5px;
}
.spot-list.js-spot-list {
    padding-left: 10px;
}
.spot-list.js-spot-list a {
    color: #222;
}
.spot-list a {
    color: #222;
    text-decoration: none;
}
.spot-list a:hover {
    color: #000;
    text-decoration: underline;
}
#res-spots-list a,
#res-spots-list-sp a {
    color: #222;
    text-decoration: none;
}
#res-spots-list a:hover,
#res-spots-list-sp a:hover {
    color: #000;
    text-decoration: underline;
}
@media (max-width: 767px) {
    .spot-list li:not(:first-child){
        margin-top:8px;
    }
}

@media (max-width: 767px) {
    .sp-filter-container{
        padding-bottom: 68px;
    }
}

/* =========================================================
   ▼ 開閉ボタン共通（もっと見る／ホテルサービス／設備）
   ========================================================= */
.filter-toggle-wrap {
    text-align: right;
}
.filter-toggle,
.btn.btn--sm.btn--outline.js-more-spot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 4px 0;
    cursor: pointer;
    transition: color 0.2s ease;
    color: #222;
}

/* ＋／− アイコン（四角囲み） */
.filter-toggle__icon{
    display: inline-flex;
    width: 14px;
    height: 14px;
    overflow:hidden;
}
.filter-toggle__icon:before,
.btn.btn--sm.btn--outline.js-more-spot::before {
    content: "\f067";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border: 1px solid #707070;
    color: #222;
    background-color: #fff;
    font-size: 11px;
    font-weight: bold;
    transition: all 0.2s ease;
    padding: 0 1px 0 1px;
    box-sizing: border-box;
    line-height: 14px;
}

/* 開いた状態（is-openまたはJS制御） */
.filter-toggle.is-open .filter-toggle__icon::before,
.btn.btn--sm.btn--outline.js-more-spot.is-open::before {
    content:"\f068";
}

/* ================================
   ▼ 5. ホテルカード（余白・バランス調整）
   ================================ */

/* 共通：カードの外側間隔 */
/* ※ hoterea-cdgではdiv.hotel-listにcssを当てているが、
   実装ではdiv.hotel-listの内側に
   div#hotel-listが存在するため.hotel-list→#hotel-listに置き換えている */
#hotel-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* カード全体 */
.hotel-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: #fff;

}
/* ================================
   ▼ PC：.hotel-card__top 横並び（768px〜）
   ================================ */
.hotel-card__top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

/* TB・SP：縦並び */
@media (max-width: 1024px) {
    .hotel-card {
        flex-direction: column; /* ← ここで縦積み */
        gap: 12px;
    }

    .hotel-aside {
        width: 100%;
    }
}
@media (max-width: 767px) {
    .hotel-card {
        padding: 16px 0;
    }
}

/* =========================================
   ホテル画像スライダー（固定枠内でcover表示）
   ========================================= */
.hotel-card__top .hotel-figure {
    position:relative;
    flex: 0 0 172px;
    height: 155px;
    overflow: hidden;
}

/* スライダー内のdivも枠いっぱいに広げる */
.hotel-card__top .hotel-figure .hotel-slider,
.hotel-card__top .hotel-figure .hotel-slider > div,
.hotel-card__top .hotel-figure .hotel-slider > div > div {
    height: 100%;
    width:172px;
}

/* 画像を枠内にフィット（中央トリミング） */
.hotel-card__top .hotel-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* ← 画像の中心でトリミング */
    display: block;
    background: transparent;
}

@media (max-width: 1024px) {
    .hotel-card__top .hotel-figure {
        flex: 0 0 172px;
    }
    .hotel-card__top .hotel-figure .hotel-slider,
    .hotel-card__top .hotel-figure .hotel-slider > div,
    .hotel-card__top .hotel-figure .hotel-slider > div > div {
        width:172px;
    }
}
@media (max-width: 767px) {
    .hotel-card__top .hotel-figure {
        width: auto;
        max-width: 100%;
    }
}

/* 本文ブロック */
.hotel-main {
    flex: 1;
    min-width: 0;
    padding-right: 10px;
    border-right: 1px #ccc solid;
}

@media (max-width: 767px) {
    .hotel-main {
        gap: 8px;
    }
}

.hotel-name {
    font-size: 16px;
    margin: 0;
}
@media (max-width: 767px) {
    .hotel-name {
        font-size: 16px;
    }
}

.hotel-name-en {
    font-size: 12px;
    margin: 0;
}
@media (max-width: 767px) {
    .hotel-name-en {
        font-size: 12px;
    }
}
/* ---- ホテル情報 ---- */
.hotel-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 16px;
    font-size: 12px;
    margin-bottom: 2px;
    .rating {
        .star::before {
            font-size:10px;
        }
    }
}
@media (max-width: 767px) {
    .hotel-meta {
        font-size: 12px;
    }
}

/* ロケーション */
.meta-location .fa-solid{
    color:#888;
}

/* 価格・ボタン側 */
.hotel-aside {
    width: 210px;
    text-align: right;
    padding: 16px 0;
    font-size: 12px;
}
@media (max-width: 767px) {
    .hotel-aside {
        width: 100%;
        text-align: left;
        margin-top: 10px;
    }
}
.hotel-aside .hotel-aside__meta {
    margin-bottom: 12px;
    text-align: left;
}
.hotel-aside .hotel-aside__meta .hotel-aside-price{
        display: flex;
        justify-content: space-between;
        gap:0 6px;
    }
.hotel-aside .hotel-price > span {
    display: block;
}
.hotel-aside .hotel-price .price-val {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-price);
}
.hotel-aside .hotel-cta {
    text-align: right;
    margin-top: 6px;
}
.hotel-aside .hotel-cta a {
    width: 208px;
}

.discount {
    display: inline-block;
    background: #ba0003;
    color: #fff;
    padding: 2px 8px;
    margin-right: 5px;
    font-size: 10px;
    letter-spacing: 2px;
}

/* ---- アメニティ ---- */
.amenities {
    display: flex;
    gap: 4px;
    margin: 0;
}
.amenity {
    width: 64px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    font-size: 12px;
    padding: 4px;
    color: #E0E0E0;
    background: #F8F8F8;
}
.amenity span {
    display: block;
}
.amenity.is-active {
    color: #3983B5;                     /* アクティブ文字色 */
    background: #EEEEEE;
}

@media (max-width: 767px) {
    .amenity{
        width:auto;
        height:auto;
        background: none;
        color:#ccc;
        padding:0;
    }
    .amenity.is-active{
        color: #222;
        background: none;
    }
    .amenities > .amenity:not(:first-child)::before{
            content:"/";
            display:inline-block;
            position:relative;
            margin-right:4px;
    }
}

/* ---- チェックイン/アウト ---- */
.hotel-terms {
    font-size: 12px;
}
.hotel-terms .fa-solid{
    color:#888;
    display: none;
}

/* ---- 紹介文 ---- */
/* 開閉部分 */
.hotel-desc-wrap {
    text-align: right;
}
.js-toggle-btn {
    background: none;
    border: none;
    color: var(--color-text);
    font-weight: 400;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
}
.js-toggle-btn:hover {
    text-decoration: underline;
}
.js-toggle-target.pc-only {
    margin-left: -182px;
    margin-top: -8px;
    width: calc(100% + 182px);
    text-align: left;
}
@media (max-width: 1024px) {
    .js-toggle-target.pc-only {
        margin-left: -172px;
        margin-top: 0;
        width: calc(100% + 172px);
        text-align: left;
    }
}
.js-toggle-target.is-collapsed {
    display: none;
}
.js-toggle-btn .label-close { display: none; }
.js-toggle-btn.is-open .label-open { display: none; }
.js-toggle-btn.is-open .label-close { display: inline; }

.hotel-desc {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 6px;
}

/* miniカード調整 */
.hotel-card--mini {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0 14px 10px;
    border-bottom: 1px solid #ddd;
}
.hotel-card--mini .hotel-body{
    display: flex;
    gap:0 8px;
}
.hotel-card--mini .hotel-head{
    position:relative;
    padding-left: 23px;
}
.hotel-card--mini .hotel-pin{
    position:absolute;
    top:2px;
    left:0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width:16px;
    height: 16px;
    border: 1px solid #707070;
    background-color: #F8E234;
    font-size:10px;
    border-radius: 50%;;
}
.hotel-card--mini .hotel-figure {
    position:relative;
    width: 88px;
    flex-shrink: 0;
}
.hotel-card--mini .hotel-figure img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.hotel-card--mini .hotel-name {
    font-size: 14px;
    font-weight: 600;
}
.hotel-card--mini .hotel-name-en {
    font-size: 11px;
    color: #777;
}
.hotel-card--mini .hotel-price,
.hotel-card--mini .price-val {
    font-size: 15px;
    font-weight: bold;
    color: #c62828;
    line-height: 1;
    width:100%;
    margin-bottom:4px;
}
.hotel-card--mini .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    padding: 0 10px;
    margin-top:4px;
    border-radius: 4px;
    height: 24px;
    width:100px;
}
.hotel-card--mini .rating .star::before{
    font-size:12px;
}

@media (max-width: 767px) {
    .hotel-card--mini {
        flex-direction: column;
        width: 80%;
        min-width: 240px;
        border: 1px solid #ddd;
        border-radius: 6px;
        padding: 10px;
        background: #fff;
    }
}

/* ================================
   ▼ 5.2 ホテルカード：詳細開閉（SP／PC）
   ================================ */


/* ================================
   ▼ 5.2.1 SP：開閉内のレイアウト
   ================================ */
@media (max-width: 767px) {
    .hotel-desc-wrap.sp-only {
        width:100%;
        margin:-22px 0 0 0;
        padding:0 8px;
    }
    .hotel-desc-wrap.sp-only .js-toggle-target{
        text-align: left;
        padding-top: 10px;
    }
    .hotel-desc-wrap.sp-only .js-toggle-btn:hover{
        text-decoration: none;
    }

    /* 開閉ボタン */
    .hotel-desc-wrap.sp-only .js-toggle-btn {
        margin:0;
    }

    /* 内部要素 */
    .hotel-tags {
        margin-top: 8px;
        gap: 8px;
    }
    .hotel-terms {
        margin-top: 6px;
        line-height: 1.5;
    }
    .hotel-desc {
        margin-top: 8px;
        line-height: 1.7;
    }

    /* 開いた時に全体の余白を少し広げる */
    /* .js-toggle-target:not(.is-collapsed) {
        padding-bottom: 8px;
    } */
}



@media (max-width: 1024px) {

    .hotel-list .hotel-card {
        display: flex;
        flex-direction: column; /* 全体は縦配置 */
        gap: 10px;
        padding: 0;
        border-bottom:none;
    }

    /* 内部で画像＋本文をflex横並び */
    .hotel-list .hotel-card__top {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 0 10px;
    }

    /* 画像 */
    .hotel-list .hotel-figure {
        flex-shrink: 0;
        margin: 0;
        padding: 0;
    }

    .hotel-list .hotel-figure img {
        width: 100%;
        aspect-ratio: 3 / 4;
        object-fit: cover;
        display: block;
        border-radius: 0;
    }

    /* 本文 */
    .hotel-list .hotel-main {
        width: 60%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 4px;
        border-right: none;
    }

    /* 下段：価格・ボタン */
    .hotel-list .hotel-aside {
        width: 100%;
        margin-top: 0;
        text-align: left;
        padding: 0 8px 12px;
    }
    .hotel-list .hotel-aside .hotel-aside__meta{
        margin-bottom:0;
        margin-top:8px;
        text-align: right;
    }
    .hotel-list .hotel-aside .hotel-aside__meta .hotel-aside-price{
        justify-content:flex-end;
    }
    .hotel-list .hotel-aside .hotel-price{
        text-align: right;
    }
    .hotel-list .hotel-aside .hotel-cta{
        width:100%;
    }
    .hotel-list .hotel-aside .hotel-cta a{
        width:153px;
    }

    /* miniカードは従来どおり */
    .hotel-card--mini {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .hotel-list .hotel-aside{
        margin-top:0;
    }
    .hotel-list .hotel-aside .hotel-aside__meta .hotel-aside-price{
        justify-content: space-between;
        margin-top:8px;
    }
    .hotel-list .hotel-aside .hotel-price{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
        .hotel-list .hotel-aside .hotel-price.sp-only{
            display: flex !important;
        }
    .hotel-list .hotel-aside .hotel-cta{
        text-align: center;
    }
    /* 画像 */
    .hotel-list .hotel-figure {
        flex: 0 0 120px;
    }
    .hotel-list .hotel-main{
        padding-left:0;
        padding-top: 10px;
        padding-bottom: 22px;
    }
}

/* ================================
   ▼ 6. ページャー（PC/SP）
   ================================ */

/* --- 共通 --- */
.pager {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto 60px;
    font-size: 14px;
    gap: 6px;
}
.pager a,
.pager button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border: 1px solid #ccc;
    background: #fff;
    color: var(--color-text, #222);
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pager a:hover,
.pager button:hover {
    background: #f7f7f7;
}
.pager .current a,
.pager .is-active a {
    background: none;
    border: none;
}

/* --- PC専用 --- */
.pager--pc {
    max-width: 1010px;
    margin: 16px auto 40px;
}
.pager--pc ul {
    display: flex;
    gap: 6px;
    list-style: none;
}
.pager--pc li a {
    min-width: 32px;
    text-align: center;
    padding: 4px 12px;
}
.pager--pc li.prev a i,
.pager--pc li.next a i {
    font-size: 13px;
    margin: 0 2px;
}

/* --- SP専用 --- */
@media (max-width: 1024px) {
    .pager--sp {
        justify-content: center;
        margin: 30px auto 40px;
        font-size: 13px;
    }

    .pager--sp .pager-arrow {
        border:none;
        background: none;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .pager--sp .pager-arrow i {
        font-size: 16px;
        color: #bbb;
    }

    .pager--sp .pager-numbers {
        display: flex;
        gap: 6px;
        margin: 0 8px;
        font-size:14px;
    }

    .pager--sp .pager-numbers a {
        width: 42px;
        height: 42px;
        display: flex;
        justify-content: center;
        align-items: center;
        border:none;
        background: none;
        border-radius: 50%;
        color: #222;
    }

    .pager--sp .pager-numbers a:hover {
        background: #f7f7f7;
    }

    .pager--sp .pager-numbers a.is-active {
        background-color:#fff;
        border:1px solid #bbb;
    }
}
/* --- メディア調整 --- */
@media (min-width: 1024px) {
    .pager--sp {
        display: none;
    }
}
@media (max-width: 1024px) {
    .pager--pc {
        display: none;
    }
    .pager--sp {
        display: flex;
    }
}

/* ================================
   ▼ 7. 地図レイアウト（PC／SP共通調整）
   ================================ */
/* --- PC：地図横 --- */
.map-area {
    display: flex;
    gap: 0;
    height: 780px;
    flex-direction: row;
}
.map-area .map-item{
    flex: 1;
    padding:0;
}
.map-area .map-wrap {
    flex: 1;
    width: 520px;
    height: 100%;
    overflow: hidden;
    background: #3A8ABF;
}

/* --- マップピン押下時ポップのレイアウト --- */
.map-area .map-wrap h4,
.map-area .map-wrap h5 {
    margin: 0;
}

.map-area .map-wrap .font-red {
    color: #c62828;
}

.map-area .map-wrap .rank {
    color: #FAC131;
}

.map-area .map-list-wrap {
    display: block;
    width: 230px;
    height: 100%;
    overflow-y: auto;
    scrollbar-gutter: stable;
    background: #fff;
    border-bottom: 1px solid #ccc;
}
.map-area .map-list-wrap .pager--pc {
    display: block;
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 8px 8px 12px;
    z-index: 20;
    margin:-1px 0 0 0;
}
.map-area .map-list-wrap .pager--pc ul{
    display: grid;
    gap:6px;
    grid-template-columns: repeat(6, 1fr);
    margin:0;
}
.map-area .map-list-wrap .pager--pc ul a{
    height: 100%;
    width:100%;
    padding:0;
    min-width:auto;
}
.map-area .pager--pc{
    display: none;
}

/* --- PC：地図縦 --- */
.map-area.map-layout--vertical{
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 0;
}
.map-area.map-layout--vertical .map-item{
    padding: 8px;
    margin-bottom:8px;
    background-color: #fff;
}
.map-area.map-layout--vertical .map-wrap {
    width: 100%;
    height: 306px;
    background: #3A8ABF;
}
.map-area.map-layout--vertical .map-list-wrap {
    width:100%;
    height: auto;
    overflow-y: visible;
    overflow-x: auto;
    display: flex;
    flex-direction: row;
    gap: 12px;
    scroll-snap-type: x mandatory;
    background-color: transparent;
    border-bottom: none;
}
.map-area.map-layout--vertical .map-list-wrap .pager--pc {
    display: none;
}
.map-area.map-layout--vertical .map-list-wrap::-webkit-scrollbar {
    /* display: none; */
}
.map-area.map-layout--vertical .map-list-wrap .hotel-card--mini {
    border-radius: 0;
    padding: 8px;
}
.map-area.map-layout--vertical .map-list-wrap .hotel-card--mini .hotel-figure{
    width:152px;
}
.map-area.map-layout--vertical .map-list-wrap .hotel-card--mini .hotel-figure img{
    border-radius:0;
}
.map-area.map-layout--vertical .map-list-wrap .hotel-card--mini .hotel-meta{
    display: block;
}
.map-area.map-layout--vertical .pager--pc{
    display: block;
}

/* --- TB・SP：地図下にホテル一覧 --- */
@media (max-width: 1024px) {
    .map-area {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 0;
        margin:0 -12px;
    }
    .map-area .map-item{
        padding: 8px;
        margin-bottom:8px;
        background-color: #fff;
    }
    .map-area .map-wrap {
        width: 100%;
        height: 320px;
        background: #3A8ABF;
    }
    .map-area .map-list-wrap {
        width: 100%;
        height: auto;
        overflow-y: visible;
        overflow-x: auto;
        display: flex;
        flex-direction: row;
        gap: 12px;
        padding: 12px 10px 20px;
        scroll-snap-type: x mandatory;
        padding:0;
        background-color: transparent;
        border-bottom: none;
    }
    .map-area .map-list-wrap::-webkit-scrollbar {
        display: none;
    }
    .map-area .map-list-wrap .hotel-card--mini {
        flex: 0 0 80%;
        max-width: 280px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: #fff;
        scroll-snap-align: start;
        border-radius: 0;
        padding: 8px;
    }
    .map-area .map-list-wrap .hotel-card--mini .hotel-figure {
        width:152px;
    }
    .map-area .map-list-wrap .hotel-card--mini .hotel-figure img {
        border-radius:0;
    }
    .map-area .map-list-wrap .hotel-card--mini .hotel-meta {
        display: block;
    }
    .map-area .map-list-wrap .pager--pc {
        display: none;
    }
    .map-area.map-layout--vertical .pager--pc{
        display: none;
    }
}



/* 矢印 */
.hotel-slider-nav .nav{
    position:absolute; top:50%; transform:translateY(-50%);
    width:20px; height:30px; border:0; border-radius:50%;
    background: none;
    color:#fff;
    display:flex; align-items:center; justify-content:center;
    cursor:pointer; z-index:6;
}
.hotel-slider-nav .prev{ left:0; }
.hotel-slider-nav .next{ right:0; }

/* カメラ＋枚数 */
.hotel-slider-badge{
    position:absolute; right:4px; top:6px;
    display:inline-flex; gap:6px; align-items:center;
    padding:3px 6px; background: rgba(0,0,0,.5);
    color:#fff; z-index:6;
    font-size:12px; line-height:1;
}
.hotel-slider-badge .fa-camera{ font-size:14px; }

/* SP絞り込みモーダル */
#modal-filter.sp-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#modal-filter.sp-search-modal[hidden] {
    display: none !important;
}

#modal-filter .sp-search-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 8px;
    background: #000;
    color: #fff;
}

#modal-filter .sp-search-modal__body {
    flex: 1;
    overflow-y: auto;
    background: #fff;
    padding: 16px;
}

#modal-filter .sp-search-modal__close {
    font-size: 1.333rem;
    background: none;
    border: none;
    color: #fff;
}

#modal-filter .sp-search-modal__title {
    font-size: 1.333rem;
    font-weight: bold;
}

#modal-filter .sp-search-modal__clear {
    font-size: 0.75rem;
    background: none;
    border: 1px solid #fff;
    border-radius: 4px;
    color: #fff;
    padding: 4px 8px;
}

body.is-modal-open {
    overflow: hidden;
}

/* ========== Guests popup ========== */
.sb-row { position: relative; } /* 絶対配置の基準 */
.guests-pop {
    position: absolute;
    right: 0; top: 100%;
    margin-top: 8px;
    width: 330px;
    max-width: 330px;
    background: #fff;
    border: 1px solid var(--color-border, #c5c5c5);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    z-index: 1250;
    padding: 16px;
}
.guests-pop[hidden] { display: none !important; }

/* 行レイアウト（大人／子供のステッパー行） */
.guests-pop .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
}
.guests-pop .ctrl { display: inline-flex; align-items: center; gap: 8px; }
.guests-pop .btn {
    min-width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--color-border, #c5c5c5);
    background: #fff; cursor: pointer;
}

/* 子供年齢：縦並び + 右寄せ（#gp-ages の中身を整列） */
.guests-pop #gp-ages {
    isplay: flex;
    flex-direction: column;
    align-items: flex-end;   /* 右寄せ */
    gap: 10px;
}
.guests-pop #gp-ages .age-row {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* 右へ寄せる */
    gap: 8px;
}
.guests-pop #gp-ages .age-row label{
    min-width: 3.5em;        /* 「1人目」など幅を揃える */
    text-align: right;       /* ラベル右寄せ */
}
.guests-pop #gp-ages .age-row select{
    width: 128px;         /* ご指定サイズ */
    height: 34px;
    line-height: 28px;
    padding: 0 24px 0 8px;   /* 右の▼にかぶらないよう余白 */
    box-sizing: border-box;
}
.guests-pop #gp-ages .age-row span{ /* 「歳」 */
    opacity: .85;
}

/* フッター（必要ならそのまま） */
.guests-pop .footer {
    display:flex; justify-content:flex-end; gap: 8px; margin-top: 12px;
}
.guests-pop .btn-primary {
    background: var(--color-btn-search, #006699);
    color:#fff; border: none; padding: 8px 14px; cursor: pointer;
}


/* ===== Rooms（部屋：55pxラベル + 65pxセレクト） ===== */
.sb-row--rooms {
    display: flex;
    align-items: center;
}
.sb-row--rooms .sb-label{
    width: 55px;
    min-width: 55px;
    height: 34px;
    padding: 8px;              /* 指定維持 */
    display: flex;             /* ← 縦中央 */
    align-items: center;       /* ← 縦中央 */
    justify-content: center;   /* ← 横中央（日本語でも崩れにくい） */
    box-sizing: border-box;
    background: var(--color-form-th-bg,#F5F5F5);
    border: 1px solid var(--color-form-border,#818494);
}
.sb-row--rooms .sb-field{
    width: 65px;
    min-width: 65px;
    height: 34px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--color-form-border,#818494);
    border-left: none;
    position: relative;
    overflow: visible;
}

.sb-row--rooms select{
    display: block;
    width: 100%;
    height: 100%;
    /* 右側は矢印ぶん多めに空ける */
    padding: 0 18px 0 4px;         /* ← 右18px / 左4px に変更 */
    /* Safari 対策（右パディングを優先） */
    -webkit-padding-end: 18px;
    /* 既存指定 */
    font-size: 12px;
    color: var(--color-text,#222);
    background: transparent;
    border: none;
    box-sizing: border-box;
    appearance: auto !important;
    -webkit-appearance: menulist !important;
}

/* ===== Guests ポップ ===== */
.sb-row { position: relative; } /* 絶対配置の基準にするため */
.guests-pop {
    margin-top: 0;
    width: 420px;
    padding: 16px 16px 24px;
    background: #fff;
    border: 1px solid var(--color-border, #c5c5c5);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    z-index: 3100;
}
.guests-pop[hidden] {
    display: none !important;
}
.guests-pop .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
}
.guests-pop .ctrl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.guests-pop .btn {
    min-width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border, #c5c5c5);
    background: #fff;
    cursor: pointer;
}
/* 人数入力フィールド（数値表示用） */
.guests-pop .stepper .val{
    width:42px; text-align:center;
    border:none; background:transparent;
    pointer-events:none; user-select:none;
}

/* ＋／− ボタン */
.guests-pop .stepper-btn{
    width:30px; height:30px;
    border:1px solid #D8D8D8;
    background:#fff; cursor:pointer;
    display:inline-flex; align-items:center; justify-content:center;
}
.guests-pop .stepper-btn.is-disabled,
.guests-pop .stepper-btn:disabled{
    color:#D8D8D8; border-color:#D8D8D8; cursor:default;
}
.guests-pop .footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}
.guests-pop .btn-primary {
    background: var(--color-btn-search, #006699);
    color: #fff;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
}

/* =========================================================
 * Guests（人数ポップ：右寄せ・年齢は縦並び）
 * =======================================================*/

#js-guest-pop[hidden]{ display: none !important; }

#js-guest-pop .row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
}
#js-guest-pop .ctrl{ display: inline-flex; align-items: center; gap: 8px; }

/* ±ボタン */
#js-guest-pop .stepper-btn{
    width: 30px; height: 30px;
    border: 1px solid #D8D8D8;
    background: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
}
#js-guest-pop .stepper-btn.is-disabled,
#js-guest-pop .stepper-btn:disabled{
    color: #D8D8D8; border-color: #D8D8D8; cursor: default;
}

/* 人数表示フィールドは“表示だけ”（枠線消し） */
#js-guest-pop .stepper .val{
    width: 42px; text-align: center;
    border: none; background: transparent;
    pointer-events: none; user-select: none;
}

/* PC版：子供年齢縦並び + 右寄せ */
#js-guest-pop #gp-ages-row {
    display: flex;
    justify-content: flex-end; /* ← 親行ごと右寄せ */
}

#js-guest-pop #gp-ages {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: auto;               /* ← 幅を縮める */
    align-self: flex-end;      /* ← 親に対して右寄せ */
    gap: 10px;
}

#js-guest-pop #gp-ages .age-item {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* ← 子要素内容も右端寄せ */
    gap: 8px;
    width: auto;               /* ← 全幅を解除 */
}

#js-guest-pop #gp-ages .age-label {
    min-width: 3.5em;
    text-align: right;
}

#js-guest-pop #gp-ages select {
    width: 128px;
    height: 34px;
}

/* =========================================
   Guests ポップ（カレンダーと統一デザイン）
   ========================================= */
#js-guest-pop.guests-pop {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    z-index: 3100;
    width: 420px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--color-border, #c5c5c5);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* 吹き出しの三角 */
#js-guest-pop.guests-pop::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 40px;
    border-width: 0 7px 7px 7px;
    border-style: solid;
    border-color: transparent transparent var(--color-border, #c5c5c5) transparent;
}

#js-guest-pop.guests-pop::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 40px;
    border-width: 0 7px 7px 7px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
}

/* 非表示時 */
#js-guest-pop[hidden] {
    display: none !important;
}

@media (min-width: 768px) {
    .sp-search-trigger,
    #searchModal,
    #calendarModal,
    #guestModal {
        display: none !important;
    }
}


/* =========================================
   Date Range Picker 共通テーマ（PC・SP共通）
   ========================================= */
/* 共通スタイル */
.daterangepicker .calendar-table table {
    /* これがないと非活性の日付セルに枠線が表示される */
    border-collapse: separate;
}

.daterangepicker .calendar-table th {
    font-weight: bold;
    color: #555;
    text-align: center;
    padding: 4px 0;
}

/* 日曜：赤 */
.daterangepicker .calendar-table th:first-child {
    color: #c00;
}

/* 土曜：青 */
.daterangepicker .calendar-table th:last-child {
    color: #06c;
}
/* --- 範囲内の日付 --- */
.daterangepicker td.in-range {
    background-color: #E0EEF9 !important;
    color: #222 !important;
}

/* --- 開始・終了日 --- */
.daterangepicker td.active,
.daterangepicker td.active.in-range,
.daterangepicker td.active:hover {
    background-color: #338CD5 !important;
    color: #fff !important;
}

/* --- 今日+2日以前などの無効セル --- */
.daterangepicker td.off,
.daterangepicker td.off:hover {
    opacity: 0.3 !important;
    pointer-events: none !important;
}

/* チェックイン日と同日かつ、
    非活性セル（月前後の日付を埋めてある箇所）の場合
    .disabledの不要なスタイルが当たるため打消し */
.daterangepicker td.disabled,
.daterangepicker td.disabled:hover {

    text-decoration: none;
}

/* チェックイン日と同日のセルは無効セルとなり、
    .offの不要なスタイルが当たるため打消し */
.daterangepicker td.off.start-date:not(.ends),
.daterangepicker td.off.start-date:not(.ends):hover {
    background-color: #338CD5 !important;
    color: #fff !important;
    opacity: 1 !important;
    pointer-events: none !important;
    cursor: default !important;
}

/* --- カレンダーヘッダー next / prev の表示調整 --- */
.daterangepicker .calendar-table th.next span,
.daterangepicker .calendar-table th.prev span {
    display: inline-block !important;
}
.daterangepicker .calendar-table th.available span {
    pointer-events: auto;
}

/* --- 年・月テキスト表示（ドロップダウン非表示） --- */
.daterangepicker .drp-calendar .ym-text {
    display: inline-block;
    font-weight: bold;
    font-size: 15px;
    margin: 0 4px;
}
.daterangepicker .monthselect,
.daterangepicker .yearselect {
    display: none !important;
}

/* --- ボタン行非表示（Apply/Cancel）--- */
.daterangepicker .drp-buttons {
    display: none !important;
}



/* =========================================
   SPモーダル内（全幅＋縦スクロール対応）
   ========================================= */
@media (max-width: 767px) {
    #calendarModal .daterangepicker {
        width: 100% !important;
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #fff;
        border: none;
        box-shadow: none;
    }
}

/* =========================================
   SPモーダル専用：縦スクロール12ヶ月カレンダー
   ========================================= */
/* SPモーダルヘッダー固定 */
.sp-sub-modal__header {
    position: sticky;
    top: 0;
    z-index: 10;
}

.sp-month-block {
    padding: 12px 0 24px;
    border-bottom: 1px solid #eee;
}

.sp-month-title {
    font-weight: bold;
    color: #000;
    margin-bottom: 8px;
    text-align: left;
    padding-left: 8px;
}

.sp-month-block table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.sp-month-block td {
    width: 14.2%;
    padding: 4px 0;
    border-radius: 4px;
}

/* hover時の軽い反応（SPでもタップ時の視覚補助） */
.sp-month-block td.available:hover {
    background-color: #E0EEF9;
}

/* 範囲ハイライト色（PCと統一） */
.sp-month-block td.active {
    background-color: #338CD5 !important;
    color: #fff !important;
}

.sp-month-block td.in-range {
    background-color: #E0EEF9 !important;
    color: #222 !important;
}

/* 非アクティブ（日付制限） */
.sp-month-block td.off {
    opacity: 0.3 !important;
    pointer-events: none !important;
}

/* 空セル（前後月の埋め） */
.sp-month-block td.empty {
    background: none;
    pointer-events: none;
}
/* カレンダー下にボタン分の余白 */
.sp-calendar-container {
    padding-bottom: 120px; /* ボタン＋安全マージン */
}
/* =========================================
   SPモーダル：選択範囲表示エリア
   ========================================= */
.sp-calendar-selected {
    text-align: left;
    color: var(--color-white);
    margin-bottom: 12px;
}

.sp-calendar-selected__range {
    margin-bottom: 4px;
    color: var(--color-white);
}

.sp-calendar-selected__note {
    font-size: 11px;
    color: var(--color-white);
}

/* ===== SPカレンダー：曜日ヘッダー ===== */
.sp-weekdays th {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    padding: 4px 0;
    color: #666;
    border-bottom: 1px solid #ddd;
}

.sp-weekdays th:first-child { color: #c00; } /* 日曜：赤 */
.sp-weekdays th:last-child  { color: #06c; } /* 土曜：青 */

/* SP版サジェストエリア */
.sp-search-modal .sb-field--suggest {
    position: relative;
    width: 100%;
    flex: 1;
    padding: 0;
    height: auto;
    min-width: 0;
    border: none;
    background: transparent;
}

.sp-search-modal .sb-field--suggest::after {
    display: none; /* SP版では虫眼鏡アイコンを非表示 */
}

.sp-search-modal #suggest_sp {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    padding: 12px 10px;
    border: 1px solid #ccc;
    background: #fff;
}

.sdsuggest-area-sp {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
}

.sdsuggest-area-sp ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sdsuggest-area-sp li {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    font-size: 14px;
}

.sdsuggest-area-sp li:hover,
.sdsuggest-area-sp li:active,
.sdsuggest-area-sp li.active {
    background: #f0f0f0;
}

/* SP版目的地エラー吹き出し */
.sp-search-modal .suggest-error-balloon {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    z-index: 1000;
}
.sp-search-modal .suggest-error-balloon__text {
    display: inline-block;
    position: relative;
    background: #d32f2f;
    color: #fff;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.sp-search-modal .suggest-error-balloon__text::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 16px;
    border: 6px solid transparent;
    border-bottom-color: #d32f2f;
}

/* ================================
   ▼ 8. ローディング表示（PC/SP共通）
   ================================ */
.hotel-list #loading {
    text-align: center;
    padding: 60px;
}
.hotel-list #loading p {
    margin-bottom: 40px;
}
.hotel-list #loading img {
    display: inline-block;
}
@media (max-width: 767px){
    .hotel-list #loading {
        text-align: center;
        padding: 40px;
    }
    .hotel-list #loading p {
        margin-bottom: 20px;
    }
}

/* ================================
   ▼ Googlemap(地図表示エリア)
   ================================ */
   #google-map {
    width: 100%;
    /* heightは.map-area .map-wrapに指定するため指定しない */
    vertical-align: top;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
#map-sidebar .header {
    text-align: center;
    padding: 16px 13px;
}
#map-sidebar .lists {
    background: #fff;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
}
#map-sidebar .lists > ul {
    border-top: 1px #ccc solid;
    border-bottom: 1px #ccc solid;
}
#map-sidebar .lists ul,
#map-sidebar .lists ul .tablewrap {
    display: table;
    margin: 0;
}
#map-sidebar .lists > ul > li {
    border-right: 1px #ccc solid;
    padding: 14px 10px 5px;
}
#map-sidebar .lists > ul > li,
#map-sidebar .lists ul .tablewrap > * {
    display: table-cell;
    vertical-align: top;
}
#map-sidebar .lists li > h3,
#map-sidebar .lists li > dl {
    width: 220px;
}
#map-sidebar .lists li > h3 a {
    color: #333;
}
#map-sidebar .lists li > h3 a small{
    font-size: 10px;
    color: #666;
    line-height: 1.3;
    display: inline-block;
    font-weight: normal;
    padding-bottom: 8px;
}

#map-sidebar .lists li > h3 span:first-child {
    display: block;
    background: url(/images/map/yellow.png)no-repeat left top;
    width: 24px;
    min-height: 45px;
    font-size: 11px;
    text-align: center;
    padding-top: 3px;
    margin-right: 5px;
}
#map-sidebar .lists li > dl {
    margin: 6px 0;
}
#map-sidebar .lists li > dl dt {
    width: 110px;
}
#map-sidebar .lists li > dl dd {
    padding: 0 0 0 10px;
}
#map-sidebar .lists li ul li:first-child {
    color: #da0021;
    font-size: 16px;
    font-family: arial;
    font-weight: bold;
}
#map-sidebar .lists li ul li {
    line-height: 1.5;
}
#map-sidebar .lists li p {
    font-size: 12px;
    margin: 0;
}
#google-map .img-rounded {
    margin-right: 10px;
    border-radius: 2px;
    width: 140px;
    height: auto;
    max-height: 140px;
    object-fit: cover;
}
#google-map .gm-style-iw.gm-style-iw-c{
    padding: 12px !important;
    -webkit-overflow-scrolling: touch;
}
#google-map .gm-style-iw.gm-style-iw-c table{
    margin: 0;
}
#google-map .gm-style-iw.gm-style-iw-c table small{
    font-size: 10px;
    color: #666;
}
@media screen and (max-width:768px) {
    #google-map .img-rounded {
        margin-right: 10px;
        border-radius: 2px;
        width: 70px;
        height: auto;
        max-height: 70px;
        object-fit: cover;
    }
}


