@charset "utf-8";

html {
    font-size: 62.5%;
}

html.active {
    position: fixed;
    width: 100%;
    height: 100%;
}

@media screen and (min-width:1040px) {
    html.active {
        position: unset;
        width: unset;
        height: unset;
    }
}

body {
    color: #333;
    font-family: "Noto Sans", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, Meiryo, sans-serif;
}

a {
    color: #333;
    text-decoration: none;
}

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

.button {
    display: table;
    margin: 6.4rem auto 0;
}

.button a {
    padding: .8rem 3.2rem;
    background-color: #64af9c;
    color: #fff;
    border-radius: .8rem;
    font-size: 1.4rem;
}

.underline {
    position: relative;
    padding-bottom: 0.8rem;
    border-bottom: .3rem solid #ddd;
}

.underline::after {
    display: block;
    position: absolute;
    bottom: -.3rem;
    width: 24%;
    height: .3rem;
    background-color: #64af9c;
    content: "";
}

#not-found {
    padding: 16rem 0;
}

#not-found h1 {
    font-size: 3.2rem;
    text-align: center;
}

#not-found p {
    margin-top: 2.4rem;
    font-size: 1.4rem;
    text-align: center;
}





header {
    position: fixed;
    width: 100%;
    background: linear-gradient(rgb(0 0 0 / 30%), transparent);
    z-index: 4;
}

header div.container {
    display: grid;
    grid-template-columns: 1fr 3rem;
    align-items: center;
    width: 80%;
    max-width: 88rem;
    height: 8rem;
    margin: 0 auto;
}

header.home div.container {
    max-width: 100%;
}

header div.container div.logo a img {
    max-width: 12rem;
}

header div.container div#humberger_menu {
    position: relative;
    height: 2.3rem;
}

header div.container div#humberger_menu span {
    position: absolute;
    width: 100%;
    height: .3rem;
    border-radius: .3rem;
    background-color: #fff;
    box-shadow: 0 0 .3rem .2rem rgb(0 0 0 / 0.1);
    transition: .5s;
}

header div.container div#humberger_menu span:nth-child(1) {
    top: 0;
}

header div.container div#humberger_menu span:nth-child(2) {
    top: 1rem;
    left: 0;
}

header div.container div#humberger_menu span:nth-child(3) {
    top: 2rem;
}

header div.container div#humberger_menu.active span:nth-child(1) {
    transform: translateY(1rem) rotate(-45deg);
}

header div.container div#humberger_menu.active span:nth-child(2) {
    left: 50%;
    opacity: 0;
    transition: .3s;
}

header div.container div#humberger_menu.active span:nth-child(3) {
    transform: translateY(-1rem) rotate(45deg);
}

@media screen and (min-width:1040px) {
    header div.container div#humberger_menu.home {
        display: none;
    }
}





main section {
    padding: 8rem 0;
}

main section:nth-of-type(3n+3) {
    background-color: #f3f3f3;
}

main section:nth-of-type(3n+4) {
    background-color: #e8f5f1;
}

main section div.container {
    max-width: 110rem;
    margin: 0 auto;
}

main section div.container h2 {
    display: inline-block;
    margin: 0 0 4.8rem 10%;
    color: #64af9c;
    font-size: 2rem;
    letter-spacing: -.1rem;
}

main section div.container h2::after {
    display: block;
    height: .3rem;
    margin-top: .3rem;
    background-color: #64af9c;
    content: "";
}





main section#home {
    display: flex;
    align-items: end;
    height: 32rem;
    padding: 0;
    overflow: hidden;
}

main section#home img {
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

@media screen and (min-width:1040px) {
    main section#home {
        height: auto;
    }
}




main section#about div.container dl {
    width: 80%;
    line-height: 1.5;
    margin: 0 auto;
    font-size: 1.4rem;
}

main section#about div.container dl dt {
    margin-top: 2.4rem;
    font-weight: bold;
}

main section#about div.container dl dt:first-of-type {
    margin-top: 0;
}

main section#about div.container dl dd {
    margin-top: .8rem;
    padding: 0 0 1.6rem 1.6rem;
    border-bottom: 0.1rem dashed #ccc;
}

main section#about div.container dl dd.no_underline {
    border-bottom: none;
}

main section#about div.container dl dd.map iframe {
    width: 100%;
}

main section#about div.container dl dd ol {
    padding-left: 1.6rem;
}

@media screen and (min-width:640px) {
    main section#about div.container dl {
        display: grid;
        grid-template-columns: 12.8rem 1fr;
        grid-gap: 1.6rem 0;
        font-size: 1.6rem;
    }

    main section#about div.container dl dt {
        margin: 0;
        padding-left: 0.8rem;
        border-bottom: 0.1rem dashed #ccc;
    }

    main section#about div.container dl dt.no_underline {
        border-bottom: none;
    }

    main section#about div.container dl dd {
        margin: 0;
        padding-left: 0;
    }

    main section#about div.container dl dd.no_underline {
        padding-bottom: 0;
    }

    main section#about div.container dl dd.map {
        grid-column: 1/3;
        padding-left: 12.8rem;
    }

}





footer {
    padding: 6.4rem 0;
    background-color: #333;
}

footer ul.menu {
    list-style: none;
    text-align: center;
}

footer ul.menu li {
    margin-top: 2.4rem;
}

footer ul.menu li:first-child {
    margin-top: 0;
}

footer ul.menu li a {
    color: #fff;
    font-size: 1.4rem;
    text-decoration: none;
}

footer p {
    margin-top: 4rem;
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
}





body:has(main>div.container) {
    background-color: #fafafa;
}

main>div.container {
    max-width: 96rem;
    margin: 0 auto;
    padding: 8rem 0 12rem;
    background-color: #fff;
    box-shadow: 0 0 .8rem 0 rgb(0 0 0 / 10%);
}

main>div.container h1 {
    display: table;
    margin: 0 auto;
    font-size: 2.4rem;
}

main>div.container p {
    display: table;
    max-width: calc(100% - 3.2rem);
    line-height: 1.5;
    margin: 6.4rem auto 0;
    font-size: 1.4rem;
}

main>div.container dl {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-items: center;
    width: calc(100% - 3.2rem);
    max-width: 56rem;
    margin: 6.4rem auto 0;
    font-size: 1.4rem;
}

main>div.container dl dt {
    display: grid;
    align-items: center;
    justify-items: center;
    width: 100%;
    height: 100%;
    border-top: .1rem dashed #ccc;
}

main>div.container dl dd {
    display: grid;
    align-items: center;
    justify-items: center;
    width: 100%;
    height: 100%;
    border-top: .1rem dashed #ccc;
}

main>div.container dl dt:first-of-type,
main>div.container dl dt:nth-of-type(2),
main>div.container dl dd:first-of-type {
    border-top: none;
}

main>div.container dl dd.notice {
    grid-column: 1 / 4;
    border-top: none;
}


@media screen and (min-width:640px) {
    main>div.container p {
        max-width: calc(100% - 6.4rem);
    }

    main>div.container dl {
        width: calc(100% - 6.4rem);
    }

}


@media screen and (min-width:960px) {
    main>div.container p {
        max-width: 80%;
        line-height: 1.75;
        font-size: 1.6rem;
    }

    main>div.container dl {
        width: 80%;
        font-size: 1.6rem;
    }

}