#mv {
    position: relative;
    height: calc(100svh - 118px);
    overflow: hidden
}

#mv .slick-list {
    height: 100%
}

#mv .mv-slide {
    height: 100%
}

#mv .slick-slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center center
}

#mv .main-copy {
    position: absolute;
    left: min(14%, 200px);
    bottom: 4.3%;
    width: min(85%, 600px);
    z-index: 999
}

#mv .s-copy {
    position: absolute;
    right: -10%;
    top: -20%;
    width: min(85%, 600px);
    z-index: 999
}



@media screen and (min-width: 960px) {
    #mv>nav {
        width: max(30%, 380px);
        margin-left: 20px;
        padding: 22px 30px 30px;
        background: linear-gradient(180deg, #eef8ea 0%, #e7f7f5 100%);
        border-radius: 10px
    }

    #mv>nav .ttl {
        margin-bottom: 15px;
        font-size: 22px
    }

    #mv>nav .ttl::before {
        content: url("../index.html");
        margin-right: 10px;
        vertical-align: -4px
    }

    #mv .nav>li {
        width: 47%
    }

    #mv .nav>li:nth-child(n+3) {
        margin-top: 1em
    }

    #mv .nav>li>a {
        position: relative;
        display: block;
        color: #fff;
        font-size: 15px;
        line-height: 1.5;
        background-color: #5ac5bc;
        border-radius: 5px;
        box-shadow: 3px 3px 0 #41bab0
    }

    #mv .nav>li>a>span {
        display: block;
        padding: 24px 1em;
        height: 100%;
        position: relative
    }

    #mv .nav>li>a>span::before {
        content: url("../index.html");
        position: absolute;
        top: 0;
        right: 0
    }

    #mv .nav>li>a>span::after {
        content: url("../index.html");
        position: absolute;
        bottom: 8px;
        left: 6px
    }

    #mv .nav>li>a em {
        display: block;
        font-size: 1.6em
    }

    #mv .nav>li>a::after {
        content: "";
        display: block;
        position: absolute;
        right: 4px;
        bottom: 4px;
        z-index: 1;
        width: 12px;
        height: 12px;
        background-color: #fff;
        -webkit-clip-path: polygon(100% 0, 0% 100%, 100% 100%);
        clip-path: polygon(100% 0, 0% 100%, 100% 100%)
    }

    #mv .nav>li>a:hover {
        box-shadow: none !important
    }

    #mv .nav>li>a:hover>span {
        margin: 3px -3px -3px 3px
    }

    #mv .nav>li.procedure>a {
        background-color: #a3c74d;
        box-shadow: 3px 3px 0 #95bb3b
    }

    #mv .nav>li.insurance>a {
        background-color: #f4c527;
        box-shadow: 3px 3px 0 #ddad0b
    }

    #mv .nav>li.payment>a {
        background-color: #f49c2a;
        box-shadow: 3px 3px 0 #ee8c0c
    }

    #mv .nav>li.service>a {
        background-color: #a78de9;
        box-shadow: 3px 3px 0 #9d80e7
    }

    #mv .nav>li.faq>a {
        background-color: #0b6dc9;
        box-shadow: 3px 3px 0 #0a63b6
    }
}

@media screen and (max-width: 1229px) {
    #mv {
        height: calc(100svh - 112px)
    }
}

@media(orientation: portrait)and (max-width: 810px) {
    #mv .s-copy {
        right: unset;
        left: 54%;
        transform: translateX(-50%)
    }
}

@media screen and (max-width: 599px) {
    #mv {
        height: calc(70vh - 65px)
    }

    #mv .slick-slide img {
        height: 70vh
    }

    #mv .s-copy {
        top: -30%;
        right: unset;
        left: 50%;
        width: 100%
    }

    #mv .main-copy {
        left: 50%;
        transform: translateX(-50%)
    }
}

.service {
    position: relative
}

.service.sec-box {
    padding-block: min(12%, 100px) min(8%, 60px)
}

.service .wrap {
    overflow: hidden
}

