/* 病院一覧 */
.hospital_list {
    padding: 80px 0;
}
.hospital_region {
    margin-bottom: 80px;
    scroll-margin-top: 100px;
}
.hospital_region:last-child {
    margin-bottom: 0;
}
.hospital_region_title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
}

/* テーブル */
.hospital_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.hospital_table thead th {
    padding: 14px 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #fff;
    background-color: var(--color-primary);
    text-align: left;
    letter-spacing: 0.04em;
}
.hospital_table tbody td {
    padding: 16px 20px;
    color: var(--color-text-light);
    border-bottom: 1px solid var(--color-border-light);
    vertical-align: middle;
}
.hospital_table tbody tr:last-child td {
    border-bottom: 1px solid var(--color-border);
}
.hospital_td_name a {
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}
.hospital_td_name a:hover {
    color: var(--color-accent);
}
.hospital_td_tel {
    white-space: nowrap;
}

/* 注意書き */
.note {
    padding: 60px 0;
    background-color: var(--color-bg-gray);
}
.note_inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--color-bg);
    border-left: 4px solid var(--color-accent);
}
.note_title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 16px;
}
.note_text {
    font-size: 0.875rem;
    line-height: 2;
    color: var(--color-text-light);
}

/* PC */
@media screen and (min-width: 900px) {
    .hospital_th_name {
        width: 28%;
    }
    .hospital_th_address {
        width: 38%;
    }
    .hospital_th_doctor {
        width: 16%;
    }
    .hospital_th_tel {
        width: 18%;
    }
}

/* SP */
@media screen and (max-width: 899px) {
    .hospital_list {
        padding: 48px 0;
    }
    .hospital_region {
        margin-bottom: 48px;
        scroll-margin-top: 80px;
    }
    .hospital_region_title {
        font-size: 1.125rem;
    }
    .hospital_table thead {
        display: none;
    }
    .hospital_table,
    .hospital_table tbody,
    .hospital_table tr,
    .hospital_table td {
        display: block;
    }
    .hospital_table tbody tr {
        padding: 16px 0;
        border-bottom: 1px solid var(--color-border-light);
    }
    .hospital_table tbody tr:last-child {
        border-bottom: 1px solid var(--color-border);
    }
    .hospital_table tbody td {
        padding: 2px 0;
        border-bottom: none;
    }
    .hospital_td_name {
        font-size: 0.9375rem;
        font-weight: 500;
        margin-bottom: 4px;
    }
    .hospital_td_address {
        font-size: 0.8125rem;
    }
    .hospital_td_doctor {
        font-size: 0.8125rem;
        margin-top: 4px;
    }
    .hospital_td_tel {
        font-size: 0.8125rem;
        margin-top: 4px;
        white-space: normal;
    }
    .note {
        padding: 40px 0;
    }
    .note_inner {
        padding: 24px;
    }
}
