/*
 Theme Name:   Twenty Twenty-Five Child
 Theme URI:    https://example.com/
 Description:  Child theme of Twenty Twenty-Five
 Author:       SaigonToyo
 Author URI:   https://example.com/
 Template:     twentytwentyfive
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  twentytwentyfive-child
 Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

header .main-menu .hfe-nav-menu > li a:not(.hfe-sub-menu-item) {
    padding-left: 37px !important;
    position: relative;
    padding-top: 27px !important;
    padding-bottom: 60px !important;
}

header .main-menu .hfe-nav-menu > li a:not(.hfe-sub-menu-item):before {
    content: "";
    position: absolute;
    top: 39px;
    left: 20px;
    width: 16px;
    height: 2px;
    border-top: 2px solid #0D718E;
    opacity: 0;
    visibility: visible;
    transition: 0.3s;
}

header .main-menu .hfe-nav-menu > li.current-menu-item a:before,
header .main-menu .hfe-nav-menu > li:hover a:before {
    opacity: 1;
    visibility: visible;
}

header .main-menu .hfe-nav-menu li:last-child a {
    padding-right: 0 !important;
}

header .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
    margin-right: 0;
}

.hfe-nav-menu__layout-horizontal .hfe-nav-menu .sub-arrow {
    display: none;
}

.hfe-nav-menu__layout-horizontal {
    width: 100% !important;
}

/*SUBMENU*/
.box-sub-menu {
    position: fixed !important;
    left: 0px;
    top: 158px;
    width: 100%;
    padding: 49px 152px 51px 152px;
    background-color: #fff;
    visibility: hidden;
    opacity: 0;
    z-index: -99999;
    transition: 0.3s;
}


.box-sub-menu h3 {
    margin: 0;
    border-left: 4px solid #0D718E;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 20px;
    padding: 20px 20px 16px 20px;
}

body .hfe-nav-menu__layout-horizontal .hfe-nav-menu .sub-menu {
    position: static !important;
    width: 100% !important;
    opacity: 1;
    visibility: hidden;
    display: flex;
    background: transparent !important;
    box-shadow: unset;
    margin-top: 25px;
    flex-wrap: wrap;
    column-gap: 93px;
    row-gap: 20px;
    padding: 0 24px;

}

@media screen and (min-width: 1025px) {
    header .main-menu .hfe-nav-menu > li:hover .box-sub-menu .sub-menu {
        visibility: visible;
    }

    header .main-menu .hfe-nav-menu > li:hover .box-sub-menu {
        visibility: visible;
        opacity: 1;
        top: 146px;
        z-index: 100;
    }
}

.hfe-nav-menu .sub-menu li.menu-item {
    width: calc(100% / 3 - 63px);
    border-bottom: 1px solid #DDD !important;
}

.hfe-nav-menu .sub-menu li:hover {
    border-color: #0D718E !important;
}

body .hfe-nav-menu__layout-horizontal .hfe-nav-menu .sub-menu .menu-item a.hfe-sub-menu-item {
    padding-left: 0;
    padding-bottom: 23px;
    background: url(https://dev.saigontoyo.com/yubacleaning/wp-content/uploads/2025/09/Rectangle-19-2.svg) no-repeat top 20px right 6px;
    background-size: 10px;
}

.hover-64,
.hover-80,
.hover-72 {
    transition: 0.3s;
}


.hover-custom {
    display: block;
    width: 100%;
    height: 100%;
}

.hover-custom:hover {
    background: rgba(255, 255, 255, 0.26);
}

.hover-72:hover {
    opacity: 0.72;
}

.hover-64:hover {
    opacity: 0.64;
}

.hover-80:hover {
    opacity: 0.8;
}

.elementor-template-full-width p {
    margin: 0;
}


body:not(.home) #page > div .elementor-widget-text-editor p {
    margin-bottom: 10px;
}

body:not(.home) .elementor-widget-text-editor ul {
    margin-top: 10px;
    padding-left: 26px;
}