.service .ttl-sec {
    position: relative;
    z-index: 1;
    pointer-events: none
}

.service .btn-wrap {
    position: absolute;
    bottom: -2em;
    left: 50%;
    transform: translateX(-50%)
}

.service-li {
    position: relative;
    top: -3.3em;
    width: 91%;
    margin-inline: auto 0;
    counter-reset: service-num
}

.service-li .slick-slide {
    margin-right: 1.81em
}

@media screen and (max-width: 599px) {
    .service-li .slick-slide {
        margin-right: .81em
    }
}

.service-li .slick-prev {
    display: none
}

.service-li .arrow-next {
    position: absolute;
    top: 50%;
    left: -7.5em;
    transform: translateY(-50%);
    width: 5.3em;
    aspect-ratio: 1;
    background: url("../img/top/service-slide-arrow.png") no-repeat center/contain
}

@media screen and (max-width: 599px) {
    .service-li .slide-arrow {
        position: absolute;
        top: -2em;
        background: unset
    }

    .service-li .slide-arrow::before {
        content: "";
        display: block;
        position: absolute;
        width: 0.7em;
        height: 0.7em;
        border-top: 2px solid #0b6dc9;
        border-right: 2px solid #0b6dc9;
        transform: rotate(45deg)
    }

    .service-li .slide-arrow.arrow-prev-sp {
        right: 4em
    }

    .service-li .slide-arrow.arrow-prev-sp::before {
        rotate: -180deg;
        transform-origin: center center
    }

    .service-li .slide-arrow.arrow-next-sp {
        right: 1.5em
    }
}

.service-li .item {
    display: grid;
    grid-template-areas: "content";
    background: no-repeat center/cover;
    z-index: 1;
    position: relative;
    overflow: hidden
}

.service-li .item a {
    grid-area: content;
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 67% 1.87em 1.5em;
    color: #fff
}

@media screen and (max-width: 959px) {
    .service-li .item a {
        padding-top: 73%
    }
}

@media screen and (max-width: 599px) {
    .service-li .item a {
        padding-block: 60% 0
    }
}

.service-li .item .img-wrap {
    grid-area: content;
    width: 100%;
    z-index: -1
}

.service-li .item .img-wrap::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60%;
    mix-blend-mode: multiply;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(6, 63, 116, 0.94) 80%)
}

.service-li .item .ttl {
    margin-bottom: .6em;
    padding-bottom: .45em;
    padding-left: 3px;
    font-size: clamp(22px, 3vw, 34px);
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    position: relative
}

.service-li .item .ttl::before {
    content: "";
    display: block;
    position: absolute;
    top: 40%;
    right: 0;
    transform: translateY(-50%);
    width: 1.1em;
    aspect-ratio: 1;
    background: url("../img/top/service-arrow.png") no-repeat center/contain
}

.service-li .item .num {
    font-size: 1.1em;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: italic;
    letter-spacing: .05em;
    font-weight: 500;
    position: relative
}

.service-li .item .num::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: -1.7em;
    transform: translateY(-50%);
    width: 1.1em;
    height: 2px;
    background-color: #fff
}

.service-li .item .note {
    font-size: .937em
}

@media screen and (max-width: 599px) {
    .service-li .slick-list {
        padding-left: 0 !important;
        margin-left: -20%;
        left: 10%
    }
}

.about {
    overflow: hidden
}

.about .inner::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: min(65%, 900px);
    height: 100%;
    z-index: -1;
    background: url("../img/top/about-bg.jpg") no-repeat center/contain
}

@media screen and (min-width: 1320px) {
    .about .inner::before {
        right: -14%
    }
}

@media screen and (max-width: 1329px) {
    .about .inner::before {
        right: -6%
    }
}

.about .con-wrap {
    display: grid;
    grid-template-columns: 66% 1fr
}

.about .lead {
    justify-self: center;
    padding-top: 2.7em;
    font-size: 1.52em;
    line-height: 2;
    writing-mode: vertical-rl;
    font-weight: bold;
}

