/* ==========================================================
   全国UFO目撃情報マップ／統計（/conts_map）
   ========================================================== */

/* --- 数字サマリ --- */
.uj-mp-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 6px 0 22px;
}
.uj-mp-stats li {
    padding: 14px 10px;
    border: 1px solid #1b232f;
    border-radius: 6px;
    background: #0b0f16;
    text-align: center;
}
.uj-mp-stats__num {
    display: block;
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 24px;
    line-height: 1.2;
    color: #ff8a1e;
}
.uj-mp-stats__label {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    color: #8b99ad;
}

/* --- ヒートマップ凡例 --- */
.uj-mp-legend {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 10px 0 4px;
    font-size: 11px;
    color: #6f7d92;
}
.uj-mp-legend i {
    width: 20px;
    height: 11px;
    border-radius: 2px;
    border: 1px solid #1b232f;
}
.uj-mp-legend i.is-l1 { background: #131b26; }
.uj-mp-legend i.is-l2 { background: #4a3418; }
.uj-mp-legend i.is-l3 { background: #8a5312; }
.uj-mp-legend i.is-l4 { background: #ff8a1e; }

/* --- ヒートマップ本体 --- */
.uj-mp-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}
.uj-mp-grid a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 11px 13px;
    border: 1px solid #1b232f;
    border-radius: 6px;
    font-size: 13px;
    background: #0b0f16;
    text-decoration: none;
}
.uj-mp-grid a:hover { border-color: #ff8a1e; }
.uj-mp-grid__name { color: #b7c3d4; font-weight: 700; }
.uj-mp-grid__cnt {
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 12px;
    color: #6f7d92;
}
/* 件数に応じた濃淡（0件はそのまま） */
.uj-mp-grid a.is-l1 { background: #131b26; }
.uj-mp-grid a.is-l2 { background: #2c2318; border-color: #3b2c17; }
.uj-mp-grid a.is-l3 { background: #4d3413; border-color: #6d4715; }
.uj-mp-grid a.is-l3 .uj-mp-grid__name,
.uj-mp-grid a.is-l4 .uj-mp-grid__name { color: #fff3e4; }
.uj-mp-grid a.is-l3 .uj-mp-grid__cnt { color: #ffc48a; }
.uj-mp-grid a.is-l4 {
    background: #8a5312;
    border-color: #ff8a1e;
}
.uj-mp-grid a.is-l4 .uj-mp-grid__cnt { color: #ffd9ac; }

/* --- 都道府県ランキング --- */
.uj-mp-rank {
    margin: 14px 0 32px;
    list-style: none;
}
.uj-mp-rank a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid #1b232f;
    border-radius: 6px;
    background: #0b0f16;
    text-decoration: none;
    margin-bottom: 6px;
}
.uj-mp-rank a:hover { border-color: #ff8a1e; }
.uj-mp-rank__no {
    flex: none;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 12px;
    color: #12160f;
    background: #56637a;
}
.uj-mp-rank li:nth-child(1) .uj-mp-rank__no { background: #ffc23c; }
.uj-mp-rank li:nth-child(2) .uj-mp-rank__no { background: #c9d3e0; }
.uj-mp-rank li:nth-child(3) .uj-mp-rank__no { background: #c8834a; }
.uj-mp-rank__name {
    flex: none;
    width: 84px;
    font-size: 13px;
    font-weight: 700;
    color: #dbe2ec;
}
.uj-mp-rank__bar {
    flex: 1 1 auto;
    height: 8px;
    border-radius: 4px;
    background: #131b26;
    overflow: hidden;
}
.uj-mp-rank__bar i {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #8a5312, #ff8a1e);
}
.uj-mp-rank__cnt {
    flex: none;
    width: 62px;
    text-align: right;
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 12px;
    color: #ff8a1e;
}

/* --- 月別推移 --- */
.uj-mp-trend {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 190px;
    margin: 14px 0 32px;
    padding: 14px 12px 0;
    border: 1px solid #1b232f;
    border-radius: 6px;
    background: #0b0f16;
}
.uj-mp-trend li {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    min-width: 0;
}
.uj-mp-trend__bar {
    width: 100%;
    max-width: 34px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, #ff8a1e, #8a5312);
    order: 2;
}
.uj-mp-trend__num {
    order: 1;
    margin-bottom: 4px;
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 11px;
    color: #8b99ad;
}
.uj-mp-trend__label {
    order: 3;
    margin-top: 6px;
    font-size: 10.5px;
    color: #6f7d92;
    white-space: nowrap;
}

/* --- 地方別 --- */
.uj-mp-region {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 14px 0 18px;
}
.uj-mp-region a {
    display: block;
    padding: 12px 14px;
    border: 1px solid #1b232f;
    border-radius: 6px;
    background: #0b0f16;
    text-decoration: none;
}
.uj-mp-region a:hover { border-color: #ff8a1e; }
.uj-mp-region__name { display: block; font-size: 13px; font-weight: 700; color: #dbe2ec; }
.uj-mp-region__meta {
    display: block;
    margin-top: 4px;
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 11px;
    color: #ff8a1e;
}

/* --- 最近の目撃情報 --- */
.uj-mp-recent { margin: 14px 0 32px; }
.uj-mp-recent a {
    display: block;
    padding: 11px 14px;
    margin-bottom: 6px;
    border: 1px solid #1b232f;
    border-radius: 6px;
    background: #0b0f16;
    text-decoration: none;
}
.uj-mp-recent a:hover { border-color: #ff8a1e; }
.uj-mp-recent__meta {
    display: block;
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 11px;
    color: #6f7d92;
}
.uj-mp-recent__meta em { font-style: normal; margin-left: 8px; color: #ff8a1e; }
.uj-mp-recent__body {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.7;
    color: #b7c3d4;
}

/* --- 読み方 --- */
.uj-mp-note {
    padding: 18px 20px;
    margin: 14px 0 30px;
    border: 1px solid #1b232f;
    border-radius: 6px;
    background: #0b0f16;
}
.uj-mp-note h3 {
    margin: 18px 0 8px;
    padding-left: 11px;
    border-left: 3px solid #ff8a1e;
    font-size: 14px;
    font-weight: 700;
    color: #eef1f6;
}
.uj-mp-note h3:first-child { margin-top: 0; }
.uj-mp-note p {
    font-size: 13px;
    line-height: 1.95;
    color: #aab6c7;
}
.uj-mp-note a { color: #ffb063; }

@media screen and (max-width: 767px) {
    .uj-mp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .uj-mp-stats__num { font-size: 20px; }
    .uj-mp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .uj-mp-region { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .uj-mp-rank__name { width: 62px; font-size: 12px; }
    .uj-mp-rank__cnt { width: 52px; font-size: 11px; }
    .uj-mp-trend { height: 150px; gap: 3px; padding: 12px 8px 0; }
    .uj-mp-trend__num { font-size: 9.5px; }
    .uj-mp-trend__label { font-size: 9.5px; }
    .uj-mp-note { padding: 15px 15px; }
}

/* ページャの省略記号（/conts_area・地方ページ） */
.wn-pager__gap {
    display: inline-block;
    padding: 0 4px;
    font-size: 12px;
    color: #6f7d92;
}