body:not(.home) .elementor-widget-text-editor ul li ul {
    padding-left: 21px;
    margin-top: 0;
}

.button-telephone .elementor-button-icon {
    width: 32px;
}


.button-line {
    width: 100%;
}

.button-line a {
    display: block;
}

.button-line .elementor-button-icon {
    width: 24px;
}

.button-line .elementor-button-icon svg {
    width: 24px;
    height: 24px;
}

.sub-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

.sub-title:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 2px;
    background: #0D718E;
    margin-right: 8px;
}


.latest-posts {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.latest-posts li a {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #DDDDDD;
    padding-bottom: 22px;
    margin-bottom: 26px;
}

.latest-posts li .date {
    width: 104px;
    color: #0D718E;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.64px;
    line-height: 25.6px;
    font-family: 'Montserrat';
}

.latest-posts li .title {
    color: #35353C;
    font-size: 16px;
    letter-spacing: 0.64px;
    line-height: 25.6px;
}

.four-step {
    position: absolute;
    height: 100%;
}

.four-step .e-con-inner {
    position: absolute;
    height: 100%;
}

.text-vertical {
    writing-mode: vertical-rl;
    text-align: left;
}

.clinic-map > div {
    height: 100%;
}

.clinic-access-tbl table {
    margin-left: -3px;
}


.clinic-access-tbl table th {
    font-size: 18px;
    vertical-align: top;
    text-align: left;
    letter-spacing: 0.3px;
    width: 130px;
    font-family: 'Noto Sans JP';
    font-weight: bold;
    color: #0D718E;
}

.clinic-access-tbl table td {
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.6px;
    padding-bottom: 25px;
    font-family: 'Noto Sans JP';
    font-weight: 400;
}

.clinic-access-tbl table td h1 {
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.6px;
    margin-bottom: 0;
    margin-top: 0;
}

.clinic-access-tbl table td a {
    color: #35353C;
}


.about-tbl table {
    margin-top: -2px;
    margin-left: -2px;
}


.about-tbl table th {
    font-size: 16px;
    vertical-align: top;
    text-align: left;
    letter-spacing: 0.64px;
    width: 100%;
    font-family: 'Noto Sans JP';
    font-weight: bold;
    color: #0D718E;
    display: block;
    padding: 8px 13px 7px;
    border-left: 3px solid #0D718E;
}

.about-tbl table td {
    font-size: 16px;
    vertical-align: top;
    text-align: left;
    letter-spacing: 0.64px;
    width: 100%;
    font-family: 'Noto Sans JP';
    display: block;
    padding: 6px 13px 7px;
    border-left: 3px solid #DDD;
    margin-bottom: 30px;
    line-height: 25.6px;
}

.about-tbl table tr:last-child td {
    margin-bottom: 0;
}

.about-tbl table td p:not(:last-child) {
    margin-bottom: 10px;
}


.elementor-widget-image-carousel:not(.slider-main) .swiper-slide img {
    transform: scale(0.78);
    transition: 0.3s;
}

.elementor-widget-image-carousel:not(.slider-main) .swiper-slide-next img {
    transform: scale(1);
}

.elementor-element .swiper .elementor-swiper-button-prev {
    left: 19px;
    top: 49%;
}

.elementor-element .swiper .elementor-swiper-button-next {
    right: 20px;
    top: 49%;
}

.maps-text p {
    margin-bottom: 10px;
}

.line-custom span {
    position: relative;
    z-index: 1;
}

.line-custom span:before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 20px;
    background: #E1D7A5;
    z-index: -1;
}


summary.e-n-accordion-item-title {
    position: relative;
    gap: 24px !important;
    justify-content: flex-start !important;
    width: 100%;
}

summary.e-n-accordion-item-title:before {
    content: "Q";
    display: flex;
    width: 48px;
    height: 48px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #0D718E;
    text-align: center;
    leading-trim: both;
    text-edge: cap;
    font-family: 'Montserrat';
    font-size: 24px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 2.4px;
}

