@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}
img {
    width: 100%;
    vertical-align: bottom;
}
body {
    background: #d9f5ff;
}
.wrap {
    padding: 0 20px;
}
@media (min-width: 768px) {
    .wrap {
        width: 90%;
        margin: 0 auto;
    }
}
/* font */
* {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.anime-01 {
    position: absolute;
    width: 100px;
}
/* header */
header {
    background: #d9f5ff;
}
.sp-header {
    padding: 10px;
    position: fixed;
    top: 0;
    width: 100%;
    min-width: 300px;
    z-index: 999;
    .inner-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    h1 {
        width: 200px;
    }
    .hamburger {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #0071bc;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        align-items: center;
        z-index: 999;
        span {
            display: block;
            background: #fff;
            width: 60%;
            height: 2px;
            border-radius: 3px;
            transition: 0.5s;
        }
    }
    .sp-nav {
        position: fixed;
        top: 0;
        right: 0;
        background: #ffffffb1;
        backdrop-filter: blur(10px);
        width: 450px;
        opacity: 0.5;
        height: 100svh;
        transform: translateX(450px);
        transition: 0.7s;
        display: flex;
        justify-content: center;
        align-items: center;
        a {
            color: #2589d0;
        }
        .sp-nav-inner {
            width: 70%;
            ul {
                width: fit-content;
                margin-left: 30px;
                margin-bottom: 20px;
                li {
                    margin-bottom: 10px;
                    font-size: 18px;
                }
            }
            dl {
                font-size: 14px;
                padding-left: 30px;
                dt {
                    border: #0071bc 1px solid;
                    border-radius: 8px;
                    width: fit-content;
                    padding: 5px 10px;
                    font-weight: bold;
                    color: #0071bc;
                    margin-bottom: 10px;
                }
                dd {
                    margin-bottom: 20px;
                }
            }
            p {
                color: #0071bc;
                border: #0071bc 1px solid;
                padding: 5px 10px;
                border-radius: 8px;
                font-weight: bold;
                text-align: center;
                span {
                    font-size: 40px;
                }
            }
            img {
                width: 200px;
                display: block;
                margin: 30px auto;
            }
        }
        .sp-nav-btn {
            display: block;
            background-color: #0071bc;
            color: #fff;
            padding: 10px 20px;
            text-align: center;
            border-radius: 8px;
            margin-bottom: 20px;
        }
    }
    .sp-nav.active {
        opacity: 1;
        transform: translateX(0);
    }
}
/* hamburger-button-anime */
.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.pc-header {
    display: none;
}

@media (min-width: 1224px) {
    .sp-header {
        display: none;
    }
    .pc-header {
        display: block;
        position: fixed;
        width: 100%;
        z-index: 999;
        .inner-header {
            width: 90%;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px;
            h1 {
                width: 250px;
            }
            ul {
                display: flex;

                li {
                    border-left: 2px solid #0071bc;
                }
                li:last-child {
                    border-right: 2px solid #0071bc;
                }
                li a {
                    color: #0071bc;
                    display: block;
                    font-weight: bold;
                    width: 100%;
                    padding: 0 20px;
                    text-align: center;
                    font-size: 20px;
                    line-height: 1.3;
                }
                span {
                    display: block;
                    text-align: center;
                    font-size: 12px;
                }
            }
        }
        .header-btn {
            background: #0071bc;
            color: yellow;
            padding: 10px 30px;
            border-radius: 8px;
            font-size: 20px;
        }
    }
}

/* main */
main {
    padding-top: 70px;
    overflow-x: hidden;
}
@media (min-width: 1024px) {
    main {
        padding-top: 2vw;
    }
}
/* hero */
.hero {
    position: relative;
    .catch-copy {
        font-size: 6vw;
        letter-spacing: 0.2em;
        position: absolute;
        z-index: 2;
        top: -6vw;
        color: #0071bc;
        span {
            display: block;
            font-size: 2vw;
            letter-spacing: 0.1;
            background-color: #fff;
            width: fit-content;
            padding: 5px 10px;
            font-weight: bold;
        }
    }
}

.inner-hero {
    margin-top: 50px;
    position: relative;
}
.haikei {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}
.slider img {
    aspect-ratio: 3/2;
    object-fit: cover;
    object-position: center;
    padding: 2px;
}
.pc {
    display: none;
}
@media (min-width: 1024px) {
    .sp {
        display: none;
    }
    .pc {
        display: block;
    }
    .slider img {
        height: 35vw;
        object-fit: cover;
    }
    .hero {
        margin-bottom: 100px;
        position: relative;
        padding-top: 0;
        .catch-copy {
            font-size: 3vw;
            top: 3vw;
            span {
                font-size: 2vw;
                letter-spacing: 0.1;
                padding: 5px 10px;
                margin-top: 30px;
            }
        }
    }
    .inner-hero {
        height: 34vw;
        overflow: hidden;
    }

    .slider {
        width: 60vw;
        margin-left: auto;
    }
}

/* time */
.medical-time {
    border: #0071bc 2px solid;
    border-radius: 10px;
    padding: 5px 20px;
    background: #fff;
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 50px;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    p {
        padding: 10px 0 10px 10px;
    }
}
.medical-time table {
    border-collapse: collapse;
    width: 100%;
}
th,
td {
    text-align: center;
    padding: 5px;
}
th {
    font-weight: bold;
}
.first-th {
    width: 40%;
    text-align: left;
    padding-left: 10px;
    font-weight: bold;
}
thead tr {
    border-bottom: 2px solid #0071bc;
}
tbody tr {
    border-bottom: 1px dotted #0071bc;
}
@media (min-width: 1024px) {
    .medical-time {
        max-width: 500px;
        position: absolute;
        top: 28vw;
        z-index: 9;
    }
    th,
    td {
        padding: 10px;
    }
}
/* section-title */
.section-title {
    margin-bottom: 20px;
    h2 {
        font-size: 25px;
        width: fit-content;
        margin: 0px auto;
        background-position: 0px -20px;
        border-bottom: #0071bc 1px solid;
        color: #0071bc;
    }
    h2::before {
        content: url(../img/SVG/h2-icon.svg);
        display: inline-block;
        width: 40px;
        height: 40px;
        padding-right: 5px;
    }

    p {
        text-align: center;
        color: #0071bc;
    }
}
@media (min-width: 768px) {
    .section-title {
        margin: 20px 0 50px;
        h2 {
            font-size: 40px;
            border-bottom: #0071bc 2px solid;
        }
        h2::before {
            content: url(../img/SVG/h2-icon.svg);
            display: inline-block;
            width: 60px;
            position: relative;
            top: 10px;
            padding-right: 5px;
        }

        p {
            text-align: center;
            color: #0071bc;
            font-size: 20px;
        }
    }
}
/* about */
.about {
    padding: 10px 20px 10px;
    line-height: 1.7;
    position: relative;
    margin-bottom: 50px;
    .about-catch {
        font-size: 20px;
        margin-bottom: 30px;
        color: #0071bc;
        font-weight: bold;
    }
    .about-bg01 {
        position: absolute;
        top: 150px;
        right: -100px;
        width: 100%;
    }
}
@media (min-width: 1024px) {
    .about {
        width: 80%;
        margin: 0 auto 150px;
        padding: 10px 20px 10px;
        line-height: 1.7;
        position: relative;
        .about-catch {
            font-size: 30px;
            margin-bottom: 30px;
            color: #0071bc;
            font-weight: bold;
        }
        .about-p {
            width: 70%;
            min-width: 500px;
            font-size: 18px;
        }
        .about-bg01 {
            position: absolute;
            top: 150px;
            right: -300px;
            width: 100%;
        }
    }
}
/* features */
.features {
    position: relative;
}
.features .bg-002 {
    position: absolute;
    top: -100px;
    left: -100px;
    z-index: -1;
}
.features .bg-003 {
    position: absolute;
    bottom: -150px;
    right: -100px;
    z-index: -1;
    width: 300px;
}
.features-item {
    background-color: #fff;
    padding: 20px 20px 20px 5px;
    border-radius: 10px;
    margin-bottom: 30px;
    p {
        padding: 10px 10px 0 20px;
        text-align: justify;
    }
}
@media (min-width: 1024px) {
    .features {
        width: 90%;
        margin: 0 auto 150px !important;
    }
    .features-item {
        width: 80%;
        padding: 20px 20px 20px 5px;
        margin-bottom: 30px;

        p {
            padding: 10px 10px 0 20px;
            text-align: justify;
        }
    }
    .features-flex {
        display: flex;
        justify-content: space-between;
        .features-item {
            width: 32%;
        }
    }
    .features .bg-002 {
        width: 700px;
    position: absolute;
    top: 400px;
    left: -100px;
    z-index: -1;
}
}
/* ボタン */
.features {
    margin-bottom: 100px;
}
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #2589d0;
    border-radius: 5px;
    background-color: #fff;
    color: #2589d0;
    font-size: 1.5em;
}

