@charset "utf-8";

h2 {
    position: relative;
    display: block;
    margin: 0 auto 1em;
    text-align: center;
    color: var(--primary-black);
    font-family: "Zen Maru Gothic";
    font-size: 3.6rem;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
}


h2:before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background-color: var(--primary-lightgreen);
    border-radius: 2px;
}

.spbr {
    display: none;
}

h3 {
    color: var(--primary-black);
    text-align: center;
    font-family: "Zen Maru Gothic";
    font-size: 3.2rem;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-skip-ink: auto;
    text-decoration-color: #91B389;
    text-decoration-thickness: 17.5%;
    text-underline-offset: 50%;
    text-underline-position: from-font;
}


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

    h3 {
        font-size: 2.4rem;
        text-decoration-thickness: 17.5%;
        /* 3.5px */
        text-underline-offset: 22.5%;
        /* 4.5px */
    }
}

/* ----------------------------------------------------
基本styleスマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    h2 {
        font-size: 2.0rem;
    }
    h2:before {
        bottom: -18px;
    }
    .spbr {
        display: block;
    }

    h3 {
        font-size: 2.0rem;
        text-decoration-thickness: 17.5%;
        /* 3.5px */
        text-underline-offset: 22.5%;
        /* 4.5px */
    }
}

/* -----------------こんな吐き気に悩んでいませんか？------------------ */
.worries {
    padding: 100px 16.6%;
}

.worries__list {
    display: grid;
    height: 304px;
    padding: 50px;
    row-gap: 58px;
    column-gap: 105px;
    align-self: stretch;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 20px;
    background: var(--palegreen, #EEF4EC);
    margin: 69px 0;
}

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

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

.worries__description {
    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) {
    .worries {
        padding: 60px 8.8%;
    }

    .worries__list {
        height: auto;
        padding: 50px;
        row-gap: 20px;
        column-gap: 20px;
    }

    .worries__item {
        margin: 0;
    }

}


/* ----------------------------------------------------
こんな吐き気に悩んでいませんか？スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .worries {
        padding: 60px 6.9%;
    }

    .worries__list {
        display: block;
        height: auto;
        padding: 20px;
        border-radius: 10px;
        margin: 80px auto 40px;
    }

    .worries__item {
        font-size: 1.6rem;
        line-height: 30px;
        margin: 20px 0;
    }

    .worries__item::before {
        width: 10px;
        height: 10px;
    }

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

/* -----------------吐き気が起こる原因とは------------------ */

.causes__summary {
    padding: 100px 16.6%;
}

.causes__intro {
    text-align: center;
}

.causes__image {
    margin: 70px auto;
}

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

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

.causes__list {
    display: flex;
    padding: 50px 30px;
    flex-direction: column;
    align-items: flex-start;
    gap: 87px;
    align-self: stretch;
    border-radius: 20px;
    background: var(--palegreen, #EEF4EC);
    margin-top: 70px;
}

.causes__item {
    position: relative;
    font-family: "Noto Sans JP";
    font-size: 2.4rem;
    font-weight: 700;
    line-height: normal;
    list-style: none;
}

.causes__item::before {
    content: attr(data-number);
    display: inline-block;
    margin-right: 20px;
    color: var(--primary-green);
    font-size: 3.0rem;
    border-bottom: 1px solid #7AA270;
}

.causes__item-title {
    color: var(--primary-black);
    font-family: "Zen Maru Gothic";
    font-size: 2.8rem;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
}

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

.causes__note {
    color: var(--primary-black);
    text-align: center;
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    margin: 70px 0;
}

.polygon {
    margin: 0 auto;
}


/* ----------------------------------------------------
吐き気が起こる原因とはタブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .causes__summary {
        padding: 60px 8.8%;
    }

    .causes__lead {
        text-align: start;
    }

    .causes__list {
        margin-top: 40px;
        gap: 40px;
    }

    .causes__item {
        font-size: 2.0rem;
    }


    .causes__item-title {
        font-size: 2.8rem;
    }
}

/* ----------------------------------------------------
吐き気が起こる原因とはスマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .causes__summary {
        padding: 60px 6.9%;
    }


    .causes__image {
        margin: 70px auto 40px;
    }

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

    .causes__lead {
        text-align: start;
    }

    .causes__list {
        display: block;
        padding: 20px 10px;
        border-radius: 10px;
        margin-top: 40px;
    }

    .causes__item {
        font-size: 2.4rem;
    }

    .causes__item::before {
        font-size: 2.4rem;
        margin-right: 5px;
    }

    .causes__item-title {
        font-size: 2.0rem;
    }

    .causes__item-text {
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .causes__note {
        margin: 50px 0 20px 0;
    }

    .polygon {
        margin: 0 auto;
        width: 100%;
        max-width: 51px;
    }

}

/* -----------------消化器が原因------------------ */
.causes__group--digestive {
    padding: 50px 21.6%;
    background-color: var(--primary-lightgreen);
    position: relative;
    z-index: 1;
}

.causes__group-lead {
    color: var(--primary-black);
    text-align: center;
    font-family: "BIZ UDPGothic";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    margin: 50px 0;
}

.causes__group-item {
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    border-radius: 10px;
    background: var(--primary-white);
    margin-bottom: 59px;
}

.causes__group-item-title {
    color: var(--primary-black);
    font-family: "Zen Maru Gothic";
    font-size: 2.4rem;
    font-weight: bold;
    line-height: normal;
}

.causes__group-item-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) {
    .causes__group--digestive {
        padding: 60px 6.9%;
    }

    .causes__group-lead {
        text-align: start;
    }

}

/* ----------------------------------------------------
消化器が原因スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .causes__group--digestive {
        padding: 60px 6.9%;
    }

    .causes__group-lead {
        margin: 50px 0 40px 0;
        text-align: start;
    }

    .causes__group-item {
        margin-bottom: 40px;
    }

    .causes__group-item-title {
        font-size: 2.0rem;
    }

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

}

/* -----------------消化器以外に原因があって起こる病気------------------ */

.causes__group--extra {
    padding: 100px 6.8%;
}

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

.causes__group-list--cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 47px;
    column-gap: 102px;
}

