.main-content {
    min-height: calc(100vh - (var(--height) + var(--footer-height)));
    overflow: hidden;
}

.header-support .header-wrapper .account {
    display: none;
}

.site-header {
    position: fixed;
    width: 100%;
    background: #fff;
    z-index: 99;
    transition-duration: .5s;
}

div#content {
    padding-top: 98px;
    min-height: calc(100vh - (var(--height) + var(--footer-height)));
    position: relative;
    display: inline-block;
    width: 100%;
}

button.toggle.nav-toggle.mobile-nav-toggle {
    border: 0;
    background: 0 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 1px;
    z-index: 2;
    height: 100%;
    cursor: pointer
}

button.button-close {
    border: 0;
    background: 0 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

.open-menu button.toggle.nav-toggle.mobile-nav-toggle {
    opacity: 0
}

.open-menu button.button-close {
    opacity: 1
}

.main_menu li {
    list-style: none;
    padding: 0;
    cursor: pointer
}

.main_menu li.menu-item-has-children {
    position: relative;
    padding-right: 17px
}

.menu-item-has-children>a+span {
    content: '';
    border: solid #212121;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 2.5px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    position: absolute;
    top: 11px;
    right: 0;
    transition-duration: .5s;
    cursor: pointer;
    vertical-align: middle
}

.menu-item-has-children.active>a+span {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    top: 11px
}

.main_menu .current-menu-item>a+span{
    border-color: var(--secondary);
}

.header-wrapper .account a {
    color: #212121;
    font-family: Noto Sans JP;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin-bottom: 3px;
    transition-duration: .5s;
/* 	New */
	display:flex;
	gap:5px; 
	align-items:center;
/* 	padding-top:2px; */
/* 	End New */
}

.header-wrapper .account .dropdown a:hover {
    color: #212121;
    font-weight: 500
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 14px;
    position: relative
}

.header-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    max-width: 900px;
}

.header-wrapper a.custom-logo-link {
    max-width: 128px;
    display: block
}

.header-wrapper a.custom-logo-link img {
    width: 100%;
    height: auto
}

.main_menu .current-menu-item > a,
.archive .main_menu li.blog-item-menu > a,
.search .main_menu li.blog-item-menu > a,
.single.single-post .main_menu li.blog-item-menu > a{
    font-weight: 400;
    color: var(--secondary)
}

.main_menu li:hover>a {
    color: var(--secondary)
}

.menu-item-has-children:hover>a+span {
    border-color: var(--secondary)
}

.header-language {
    display: none;
    justify-content: center;
    align-items: center;
    margin-left: 26px;
}

.header-navigation-wrapper .wpml-language-switcher-block .wp-block-navigation__container li {
    padding: 0;
}

.header-language .widget {
    margin-left: 8px;
}

.header-language .wp-block-navigation .wp-block-navigation__submenu-icon svg path {
    stroke-width: 1px;
}

.header-language .wp-block-navigation .wp-block-navigation__submenu-icon svg {
    width: 11px;
    height: 12px;
    transition-duration: .5s;
}

.header-language ul.wp-block-navigation__submenu-container {
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.5);
    padding: 10px;
}

.header-language .wpml-language-switcher-block ul.wp-block-navigation__submenu-container {
    border-radius: 5px;
    padding: 5px 15px 10px !important;
    background: #fff !important; 
    margin-top: 8px !important;
}

.header-language .wp-block-navigation .wp-block-navigation-item__label {
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.header-language .wp-block-navigation  .wp-block-navigation-item:hover .wp-block-navigation__submenu-icon svg {
    transform: rotate(180deg);
}

.header-wrapper .account .dropdown ul li {
    list-style: none;
    padding-top: 17px;
    pointer-events: all;
}

.header-corp .header-wrapper .account .dropdown .sidebar_menu {
    padding-top: 10px;
}

.header-wrapper .account .dropdown {
    display: none;
    position: absolute;
    right: -28px;
    padding: 24px 22px;
    top: -26px;
    z-index: 2;
    width: 245px;
    height: 232px;
    pointer-events: none;
}

.header-navigation-wrapper ul li a,.footer-middle ul li a {
    color: #131436;
    font-family: 'Noto Sans JP';
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    display: inline-block;
}

.header-wrapper .logout {
    position: relative;
    z-index: 3
}

.header-wrapper .account>div.logout {
    padding: 1.84px 10px 1.84px 7px
}

.foot_copyright p {
    color: #131436;
    font-family: Noto Sans;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 22px
}

.header-wrapper .account .dropdown ul {
    padding: 0
}

.footer-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 33px;
    border-bottom: 1px solid #cfd3dc
}

