/* ========================================================= */
/* --- About Page Styles (当院についてページ) --- */
/* ========================================================= */

/* 医院情報テーブル (PC) */
.clinic-info-pc-table {
    display: block;
}

/* 医院情報リスト (SP) */
.clinic-info-sp-list {
    display: none;
}

/* 駐車場案内 (修正箇所) */
.parking-wrapper {
    max-width: 800px;
    /* PCで広がりすぎないように制限 */
    margin: 0 auto 60px;
    /* 中央寄せ */
    background: var(--color-pale, #f0f8ff);
    /* 医院理念等と合わせた薄いブルー */
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid var(--color-main);
    /* アクセントカラーの縦線 */
}

.parking-content {
    line-height: 1.9;
    color: var(--color-text, #333);
}

.parking-content p {
    margin-bottom: 1.5em;
}

/* リッチエディタ内のリスト(ol/ul)装飾 */
.parking-content ol,
.parking-content ul {
    margin: 20px 0;
    padding-left: 1.5em;
}

.parking-content li {
    margin-bottom: 10px;
    font-weight: 500;
}

/* 数字付きリスト(ol)の数字を強調 */
.parking-content ol li::marker {
    color: var(--color-main);
    font-weight: bold;
}

/* 医院理念リスト (モダン) - キーカラー (#005B98) のカスタムチェックマークを適用 */
.philosophy-list-modern ul {
    list-style: none;
    /* デフォルトのマーカーを無効化 */
    padding: 0;
    margin: 0;
}

.philosophy-list-modern li {
    position: relative;
    padding: 12px 0 12px 35px;
    /* 左側にチェックマークのスペースを確保 */
    margin-bottom: 0;
    /* 区切り線をより見やすく調整 */
    border-bottom: 1px solid var(--color-pale, #f0f8ff);
    color: var(--color-text, #333);
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 500;
}

.philosophy-list-modern li:last-child {
    border-bottom: none;
}

/* カスタムチェックマークの作成 */
.philosophy-list-modern li::before {
    content: "\2714";
    /* Unicodeのチェックマーク（✔） */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    /* キーカラー #005B98 を適用 */
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1;
}

/* WYSIWYGでリスト以外の要素が追加された場合の調整 */
.philosophy-list-modern p {
    margin-bottom: 15px;
    /* 段落の適切な余白 */
    line-height: 1.7;
}

/* パンくずリスト */
.breadcrumb-wrapper {
    background: var(--color-light-purple);
    padding: 10px 0;
}

.breadcrumb-container {
    font-size: 0.9rem;
    text-align: center;
}

/* 医院紹介セクション */
.about-intro-flex {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    align-items: center;
}

.about-intro-image-wrapper {
    flex: 0 0 350px;
    max-width: 350px;
    width: 100%;
    order: 1;
}

.about-intro-image {
    border-radius: 5px;
    width: 100%;
    height: auto;
    display: block;
}

.about-intro-text-wrapper {
    flex: 1;
    min-width: 300px;
    order: 2;
}

.about-intro-text {
    line-height: 1.8;
}

/* 医院理念 */
.philosophy-container {
    background: var(--color-pale);
    padding: 50px;
    border-radius: 10px;
    margin-bottom: 60px;
}

/* 当院の特徴 */
.about-features-grid {
    gap: 20px;
    margin-bottom: 60px;
}

.feature-card-title {
    font-size: 1.2rem;
    color: var(--color-main);
    margin-bottom: 10px;
    margin-top: 0px;
    text-align: center;
}

.feature-card-text {
    line-height: 1.6;
}

/* 医院情報 */
.clinic-info-table-wrapper {
    background: #fff;
    border: none;
    /* 外枠を削除 */
    padding: 0;
    /* 枠内の余白をリセット */
    border-radius: 0;
    margin-bottom: 60px;
}

.clinic-info-table {
    width: 100%;
    border-collapse: collapse;
    /* セルを密着させ隙間を削除 */
    font-size: 1rem;
    border-top: 1px solid #eee;
    /* テーブル最上部の罫線を追加 */
}

.clinic-info-table th,
.clinic-info-table td {
    padding: 16px 20px;
    /* 行の隙間を消した分、セル内の余白で高さを調整 */
    border-bottom: 1px solid #eee;
    /* 行間および最下部の罫線 */
    vertical-align: middle;
}

.clinic-info-table th {
    width: 150px;
    color: var(--color-main);
    text-align: center;
    background-color: #fcfcfc;
}

.clinic-info-table td {
    text-align: left;
}

/* 医院情報 (SP) */
.clinic-info-sp-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 1rem;
    text-align: center;
}

.clinic-info-sp-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.clinic-info-sp-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.clinic-info-sp-label {
    width: 100%;
    color: var(--color-main);
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

/* CTA */
.cta-wrapper {
    text-align: center;
}

/* ========================================================= */
/* --- Media Query: スマホ対応（768px以下） --- */
/* ========================================================= */

@media (max-width: 767px) {
    .clinic-info-pc-table {
        display: none !important;
    }

    .clinic-info-sp-list {
        display: block !important;
    }

    .philosophy-container {
        padding: 30px;
    }

    .parking-wrapper {
        padding: 25px 20px;
        margin-bottom: 40px;
    }
}

@media (min-width: 768px) {
    .clinic-info-sp-list {
        display: none !important;
    }
}

/* PC表示の時、リストを中央寄りに調整 */
@media (min-width: 768px) {
    .philosophy-list-modern ul {
        max-width: 600px;
        /* お好みの幅に調整してください */
        margin-top: 30px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
        /* テキスト自体は左揃えを維持 */
    }
}

/* 箇条書きの余白を少し整える */
.philosophy-list-modern ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}