/* =============================================================
 * UIリニューアル「Stadium Gold」— 20 一覧（エリア・地区・釣り場・投稿一覧・検索）
 * 担当: 一覧担当
 * - 投稿一覧の行カード（.review > .item）はサイト全体の共通部品。
 *   トップ・エリア・地区・釣り場・投稿一覧・検索・マイページ・ユーザーページで同じ見た目になる。
 * - 全セレクタは body.ui-r 配下。HTML・JS には一切手を入れていない。
 * ============================================================= */

body.ui-r {
    /* 行カードで使うアイコン（SVG を mask に使う。色は currentColor で塗る） */
    --ui-li-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 4.4a2.6 2.6 0 1 1 0 5.2 2.6 2.6 0 0 1 0-5.2z'/%3E%3C/svg%3E");
    --ui-li-cal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M7 2h2v2h6V2h2v2h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2zM5 10v10h14V10z'/%3E%3C/svg%3E");
    --ui-li-fish: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M1.5 12S5 6 11.5 6c3.6 0 6.3 1.9 7.9 3.5L22.5 7v10l-3.1-2.5C17.8 16.1 15.1 18 11.5 18 5 18 1.5 12 1.5 12zm13.3-2.3a1.3 1.3 0 1 0 0 2.6 1.3 1.3 0 0 0 0-2.6z'/%3E%3C/svg%3E");
    --ui-li-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm-1.1 4.5v6.6l5 3 1.1-1.8-3.9-2.3V6.5z'/%3E%3C/svg%3E");
    --ui-li-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.2s-7.6-4.6-9.6-9.3C1 8.5 3.1 4.4 7 4.4c2.1 0 3.6 1.1 5 2.9 1.4-1.8 2.9-2.9 5-2.9 3.9 0 6 4.1 4.6 7.5-2 4.7-9.6 9.3-9.6 9.3z'/%3E%3C/svg%3E");
    --ui-li-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5l7 7-7 7' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --ui-li-photo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230d4f8c' fill-opacity='.22' d='M1.5 12S5 6 11.5 6c3.6 0 6.3 1.9 7.9 3.5L22.5 7v10l-3.1-2.5C17.8 16.1 15.1 18 11.5 18 5 18 1.5 12 1.5 12z'/%3E%3C/svg%3E");
}

/* =============================================================
 * 1. 一覧の白カード（.list-review）と見出しまわり
 * ============================================================= */

/* 件数見出し「49件の釣果情報」「投稿 一覧 12件」：灰色のベタ帯 → 紺の文字＋金の下線の上品な帯 */
body.ui-r .list-review .head {
    position: relative;
    background:
        radial-gradient(120% 140% at 50% 0%, rgba(76, 195, 240, .16) 0%, rgba(76, 195, 240, 0) 60%),
        linear-gradient(180deg, #fff 0%, var(--ui-surface-2) 100%);
    color: var(--ui-navy-800);
    font-weight: 800;
    letter-spacing: .04em;
    border-radius: var(--ui-r-lg) var(--ui-r-lg) 0 0;
    border-bottom: 1px solid var(--ui-line);
    box-shadow: var(--ui-hl-top);
}
body.ui-r .list-review .head:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 64px;
    height: 4px;
    margin-left: -32px;
    border-radius: 4px;
    background: var(--ui-gold-grad);
    box-shadow: 0 2px 6px rgba(168, 143, 0, .35);
    pointer-events: none;
}
body.ui-r .list-review .head span {
    font-family: var(--ui-font-display);
    color: var(--ui-gold-deep);
}
/* 「下書き一覧へ」は帯の中の小さなピル */
body.ui-r .list-review .head .edit {
    border-radius: var(--ui-r-pill);
}

