@charset "utf-8";
/* CSS Document */

.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
}

#nav-toggle {
    position: fixed;
    position: absolute;
    top: 22px;
    right: 2.5%;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
}

#nav-toggle div {
    position: relative;
}

#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #666;
    left: 0;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}
#nav-toggle span:nth-child(1) {
    top: 0;
}
#nav-toggle span:nth-child(2) {
    top: 11px;
}
#nav-toggle span:nth-child(3) {
    top: 22px;
}

#nav-toggle.open span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}
#nav-toggle.open span:nth-child(2) {
    width: 0;
    left: 50%;
}
#nav-toggle.open span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.Navi {
    max-width: 960px;
    width: 100%;
    background: #000;
}

.Navi a {
    display: block;
}

.init-bottom{
    color: #fff;
    font-size: 1.6rem;
}

.init-bottom:after {
    display: none;
}

.menu__second-level li{
    line-height: 1.4;
}

@media print, screen and (min-width: 769px) {
    #nav-toggle {
        display: none;
    }

    #globalNavi {
        height: 47px;
        background-color: #000;
    }

    .Navi {
        display: block;
        max-width: 960px;
        margin: 0 auto;
        position: relative;
    }

    .Navi > li span {
        white-space: nowrap;
        display: inline-block;
    }

    .menu__single{
        width: 20%;
        float: left;
        font-size: 1.5rem;
        text-align: center;
        box-sizing: border-box;
        border-right: 1px #fff solid;
    }

    .menu__single:nth-child(1){
        border-left: 1px #fff solid;
    }

    .menu__single:nth-child(2){
        width: 24%;
    }

    .menu__single:nth-child(3),
    .menu__single:nth-child(5){
        width: 18%;
    }

    .menu__multi a {
        color: #fff;
    }

    .init-bottom{
        display: flex!important;
        justify-content: center;
        align-items: center;
        position: relative;
        height: 47px;
    }

    .menu__unfolding {
        position: absolute;
        box-shadow: 0 0 4px rgb(0 0 0 / 30%);
        top: 44px;
        left: 0;
        width: 100%;
        max-width: 960px;
        background: #ffffff;
        visibility: hidden;
        opacity: 1;
        z-index: 1;
    }

    .menu__single:hover > .menu__unfolding{
        margin-top: 2px;
        visibility: visible;
        opacity: 1;
        z-index: 1;
    }

    #globalNavi.fixed .menu__single:hover > .menu__unfolding{
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
    }

    .menu__unfolding a:hover {
        color: #4b87d1;
    }

    .menu__second-level {
        display: flex;
        flex-wrap: wrap;
        padding: 44px;
        text-align: left;
        color: #000;
        background-color: #fff;
    }

    .menu__second-level > li {
        flex-basis: 33%;
    }

    .menu__second-level > li:not(:nth-child(-n + 3)) {
        margin-top: 20px;
    }

    .menu__second-level a {
        padding-left: 30px;
        color: #000;
    }

    .menu__second-level-link {
        position: relative;
        font-weight: bold;
    }

    .menu__second-level-link:before {
        position: absolute;
        top: 2px;
        left: 0;
        content: url(../img/RightToggle.svg);
        display: inline-block;
        width: 10px;
        height: 10px;
    }

    .menu__third-level{
        margin-top: 10px;
    }

    .menu__third-level a {
        position: relative;
        line-height: 1.4;
        font-size: 1.4rem;
    }

    .menu__third-level li:not(:last-of-type) {
        margin-bottom: 0.5em;
    }

    ul.menu__fourth-level {
        visibility: hidden;
        opacity: 0;
    }

    /* 下矢印 */
    .init-bottom span:after {
        content: "";
        display: inline-block;
        position: absolute;
        top: 40%;
        width: 5px;
        height: 5px;
        margin-left: 10px;
        border-right: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    nav.fixed .menu__single:hover > .menu__unfolding,
    .menu__single:hover > .menu__unfolding {
        top: 44px;
        visibility: visible;
        opacity: 1;
    }

    .menu__single > ul li {
        position: relative;
        text-align: left !important;
    }
    .menu__single > ul li a {
        padding: 10px 10px 10px 30px;
        color: #262626;
    }
    .menu__single > ul li a:hover {
        background-color: #d41e18;
        color: #ffffff;
    }

    .menu__single > ul li a::after {
        display: block;
        content: "";
        position: absolute;
        top: 16px;
        margin-left: 25px;
        left: -1em;
        width: 5px;
        height: 5px;
        border-right: 1px solid #262626;
        border-bottom: 1px solid #262626;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .menu__second-level > ul li:hover {
        top: 44px;
        visibility: visible;
        opacity: 1;
    }

    /* menu__Title */
    .menu__Title {
        display: block;
        padding: 44px;
        text-align: left;
        color: #fff;
        font-size: 2.6rem;
        box-sizing: border-box;
    }

    .menu__Title01 {
        background-image: url("../img/MenuMainImage-1.jpg");
        background-size: cover;
        background-position: top right;
    }

    .menu__Title02 {
        background-image: url("../img/MenuMainImage-2.jpg");
        background-size: cover;
        background-position: top right;
    }

    .menu__Title03 {
        background-image: url("../img/MenuMainImage-3.jpg");
        background-size: cover;
        background-position: top right;
    }

    .menu__Title04 {
        background-image: url("../img/MenuMainImage-4.jpg");
        background-size: cover;
        background-position: top right;
    }

    .menu__Title05 {
        background-image: url("../img/MenuMainImage-5.jpg");
        background-size: cover;
        background-position: top right;
    }
}