.btn::after {
    position: absolute;
    right: 2em;
    transform: translateY(-50%);
    transform-origin: left;
    width: 2em;
    height: 0.5em;
    background-color: #2589d0;
    clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
    content: "";
    transition: transform 0.3s;
}

.btn:hover::after {
    transform: translateY(-50%) scaleX(1.4);
}
@media (min-width: 768px) {
    .btn {
        width: 400px;
        padding: 10px;
    }
}
/* info */
.info {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px 20px 30px;
    margin-bottom: 50px;
    .info-item {
        p {
            line-height: 1.7;
            margin-bottom: 20px;
        }
    }
    .info-item h3 {
        font-size: 20px;
        color: #0071bc;
        text-align: center;
        margin-bottom: 10px;
    }
}
.info-item-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.info-item-flex a {
    display: block;
    background-color: #0071bc;
    color: #d9f5ff;
    text-align: center;
    width: 49%;
    outline: 1px solid #fff;
    outline-offset: -5px;
    padding: 10px;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    line-height: 0.9;
    margin-bottom: 2vw;
}
.info-item-flex a img {
    width: 50%;
    aspect-ratio: 1/1;
}
.btn.pc{
    display: none;
}
@media (min-width: 1024px) {
    
.btn.pc{
    display:flex ;
    font-size: 20px;
    width: 300px;
    margin-top: 70px;
}
    .info-flex{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4vw;
    }
    .info {
        width: 90%;
        margin: 0 auto 150px;
        .info-item h3 {
        font-size: 22px;
    }
    }
    .info-item{
        width: 40%;
        
    }
    .info-item-flex{
        width: 50%;
    }
    .info-item-flex a {
        width: 32%;
        margin-bottom: 10px;
    }
}
/* access */
.access {
    background: #fff;
    padding: 30px 20px 100px;
    .access-container {
        position: relative;
        text-align: right;
        margin-bottom: 20px;
        .access-logo {
            width: 30%;
            position: absolute;
            left: 10px;
            top: 30px;
            z-index: 3;
        }
        .access-img {
            width: 80%;
        }
    }
    .access-detail1 {
        padding: 0 0px;
        margin-bottom: 20px;
    }
    .map iframe {
        width: 100%;
        height: 300px;
        margin-bottom: 20px;
    }
    .access-detail2 {
        border: 2px solid #0071bc;
        padding: 10px;
        border-radius: 8px;
        dt {
            background: #2589d0;
            color: #fff;
            padding: 5px 10px;
            width: fit-content;
            margin-bottom: 5px;
        }
        dd {
            font-size: 14px;
            padding: 0 5px;
        }
        dd:nth-of-type(1) {
            border-bottom: 1px dashed #0071bc;
            margin-bottom: 10px;
            padding-bottom: 10px;
        }
    }
}
@media (min-width: 1024px) {
    .pc-access-container {
        display: flex;
        justify-content: space-between;
        width: 80%;
        max-width: 1000px;
        margin: 0 auto 30px;
        .access-logo {
            width: 200px;
        }
        .access-img {
            width: 60%;
        }
        .access-detail1 {
            padding: 0;
            margin-top: 30px;
            font-size: 20px;
            small {
                font-size: 15px;
                line-height: 1;
            }
        }
        .pc-access-tel {
            font-size: 2vw;
            background: #0071bc;
            color: #fff;
            font-weight: bold;
            padding: 5px 20px;
            width: fit-content;
            margin: 10px 0;
        }
    }
    .pc .map {
        width: 80%;
        margin: 0 auto;
    }
    .pc .map iframe {
        width: 100%;
        height: 400px;
        margin-bottom: 20px;
    }
    .access-detail2 {
        width: 80%;
        margin: 0 auto;
        padding: 20px;
        dl {
            display: flex;
        }
        dl div {
            padding: 10px 15px;
        }
        dl div:first-child {
            border-right: 1px dashed #0071bc;
        }
        dd:nth-of-type(1) {
            border-bottom: none !important;
            padding: 0 !important;
            margin: 0 !important;
        }
    }
}
/* footer */
.pc-footer-nav {
    display: none;
}
footer {
    background-color: #0071bc;
    padding: 30px 20px 0;
    h2 {
        text-align: center;
        width: 200px;
        margin: 0 auto 20px;
    }
    .footer-flex {
        display: flex;
        justify-content: space-between;

        .footer-left {
            h3 {
                color: #fff;
            }
            h3::after {
                content: "";
                display: inline-block;
                width: 40px;
                height: 2px;
                background: #fff;
                position: relative;
                top: -5px;
                left: 5px;
            }
            ul a {
                font-size: 14px;
                color: #fff;
            }
        }
        .footer-right {
            dl dt {
                color: #fff;
                text-align: right;
            }
            dl dd:nth-of-type(1) {
                background: #fff;
                font-size: 16px;
                font-weight: bold;
                color: #0071bc;
                padding: 5px 10px;
                margin-bottom: 20px;
                letter-spacing: 0.1em;
                border-radius: 8px;
            }
            dl dd:nth-of-type(2) {
                border: yellow 1px solid;
                font-size: 16px;
                padding: 5px 10px;
                color: yellow;
                border-radius: 8px;
            }
        }
    }
    .copyright {
        text-align: center;
        color: #fff;
        padding: 10px;
        margin-top: 30px;
    }
}
@media (min-width: 768px) {
    .footer-flex {
        width: 70%;
        max-width: 800px;
        margin: 0 auto 0;
        justify-content: space-between;
        .footer-right {
            width: 300px;
            dl dd:nth-of-type(1) {
                font-size: 25px !important;
                margin-bottom: 5px !important;
                text-align: center;
            }
            dl dd:nth-of-type(2) {
                border: yellow 1px solid;
                font-size: 25px !important;
                padding: 5px 10px;
                color: yellow;
                border-radius: 8px;
                text-align: center;
            }
        }
    }
    .pc-footer-nav {
        display: block;

        a {
            color: #a7e5fb;
            display: block;
            font-weight: bold;
            margin-bottom: 5px;
        }
    }
}
