/* メインコンテンツ幅制限 */
.l-main>.p-entry__body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    font-family: "Yu Gothic", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
}

/* 施設セクション */
.facility-section {
    margin-bottom: 3em;
    padding: 1.5em;
    background: #fdfdfd;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

/* 施設名 */
.facility-section>h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color_main, #007acc);
    margin-bottom: 1em;
}

/* 冒頭説明文 */
.facility-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2em;
}

/* モデルケースカード */
.modelcase-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 1.5em;
    margin-bottom: 2em;
}

/* モデルケースタイトル */
.modelcase-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1em;
    color: #333;
}

/* モデルケース上部：画像と備品内訳 */
.modelcase-top {
    display: flex;
    gap: 2em;
    margin-bottom: 1.5em;
    align-items: flex-start;
}

.modelcase-image {
    flex: 0 0 480px;
    border-radius: 8px;
    overflow: hidden;
}

.modelcase-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.modelcase-equipments {
    flex: 1;
    background: #f8f9fa;
    padding: 1em;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.modelcase-equipments-title {
    font-weight: 600;
    color: var(--color_main, #007acc);
    margin-bottom: 0.5em;
    font-size: 1rem;
}

.modelcase-equipments-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* 料金例横並び */
.modelcase-prices {
    display: flex;
    gap: 1.5em;
    margin-top: 1.5em;
    flex-wrap: wrap;
}


.modelcase-prices-item p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

/* modelcase-prices-itemは縦レイアウト */
.modelcase-prices-item {
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    padding: 0.8em 1em;
    margin-bottom: 0.5em;
}

/* ラベルは縦に表示 */
.modelcase-prices-item h4 {
    font-weight: 600;
    color: var(--color_main, #007acc);
    font-size: 1rem;
    margin-bottom: 0.5em;
}

/* 備品代のみ目安＋金額を横並び */
.price-row {
    display: flex;
    align-items: center;
    gap: 0.2em;
}

.price-base-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #007acc;
}

.price-amount {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
}

/* タイトル＋料金を横並び */
.modelcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* 上揃え */
    gap: 1.5em;
    margin-bottom: 1.2em;
}

.modelcase-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* タイトル横の料金 */
.modelcase-prices-inline {
    display: flex;
    gap: 1em;
    /* 複数料金の間隔 */
}

.price-inline-item {
    background: #f8f9fa;
    /* 薄い背景色 */
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0.8em 1.2em;
    text-align: center;
    min-width: 160px;
    /* 幅をそろえる */
}

.price-inline-item h4 {
    margin: 0 0 0.4em;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color_main, #007acc);
}

.modelcase-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* 注意書き */
.modelcase-note {
    font-size: 0.85rem;
    color: #c00;
    /* 赤系で目立たせる */
    margin: 0.2em 0 0;
    line-height: 1.4;
}


/* レスポンシブ */
@media screen and (max-width: 768px) {
    .modelcase-top {
        flex-direction: column;
    }

    .modelcase-image,
    .modelcase-equipments {
        flex: 1 1 100%;
    }

    .modelcase-prices-item {
        flex: 1 1 100%;
    }

    .modelcase-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .modelcase-prices-inline {
        margin-top: 0.5em;
        gap: 1em;
    }

    .modelcase-prices-inline {
        flex-direction: column;
        width: 100%;
    }

    .price-inline-item {
        width: 100%;
        /* モバイルは横幅いっぱい */
    }
}