@charset "utf-8";
/*************************************************
  全体の設定
*************************************************/
* {
    box-sizing:border-box;
}

body {
    background-color: #fff;
    color: #333;
    letter-spacing: 0.1em;
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
}

/*************************************************
  PCの記述開始
*************************************************/

/*======= テキストスタイル =======*/
h2 {
    font-size: 38px;
    font-family: 'Lato', sans-serif;
    margin-bottom: 40px;
    text-align: center;
}

h3 {
    font-size: 18px;
    font-family: 'Lato', sans-serif;
    margin-bottom: 50px;
    text-align: center;
}

/*======= ページレイアウトの左右マージン =======*/
section {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}
    
/*======= ヘッダー =======*/
.gnav {
    /*↓h1とulを上下左右中央で横並びにする*/
    display: flex;
    justify-content: center;
    align-items: center;
    /*↓gnavをページ上部に固定*/
    position: fixed;
    width: 100%;
    padding: 35px;
    top: 0;
    background: rgba(255,255,255,0.8);
    z-index: 9999;
} 

    /*メニューリスト*/
        .pc-menu {
            /*↓ul内のliを横並びに*/
            display: flex;
            /*↓gnav内のulのみ右寄せで固定*/
            position: absolute;
            right: 0;
        }

        .pc-menu li {
            margin-left: 30px;
        }

        .pc-menu li:first-child {
            margin-left: 0;
        }

        .pc-menu li:last-child {
            margin-right: 5.5vw;
        }

        .sp-menu {
            display: none;
        }


/*======= フッター =======*/
footer {
    background-color: #fff;
    text-align: center;
}

.pc {
    display: block;
    margin: 0 auto;
}

.sp {
    display: none;
}

.copyright {
    width: 100%;
    height: 120px;
    padding: 52px 0;
    background-color: #B1D2AA;
    color: #fff;
    font-size: 12px;
}

/*************************************************
  PCの記述終了
*************************************************/


/*************************************************
  TABの記述開始
*************************************************/
@media screen and (max-width: 960px) {
/*======= テキストスタイル =======*/
h2 {
    font-size: 38px;
    font-family: 'Lato', sans-serif;
    margin-bottom: 50px;
    text-align: center;
}
    
h3 {
    font-size: 18px;
    font-family: 'Lato', sans-serif;
    margin-bottom: 50px;
    text-align: center;
}

/*======= ページレイアウトの左右マージン =======*/
section {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}
    
/*======= ヘッダー =======*/
.gnav {
    /*↓h1とulを上下左右中央で横並びにする*/
    display: flex;
    justify-content: center;
    align-items: center;
    /*↓gnavをページ上部に固定*/
    position: fixed;
    width: 100%;
    padding: 35px;
    top: 0;
    background: rgba(255,255,255,0.8);
    z-index: 9999;
} 

    /*メニューリスト*/
        .pc-menu {
            /*↓ul内のliを横並びに*/
            display: flex;
            /*↓gnav内のulのみ右寄せで固定*/
            position: absolute;
            right: 0;
        }

        .pc-menu li {
            margin-left: 20px;
        }

        .pc-menu li:first-child {
            margin-left: 0;
        }

        .pc-menu li:last-child {
            margin-right: 5.5vw;
        }

/*======= フッター =======*/
footer {
    background-color: #fff;
    text-align: center;
}

.copyright {
    width: 100%;
    height: 120px;
    padding: 52px 0;
    background-color: #B1D2AA;
    color: #fff;
    font-size: 12px;
}

}

/*************************************************
  TABの記述終了
*************************************************/

/*************************************************
  SPの記述開始
*************************************************/
@media screen and (max-width:768px) {
/*======= テキストスタイル =======*/
h2 {
    font-size: 38px;
    font-family: 'Lato', sans-serif;
    margin-bottom: 30px;
    text-align: center;
}
    
h3 {
    font-size: 18pxpx;
    font-family: 'Lato', sans-serif;
    margin-bottom: 30px;
    text-align: center;    
}

/*======= ページレイアウトの左右マージン =======*/
section {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

/*======= ヘッダー =======*/
/*ロゴ*/
.logo {
    text-align: center;
}

.logo img {
    width: 40%;
}


.gnav {
    padding: 20px;
}

/*pc-menuを非表示*/
.pc-menu {
    display: none;
}

/*ハンバーガーメニュー*/
    /*ボタン*/
    .hamburger {
        position: absolute;
        right: 14px;
        top: 26px;
        width: 40px;
        height: 40px;
        cursor: pointer;
        z-index: 300;
    }
    
    /*展開前の3本線*/
    .hamburger-line {
        position: absolute;
        left: 15px;
        width: 18px;
        height: 1px;
        background-color: #333;
        transition: all .6s;
    }
    
    .hamburger-line01 {
        top: 14px;
    }
    
    .hamburger-line02 {
        top: 20px;
    }
    
    .hamburger-line03 {
        top: 26px;
    }
    
    /*展開後の3本線*/
    .nav-open .hamburger-line01 {
        transform: rotate(45deg);
        top: 20px;
    }
    
    .nav-open .hamburger-line02 {
        width: 0;
        left: 50%;
    }
    
    .nav-open .hamburger-line03 {
        transform: rotate(-45deg);
        top: 20px ;
    }
    
    /*展開後のメニューリスト*/
    .sp-menu {
        position: fixed;
        right: -480px;
        top: 0;
        width: 300px;
        height: 100vh;
        padding-top: 60px;
        background-color: #fff;
        transition: all .6s;
        z-index: 200;
        overflow-y: auto;
        display: block;
    }
    
    .sp-menu li {
        text-align: center;
        font-size: 16px;
    }
    
    .sp-menu li a {
        display: block;
        padding: 20px 0;
    }
    
    /*展開前のメニューリスト*/
    .nav-open .sp-menu {
        right: 0;
    }
    
    /*展開後の背景*/
    .black-bg {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        z-index: 1;
        background-color: #000;
        opacity: 0;
        visibility: hidden;
        transition: all .6s;
        cursor: pointer;
    }
    
    .nav-open .black-bg {
        opacity: 0.7;
        visibility: visible;
    }
    
/*======= フッター =======*/
.pc {
    display: none;
}

.sp {
    display: block;
}

.copyright {
    width: 100%;
    height: 120px;
    padding: 52px 0;
    background-color: #B1D2AA;
    color: #fff;
    font-size: 16px;
}

}

/*************************************************
  SPの記述終了
*************************************************/