@charset "UTF-8";

/* ==========================================================================
   料金案内（price.html）専用スタイル
   ※ヘッダー・ページ見出し・フッターは common.css にあります
   ========================================================================== */

.main-content {
    padding-top: 70px;
}

.main-content .container {
    max-width: 900px;
}

.section-block {
    margin-bottom: 60px;
    scroll-margin-top: 90px; /* リンクで飛んだ時にヘッダーに隠れないように */
}

.section-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 12px;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--orange);
}

.section-subtitle {
    font-size: 22px;
    font-weight: 700;
    border-left: 6px solid var(--green);
    padding-left: 14px;
    margin-bottom: 25px;
}

.table-caption {
    font-size: 16px;
    font-weight: 700;
    margin: 30px 0 14px;
}

.intro-lead {
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 30px;
}

.text-orange {
    color: var(--orange-dark);
    font-size: 18px;
}

/* ---------- 3つのメニューボックス ---------- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.menu-box {
    display: block;
    background-color: #effaf3;
    border: 1px solid var(--green);
    padding: 24px 10px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    transition: background-color 0.2s, color 0.2s;
}

.menu-box span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-sub);
    margin-top: 4px;
}

.menu-box:hover {
    background-color: var(--green);
    color: #ffffff;
}

.menu-box:hover span {
    color: #ffffff;
}

/* ---------- 急なお怪我の案内 ---------- */
.alert-box {
    background-color: #ffffff;
    border: 2px solid var(--green);
    padding: 25px;
}

.alert-box h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--green-dark);
    text-align: center;
    margin-bottom: 10px;
}

.alert-box p {
    font-size: 15px;
    color: #555555;
    text-align: center;
}

/* ---------- 保険適用の疾患 ---------- */
.disease-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.disease-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 18px 20px;
}

.disease-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--orange-dark);
    border-bottom: 1px solid var(--orange);
    padding-bottom: 4px;
    margin-bottom: 8px;
}

.disease-card p {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.6;
}

/* ---------- 料金表 ---------- */
.table-scroll {
    overflow-x: auto; /* 表がはみ出す時は表だけ横スクロール */
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
}

.price-table th,
.price-table td {
    border: 1px solid var(--line);
    padding: 12px 15px;
    text-align: center;
}

.price-table th {
    background-color: #fff4e8;
    font-size: 15px;
    font-weight: 700;
}

.price-table td {
    font-size: 15px;
}

.price-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.price-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* ---------- 注意事項 ---------- */
.note-box {
    background-color: var(--orange-light);
    border: 1px solid var(--orange);
    padding: 20px;
    margin-top: 25px;
    font-size: 14px;
    color: var(--text-sub);
}

.note-box p {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
}

.note-box p:last-child {
    margin-bottom: 0;
}

.note-box p::before {
    content: "※";
    position: absolute;
    left: 0;
    color: var(--orange);
}

/* ---------- 予約への誘導 ---------- */
.page-cta {
    padding: 35px 20px;
    text-align: center;
    background-color: var(--orange-light);
    border: 3px solid var(--orange);
}

.page-cta p {
    font-weight: 700;
    margin-bottom: 18px;
}

/* ==========================================================================
   スマホ
   ========================================================================== */
@media (max-width: 768px) {
    .main-content {
        padding-top: 50px;
    }

    .section-title {
        font-size: 22px;
    }

    .section-subtitle {
        font-size: 19px;
    }

    .intro-lead {
        font-size: 15px;
        text-align: left;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .menu-box {
        padding: 16px 10px;
        font-size: 18px;
    }

    .alert-box {
        padding: 20px 16px;
    }

    .alert-box p {
        text-align: left;
    }

    .disease-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .disease-card {
        padding: 14px;
    }

    .price-table th,
    .price-table td {
        padding: 10px 8px;
        font-size: 14px;
    }

    .page-cta {
        padding: 28px 16px;
    }
}

@media (max-width: 420px) {
    .disease-grid {
        grid-template-columns: 1fr;
    }
}