.list-social {
    display: flex;
    align-items: center;
    gap: 7px
}

.social-item a {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #d9d9d9;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.social-item a:hover {
    background: #131436
}

.social-item a:hover img {
    filter: brightness(0) invert(1)
}

.social-item:hover footer.footer {
    padding: 58px 0 26px;
    background: linear-gradient(180deg,rgba(245,245,245,0.3) 100%,#f5f5f5 98.96%)
}

.footer-middle ul {
    padding: 0;
    gap: 61px;
    display: flex;
    flex-wrap: wrap;
    margin: 0
}

.foot_copyright a {
    font-family: Noto Sans;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    text-decoration-line: underline
}

.footer-logo .custom-logo-link img {
    width: 100%;
    height: auto
}

.footer-logo .custom-logo-link {
    max-width: 117px;
    display: block
}

body.open-menu {
    overflow: hidden !important;
}

footer.footer {
    padding: 58px 0 17px;
    overflow: hidden;
    background: linear-gradient(0deg, rgba(245, 245, 245, 0.00) 0%, #F5F5F5 98.96%);
}
.wpml-ls-statics-footer.wpml-ls {
    display: none;
}
.footer .wpml-ls-menu-item {
    display: none;
}

@media (max-width: 1600px) and (min-width: 1025px){
    footer.footer .container {
        max-width: 1075px;
    }
    
    .footer-middle nav.main_menu ul {
        gap: 52px;
    }
}
@media (min-width: 1025px) {
    .header-wrapper .account .dropdown {
        background-image:url(../images/background-dropdown.svg);
        background-position: top center;
        background-repeat: no-repeat
    }

    .header-wrapper .account .dropdown .logout {
        border-radius: 100px;
        border: 1px solid #d20038;
        padding: 3.84px 17px 1.84px 9px;
        position: absolute;
        right: 36px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 10px
    }

    .menu-item-has-children:hover>a+span {
        transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg);
        top: 13px
    }

    nav.main_menu .menu-item-has-children ul.sub-menu {
        position: absolute;
        box-shadow: 0px 4px 10px 0px rgba(0,0,0,.15);
        background: #fff;
        z-index: 3;
        padding: 15px 20px;
        border-radius: 0;
        width: 100%;
        display: block;
        opacity: 0;
        visibility: hidden;
        border-radius: 20px;
        margin-top: 7px;
        transition-duration: .5s;
        min-width: 85px;
        right: 0;
    }

    .footer nav.main_menu .menu-item-has-children ul.sub-menu {
        bottom: 100%
    }

    nav.main_menu .menu-item-has-children ul.sub-menu {
        background: #fff
    }

    nav.main_menu .menu-item-has-children:hover ul.sub-menu {
        opacity: 1;
        visibility: visible
    }

    nav.main_menu .menu-item-has-children ul.sub-menu li:not(:last-child) {
        margin-bottom: 15px
    }

    .header-wrapper .account .login>a {
        display: flex;
        align-items: center;
        gap: 7px;
        margin-bottom: 0
    }

    .header-wrapper .account .login>a span {
        margin-bottom: 3px
    }

    .header-wrapper .account>div span {
        margin-bottom: 4px;
        display: inline-block;
        color: #212121;
        font-size: 16px;
        font-style: normal;
        font-weight: 300;
        line-height: normal
    }

    .header-wrapper .account>div:hover span {
        color: var(--secondary);
    }

    .header-wrapper .account .dropdown>ul {
        padding-left: 24px;
        padding-top: 22px
    }

    .header-wrapper .account .dropdown>svg {
        display: none
    }

    .header-wrapper .account {
        margin-left: 15px;
        position: relative;
    }

    .header-wrapper .account>div:not(.dropdown) {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        border-radius: 100px;
        border: 1px solid #d20038;
        padding: 1.84px 18px 1.84px 10px;
        cursor: pointer
    }

    .header-navigation-wrapper.darwer-menu {
        display: none
    }

    .menu-top-mobile {
        display: none
    }

    .header-menu nav.main_menu ul {
        display: flex;
        gap: 15px;
        margin: 0;
        padding: 20px 0
    }

    .footer-middle nav.main_menu ul {
        padding: 30px 0 26px
    }

    button.button-close {
        display: none
    }

    button.toggle.nav-toggle.mobile-nav-toggle {
        display: none
    }
}

@media (min-width: 1601px) {
    /* .site-header .container {
        max-width: 1611px
    } */
    .header-menu nav.main_menu ul {
        gap: 28px;
    }
    .header-wrapper .account {
        margin-left: 26px;
    }
}

@media (max-width: 1199px) and (min-width:1025px) {
    .header-navigation-wrapper ul li a,.footer-middle ul li a,.header-wrapper .account>div span,.header-wrapper .account a {
        font-size:13px
    }

    .footer-middle ul {
        gap: 30px
    }
    .header-logo img {
        max-width: 100px;
    }
}

@media (max-width: 1024px) {
    div#content{
        padding-top: 81px;
        padding-top: var(--height);
    }
    .header-menu .header-language {
        display: none;
    }

    .header-language {
        margin-left: 0;
        align-items: flex-start;
        padding-top: 32px;
    }
    
    .header-language>svg {
        margin-top: 7px;
    }
    
    .header-language .wpml-language-switcher-block ul.wp-block-navigation__submenu-container {
        position: static;
        opacity: 1;
        visibility: visible;
        width: 100%;
        height: auto;
        display: none;
        box-shadow: none;
    padding: 0 !important;
    }

    .header-language .wp-block-navigation .active .wp-block-navigation__submenu-icon svg {
        transform: rotate(180deg);
    }

    .header-navigation-wrapper .wpml-language-switcher-block .wp-block-navigation__container li {
        display: block;
    }
    
    .wpml-language-switcher-block .wp-block-navigation__container {
        width: 35px;
    }
    
    .header-wrapper .account>div>a {
        font-size:0;
        line-height: 0
    }

    

    .header-wrapper .account>div span {
        display: none
    }

    .header-navigation-wrapper.darwer-menu .menu-item-has-children>a+span {
        position: relative;
        top: 8px;
        padding: 3px;
        vertical-align: top
    }

    .main_menu .current-menu-item > a {
    font-weight: 500;
}

    .header-navigation-wrapper.darwer-menu .menu-item-has-children.active>a+span{
         top: 12px;
    }

    .header-wrapper .account .dropdown svg {
        width: 24px;
        height: 24px
    }

    .header-wrapper .account .dropdown ul li {
        padding-top: 17px
    }

    .header-wrapper .account .dropdown ul li:first-child {
        padding-top: 17px
    }

    .main_menu li.menu-item-has-children {
        padding-right: 0
    }

    .header-wrapper .account>div.logout {
        padding: 0
    }

    .header-wrapper .account {
        margin-left: 16px;
        cursor: pointer;
        transition-duration: .3s;
    }

    .open-menu .header-wrapper .account, .open-account .header-wrapper .account .logout {
        opacity: 0;
        visibility: hidden;
        width: 0;
        margin: 0;
    }

    .open-account .header-wrapper .account{
                margin: 0;
    }

    .open-account button.toggle.nav-toggle.mobile-nav-toggle{
        opacity: 0;
        pointer-events: none;
    }
    .open-account button.button-close{
        opacity: 1;;
    }

    .header-wrapper .account .dropdown {
        border-radius: 0 0 10px 10px;
        box-shadow: 0px 11px 11px 0px rgba(0,0,0,.15);
        top: 100%;
        right: -36px;
        background: #fff;
        width: 219px;
        padding: 26px 28px 10px;
        height: 226px;
        pointer-events: all;
        overflow: hidden;
    }

    .header-wrapper .account .dropdown:before {
        content: '';
        display: block;
        width: 110%;
        height: 9px;
        position: absolute;
        z-index: 2;
        pointer-events: none;
        top: -9px;
        left: 0;
        box-shadow: 0px 2px 5px 0px rgba(0,0,0,.1);
    }

    .header-wrapper .account>div svg {
        width: 24px;
        height: 24px;
    }

    .header-wrapper .account>a {
        display: none
    }

    .header-wrapper .header-navigation-wrapper {
        display: none
    }

    .site-header .header-navigation-wrapper {
        padding: 131px 0 49px;
        width: 100vw;
        position: fixed;
        left: 0;
        top: 0;
        transition-duration: .5s;
        transform: translateY(-100%);
        z-index: 9;
        border-radius: 0 0 20px 20px;
        background: #fff;
        box-shadow: 0px 4px 10px 0px rgba(0,0,0,.15)
    }

    .header-navigation-wrapper.darwer-menu {
        position: fixed;
        width: 100%;
        z-index: 95;
        background-color: #FFF;
        transform: translateY(-100%);
        transition: 0.5s ease-out;
        height: 100dvh;
        padding: 131px 0 49px;
    }

    body.open-menu .header-navigation-wrapper {
        transform: translateY(0)
    }

    header#masthead {
        background: #fff;

    }

    body.open-menu  header#masthead ,
    body.open-account  header#masthead{
        box-shadow: 0px 2px 5px 0px rgba(0,0,0,.1)
    }

    .header-navigation-wrapper .main_menu li {
        text-align: center
    }

    .footer-middle ul li {
        padding-bottom: 17px
    }

    /* .footer-middle ul li:nth-child(odd) {
        width: 46%;
    }

    .footer-middle ul li:nth-child(even) {
        max-width: 54%;
    } */

    .footer-middle ul li:nth-child(even) {
        width: 46%;
        padding-left: 20px;
    }

    .footer-middle ul li:nth-child(odd) {
        max-width: 54%;
        width: 54%;
    }

    .footer-middle ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0
    }

    .main_menu li.menu-item-has-children>a {
        position: relative;
        padding-right: 17px
    }

    .footer .main_menu li.menu-item-has-children.current-menu-item>a{
        padding-right: 10px;
    }

    .footer .menu-item-has-children.current-menu-item>a+span {
        right: -5px;
    }
    

    .header-navigation-wrapper ul li a {
        color: #131436;
        font-family: 'Noto Sans JP';
        font-size: 16px;
        font-style: normal;
        font-weight: 300;
        line-height: normal;
        display: inline-block;
        vertical-align: top
    }

    .header-navigation-wrapper ul li {
        padding-top: 40px
    }

    .header-wrapper .account .dropdown ul {
        padding-left: 0;
        margin: 0
    }

    .header-navigation-wrapper ul li {
        padding-top: 39px;
        display: inline-block;
        vertical-align: middle;
        width: 100%;
    }

    .menu-top-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0px 2px 5px 0px rgba(0,0,0,.1);
        padding: 23px 36px
    }

    .header-navigation-wrapper ul {
        padding: 0;
        display: block;
    }

    .menu-toggle-button {
        position: relative;
        width: 28px;
        text-align: right;
        cursor: pointer
    }

    .header-wrapper a.custom-logo-link {
        max-width: 87px
    }

    .header-wrapper {
        padding: 24px 0
    }

    .main_menu li.menu-item-has-children .sub-menu {
        display: none
    }

    .main_menu li.menu-item-has-children .sub-menu li {
        padding-top: 15px;
        padding-bottom: 0;
    }

    .header-wrapper .account .dropdown ul {
        padding-left: 0;
        margin: 0
    }

    .footer-logo .custom-logo-link {
        max-width: 115px;
        display: block
    }

    .footer-top {
        padding-bottom: 31px;
        margin-bottom: 28px
    }

    footer.footer {
        padding: 39px 0 40px
    }

    .menu-item-has-children>a:after {
        padding: 3px;
        top: 10px
    }

    .footer-middle {
        padding-bottom: 13px
    }

    .footer-bottom {
        padding-right: 72px
    }

    .menu-wrapper {
        max-height: calc(100vh - 250px);
        overflow-y: auto;
        overflow-x: hidden;
        padding-bottom: 30px;
    }

    .footer .menu-item-has-children>a+span {
        padding: 3px;
        top: 9px
    }

    .menu-item-has-children.active>a+span {
        top: 11px
    }
}

