/* ==================================================
   症状別施術ページ
   ファイル名例：css/symptoms.css
================================================== */

.symptoms-page {
    background: #f7faf5;
    color: #333;
}

.symptoms-page * {
    box-sizing: border-box;
}

.symptoms-hero {
    padding: 90px 20px 70px;
    background:
        linear-gradient(rgba(26, 96, 50, 0.78), rgba(26, 96, 50, 0.78)),
        url("/images/bed.jpg") center / cover no-repeat;
    color: #fff;
    text-align: center;
}

.symptoms-hero__inner,
.symptoms-index__inner,
.treatment-overview__inner,
.clinic-access__inner {
    width: min(100%, 1100px);
    margin: 0 auto;
}

.symptoms-hero__eyebrow,
.section-heading__sub {
    margin: 0 0 8px;
    color: #6dbe45;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.symptoms-hero__eyebrow {
    color: #d9f2cf;
}

.symptoms-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 6vw, 56px);
    line-height: 1.35;
}

.symptoms-hero__lead {
    max-width: 760px;
    margin: 22px auto 0;
    color: #fff;
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1.9;
}

.symptoms-index,
.treatment-overview,
.clinic-access {
    padding: 75px 20px;
}

.section-heading {
    margin-bottom: 38px;
    text-align: center;
}

.section-heading h2 {
    margin: 0;
    color: #24462b;
    font-size: clamp(27px, 4vw, 38px);
    line-height: 1.5;
}

.symptom-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.symptom-card {
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(33, 81, 41, 0.09);
    transition: transform 0.25s, box-shadow 0.25s;
}

.symptom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(33, 81, 41, 0.15);
}

.symptom-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.symptom-card__image {
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: #edf4e9;
}

.symptom-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.symptom-card:hover .symptom-card__image img {
    transform: scale(1.035);
}

.symptom-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.symptom-card__body h3 {
    margin: 0 0 12px;
    color: #24462b;
    font-size: 22px;
    line-height: 1.5;
}

.symptom-card__body p {
    margin: 0 0 20px;
    color: #5d665f;
    font-size: 15px;
    line-height: 1.85;
}

.symptom-card__more {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    color: #4f9e31;
    font-weight: 800;
}

.symptom-card__more::after {
    margin-left: 8px;
    content: "→";
}

.symptoms-note {
    margin-top: 45px;
    padding: 35px;
    background: #fff;
    border: 1px solid #dcebd6;
    border-radius: 16px;
    text-align: center;
}

.symptoms-note h2 {
    margin: 0 0 15px;
    color: #24462b;
    font-size: 24px;
}

.symptoms-note p {
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.9;
}

.symptoms-note__buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 15px 25px;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.cta-button--line {
    background: #06c755;
}

.cta-button--tel {
    background: #4f9e31;
}

.treatment-overview {
    background: #fff;
}

.treatment-flow,
.treatment-photo {
    text-align: center;
}

.treatment-flow img,
.treatment-photo img {
    display: block;
    width: min(100%, 850px);
    height: auto;
    margin: 0 auto;
    border-radius: 16px;
}

.treatment-list {
    display: grid;
    gap: 18px;
    width: min(100%, 900px);
    margin: 40px auto;
}

.treatment-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    align-items: start;
    padding: 26px;
    background: #f4f9f1;
    border-radius: 14px;
}

.treatment-card__number {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    background: #6dbe45;
    border-radius: 50%;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}

.treatment-card h3 {
    margin: 0 0 8px;
    color: #24462b;
    font-size: 21px;
}

.treatment-card p {
    margin: 0;
    color: #505a52;
    line-height: 1.9;
}

.medical-note {
    width: min(100%, 900px);
    margin: 28px auto 0;
    padding: 18px 20px;
    background: #fff8e8;
    border-left: 5px solid #d9a441;
    color: #5c513f;
    font-size: 14px;
    line-height: 1.8;
}

.clinic-access__text {
    margin: 0 0 25px;
    text-align: center;
}

.clinic-access__map {
    overflow: hidden;
    width: min(100%, 900px);
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(33, 81, 41, 0.1);
}

.clinic-access__map iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

@media (max-width: 900px) {
    .symptom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .symptoms-hero {
        padding: 65px 18px 50px;
    }

    .symptoms-index,
    .treatment-overview,
    .clinic-access {
        padding: 50px 15px;
    }

    .symptom-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .symptom-card__body {
        padding: 20px;
        text-align: center;
    }

    .symptoms-note {
        padding: 28px 18px;
    }

    .symptoms-note__buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 320px;
    }

    .treatment-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .treatment-card__number {
        margin: 0 auto;
    }

    .clinic-access__map iframe {
        height: 330px;
    }
}
.symptom-list {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.symptom-list h1 {
    text-align: center;
    margin-bottom: 40px;
}

.symptom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.symptom-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.symptom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.symptom-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.symptom-card h2 {
    margin: 20px 20px 10px;
    font-size: 1.4rem;
}

.symptom-card p {
    margin: 0 20px 24px;
    line-height: 1.8;
}

@media screen and (max-width: 768px) {
    .symptom-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .symptom-card img {
        height: 150px;
    }

    .symptom-card h2 {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .symptom-grid {
        grid-template-columns: 1fr;
    }
}
