@charset "utf-8";
/*■ハンバーガーメニュー■*/
.ham_4k{
    height: auto;
    overflow: auto;
}
body{position: relative;}
.hamburger-menu{
    overflow: auto;
    height: auto;
    position: fixed;
    z-index: 102;
    }
.menu-btn {
    cursor: pointer;
    display: block;
    position:fixed;
    top: 0px;
    right: 0;
    display: flex;
    height: 58px;
    width: 58px;
    justify-content: center;
    align-items: center;
    z-index: 103;
    background-color: rgba(255,255,255,0.9);
    box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
}
.nav_sp a{text-decoration: none;}
.menu-btn span,.menu-btn span:before,.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 28px;
    background-color: #c9b65f;/*≡の色*/
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}
#menu-btn-check{display: none;}
#menu-btn-check:checked ~ .menu-btn{
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}
#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
    background-color: #fff;
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
    background-color: #fff;
}
.menu-content {
    position: fixed;
    overscroll-behavior: contain;
    width: 100%;
    height: 100%;
    display: flex;
    top: 0;
    left:100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 101;
    transition: all 0.4s;/*アニメーション設定*/
}
#menu-btn-check:checked ~ .menu-content {
    left: 0%;/*メニューを画面内へ*/
}
/*ハンバーガーメニュー内用*/
#close_div{
    background-color: rgba(255,255,255,0.0);
    width: 70%;
    height: 100vh;
}
.nav_div{
    width:30%;
    height: 100%;
    background-color: #c9b65f;/*メニュー背景色*/
    display: flex;
    justify-content: center;
}
.nav_sp{
    text-align: left; 
    width: 60%;      
    margin: 0 auto;
    padding-top: 58px;
    height: 100%;
    margin:0;
    z-index: 100;
}
.nav_sp_b{
    font-family: "Noto Serif JP",sans-serif;
    line-height: 2.5em;
    font-size: 16px;
    width: 100%;
    color: #FFF;
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 1px solid #fff;
    padding: 6px 0;
}
.nav_sp_b:hover{text-decoration: none;}

.ham_sp_kara{
    width: 100%;
    height: 30px;
/*スマホでスクロールがbodyに行かないようにするための対処*/
}
/* NAVスクロールバー 
.nav_sp::-webkit-scrollbar {
    width: 10px;
}

.nav_sp::-webkit-scrollbar-track {
    background: #333;
}

.nav_sp::-webkit-scrollbar-thumb {
    background: #1a1a1a;
}
*/
@media screen and (min-width: 2300px) {
.ham_4k{
    width: 1650px;
    position: fixed;
    top:0;right: 0;left: 0;margin: 0 auto;
    height: 100px;
    z-index: 800;
}
.hamburger-menu,.menu-btn{
    position: relative;
    margin: 0 0 0 auto;
}
}
@media screen and (max-width: 1349px) {
.nav_sp_b{font-size: 16px;}
}
@media screen and (max-width: 1348px) {
/*ハンバーガーメニュー内用*/
    #close_div{
        width: 50%;
    }
    .nav_div{
        width:50%;
    }
}

@media screen and (max-width: 767px) {
/*767pxから全画面メニュー*/
.menu-content{
    width: 100%;
    display: block;
}
#close_div{
    display: none;
}
.nav_div{width: 100%;}
.nav_sp{
    width:fit-content;
    margin: 0 auto;
    padding-top:50px;
    padding-left:0px;
    padding-right: 0px;
}
.nav_sp_b{padding: 8px 16px;}
.ham_sp_kara{
    display: block;
/*スマホでスクロールがbodyに行かないようにするための対処*/
}
.ham_sp_kara p{
    /*border: 1px solid red;*/
    margin-top: 800px;
}
.menu-btn{
    top:0px;
    right: 0px;
    height: 45px;
    width: 45px;
    /*border: 1px solid #FFF;*/
}
.menu-btn span,.menu-btn span:before,.menu-btn span:after {
    height: 3px;
    width: 20px;
}
.menu-btn span:before {
    bottom: 7px;
}
.menu-btn span:after {
    top: 7px;
}
/*767以下ＴＯＰ画面にかかるので消えている*/
#menu-btn {display: none;}
    .is-active{     
        animation: menuAnime_a 0.5s linear;
    }
    .is-dis{        
        animation: menuAnime_d 0.5s linear;     
    }
}
@media screen and (max-width: 440px) {
.nav_sp_b{
    font-size: 16px;
    line-height: 1.8em;
}
.ham_sp_kara p{
    margin-top: 400px;
}
.nav_div{
    width:100%;
    height: 110vh;
}
.nav_sp{
    padding-left:0%;
    width: fit-content;
    margin: 0 auto;
}
.menu-content {
    width: 100%;
    height: 120vh;
}
}
@media screen and (max-width: 320px) {
.nav_sp_b{font-size: 14px;}
.nav_sp{
    padding-left:0;
}
}
@media screen and (max-height: 640px) and (orientation: landscape){
    .nav_div{
        overflow-y:scroll;
        direction: rtl;
        scrollbar-color: rgba(255,255,255,0.3) rgba(0,0,0,0.2);
        scrollbar-width: thin;
    }
    .nav_sp{
        padding-top: 20px;
    }
}
     