@media (max-width: 600px){
    
.site-header.scroll {
    top: 0;
}
}

@media (max-width: 414px) {
    .footer-middle ul li:nth-child(odd) {
        width:100%
    }

    .footer-top {
        display: block
    }

    .list-social {
        padding-top: 25px
    }

    .footer-middle ul li:nth-child(even){
        max-width: 100%;
    }
}

/* Scroll back to top */
.back-to-top__container {
    position: fixed;
    width: 4em;
    height: 4em;
    right: 5em;
    bottom: 5em;
    z-index: 80;
}

.back-to-top {
    width: 100%;
    height: 100%;
    display: none;
}

.back-to-top__animation {
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    animation: fadeInUp 0.5s ease;
    border-radius: 100%;
    cursor: pointer;
    border: 1px solid var(--primary);
    z-index: 10;
}

.back-to-top__animation:hover svg {
    transform: scale(1.3);
    transition: 1s;
}

.back-to-top__animation:hover svg line,
.back-to-top__animation:hover svg path{
    stroke: white;
}

.back-to-top__animation:hover {
    background-color: var(--primary);
}


@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media only screen and (max-width: 1440px) {
    .back-to-top__container {
        right: 3em;
        bottom: 3em;
    }
}

@media only screen and (max-width: 767px) {
    .back-to-top__container {
        display: none;
    }
}

@media only screen and (max-width: 525px) {
    .back-to-top__container {
        right: 3.5em;
        bottom: 5em;
        width: 3.6em;
        height: 3.6em;
    }
}