summary .e-n-accordion-item-title-icon {
    justify-content: flex-end;
    flex: 1;
}


.footer-menu ul {
    max-width: 991px;
    column-gap: 111px;
    margin-top: -13px;
    text-transform: uppercase;
}

.footer-menu ul:before,
.footer-menu ul::after {
    content: none;
}

.footer-menu li {
    max-width: 256px;
    width: 100%;
}


.footer-menu li a {
    background: url('https://dev.saigontoyo.com/yubacleaning/wp-content/uploads/2025/09/Icon.svg') no-repeat center right;
}

.footer-menu li a:hover {
    opacity: 0.64;
}

.footer-access-tbl table {
    margin-left: -3px;
}


.footer-access-tbl table th {
    font-size: 16px;
    vertical-align: top;
    text-align: left;
    letter-spacing: 0.3px;
    width: 94px;
    font-family: 'Noto Sans JP';
    font-weight: bold;
}

.footer-access-tbl table td {
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0.6px;
    padding-bottom: 15px;
    font-family: 'Noto Sans JP';
    font-weight: 400;
}

.footer-access-tbl table td a {
    color: #35353C;
}

.footer-map {
    line-height: 0;
}

.ehf-header #masthead {
    z-index: 999;
}

br.sp {
    display: none;
}

.section-padding-left {
    @media screen and (min-width: 1330px) {
        margin-left: 20px;
        margin-left: calc((100vw - 1296px) / 2);
    }
}

.section-padding-right {
    @media screen and (min-width: 1330px) {
        margin-right: 20px;
        margin-right: calc((100vw - 1296px) / 2);
    }
}

.polygon {
    clip-path: polygon(100% 50%, 0% 0%, 0% 100%);
    height: 100%;
}

.polygon2 {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 200% 0%, 100% 100%, 200% 100%);
    height: 100%;
    clip-rule: evenodd;
}

.page-numbers {
    display: flex;
    list-style: none;
    gap: 15px;
    justify-content: center;
    font-size: 18px;
    margin: 20px 0;
    padding-left: 0;
}

.page-numbers li span,
.page-numbers li a {
    width: 35px;
    height: 35px;
    text-align: center;
    color: #267a94;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 50%;
    border: 1px solid #267a94;
}

.page-numbers li a:hover,
.page-numbers li span {
    color: #fff;
    background: #267a94;
}

