@font-face {
    font-family: "SourceHanSansJPB";
    src: url("../font/SourceHanSansJP-Bold.otf");
}

@font-face {
    font-family: "SourceHanSansJPM";
    src: url("../font/SourceHanSansJP-Medium.otf");
}

@font-face {
    font-family: "SourceHanSansJPR";
    src: url("../font/SourceHanSansJP-Regular.otf");
}

@font-face {
    font-family: "GenEiNuGothicEB";
    src: url("../font/GenEiNuGothic-EB.ttf");
}

@font-face {
    font-family: "Arial";
    src: url("../font/Arial.ttf");
}

*, *::after, *::before {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "YuMinchoPr6N";
    font-weight: normal;
    color: #4E4E4E;
    line-height: 1.2;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    padding: 0;
    margin: 0;
    font-size: inherit;
    font-weight: normal;
    line-height: 1.2;
}

p {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    cursor: pointer!important;
}

button {
    outline: none;
    border: none;
}

input {
    outline: none;
    border: none;
}

button:hover {
    cursor: pointer;
    outline: none;
}

.container {
    max-width: 1080px;
    margin: auto;
}

section {
    scroll-margin-top: 90px;
}

header {
    width: 100%;
    height: 85px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 120px;
    background-color: #5AC593;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navmenu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.navmenu a {
    margin-left: 40px;
    font-family: "GenEiNuGothicEB";
    font-size: 16px;
    color: #fff;
    position: relative;
}

.navmenu a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    width: 100%;
    max-width: unset;
    height: 3px;
    background-color: #fff;
    left: 50%;
    transform: translateX(-50%) scale(0, 1);
    -webkit-transform: translateX(-50%) scale(0, 1);
    -moz-transform: translateX(-50%) scale(0, 1);
    -ms-transform: translateX(-50%) scale(0, 1);
    -o-transform: translateX(-50%) scale(0, 1);
    transform-origin: 0%;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
}

.navmenu a:hover::after {
    transform: translateX(-50%) scale(1, 1);
    -webkit-transform: translateX(-50%) scale(1, 1);
    -moz-transform: translateX(-50%) scale(1, 1);
    -ms-transform: translateX(-50%) scale(1, 1);
    -o-transform: translateX(-50%) scale(1, 1);
}

.dropdown-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    background-color: rgba(0,0,0,.6);
    display: none;
    transition: all .5s ease-in-out;
}

.dropdown-content {
    width: 50vw;
    height: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 100px 40px;
    position: relative;
    float: right;
}

.dropdown-content a {
    font-size: 16px;
    font-family: "GenEiNuGothicEB";
    margin-bottom: 40px;
}

.close {
    position: absolute;
    width: 40px;
    left: 20px;
    top: 20px;
    cursor: pointer;
}

.show {
    display: block;
}

.animated {
    animation: slideInRight .5s ease-in-out
}

@keyframes slideInRight {
    0% {
        transform: translate3d(100%,0,0);
        visibility: visible;
    }
    100% {
        transform: translateZ(0);
    }
}

.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 50px;
    height: 40px;
}

.menu-btn span {
    width: 100%;
    height: 5px;
    background-color: #fff;
}

section h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "GenEiNuGothicEB";
    font-size: 28px;
    text-shadow: 0px 2px 6px rgba(255, 255, 255, 0.98);
}

#top {
    background: url("../image/top-bg.jpg") no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    padding: 85px 40px 0;
}

#top .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.top-title {
    margin-bottom: 80px;
}

.top-btn {
    width: 530px;
    height: 77px;
    border-radius: 30px;
    background: #2aaf7d;
    border: 4px solid #31926e;
    box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .2s ease-in-out;
}

.top-btn:hover {
    transform: translateY(2px);
}

.top-btn img {
    width: 35px;
    height: auto;
    margin-right: 15px;
}

.top-btn span {
    font-family: "SourceHanSansJPB";
    font-size: 25px;
    color: #fff;
}

