@charset "utf-8";

/* 全体レイアウト */
nav{
    width: 100%;
    height: 45px;
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
}
.drawer{
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    flex-direction: row;
    align-items: center;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    position: relative;
    padding: 7.5px 1em;
}

/* トグル部分 */
.navbar-toggle{
    z-index:9999;
    padding: 7.5px;
    line-height: 1.0;
}
.navbar-toggle-icon {
    position: relative;
    display: block;
    height: 1px;
    width: 16px;
    background: #3A3A3A;;
    -webkit-transition: ease .5s;
    transition: ease .5s;
}
.navbar-toggle-icon:nth-child(1) {
    top: 0;
}
.navbar-toggle-icon:nth-child(2) {
    margin: 6px 0;
}
.navbar-toggle-icon:nth-child(3) {
    top: 0;
}
/*OPEN時の動き*/
.navbar-toggle.open .navbar-toggle-icon:nth-child(1) {
    top: 4px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.navbar-toggle.open .navbar-toggle-icon:nth-child(2) {
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    opacity: 0;
}
.navbar-toggle.open .navbar-toggle-icon:nth-child(3) {
    top: -10px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/* ナビゲーション部分 */
.menu-wrap {
    overflow: hidden;
}

.menu{
    /*-webkit-transform: translateX(100%);
    transform: translateX(100%);*/
    -webkit-transition:ease .5s;
    transition:ease .5s;
    z-index:1000;
    background: #fff;
    width: 100%;
    height: 100vh;
    -webkit-transform: translate(100%, 0);
    transform: translate(100%, 0);
    position: fixed;
}
.menu ul li{
    padding: 0;
    border-bottom: 1px solid #eee;
    line-height: 1.0;
}
.menu ul li a{
    color: #3A3A3A;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: all .4s;
    font-size: 80%;
}
.menu ul li a:hover {
    color: #999;
}

/* OPEN時の動き */
.menu.open {
    /*-webkit-transform:translateX(0);
    transform:translateX(0);*/
    -webkit-transform: translate(0);
    transform: translate(0);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.scroll {
    overflow-y: scroll;
}

.hidden {
    overflow-y: hidden;
}

@media screen and (min-width: 375px) {
    .menu ul li a{
        padding: 10px 0;
    }
}


@media screen and (min-width: 480px) {
    .menu ul li a{
        padding: 12px 0;
    }
}

@media screen and (min-width: 641px) {
    nav{
        display: flex;
        display: -webkit-box;
        display: -webkit-flex;
        flex-direction: row;
        align-items: center;
        background: #F6F6F6;
        position: relative;
        height: 64px;
    }
    .drawer{
        display: none;
    }
    .navbar-toggle{
        display: none;
    }
    .menu-wrap {
        width: 96%; /*90%;*/ /* 20220128 taira change */
        margin: 0 auto;
    }
    .menu{
        height: auto;
        -webkit-transform: translateX(0);
        transform: translateX(0);
        background: transparent;
        position: relative;
    }
    .menu ul {
        display: flex;
        display: -webkit-box;
        display: -webkit-flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .menu ul li {
        border-bottom: none;
        line-height: 2.625;
        display: flex;
        display: -webkit-box;
        display: -webkit-flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        align-items: center;
        flex: 0.8 1 auto;
        padding: 0;
    }
    /* .menu ul li:not(:nth-child(6)):after { */ /* 20220128 taira commentout */
    .menu ul li:not(:nth-child(7)):after {  /* 20220128 taira add */
            content: "";
        border-left: 1px solid #D6D6D6;
        height: 40px;
        margin: auto;
        display: block;
    }
    /* 20220128 taira commentout start */
    /* .menu ul li:nth-child(6) {
        flex: 1;
    }
    .menu ul li:nth-child(7) {
        display: none;
    } */    
    /* 20220128 taira commentout end */
    .menu ul li:nth-child(8) {
        display: none;
    }
    .menu ul li:nth-child(9) {
        display: none;
    }
    /* 20220128 taira add start */
    .menu ul li:nth-child(10) {
        display: none;
    }
    /* 20220128 taira add end */
    .menu ul li:last-child {
        display: none;
    }
}

@media screen and (min-width: 767px) {
    .menu-wrap {
        width: 96%;
        font-size: 12px;
    }
    .menu ul li a {
        font-size: 100%;
    }
}

@media screen and (min-width: 1023px) {
    .menu-wrap {
        max-width: 900px;
        width: 100%;
        font-size: 14px;
    }
    .menu ul li {
        flex: 1 1 auto;
    }
}

@media screen and (min-width: 1280px) {
    .menu-wrap {
        max-width: 1000px;
        font-size: 16px;
    }
}