@charset "UTF-8";
/* ============================================
 * 編集部ニュース
 * /assets/area_l_editorial.css
 *
 *   【1】県トップのセクション（2ペイン・.edn-*）
 *   【2】記事詳細ページ（2カラム・.edd-*）
 *        ※ content.css から移設。配色は base.css の --ap-* に統一
 *
 *   前提: base.css を先に読み込み、外側を .ap で包むこと
 *   1rem = 10px (html font-size:62.5%)
 * ============================================ */


/* ============================================
 * 【1】県トップ セクション
 *   PC : 左=記事タイトル一覧 / 右=アクティブ記事の画像＋下端に重なる店舗カード
 *   SP : リスト（サムネ ｜ カテゴリ・日付 / タイトル）
 *   切替は JS で .is-active を付け替え、.edn-detail の opacity でフェード
 * ============================================ */

.editorial-wapper {
    position: relative;
    color: var(--text-primary);
    text-decoration: none;
}

.edn-empty {
    padding: 3.2rem 1.6rem;
    text-align: center;
    color: var(--ap-muted);
    font-size: 1.3rem;
    background: var(--ap-panel-dwn);
    border: 1px dashed var(--ap-gold-line);
    border-radius: var(--ap-radius);
}

.edn-wrap {
    display: grid;
    grid-template-columns: 5.5fr 4.5fr;
    gap: 1rem;
    align-items: start;
}

/* ---------- 左：リスト（サムネ ｜ 日付 / タイトル） ---------- */
.edn-list {
    display: flex;
    flex-direction: column;
}

.edn-litem {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex: 0 0 auto;            /* 等分しない＝件数で行が伸び縮みしない */
    min-height: 7.6rem;        /* 行の高さは常に一定（5件時と同じ） */
    overflow: hidden;
    padding: 1.2rem 0 1.2rem 1rem;
    border-bottom: 1px solid var(--ap-line);
    cursor: pointer;
    text-align: left;
    color: var(--text-primary);
    font-family: inherit;
    transition: border-color 0.15s, background 0.15s;
    text-decoration: none;
}

.edn-litem:hover {
    border-color: var(--ap-gold);
}

.edn-litem.is-active {
    border-color: var(--ap-gold);
    background: rgba(201, 168, 108, 0.06);
}

/* サムネ（お店の画像） */
.edn-lthumb {
    display: flex;
    flex-shrink: 0;
    width: 7.5rem;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    background: #17121a;
    border: 1px solid var(--ap-line-soft);
    align-items: center;
    justify-content: center;
    color: rgba(201, 168, 108, 0.4);
    font-size: 1.8rem;
}

