@charset "utf-8";

main {
    background: url(../img/sub/head_bg.png) no-repeat top center / 100% auto;
}

.sub__head {
    position: relative;
    height: 3rem;
    overflow: hidden;
    mask-image: url(../img/sub/head_mask.svg);
    mask-size: auto 100%;
    mask-repeat: repeat-x;
    mask-position: top center;
    -webkit-mask-image: url(../img/sub/head_mask.svg);
    -webkit-mask-size: auto 100%;
    -webkit-mask-repeat: repeat-x;
    -webkit-mask-position: top center;
}

.sub__head img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(80%);
}

.sub__head02 {
    padding: 1rem 0;
}

.head__ttl {
    display: grid;
    color: #45ba82;
    text-align: center;
    background: url(../img/sub/head_ttl.png) no-repeat bottom center / 1.2rem auto;
    padding-bottom: .5rem;
}

.head__ttl02 {
    color: #45ba82;
    text-align: center;
}

.head__ttl02::after {
    content: '';
    display: block;
    width: .75rem;
    height: .06rem;
    background: #45ba82;
    border-radius: 5px;
    margin: .2rem auto 0;
}

.service {
    display: grid;
    gap: 1rem;
}

.service__wrapper {
    background-image: url(../img/sub/service_illust.png), url(../img/sub/service_bg.png);
    background-repeat: no-repeat, repeat;
    background-position: bottom center, top center;
    background-size: 7rem auto, auto;
    border-radius: .8rem .8rem 0 0;
    padding: 1rem 0 2rem;
}

.service__wrapper .inner {
    display: grid;
    gap: 1rem;
}

.service__ttl {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .2rem;
    color: #fff;
    -webkit-text-stroke: 6px #45ba82;
    paint-order: stroke;
    text-decoration: underline;
    text-decoration-thickness: .15rem;
    text-decoration-color: #fff134;
    text-underline-offset: -.05rem;
    text-decoration-skip-ink: none;
}

.service__ttl::before {
    content: '';
    width: .5rem;
    height: .5rem;
    background: url(../img/ico_check.png) no-repeat center center / 100% auto;
}

.service__list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: .4rem;
}

.service__list li {
    display: grid;
    place-items: center;
    width: min(100%, 300px);
    aspect-ratio: 3 / 2;
    padding: .6rem .2rem .2rem;
    background: url(../img/sub/service_bg02.png) no-repeat top center / cover;
    position: relative;
}

.service__list li::before {
    content: '';
    width: 60px;
    height: 30px;
    background: url(../img/sub/service_ttldeco.png) no-repeat top center / 100% auto;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
}

.service__ttl02 {
    text-align: center;
}

.service__ttl02 .green {
    color: #45ba82;
}

.service__pic {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .2rem;
}

.service__pic li {
    border-radius: .15rem;
    overflow: hidden;
}

.price {
    padding: 1rem 0;
}

.price .inner {
    display: grid;
    gap: .6rem;
}

.price__listwrap table {
    width: 100%;
    border-radius: .3rem;
    overflow: hidden;
}

.price__listwrap table th:not(:last-child),
.price__listwrap table td:not(:last-child) {
    border-right: .04rem solid #fff;
}

.price__listwrap table tr:not(:last-child) {
    border-bottom: .04rem solid #fff;
}

.price__listwrap table th {
    background: #05a581;
    color: #fff;
}

.price__listwrap table td {
    background: #dff4ea;
}

.price__listwrap table td:first-child {
    color: #028366;
}

.price__listwrap table td:not(:first-child) {
    text-align: center;
}

.price__listwrap table th,
.price__listwrap table td {
    padding: .2rem .4rem;
}

.access {
    padding-bottom: 1rem;
}

.access .inner {
    display: grid;
    gap: .6rem;
}

.access__mapwrap {
    aspect-ratio: 1 / .5;
    overflow: hidden;
}

.access__mapwrap iframe {
    width: 100%;
    height: 100%;
}

.access__addwrap {
    background: #fdf7dc;
    border-radius: .2rem;
    padding: .4rem;
    display: grid;
    gap: .4rem;
    place-items: center;
}

.access__ttl {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .1rem;
}

.access__ttl::before {
    content: '';
    width: 40px;
    height: 40px;
    background: url(../img/ico_home.png) no-repeat center center / 100% auto;
}

.access__addlist {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.join {
    padding: 1rem 0 1.5rem;
    background: #e6f7ef;
}

.join .inner {
    display: grid;
    gap: .6rem;
}

.join__txt {
    text-align: center;
}

.join__listwrap {
    background: #fff;
    border-radius: .3rem;
    padding: .6rem 1rem;
    display: grid;
    gap: .4rem;
}

.join__list li {
    border-bottom: 1px dotted #000;
}

.join__list a {
    display: flex;
    align-items: center;
    gap: .1rem;
    padding: .15rem 0;
}

.join__list a::before {
    content: '';
    width: 30px;
    height: 40px;
    background: url(../img/ico_pdf.png) no-repeat center center / 100% auto;
}

.join__addwrap {
    background: #fff;
    border-radius: .3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .4rem;
    padding: .4rem;
}

.join__addttl {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: #45ba82;
}

.join__addttl::after {
    content: '';
    width: .06rem;
    height: 1.2rem;
    background: #45ba82;
    border-radius: 9999px;
}

.contact {
    position: relative;
}

.contact::before {
    content: '';
    background: url(../img/sub/contact_wave.png) repeat-x top center / auto 100%;
    position: absolute;
    top: -.45rem;
    right: 0;
    width: 100%;
    height: .45rem;
}

@media only screen and (max-width: 1024px) {
    main {
        background-position: top 1.5rem center;
    }

    .service__wrapper {
        background-size: 90% auto, auto;
    }

    .service__list {
        gap: .2rem;
    }

    .service__list li {
        padding-top: 1rem;
    }

    .service__pic {
        flex-direction: column;
    }

    .price__listwrap table {
        font-size: calc((.16rem * 100 / 50) * 0.9);
    }

    .price__listwrap table th,
    .price__listwrap table td {
        padding: .2rem;
    }

    .join__listwrap {
        padding: .6rem .5rem;
    }

    .join__addwrap {
        flex-direction: column;
    }

    .join__addttl {
        flex-direction: column;
        gap: .2rem;
    }

    .join__addttl::after {
        width: .75rem;
        height: .06rem;
    }
}