@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

#home {
    font-size: 20px;
    line-height: 1.8;

    @media screen and (max-width: 860px) {
        font-size: clamp(12px, calc(18px - (6 * ((860px - 100vw) / 540))), 18px);
    }
}

.more-btn {
    background: #002d74;
    border-radius: 60px;
    color: #fff !important;
    font-size: 20px;
    padding: 0.8em 4em;
    position: relative;
    display: inline-block;


    @media screen and (max-width: 860px) {
        font-size: clamp(12px, calc(20px - (8 * ((860px - 100vw) / 540))), 20px);
        padding: 0.5em 3em;
    }

    &:hover {
        color: #fff;
    }

    &:links,
    &:visited {
        color: #fff;
    }

    &::before,
    &::after {
        position: absolute;
        top: 50%;
        right: 1.5em;
        height: 1px;
        background: #fff;
        content: '';

        @media screen and (max-width: 860px) {
            right: 1.0em;
        }
    }

    &::before {
        width: 25px;
        transform: translateY(-50%);

        @media screen and (max-width: 860px) {
            width: 15px;
        }
    }

    &::after {
        width: 6px;
        transform: translateY(-50%) rotate(45deg);
        transform-origin: right center;
    }

}

.main-common-ttl {
    font-size: 38px;
    margin-bottom: 0.5em;
    position: relative;
    z-index: 2;

    @media screen and (max-width: 860px) {
        font-size: clamp(14px, calc(30px - (16 * ((860px - 100vw) / 540))), 30px);
    }

    .ttl {
        font-family: "Noto Sans JP", sans-serif !important;
        font-optical-sizing: auto !important;
        font-weight: 500 !important;
        letter-spacing: 0.05em;
        padding: 0;
        line-height: 1.6;
    }

    .img {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }


    &.uline {
        margin-bottom: 0.9em;
        padding-bottom: 0.9em;
    }

    &.uline::after {
        width: 60px;
        height: 6px;
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        background: #002d74;

        @media screen and (max-width: 860px) {
            width: 30px;
            height: 2px;
        }
    }

}

.main-news {
    background: url(images/main-about-bg.png)no-repeat center center / cover;
    padding: 7vmax 3vmax;


    .main-common-ttl .img {
        top: -80px;
        left: 50%;
        transform: translateX(-50%);

        @media screen and (max-width: 860px) {
            width: 70px;
            top: -40px;
        }
    }

    .main-news-inner {
        max-width: 1000px;
        margin: 0 auto;
    }

    .main-news-list {
        margin: 3vmax 0;
    }


    .main-news-list .new {
        background: #e95f9f;
        color: #fff;
        line-height: 1.2;
        padding: 0.1em 0.3em;
        margin: 0 1em;
        border-radius: 5px;
        display: inline-block;
    }

    .main-news-list li {
        border-bottom: 1px solid #333;
        padding: 1em 0.6em;
    }

    .main-news-list li:last-of-type {
        border-bottom: none;
    }

}

.main-stracture {
    background: url(images/main-stracture-bg.png)no-repeat top center / cover;
    padding: 7vmax 3vmax 0 3vmax;

    @media screen and (max-width: 860px) {
        background: url(images/main-stracture-bg_sp.png)no-repeat top center / cover;
    }


    .main-common-ttl .img {
        top: -20px;
        left: -60px;

        @media screen and (max-width: 860px) {
            width: 120px;
            left: -10px;
            top: -30px;
        }
    }

    .ttl-wrap {
        display: flex;
        justify-content: space-between;

        div {
            flex: 1;
        }
    }


    .main-common-ttl .sub {
        font-size: 30px;

        @media screen and (max-width: 860px) {
            font-size: clamp(12px, calc(26px - (14 * ((860px - 100vw) / 540))), 26px);
        }
    }

    .check-list {
        margin-top: 4vmax;
        margin-bottom: 4vmax;
    }

    .check-list li {
        position: relative;
        padding-left: 45px;
        font-size: 21px;
        font-weight: bold;
        margin-bottom: 2em;

        @media screen and (max-width: 860px) {
            margin-bottom: 1em;
            padding-left: 30px;
            font-size: clamp(14px, calc(22px - (8 * ((860px - 100vw) / 540))), 22px);
        }
    }

    .check-list li::before {
        position: absolute;
        left: 0;
        top: 0;

        content: "";
        display: block;
        width: 33px;
        height: 29px;
        background: url(images/home-check.png)no-repeat top center / contain;

        @media screen and (max-width: 860px) {
            width: 23px;
            height: 19px;
        }
    }

    .bnr-list {
        margin-top: 4vmax;
        margin-bottom: 4vmax;
        display: flex;
        justify-content: space-between;
        gap: 40px;

        @media screen and (max-width: 860px) {
            margin-top: 0;
            margin-bottom: 0;
            flex-direction: column;
            padding: 4vmax 2vmax;
            gap: 4vmax;
        }

    }
}

