/* ==============================================
   ジョワ旅 トップページ改修 2025
   top-2025.css
   .top-2025 をルートセレクタとして既存CSSを上書き
   ============================================== */

/* --- レイアウト: サイドバーなし1カラム --- */
.top-2025 {
    width: 100%;
    max-width: 100%;
    display: block;
    gap: 0;
    margin: 0 auto;
}

.top-2025 .sidebar-left {
    display: none !important;
}

.top-2025 .main-content {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px 80px;
    box-sizing: border-box;
}

.top-2025 #banner_section,.top-2025 .banner_container{
display:none!important;
}

/* --- スライダー: 画面幅いっぱい・高さ505px・ぼかし背景フィル --- */
.top-2025 .main-top-slider {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: none;
    margin-bottom: 0;
    overflow: hidden;
}

.top-2025 .main-top-slider .top_slide {
    height: 505px !important;
    overflow: hidden;
}

.top-2025 .main-top-slider .top_slide .slide-item {
    height: 505px !important;
    position: relative;
    overflow: hidden;
}
.main-top-slider .top_slide > div {
    height:auto;
}
/* ぼかし背景レイヤー（picture::after） */
.top-2025 .main-top-slider .top_slide picture::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bgimg);
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(20px);
    z-index: 0;
    transform: scale(1.1);
}

.top-2025 .main-top-slider .top_slide picture {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 505px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-2025 .main-top-slider .top_slide picture img {
    width: auto !important;
    height: 505px !important;
    aspect-ratio: 16 / 9;
    object-fit: cover !important;
    object-position: center;
}

/* 元CSSの .top_slide の高さを確実に上書き */
@media screen and (max-width: 740px) {
    .top_slide picture {
        height: 40vh !important;
    }
    .top_slide picture img {
        height: 40vh !important;
    }
    .top_slide > div {
        height: 40vh !important;
    }
}

.top-2025 .main-top-slider .top_head_inner {
    z-index: 2;
}

.top-2025 .main-top-slider .slide_post,
.top-2025 .main-top-slider .slide_post_center {
    z-index: 2;
}

.top-2025 .main-top-slider .top_head_inner img {
    width: 320px !important;
}
@media screen and (max-width: 1100px) {
    .home {
        #fixed_header.pc-only {
            display: block!important;
            .fixed-header-navigation {
                display: none!important;
            }
            .fixed-header-logo {
                position: absolute;
                height: 35px;
                top: 10px;
                left: 60px;
                z-index: 3;
                border-radius: 5px;
                h1 {
                    display: block;
                    margin: 0;
                    height: 100%;
                }
                a {
                    display: block;
                    padding:5px;
                    height: 100%;
                    img {
                        display: block;
                        height: 100%;
                    }
                }
            }
        }
        &.logged-in {
            #fixed_header.pc-only {
                .fixed-header-logo {
                    top: 38px;
                }
            }
        }
    }
}
/* --- PC横ヘッダー: 透明背景・スライダーに重ねる (7月デザイン準拠) --- */
@media screen and (min-width: 1101px) {
    .home #fixed_header.pc-only {
        position: absolute !important;
        background-color: transparent !important;
        box-shadow: none !important;
        z-index: 9999;
    }

    .home #fixed_header .fixed-header-content {
        max-width: 100% !important;
        width: 100%;
        padding: 0 15px;
        height: auto !important;
        justify-content: center;
    }

    .home #fixed_header .fixed-header-navigation {
        flex-wrap: wrap !important;
    }

    .home #fixed_header .fixed-header-logo a{
        margin-top: 15px;
        display: block;
        margin-right: 11px;
        padding: 0 5px;
        border-radius: 10px;
        height: auto;
    }

    .home #fixed_header .fixed-header-logo img {
        /* 透明ヘッダー時はロゴを非表示 (7月準拠: .home .sitelogo display:none) */
        /* display: none !important; */
    }

    .home #fixed_header .fixed-header-menu li a {
        color: #fff !important;
    }

    .home #fixed_header .fixed-header-login {
        color: #fff !important;
        border-color: #fff !important;
    }

    .home #fixed_header .fixed-header-greeting {
        color: #fff !important;
    }

    /* ヘッダーメニューホバー: テキスト+下線がオレンジのみ */
    .home #fixed_header .fixed-header-menu li a:hover {
        color: #f0b244 !important;
        text-decoration: underline;
        text-decoration-color: #f0b244;
        text-decoration-style: double;
    }

    .home #fixed_header .fixed-header-login:hover {
        background-color: transparent !important;
        color: #f0b244 !important;
        border-color: #fff !important;
    }

    .home #fixed_header .fixed-header-menu li a {
        background-color: transparent !important;
    }

    .home #fixed_header .fixed-header-menu ul {
        gap: 0 !important;
        flex-wrap: wrap;
    }

    /* メニュー項目を表示 */
    .home .fixed-header-menu #menu-item-41,
    .home .fixed-header-menu #menu-item-217,
    .home .fixed-header-menu #menu-item-1260,
    .home .fixed-header-menu #menu-item-628,
    .home .fixed-header-menu #menu-item-918,
    .home .fixed-header-menu #menu-item-45 {
        display: list-item !important;
    }

    /* ヘッダー透明化に伴いコンテンツの上部マージンを除去 */
    .home #container {
        padding-top: 0 !important;
    }
}