.causes__group-item {
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border-radius: 10px;
    border: 1px solid #7AA270;
    background: var(--primary-white);
}

.causes__group-item-title {
    color: var(--primary-green);
    font-family: "Zen Maru Gothic";
    font-size: 2.4rem;
    font-weight: bold;
    line-height: normal;
}

.causes__group-item-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) {
    .causes__group--extra {
        padding: 60px 6.9%;
    }

    .causes__group-lead {
        margin: 67px 0;
    }

    .causes__group-list--cols-2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
        column-gap: 40px;
    }


}

/* ----------------------------------------------------
消化器以外に原因があって起こる病気スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .causes__group--extra {
        padding: 60px 6.9%;

    }

    .causes__group-lead {
        margin: 50px 0 40px 0;
        text-align: start;
    }

    .causes__group-item {
        margin-bottom: 40px;
    }

    .causes__group-item-title {
        font-size: 2.0rem;
    }

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

    .causes__group-list--cols-2 {
        display: block;
    }

}

/* -----------------病気以外に原因があって起こる病気------------------ */
.causes__group--non-illness {
    padding: 100px 13%;
    background-color: var(--primary-palegreen);
    position: relative;
    z-index: 1;
}

.cardlist__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 50px;
    column-gap: 80px;
    margin-top: 100px;
}

.c-card {
    padding: 10px;
    border-radius: 20px;
    background: var(--primary-white);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.c-card__media img {
    border-radius: 10px;
    margin: 0 auto;
    width: 100%;
}

.c-card__title {
    color: var(--primary-green);
    text-align: center;
    font-family: "Zen Maru Gothic";
    font-size: 2.4rem;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
    margin: 24px 0;
}

.c-card__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) {
    .causes__group--non-illness {
        padding: 60px 6.9%;
    }

    .cardlist__items {
        row-gap: 60px;
        column-gap: 20px;
        margin-top: 60px;
    }
}

/* ----------------------------------------------------
病気以外に原因があって起こる病気スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .causes__group--non-illness {
        padding: 60px 6.9%;
    }

    .cardlist__items {
        display: block;
        margin-top: 50px;

    }

    .c-card {
        height: auto;
        margin-top: 40px;
    }

    .c-card__title {
        font-size: 2.0rem;
        margin: 10px 0;
    }
}


/* -----------------吐き気がある時どこで受診すればいいのか？------------------ */
.receive {
    padding: 80px 14.5%;
    background-image: url('../images/hospital-background.png');
    /* 画像のパスを正しいものに変更 */
    background-size: cover;
    /* 背景画像を要素全体にフィットさせます */
    background-position: center;
    /* 背景画像の位置を中央にします */
    background-repeat: no-repeat;
    /* 背景画像の繰り返しを防ぎます */
    text-align: center;
    position: relative;
    z-index: 1;
}

.receive::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;

}

.receive__inner {
    background: rgba(255, 255, 255, 0.80);
    position: relative;
    z-index: 1;
    padding: 40px 7%;
}

.p-exceed {
    margin-top: 73px;
    position: relative;
}

.p-exceed__header {
    position: relative;
    z-index: 2;
    margin: 0 auto -20px;
    padding: 10px;
    max-width: 590px;
    border-radius: 10px;
    border: 1px solid #7AA270;
    background: var(--primary-white);
    color: var(--primary-green);
    text-align: center;
    font-family: "Zen Maru Gothic";
    font-size: 3.2rem;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
}

.p-exceed--days .p-exceed__header {
    background: var(--primary-green);
    color: var(--primary-white);
}

.p-exceed__body {
    display: flex;
    padding: 32px 15px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    flex-shrink: 0;
    border-radius: 20px;
    background: var(--primary-palegreen);
}

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

.c-list {
    color: var(--primary-black);
    font-family: "BIZ UDPGothic";
    font-size: 2.0rem;
    line-height: normal;
    text-align: start;
    list-style: none;
}

.c-list--disc li {
    position: relative;
    padding-left: 1.2em;


}