@media screen and (max-width: 1600px) and (min-width: 1025px) {
    .main-left {
        gap: 20px;
    }

    .main-text {
        font-size: 40px !important;
        line-height: 50px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main-right {
        width: 69%;
    }

    .section-director {
        overflow: hidden;
    }

    .section-ed-text {
        margin-top: -32px !important;
    }

    .section-ed-text .column-left {
        margin-top: 32px;
        width: 666px !important;
        padding-left: 20px;
    }

    .section-padding-right.column-left {
        padding-right: 20px;
    }

    .header-logo {
        width: 268px !important;
    }

}

@media screen and (max-width: 1450px) {
    header .main-menu .hfe-nav-menu > li a:not(.hfe-sub-menu-item) {
        padding-left: 25px !important;
    }

    header .main-menu .hfe-nav-menu > li a:not(.hfe-sub-menu-item):before {
        left: 7px;
    }
}

@media screen and (max-width: 1366px) and (min-width: 1025px) {
    .header-main {
        padding-left: 20px;
        padding-right: 20px;
    }

    header .main-menu .hfe-nav-menu > li a {
        font-size: 14px !important;
    }

    header .main-menu .hfe-nav-menu > li a:not(.hfe-sub-menu-item) {
        padding-left: 0px !important
    }
}

@media screen and (min-width: 1025px) {
    /* 	body{
            min-width: 1329px;
            margin-left: auto;
            margin-right: auto;
        }
     */
    .distribution-title p br {
        display: none;
    }
}


@media screen and (max-width: 1024px) {
    .hambuger {
        width: 30px;
        height: 30px;
        display: flex;
        gap: 7px;
        flex-direction: column;
        cursor: pointer;
    }

    .hambuger span {
        display: block;
        height: 2px;
        background: #fff;
        transition: all 0.3s ease;
    }

    .hambuger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hambuger.active span:nth-child(2) {
        opacity: 0;
    }

    .hambuger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .four-step {
        position: static;
        height: 100%;
    }

    .four-step .e-con-inner {
        position: static;
        height: 100%;
    }

    .text-vertical {
        writing-mode: initial;
        text-align: center;
    }

    .footer-menu ul {
        column-gap: 108px;
    }

    .footer-menu li {
        max-width: 100%;
        width: calc(100% / 3 - 72px)
    }

    .footer-menu li a {
        padding-right: 50px;
    }

    .footer-access {
        flex-direction: column-reverse;
    }

    .clinic-map iframe {
        height: 500px;
    }

    .main-menu .hfe-nav-menu__toggle {
        display: none !important;
    }

    .main-menu {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        width: 100%;
        height: calc(100vh - 75px);
        background: #fff;
        z-index: 999;
        opacity: 1;
        visibility: visible;
        overflow-y: auto;
        padding-bottom: 50px;
    }

    .main-menu.active {
        z-index: 999;
        opacity: 1;
        visibility: visible;
    }

    .main-menu .hfe-nav-menu__submenu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
    }

    .main-menu .hfe-nav-menu__submenu-classic {
        top: 0 !important;
        left: 0 !important;
        z-index: 999 !important;
        visibility: visible;
        opacity: 1;
        height: 100%;
        position: absolute;
        width: 100% !important;
    }

    .hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
        visibility: visible;
        opacity: 1;
        display: block;
        margin-bottom: 50px;
    }

    header .main-menu .hfe-nav-menu > li {
        border-color: #DDD !important;
    }

    /*header .main-menu .hfe-nav-menu > li.current-menu-item{*/
    /*	border-color: #0D718E !important;*/
    /*}*/
    header .main-menu .hfe-nav-menu > li a:not(.hfe-sub-menu-item) {
        padding: 20px !important;
        font-weight: 400 !important;
    }

    .box-sub-menu {
        position: relative !important;
        display: none;
        padding: 0;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 999 !important;
        transition: 0s !important;
        background: #ECF4F6;
        top: 0;
    }

    .box-sub-menu h3 {
        display: none;
    }

    body .hfe-nav-menu__layout-horizontal .hfe-nav-menu .sub-menu {
        padding: 0;
        flex-direction: column;
        gap: 0;
        height: 100%;
        visibility: visible;
        margin-top: 0;
        border-top: 1px solid #DDD !important;
    }

    .hfe-nav-menu .sub-menu li.menu-item {
        width: 100%;
    }

    .hfe-nav-menu .sub-menu li.menu-item:last-child {
        border-bottom: none !important;
    }

    body .hfe-nav-menu__layout-horizontal .hfe-nav-menu .sub-menu .menu-item a.hfe-sub-menu-item {
        padding: 20px !important;
        background: transparent !important;
        font-weight: 400 !important;
    }

    .hfe-has-submenu-container a {
        position: relative;
    }

    .hfe-has-submenu-container a:after {
        content: "";
        position: absolute !important;
        top: 20px;
        right: 20px;
        left: auto;
        height: 20px;
        width: 20px;
        transform: rotate(90deg) !important;
        background: url(https://dev.saigontoyo.com/yubacleaning/wp-content/uploads/2025/09/Rectangle-19-2.svg) no-repeat center;
        background-size: 10px;
        display: block !important;
        background-color: transparent !important;
        opacity: 1 !important;
    }

    header .main-menu .hfe-nav-menu > li a:not(.hfe-sub-menu-item):before {
        left: 0;
    }

    header .main-menu .hfe-nav-menu > li a:not(.hfe-sub-menu-item):before {
        top: 33px;
    }

    .banner-photo img {
        aspect-ratio: 319/120;
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;
    }

    .banner-heading {
        max-width: 75%;
    }

    .full-height {
        height: 100%;
    }

}