/* 「投稿件数の少ない今がチャンス！」の吹き出し：灰色 → 夜の紺に金の文字 */
body.ui-r .create-review .help {
    background: var(--ui-night-grad);
    color: #fff;
    border-radius: var(--ui-r);
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 0 0 1px rgba(76, 195, 240, .25), 0 10px 24px rgba(7, 21, 38, .22);
}
body.ui-r .create-review .help span {
    color: var(--ui-gold-hi);
    text-shadow: 0 0 14px rgba(240, 212, 58, .45);
}
body.ui-r .create-review .help:before {
    border-right-color: #071526;
}
body.ui-r .create-review .help:after {
    border-left-color: #071526;
}

/* =============================================================
 * 2. 投稿一覧の行カード（.review > .item）
 *    サムネ ＋ [地域][釣行日][釣り場] ＋ タイトル本文 ＋ 続きを読む ＋ 日時 ＋ ハート
 * ============================================================= */

body.ui-r .review > .item {
    /* float の2カラム → grid の2カラム（float は grid 内で無効になるので既存指定と衝突しない） */
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 22px;
    align-items: stretch;
    position: relative;
    overflow: visible;
    padding: 18px;
    margin: 0 -18px;
    border-bottom: 1px solid var(--ui-line);
    border-radius: var(--ui-r);
    background-color: transparent;
    transition:
        background-color var(--ui-dur-2) var(--ui-ease),
        box-shadow var(--ui-dur-2) var(--ui-ease),
        transform var(--ui-dur-2) var(--ui-ease),
        border-color var(--ui-dur-2) var(--ui-ease);
}
body.ui-r .review > .item:first-child {
    padding-top: 18px;
}
body.ui-r .review > .item:last-of-type {
    border-bottom-color: transparent;
}
/* 行全体ホバーで薄く浮く */
@media (hover: hover) {
    body.ui-r .review > .item:not(.edit):hover {
        background-color: #fff;
        border-bottom-color: transparent;
        transform: translateY(-2px);
        box-shadow:
            0 0 0 1px rgba(13, 79, 140, .08),
            0 2px 4px rgba(7, 21, 38, .05),
            0 14px 34px rgba(7, 21, 38, .12);
    }
}

/* ---- サムネ：角丸の正方形・中身は cover。寸法（200 / 190 / 120px）は既存指定のまま ---- */
body.ui-r .review > .item > figure {
    float: none;
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    margin: 0;
    border-radius: var(--ui-r);
    /* 画像が無い・読み込めない投稿でも枠が空白にならないよう、うっすら魚のシルエット */
    background:
        var(--ui-li-photo) center / 46% no-repeat,
        linear-gradient(160deg, var(--ui-aqua-pale) 0%, #d4eaf6 100%);
    box-shadow:
        0 0 0 1px rgba(14, 42, 61, .06),
        0 2px 4px rgba(7, 21, 38, .08),
        0 8px 18px rgba(7, 21, 38, .10);
}
/* 写真の上にごく薄い光沢（装飾の擬似要素。pointer-events なし） */
body.ui-r .review > .item:not(.edit) > figure:after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 38%, rgba(7, 21, 38, 0) 70%, rgba(7, 21, 38, .10) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
    pointer-events: none;
}
body.ui-r .review > .item > figure img {
    display: block;
    /* 読み込めない画像の代替テキストは小さく控えめに（消さない） */
    font-size: 11px;
    line-height: 1.4;
    color: var(--ui-ink-2);
}
@media (hover: hover) {
    body.ui-r .review > .item:hover > figure img {
        transform: scale(1.05);
    }
}

