/* =============== */
/* グローバルメニュー */
/* =============== */
.menu-list{
    background-size: 105px;
    background-repeat: no-repeat;
    background-position: center;
}

.menu-list:nth-child(1){
    background-image: url('/assets/images/icon_image/link-background-1.png');
}
.menu-list:nth-child(2){
    background-image: url('/assets/images/icon_image/link-background-2.png');
}
.menu-list:nth-child(3){
    background-image: url('/assets/images/icon_image/link-background-3.png');
}
.menu-list:nth-child(4){
    background-image: url('/assets/images/icon_image/link-background-4.png');
}
.menu-list:nth-child(5){
    background-image: url('/assets/images/icon_image/link-background-5.png');
}


/* =============== */
/* ハンバーガーボタン */
/* =============== */

/* ハンバーガーボタン(クリック前) */
.hamburger-button{
    position: absolute;
    top: 30px;
    right: 20px;
    width: 40px;
    height: 35px;
}
.drawer-bar{
    position: absolute;
    display: block;
    width: 40px;
    height: 5px;
    transition: all 0.3s;
    background-color: #000;
}
.drawer-bar1{
    top: 0;
}
.drawer-bar2{
    top: calc(50% - 2.5px);
}
.drawer-bar3{
    top: calc(100% - 5px);
}

/* ハンバーガーボタン(クリック後) */
.hamburger-button.active{
    z-index: 300;
}
.hamburger-button.active .drawer-bar{
    width: 50px;
    background-color: #51d1de;
}

.hamburger-button.active .drawer-bar1{
    transform: rotate(45deg) translateY(-2.5px);
    transform-origin: top left;
}

.hamburger-button.active .drawer-bar2{
    opacity: 0;
}

.hamburger-button.active .drawer-bar3{
    transform: rotate(-45deg) translateY(2.5px);
    transform-origin: bottom left;
}


/* メニュー部分 */
.hamburger-menu{
    position: fixed;
    right: 0;
    top: -596px;
    width: 372px;
    height: 596px;
    padding-top: 65px;
    background-color: rgba(255,255,255,0.7);
    transition: all .6s;
    z-index: 200;
    overflow-y: auto; /* メニューが多くなったらスクロールできるように */
}
.hamburger-menu-list{
    position: absolute;
    margin: 0 auto;
    top: 70px;
    width: 100%;
    padding: 0 25px;
}

/* ハンバーガーメニューを出したときの黒背景(半透明) */
.black-background {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background-color: #000;
    visibility: hidden;
    transition: all 0.6s;
    cursor: pointer;
    opacity: 0.5;
}

/* 表示された時用のCSS */
.menu-open .hamburger-menu{
    top: 10px;
}
.menu-open .black-background{
    visibility: visible;
}


/* アコーディオンメニュー */
.acordion-check{
    display: none;
}
.acordion-label{
    position: relative;
    display: block;
    height: 40px;
    padding: 10px;
    margin-bottom: 5px;
    font-size: 14px;
    font-family : "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    font-weight: bold;
    color: #fff;
    background-color: #51d1de;
}
.acordion-label:hover{
    color: yellow;
    transition: 0.5s ease;
    font-size: 16px;
}
.acordion-open:after{
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    height: 40px;
    box-sizing: border-box;
    padding: 10px 15px;
    content: '\f067';
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
}
.acordion-content{
    display: block;
    height: 0;
    visibility: hidden;
}
.acordion-check:checked + .acordion-label{
    margin-bottom: 0;
}
.acordion-check:checked + .acordion-open:after{
    content: '\f068';
}
.acordion-check:checked + .acordion-label + .acordion-content{
    height: fit-content;
    visibility: visible;
    margin-bottom: 5px;
    transition: height 1.0s ease-out;
}
.acordion-content a{
    height: 40px;
    margin-bottom: 1px;
    padding: 13px 8px;
    font-size: 14px;
    color: #51d1de;
    background-color: #fff;
}
