/* Japanese Home Page stylesheet */
@font-face {
    font-family: 'NotoSans_regular';
    src: url('assets/fonts/Noto_Sans_JP/static/NotoSansJP-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'NotoSans_bold';
    src: url('assets/fonts/Noto_Sans_JP/static/NotoSansJP-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'NotoSans_medium';
    src: url('assets/fonts/Noto_Sans_JP/static/NotoSansJP-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
html[lang="ja"] body {
    font-family: 'NotoSans_regular', sans-serif;
}
html[lang="ja"] body h1,
html[lang="ja"] body h2,
html[lang="ja"] body h3,
html[lang="ja"] body h4,
html[lang="ja"] body h5,
html[lang="ja"] body h6{
    font-family: 'NotoSans_bold', sans-serif;
}
/* FAQ Section */
.ja-faq .qicon{
    position: absolute;
    left: -25px;
    top: 16%;
    border-radius:20px;
}
.ja-faq .accordion-btn{
    padding-left: 40px;
    padding-right: 40px;
}
.ja-faq .arrow-icon-minus{
    display: none;
}
.ja-faq .accordion-item.active .arrow .arrow-icon-minus{
    display: block;
}
.ja-faq .accordion-item.active .arrow .arrow-icon-plus{
    display: none;
}
.ja-faq .faq-item{
    border: 2px solid var(--border-light);
}
.ja-faq .accordion-body .entry-content p,
.ja-faq .accordion-body .entry-content ul li{
    line-height: 1.5 !important;
}
html[lang="ja"] .section-mobile-apps{
    display: none;
}
/* How works section */
.ja-how-works-slider .ja-how-swiper-nav{
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-evenly; 
}
.ja-how-works-slider .ja-how-swiper-nav li{
    width: 100%;
}
.ja-how-works-slider .ja-how-swiper-nav .div_li{
    display: grid;
    justify-content: center;
    align-items: center;
    text-align: center;
    row-gap: 10px;
}
.ja-how-works-slider .ja-how-swiper-nav .div_li .num{
    margin: 0 auto;
}
.ja-how-works-slider .slide_content{
    color: var(--text-secondary);
    font-weight: bold;
    text-align: center;
}
.ja-how-works-slider .slider_img img{
    margin: 0 auto;
    padding-top: 20px;
    max-width: 300px;
}
/* plans slider section */
.ja-plan-section .section_des{
    padding: 20px;
    border: 4px solid var(--border-brand);
    border-radius: var(--corners-brand);
    max-width: 80%;
    width: 100%;
    margin: 0 auto 40px;
    /* background: #e6f1ff; */
}
.ja-plan-section .section_des p{
    line-height: 1.5;
}
.ja-plan-section .ja_plansection_title{
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.9em;
    padding-right: 0.9em;
}
.ja-plan-section .ja_plansection_title::after{
    content: '';
    border-width: 0px 0px 0px 4px;
    right: -0.2em;
    transform: skewX(-37deg) translateY(-50%);
    top: 50%;
    width: 13px;
    position: absolute;
    content: "";
    height: 0.9em;
    border-style: solid;
    border-color: var(--surface-brand);
}

.ja-plan-section .ja_plansection_title::before{
    content: '';
    height: 0.9em;
    border-style: solid;
    position: absolute;
    top: 50%;
    width: 13px;
    border-color: var(--surface-brand);
    top: 50%;
    width: 13px;
    left: 0;
    transform: skewX(37deg) translateY(-50%);
    border-width: 0px 4px 0px 0px;
}
.ja-plan-section .ja_plansection_title span::after{
    content: '';
    position: absolute;
    right: 45%;
    bottom: -65%;
    margin-top: 0;
    border-width: 8px;
    border-style: solid;
    border-color: var(--surface-brand) transparent transparent transparent;
}
.pb-20{
    padding-bottom: 5rem;
}
/* banner section */
.ja-banner-section .ja-banner-img-sec .ja-banner-img{
    border-radius: 30px;
    width: auto;
    max-height: 260px;
    border: 4px solid;
    margin: 0 auto;
}
.ja-banner-img-sec{
    position: relative;
}
.mobile .ja-banner-img-sec{
    max-width: 70%;
    max-height: 260px;
    margin: 0 auto;
}
.ja-banner-img-sec .ja-banner-highlight-div{
    left: 15px;
    top: 0px;
    /* width: 100%; */
    text-align: center;
    position: absolute;
    text-align: center;
    display: inline-block;
    z-index: 99;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    transform: rotate(-25deg);
}
.ja-banner-img-sec .ja-banner-highlight-text{
    display: inline-grid;
    gap: 4px;
}
.ja-banner-img-sec .ja-banner-highlight-text span{
    padding: 2px;
    background: #fff;
    /* font-size: 14px; */
    font-size: clamp(16px, 4vw, 20px);
    font-weight: bold;
    width: auto;
    box-shadow: 0 3px 10px 0 rgb(0 0 0 / 8%);
}
.bg-brand-lightest{
    background: #e6f1ff;
}
.ja-banner-section .banner-container{
    position: relative;
    z-index: 1;
}
.ja-banner-section .curve{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 1;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}
.ja-banner-section .ja-banner-btn-sec{
    text-align: center;
}
.ja-banner-section .ja-banner-btn-sec .button{
    width: auto;
    margin: 20px auto 0px;
    padding: 0px 20px;
}
.ja-banner-section .ja-banner-list{
    display: flex;
    gap: 10px;
    margin: 20px 0px;
    justify-content: center;
    align-items: stretch;
}
.ja-banner-section .ja-banner-list .ja-banner-list-li{
    /* border: 1px solid var(--border-brand);
    border-radius: 50%; */
    width: 100%;
    padding: 5px 0px;
    display: grid;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 200px;
    max-height: 200px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
} 
.ja-banner-section .ja-banner-list .feature_title{
    font-size: 16px;
    font-weight: bold;
}
.ja-banner-section .ja-banner-list .feature_content{
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    word-break: keep-all;
    white-space: normal;
}
.ja-banner-section .ja_banner_title{
    /* font-size: 30px; */
    font-size: clamp(30px, 8vw, 60px);
    line-height: 1.5; 
}

/* banner desktop design */
.desktop.ja-banner-section .ja-banner-list .ja-banner-list-li{
    padding: 30px 12px;
}
.desktop.ja-banner-section .ja-banner-list{
    width: 80%;
    margin: 20px auto;
}
.desktop.ja-banner-section .ja-banner-img-sec .ja-bannerdesktop-img{
    width: 75%;
    margin: 0 auto;
}
.desktop.ja-banner-section .ja-banner-img-sec .ja-bannerdesktop-img{
    max-height: 300px;
    width: auto;
}
.desktop.ja-banner-section{
    /* background: linear-gradient(to right, #e6f1ff 50%, #e6f1ff 50%), url(https://can.voyeglobal.com/wp-content/themes/voye/assets/img/japanese/banner-bg.webp);
    background-position: left top, right top;
    background-size: 60% 100%, 40% 100%;
    background-repeat: no-repeat; */
    position: relative;
    background: 
        linear-gradient(to right, #e6f1ff 60%, transparent 0),
        url('assets/img/japanese/banner-bg.webp');
    background-position: left top, right top;
    background-repeat: no-repeat;
    background-size: auto 100%, contain;
    background-attachment: scroll;
    background-blend-mode: normal;
}
.desktop.ja-banner-section .bannerdesktopleft-container{
    width: 100%;
}
.desktop.ja-banner-section .bannerdesktopright-container{
    width: 100%;
}
.desktop.ja-banner-section .ja-banner-img-sec .ja-banner-img-div{
    position: absolute;
    left: 40px;
    top: -155px;
    z-index: 1;
}
.desktop.ja-banner-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 59%; /* Start of the image section */
    width: 60px; /* width of the curve */
    height: 100%;
    background-color: #e6f1ff;
    border-top-left-radius: 45px;
    border-bottom-left-radius: 45px;
    z-index: 0;
    transform: rotate(180deg);
}
.desktop.ja-banner-section .ja_banner_title{
    font-size: 54px;
    line-height: 1.5; 
    margin-bottom:24px;
}
.desktop.ja-banner-section .ja-banner-list .feature_title{
    font-size: 16px;
    font-weight: bold;
}

/* bottom sticky popup */
.ja-bottom-sticky-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 20px 15px;
    z-index: 9999;
    display: none;
    max-height: 80px;
}
.ja-bottom-sticky-popup.show {
    bottom: 0;
    opacity: 1;
  }
.ja-bottom-sticky-popup .popup-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}  
.ja-bottom-sticky-popup .popup-content .popup-text {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
} 
.ja-bottom-sticky-popup .close-btn {
    position: absolute;
    top: -7px;
    right: 5px;
    font-size: 26px;
    cursor: pointer; 
}
.ja-bottom-sticky-popup .arrow::before{
    content: '';
    /* position: absolute;
    right: 38%;
    bottom: 30%; */
    width: auto;
    display: block;
    margin-top: 0;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent transparent var(--surface-brand);
}

/* popular plans slider design */
.ja-slider-div .ja-slider-title img{
    /* height: 2.5rem;
    width: 2.5rem;*/
    border-radius: 9999px; 
    height: 1.5rem;
    width: 1.5rem;
    border-width: 1px;
    /*border-color: var(--border-secondery); */
    object-fit: cover;
    border-color: var(--border-light);
}
.ja-slider-div .swiper-slide{
    /* border-radius: var(--corners-brand); */
    border-radius: 24px;
    border: 2px solid var(--border-secondery);
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
    --tw-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.12);
    --tw-shadow-colored: 0px 4px 40px 0px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    padding: 12px;
}
.ja-slider-div .swiper-slide .plan_row{
    margin: 16px 0px;
}
.ja-slider-div .swiper-slide .ja-slider-title{
    /* border-bottom: 1px solid var(--border-light);*/
    padding: 5px; 
    border: 2px solid var(--border-secondery);
}
.ja-slider-div .ja-slidercategory-name{
    width: 100%;
}
.ja-slider-div .ja-slider-title-h3{
    margin-bottom: 0;
    text-align: center;
}
.ja-slider-div  .products-swiper{
    padding-left: 15px;
    padding-right: 15px;
}
.ja-slider-div .ja-slider-data-div{
    border-bottom: 1.5px solid var(--border-brand);
    display: flex;
    justify-content: space-between;
    padding: 12px;
}
.ja-slider-div .ja-slider-data-div span{
    font-size: 18px;
    color: #000;
}
.ja-slider-div .ja-slider-data-div:last-child{
    border-bottom: 0px solid var(--border-brand);
}
.ja-slider-div .ja-slider-data-div:last-child span{
    color: rgb(204, 0, 0);
    font-weight: bold;
}
/* about esim section design */
.ja-home-about-section .ja-home-about-container{
    background: #fff;
    padding: 25px 15px 15px;
    border-radius: var(--corners-brand);
    max-width: 80%;
    margin: 0 auto;
}
.ja-home-about-section .about_content{
    line-height: 1.5;
    font-size: 18px;
}
.ja-home-about-section .about_content a{
    color: var(--surface-brand);
    text-decoration: underline;
}
.ja-home-about-section .about_title{
    position: absolute;
    top: -15px;
    background: var(--surface-brand);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: bold;
    line-height: 1.5;
    font-size: 18px;
}
.desktop.ja-home-about-section .ja-home-about-container{
    background: #fff;
    border: 4px solid var(--border-brand);
}
html[lang="ja"] .page-template-tpl-home .site-footer{
    padding-bottom: 80px;
}
html[lang="ja"] .page-template-tpl-home.ja-bottomstickyPopupHidden .site-footer{
    padding-bottom: 0px;
}
.popup-buttons a{
    box-shadow: 0 5px 0px var(--surface-brand-darkest); 
}
.popup-buttons a:hover{
    box-shadow: none;
} 

/* Menu toggle hide */
html[lang="ja"] .header-menu-btn{
    display: none;
}

/* Need Help button hide */
html[lang="ja"] .mobile-chat-footer{
    display: none;
}

html[lang="ja"] .home .section-promotional-header{
    display: none;
}
.ja-how-works-section .ja-how-works-slider .text{
    font-size: clamp(12px,4vw,20px);
}

/* Japanese banner circle design */
.ja-circle-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 15px 0px; 
}
.ja-circle-container .circle {
    width: 140px;
    height: 140px;
    border: 1.5px solid var(--surface-brand-darkest);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    padding: 8px;
    word-break: keep-all;
    white-space: normal;
    overflow: visible; /* allow text to overflow */
    position: relative;
}
.ja-circle-container .circle .label {
    font-weight: bold;
    font-size: 18px;
    line-height: 1.5;
}
.ja-circle-container .circle .content {
    font-weight: bold;
    font-size: 20px;
    line-height: 1.5;
}
.ja-circle-container .circle .content span{
    background:#fff;
}