/* --- バナーセクション: 7月になかった要素を非表示 --- */
/* バナーセクション: 表示 */

/* --- サムネイルカード: 白ベース+スミ文字 (全セクション共通) --- */
.top-2025 .shop_box {
    background: #fff;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    display: flex !important;
    flex-direction: column;
    height: 100%;
}

.top-2025 .shop_title {
    white-space: normal !important;
    color: #333;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 8px 0 4px;
    text-align: left;
    min-height: 3em;
    height: 3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.top-2025 .hotel_name {
    color: #666;
    font-size: 0.85em;
    font-weight: normal;
    margin: 0 0 4px;
}

.top-2025 .thumb_area {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.top-2025 .thumb_area figure {
    margin: 0;
}

.top-2025 .thumb_area figure img {
    width: 100%;
    height: 180px;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* --- タグ: 画像の下に配置 (全セクション共通) --- */
.top-2025 .shop_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    margin: 6px 0;
}

.top-2025 .plancat_tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.75em;
    font-weight: bold;
    color: #fff;
    background: #5b8ec4;
    position: static;
}

.top-2025 .area_tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.75em;
    font-weight: bold;
    color: #fff;
    background: #62a87c;
    position: static;
}

/* --- 1名1室セクション: サムネイル用バッジ --- */
.top-2025 .stay-thumb-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 6px 0;
}

.top-2025 .stay-thumb-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.72em;
    font-weight: bold;
    color: #fff;
}

.top-2025 .stay-thumb-1room {
    background: #f0b244;
}

.top-2025 .stay-thumb-area {
    background: #62a87c;
}

.top-2025 .stay-thumb-type {
    background: #5b8ec4;
}

.top-2025 .stay-thumb-onsen {
    background: #fff;
    color: #333;
    border: 1px solid #999;
}

.top-2025 .stay-thumb-offer {
    background: #b05e2e;
}

/* --- 1名1室セクション: 料金表示 --- */
.top-2025 .stay-thumb-price {
    font-size: 0.85em;
    font-weight: bold;
    color: #333;
    margin: 4px 0;
}

/* --- 1名1室: カード高さ固定で揃える --- */
.top-2025 .slick_box_stay .shop_box {
    height: 380px;
    overflow: hidden;
    padding-bottom: 10px;
    box-sizing: border-box;
}

.top-2025 .slick_box_stay .thumb_area figure img {
    height: 180px;
}

