@charset "UTF-8";

/*
================================================================
 グローバルヘッダー
================================================================
*/

/* 
$global-header-height-pc: 100px;
$global-header-height-sp: 50px;
*/

/* スクロール位置 */

html {
    scroll-padding-top: calc( var(--themeval-global-header-height) + 0px ); /* $global-header-height-pc */
}
.header-height-padding {
    padding-top: var(--themeval-global-header-height); /* $global-header-height-pc */
}
.header-height-margin {
    margin-top: var(--themeval-global-header-height); /* $global-header-height-pc */
}
.header-height-negative-margin {
    margin-top: calc(var(--themeval-global-header-height) * -1); /* $global-header-height-pc */
}

/* ヘッダー */

.global-header {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: var(--themeval-global-header-height); /* $global-header-height-pc */
    color: var(--themeval-color-theme-01);
}
.global-header-bg {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    background: var(--themeval-color-theme-white);
    overflow: hidden;
}
.global-header .layout-container {
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}
.global-header a {
    color: inherit;
    text-decoration: inherit;
    opacity: 1;
    transition: opacity var(--themeval-hover-transition);
}
html:not(.agent-prop--Touch) .global-header a:hover {
    opacity: var(--themeval-hover-opacity); /* $hover-opacity */
}


/* タイトル部 */

.global-header-title {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
}
.global-header-title__label {
    position: absolute;
    top: 15px;
    left: 20px;
    z-index: 12;
    display: block;
    box-sizing: border-box;
    width: auto;
    height: 60px;
    padding: 5px 5px;
    font-size: 24px;
    line-height: 50px;
    font-weight: 900;
}
.global-header-title__label > * {
    float: left;
    position: relative;
    display: block;
    width: auto;
}
.global-header-title__label > *:last-child {
    margin-left: 20px;
}
.global-header-title__label > img {
    top: 10px;
    height: 30px;
}
.global-header-title__label > em {
    top: -0.1em;
    font-style: normal;
}



/* ハンバーガーメニュー ボタン */

.global-header-toggle {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
}
.global-header-toggle-button {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 21;
    display: block;
    margin: 0;
    padding: 0;
    border: 0 none;
    outline: 0 none;
    background: var(--themeval-color-theme-01);
    color: var(--themeval-color-theme-white);
    width: var(--themeval-global-header-height); /* $global-header-height-pc */
    overflow: hidden;
    cursor: pointer;
    opacity: 1;
    transition:
        background-color var(--themeval-menu-transition),
        opacity var(--themeval-hover-transition);
}
html:not(.agent-prop--Touch) .global-header-toggle-button:hover {
    opacity: var(--themeval-hover-opacity);
}
/* .global-header-toggle-button:focus-visible {
    outline: 1px solid var(--themeval-color-theme-05);
    box-shadow: 0 0 2px 3px var(--themeval-color-theme-05);
} */
.global-header-toggle-button::before {
    content: "";
    display: block;
    box-sizing: content-box;
    width: 100%;
    height: 0;
    padding: 100% 0 0;
}
.global-header-toggle-button span {
    position: absolute;
    z-index: 2;
    left: 25%;
    display: block;
    box-sizing: content-box;
    width: 50%;
    height: 0;
    margin-top: -1px;
    border-top: 2px solid var(--themeval-color-theme-white);
    opacity: 1;
    transition: 
        border-color var(--themeval-menu-transition),
        top var(--themeval-menu-transition-step-2),
        opacity var(--themeval-menu-transition-step-2),
        left var(--themeval-menu-transition-step-1),
        width var(--themeval-menu-transition-step-1),
        transform var(--themeval-menu-transition-step-1);
}
.global-header-toggle-button span:nth-child(1){
    top: 42%;
}
.global-header-toggle-button span:nth-child(2){
    top: 58%;
}





/* ハンバーガーメニュー 項目 */

.global-header-content {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
}
.global-header-content .display-width-container {
    height: var(--themeval-global-header-height); /* $global-header-height-pc */
    overflow: hidden;
    transition: height var(--themeval-menu-transition-after);
}

.global-header-content__canvas {
    position: absolute;
    z-index: 20;
    top: 0;
    right: 0;
    display: block;
    width: 580px;
    height: 100vh;
    height: 100lvh;
    background-color: rgba(var(--themeval-rgb-theme-01),0.9);
    /* opacity: 0; */
    overflow: hidden;
    visibility: hidden;
    transform: translateX(100%);
    transition: 
        opacity var(--themeval-menu-transition),
        transform var(--themeval-menu-transition),
        visibility var(--themeval-menu-transition);
}