/* ---- 右側のテキスト列 ---- */
body.ui-r .review > .item > .caption {
    float: none;
    grid-column: 2;
    grid-row: 1;
    width: auto;
    margin: 0;
    padding: 2px 0 0;
    height: auto;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
/* 投稿一覧（自分の投稿）の「編集／下書きにする」：本文の列の下に横並び */
body.ui-r .review > .item > .btn-s {
    grid-column: 2;
    float: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: auto;
    margin-top: 12px;
}
body.ui-r .review > .item > .btn-s .btn-result {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 200px;
    max-width: 320px;
    width: auto;
    min-height: 44px;
    margin: 0;
    padding: 8px 18px;
    font-size: 15px;
    line-height: 1.3;
    border-radius: var(--ui-r-pill);
}
/* 「下書きにする」はインライン style の width:200px を外して控えめなアウトラインのピルに */
body.ui-r .review > .item > .btn-s .btn-new-add {
    position: static;
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto !important;
    min-height: 44px;
    height: auto;
    margin: 0;
    padding: 8px 20px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-pill);
    background: #fff;
    color: var(--ui-ink-2);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    transition: background-color var(--ui-dur-1) var(--ui-ease), color var(--ui-dur-1) var(--ui-ease), border-color var(--ui-dur-1) var(--ui-ease);
}
body.ui-r .review > .item > .btn-s .btn-new-add:hover,
body.ui-r .review > .item > .btn-s .btn-new-add:focus {
    background: var(--ui-surface-2);
    border-color: var(--ui-ink-2);
    color: var(--ui-ink);
}

/* ---- メタ情報（地域・釣行日・釣り場）→ 小さなピルが横に並ぶ ---- */
body.ui-r .review .item .caption h3 {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    height: auto;
    max-height: none;
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--ui-ink-2);
    letter-spacing: .02em;
}
body.ui-r .review .item .caption h3 p {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    margin: 0;
    padding: 4px 10px 4px 8px;
    border-radius: var(--ui-r-pill);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ui-navy-700);
    background: var(--ui-surface-2);
    box-shadow: inset 0 0 0 1px var(--ui-line);
    white-space: normal;
    overflow-wrap: anywhere;
}
body.ui-r .review .item .caption h3 p:before {
    content: "";
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    background-color: currentColor;
    -webkit-mask: var(--ui-li-fish) center / contain no-repeat;
    mask: var(--ui-li-fish) center / contain no-repeat;
    opacity: .85;
}
/* 1つ目＝地域（金のピル） */
body.ui-r .review .item .caption h3 p:first-child {
    color: var(--ui-gold-deep);
    background: linear-gradient(180deg, #fff8d1 0%, #fbeea6 100%);
    box-shadow: inset 0 0 0 1px rgba(168, 143, 0, .28);
}
body.ui-r .review .item .caption h3 p:first-child:before {
    -webkit-mask-image: var(--ui-li-pin);
    mask-image: var(--ui-li-pin);
}
/* 2つ目（3つ並ぶとき）＝釣行日（水色のピル）。改行由来の「4 月」の隙間を詰める */
body.ui-r .review .item .caption h3 p:nth-child(2):not(:last-child) {
    color: var(--ui-navy);
    background: var(--ui-aqua-pale);
    box-shadow: inset 0 0 0 1px rgba(76, 195, 240, .35);
    font-family: var(--ui-font-body);
    word-spacing: -.32em;
}
body.ui-r .review .item .caption h3 p:nth-child(2):not(:last-child):before {
    -webkit-mask-image: var(--ui-li-cal);
    mask-image: var(--ui-li-cal);
}

/* ---- タイトル＋本文の抜粋（いちばん強く） ---- */
body.ui-r .review .item .caption > p {
    height: auto;
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.65;
    color: var(--ui-ink);
    letter-spacing: .01em;
    overflow-wrap: anywhere;
}
/* リンクを含まない本文だけ行数で丸める（PC 2行。リンク入りの段落は切らない） */
body.ui-r .review .item .caption > p:not(:has(a)) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

/* ---- 「[続きを読む]」→ 上品なテキストリンク＋小さな矢印 ---- */
body.ui-r .review > .item:not(.edit) > .caption > a:not([href="#"]),
body.ui-r .review .item .caption > p > a {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin: 2px 0 0;
    padding: 2px 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .04em;
    color: var(--ui-navy);
    text-decoration: none;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
    transition: color var(--ui-dur-1) var(--ui-ease), background-size var(--ui-dur-2) var(--ui-ease);
}
body.ui-r .review .item .caption > p > a {
    margin-left: 6px;
    vertical-align: baseline;
}
body.ui-r .review > .item:not(.edit) > .caption > a:not([href="#"]):after,
body.ui-r .review .item .caption > p > a:after {
    content: "";
    width: 12px;
    height: 12px;
    background-color: currentColor;
    -webkit-mask: var(--ui-li-chev) center / contain no-repeat;
    mask: var(--ui-li-chev) center / contain no-repeat;
    transition: transform var(--ui-dur-2) var(--ui-ease);
}
body.ui-r .review > .item:not(.edit) > .caption > a:not([href="#"]):hover,
body.ui-r .review .item .caption > p > a:hover {
    color: var(--ui-navy-hi);
    background-size: 100% 1.5px;
}
body.ui-r .review > .item:not(.edit):hover > .caption > a:not([href="#"]):after,
body.ui-r .review .item:hover .caption > p > a:after {
    transform: translateX(3px);
}

/* ---- 投稿日時（下端にそろえる・ハートの分だけ右をあける） ---- */
body.ui-r .review .item .caption .time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: stretch;
    min-height: 48px;
    margin-top: auto;
    padding-top: 10px;
    padding-right: 84px;
    border-top: 1px dashed var(--ui-line-strong);
    font-size: 13px;
    font-family: var(--ui-font-display);
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--ui-ink-2);
}
body.ui-r .review .item .caption .time:before {
    content: "";
    width: 12px;
    height: 12px;
    background-color: currentColor;
    -webkit-mask: var(--ui-li-clock) center / contain no-repeat;
    mask: var(--ui-li-clock) center / contain no-repeat;
    opacity: .7;
}

