@charset "utf-8";
*, ::before, ::after {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top:80px; 
}
img {
    vertical-align: bottom;
    margin-bottom: 4rem;
}
main img {
    width: 100%;
    height: auto;
}
body {
    background-color: #EFFFEF;
    color: #2f4f4f;
    font-family: sans-serif;
    font-size: 2.4rem;
    line-height: 1.7;
}
.container {
    margin: 0 auto;
    max-width: 640px;
    padding-top: 66px;
}
.logo {
    font-size: 36px;
    font-weight: normal;
    line-height: 1;
    display: flex;
    align-items: center;
}
.logo a {
    color: #fff;
    text-decoration: none;
}
.logo img {
    width: 1.8em;
    margin-right: 10px;
    vertical-align: middle;
    margin-left: 10px;
    margin-bottom: 0px;
    color: #fff;
}
header {
    width: 100%;
    max-width: 640px;
    position: fixed;
    top: 0px;
    display: flex;
    align-items: center;
    background-color: #006400;
    border-bottom: 1px solid #2f4f4f;
    padding: 1rem 0;
    z-index: 1;
}
header h1 {
    color: #fff;
}

nav {
    width: calc((100% - 640px) / 2);
    height: calc(100% - 80px);
    position: fixed;
    top: 70px;
    right: 0px;
}
nav ul {
    font-size: 16px;
    display: inline-block;
    list-style-type: none;
    height: 100%;
    overflow: auto;
}
nav a {
    display: block;
    color: #2f4f4f;
    padding: 10px 20px;
    text-decoration: none;
    line-height: 1.3;
}
nav a:hover {
    background-color: #8c974c;
    color: #fff;
    font-weight: bold;
}
.mainimage {
    margin-bottom: 5rem;
}
.banner01 {
    position: fixed;
    right: calc((100% - 640px) / 2 - 200px);
    top: 500px;
}
.banner02 {
    margin: 3rem 0;
}

section {
    padding-top: 8rem;
    padding-right: 2rem;
    padding-left: 2rem;
    padding-bottom: 0;
    position: relative;
    background-image: url(img/bg-section.jpg);
    background-repeat: repeat-y;
    background-size: 100% auto;
    margin-bottom: 5rem;
    z-index: 0;
}
.news ul {
    list-style-type: none;
}
section h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    line-height: 1;
}
section h2::before{
    content: attr(data-english);
    font-size: 8rem;
    font-style: italic;
    color: #8c947c;
    position: absolute;
    right: 0px;
    left: 0px;
    bottom: 0px;
    z-index: -1;
    opacity: 0.5;
}
section figure {
    margin-top: 0.1rem;
    margin-right: -2rem;
    margin-left: -2rem;
}
.map {
    margin: 2rem -2rem;
}
main iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 5/4;
}


footer {
    background-color: #006400;
    padding-top: 4rem;
    padding-right: 2rem;
    padding-left: 2rem;
    padding-bottom: 8rem;
    color: #fff;
}
.copyright {
    font-size: 2rem;
    padding: 1rem 0;
    text-align: center;
}
.pagetop {
    width: 100%;
    position: fixed;
    left: 0px;
    bottom: 10px;
}
.pagetop a {
    background-color: #777;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: calc(100% - 4rem);
    margin: 0 auto;
    border-radius: 30px;
    max-width: 600px;
    opacity: 0.8;
}
.bg {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

@media (max-width:1000px){
.nav-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
    margin-left: auto;
    border: 3px solid #fff;
    margin-right: 10px;
}
.nav-button span {
    width: 20px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 8px;
    transition: 1s;
}
.nav-button span:nth-child(1) {
    top: 9px;
}
.nav-button span:nth-child(2) {
    top: 17px;
}
.nav-button span:nth-child(3) {
    top: 25px;
}
nav {
    width: 100%;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
}
nav ul {
    background-color: #fff;
    display: block;
    margin: 0 auto;
    /* [disabled]padding-top: 3rem; */
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 5rem;
    max-width: 640px;
    font-size: 24px;
    text-align: center;
}
.banner01 {
    left: 38%;
    z-index: 1;
    top: 60rem;
    display: none;
}
.open nav {
    opacity: 1;
    visibility: visible;
}
.open .nav-button span:nth-child(1) {
    top: 17px;
    transform: rotate(315deg);
}
.open .nav-button span:nth-child(2) {
    width: 0px;
    left: 50%;
}
.open .nav-button span:nth-child(3) {
    top: 17px;
    transform: rotate(-315deg);
}









}

@media (max-width:640px){
html {
    font-size: 1.56vw;
}

}