@media screen and (max-width: 959px) {
    .about .lead {
        padding-top: unset
    }
}

@media screen and (max-width: 700px) {
    .about .inner::before {
        width: 90%;
        height: 32%;
        top: 20%;
        right: unset;
        left: 50%;
        transform: translateX(-50%)
    }

    .about .con-wrap {
        grid-template-columns: 1fr
    }

    .about figure {
        order: 1
    }

    .about .lead {
        padding-bottom: 1.5em
    }
}

.company {
    background: url("../img/top/company_bg.jpg") no-repeat center/cover
}

.recruit {
    background: url("../img/top/recruit-bg.jpg") no-repeat top/cover
}

.recruit .inner-narrow {
    padding-top: 20%
}

.recruit .con-box {
    position: relative;
    bottom: -4em;
    padding: 2.1em clamp(18px, 3vw, 35px);
    background: #fff;
    box-shadow: 0px 0px 20px -5px rgba(123, 123, 123, .1)
}

.recruit .con-box::before,
.recruit .con-box::after {
    content: "";
    display: block;
    position: absolute;
    width: 7.5em;
    height: 12.8em;
    background: url("../img/top/deco.png") no-repeat top/contain
}

.recruit .con-box::before {
    top: 0;
    left: 0
}

.recruit .con-box::after {
    bottom: 0;
    right: 0;
    rotate: -180deg
}

@media screen and (max-width: 1229px) {
    .recruit {
        background-size: contain
    }
}

@media screen and (max-width: 959px) {

    .recruit .con-box::before,
    .recruit .con-box::after {
        width: 4.5em
    }
}

@media screen and (max-width: 599px) {
    .recruit .con-box {
        bottom: unset
    }

    .recruit .con-box .ttl-sec {
        font-size: 1em
    }
}

.info .head {
    align-items: center
}

.info .cat-tab {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .85em
}

.info .cat-tab li>a {
    display: inline-block;
    width: 100%;
    padding: clamp(10px, 1.6vw, 19px) 1em;
    font-size: 1.12em;
    text-align: center;
    background-color: #e0f3fc;
    border-radius: 3em
}

.info .cat-tab li>a.active {
    color: #fff;
    background: linear-gradient(90deg, #0da4e9 0%, #0d84e9 100%)
}

.info .info-li li {
    position: relative
}

.info .info-li li::before,
.info .info-li li::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e9e9e9
}

.info .info-li li::after {
    width: 3.1em;
    background-color: #0da4e9
}

.info .info-li li a {
    display: grid;
    grid-template-columns: max-content auto 1fr;
    gap: 1em;
    align-items: center;
    padding: 2em 1em 2.1em;
    position: relative
}

.info .info-li li a::before {
    content: "";
    display: block;
    position: absolute;
    right: 1.5em;
    width: 0.55em;
    height: 0.55em;
    border-top: 2px solid #414141;
    border-right: 2px solid #414141;
    transform: rotate(45deg)
}

.info .info-li li a p {
    margin-block: unset
}

.info .info-li li .cat-label {
    width: 9.6em;
    padding: .27em .5em .35em;
    font-size: .85em;
    color: #fff;
    text-align: center;
    border-radius: 3em
}

.info .info-li li .cat-label.news {
    background-color: #0b6dc9
}

.info .info-li li .cat-label.staff_blog {
    background-color: #e9990d
}

@media screen and (max-width: 959px) {
    .info .head {
        align-items: normal;
        flex-direction: column
    }
}

@media screen and (max-width: 599px) {
    .info .ttl-sec {
        margin-bottom: unset
    }

    .info .cat-tab {
        grid-template-columns: repeat(2, 1fr);
        margin-block: 1.5em
    }

    .info .info-li li a {
        grid-template-columns: min-content auto 1fr;
        grid-template-rows: repeat(2, 1fr);
        grid-template-areas: "date cat" "ttl ttl";
        row-gap: .5em
    }

    .info .info-li li .ttl {
        grid-area: ttl
    }
}