body {
    font-family: serif;
}

.back {
    background-color: #ffffff;
    margin: 1%;
    padding: 2%;
}

/* メニュー*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    background-color: #008000;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    color: #ffffff;
    font-size: 22px;
    margin-left: 20px;
    flex: 1;
}

.logo a {
    color: #ffffff;
    text-decoration: none;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    width: 38%;
    transition: all 0.5s ease-in-out;
}

.nav-links li {
    list-style: none;
    margin: auto;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px;
    transition: all 0.4s ease-in-out;
}

.nav-active {
    transform: translateX(0%) !important;
}

@media screen and (max-width: 1024px) {
    .nav-links {
        width: 55%;
    }
}

@media screen and (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: #008000;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
    }
}

@keyframes navLinksFade {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links li:nth-child(5) a{
    color: #66FF66;
}

.nav-links li a:hover {
    color: #66FF66;
}
/* ここまでメニュー */

h1 {
    margin-top: 90px;
    text-align: center;
}

.way{
    text-align: center;
}

.yousi{
    text-align: center;
}

h2 {
    border: #008000 solid;
    border-width: 0 0 3px 5px;
    padding-left: 7px;
    margin-left: 10px;
    margin-top: 20px;
}

.guide {
    text-align: center;
    margin-top: 70px;
    font-size: 20px;
    line-height: 1.6;
}


.contact{
    font-size: 30px;
    text-align: center;
    margin-top: 20px;
}

.address{
    font-size: 25px;
    margin-top: 40px;
    margin-left: 50px;
}

/* スクロールボタン */
.scroll-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #006400;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    z-index: 1000;
}

/*ここまでスクロールボタン */