.sp {
    display: none;
}

#about {
    padding: 0 40px;
    margin-top: 20px;
}

#about .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url("../image/about-bg.png") no-repeat;
    background-position: center;
    background-size: cover;
    padding: 140px 0;
}

.about-content {
    font-family: "SourceHanSansJPM";
    font-size: 18px;
    line-height: 33px;
    text-shadow: 0px 4px 4px #fff;
    margin-top: 70px;
    text-align: center;
}

.about-img {
    max-width: 1080px;
    margin: -150px auto 0;
}

.about-img img {
    width: 100%;
    height: auto;
}

#topic {
    padding: 90px 40px;
    background-color: #F2FFF3;
}

#topic .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.topic-body {
    width: 100%;
}

.topic-content {
    font-family: "SourceHanSansJPR";
    font-size: 18px;
    line-height: 33px;
    text-align: center;
    margin: 25px auto 30px;
}

.topic-part {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topic-item {
    width: 23%;
    border-radius: 20px 10px;
    background: #fff;
    border: 3px solid #b1ffe7;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 230px;
}

.topic-item span {
    font-family: "GenEiNuGothicEB";
    font-size: 20px;
    text-align: center;
}

.topic-item img {
    margin-bottom: 25px;
}

#sample {
    padding: 70px 40px;
}

#sample .container {
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sample-body {
    width: 100%;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sample-img-part {
    width: 100%;
}

.sample-img {
    width: 100%;
    height: auto;
    margin-bottom: 100px;
}

footer {
    width: 100%;
    padding: 35px 40px;
    background-color: #5AC593;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-menu a {
    font-family: "Arial";
    font-size: 22px;
    line-height: 33px;
    text-align: center;
    color: #fff;
}

.footer-menu span {
    height: 22px;
    border-left: 2px solid #fff;
    margin: 20px 10px;
}

.copyright {
    font-family: "Arial";
    font-size: 18px;
    line-height: 33px;
    text-align: center;
    color: #fff;
}

@media(max-width: 1280px) {
    header {
        padding: 0 60px;
    }

    .top-title {
        width: 100%;
    }
}

@media(max-width: 1000px) {
    header {
        padding: 0 40px;
    }
}

@media(max-width: 800px) {
    header {
        padding: 0 20px;
    }

    .header-logo {
        height: 100%;
        display: flex;
        align-items: center;
    }

    .header-logo a {
        height: 100%;
        display: flex;
        align-items: center;
    }

    .header-logo a img {
        height: 60%;
    }

    .navmenu {
        display: none;
    }

    .menu-btn {
        display: flex;
    }

    .topic-part {
        flex-direction: column;
        align-items: center;
    }

    .topic-item {
        width: 100%;
        margin-bottom: 40px;
    }

    .topic-item:last-child {
        margin-bottom: 0;
    }

    #sample .container {
        padding: 0;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }
}

@media(max-width: 600px) {
    .top-btn {
        width: 100%;
    }

    .top-btn span {
        font-size: 22px;
    }

    .top-btn img {
        width: 30px;
        margin-right: 10px;
    }

    .footer-logo {
        width: 100%;
    }

    .footer-logo img {
        width: 100%;
        height: auto;
    }
}

@media(max-width: 450px) {
    .dropdown-content {
        width: 80vw;
    }

    #top {
        padding: 85px 20px 0;
    }

    .top-btn {
        height: 65px;
    }

    .top-btn span {
        font-size: 20px;
    }

    #about {
        padding: 0 20px;
    }

    section h2 {
        font-size: 26px;
    }

    #topic {
        padding: 80px 20px;
    }

    #sample {
        padding: 60px 20px;
    }

    footer {
        padding: 35px 20px;
    }

    .footer-menu a {
        font-size: 20px;
    }

    .dropdown-content {
        padding: 100px 20px;
    }
}

@media(max-width: 400px) {
    .top-btn span {
        font-size: 18px;
    }

    section h2 {
        font-size: 23px;
    }
}