.main-report {
    padding: 7vmax 3vmax;

    .main-common-ttl .img {
        top: -100px;
        left: -60px;

        @media screen and (max-width: 860px) {
            width: 140px;
            left: -10px;
            top: -40px;
        }
    }

    .report-list {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        margin-top: 4vmax;
        margin-bottom: 4vmax;

        @media screen and (max-width: 860px) {
            justify-content: space-around;
            gap: 10px;
            flex-wrap: wrap;
        }
    }

    .report-list li {
        width: 30%;

        @media screen and (max-width: 860px) {
            width: 46%;
        }

        .image {
            margin-bottom: 1em;
            aspect-ratio: 6 / 4;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .date {
            font-size: 18px;

            @media screen and (max-width: 860px) {
                font-size: 12px;
            }
        }

        .ttl {
            margin: 0.7em 0;

            @media screen and (max-width: 860px) {
                font-size: 14px;
            }
        }

    }
}

.main-message {
    background: url(images/main-message-bg.png)no-repeat top center / cover;
    padding: 7vmax 3vmax;


    .main-common-ttl .img {
        top: -60px;
        left: -60px;

        @media screen and (max-width: 860px) {
            width: 100px;
            left: -10px;
            top: -30px;
        }
    }

    .main-common-ttl {
        color: #fff;

        &.uline::after {
            background: #fff;
        }
    }

    .main-message-content {
        display: flex;
        justify-content: space-between;

        @media screen and (max-width: 860px) {
            flex-direction: column;
        }

        .image {
            order: 2;
            text-align: center;

            @media screen and (max-width: 860px) {
                order: 0;
                margin: 2vmax 4vmax;
            }
        }

        .image,
        .text {
            flex: 1;
            color: #fff;
        }

        .text p {
            margin-bottom: 1.5em;
        }

        .riji {
            margin: 1em 0 2em 0;
            font-size: 26px;
            letter-spacing: 0.2em;

            @media screen and (max-width: 860px) {
                font-size: clamp(14px, calc(22px - (8 * ((860px - 100vw) / 540))), 22px);
            }
        }

        .name {
            font-size: 42px;

            @media screen and (max-width: 860px) {
                font-size: clamp(18px, calc(40px - (22 * ((860px - 100vw) / 540))), 40px);
            }
        }
    }
}

.main-jobtype {
    background: url(images/main-jobtype-bg.png)no-repeat top center / cover;
    padding: 7vmax 3vmax;

    .main-common-ttl .img {
        top: -100px;
        left: -60px;

        @media screen and (max-width: 860px) {
            width: 140px;
            left: -10px;
            top: -40px;
        }
    }

    .main-jobtype-content {
        margin-top: 4vmax;

        table {
            width: 100%;
            border-collapse: collapse;
        }


        th,
        td {
            padding: 15px;
            text-align: left;
            vertical-align: top;
            border: 1px solid #333;
            text-align: center;
            background: #fff;
        }

        th {
            background: #002d74;
            color: #fff;
            border: 1px solid #fff;
        }

        td.clinic-name {
            text-align: left;
            background: #f5f7fa;

        }
    }

    .main-jobtype-more {
        display: flex;
        justify-content: center;
        margin-top: 4vmax;
        gap: 20px;

        @media screen and (max-width: 860px) {
            flex-direction: column;
        }

    }
}

.main-voice {
    padding: 7vmax 2vmax;

    .main-common-ttl .img {
        top: -80px;
        left: 50%;
        transform: translateX(-50%);

        @media screen and (max-width: 860px) {
            width: 70px;
            top: -50px;
        }
    }

    .voice-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;

        @media screen and (max-width: 860px) {
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }

        .image {
            position: relative;
            margin-bottom: 10px;
        }

        .name-box {
            position: absolute;
            padding: 1em;
            background: rgba(255, 255, 255, 0.6);
            right: 0;
            bottom: 0;
            text-align: right;
            z-index: 2;

            @media screen and (max-width: 860px) {
                font-size: clamp(10px, calc(20px - (10 * ((860px - 100vw) / 540))), 20px);
            }
        }

        .name {
            font-size: 22px;

            @media screen and (max-width: 860px) {
                font-size: clamp(12px, calc(22px - (10 * ((860px - 100vw) / 540))), 22px);
            }
        }

        .more {
            text-align: right;
            margin-right: 15px;
            margin-bottom: 2vmax;

            @media screen and (max-width: 860px) {
                width: 50%;
                margin-left: 45%;
                margin-right: 0;
            }
        }
    }
}

