@charset "utf-8";


/*グローバルナビゲーション
==================================================================================================================*/
/*ヘッダー*/
header {
    position: relative;
}

h1.hdr_logo {
    text-align: left;
}


h1.hdr_logo a {
    margin: 0;
}

h1.hdr_logo a img {
    width: 100%;
    max-width: 124px;
    filter: brightness(0) saturate(100%) invert(10%) sepia(35%) saturate(598%) hue-rotate(347deg) brightness(93%) contrast(88%);
}

h1 .header_title {
    font-size: 14px;
}

.nav_menu {
    justify-content: space-evenly;
    position: relative;
}

.nav_menu>li a {
    display: block;
}


/*グローバルメニュー*/
#gnav_wrap {
    width: 100%;
    color: #333;
}

#gnav li {}

#gnav li a {
    display: block;
    overflow: hidden;
    color: inherit;
    margin: 0 1px 0 0;
}

#gnav li a span {
    color: #5BA4E4;
    font-size: 12px;
    padding: 0 2%;
    vertical-align: text-bottom;
}

.hamMenu {
    display: none;
}

.header .overlay {
    /*position: fixed;
    display: none;
    z-index: 20;
    top: 50px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 50px);
    background: rgba(200, 200, 200, .5);*/
}

#gnav_wrap {
    display: block !important;
    transition: .5s ease-in-out;
    float: none;
    width: 100%;
    max-height: 100vh;
    padding-top: 50px;
    margin: 50px 0 0 0;
    position: absolute;
    top: 0;
    right: -100vw;
    z-index: 1000;
    overflow: auto;
}

.menu-is-open #gnav_wrap {
    /*transform: translateX(-900px);
    background: #fff;
    padding: 0 0 50px 0;
    margin: 50px 0 0 0;
    width: 100%;*/

}

.hamMenu {
    display: block;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    right: 5%;
    z-index: 2000;
    text-indent: -9999px;
    margin: 0;
    background: none;
}

.hamMenu span {
    display: block;
    position: absolute;
    top: 14px;
    right: 10px;
    width: 36px;
    height: 22px;
    background: #fff;
    border-top: 9px solid #111111;
    border-bottom: 9px solid #111111;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.hamMenu span:before {
    content: '';
    position: absolute;
    width: 36px;
    height: 4px;
    background: #fff;
    top: -9px;
    right: 0;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.hamMenu span:after {
    content: '';
    position: absolute;
    width: 36px;
    height: 4px;
    background: #fff;
    bottom: -9px;
    right: 0;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}


.menu-is-open .hamMenu span {
    background: #f1f1f100;
    border-top: 9px solid #f1f1f100;
    border-bottom: 9px solid #f1f1f100;
}

.menu-is-open .hamMenu span:before {
    transform: rotate(-135deg);
    top: 0;
    right: 0;
}

.menu-is-open .hamMenu span:after {
    transform: rotate(135deg);
    bottom: 0;
    right: 0;
}

#gnav {
    border: none;
    flex-direction: column;
}

#gnav li {
    width: 100%;
    border: none;
    margin: 3px 0;
    text-align: center;
}

#gnav li a {
    font-size: 19px;
    padding: 10px;
    text-align: center;
    font-family: "Marcellus", "YuMincho", serif;
    border: 0;
    display: inline;
    position: relative;
}


#gnav li a::after {
    position: absolute;
    bottom: -8px;
    left: 0;
    content: "";
    width: 100%;
    height: 2px;
    background: #333;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform 0.3s;
}

#gnav li a:hover::after {
    transform: scale(1, 1);
}

.menu-is-open .header .overlay {
    display: block;
}

.header_wrap {
    position: relative;
    z-index: 8888;
}

.right_header {
    position: fixed;
    top: 0;
    width: 3vw;
    height: 100%;
    right: 0;
    background-color: #111111;
    box-shadow: 0px 3px 6px #00000029;
    min-width: 60px;
}

.side_wrap {
    position: relative;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

h1.hdr_logo {
    position: fixed;
    left: 10px;
    width: auto;
    top: 10px;
    min-width: 150px;
    z-index: 99;
}



.hamMenu {
    display: block;
    width: 50px;
    height: 50px;
    position: absolute;
    z-index: 2000;
    text-indent: -9999px;
    margin: 0;
    background: none;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

#gnav_wrap {
    background: #fffffff0;
    padding: 5vw;
    margin: 0;
    width: 100vw;
    height: 100vh;
}

.menu-is-open #gnav_wrap {
    transform: translateX(-100vw);
    position: fixed;
    overflow-y: scroll;
    z-index: 888;
}

