@charset "utf-8";

h2 {
    color: var(--primary-black);
    text-align: center;
    font-family: "Zen Maru Gothic";
    font-size: 4.0rem;
    font-weight: bold;
    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-skip-ink: none;
    text-decoration-color: #7AA270;
    text-decoration-thickness: 11.5%;
    /* 4.6px */
    text-underline-offset: 25%;
    /* 10px */
    text-underline-position: from-font;
}

h3 {
    padding: .1em .4em .1em .4em;
    border-left: 5px solid #7AA270;
    color: var(--primary-black);
    text-align: start;
    font-family: "Zen Maru Gothic";
    font-size: 3.2rem;
    font-weight: bold;
    line-height: normal;
    background: var(--primary-white);
}

.spbr {
    display: none;
}

/* ----------------------------------------------------
基本styleタブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    h2 {
        font-size: 3.2rem;
        text-underline-offset: 10%;
    }

    h3 {
        font-size: 2.4rem;
    }
}

/* ----------------------------------------------------
基本styleスマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    h2 {
        font-size: 2.4rem;
        text-underline-offset: 10%;
    }


    .spbr {
        display: block;
    }

    h3 {
        font-size: 2.0rem;
    }
}

/* -----------------呼吸器内科の診療について------------------ */
.about {
    padding: 100px 15.3%;
}

.about__unit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.about__img {
    margin: 0 auto;
    border-radius: 20px;
}

.about__lead {
    margin-top: 50px;
    color: var(--primary-black);
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    line-height: 30px;
}

.about__block {
    margin-top: 80px;
}

.about__list {
    display: flex;
    padding: 50px 100px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 58px;
    border-radius: 20px;
    border: 3px dashed var(--primary-green);
    background: var(--primary-palegreen);
    margin-top: 27px;
}

.about__item {
    font-family: "BIZ UDPGothic";
    font-size: 2.0rem;
    font-style: normal;
    line-height: normal;
    list-style: none;
}

.about__item::before {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 10px;
    background-color: var(--primary-green);
}


/* ----------------------------------------------------
呼吸器内科の診療についてタブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .about {
        padding: 60px 16%;
    }

    .about__unit {
        display: block;
    }

    .about__img {
        border-radius: 10px;
        margin-bottom: 40px;
    }

    .about__lead {
        margin-top: 40px;
    }

    .about__block {
        margin-top: 40px;
        display: block;
    }

    .about__item {
        font-size: 1.6rem;
    }

    .about__item::before {
        width: 15px;
        height: 15px;
    }

    .about__list {
        padding: 20px 10px;
        gap: 20px;
        margin-top: 40px;
        border-radius: 10px;
    }

}

/* ----------------------------------------------------
呼吸器内科の診療についてスマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .about {
        padding: 60px 6.9%;
    }

    .about__unit {
        display: block;
    }

    .about__img {
        border-radius: 10px;
        margin-bottom: 40px;
    }

    .about__lead {
        margin-top: 40px;
    }

    .about__block {
        margin-top: 40px;
        display: block;
    }

    .about__item {
        font-size: 1.6rem;
    }

    .about__item::before {
        width: 15px;
        height: 15px;
    }

    .about__list {
        padding: 20px 10px;
        gap: 20px;
        margin-top: 40px;
        border-radius: 10px;
    }
}

/* -----------------このような症状はご相談ください------------------ */
.symptoms {
    padding: 100px 15.3%;
    background-image: url('../images/cardiology-back.jpg');
    /* 画像のパスを正しいものに変更 */
    background-size: cover;
    /* 背景画像を要素全体にフィットさせます */
    background-position: center;
    /* 背景画像の位置を中央にします */
    background-repeat: no-repeat;
    /* 背景画像の繰り返しを防ぎます */
    text-align: center;
    position: relative;
    z-index: 1;
}

.symptoms::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: -10;
}

.symptoms__summary {
    background: rgba(238, 244, 236, 0.90);
    display: flex;
    padding: 40px 20px;
    flex-direction: column;
    gap: 40px;
}

.symptoms__lead {
    margin: 40px 0;
    color: var(--primary-black);
    text-align: center;
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    line-height: 30px;
}

.symptoms__block ul {
    padding: 30px 62px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 20px;
    background: var(--primary-white);
    display: grid;
    row-gap: 20px;
    column-gap: 146px;
    align-self: stretch;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
    text-align: start;
}

.symptoms__block ul li {
    color: var(--primary-black);
    font-family: "BIZ UDPGothic";
    font-size: 2.0rem;
    line-height: normal;
    list-style: none;
}

.symptoms__block ul li::before {
    content: "";
    width: 5px;
    height: 5px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 10px;
    margin-bottom: 5px;
    background-color: var(--primary-brown);
}

.symptoms__text {
    color: var(--primary-black);
    text-align: center;
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    line-height: 30px;
}