.global-header-content__panel {
    position: absolute;
    top: var(--themeval-global-header-height); /* $global-header-height-pc */
    right: 0;
    display: block;
    width: 100%;
    height: calc( 100% - var(--themeval-global-header-height) ); /* 100% - $global-header-height-pc */
    background-color: transparent;
    overflow: auto;
    visibility: hidden;
    /* opacity: 0; */
    /* transform: translateY(-100%); */
    transition: 
        top var(--themeval-menu-transition),
        opacity var(--themeval-menu-transition),
        transform var(--themeval-menu-transition),
        visibility var(--themeval-menu-transition);
}
.global-header-content__panel-body {
    position: relative;
    width: 100%;
    display: block;
    height: auto;
    padding: 0 0 calc(100lvh - 100svh);
}
.global-header-content__panel-body .layout-container {
    position: relative;
    display: block;
    width: 90%;
    max-width: 1200px;
    height: auto;
}



.global-header-nav {
    position: relative;
    display: block;
    margin: 0;
    padding: 20px 0 20px;
    width: 100%;
    height: auto;
}

.global-header-nav-menu {
    position: static;
    list-style-type: none;
    display: block;
    box-sizing: border-box;
    width: 450px;
    height: auto;
    padding: 10vh 0 0;
    margin: 0 auto;
}
.global-header-nav-menu > .menu-item {
    position: static;
    list-style-type: none;
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    padding: 5px;
    margin: 0;
    border-bottom: 1px solid var(--themeval-color-theme-white);
}
.global-header-nav-menu > .menu-item > a,
.global-header-nav-menu > .menu-item > .as-link {
    position: relative;
    z-index: 11;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 5px 40px 5px 10px;
    border: 0px none;
    outline: 0px none;
    background-color: transparent;
    cursor: pointer;
    text-decoration: none;
    color: var(--themeval-color-theme-text-white);
    font-weight: 700;
    text-align: left;
    font-size: calc( 30rem / var(--themeval-root-font-size) ); /* $base-font-size */
    line-height: 2;
}
.global-header-nav-menu > .menu-item > a::before,
.global-header-nav-menu > .menu-item > .as-link::before {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    display: block;
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    margin: -7px 0 0;
    padding: 0;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: none;
    background-image: url(../img/icon/ico_link_next.svg);
}
.global-header-nav-menu > .menu-item > a > .this__title,
.global-header-nav-menu > .menu-item > .as-link > .this__title {
    display: block;
    font-family: var(--themeval-font-en);
    font-weight: 400;
    font-size: 100%;
}
.global-header-nav-menu > .menu-item > a > .this__subtitle,
.global-header-nav-menu > .menu-item > .as-link > .this__subtitle {
    display: block;
    margin-left: 2em;
    font-weight: 700;
    font-size: 53.33%;
}


.global-header-close-btn {
    position: absolute;
    left: 50%;
    top: 100%;
    z-index: 31;
    display: inline-block;
    box-sizing: border-box;
    transform: translate(100%);
    border: 2px solid var(--themeval-color-theme-01);
    border-radius: 20px;
    background-color: var(--themeval-color-theme-white);
    color: var(--themeval-color-theme-text-black);
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    width: auto;
    padding: 8px 18px;
    margin: 0;
    transform: translate(-50%,0);
}
.global-header-close-btn:focus-visible {
    top: calc(100% - 100lvh + 100svh);
    transform: translate(-50%,-150%);
}




/* SPヘッダー適用 */

@media (max-width: 1279px), (min-width: 1280px) and (max-height: 859px) {

    /* ヘッダー高さ指定の変更 */
    :root {
        --themeval-global-header-height: 75px;
    }


    /* タイトル部 */

    .global-header-title__label {
        top: 10px;
        left: 10px;
        z-index: 12;
        height: 55px;
        padding: 5px 5px;
        font-size: 18px;
        line-height: 45px;
    }
    .global-header-title__label > img {
        top: 9px;
        height: 27px;
    }
    .global-header-title__label > *:last-child {
        margin-left: 10px;
    }


    /* ハンバーガーメニュー ボタン */

    .global-header-toggle-button {
        right: 0;
        top: 0;
    }

}
@media (max-width: 959px), (min-width: 960px) and (max-height: 719px) {

    /* ヘッダー高さ指定の変更 */
    :root {
        --themeval-global-header-height: 55px;
    }


    /* タイトル部 */

    .global-header-title__label {
        top: 5px; /* ( $global-header-height-sp - 45px ) / 2 */
        left: 10px;
        z-index: 12;
        height: 45px;
        padding: 5px 5px;
        font-size: 16px;
        line-height: 35px;
    }
    .global-header-title__label > img {
        top: 5px;
        height: 25px;
    }
    .global-header-title__label > *:last-child {
        margin-left: 10px;
    }


    /* ハンバーガーメニュー ボタン */

    .global-header-toggle-button {
        right: 0;
        top: 0;
    }

}
@media (max-width: 479px){


    /* タイトル部 */

    .global-header-title__label {
        top: 5px; /* ( $global-header-height-sp - 45px ) / 2 */
        left: 5px;
        height: 45px;
        padding: 5px 5px;
        font-size: 14px;
        line-height: 35px;
    }
    .global-header-title__label > img {
        top: 8px;
        height: 18px;
    }
    .global-header-title__label > *:last-child {
        margin-left: 8px;
    }


}