#gnav {
    border: none;
    flex-direction: column;
    height: 100%;
    align-items: center;
    display: flex;
    justify-content: space-evenly;
}

.menu_title {
    writing-mode: vertical-rl;
    margin-left: auto;
    margin-right: auto;
    font-family: "Oswald", sans-serif;
    letter-spacing: 4.8px;
    color: #fff;
}

.icon_list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.icon_list li {
    max-width: 40px;
}

.icon_list li a {}

.icon_list li a img {}

#gnav li a {
    font-size: 19px;
    padding: 10px;
    width: 100%;
    text-align: center;
    font-family: "Marcellus", "YuMincho", serif;
    border: 0;
}

.hamMenu span::after {
    width: 36px;
    height: 2px;
    background: #fff;
    bottom: -7px;
    right: 0;

}

.hamMenu span::before {
    height: 2px;
    bottom: -7px;
    top: -7px;
}

.hamMenu span {
    height: 20px;
}

.menu-is-open .hamMenu span::before,
.menu-is-open .hamMenu span::after {
    background: #111;
    width: 30px;
}


#container {
    overflow: hidden;
    width: calc(100% - 60px);
}

@media (max-width: 899px) {
    h1 .header_title {
        color: #fff;
        background-color: #111;
        padding: 0 0.4em;
    }
}

@media (max-width: 599px) {
    #container {
        width: 100%;
    }

    header {
        background: #111111;
        height: 50px;
    }

    h1 .header_title {
        font-size: 12px;
    }

    h1.hdr_logo {
        max-width: unset;
        min-width: unset;
        left: 0;
        margin: auto;
        background: #111111;
        height: 50px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0 0 0 1%;
        top: 0;
    }

    h1.hdr_logo a img {
        filter: brightness(0) saturate(100%) invert(100%) sepia(95%) saturate(21%) hue-rotate(27deg) brightness(106%) contrast(105%);
        max-height: 40px;
        max-width: 80px;
    }


    .right_header {
        position: absolute;
        top: 0;
        width: auto;
        height: auto;
        right: 0;
        background-color: unset;
        box-shadow: unset;
        min-width: unset;
    }

    .hamMenu {
        top: 1px;
        right: 3px;
        transform: unset;
        position: fixed;
        left: unset;
        width: 40px;
        height: 40px;
    }

    .menu_title {
        display: none;
    }

    .icon_list {
        flex-direction: unset;
        gap: 0.7rem;
        position: fixed;
        bottom: 4px;
        left: 0;
        justify-content: center;
        width: 100vw;
        padding: 0 1rem;
        margin: 0 0 5px;
        z-index: 9999;
    }

    #page_top {
        width: 40px;
        height: 40px;
        right: 5%;
        bottom: 2em;
    }

    .hamMenu span {
        right: 10px;
        top: 15px;
    }

    #gnav_wrap {
        margin: 50px 0 0;
    }

    .menu-is-open .hamMenu span::before,
    .menu-is-open .hamMenu span::after {
        background: #fff;
        width: 30px;
    }

    .menu-is-open .hamMenu span {
        background: #070707f0;
        border-top: 9px solid #000000f0;
        border-bottom: 9px solid #252525f0;
    }

    #gnav {
        height: calc(100vh - 140px);
        overflow-y: scroll;
    }

}



.sub_page header {
    width: 100%;
    height: auto;
    position: fixed;
    z-index: 999;
    padding: 5px 5px;
}

.sub_page h1.hdr_logo {
    position: unset;
}

.sub_page h1.title {
    font-size: clamp(1.25rem, 1.046rem + 1.02vw, 1.875rem);
    font-family: "Marcellus", "YuMincho", serif;
    margin: 0 1rem;
    padding: 3rem 1rem;
}


.sub_page .header_wrap {
    position: relative;
    padding: 5px 5px;
}

.sub_page #gnav_wrap {
    position: fixed;
    overflow-y: scroll;
    z-index: 888;
    height: calc(100% - 50px);
    padding: 50px 0 50px;
}

.menu-is-open .sub_page #gnav_wrap {
    transform: translateX(-100vw);

}

.menu-is-open .sub_page h1.hdr_logo {
    position: fixed;
    z-index: 9999;
}

.sub_page .section_wrap {
    margin: 0 auto 2rem;
}

@media(max-width:599px) {


    .sub_page article {
        margin: 50px 0 0;
    }

    .sub_page .header_wrap {
        padding: 0;
    }

}