/* ----------------------------------------------------
このような症状はご相談くださいタブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
        .symptoms {
    padding: 60px 16%;
}

.symptoms__summary {
    padding: 20px 20px;
}

.symptoms__lead {
    margin: 40px 0 0;
}

.symptoms__block ul {
    padding: 30px 10px;
    border-radius: 10px;
    display: block;
}

.symptoms__block ul li {
    font-size: 1.6rem;
    margin: 15px 0;
}


.symptoms__text {
    text-align: start;
}
}

/* ----------------------------------------------------
このような症状はご相談くださいスマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .symptoms {
    padding: 60px 6.9%;
}

.symptoms__summary {
    padding: 20px 5px;
}

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

.symptoms__block ul {
    padding: 30px 10px;
    border-radius: 10px;
    display: block;
}

.symptoms__block ul li {
    font-size: 1.6rem;
    margin: 15px 0;
}


.symptoms__text {
    text-align: start;
}

}

/* -----------------当院で行える検査------------------ */
.inspection {
    padding: 100px 15.3%;
}

.inspection__lead {
    margin-top: 70px;
    color: var(--primary-black);
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    line-height: 30px;
    padding: 0 16%;
}

.inspection__block {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 108px;
}

.inspection__list {
    display: flex;
    padding: 20px 10px;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 20px;
    border-radius: 20px;
    border: 2px solid var(--primary-green);
    background: var(--primary-white);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.inspection__list img {
    margin: 0 auto;
    border-radius: 10px;
}

.inspection__list p {
    color: var(--primary-black);
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    line-height: 30px;
    padding: 0 6%;
}

/* ----------------------------------------------------
当院で行える検査タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .inspection {
        padding: 60px 16%;
    }

    .inspection__lead {
        margin-top: 40px;
        padding: 0;
    }

    .inspection__block {
        margin-top: 40px;
        display: block;
    }

    .inspection__list {
        padding: 20px;
    }


    .inspection__list p {
        padding: 0;
    }

    .inspection__block .inspection__list:nth-of-type(2) {
        margin-top: 40px;
    }
}

/* ----------------------------------------------------
当院で行える検査スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .inspection {
        padding: 60px 6.9%;
    }

    .inspection__lead {
        margin-top: 40px;
        padding: 0;
    }

    .inspection__block {
        margin-top: 40px;
        display: block;
    }

    .inspection__list {
        padding: 20px;
    }


    .inspection__list p {
        padding: 0;
    }

    .inspection__block .inspection__list:nth-of-type(2) {
        margin-top: 40px;
    }

}

/* -----------------循環器内科の治療------------------ */
.treatment {
    padding: 100px 15.3%;
    background: var(--primary-palegreen);
}

.treatment__lead {
    margin-top: 70px;
    color: var(--primary-black);
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    line-height: 30px;
}

.treatment__block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
}

.treatment__list {
    display: flex;
    padding: 30px 20px;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 30px;
    background: var(--primary-white);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.treatment__list img {
    margin: 0 auto;
}

.treatment__text {
    margin-top: 11px;
    color: var(--primary-black);
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    line-height: 30px;
}

/* ----------------------------------------------------
循環器内科の治療タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
        .treatment {
    padding: 60px 16%;
}

.treatment__lead {
    margin-top: 40px;
}

.treatment__list {
    display: block;
    padding: 10px;
    border-radius: 10px;
}

.treatment__list img {
    max-width: 209px;
    margin-bottom: 10px;
}
}

/* ----------------------------------------------------
循環器内科の治療スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .treatment {
    padding: 60px 6.9%;
}

.treatment__lead {
    margin-top: 40px;
}

.treatment__list {
    display: block;
    padding: 10px;
    border-radius: 10px;
}

.treatment__list img {
    max-width: 209px;
}

}

/* -----------------岩見沢市の循環器内科として------------------ */
.summary {
    padding: 100px 15.3%;
    background-image: url('../images/medical-information-back-pc.jpg');
    /* 画像のパスを正しいものに変更 */
    background-size: cover;
    /* 背景画像を要素全体にフィットさせます */
    background-position: center;
    /* 背景画像の位置を中央にします */
    background-repeat: no-repeat;
    /* 背景画像の繰り返しを防ぎます */
    text-align: center;
    position: relative;
    z-index: 1;
}

.summary::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: -10;

}

.summary__unit {
    display: flex;
    padding: 40px 20px;
    flex-direction: column;
    justify-content: center;
    gap: 70px;
    border-radius: 30px;
    background: var(--primary-white);
}

.summary__img {
    margin: 0 auto;
    border-radius: 20px;
}

.summary__text {
    color: var(--primary-black);
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 30px;
    text-align: start;
    padding: 0 5%;
}

/* ----------------------------------------------------
岩見沢市の循環器内科としてタブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .summary {
        padding: 60px 16%;
        background-image: url('../images/medical-information-back-sp.jpg');
        /* 画像のパスを正しいものに変更 */
    }

    .summary__unit {
        padding: 20px;
        gap: 40px;
        border-radius: 10px;
    }

    .summary__img {
        border-radius: 10px;
    }
}

/* ----------------------------------------------------
岩見沢市の循環器内科としてスマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .summary {
        padding: 60px 6.9%;
        background-image: url('../images/medical-information-back-sp.jpg');
        /* 画像のパスを正しいものに変更 */
    }

    .summary__unit {
        padding: 20px;
        gap: 40px;
        border-radius: 10px;
    }

    .summary__img {
        border-radius: 10px;
    }
}