#navwidth {
    width: 95%;
    justify-content: right;
    display: flex;
}

#ul1 {
    display: flex;
    font-family: "Lora", serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.1em;
    font-size: 18px;
    z-index: 1;
    margin-top: 45px;
}

#ul1 li,
#ul1 a {
    color: inherit;
}

.white-theme {
    color: white;
}

.black-theme {
    color: black;
}

.whiteback-theme {
    background-color: white;
}

.blackback-theme {
    background-color: black;
}

.ul1-li {
    margin-right: 50px;
}

#nav-container li:hover {
    opacity: 0.5;
}

@media screen and (min-width: 764px) {
    #g-nav {
        display: none;
    }
}


/*ここからスマホハンバーガー*/
@media screen and (max-width: 764px) {
    #logo {
        width: 37px;
        height: 37px;
        margin-top: 18px;
    }

    #ul1 {
        display: none;
    }

    /*========= ナビゲーションのためのCSS ===============*/
    #g-nav {
        /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
        position: fixed;
        z-index: -1;
        opacity: 0;
        /*はじめは透過0*/
        /*ナビの位置と形状*/
        top: 0;
        width: 100%;
        height: 100vh;
        /*ナビの高さ*/
        background: rgba(50, 62, 102, 0.9);
        /*動き*/
        transition: all 0.3s;
    }

    /*アクティブクラスがついたら透過なしにして最前面へ*/
    #g-nav.panelactive {
        opacity: 1;
        z-index: 999;
    }

    /*ナビゲーション*/
    #g-nav ul {
        display: none;
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #g-nav.panelactive ul {
        display: block;
    }

    /*リストのレイアウト設定*/

    #g-nav li {
        list-style: none;
        margin-top: 30px;
        text-align: center;
        font-family: "Lora", serif;
        font-weight: 400;
        letter-spacing: 0.1em;
        font-size: 32px;
    }

    #g-nav li a {
        color: white;
        text-decoration: none;
        padding: 10px;
        display: block;
    }

    /*========= ボタンのためのCSS ===============*/
    .openbtn {
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 13px;
        right: 10px;
        cursor: pointer;
        width: 60px;
        height: 60px;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 2px;
        border-radius: 2px;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }
}

/*ここまでスマホハンバーガー*/





.container {
    width: 80%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 100px 20px;
    background-color: #fff;
}

h1 {
    font-family: "Lora", serif;
    font-size: 40px;
    font-weight: 200;
    margin-bottom: 2.5rem;
    text-align: center;
    padding-bottom: 2.5rem;
}

.container-h2 {
    font-size: 32px;
    margin-top: 3rem;
    margin-bottom: 0.5rem;
}

.container p {
    margin: 0.1rem 0;
}

@media (max-width: 764px) {
    h1 {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        margin-bottom: 0rem;
        padding-bottom: 0rem;
        font-size: 24px;
    }

    .container-h2 {
        font-size: 18px;
    }

    .container p {
        font-size: 13px;
    }
}