@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__list {
    margin-top: 80px;
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    border-radius: 20px;
    background: var(--white, #FFF);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.about__text {
    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) {
    .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__list {
        padding: 10px;
        gap: 16px;
    }

}

/* ----------------------------------------------------
呼吸器内科の診療についてスマホ用（〜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__list {
        padding: 10px;
        gap: 16px;
        margin-top: 40px;
        border-radius: 10px;
    }
}

/* -----------------喘息の治療------------------ */

.asthma {
    padding: 100px 15.3%;
    background: linear-gradient(180deg, #FFFAEF 0%, #FFF 100%);
}

.asthma h2 {
    text-decoration-color: #A97306;
}

.asthma h3 {
    border-left: 5px solid #A97306;
}

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

.asthma__list {
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    border-radius: 10px;
    border: 2px solid var(--primary-brown);
    background: var(--primary-white);
}

.asthma__text {
    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) {
    .asthma {
        padding: 60px 16%;
    }

    .asthma__lead {
        margin: 40px 0;
    }

    .asthma__list {
        padding: 10px;
        gap: 16px;
    }

}

/* ----------------------------------------------------
喘息の治療についてスマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .asthma {
        padding: 60px 6.9%;
    }

    .asthma__lead {
        margin: 40px 0;
    }

    .asthma__list {
        padding: 10px;
        gap: 16px;
    }

}

/* -----------------copd------------------ */
.copd {
    padding: 100px 15.3%;
}


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

.copd__list {
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    border-radius: 10px;
    background: var(--primary-palegreen);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

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

/* ----------------------------------------------------
copdタブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .copd {
        padding: 60px 16%;
    }

    .copd__lead {
        margin: 40px 0;
    }

    .copd__list {
        padding: 10px;
        gap: 16px;
    }
}

/* ----------------------------------------------------
copdスマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .copd {
        padding: 60px 6.9%;
    }

    .copd__lead {
        margin: 40px 0;
    }

    .copd__list {
        padding: 10px;
        gap: 16px;
    }

}

/* -----------------睡眠時無呼吸症候群------------------ */
.apnea {
    padding: 100px 15.3%;
    background-image: url('../images/apnea-back-pc.jpg');
    /* 画像のパスを正しいものに変更 */
    background-size: cover;
    /* 背景画像を要素全体にフィットさせます */
    background-position: center;
    /* 背景画像の位置を中央にします */
    background-repeat: no-repeat;
    /* 背景画像の繰り返しを防ぎます */
    text-align: center;
    position: relative;
    z-index: 1;
}

.apnea::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.3);
    z-index: -10;
}

.apnea__unit {
    display: flex;
    padding: 30px 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 70px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.70);
}

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

.apnea__list {
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    align-self: stretch;
    border-radius: 20px;
    background: var(--primary-white);
}

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

/* ----------------------------------------------------
睡眠時無呼吸症候群タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .apnea {
        padding: 60px 16%;
    }

    .apnea__unit {
        padding: 20px 10px;
        align-items: center;
        gap: 40px;
        border-radius: 20px;
    }


    .apnea__list {
        padding: 10px;
        gap: 16px;
        border-radius: 10px;
    }
}

/* ----------------------------------------------------
睡眠時無呼吸症候群スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .apnea {
        padding: 60px 6.9%;
    }

    .apnea__unit {
        padding: 20px 10px;
        align-items: center;
        gap: 40px;
        border-radius: 20px;
    }


    .apnea__list {
        padding: 10px;
        gap: 16px;
        border-radius: 10px;
    }

}

/* -----------------最新の診断機器での検査------------------ */

.inspection {
    padding: 100px 15.3%;
    background: var(--primary-palegreen);
}

.inspection__block {
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    align-self: stretch;
}

.inspection__list {
    display: flex;
    align-self: stretch;
    justify-content: center;
    padding: 30px 20px;
    flex-direction: column;
    gap: 20px;
    border-radius: 30px;
    background: var(--primary-white);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

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

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

.inspection__unit p {
    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) {
    .inspection {
        padding: 60px 16%;
    }

    .inspection__block {
        margin-top: 40px;
        gap: 30px;
    }

    .inspection__list {
        padding: 20px 10px;
        gap: 16px;
        border-radius: 10px;
    }

    .inspection__unit {
        display: block;
    }

    .inspection__unit img {
        border-radius: 10px;
    }

    .inspection__unit p {
        margin-top: 16px;
    }

}

/* ----------------------------------------------------
最新の診断機器での検査スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .inspection {
        padding: 60px 6.9%;
    }

    .inspection__block {
        margin-top: 40px;
        gap: 30px;
    }

    .inspection__list {
        padding: 20px 10px;
        gap: 16px;
        border-radius: 10px;
    }

    .inspection__unit {
        display: block;
    }

    .inspection__unit img {
        border-radius: 10px;
    }

    .inspection__unit p {
        margin-top: 16px;
    }

}