/* ---- ハート（いいね数）→ 右下の押しやすいピル ---- */
body.ui-r .review .item .caption span {
    position: absolute;
    top: auto;
    left: auto;
    right: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    min-width: 68px;
    height: 38px;
    padding: 0 14px 0 12px;
    border-radius: var(--ui-r-pill);
    background: #fff;
    background-image: linear-gradient(180deg, #fff 0%, #fff4f6 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 77, 109, .28),
        inset 0 1px 0 rgba(255, 255, 255, .9),
        0 2px 6px rgba(255, 77, 109, .14);
    filter: none;
    color: var(--ui-heart);
    font-family: var(--ui-font-display);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    transition:
        transform var(--ui-dur-2) var(--ui-ease-spring),
        box-shadow var(--ui-dur-2) var(--ui-ease),
        background-color var(--ui-dur-2) var(--ui-ease);
}
body.ui-r .review .item .caption span:before {
    content: "";
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    background-color: currentColor;
    -webkit-mask: var(--ui-li-heart) center / contain no-repeat;
    mask: var(--ui-li-heart) center / contain no-repeat;
    filter: drop-shadow(0 1px 1px rgba(255, 77, 109, .3));
}
/* 中の fa-heart-o は Font Awesome 5 に字形が無く何も描かれない。既存の absolute 指定のまま流れに影響させない */
body.ui-r .review .item .caption span i {
    pointer-events: none;
}
body.ui-r .review .item:hover .caption span {
    transform: scale(1.06);
    box-shadow:
        inset 0 0 0 1px rgba(255, 77, 109, .45),
        inset 0 1px 0 rgba(255, 255, 255, .9),
        0 6px 16px rgba(255, 77, 109, .24);
}

/* ---- 「投稿件数の少ない今がチャンス！」の行（.item.edit）→ 金の点線で囲んだ募集カード ---- */
body.ui-r .review > .item.edit {
    margin-top: 10px;
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(240, 212, 58, .22) 0%, rgba(240, 212, 58, 0) 55%),
        #fffdf3;
    border: 1.5px dashed rgba(168, 143, 0, .55);
    border-radius: var(--ui-r-lg);
}
body.ui-r .review > .item.edit > figure {
    box-shadow: var(--ui-shadow-1);
}
body.ui-r .review > .item.edit > .caption {
    justify-content: center;
    gap: 8px;
}
body.ui-r .review .item.edit .caption a:last-child {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    color: var(--ui-navy);
    font-weight: 700;
}
body.ui-r .review .item.edit .caption a:last-child:after {
    content: "";
    width: 12px;
    height: 12px;
    background-color: currentColor;
    -webkit-mask: var(--ui-li-chev) center / contain no-repeat;
    mask: var(--ui-li-chev) center / contain no-repeat;
}
body.ui-r .review .item.edit .caption a.btn-faq {
    color: #fff;
}
body.ui-r .review .item.edit .caption a.btn-create,
body.ui-r .review .item.edit .caption a.btn-faq {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-left: 0;
    margin-right: 0;
}