.edn-lthumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.edn-lbody {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.edn-lmeta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.edn-ldate {
    font-size: 1.2rem;
    color: var(--ap-muted) !important;
    font-variant-numeric: tabular-nums;
}

.edn-ltitle {
    font-weight: 500;
    line-height: 1.5;
    color: var(--ap-text);
    font-size: 1.3rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.edn-lcat {
    border: 1px solid var(--ap-gold-line);
    background: rgba(201, 168, 108, 0.12);
    color: var(--ap-gold-light);
    font-size: 1rem;
    padding: 2px 10px;
    border-radius: var(--ap-radius-pill);
    line-height: 1.4;
    white-space: nowrap;
}

/* ---------- 右：詳細（画像＋重なる店舗カード） ---------- */
.edn-detail {
    transition: opacity 0.4s ease;
}

.edn-slide {
    display: none;
    position: relative;
}

.edn-slide.is-active {
    display: block;
}

.edn-hero {
    position: relative;
    display: flex;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #17121a;
    /* border-radius: var(--ap-radius); */
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.edn-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.edn-hero-ph {
    color: rgba(201, 168, 108, 0.35);
    font-size: 4rem;
    border-radius: 4px;
    line-height: 1;
}

/* 店舗カード（画像下端に重ねる） */
.edn-shop {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem;
    background: var(--ap-panel-dwn);
    border: 1px solid var(--ap-line);
    box-shadow: 0 0.6rem 1.8rem rgba(0, 0, 0, 0.35);
    text-decoration: none;
    transition: border-color 0.15s;
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    margin: 0;
}

a.edn-shop:hover {
    border-color: var(--ap-gold-line);
}

.edn-sthumb {
    flex-shrink: 0;
    width: 5.6rem;
    height: 5.6rem;
    border-radius: 6px;
    background: #17121a;
    border: 1px solid var(--ap-line-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(201, 168, 108, 0.4);
    font-size: 2.2rem;
    overflow: hidden;
}

.edn-sthumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.edn-sinfo {
    flex: 1;
    min-width: 0;
}

.edn-slabel {
    color: var(--ap-muted);
    font-size: 1.1rem;
}

.edn-sname {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ap-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.edn-sarea {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 1.1rem;
    color: var(--ap-muted);
}

.edn-sarea i {
    color: var(--ap-gold);
}

.edn-sarrow {
    flex-shrink: 0;
    margin-left: auto;
    color: var(--ap-gold);
    font-size: 1.8rem;
    line-height: 1;
}

/* SP専用パーツ：PCでは非表示 */
.edn-cap {
    display: none;
}

.edn-gallery {
    display: contents;
}

.edn-thera {
    display: none;
}

/* ---------- SP ---------- */
@media (max-width: 767.98px) {

    .edn-wrap {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* 詳細を上・リストを下に */
    .edn-detail {
        order: -1;
    }

    .edn-list {
        order: 0;
        gap: 0;
        aspect-ratio: auto;
        height: auto;
        background: var(--ap-panel-dwn);
        /* border: 1px solid var(--ap-line); */
        /* border-radius: var(--ap-radius); */
        overflow: hidden;
    }

    .edn-hero {
        aspect-ratio: 1 / 1;
        height: auto;
        border-radius: 0px !important;
        margin: 0;
    }

    .edn-litem {
        flex: initial;
        min-height: 0;
        overflow: visible;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        border: 0;
        border-bottom: 1px solid var(--ap-line-soft);
        border-radius: 0;
        background: transparent;
    }

    .edn-litem:last-child {
        border-bottom: 0;
    }

    .edn-litem:hover {
        border-color: transparent;
    }

    .edn-litem.is-active {
        background: rgba(201, 168, 108, 0.08);
    }

    .edn-lthumb {
        width: 6.4rem;
    }

    .edd-side {
        padding: 0 1rem;
    }

    /* キャプション */
    .edn-cap {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
        margin-bottom: 1rem;
        text-decoration: none;
        color: inherit;
    }

    .edn-cap-meta {
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .edn-cap-cat {
        background: rgba(201, 168, 108, 0.14);
        border: 1px solid var(--ap-gold-line);
        color: var(--ap-gold-light);
        font-size: 1.1rem;
        padding: 0.2rem 1rem;
        border-radius: var(--ap-radius-pill);
        line-height: 1.4;
        white-space: nowrap;
    }

    .edn-cap-date {
        font-size: 1.2rem;
        color: var(--ap-muted) !important;
        font-variant-numeric: tabular-nums;
    }

    .edn-cap-title {
        font-weight: 700;
        line-height: 1.45;
        color: var(--ap-text);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        overflow: hidden;
    }

    .editorial-wapper {
        padding-top: 10px;
    }

    .edn-gallery {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .edn-thera {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .edn-thera-cell {
        position: relative;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        background: #17121a;
        border-radius: 0px !important;
        border: 1px solid var(--ap-line-soft);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .edn-thera-cell img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .edn-ph {
        color: rgba(201, 168, 108, 0.4);
        font-size: 1.8rem;
        line-height: 1;
    }

    .edn-ph--empty {
        width: 100%;
        height: 100%;
        background: #17121a;
    }

    .edn-thera-more {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.55);
        color: #fff;
        font-size: 1.6rem;
        font-weight: 700;
    }

    .edn-sname {
        font-size: 1.3rem;
    }

    .edn-sthumb {
        width: 4.6rem;
        height: 4.6rem;
    }

    .edn-sarea {
        font-size: 1rem;
    }

    /* 店舗カード：SPでは重ねず通常フローで下に */
    .edn-shop {
        position: static;
        width: 100%;
        padding: 5px;
        box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.25);
    }
}

/* ---------- PC：左右の高さを揃える ---------- */
@media (min-width: 768px) {

    .edn-wrap {
        align-items: stretch;
    }

    /* 右カラム：スライドの絶対配置基準。グリッドで左と同じ高さに伸びる */
    .edn-detail {
        position: relative;
        min-height: 0;
    }

    .edn-slide {
        position: absolute;
        inset: 0;
    }

    /* 画像：16/9をやめて枠の高さいっぱいに */
    .edn-hero {
        height: 100%;
        aspect-ratio: auto;
    }
}


/* ============================================
 * 【2】記事詳細ページ（.edd-*）
 *   PC : 2カラム（左=記事本体 / 右=同じ都道府県の記事リスト最大8件）
 *   SP : 1カラム（記事本体 → 記事リスト）
 *   ※ content.css から移設。配色を base.css の --ap-* に統一
 * ============================================ */

.section__editorial {
    max-width: 1200px;
    margin: 0 auto;
}

.edd-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32rem;
    gap: 2rem;
    align-items: start;
}

/* ---------- 左：記事本体 ---------- */
.edd-main {
    background: var(--ap-panel);
    border: 1px solid var(--ap-line);
    border-radius: var(--ap-radius);
    padding: 2.4rem;
}

.edd-cat-row {
    margin-bottom: 1.2rem;
}

.edd-cat {
    background: rgba(201, 168, 108, 0.14);
    border: 1px solid var(--ap-gold-line);
    color: var(--ap-gold-light);
    font-size: 1.1rem;
    padding: 0.2rem 1rem;
    border-radius: var(--ap-radius-pill);
    line-height: 1.6;
    white-space: nowrap;
}

.edd-title {
    margin: 0 0 1.2rem;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--ap-text);
}

.edd-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.edd-date {
    font-size: 1.3rem;
    color: var(--ap-muted);
    font-variant-numeric: tabular-nums;
}

/* サムネイル｜本文 の2分割 */
.edd-split {
    display: grid;
    grid-template-columns: minmax(0, 32rem) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    margin-bottom: 1.8rem;
}

.edd-media {
    min-width: 0;
}

.edd-text {
    min-width: 0;
    width: 90%;
    margin: 0 auto;
}

/* 画像（最大高さ350px・超過分は上下トリミング） */
.edd-hero {
    width: 100%;
    max-height: 350px;
    border-radius: 6px;
    overflow: hidden;
    background: #17121a;
    border: 1px solid var(--ap-line-soft);
}

.edd-hero img {
    width: 100%;
    height: auto;
    display: block;
}

.edd-body {
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--ap-dim);
    word-break: break-word;
}

/* .ap が p の margin を 0 にするので、本文の段落だけ戻す */
.edd-body p {
    margin: 0 0 1.2rem;
}

.edd-body p:last-child {
    margin-bottom: 0;
}

.edd-body--full {
    margin-bottom: 1.8rem;
}

/* ---------- 記事末尾の店舗カード ---------- */
.edd-shop {
    margin-top: 2.4rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.4rem;
    background: var(--ap-panel-dwn);
    border: 1px solid var(--ap-line);
    border-radius: var(--ap-radius);
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}

a.edd-shop:hover {
    border-color: var(--ap-gold-line);
    background: rgba(201, 168, 108, 0.06);
}

.edd-shop-thumb {
    flex-shrink: 0;
    width: 6.4rem;
    height: 6.4rem;
    border-radius: 6px;
    background: #17121a;
    border: 1px solid var(--ap-gold-line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(201, 168, 108, 0.5);
    font-size: 2.4rem;
    overflow: hidden;
}

.edd-shop-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.edd-shop-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.edd-shop-label {
    font-size: 1.2rem;
    color: var(--ap-muted);
}

.edd-shop-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ap-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.edd-shop-area {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 1.2rem;
    color: var(--ap-dim);
}


.edd-shop-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    border: 1px solid var(--ap-gold);
    border-radius: var(--ap-radius-pill);
    background: transparent;
    color: var(--ap-gold-light);
    font-size: 1.25rem;
    font-weight: 500;
    white-space: nowrap;
}

a.edd-shop:hover .edd-shop-btn {
    background: rgba(201, 168, 108, 0.1);
}

.edd-back {
    margin-top: 2rem;
}

/* ---------- 本文内の埋め込み（画像 / 動画 / SNS） ---------- */
.edn-richbody > p {
    margin: 0 0 1.2rem;
}

.edn-richbody > p:last-child {
    margin-bottom: 0;
}

.edn-embed {
    margin: 1.8rem 0;
}

.edn-embed--img {
    text-align: center;
}

.edn-embed--img img {
    max-width: 100%;
    height: auto;
    border-radius: var(--ap-radius);
    display: block;
}

/* YouTube などのレスポンシブ動画 */
.edn-embed--video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--ap-radius);
    overflow: hidden;
    background: #000;
}

.edn-embed--video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* YouTubeショート（縦型）は9:16で中央に */
.edn-embed--short {
    aspect-ratio: 9 / 16;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

/* SNS埋め込み（各社スクリプトが整形するので中央寄せだけ） */
.tiktok-embed,
.twitter-tweet,
.instagram-media {
    margin: 1.8rem auto !important;
}

/* ---------- 右：同じ都道府県の記事リスト ---------- */
.edd-side-title {
    margin-bottom: 1rem !important;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ap-gold-light);
    padding-left: 0.8rem;
    border-left: 3px solid var(--ap-gold);
    border-radius: 0;
    line-height: 1.3;
}

.edd-rlist {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--ap-panel);
    border: 1px solid var(--ap-line);
    border-radius: var(--ap-radius);
    overflow: hidden;
}

.edd-ritem {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem;
    border-bottom: 1px solid var(--ap-line-soft);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.edd-ritem:last-child {
    border-bottom: 0;
}

.edd-ritem:hover {
    background: rgba(201, 168, 108, 0.06);
}

.edd-rthumb {
    flex-shrink: 0;
    width: 6.4rem;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    overflow: hidden;
    background: #17121a;
    border: 1px solid var(--ap-line-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(201, 168, 108, 0.4);
    font-size: 1.6rem;
}

.edd-rthumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.edd-rbody {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.edd-rmeta {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    justify-content: space-between;
}

.edd-rcat {
    font-size: 1rem;
    padding: 1px 7px;
    border-radius: var(--ap-radius-pill);
    background: rgba(201, 168, 108, 0.12);
    border: 1px solid var(--ap-gold-line);
    color: var(--ap-gold-light);
    white-space: nowrap;
}

.edd-rdate {
    font-size: 1.1rem;
    color: var(--ap-muted);
    font-variant-numeric: tabular-nums;
}

.edd-rtitle {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.45;
    color: var(--ap-text);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

/* ---------- SP ---------- */
@media (max-width: 767.98px) {
    .edd-wrap {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .edd-main {
        padding: 1.6rem;
    }

    .edd-title {
        font-size: 1.8rem;
    }

    .edd-text {
        width: 100%;
    }

    /* 2分割は縦積みに */
    .edd-split {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        margin-bottom: 1.4rem;
    }

    .edd-hero {
        max-height: 300px;
    }

    .edd-shop {
        flex-wrap: wrap;
    }

    .edd-shop-btn {
        width: 100%;
        justify-content: center;
        margin-top: 0.4rem;
    }
}