/* 縮小メニュー */

@media (max-width: 1079px){

    /* ハンバーガーメニュー パネル */

    .global-header-content__canvas {
        width: 420px;
    }

    .global-header-nav {
        padding: 20px 0 20px;
    }

    .global-header-nav-menu {
        width: 320px;
        margin: 0 auto;
    }
    .global-header-nav-menu > .menu-item {
        width: 100%;
        padding: 5px;
        border-bottom: 1px solid var(--themeval-color-theme-white);
    }
    .global-header-nav-menu > .menu-item > a,
    .global-header-nav-menu > .menu-item > .as-link {
        padding: 5px 40px 5px 10px;
        font-size: calc( 22rem / var(--themeval-root-font-size) ); /* $base-font-size */
        line-height: 2;
    }
    .global-header-nav-menu > .menu-item > a::before,
    .global-header-nav-menu > .menu-item > .as-link::before {
        right: 10px;
        top: 50%;
        width: 14px;
        height: 14px;
        margin: -7px 0 0;
    }
    .global-header-nav-menu > .menu-item > a > .this__title,
    .global-header-nav-menu > .menu-item > .as-link > .this__title {
        font-size: 100%;
    }
    .global-header-nav-menu > .menu-item > a > .this__subtitle,
    .global-header-nav-menu > .menu-item > .as-link > .this__subtitle {
        font-size: 55%;
    }


}

/* SPメニュー適用 */

@media (max-width: 767px){

    /* ハンバーガーメニュー パネル */

    .global-header-content__canvas {
        width: 100%;
    }

    .global-header-nav {
        padding: 20px 0 20px;
    }

    .global-header-nav-menu {
        width: 480px;
        max-width: 100%;
        margin: 0 auto;
    }
    .global-header-nav-menu > .menu-item {
        width: 100%;
        padding: 5px;
        border-bottom: 1px solid var(--themeval-color-theme-white);
    }
    .global-header-nav-menu > .menu-item > a,
    .global-header-nav-menu > .menu-item > .as-link {
        padding: 5px 30px 5px 5px;
        font-size: calc( 20rem / var(--themeval-root-font-size) ); /* $base-font-size */
        line-height: 2;
    }
    .global-header-nav-menu > .menu-item > a::before,
    .global-header-nav-menu > .menu-item > .as-link::before {
        right: 10px;
        top: 50%;
        width: 14px;
        height: 14px;
        margin: -7px 0 0;
    }
    .global-header-nav-menu > .menu-item > a > .this__title,
    .global-header-nav-menu > .menu-item > .as-link > .this__title {
        font-size: 100%;
    }
    .global-header-nav-menu > .menu-item > a > .this__subtitle,
    .global-header-nav-menu > .menu-item > .as-link > .this__subtitle {
        font-size: 55%;
        margin-left: 1.5em;
    }


}






/* ハンバーガーメニュー 展開時 */
/* 開閉制御 → AccelScreen  */

/* Hide scrollbar for Chrome, Safari, Opera */
html.open-global-header-nav::-webkit-scrollbar {
    display: none;
}
/* Hide scrollbar for IE, Edge, Firefox */
html.open-global-header-nav {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}


.open-global-header-nav .page-structure-fixed-header {
    width: 100%;
    height: 100%;
    height: 100lvh;
    overscroll-behavior: contain;
    overflow-y: scroll;
}
/* Hide scrollbar for Chrome, Safari, Opera */
.open-global-header-nav .page-structure-fixed-header::-webkit-scrollbar {
    display: none;
}
/* Hide scrollbar for IE, Edge, Firefox */
.open-global-header-nav .page-structure-fixed-header {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.open-global-header-nav .page-structure-fixed-header::before {
    content: "";
    width: 1px;
    height: 100%;
    display: block;
}

.open-global-header-nav .global-header-toggle-button {
    background-color: var(--themeval-color-theme-white);
}
.open-global-header-nav .global-header-toggle-button span {
    border-top-color: var(--themeval-color-theme-01);
    top: 50%;
    transition: 
        border-color var(--themeval-menu-transition),
        top var(--themeval-menu-transition-step-1),
        opacity var(--themeval-menu-transition-step-1),
        left var(--themeval-menu-transition-step-2),
        width var(--themeval-menu-transition-step-2),
        transform var(--themeval-menu-transition-step-2);
}
.open-global-header-nav .global-header-toggle-button span:nth-child(1) {
    transform: rotate(45deg);
}
.open-global-header-nav .global-header-toggle-button span:nth-child(2) {
    transform: rotate(-45deg);
}

.open-global-header-nav .global-header-content .display-width-container {
    height: 100vh;
    height: 100lvh;
    transition: none;
}
.open-global-header-nav .global-header-content__canvas {
    visibility: inherit;
    opacity: 1;
    transform: translateX(0);
}
.open-global-header-nav .global-header-content__panel {
    visibility: inherit;
    opacity: 1;
    /* transform: translateX(0); */
}