.top-2025 .slick_box_stay .shop_title {
    white-space: normal!important;
    height: auto !important;;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.top-2025 .slick_box_stay .stay-thumb-badges {
    min-height: 28px;
    max-height: 56px;
    overflow: visible;
    align-items: flex-start;
}

.top-2025 .slick_box_stay .hotel_name {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- 1名1室セクション: スライダー矢印 (slick_boxと同じ外側グレー) --- */
.top-2025 .slick_box_stay .slick-next {
    right: -30px;
    width: 30px;
    height: 30px;
}
.top-2025 .slick_box_stay .slick-next::before {
    content: '\f105';
    color: #333;
    font-size: 30px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}
.top-2025 .slick_box_stay .slick-prev {
    left: -30px;
    width: 30px;
    height: 30px;
    z-index: 1;
}
.top-2025 .slick_box_stay .slick-prev::before {
    content: '\f104';
    color: #333;
    font-size: 30px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

/* --- セクションタイトル: 7月準拠 ($maincolor: #bbb5a9) --- */
.top-2025 .top_title {
    color: #bbb5a9;
    border-bottom: 1px solid #ccc;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 8px;
}

.top-2025 .top_title span {
    font-size: 0.6em;
    color: #777;
    padding-left: 15px;
}

/* --- 検索フォーム: 全幅背景 (7月デザイン準拠) --- */
.top-2025 .main-search-forms {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: none;
    margin: 0;
}

.top-2025 .main-search-forms .search-tabs {
    display: flex;
    gap: 6px;
    margin: 0 auto;
    max-width: 1280px;
    padding: 0 20px;
    list-style: none;
}

.top-2025 .main-search-forms .search-tab {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 6px 6px 0 0;
    background: #f8f8f8;
    color: #333;
    transition: all 0.2s ease;
}

.top-2025 .main-search-forms .search-tab.active {
    background: linear-gradient(90deg, #fbd38d, #f6ad55);
    border: 1px solid #f6ad55;
    border-bottom: 2px solid #f7931e;
    font-weight: bold;
    color: #000;
}

.top-2025 .main-search-forms .search-tab:hover:not(.active) {
    background: #eee;
}

.top-2025 .main-search-forms .ota_search {
    background-color: #f0b244;
    padding: 20px;
}

.top-2025 .main-search-forms .ota_search.movie_search {
    background-color: #f1ede6;
}

.top-2025 .main-search-forms .search-tab-content {
    display: none;
}

.top-2025 .main-search-forms .search-tab-content.active {
    display: block;
}

.top-2025 .main-search-forms .search_ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0 auto;
    max-width: 1280px;
    list-style: none;
}

.top-2025 .main-search-forms .search_ul li {
    flex: 1;
    min-width: 150px;
}

.top-2025 .main-search-forms .search_ul .key_search {
    flex: 2;
}

.top-2025 .main-search-forms .search_ul .submit_button {
    flex: 0 0 auto;
    width: 60px;
}

/* --- レスポンシブ --- */
@media screen and (max-width: 1100px) {
    .top-2025 .main-content {
        width: 100%;
        padding: 0 10px;
    }
}

@media screen and (max-width: 1100px) {
    /* タブレットではスライダー高さを調整 */
    .top-2025 .main-top-slider .top_slide,
    .top-2025 .main-top-slider .top_slide > div,
    .top-2025 .main-top-slider .top_slide .slide-item {
        height: 50vh !important;
    }

    .top-2025 .main-top-slider .top_slide picture {
        height: 50vh;
    }

    .top-2025 .main-top-slider .top_slide picture img {
        height: 50vh !important;
    }
}

@media screen and (max-width: 740px) {
    .top-2025 .slick_box_stay .slick-next {
        right: -15px;
    }
    .top-2025 .slick_box_stay .slick-prev {
        left: -15px;
    }

    .top-2025 .shop_title {
        font-size: 0.85em;
    }

    .top-2025 .stay-thumb-badge {
        font-size: 0.65em;
        padding: 1px 6px;
    }

    .top-2025 .stay-thumb-price {
        font-size: 0.8em;
    }

    .top-2025 .main-top-slider .top_slide,
    .top-2025 .main-top-slider .top_slide > div,
    .top-2025 .main-top-slider .top_slide .slide-item {
        height: 40vh !important;
    }

    .top-2025 .main-top-slider .top_slide picture {
        height: 40vh;
    }

    .top-2025 .main-top-slider .top_slide picture img {
        height: 40vh !important;
    }
}
