/* 
Variables ======================================================================
*/
:root {
    --main_color: #034ea2;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --border-radius: 4px;
    --bg_review_desc: rgba(255, 255, 255, 0.3);
    --padding-lg: 120px 140px;
    --padding-md: 120px 60px;
    --padding-sm: 40px 20px;
}

.inview {
    position: relative;
    transform: translate3d(0, 50px, 0);
    opacity: 0;
    transition: opacity 1.4s ease 0s, transform 1.4s cubic-bezier(.22, 1, .36, 1) 0s
}

.inview.animate,
body.no_page_animation .inview {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

/* Initial hidden state */
.fp_animate {
    opacity: 0;
    transform: translateY(20px);
    /* Adjust for your animation effect */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Visible state when in viewport */
.fp_animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* GLOBAL ============================================================= */
.swiper-pagination {
    z-index: 10;
    position: absolute;
    top: auto;
    bottom: 0;
    left: auto;
}

.swiper-pagination span {
    background: #fff;
    border: 2px solid #ccc;
    width: 17px;
    height: 17px;
    opacity: 1;
    margin: 0 7px !important;
}

.swiper-pagination span.swiper-pagination-bullet-active {
    border-color: var(--main_color);
    pointer-events: none;
}

.swiper-slide {
    height: auto;
}

.fp_link_button {
    text-align: center;
    margin-top: 60px;
}

.design_button {
    border-radius: 70px;
    min-width: 300px;
    height: 70px;
    line-height: 1.5;
    padding: 0 1.5em;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-size: 16px;
    z-index: 1;
    color: var(--main_color) !important;
    border: 1px solid var(--main_color);
    background: 0 0;
    text-decoration: none;
    transition: border-color .2s ease 0s, color .2s ease 0s, background-color .2s ease 0s, opacity 1.4s ease 0s, transform 1.4s cubic-bezier(.22, 1, .36, 1) 0s !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

.design_button:hover {
    border-color: var(--main_color);
    background: var(--main_color);
    color: #fff !important;
}

.cb_header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    position: relative;
    font-size: 1.5rem;
    z-index: 1;
}

.cb_header .catch+.desc {
    margin: 30px 0 -10px;
}

.cb_header .desc {
    line-height: 2.4;
    margin-bottom: -10px;
    /* text-align: left; */
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

/* No padding on each section */
.index_free_space {
    margin: 0 auto;
    padding: 0 !important;
}


@media screen and (max-width: 750px) {
    .index_free_space {
        padding: 0 !important;
    }
}

/*#header_slider > .slick-list {
    border-radius: 25px;
}*/

body {
    background: url(https://www.e-stag-e.info/head-onsen/wp-content/themes/haku_tcd080_child/utils/img/Top_page_bgx1680px.jpg) no-repeat center;
    background-size: cover;
    margin-bottom: 0;
    top: 0;
    width: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

.section_padding {
    padding: var(--padding-lg);
}

@media screen and (max-width: 1200px) {
    .design_button {
        min-width: 240px;
        height: 60px;
    }
}

@media only screen and (max-width: 1000px) {
    .section_padding {
        padding: var(--padding-sm);
    }
}

@media screen and (max-width: 800px) {
    .design_button {
        height: 50px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 550px) {
    .section_padding {
        padding: var(--padding-sm);
    }
}



/* Header ============================================================= */
/* Slide header section */
#header_slider {
    /* background: url(https://www.e-stag-e.info/head-onsen/wp-content/uploads/2025/01/Top-page-sec1.jpg) no-repeat center; */
    background-size: cover;
    margin-bottom: 0;
    background: content-box;
}

#header_slider .catch {
    padding: 0;
    width: calc(100%);
}

.effects-steam {
    top: 0;
    bottom: 0;
    left: 0;
}

.effects-steam img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* 
ReBORN_part on TOPPAGE ============================================================
*/
.cb_reborn {
    position: relative;
    overflow: hidden;
    background: url(https://www.e-stag-e.info/head-onsen/wp-content/uploads/2025/02/about-us-bg.jpg) no-repeat center;
    background-size: cover;
    scroll-margin-top: -100px;
}

.cb_reborn .cb_header .catch {
    /*color: var(--main_color);*/
    color: #fff;
    font-size: 28px;
    font-weight: 900;
}

.reborn_flex_box {
    display: flex;
    justify-content: center;
}

.reborn_col2 {
    display: flex;
    align-items: center;
}

.reborn_item {
    /* background-color: var(--main_color); */
    max-width: 333px;
    height: auto;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.reborn_item img {
    width: 100%;
    height: auto;
    /* position: absolute;
    top: 0;
    left: 0; */
    object-fit: cover;
}

@media only screen and (max-width: 750px) {
    .reborn_item {
        width: auto;
        height: auto;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s, transform 0.5s;
    }

    .reborn_flex_box {
        flex-direction: column;
        align-items: center;
    }
}

/* About us section =========================================================== */
.index_design_content1 {
    height: 600px;
}

.index_design_content1 .position_type2.direction_type1 {
    top: 30%;
}

.index_design_content1.num2 .desc a {
    color: #fff;
}

.index_design_content1.num2 .desc a:hover {
    color: #aaa;
}

/* Service "What is Head Onsen?" section =========================================================== */
.cb_whatis-head-onsen {
    color: #fff;
    padding: 50px;
}

.index_design_content2.num4 .item1 .headline {
    font-size: 21px;
}

.index_design_content2 .headline {
    font-weight: 700;
    /*width: 100%;*/
    height: 100px;
}

.index_design_content2 {
    height: 280px;
    padding: 0 5vw 0 5vw;
    gap: 1.5vw;
    margin-bottom: 1.5vw;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
}

.index_design_content2 .desc {
    line-height: 1.2;
    padding: 40px 25px;
}

/*.index_design_content2 .image{
   width: 280px;
}*/
.index_design_content2 .item {
    height: 280px;
    overflow: hidden;
    /* border-radius: 50%;*/
    width: 280px;
}

/* What Head Onsen aims to achieve section =========================================================== */
.cb_whatis-head-onsen-aims {
    padding: var(--padding-sm);
}

.cb_whatis-head-onsen-aims .cb_header {
    flex-direction: column;
}

.cb_whatis-head-onsen-aims .cb_header .catch {
    color: var(--dark-color);
    font-weight: 900 !important;
}

.cb_whatis-head-onsen-aims .cb_header .desc {
    color: var(--dark-color);
}

.cb_whatis-head-onsen-aims .cb_header .catch+.desc {
    /* margin: 30px 0 -10px;*/
}

.cb_whatis-head-onsen-aims .image_wrap img {
    border-radius: 20px;
}

/* Our branches section =========================================================== */
.cb_branches {
    position: relative;
    overflow: hidden;
    /* background: url(https://www.e-stag-e.info/head-onsen/wp-content/uploads/2025/01/Top-page-sec4.jpg) no-repeat center; */
    background-size: cover;
    scroll-margin-top: -100px;
    /*margin-top: 120px;*/
    padding: 0;
}

.cb_branches .cb_header .catch {
    color: var(--main_color);
    font-weight: 900 !important;
}

.branches_flex_box {
    display: flex;
    justify-content: space-between;
    z-index: 1;

}

.branch_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.branch_item img {
    width: 60%;
    height: auto;
    /* position: absolute;
    top: 0;
    left: 0; */
    object-fit: cover;
    max-width: fit-content;
}

.branch_item img:hover {
    transform: scale(1.1);
    transition: transform .5s ease;
    cursor: pointer;
}

.branch_title {
    text-align: center;
    position: relative;
    z-index: 1;
    font-size: 18px !important;
    font-weight: 900 !important;
}


/* Program section on TOPPAGE =============================================== */
.cb_program {
    position: relative;
    overflow: hidden;
    /* background: url(https://www.e-stag-e.info/head-onsen/wp-content/uploads/2025/01/Top-page-sec5.jpg) no-repeat center; */
    background-size: cover;
    scroll-margin-top: -100px;
    padding: 120px 15vw 0 15vw;
}

.cb_program .cb_header {
    color: #fff;
    /*width: 730px;*/
    margin: -10px 10px 60px;
}

.cb_program .cb_header .catch {
    color: var(--main_color);
}

/*.cb_header .desc .pc {}

.cb_header .desc .mobile {
    display: none;
}*/

.program_list_carousel_wrap {
    width: 100%;
    position: relative;
    z-index: 3;
}

.program_list_carousel {
    -webkit-user-select: none;
    user-select: none;
    text-align: center;
}

.cb_program_list {
    flex-wrap: nowrap;
    width: auto !important;
    display: inline-flex !important;
}

.cb_program_list .item {
    width: calc(100% / 3 - 20px);
    margin: 0 30px 0 0;
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    height: auto;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.3);
}

.cb_program_list .image_wrap {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    z-index: 2;
    aspect-ratio: 317 / 200;
}

.cb_program_list .image_wrap img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.cb_program_list .title {
    background: var(--main_color);
    font-size: 16px;
    line-height: 1.4;
    padding: 18px 25px;
    color: #fff;
    text-align: center;
    margin: 0 !important;
}

.cb_program_list .desc {
    line-height: 2.4;
    padding: 20px 30px;
    transition: color .25s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
    color: #000;
    height: 200px;
    flex: 1;
    justify-content: space-between;
}

.cb_program_list .desc .truncate {
    position: relative;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 120px;
}

.cb_program .time_price {
    text-align: right;
}

.cb_program .swiper-pagination {
    position: relative;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    margin: 60px 0 0;
}

.cb_program .swiper-pagination span {
    background: 0 0;
    border-color: var(--main_color);
}

.cb_program .swiper-pagination .swiper-pagination-bullet-active {
    background: var(--main_color);
    border-color: var(--main_color);
}

.cb_program .design_button {
    border-color: var(--main_color);
    background-color: var(--main_color);
    color: white !important;
    z-index: 3;
}

.cb_program .design_button:hover {
    border-color: #fff;
    background-color: #fff;
    color: var(--main_color) !important;
}

.cb_program .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: var(--main_color) 0.5;
}

.cb_program .bg_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.cb_program .bg_image[data-parallax-image] {
    transition: none;
}

.cb_program .bg_image.parallax-ready[data-parallax-image] {
    transition-property: background-position;
    transition-duration: 1s;
    transition-timing-function: cubic-bezier(0, .33, .07, 1.03);
}

.program_mb {
    display: none;
}

@media screen and (max-width: 1391px) {
    .cb_program {
        scroll-margin-top: -60px;
    }
}

@media screen and (max-width: 1200px) {
    .program_list_carousel_wrap {}

    .program_list_carousel {
        overflow: visible;
    }

    .cb_program_list .item {
        margin: 0;
        width: 350px !important;
    }
}

@media screen and (max-width: 1000px) {
    .cb_program {
        padding: 120px 50px;
    }

    .cb_program_list .item {
        width: 450px !important;
    }

}

@media screen and (max-width: 800px) {
    .cb_program {
        padding: 40px 20px;
        display: none;
    }

    .content_list {
        height: auto;
        width: 100%;
    }

    .cb_program_list .item {
        /*width: 270px !important;*/
        flex-direction: row;
        align-items: start;
        flex-wrap: nowrap;
    }

    .cb_program_list .image_wrap {
        aspect-ratio: 250 / 250;
    }

    .cb_program_list .title {
        font-size: 14px;
        padding: 5px 5px 5px;
    }

    .cb_program_list {
        flex-wrap: nowrap;
        width: auto !important;
        display: inline-flex !important;
        flex-direction: column;
        align-content: center;
        justify-content: center;
        align-items: center;
        gap: 5vw;
    }

    .cb_program_list .desc .truncate {
        -webkit-line-clamp: 2;
    }

    .cb_program_list .desc {
        padding: 8px 12px;
        height: 100%;
    }

    .cb_program .time_price {
        line-height: 1.5;
    }

    .program_mb {
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
}

/* Topic section on TOPPAGE ================================================= */
.cb_topic {
    position: relative;
    overflow: hidden;
    /* background-color: #91C9E4; */
    scroll-margin-top: -100px;
    padding: 120px 15vw 0 15vw;
}

.cb_topic .cb_header {
    /* width: 730px;*/
    margin: 0 auto 60px;
}

.cb_topic .cb_header .catch {
    color: var(--main_color);
}

.topic_list_carousel_wrap {
    width: 100%;
    position: relative;
    z-index: 3;
}

.inview.animate {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.topic_list_carousel {
    -webkit-user-select: none;
    user-select: none;
}

.cb_topic_list {
    flex-wrap: nowrap;
    /* width: auto !important;
    display: inline-flex !important; */
}

/* .cb_topic_list .item {
    width: calc(50% - 15px);
    margin: 1px 30px 1px 0;
    position: relative;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
} */

.cb_topic_list .item {
    width: calc(50% - 15px);
    margin: 1px 30px 1px 0;
    position: relative;
    display: flex;
    flex-direction: column;
}


/* .cb_topic_list .image_wrap {
    border-radius: 7px;
    width: 50%;
    height: auto;
    min-height: 240px;
    aspect-ratio: 245 / 360;
    position: relative;
    overflow: hidden;
    z-index: 2;
    border-radius: 7px 0 0 7px;
} */

.cb_topic_list .image_wrap {
    border-radius: 10px 10px 0 0;
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    z-index: 2;
    aspect-ratio: 317 / 210;
}

.cb_topic_list .image_wrap img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

/* .cb_topic_list .content {
    width: 50%;
    border: 1px solid #ddd;
    border-left: none;
    border-radius: 0 7px 7px 0;
    position: relative;
} */

.cb_topic_list .content {
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 30px 30px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.cb_topic_list .meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 25px;
}

.cb_topic_list .content .title {
    font-size: 18px;
    line-height: 1.8;
    max-height: 3.6em;
    overflow: hidden;
    visibility: visible;
    position: relative;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cb_topic_list .content .truncate span {

    max-height: 120px;

}

.cb_topic_list .content .info {
    position: absolute;
    bottom: 0;
    padding: 30px 40px;
    line-height: 1.6;
}

.cb_topic_list .category {
    margin: 0 20px 0 0;
    display: block;
    height: 35px;
    line-height: 35px;
    min-width: 100px;
    text-align: center;
    padding: 0 15px;
    border: 1px solid var(--main_color);
    font-size: 14px;
    border-radius: 5px;
    background-color: var(--main_color);
    color: #fff;
}

.cb_topic .swiper-pagination {
    position: relative;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    margin: 60px 0 0;
}

.cb_topic .swiper-pagination span {
    background: 0 0;
    border-color: var(--main_color);
}

.cb_topic .swiper-pagination .swiper-pagination-bullet-active {
    background: var(--main_color);
    border-color: var(--main_color);
}

.cb_topic .design_button {
    border-color: var(--main_color);
    background-color: var(--main_color);
    color: white !important;
    z-index: 3;
}

.cb_topic .design_button:hover {
    border-color: #fff;
    background-color: #fff;
    color: var(--main_color) !important;
}

.date_list {
    display: flex;
    flex-wrap: wrap;
    flex: 1 0 auto;
    margin-bottom: -10px;
    position: relative;
}

.date_list .date {
    color: #999;
    position: relative;
    font-size: 14px;
    padding-left: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
}


@media screen and (max-width: 1200px) {
    .cb_topic_list .item {
        margin: 1px 0;
    }
}

@media screen and (max-width: 800px) {
    .cb_topic {
        padding: var(--padding-lg);
    }
}

/* Special consultion section on TOPPAGE ==================================================*/
.cb_special .cb_header .catch {
    color: var(--main_color);
}

.cb_special_content {
    padding: var(--padding-sm);
}

.cb_special_content img {
    width: 500px;
    max-width: 100%;
}

/* Review section on TOPPAGE ==================================================*/

.cb_review_list {
    display: flex;
    position: relative;
    overflow: hidden;
    scroll-margin-top: -100px;
    /* background-color: #91C9E4; */
    padding: 120px 15vw 0 15vw;
}

.review_sidebar_box {
    writing-mode: vertical-rl;
    text-orientation: sideways-right;
    font-weight: bold;
    color: var(--bg_review_desc);
    rotate: 180deg;
    display: inline-block;
    text-wrap: nowrap;
    display: flex;
    justify-content: end;
    position: absolute;
    top: 20px;
    left: 0;
    transform: translate(80%, 0);
    /*Edit From -48px 250204 By Am ESTH*/
}

.text {
    font-size: 100%;
}

.review_sidebar_box .text {
    font-size: 60px;
    /* Set equal to box height */
    line-height: 1;
    /* Prevent extra spacing */
}

.cb_review_content {
    background-color: var(--bg_review_desc);
    padding: 60px;
    position: relative;
    border-radius: 20px;
    flex: 1;
    z-index: 1;
}

.cb_review_content .headline {
    max-width: 50%;
    width: 100%;
    background: var(--main_color);
    color: #fff;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100px;
    height: 70px;
    line-height: 70px;
    font-size: 18px;
    padding: 0 20px;
    text-align: center;
    border-radius: 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    visibility: visible;
}

.cb_review_content:has(.headline) {
    padding-top: 90px;
}

.cb_review_content .header_desc {
    line-height: 2.4;
    margin: 0 auto 50px;
    /*width: 730px;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    /*Add for adjust content to center by Am ESTH 021225*/
}

.cb_review_content .header_desc .mobile {
    display: none;
}

.cb_review_carousel_wrap {
    width: 100%;
    position: relative;
}

.cb_review_carousel {
    -webkit-user-select: none;
    user-select: none;
}

.sec_review_list.layout_type2 .review_list {
    flex-wrap: nowrap;
}


.review_list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
}

.review_list .card {
    /* 3 cards per row */
    /* flex: 1 1 calc(33.33% - 16px); */
    /* Ensure each card is 1/3 of the row */
    /* max-width: calc(33.33% - 16px); */
    display: flex;
    width: 100%;
    /* background-color: lightcoral; */
    /* padding: 20px; */
    padding: 0;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    text-decoration: none;
    background-color: #fff;
}

.review_list .card:hover {
    color: currentColor;
}

.review_list .item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 50px;
    background: #fff;
}

.review_list .animate_background {
    display: block;
    width: calc(100% / 3 + 50px);
    height: auto;
    aspect-ratio: 350 / 230;
    border-radius: 7px 0 0 7px;
    overflow: hidden;
}


.review_list .image_wrap {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.review_list .image_wrap img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.review_list .post_img_thb {
    /* flex: 1; */
    background-color: #ddd;
    width: 20vw;
    height: auto;
    /* justify-self: center; */
}

.review_list .post_img_thb img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.review_list .post_content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.review_list .title {
    /* font-size: 20px; */
    font-size: 16px;
    /* line-height: 1.6; */
    max-height: 3.2em;
    overflow: hidden;
    visibility: visible;
    /* margin: 1rem 0 0 0; */
    margin: 0;
}

.review_list .category {
    margin: 0;
    /* color: #aaa; */
    font-weight: normal;
    /* line-height: 1.8; */
    max-height: 3.6em;
    font-size: 16px;
    overflow: hidden;
    visibility: visible;
    position: static;
}

.review_list .truncate {
    /* height: 200px; */
    position: relative;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cb_review_list .design_button {
    border-color: var(--main_color);
    background-color: var(--main_color);
    color: white !important;
    z-index: 3;
}

.cb_review_list .design_button:hover {
    border-color: #fff;
    background-color: #fff;
    color: var(--main_color) !important;
}


/* Responsive for mobile */
/* 2 columns */
@media screen and (max-width: 1000px) {
    .cb_review_list {
        padding: 120px 80px 0;
    }

    .review_list .card {
        flex: 1 1 calc(50% - 20px);
    }

    .cb_review_content {
        padding: 40px;
    }
}

@media screen and (max-width: 750px) {
    .review_sidebar_box .text {
        font-size: 21px;
        /* Set equal to box height */
        line-height: 1.2;
        /* Prevent extra spacing */
    }

    .cb_review_list {
        padding: 120px 20px 0 10vw;
    }

    .review_list .card {
        flex-direction: column;
    }

    .review_list .post_img_thb {
        width: auto;
        height: 155px;
    }

    .cb_review_content .header_desc .mobile {
        display: block;
    }
}

/* 1 column */
@media screen and (max-width: 550px) {

    .review_list .card {
        flex: 1 1 100%;
    }

    .cb_review_content {
        padding: 20px;
    }

    .review_list .post_img_thb {
        width: auto;
        height: 140px;
    }

}


/* PAERNERSHIP section on TOPPAGE =============================================== */
.sec_partnership {
    position: relative;
    overflow: hidden;
    /* background-color: #91C9E4; */
    scroll-margin-top: -100px;
}

.sec_partnership .cb_header {
    /*width: 730px;*/
    margin: 0 auto 60px;
}

.sec_partnership .cb_header .catch {
    /*color: var(--main_color);*/
    color: #fff;
}

.sec_partnership .item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec_partnership .item img {
    max-width: 100%;
    width: 300px;
    aspect-ratio: auto;
}

/* ----------------------------------------------------------------------
Resposive on mobile screen
---------------------------------------------------------------------- */
@media screen and (max-width:1000px) {
    .cb_reborn-mb {
        background: url(https://www.e-stag-e.info/head-onsen/wp-content/uploads/2025/03/bubble-background-sp.png) no-repeat center center;
    }

    .cb_reborn-mb .cb_header .catch {
        /*color: var(--main_color);*/
        color: #fff;
        font-size: 21px;
        font-weight: 900;
        /*top: -20px;*/
        position: relative;
    }

    .cb_reborn-mb .cb_header .desc {
        font-size: 16px;
        line-height: 1.5;
        margin: 0;
    }

    /* Service "What is Head Onsen?" on TOPPAGE */
    .cb_whatis-head-onsen {
        padding: 0;
    }

    .index_free_space {
        padding: 0 !important;
    }

    .index_design_content2 {
        display: grid !important;
        gap: 2.5vw;
        margin-bottom: 0;
        grid-template-columns: auto auto;
        justify-content: stretch;
        padding: 0 15vw 0;
    }

    .index_design_content2 .item {
        width: 100%;
        height: 200px !important;
    }

    .index_design_content2 .desc {
        line-height: 1;
        padding: 10px 10px !important;
    }

    /* Slide header section */
    body.no_header_slider_border #header_slider .item {
        /* height: 70vh !important; */
    }

    #header_slider {
        height: auto !important;
    }

    /* .effects-steam {
        top: 0;
        bottom: 0 !important;
    }

    .effects-steam img {
        height: auto !important;
    } */
}

@media screen and (max-width:750px) {

    /* ReBORN_part on TOPPAGE */
    .cb_reborn-mb {
        background: url(https://www.e-stag-e.info/head-onsen/wp-content/uploads/2025/03/bubble-background-sp.png) no-repeat center center;
    }

    .cb_header .catch+.desc {
        line-height: 1.5;
    }

    .cb_reborn .cb_header .catch {
        font-size: 24px;
        top: -50px;
        position: relative;
    }

    .cb_reborn .cb_header .catch {
        /*color: var(--main_color);*/
        color: #fff;
        font-size: 18px;
        font-weight: 900;
        top: -50px;
        position: relative;
    }

    .cb_reborn .cb_header .desc {
        font-size: 21px;
        line-height: 1;
        margin: 0;
    }

    /* Service "What is Head Onsen?" on TOPPAGE */
    .cb_whatis-head-onsen {
        position: relative;
        background: url(https://www.e-stag-e.info/head-onsen/wp-content/uploads/2025/02/bubble-title.png) no-repeat center center;
        background-size: auto;
    }

    .index_free_space {
        padding: 0 !important;
    }

    .index_design_content2 {
        display: grid !important;
        gap: 2.5vw;
        margin-bottom: 0;
        grid-template-columns: auto auto;
        justify-content: stretch;
        padding: 0 8vw 0 8vw;

    }

    .index_design_content2 .item {
        width: 100%;
        height: 200px !important;
    }

    .index_design_content2 .desc {
        line-height: 1;
        padding: 10px 10px !important;
    }

    /* Slide header section */
    body.no_header_slider_border #header_slider .item {
        /* height: 70vh !important; */
    }

    #header_slider {
        height: auto !important;
    }

    /* .effects-steam {
        top: 0;
        bottom: 0 !important;
    }

    .effects-steam img {
        height: 658px !important;
    } */

    .cb_review_content .header_desc {
        line-height: 1.5;
    }

    /* .cb_topic_list .item {
        width: 185px !important;
    } Franky */
}

@media screen and (max-width:550px) {

    /* ReBORN_part on TOPPAGE */
    .cb_reborn-mb {
        position: relative;
        overflow: hidden;
        /*background: none;*/
        background: url(https://www.e-stag-e.info/head-onsen/wp-content/uploads/2025/03/bubble-background-sp.png) no-repeat center center;
        background-size: cover;
    }

    .cb_reborn-mb .cb_header .catch {
        font-size: 24px;
        top: -45px;
        position: relative;
        color: #fff;
        font-weight: 900;
        top: 5px;
        /*-30px*/
        position: relative;
    }

    .cb_reborn-mb .cb_header .catch+.desc {
        margin: 0;
    }

    .cb_reborn-mb .cb_header .desc {
        font-size: 16px;
        line-height: 1.5;
        margin: 0;
        position: relative;
        top: 5px;
    }

    .post_content p {
        line-height: 1.2 !important;
    }

    /* About us on TOPPAGE */
    .index_design_content1.num2 .catch {
        font-size: 24px !important;
    }

    .index_design_content1.num2 .desc {
        font-size: 16px !important;
        padding: 0 15vw 0 15vw;
    }

    .index_design_content1 .direction_type1 .desc p {
        line-height: 1.5 !important;
    }

    /* Service "What is Head Onsen?" on TOPPAGE */
    .cb_whatis-head-onsen {
        position: relative;
        background: url(https://www.e-stag-e.info/head-onsen/wp-content/uploads/2025/02/bubble-title.png) no-repeat center center;
        background-size: cover;
    }

    .cb_whatis-head-onsen .cb_header .cb_header_inner .catch {
        font-weight: 900;
    }

    .index_free_space {
        padding: 0 !important;
    }

    .index_design_content2 {
        display: grid !important;
        gap: 2.5vw;
        margin-bottom: 0;
        grid-template-columns: auto auto;
        justify-content: stretch;
        padding: 0 8vw 0 8vw;

    }

    .index_design_content2 .item {
        width: 100%;
        height: 200px !important;
    }

    .index_design_content2 .desc {
        line-height: 1;
        padding: 10px 10px !important;
    }

    /* Slide header section */
    body.no_header_slider_border #header_slider .item {
        /* height: 70vh !important; */
    }

    #header_slider {
        height: auto !important;
    }

    /* 
    .effects-steam {
        top: 0;
        bottom: 0 !important;
    }

    .effects-steam img {
        height: 658px !important;
    } */

    .section_padding {
        padding: var(--padding-sm);
    }

    .cb_header .desc {
        font-size: 14px;
        /*padding: 0 15vw 0 15vw; */
    }

    /*Branch section*/
    .branch_item img {
        width: 80%;
    }

    /*Program section*/
    .cb_program_list .item {
        width: 370px !important;
    }

    /*Toppic*/
    .cb_topic_list .meta {
        flex-wrap: nowrap;
        margin: 0 0 12px 0;
        justify-content: flex-start;
    }

    .cb_topic_list .content .title {
        font-size: 14px;
        line-height: 1.2;
        font-weight: 500;
    }

    /* .cb_topic_list .item {
        width: 50% !important;
        margin: 0px 12px 1px 0;
    }  Franky*/

    .mb_cb_topic_list {}

    .cb_topic_list .content {
        padding: 10px 10px 10px;
    }

    .cb_topic_list .category {
        line-height: 25px;
        min-width: 65px;
        height: 30px;
        margin: 0 5px 0 0;
    }

    .cb_topic .swiper-pagination {
        margin: 35px 0 0;
    }

    .cb_topic .mb_topic_swiper_pagination {
        /* width: 130px; Franky */
        margin-left: auto;
        margin-right: auto;
        white-space: nowrap;
        overflow: hidden;
    }

    .swiper-pagination {
        /* width: 135px !important; Franky */
    }

    .fp_link_button {
        margin-top: 30px;
    }

    .date_list {
        justify-content: flex-start;
        margin-bottom: 0;
    }

    .date_list .date {
        padding-left: 0;
        margin-bottom: 0;
    }

    /*Review section*/
    .cb_review_content .headline {
        height: 55px;
        line-height: 55px;
    }

    .cb_review_content .header_desc {
        margin: 0 auto 30px;
    }

    .cb_review_content:has(.headline) {
        padding-top: 60px;
    }

    .review_sidebar_box .text {
        font-size: 18px;
        /* Set equal to box height */
        line-height: 1.2;
        /* Prevent extra spacing */
    }

    .review_list .post_content {
        padding: 12px;
        gap: 4vw;
    }

    .review_list .truncate {
        -webkit-line-clamp: 2;
    }
}