/* desktop design */
.desktop .ja-circle-container .circle{
    background: #fff;
}

/* Responsive tweaks */
@media (max-width: 500px) {
    .ja-circle-container .circle {
        width: 100px;
        height: 100px;
    }
    .ja-circle-container .circle .label{
        font-size:14px;
    }
    .ja-circle-container .circle .content {
        font-size: 16px;
    }
}
@media (max-width: 380px) {
    .ja-circle-container{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 15px;
    } 
    .ja-circle-container .circle {
        width: 90px;
        height: 90px;
        font-size: 12px;
        margin: 0 auto;
    }
    .ja-circle-container .circle .label{
        font-size:14px;
    }
    .ja-circle-container .circle .content {
        font-size:14px;
    }
}


@media only screen and (max-width:667.5px){
    /* plans slider section */
    .ja-plan-section .section_des{
        max-width: 100%;
    }
    .ja-slider-div  .products-swiper{
        padding-top: 30px;
        /* padding-bottom: 30px; */
        overflow: hidden;
        max-width: 100%;
    }
    /* about esim section design */
    .ja-home-about-section .ja-home-about-container{
        max-width: 100%;
    }
    .ja-banner-section .ja_banner_title{
        margin-bottom: 20px;
    }
    .ja-banner-section{
        padding: 20px 0px;
    }
    .ja-banner-section .ja-banner-btn-sec .button{
        margin-top: 0px;
    }
    .ja-banner-section .ja-banner-list .feature_title{
        font-size: 14px;
    }
    .ja-banner-section .ja-banner-list .feature_content{
        font-size: 14px;
        background: transparent;
    }
    .ja-banner-section .ja-banner-list .ja-banner-list-li{
        padding: 16px 5px;
    }
    .ja-banner-section .ja-banner-list{
        margin: 10px -10px;
    }

}
@media only screen and (min-width:667.5px){
    /* search section design */
    .ja-search-countries-section .ja-search-div{
        max-width: 80%;
        margin: 0 auto; 
    } 
}
@media only screen and (max-width:1023.5px){
    /* FAQ Section */
    .ja-faq .qicon{
        width: 30px;
        left: -10px;
    }
    .ja-faq .accordion-btn{
        padding-left: 30px;
        padding-right: 30px;
    }
    .ja-faq .accordion-item .arrow-icon svg{
        width: 16px;
        height: 16px;
    }
    .ja-faq .accordion-btn .arrow{
        right: 8px;
    }
    /* plans slider section */
    .ja-slider-div  .products-swiper{
        overflow: visible;
        max-width: 90%;
        padding-bottom: 0px;
        padding-top: 30px;
    }
}
@media only screen and (min-width:1023.5px){
    .ja-slider-div .ja-slider-title img{
        height: 2.5rem;
        width: 2.5rem;
    }	
}
@media only screen and (min-width:1650px){
    .desktop.ja-banner-section{
        background-size: auto 100%, 40% 100%;
    }
}
@media only screen and (max-width:350.5px){
    .ja-bottom-sticky-popup .popup-content{
        display: grid;
        gap: 5px;
        
    }
    .ja-bottom-sticky-popup .popup-content .arrow{
        margin: 0 auto;
    }
    .ja-bottom-sticky-popup .popup-content .arrow::before{
        border-color: var(--surface-brand) transparent transparent transparent;
    }
    .ja-banner-section .ja-banner-list .ja-banner-list-li{
        padding: 5px 0px;
    }
    .ja-banner-section .ja-banner-list {
        gap: 2px;
    }
    .ja-bottom-sticky-popup{
        max-height: 130px;
    }
    html[lang="ja"] .page-template-tpl-home .site-footer{
        padding-bottom: 130px;
    }
}
@media only screen and (max-width:380.5px){
    .ja-banner-section .ja-banner-list .feature_title{
        font-size: 14px;
    }
    .ja-banner-section .ja-banner-list .feature_content{
        font-size: 14px;
        background: transparent;
    }
    .ja-banner-section .ja-banner-list-subli{
        padding: 5px;
    }
    .ja-banner-section .ja-banner-list{
        gap: 5px;
    }
}
@media only screen and (min-width:380.5px){
    .ja-banner-section .ja-banner-list .ja-banner-list-li{
        padding: 35px 15px;
    } 
}
@media only screen and (min-width:400px){
    .ja-banner-section .ja-banner-list .ja-banner-list-li{
        padding: 35px 15px;
    }
    .ja-banner-img-sec .ja-banner-highlight-div{
        left: 5%;
    }
}

