@charset "UTF-8";

/*******************************

 ナビゲーション

 *******************************/

/*ナビゲーションをトップで固定*/
.fixedTop {
    position: fixed;
    width: 100%;
    z-index: 9998;
}

/*ナビが開いたら画面をスクロールしない*/
.bodyfixed {
  position: fixed;
  width: 100%;
  height: 100%;
}

.Menu {
    font-size: 1.4rem;
    top: 0;
    position: fixed;
    width: 100%;
    margin: 0 auto;
    line-height: 1;
    z-index: 9999;
    padding: 0;
}

.Menu.-fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 0;
    height: 60px;
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
}

.Menu__inner {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.Menu__btnContent {
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    z-index: 9999;
}

/* チェックボックスを非表示 */
    /***メニューボタン***/
    /* チェックボックスを非表示 */
    .Menu__check,
    .Menu__btn {
        display: none;
    }
    /* チェックボックスオンの時 */
    html.menu-open,
    body.menu-open {
        height: 100%;
        overflow: hidden;
    }
    .Menu__btn {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 50px;
        height: 50px;
        cursor: pointer;
        z-index: 99;
        background-color: #000;
    }

.Menu__check:checked ~ .Menu__btn{
        background-color: #000;}

    .Menu__bar {
        position: absolute;
        top: 16px;
        left: 0;
        right: 0;
        display: block;
        width: 24px;
        height: 2px;
        margin: auto;
        background: #fff;
        transition: all .5s;
        transform-origin: left top;
    }

    .Menu__bar.-middle {
        top: 23px;
        opacity: 1;
    }

    .Menu__bar.-bottom {
        top: 30px;
        transform-origin: left bottom;
    }
    .Menu__check:checked ~ .Menu__btn .Menu__bar.-top {
        left: 10px;
        transform: rotate(45deg);
    }

    .Menu__check:checked ~ .Menu__btn .Menu__bar.-middle {
        opacity: 0;
    }

    .Menu__check:checked ~ .Menu__btn .Menu__bar.-bottom {
        top: 32px;
        left: 10px;
        transform: rotate(-45deg);
    }


.Menu__content {
    display: none;
    padding-left: 0;
    margin: 0;
    padding-top: 50px;
    width: 100%;
    height:auto;
    table-layout: fixed;
    background: linear-gradient(180deg,#fff 0%,#fff 50px,rgba(0,0,0,0.5) 50px,rgba(0,0,0,0.5) 100%);

height:100vh;
max-height:100vh;
    overflow-x: hidden;
    overflow-y:auto;
  -webkit-overflow-scrolling:touch;

-o-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}

.Menu__item {
    width: 100%;
    float: none;
    display: block;
    position: relative;
    text-align: left;
    vertical-align: middle;
}

/*iphone時、上下のバーのための記述*/
.Menu__item:nth-last-child(1) {
    border-bottom: 1px solid #87c4ee;
    margin-bottom: 100px;
}

.Menu__link {
    position: relative;
    display: block;
    height: 100%;
    background: #00a0e9;
    color: #fff;
    z-index: 2;
    width: 100%;
    padding: 25px 5%;
    text-decoration: none;
    border-top: 1px solid #87c4ee;
    letter-spacing: .05em;
}



/* 600px〜959px：タブレット
------------------------------ */
@media screen and (min-width:600px) {

.Menu__content {
    height:auto;
}

/*iphone時、上下のバーのための記述*/
.Menu__item:nth-last-child(1) {
    margin-bottom: 0;
}

.Menu__link {
    font-size: 1.6rem;
    padding: 30px 5%;
}

}

/* 960px〜1279px：小型PC
------------------------------ */
@media screen and (min-width:960px) {
.Menu {
    background: #0086cd;
}

.Menu__inner {
    margin: 0 auto;
}

.Menu__content {
    padding-top: 0;
    width: 100%;
    background: none;
}

.Menu__btn {
        top: 100px;
        right: 120px;
        background-color: #fff;
    }

    .Menu__check:checked ~ .Menu__btn{
        background-color: #fff;}

    .Menu__bar {
        top: 0;
        left: 0;
        right: 0;
        width: 45px;
        height: 2px;
        background: #000;
    }

    .Menu__bar.-middle {
        top: 12px;
    }

    .Menu__bar.-bottom {
        top: 24px;
    }

    .Menu__barTxt{display: block;}

    .Menu__barTxt::before{
        position: absolute;
        width: 100%;
        bottom: 0;
        display: block;
        text-align: center;
    content: 'MENU';}


    .Menu__check:checked ~ .Menu__btn .Menu__barTxt::before{
    content: 'CLOSE';}

.Menu__list {
    width: 100%;
    height: auto;
    padding: 0;
    overflow-y: visible;
    height: auto;
    max-height: auto;
    background: none;
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
}

.Menu__item {
    position: relative;
    width: 14.2%;
    height: 100%;
    text-align: center;
    cursor: pointer;
}

/*iphone時、上下のバーのための記述*/
.Menu__item:nth-last-child(1) {
    border-bottom: none;
}

.Menu__link {
    display: flex;
    font-size: 1.6rem;
    letter-spacing: .15em;
    font-weight: bold;
    padding: 0;
        height: 55px;
    border-top: none;
    background: none;
    color: #fff;
    border-right: 1px solid #fff;
  align-items: center;
  justify-content: center;
}

.Menu__item:nth-child(1) > a{
    border-left: 1px solid #fff;
}

.Menu__link:hover {
    color: #fff;
    font-weight: normal;
    background: none;
    border-top: none;
}

/*ホバーアニメーション*/
.Menu__link:after {
    content: '';
    position: absolute;
    display: block;
    width: 40%;
    height: 3px;
    background: #fff;
    left: 0;
    right: 0;
    bottom: 3px;
    margin: 0 auto;
    opacity: 0.7;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}

.Menu__link:hover:after {
 transform: scale(1, 1);
}

}


/*******************************

ナビ内で プルダウンメニューを開閉する

 *******************************/

.Menu__innerList {
    display: block;
    padding: 0;
    background: #00a0e9;
}
.Menu__item .Menu__innerList {
    position: relative;
    overflow: visible;
}

.Menu__list02 {
    padding: 0 0 10px 0;
}

.Menu__link02 {
    display: block;
    width: 100%;
    padding: 10px 8%;
    text-align: left;
    color: #fff;
}

.Menu__link02:before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 5px;
}

.Menu__item02:nth-child(1) a {
    padding-top: 0;
}

.Menu__link02:hover {
    text-decoration: none;
}


/* 960px〜1279px：小型PC
------------------------------ */

@media screen and (min-width:960px) {
    .Menu__item:hover .Menu__innerList {
        max-height: 9999px;
        display: block;
    }

    .Menu__innerList {
        max-height: 0;
        display: none;
        overflow: hidden;
        width: 100%;
        position: absolute;
        top: 0px;
        left: 0;
        transition: all .2s ease-in;
        z-index: 99;
        padding: 0 0 0 0;
        -webkit-filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.3));
        filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.3));
    }

    .Menu__list02 {
        width: 100%;
        justify-content: center;
        padding: 10px 30px;
        background: #fff;
    }

    .Menu__link02 {
        white-space: nowrap;
        padding: 10px 0;
        color: inherit;
    }

    .Menu__link02:before {
        color:#00a0e9;
}

    .Menu__item02:nth-child(1) a {
        padding: 10px 0;
}

    .Menu__link02:hover {
        color:#00a0e9;
    }
}
