@charset "utf-8";

.u500 {
    display: none;
}

.u768 {
    display: none;
}

@media screen and (max-width: 1800px) {
    #menu {
        left: 4%;
        width: 27%;
        top: 20%;
    }

    .top-title {
        padding-top: 25px;
    }

    .top-subtitle1 {
        margin: 8px auto;
        font-size: 1.1rem;
    }

    .top-subtitle2 {
        margin: 8px auto;
        font-size: 1.3rem;
    }

    #news {
        width: 30%;
        margin-top: 5%;
    }

    #news-list {
        padding-left: 10px;
        max-height: 8vw;
    }

    #block1 {
        height: 64vw;
        background-size: cover;
    }

    #block4::before {
        background-size: 28vw;
        width: 28vw;
    }

    #block4::after {
        background-size: 28vw;
        width: 28vw;
    }

    #footer-main {
        width: 80%;
    }

    header.subpage {
        background: #ECF3D0 url(../img/header-subpage.png) no-repeat bottom 54px left 200px;
        background-size: contain;
    }

    .subpage-section-box {
        width: 90%;
    }
}

@media screen and (max-width: 1280px) {
    .top-title {
        width: auto;
    }

    #block1 {
        height: 1400px;
        animation: bgMove 60s ease-in-out infinite alternate;
    }

    #menu {
        left: calc((100% - 450px)/2);
        width: 450px;
        top: 450px;
    }

    #news {
        width: 600px;
        margin-top: 580px;
    }

    #news-list {
        padding-left: 10px;
        height: 120px;
        max-height: none;
    }

    .block2-title,
    .block3-title,
    .block4-title,
    .block5-title,
    .block6-title {
        width: 80%;
    }

    .block2-text {
        width: 80%;
    }

    .block4-step {
        width: 80%;
    }

    #block4::before {
        z-index: -1;
        background-position: top 50px left;
    }

    #block4::after {
        z-index: -1;
        background-position: top 50px right;
    }

    .block5-text,
    .block6-text {
        width: 80%;
    }

    .block6-destination {
        width: 80%;
    }

    #footer-main {
        flex-direction: column;
        align-items: center;
    }

    #footer-main-left {
        margin-bottom: 30px;
        text-align: center;
    }

    #footer-logo-list {
        justify-content: center;
    }

    #footer-menu {
        width: 100%;
    }

    #footer-menu>li {
        width: 100%;
        margin: 1rem 0;
        text-align: center;
        font-size: 1.2rem;
    }

    #menu-subpage>ul {
        width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    #menu-subpage {
        display: none;
    }

    header.subpage {
        background: #ECF3D0 url(../img/header-subpage.png) no-repeat bottom left 10%;
        background-size: contain;
    }

    .subpage-section-title-en {
        line-height: 3.5rem;
    }

    .subpage-section-title {
        margin-top: 0.7rem;
    }
}

@media screen and (max-width: 768px) {
    .u768 {
        display: inline;
    }

    .humburger-btn {
        position: fixed;
        top: 15px;
        right: 15px;
    }

    .humburger-menu {
        width: 480px;
    }

    .humburger-menu>ul {
        padding: 160px 100px;
    }

    #block1 {
        animation: bgMove 100s ease-in-out infinite alternate;
    }


    .block3-text {
        width: 80%;
    }

    .top-subtitle1,
    .top-subtitle2 {
        width: 100%;
    }

    #news {
        width: 80%;
    }

    .block5-contact-img {
        width: 90%;
        max-width: 500px;
    }

    #block4::before {
        background-position: top 100px left;
    }

    #block4::after {
        background-position: top 100px right;
    }

    .block5-text-center {
        width: 80%;
        margin: auto;
    }

    .block6-destination {
        padding: 30px;
    }
}

@media screen and (max-width: 680px) {
    header.subpage {
        background: #ECF3D0 url(../img/header-subpage.png) no-repeat bottom left -10%;
        background-size: contain;
    }

}

@media screen and (max-width: 500px) {
    .u500 {
        display: inline;
    }

    .o500 {
        display: none;
    }

    header.subpage {
        background: #ECF3D0 url(../img/header-subpage.png) no-repeat bottom left -100px;
        background-size: contain;
        padding-top: 50px;
    }

    .subpage-section-box {
        width: 96%;
    }

    .humburger-menu {
        width: 350px;
    }

    .humburger-menu>ul {
        padding: 120px 50px;
    }

    .top-title>a>img {
        width: 80%;
    }

    #menu {
        width: 90%;
        left: 5%;
        top: calc(152px + 59vw);
    }

    #news {
        margin-top: calc(40px + 100vw);
    }

    #news-list>li>a {
        flex-direction: column;
    }

    #block1 {
        height: calc(700px + 125vw);
    }

    #footer-logo-list {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    #footer-logo-list>li {
        margin-right: 0;
    }

    .footer-tel {
        display: block;
        width: fit-content;
        margin: auto;
    }
}

@media screen and (max-width: 425px) {
    .subpage-content-box {
        padding: 20px 0;
    }

    .block2-link,
    .block3-link {
        width: 80%;
    }

    .join-link {
        padding: 0.3rem 3rem;
    }
}

@media screen and (max-width: 375px) {
    .humburger-menu {
        width: 100%;
    }

    .humburger-menu>ul {
        padding: 120px 30px;
    }
}