@charset "UTF-8";
.lect_logo {
    text-align: left;
    padding: 20px;
}

a:hover {
    opacity: 0.7;
}


/*========= ナビゲーションのためのCSS ===============*/

#g-nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: 0;
    right: -120%;
    width: 30%;
    height: 100vh;
    /*ナビの高さ*/
    background: #80B45F;
    /*動き*/
    transition: all 0.6s;
}


/*アクティブクラスがついたら位置を0に*/

#g-nav.panelactive {
    right: 0;
}


/*ナビゲーションの縦スクロール*/

#g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 30%;
    padding-left: 20px;
    height: 100%;
    /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}


/*ナビゲーション*/

#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 50%;
    margin: auto;
    height: 70%;
    transform: translate(0, -50%);
}


/*リストのレイアウト設定*/

#g-nav li {
    list-style: none;
    text-align: center;
}

#g-nav li a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: none;
    letter-spacing: 0.1em;
    font-weight: bold;
    text-align: left;
}


/*========= ボタンのためのCSS ===============*/

.openbtn {
    position: absolute;
    z-index: 9999;
    /*ボタンを最前面に*/
    top: 0;
    right: 10px;
    cursor: pointer;
    width: 70px;
    height: 70px;
}


/*×に変化*/

.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 18px;
    height: 4px;
    border-radius: 2px;
    background-color: #573028;
    width: 55%;
}

.openbtn span:nth-of-type(1) {
    top: 30px;
}

.openbtn span:nth-of-type(2) {
    top: 38px;
}

.openbtn span:nth-of-type(3) {
    top: 46px;
}

.openbtn.active span:nth-of-type(1) {
    top: 28px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 55%;
}

.openbtn.active {
    position: fixed;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 40px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 55%;
}

.ttl_img {
    margin: auto;
    padding-top: 10%;
    text-align: center;
    width: 80%;
}

.recommend_inner {
    max-width: 100%;
    margin: auto;
    width: 100%;
    padding-bottom: 100px;
}

b,
strong {
    font-weight: bold;
}

* {
    box-sizing: border-box;
}

ul.gnav-navi-1 {
    background: #ffffff;
    padding: 0;
    text-align: center;
    padding: 40px 0;
}

ul.gnav-navi-1 li {
    display: inline-block;
}

ul.gnav-navi-1 li a {
    display: block;
    padding: 0 70px;
    color: #1754A2;
    position: relative;
    text-decoration: none;
    /*デフォルトで下線を非表示*/
}

ul.gnav-navi-1 li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left: 15%;
    /*線の形状*/
    width: 70%;
    height: 3px;
    background: #6CD0FB;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);
    /*X方向0、Y方向1*/
    transform-origin: left top;
    /*左上基点*/
}

ul.gnav-navi-1 li a:hover::after {
    transform: scale(1, 1);
    /*幅を1に*/
}

ul.gnav-navi-1 a::first-line {
    font-size: 24px;
    font-weight: bold;
}

.gnav-navi-1 li {
    border-left: 3px solid #1754A2;
    border-right: 3px solid #1754A2;
}

.gnav-navi-1 li+li {
    border-left: 0;
    border-right: 3px solid #1754A2;
}

@media screen and (max-width: 700px) {
    .lect_logo img {
        width: 100px;
    }
    .openbtn {
        top: 0px;
    }
    #g-nav {
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top: 0;
        right: -120%;
        width: 90%;
        height: 100vh;
        /*ナビの高さ*/
        /*動き*/
        transition: all 0.6s;
    }
    #g-nav ul {
        top: 10%;
        transform: translate(0);
    }
    /*アクティブクラスがついたら位置を0に*/
    #g-nav.panelactive {
        right: 0;
    }
    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 90vh;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    .button span {
        display: initial;
    }
    .button--icon {
        min-width: initial;
        padding: 0.5rem;
    }
}