.main-doctor {
    padding: 7vmax 0;

    .main-common-ttl .img {
        top: -80px;
        left: 50%;
        transform: translateX(-50%);

        @media screen and (max-width: 860px) {
            width: 70px;
            top: -50px;
        }
    }

    .read {
        text-align: center;
        margin-bottom: 3vmax;
    }

    .doctor-list li {
        width: 100%;
        height: 400px;

        @media screen and (max-width: 860px) {
            height: 28vmax;
        }

        .once {
            max-width: 1060px;
            height: 100%;
            margin: 0 auto;
            display: flex;
            align-items: center;

        }

        &:nth-of-type(2n) .once {
            justify-content: flex-end;

        }

        .name-box {
            width: 45%;
            padding: 0 1em;
            text-align: center;

            @media screen and (max-width: 860px) {
                width: 60%;
            }
        }

        .name-box .name-box-inner {
            margin-bottom: 1em;
            font-weight: bold;
        }

        .name-box .name {
            font-size: 30px;

            @media screen and (max-width: 860px) {
                font-size: clamp(18px, calc(30px - (12 * ((860px - 100vw) / 540))), 30px);
            }
        }


        &:nth-of-type(1) {
            background: #f1f1f1 url(images/doctor-01.png)no-repeat top center;

            @media screen and (max-width: 860px) {
                background: #f1f1f1 url(images/doctor-01_sp.png)no-repeat top center / cover;
            }
        }

        &:nth-of-type(2) {
            background: #fff url(images/doctor-02.png)no-repeat top center;

            @media screen and (max-width: 860px) {
                background: #fff url(images/doctor-02_sp.png)no-repeat top center / cover;
            }
        }

        &:nth-of-type(3) {
            background: #f1f1f1 url(images/doctor-03.png)no-repeat top center;

            @media screen and (max-width: 860px) {
                background: #f1f1f1 url(images/doctor-03_sp.png)no-repeat top center / cover;
            }
        }

        &:nth-of-type(4) {
            background: #fff url(images/doctor-04.png)no-repeat top center;

            @media screen and (max-width: 860px) {
                background: #fff url(images/doctor-04_sp.png)no-repeat top center / cover;
            }
        }
    }
}

.main-clinic {
    padding: 0 0 7vmax 0;

    .main-common-ttl .img {
        top: -60px;
        left: -50px;

        @media screen and (max-width: 860px) {
            width: 80px;
            left: 0px;
            top: -40px;
        }
    }

    .main-clinic-header {
        position: relative;
        z-index: 3;
        padding-top: 3vmax;

        @media screen and (max-width: 860px) {
            padding: 3vmax 3vmax 0 3vmax;
        }

        &::after {
            position: absolute;
            right: 0;
            top: 0;
            content: "";
            display: block;
            width: 53%;
            height: 100%;
            background: url(images/main-clinic.png)no-repeat center center / cover;
            z-index: -1;

            @media screen and (max-width: 860px) {
                display: none;
            }
        }

        .ttl-box {
            background: #fff;
            padding: 2vmax 2vmax 2vmax 0;
            width: 55%;
            height: 400px;
            margin-bottom: 4vmax;

            @media screen and (max-width: 860px) {
                width: 100%;
                height: auto;
            }
        }

        .main-common-ttl {
            font-size: 34px;

            @media screen and (max-width: 860px) {
                font-size: clamp(14px, calc(34px - (20 * ((860px - 100vw) / 540))), 34px);
            }
        }
    }

    .clinic-list {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-bottom: 4vmax;

        @media screen and (max-width: 860px) {
            margin-top: 6vmax;
            margin-left: 3vmax;
            margin-right: 3vmax;
        }

        li {
            width: 30%;
            margin-bottom: 5vmax;

            @media screen and (max-width: 860px) {
                width: 47%;
            }
        }

        .logo {
            text-align: center;
            width: 100%;
            aspect-ratio: 1 / 0.3;
            display: flex;
            justify-content: center;
            align-items: center;

            @media screen and (max-width: 860px) {}
        }

        .name {
            color: #002d74;
            border: 1px solid #002d74;
            text-align: center;
            padding: 0.4em 0;
            margin: 0.8em 0;
            font-size: 22px;
            font-weight: bold;
            line-height: 1.2;

            @media screen and (max-width: 860px) {
                font-size: clamp(14px, calc(24px - (10 * ((860px - 100vw) / 540))), 24px);
            }
        }

        .add {
            margin: 0.5em 0;
            line-height: 1.6;
        }

        .tel {
            color: #002d74;
            font-size: 24px;
            font-weight: bold;

            @media screen and (max-width: 860px) {
                font-size: clamp(14px, calc(24px - (10 * ((860px - 100vw) / 540))), 24px);
            }
        }
    }
}