/* ---- 空状態「投稿の少ない今がチャンス！」 ---- */
body.ui-r .review > .text-center.font-s-24 {
    position: relative;
    margin: 8px 0 4px;
    padding: 76px 20px 30px;
    border-radius: var(--ui-r-lg);
    border: 1.5px dashed rgba(13, 79, 140, .22);
    background:
        radial-gradient(90% 120% at 50% 0%, rgba(76, 195, 240, .18) 0%, rgba(76, 195, 240, 0) 60%),
        var(--ui-surface-2);
    color: var(--ui-navy-800);
    font-weight: 800;
    letter-spacing: .04em;
}
body.ui-r .review > .text-center.font-s-24:before {
    content: "";
    position: absolute;
    top: 22px;
    left: 50%;
    width: 44px;
    height: 44px;
    margin-left: -22px;
    border-radius: 50%;
    background:
        var(--ui-li-photo) center / 70% no-repeat,
        #fff;
    box-shadow: 0 0 0 1px var(--ui-line), 0 6px 16px rgba(7, 21, 38, .10);
}

/* 「一覧を見る／もっと見る」：行カードの下に少し余白 */
body.ui-r .list-review .view-more {
    margin-top: 28px;
}

/* =============================================================
 * 3. 釣果の集計表（.list-table）と見出し（.table h2）
 * ============================================================= */

/* 見出し「直近1か月間の◯◯の釣り場・釣果一覧表」：左線を金→紺のバーに */
body.ui-r .container-h.table > h2 {
    color: var(--ui-navy-800);
    font-weight: 800;
    letter-spacing: .02em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}