@media print, screen and (max-width: 768px) {
    body.open{
        overflow: hidden;
    }

    #globalNavi {
        display: none;
        z-index: 300;
        transition: 0.3s;
        width: 100%;
        height: 100vh;
        height: -webkit-fill-available;
        z-index: 100;
        overflow-y: scroll;
        background-color: #000;
    }

    @supports (-webkit-touch-callout: none) {
        #globalNavi {
            height: -webkit-fill-available;
        }
    }      
    
    #globalNavi.open {
        position: fixed;
        top: 66px;
        display: block;
    }

    .init-bottom{
        border-bottom: 1px solid #fff;
        color: #fff;
        pointer-events: none;
        position: relative;
        display: block;
        padding: 14px 4%;
        color: #fff!important;
        cursor: pointer;

    }

    .init-bottom a{
        color: #fff;
    }

    .accordion_header{
        position: relative;
    }

    .accordion_header::after{
        content: "";
        display: inline-block;
        position: absolute;
        top: 24px;
        right: 5%;
        width: 5px;
        height: 5px;
        margin-left: 10px;
        border-right: 2px solid #ccc;
        border-bottom: 2px solid #ccc;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .accordion_header.close::after{
        top: 26px;
        -webkit-transform: rotate(225deg);
        -ms-transform: rotate(225deg);
        transform: rotate(225deg);
    }

    .menu__unfolding{
        display: none;
        background-color: #f7f7f8;
    }

    .menu__unfolding.open{
        display: block;
    }


    .menu__unfolding a{
        color: #000;
    }

    .menu__unfolding li{
        border-top: 1px solid #ababab;
    }

    .menu__Title{
        position: relative;
        height: 50px;
        background-color: #f7f7f8;
    }
    
    .btn__only-sp span{
        position: absolute;
        top: 8.5px;
        right: 2%;
        display: inline-block;
        background-color: #ababab;;
        padding: 4px 10px;
        color: #fff!important;
        font-size: 1.2rem;
    }

    .menu__second-level{
        background-color: #f7f7f8;
    }

    .menu__second-level-link{
        padding: 14px 2.5%;
    }

    .menu__third-level li{
        padding-left: 1em;
        background-color: #fff;
    }

    .menu__third-level a{
        padding: 14px 2.5%;
        line-height: 1.3;
    }

}