@media screen and (max-width: 768px) {
    br.sp {
        display: block;
    }

    .hambuger {
        width: 20px;
        height: 20px;
        gap: 4px;
    }

    .sub-title:not(.sub-title-footer):before {
        display: none;
    }

    .sub-title:before {
        width: 12px;
    }

    .latest-posts {
        margin-top: 17px;
    }

    .latest-posts li a {
        flex-direction: column;
        gap: 0;
        padding-bottom: 7px;
        margin-bottom: 11px;
    }

    .latest-posts li .date {
        font-size: 13px;
    }

    .latest-posts li .title {
        font-size: 13px;
        line-height: 23px;
    }

    .text-uppercase {
        text-transform: uppercase;
    }

    .clinic-access-tbl table th {
        font-size: 14px;
        width: 81px;
    }

    .clinic-access-tbl table td {
        font-size: 14px;
        padding-bottom: 9px;
    }

    .clinic-access-tbl table td h1 {
        font-size: 14px;
    }

    .clinic-map iframe {
        height: 200px;
    }

    .elementor-widget-image-carousel:not(.slider-main) .swiper-slide img {
        transform: scale(0.7);
    }

    .elementor-widget-image-carousel:not(.slider-main) .swiper-slide-next img {
        transform: scale(1);
    }

    #gallery-slider {
        overflow: hidden;
    }

    .elementor-widget-image-carousel:not(.slider-main) .swiper {
        transform: translateX(-25%);
        overflow: unset !important;
    }

    .elementor-element .swiper .elementor-swiper-button-prev {
        left: 37vw;
    }

    .elementor-element .swiper .elementor-swiper-button-next {
        right: -13vw;
    }

    .hfe-has-submenu-container a:after {
        background-size: 8px;
    }

    .footer-access-tbl table th {
        font-size: 13px;
    }

    .footer-access-tbl table td {
        font-size: 13px;
        line-height: 20px;
    }

    .footer-menu .hfe-nav-menu__toggle {
        display: none;
    }

    .footer-menu .hfe-nav-menu__layout-horizontal {
        visibility: visible !important;
        opacity: 1 !important;
        height: auto;
        position: static;
    }

    .footer-menu .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
        visibility: visible !important;
        opacity: 1 !important;
        height: auto;
        position: static;
        gap: 0 !important;
        justify-content: space-between;
    }

    .footer-menu li {
        width: 46% !important;
        border-bottom: unset !important;
    }

    .hambuger.active span:nth-child(1) {
        transform: rotate(45deg) translate(3px, 3px);
    }

    .hambuger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .about-tbl table th {
        font-size: 13px;
    }

    .about-tbl table td {
        font-size: 14px;
        padding: 6px 0px 5px 13px;
        margin-bottom: 14px;
        line-height: 160%;
    }

    summary.e-n-accordion-item-title {
        gap: 16px !important;
        align-items: flex-start !important;
    }

    summary.e-n-accordion-item-title:before {
        width: 32px;
        height: 32px;
        font-size: 18px;
        min-width: 32px;
        min-height: 32px;
    }

    .e-n-accordion-item-title-header {
        margin-top: 3px !important;
    }

    .e-n-accordion-item-title-icon {
        margin-top: 6px !important;
    }

    .polygon {
        clip-path: polygon(50% 100%, 0 0, 100% 0);
        height: 24px;
    }

    .hidden-br br {
        display: none !important;
    }

    .mb-0 > p {
        margin-bottom: 0 !important;
    }

    .page-numbers li span,
    .page-numbers li a {
        font-size: 14px;
    }

}

.elementor-element-16d60f7, .elementor-element-0082813 {
    cursor: pointer;
}