@charset "UTF-8";

/* --- カード内の基本テキストカラー設定 --- */
.p-info-card .p-card-body,
.p-info-card .p-card-content-body-lead,
.p-info-card .p-card-content-body,
.p-info-card .p-card-content-head b,
.p-info-card .p-card-content-body-footer {
    color: #ffffff !important;
}

/* --- 項目間の境界線（ボーダー）設定 --- */
.p-card-content-item {
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25); /* 白の透過線 */
}

/* 最後の項目は線を消す */
.p-card-content-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* 最初の項目は上の余白を詰める */
.p-card-content-item:first-child {
    padding-top: 0;
}

/* --- アイコンと見出しの微調整 --- */
.p-card-content-head {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.p-card-content-head i {
    font-size: 1.2rem;
    margin-right: 8px;
    color: #ffffff;
}

/* --- リード文のスタイル --- */
.p-card-content-body-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 500;
}

/* --- フッター補足のスタイル --- */
.p-card-content-body-footer {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* --- ユーティリティ（余白） --- */
.u-mt-20 {
    margin-top: 20px;
}/* CSS Document */

/* --- 1. 横並び（3個並び）を強制する --- */
.u-grid-3col {
    display: flex !important;
    gap: 20px !important;
    align-items: stretch !important;
    margin-bottom: 30px;
}

/* --- 2. カードの独立と丸みの再現 --- */
.p-info-card {
    flex: 1; /* 3等分に広げる */
    border-radius: 12px !important; /* 丸みを復活 */
    overflow: hidden; /* 角丸をヘッダーにも適用 */
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* --- 3. タイトルの帯を目立たせる --- */
.p-card-header {
    background-color: rgba(0, 0, 0, 0.25) !important; /* 濃い帯を作る */
    padding: 15px 20px !important;
    font-weight: bold !important;
    display: flex;
    align-items: center;
    color: #ffffff;
}

/* --- 4. 文字と線の余白（重なり防止） --- */
.p-card-body {
    padding: 20px !important;
}

.p-card-content-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.p-card-content-item:last-child {
    border-bottom: none;
}

/* 文字の行間 */
.p-card-content-body {
    line-height: 1.8;
    color: #ffffff;
}

/* --- レイアウト：グリッド --- */
.u-grid-3col {
    display: flex !important;
    gap: 20px !important;
    align-items: stretch !important;
}

.u-grid-2col {
    display: flex !important;
    gap: 20px !important;
    align-items: stretch !important;
}

/* --- カード本体：角丸と独立感 --- */
.p-info-card {
    flex: 1;
    border-radius: 12px !important; /* 丸みをページ3に合わせる */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
}

/* --- ヘッダー：タイトルの帯を強調 --- */
.p-card-header {
    background-color: rgba(0, 0, 0, 0.25) !important; /* 濃いめの帯 */
    padding: 15px 20px !important;
    font-weight: bold !important;
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 1.05rem;
}

/* --- ボディ：余白と項目の区切り --- */
.p-card-body {
    padding: 20px !important;
}

.p-card-content-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.p-card-content-item:last-child {
    border-bottom: none;
}

.p-card-content-body {
    line-height: 1.8;
    color: #ffffff;
}

/* --- 導入タイトル --- */
.p-intro-title {
    font-size: 1.2rem;
    color: #005bac;
    margin-bottom: 10px;
    font-weight: bold;
    border-left: 4px solid #005bac;
    padding-left: 10px;
}

/* --- ページ4：以前のグラデーションカラー定義を復活 --- */
.u-bg-blue   { background: linear-gradient(135deg, #005bac, #004080) !important; }
.u-bg-navy   { background: linear-gradient(135deg, #002d5a, #001a35) !important; }
.u-bg-green  { background: linear-gradient(135deg, #28a745, #1e7e34) !important; }
.u-bg-teal   { background: linear-gradient(135deg, #20c997, #17a2b8) !important; }
.u-bg-sky    { background: linear-gradient(135deg, #4da3ff, #0066cc) !important; }
.u-bg-orange { background: linear-gradient(135deg, #fd7e14, #d96300) !important; }
.u-bg-red    { background: linear-gradient(135deg, #dc3545, #bd2130) !important; }

/* 箇条書きのテキストが左に寄りすぎないよう調整 */
.p-card-content-body ul {
    margin-left: 20px;
    padding-left: 0;
}

/* ==========================================================================
   【スマホ版追加：アイコン上部中央 ＋ 横線 ＋ 本文左揃え】
   ========================================================================== */

@media screen and (max-width: 768px) {
    /* 1. グリッドを1列に強制 */
    .u-grid-3col, .u-grid-2col {
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* 2. PC版の固定高さをスマホでは解除 */
    .p-info-card {
        min-height: auto !important;
    }

    /* 3. タイトルエリアを中央揃えにして横線を入れる */
    .p-card-header {
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px 15px 15px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    }

    .p-card-header i {
        margin-right: 0 !important;
        margin-bottom: 10px !important;
        font-size: 2.5rem !important;
    }

    /* 4. 本文エリアを左揃えに（リストを見やすく） */
    .p-card-content-body {
        text-align: left !important;
        font-size: 0.95rem !important;
    }

    /* 項目名（建ぺい率：など）を改行して見やすく */
    .p-card-content-body b {
        display: block !important;
        margin-bottom: 5px !important;
    }
}