body.ui-r .container-h.table > h2:before {
    border-left: 0;
    width: 6px;
    height: 1em;
    min-height: 20px;
    border-radius: 6px;
    background: linear-gradient(180deg, #fff6c2 0%, var(--ui-gold-hi) 45%, var(--ui-navy) 46%, var(--ui-navy-800) 100%);
    box-shadow: 0 1px 3px rgba(7, 21, 38, .25);
}

/* 表：1つ1つを白い角丸カードに。見出し行は紺＋金の細線、数は Outfit の金のピル */
body.ui-r .list-table {
    overflow: visible;
}
body.ui-r .list-table:after {
    content: "";
    display: table;
    clear: both;
}
body.ui-r .list-table table,
body.ui-r .container-h.table .result table {
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: var(--ui-r);
    overflow: hidden;
    box-shadow: var(--ui-card-shadow);
}
body.ui-r .list-table table {
    border-bottom: 0;
}
body.ui-r .list-table table tr th,
body.ui-r .container-h.table .result table tr th {
    background: var(--ui-navy-grad);
    color: #fff;
    font-weight: 800;
    letter-spacing: .03em;
    box-shadow: inset 0 -3px 0 var(--ui-gold), inset 0 1px 0 rgba(255, 255, 255, .18);
    text-shadow: 0 1px 2px rgba(7, 21, 38, .35);
}
body.ui-r .list-table table tr td,
body.ui-r .container-h.table .result table tr td {
    background: #fff;
    color: var(--ui-ink);
    border-top: 1px solid var(--ui-line);
    font-weight: 700;
    transition: background-color var(--ui-dur-1) var(--ui-ease);
}
body.ui-r .list-table table tr td:nth-child(odd),
body.ui-r .container-h.table .result table tr td:nth-child(odd) {
    border-right: 1px solid var(--ui-line);
}
body.ui-r .list-table table tr td.b-r-n,
body.ui-r .container-h.table .result table tr td.b-r-n {
    border-right: 0;
}
body.ui-r .list-table table tr:nth-child(odd) td,
body.ui-r .container-h.table .result table tr:nth-child(odd) td {
    background: var(--ui-surface-2);
}
body.ui-r .list-table table tr:hover td,
body.ui-r .container-h.table .result table tr:hover td {
    background: var(--ui-aqua-pale);
}
body.ui-r .list-table table tr td span,
body.ui-r .container-h.table .result table tr td span {
    display: inline-block;
    min-width: 3.2em;
    padding: 1px 9px;
    border-radius: var(--ui-r-pill);
    background: linear-gradient(180deg, #fff8d1 0%, #fbeea6 100%);
    box-shadow: inset 0 0 0 1px rgba(168, 143, 0, .28);
    color: var(--ui-gold-deep);
    font-family: var(--ui-font-display);
    font-weight: 800;
    text-align: center;
    line-height: 1.6;
}
/* 表見出しの「詳しく見る」：金の小さなピル */
body.ui-r .list-table table tr th {
    padding-right: 140px;
    vertical-align: middle;
}
body.ui-r .list-table .btn-tbl {
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(110, 93, 0, .45);
    border-radius: var(--ui-r-pill);
    background: var(--ui-gold-btn);
    color: var(--ui-navy-900);
    font-weight: 800;
    text-shadow: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 2px 6px rgba(7, 21, 38, .25);
    transition: transform var(--ui-dur-1) var(--ui-ease), box-shadow var(--ui-dur-1) var(--ui-ease);
}
body.ui-r .list-table .btn-tbl:hover {
    transform: translateY(calc(-50% - 1px));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 6px 14px rgba(7, 21, 38, .3);
}
body.ui-r .list-table .btn-tbl i {
    opacity: .7;
}

/* 地区ページ「◯◯の釣り場一覧」のタグ置き場：四角い白箱 → 角丸カード */
body.ui-r .detail-news.table .content-news {
    border-radius: var(--ui-r-lg);
    box-shadow: var(--ui-card-shadow);
    padding: 20px 22px;
}
body.ui-r .detail-news.table .content-news > div {
    color: var(--ui-ink-2);
}

/* =============================================================
 * 4. 検索結果の条件表示（.search-result）
 * ============================================================= */
body.ui-r .search-result > p {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    margin-bottom: 8px;
    color: var(--ui-ink);
}
body.ui-r .search-result > p label {
    display: inline-block;
    margin: 0;
    padding: 2px 10px;
    border-radius: var(--ui-r-pill);
    background: var(--ui-aqua-pale);
    color: var(--ui-navy);
    font-size: .8em;
    font-weight: 700;
}
body.ui-r .search-result > p span {
    font-weight: 700;
}

/* =============================================================
 * 5. タブレット（〜1024px）
 * ============================================================= */
@media (max-width: 1024px) {
    body.ui-r .review .item .caption h3 p {
        font-size: 13px;
        line-height: 1.35;
    }
    body.ui-r .review .item .caption > p {
        font-size: 18px;
        height: auto;
    }
}

/* =============================================================
 * 6. スマホ（〜767px）
 * ============================================================= */
@media (max-width: 767px) {
    body.ui-r .review {
        padding-left: 12px;
        padding-right: 12px;
    }
    body.ui-r .review > .item {
        column-gap: 14px;
        padding: 14px 10px;
        margin: 0 -10px;
    }
    body.ui-r .review > .item:first-child {
        padding-top: 14px;
    }
    body.ui-r .review > .item > figure {
        border-radius: 14px;
    }
    body.ui-r .review > .item > .caption {
        padding-top: 0;
    }
    body.ui-r .review .item .caption h3 {
        gap: 4px;
        margin-bottom: 6px;
    }
    body.ui-r .review .item .caption h3 p {
        padding: 3px 8px 3px 6px;
        font-size: 11px;
        line-height: 1.3;
        gap: 4px;
    }
    body.ui-r .review .item .caption h3 p:before {
        width: 10px;
        height: 10px;
    }
    body.ui-r .review .item .caption > p {
        height: auto;
        margin-bottom: 2px;
        font-size: 14.5px;
        line-height: 1.6;
    }
    body.ui-r .review .item .caption > p:not(:has(a)) {
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    body.ui-r .review > .item:not(.edit) > .caption > a:not([href="#"]),
    body.ui-r .review .item .caption > p > a {
        font-size: 12.5px;
        min-height: 28px;
    }
    body.ui-r .review .item .caption .time {
        min-height: 40px;
        padding-top: 6px;
        padding-right: 62px;
        font-size: 11.5px;
        letter-spacing: 0;
        white-space: nowrap;
    }
    /* スマホは指で押しやすい高さ・右下に置く（既存のサムネ左上の重ね配置をやめる） */
    body.ui-r .review .item .caption span {
        top: auto;
        left: auto;
        right: 0;
        bottom: 0;
        min-width: 58px;
        height: 32px;
        padding: 0 10px 0 9px;
        gap: 4px;
        font-size: 13px;
        line-height: 1;
    }
    body.ui-r .review .item .caption span:before {
        width: 14px;
        height: 14px;
    }
    body.ui-r .review > .item > .btn-s {
        grid-column: 1 / -1;
    }
    body.ui-r .review > .item > .btn-s .btn-result {
        max-width: none;
    }
    body.ui-r .review > .item.edit {
        margin: 10px 0 0;
        padding: 14px;
    }
    body.ui-r .review > .text-center.font-s-24 {
        font-size: 17px;
        padding: 70px 16px 24px;
    }
    body.ui-r .list-table table tr td span,
    body.ui-r .container-h.table .result table tr td span {
        padding: 0 7px;
    }
    body.ui-r .detail-news.table .content-news {
        padding: 16px;
    }
}

/* =============================================================
 * 7. 動きを減らす設定
 * ============================================================= */
@media (prefers-reduced-motion: reduce) {
    body.ui-r .review > .item,
    body.ui-r .review > .item > figure img,
    body.ui-r .review .item .caption span,
    body.ui-r .review > .item:not(.edit) > .caption > a:after,
    body.ui-r .review .item .caption > p > a:after,
    body.ui-r .list-table table tr th {
    padding-right: 140px;
    vertical-align: middle;
}
body.ui-r .list-table .btn-tbl {
    top: 50%;
    transform: translateY(-50%);
        transition: none;
    }
    body.ui-r .review > .item:hover,
    body.ui-r .review .item:hover .caption span,
    body.ui-r .review > .item:hover > figure img,
    body.ui-r .list-table .btn-tbl:hover {
        transform: translateY(-50%);
    }
}

/* =============================================================
 * カード全体が記事へのリンク（js/ui-renewal.js の最後のブロックとセット）
 * ============================================================= */
body.ui-r .review > .item.ui-card-link { cursor: pointer; }
/* 中のリンク・ボタンは通常の指カーソル */
body.ui-r .review > .item.ui-card-link :is(a, button, input, select, label) { cursor: pointer; }
/* カードに乗っている間は「続きを読む」も一緒に反応させて、行き先を示す */
body.ui-r .review > .item.ui-card-link:hover .caption a[href] { text-decoration: underline; }