@media only screen and (max-width:400px){
    .ja-banner-img-sec .ja-banner-highlight-div{
           left: -5%;
       }	
   }

@media only screen and (min-width:500.5px) and (max-width:767px){
    .ja-banner-section .ja-banner-list .ja-banner-list-li{
        padding: 45px 20px;
    }
}
@media only screen and (min-width:767px) and (max-width:1024.5px){
    .mobile.ja-banner-section .ja-banner-list .ja-banner-list-li{
        padding: 45px 25px;
    }  
}
@media only screen and (max-width:1024px){
    .ja-faq .qicon 
    {
        border-radius:12px;
    }
} 
@media only screen and (max-width:450px){
    .ja-plan-section .slider_title{
        font-size: clamp(18px, 5vw, 26px);
    }
    .ja-plan-section .search_title {
        font-size: clamp(18px, 5vw, 26px);
    }
    .ja-plan-section .slider_title{
        margin-bottom: 0;
    }
    .ja-search-countries-section .search_title {
        font-size: clamp(18px, 5vw, 26px);
    }
}
@media only screen and (min-width:600.5px){
    .ja-banner-img-sec .ja-banner-highlight-div{
        left: 15%;
    }
}
@media only screen and (min-width:767.5px){
    .ja-banner-img-sec .ja-banner-highlight-div{
        left: 20%;
    }
}
@media only screen and (min-width:1023.5px){
    .ja-banner-img-sec .ja-banner-highlight-div{
        left: 25%;
    }
    .ja-search-countries-section .search_title {
	    font-size: 26px;
    }
}
