/* ==========================================================================
   今日／昨日のUFO目撃情報（Conts_today）・都道府県別（Conts_area）
   世界のUFOニュース（.wn-*）のレイアウトを土台に、日付・地域まわりのUIを追加。
   ========================================================================== */

/* --- ヒーロー追加要素 --- */
.uj-td-hero__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 5px 12px;
    border: 1px solid #2a3648;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    color: #9fb0c6;
    background: rgba(6, 9, 17, .6);
}
.uj-td-hero__count {
    margin-top: 16px;
    font-size: 14px;
    color: #b7c3d4;
}
.uj-td-hero__count strong {
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 26px;
    color: #ff8a1e;
}

/* --- 日付／エリア切替タブ --- */
.uj-td-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 24px;
}
.uj-td-tab {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    border: 1px solid #1f2937;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #9fb0c6;
    background: #0b0f16;
    text-decoration: none;
    transition: all .15s ease;
}
.uj-td-tab:hover { border-color: #ff8a1e; color: #ff8a1e; }
.uj-td-tab.is-current {
    border-color: #ff8a1e;
    background: #ff8a1e;
    color: #12160f;
}

/* --- 一覧の地域バッジ --- */
.uj-td-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #1d4ed8;
}

/* サムネイルの無い投稿は本文を全幅で使う */
.uj-td-list .wn-item.is-nothumb { grid-template-columns: minmax(0, 1fr); }
.uj-td-list .wn-item__title a { color: inherit; text-decoration: none; }
.uj-td-list .wn-item__title a:hover { color: #ff8a1e; }

/* --- 前日／翌日ナビ --- */
.uj-td-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}
.uj-td-nav__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid #1f2937;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #b7c3d4;
    background: #0b0f16;
    text-decoration: none;
}
.uj-td-nav__btn:hover { border-color: #ff8a1e; color: #ff8a1e; }
.uj-td-nav__btn:only-child { margin-left: auto; }

/* --- 投稿導線 --- */
.uj-td-cta {
    margin-top: 32px;
    padding: 28px 26px;
    border: 1px solid #26303f;
    border-radius: 10px;
    background: linear-gradient(135deg, #101725 0%, #0a0e16 100%);
    text-align: center;
}
.uj-td-cta h2 {
    font-size: 19px;
    font-weight: 700;
    color: #eef1f6;
}
.uj-td-cta p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.9;
    color: #96a3b6;
}
.uj-td-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    padding: 13px 30px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #12160f;
    background: #ff8a1e;
    text-decoration: none;
}
.uj-td-cta__btn:hover { background: #ffa347; }

/* --- 今日ページ下部のエリアリンク --- */
.uj-td-areas { margin-top: 36px; }
.uj-td-arealist {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}
.uj-td-arealist a {
    display: block;
    padding: 11px 14px;
    border: 1px solid #1b232f;
    border-radius: 6px;
    font-size: 13px;
    color: #b7c3d4;
    background: #0b0f16;
    text-decoration: none;
}
.uj-td-arealist a:hover { border-color: #ff8a1e; color: #ff8a1e; }

/* --- サイド：日別件数 --- */
.uj-td-cal { padding: 6px 0; }
.uj-td-cal li { border-bottom: 1px solid #161d27; }
.uj-td-cal li:last-child { border-bottom: 0; }
.uj-td-cal a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13px;
    color: #b7c3d4;
    text-decoration: none;
}
.uj-td-cal a:hover { background: #101725; color: #ff8a1e; }
.uj-td-cal li.is-today a { color: #ff8a1e; font-weight: 700; }
.uj-td-cal__cnt {
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 14px;
    color: #8d99ab;
}

/* --- エリア一覧：投稿数の多い地域 --- */
.uj-ar-top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 14px 0 34px;
}
.uj-ar-top a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid #1b232f;
    border-radius: 6px;
    background: #0b0f16;
    text-decoration: none;
}
.uj-ar-top a:hover { border-color: #ff8a1e; }
.uj-ar-top__no {
    flex: none;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 13px;
    color: #12160f;
    background: #56637a;
}
.uj-ar-top li:nth-child(1) .uj-ar-top__no { background: #ffc23c; }
.uj-ar-top li:nth-child(2) .uj-ar-top__no { background: #c9d3e0; }
.uj-ar-top li:nth-child(3) .uj-ar-top__no { background: #c8834a; }
.uj-ar-top__name { flex: 1 1 auto; font-size: 14px; font-weight: 700; color: #dbe2ec; }
.uj-ar-top__cnt { font-family: 'Oswald', 'Noto Sans JP', sans-serif; font-size: 14px; color: #ff8a1e; }

/* --- エリア一覧：地方別グリッド --- */
.uj-ar-region { margin-top: 26px; }
.uj-ar-region__title {
    padding-left: 11px;
    border-left: 3px solid #ff8a1e;
    font-size: 15px;
    font-weight: 700;
    color: #eef1f6;
}
.uj-ar-region__title a { color: #eef1f6; text-decoration: none; }
.uj-ar-region__title a:hover { color: #ff8a1e; text-decoration: underline; }
.uj-ar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}
.uj-ar-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;
    color: #b7c3d4;
    background: #0b0f16;
    text-decoration: none;
}
.uj-ar-grid a:hover { border-color: #ff8a1e; color: #ff8a1e; }
.uj-ar-grid__cnt {
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 12px;
    color: #6f7d92;
}

/* --- エリア詳細：FAQ --- */
/* --- スポット別UFO目撃情報（Conts_spot）の本文 --- */
/* .uj-ar-faq は dl 用に margin-top:36px を持つため、
   見出し直下の地の文に流用すると空行が入る。地の文はこちらを使う。 */
.uj-sp-prose { margin-top: 14px; }
.uj-sp-prose p {
    margin: 0 0 14px;
    font-size: 13.5px;
    line-height: 1.9;
    color: #97a3b4;
}
.uj-sp-prose p:last-child { margin-bottom: 0; }
.uj-sp-prose a { color: #ff8a1e; }
.uj-sp-prose a:hover { text-decoration: underline; }
/* 地の文の次に来る見出しには、節と節の間隔を戻す */
.uj-sp-prose + .wn-sectbar { margin-top: 32px; }

.uj-ar-faq { margin-top: 36px; }
.uj-ar-faq dl { margin-top: 14px; }
.uj-ar-faq dt {
    position: relative;
    padding: 13px 16px 13px 40px;
    border: 1px solid #1b232f;
    border-radius: 6px 6px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: #eef1f6;
    background: #101725;
}
.uj-ar-faq dt::before {
    content: "Q";
    position: absolute;
    left: 16px;
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    color: #ff8a1e;
}
.uj-ar-faq dd {
    margin: 0 0 12px;
    padding: 14px 16px 14px 40px;
    border: 1px solid #1b232f;
    border-top: 0;
    border-radius: 0 0 6px 6px;
    font-size: 13px;
    line-height: 1.9;
    color: #96a3b6;
    background: #0b0f16;
}

/* --- UFO写真ガイド（Conts_photo::guide） --- */
.uj-pg-list { margin-top: 16px; counter-reset: none; }
.uj-pg-list__item {
    margin-bottom: 14px;
    padding: 17px 19px;
    border: 1px solid #1b232f;
    border-radius: 8px;
    background: #0b0f16;
}
.uj-pg-list__title {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 16px;
    font-weight: 700;
    color: #eef1f6;
}
.uj-pg-list__no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 14px;
    color: #0b0f16;
    background: #ff8a1e;
}
.uj-pg-list__sign {
    margin-top: 11px;
    padding: 9px 13px;
    border-left: 3px solid #ff8a1e;
    font-size: 13px;
    color: #ffc98a;
    background: #101725;
}
.uj-pg-list__body {
    margin-top: 11px;
    font-size: 13px;
    line-height: 1.95;
    color: #96a3b6;
}

.uj-pg-check { margin-top: 16px; }
.uj-pg-check li {
    margin-bottom: 11px;
    padding: 15px 17px 15px 44px;
    position: relative;
    border: 1px solid #1b232f;
    border-radius: 8px;
    background: #0b0f16;
}
.uj-pg-check li::before {
    content: "\f00c";
    position: absolute;
    left: 17px;
    top: 17px;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
    font-weight: 900;
    font-size: 13px;
    color: #ff8a1e;
}
.uj-pg-check h3 { font-size: 14px; font-weight: 700; color: #eef1f6; }
.uj-pg-check p { margin-top: 7px; font-size: 13px; line-height: 1.9; color: #96a3b6; }

.uj-pg-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    margin-top: 16px;
}
.uj-pg-gallery a {
    display: block;
    border: 1px solid #1b232f;
    border-radius: 8px;
    overflow: hidden;
    background: #0b0f16;
    text-decoration: none;
}
.uj-pg-gallery a:hover { border-color: #ff8a1e; }
.uj-pg-gallery img { display: block; width: 100%; height: 140px; object-fit: cover; }
.uj-pg-gallery__title {
    display: block;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.6;
    color: #b7c3d4;
}

.uj-pg-step { margin-top: 16px; }
.uj-pg-step li {
    margin-bottom: 11px;
    padding: 15px 17px;
    border: 1px solid #1b232f;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.9;
    color: #96a3b6;
    background: #0b0f16;
}
.uj-pg-step li strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #eef1f6;
}

.uj-pg-side {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    line-height: 1.7;
    color: #b7c3d4;
}

@media (max-width: 680px) {
    .uj-pg-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- サイド：近隣エリア --- */
.uj-ar-related { padding: 6px 0; }
.uj-ar-related li { border-bottom: 1px solid #161d27; }
.uj-ar-related li:last-child { border-bottom: 0; }
.uj-ar-related a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: #b7c3d4;
    text-decoration: none;
}
.uj-ar-related a:hover { background: #101725; color: #ff8a1e; }

@media (max-width: 1080px) {
    .uj-td-arealist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .uj-ar-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .uj-td-arealist { grid-template-columns: 1fr; }
    .uj-ar-top { grid-template-columns: 1fr; }
    .uj-ar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .uj-td-nav { flex-direction: column; }
    .uj-td-nav__btn { justify-content: center; }
}

/* --- サイド：投稿ボタン（Conts_today） --- */
.uj-td-post {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
    padding: 15px 17px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff8a1e 0%, #ff6a00 100%);
    box-shadow: 0 6px 18px rgba(255, 138, 30, .22);
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.uj-td-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 138, 30, .34);
}
.uj-td-post__ic {
    flex: none;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 15px;
    color: #ff7a0c;
    background: #fff;
}
.uj-td-post__body { display: block; min-width: 0; }
.uj-td-post__title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #14171c;
}
.uj-td-post__note {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.5;
    color: rgba(20, 23, 28, .72);
}

