@charset "utf-8";

h2 {
    color: var(--primary-green);
    font-family: "Zen Maru Gothic";
    font-size: 3.6rem;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-color: #C1DFC4;
    text-decoration-thickness: 10%;
    text-underline-offset: 25%;
    text-underline-position: from-font;
    text-align: center;
}

.spbr {
    display: none;
}

/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .spbr {
        display: block;
    }

    .pcbr {
        display: none;
    }

    h2 {
        font-size: 2.0rem;
    }
}

/* ----------------ご挨拶------------------ */

#greeting {
    padding: 100px 6.6%;
    background: var(--primary-palegreen);
}

.doctor__introduction {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 80px;
}

.greeting__summary {
    position: relative;
}

.greeting__unit {
    position: relative;
    display: inline-flex;
    padding: 50px;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    gap: 43px;
    border-radius: 30px;
    background: var(--primary-white);
    width: 100%;
    max-width: 1130px;
    z-index: 1;
}

.greeting__back {
    position: absolute;
    top: 5%;
    left: -6%;
    background-color: var(--primary-green);
    width: 100%;
    max-width: 1130px;
    height: 430px;
    border-radius: 30px;
    z-index: 0;
}

.greeting__unit img {
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.greeting__text {
    color: var(--primary-black);
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 30px;
}

.greeting__name {
    text-align: end;
    font-size: 1.6rem;
    color: var(--primary-black);
    font-family: "BIZ UDPGothic";
    font-weight: 500;
}

.greeting__name span {
    color: var(--primary-black);
    font-family: "BIZ UDPGothic";
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 30px;
    margin-left: 10px;
}

.career {
    display: flex;
    align-items: stretch;
    gap: 80px;
    margin-top: 98px;
}

.greeting__list {
    position: relative;
    margin: 2em 0;
    padding: 2em;
    border: solid 3px var(--primary-green);
    background-color: var(--primary-white);
    width: 440px;
    border-radius: 0 5px 5px 5px;
    display: flex;
    /* 子要素の高さを揃えるためにflexを使用 */
    flex-direction: column;
}

.greeting__list .list-tit {
    position: absolute;
    display: inline-block;
    top: -37px;
    left: -3px;
    padding: 6px 20px;
    height: 35px;
    line-height: 25px;
    font-size: 2.4rem;
    background: var(--primary-green);
    color: var(--primary-white);
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}


.list-design {
    display: flex;
    flex-direction: column;
    padding: 0;
    list-style: none;
    gap: 10px;
}

.list-design li {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    color: var(--primary-black);
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 30px;
}

.list-design li p {
    margin: 0;
}

/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    #greeting {
        padding: 60px 0;
        background: var(--primary-palegreen);
    }

    .doctor__introduction {
        margin-top: 40px;
    }

    .greeting__summary {
        position: relative;
    }

    .greeting__unit {
        position: relative;
        display: block;
        padding: 40px 20px;
        border-radius: 20px;
        width: 100%;
        max-width: 700px;
        margin-left: 20px;
    }

    .greeting__back {
        position: absolute;
        top: 4%;
        left: -1%;
        width: 100%;
        max-width: 700px;
        height: 660px;
        border-radius: 20px;
    }

    .greeting__text {
        margin: 40px 0 20px 0;
    }

    .greeting__name {
        text-align: center;
    }


    .career {
        display: flex;
        align-items: stretch;
        gap: 40px;
        margin-top: 40px;
    }


    .greeting__list {
        position: relative;
        margin: 2em 0;
        padding: 1em;
        border: solid 3px var(--primary-green);
        background-color: var(--primary-white);
        width: 320px;
        border-radius: 0 5px 5px 5px;
        display: flex;
        /* 子要素の高さを揃えるためにflexを使用 */
        flex-direction: column;
    }

    .greeting__list .list-tit {
        position: absolute;
        display: inline-block;
        top: -37px;
        left: -3px;
        padding: 6px 20px;
        height: 35px;
        line-height: 25px;
        font-size: 2.4rem;
        background: var(--primary-green);
        color: var(--primary-white);
        font-weight: bold;
        border-radius: 5px 5px 0 0;
    }


    .list-design {
        display: flex;
        flex-direction: column;
        padding: 0;
        list-style: none;
        gap: 10px;
    }

    .list-design li {
        display: block;
        align-items: center;
        gap: 0px;
        color: var(--primary-black);
        font-family: "BIZ UDPGothic";
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 30px;
    }

    .list-design li p {
        margin: 0;
    }
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    #greeting {
        padding: 40px 0;
        background: var(--primary-palegreen);
    }

    .doctor__introduction {
        margin-top: 40px;
    }

    .greeting__summary {
        position: relative;
    }

    .greeting__unit {
        position: relative;
        display: block;
        padding: 40px 20px;
        border-radius: 20px;
        width: 100%;
        max-width: 300px;
        margin-left: 20px;
    }

    .greeting__back {
        position: absolute;
        top: 4%;
        left: -1%;
        width: 100%;
        max-width: 300px;
        height: 765px;
        border-radius: 20px;
    }

    .greeting__text {
        margin: 40px 0 20px 0;
    }

    .greeting__name {
        text-align: center;
    }


    .career {
        display: block;
        margin-top: 0px;
    }

    .greeting__list {
        position: relative;
        margin: 9em 0;
        padding: 2em;
        border: solid 3px var(--primary-green);
        background-color: var(--primary-white);
        width: 310px;
        border-radius: 0 5px 5px 5px;
    }

    .greeting__list .list-tit {
        position: absolute;
        display: inline-block;
        top: -37px;
        left: -3px;
        padding: 6px 20px;
        height: 35px;
        line-height: 25px;
        font-size: 2.4rem;
        background: var(--primary-green);
        color: var(--primary-white);
        font-weight: bold;
        border-radius: 5px 5px 0 0;
    }


    .list-design {
        display: block;
    }

    .list-design li {
        display: block;
        align-items: center;
        gap: 0px;
        color: var(--primary-black);
        font-family: "BIZ UDPGothic";
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 30px;
    }

    .list-design li p {
        margin: 0;
    }
}