.c-list--disc li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-brown);
    font-weight: bold;
}

.c-list--cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
    column-gap: 46px;
    margin-top: 20px;
}



/* ----------------------------------------------------
吐き気がある時どこで受診すればいいのか？タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .receive {
        padding: 60px 6.9%;
    }

    .p-exceed__body {
        gap: 10px;
    }

    .p-exceed__body p {
        text-align: start;
    }

}

/* ----------------------------------------------------
吐き気がある時どこで受診すればいいのか？スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .receive {
        padding: 60px 6.9%;
    }

    .receive__inner {
        padding: 20px 1%;
    }

    .p-exceed {
        margin-top: 70px;
    }

    .p-exceed__header {
        margin: 0 auto -20px;
        max-width: 268px;
        font-size: 2.0rem;
    }

    .p-exceed__body {
        display: block;
        padding: 32px 9px;
        border-radius: 10px;
    }

    .p-exceed__body p {
        text-align: start;
    }

    .c-list {
        font-size: 1.6rem;
    }


    .c-list--cols-2 {
        display: block;
        margin-top: 30px;
    }

    .c-list--cols-2 li {
        margin: 15px 0;
    }
}

/* -----------------吐き気が起こる病気の治療方法------------------ */

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

.treatment::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;

}

.treatment img {
    margin: 54px auto;
    border-radius: 20px;
}

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

.treatment__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 55px;
    column-gap: 43px;
    text-align: start;
    margin: 100px auto 80px;
}

.treatment__item {
    padding: 20px;
    border-radius: 10px;
    background: var(--primary-white);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    list-style: none;
}

.treatment__disease {
    color: var(--primary-green);
    font-family: "Zen Maru Gothic";
    font-size: 2.4rem;
    font-weight: bold;
    text-align: start;
}

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

.treatment__note {
    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) {
    .treatment {
        padding: 60px 6.9%;
    }


    .treatment img {
        margin: 60px auto;
    }

    .treatment__intro {
        text-align: start;
    }

    .treatment__list {
        row-gap: 40px;
        column-gap: 20px;
    }


    .treatment__note {
        text-align: start;
    }
}

/* ----------------------------------------------------
吐き気が起こる病気の治療方法スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .treatment {
        padding: 60px 6.9%;
        background-image: url('../images/check-back-sp.jpg');
    }

    .treatment__intro {
        text-align: start;
    }

    .treatment img {
        margin: 80px auto 40px;
    }

    .treatment__item {
        margin: 40px auto;
    }

    .treatment__list {
        display: block;
        margin: 40px auto;
    }


    .treatment__disease {
        font-size: 2.0rem;
    }

    .treatment__description {
        margin-top: 10px;
    }

    .treatment__note {
        text-align: start;
    }
}

/* -----------------吐き気に関するよくある質問------------------ */

.qa {
    padding: 100px 11%;
}

.qa-summary {
    margin-top: 80px;
}

.qa__item {
    margin-bottom: 5px;
    border-bottom: 2px solid #d2e7cc;
}

.qa__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    font-weight: 600;
    cursor: pointer;
    color: var(--primary-black);
    font-family: "Zen Maru Gothic";
    font-size: 2.4rem;
    font-weight: bold;
}

.qa__question::before,
.qa__answer::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.qa__question::before {
    color: var(--primary-green);
    content: "Q";
    font-weight: bold;
}

.qa__question::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}

.qa__item::after {
    transform: rotate(225deg);
}

.qa__answer {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    transition: transform .5s, opacity .5s;
    color: var(--primary-black);
    font-family: "Zen Maru Gothic";
    font-size: 2.4rem;
}

.qa__item[open] p {
    transform: none;
    opacity: 1;
}

.qa__answer::before {
    color: var(--primary-lightgreen);
    line-height: 1.2;
    content: "A";
}

/* ----------------------------------------------------
吐き気に関するよくある質問タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .qa {
        padding: 60px 6.9%;
    }


    .qa__question {
        font-size: 1.6rem;
    }


    .qa__answer {
        font-size: 1.6rem;
    }
}

/* ----------------------------------------------------
吐き気に関するよくある質問スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .qa {
        padding: 60px 6.9%;
    }

    .qa-summary {
        margin-top: 60px;
    }

    .qa__item {
        margin-bottom: 5px;
        border-bottom: 2px solid #d2e7cc;
    }

    .qa__question {
        font-size: 1.6rem;
        padding: 1em 1em 1em 3em;
    }


    .qa__answer {
        font-size: 1.6rem;
    }

    .qa__item[open] p {
        transform: none;
        opacity: 1;
    }

}


/* -----------------まとめ------------------ */
.summary {
    padding: 100px 18.8%;
    background-color: var(--primary-palegreen);
    position: relative;
    z-index: 1;
}

.summary__text {
    margin-top: 76px;
    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) {
    .summary {
        padding: 60px 6.9%;
    }

    .summary__text {
        text-align: start;
    }
}

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

    .summary__text {
        margin-top: 80px;
        text-align: start;
    }
}