.container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 20px 80px;
    font-family: '游ゴシック体', 'Yu Gothic', YuGothic, 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'MS Pゴシック', 'MS PGothic', sans-serif;
    color: #494949;
    font-size: 16px;
}

h1 {
    text-align: center; /* h1のテキストを中央揃えに */
    margin: 70px 0; /* 上下の余白 */
}

h2.block-heading {
    text-align: center;
    font-size: 20px;
    margin: 20px auto; /* 上下のマージンを20pxに設定し、左右は自動で中央揃え */
}

.area-title {
    text-align: center; /* タイトルテキストを中央揃えに */
    display: block; /* ブロックレベル要素として全幅を使用 */
    padding: 20px 0; /* 上下に余白を設定 */
    margin: 40px 0 20px; /* 上下の要素との間に余白を設定 */
    background-color: transparent; /* 背景色を透明に設定 */
    box-sizing: border-box; /* パディングを幅に含める */
}

.text-area {
    padding: 20px; /* 内側の余白 */
    margin-bottom: 20px; /* 下の余白 */
}


.area-list {
    display: flex;
    justify-content: flex-start; /* 右揃えに設定 */
    list-style-type: none;
    padding: 0;
    margin: 20px 0; /* 上下のマージンを20pxに設定 */
    flex-wrap: wrap;
    font-size: 16px; /* フォントサイズを18pxに設定 */
}

.area-list li {
    margin: 10px;
}

.area-list li::before {
    content: ">";
    color: #494949;
    font-size: 18px;
    margin-right: 5px;
}

.area-list a {
    text-decoration: none;
    color: #494949;
    font-size: 18px;
    border-bottom: 1px solid #494949;
}

.text-area {
    padding: 20px; /* 内側の余白 */
    margin-bottom: 20px; /* 下の余白 */
}

.hospital-info {
    font-size: 16px;
    border: 1px solid #ccc; /* 軽いグレーのボーダー */
    padding: 20px; /* 内側の余白 */
    margin-bottom: 20px; /* 下の余白 */
}

.hospital-name {
    font-size: 22px; /* フォントサイズを22pxに設定 */
    margin-bottom: 10px; /* 下の余白を設定 */
}

.address, .phone {
    display: flex;
    align-items: center; /* アイコンとテキストを中央揃え */
    font-size: 14px; /* 住所と電話番号のフォントサイズを小さく */
    margin-bottom: 10px; /* 各情報の下の余白 */
}

.address::before, .phone::before {
    content: "";
    display: inline-block;
    width: 24px; /* アイコンの幅 */
    height: 24px; /* アイコンの高さ */
    margin-right: 10px; /* アイコンの右の余白 */
    background-size: contain;
    background-repeat: no-repeat;
}

.address::before {
    background-image: url('path-to-address-icon.png'); /* 住所アイコンのパス */
}

.phone::before {
    background-image: url('path-to-phone-icon.png'); /* 電話アイコンのパス */
}

hr {
    border: none;
    height: 1px;
    background-color: #ccc; /* 水平線の色 */
    margin: 20px 0; /* 水平線の上下の余白 */
}

.address, .phone {
    font-size: 16px;
}

/* レスポンシブデザインのためのメディアクエリ */
@media (max-width: 790px) {
    .container {
        padding: 0 10px 40px;
    }

    .area-list, .area-list li {
        flex-direction: column;
        align-items: center;
    }

    .area-list li::before {
        margin: 0 10px 0 0;
    }

    .text-area {
        padding: 10px;
    }
}
