/* ==========================================================
   心霊体験談一覧ページ専用ダークテーマ (design/conts_story.png 準拠)
   body.dark-top.dt-story 配下のみに適用
   ========================================================== */

/* ---------- ヒーロー ---------- */
.dt-story .dts-hero {
    background: #0a090b;
    border-bottom: 1px solid #1c1b20;
}

.dt-story .dts-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: stretch;
    gap: 32px;
}

.dt-story .dts-hero__img {
    width: 250px;
    flex-shrink: 0;
    background:
        linear-gradient(90deg, rgba(10, 9, 11, 0) 70%, rgba(10, 9, 11, .9) 100%),
        url(/img/design/hero.jpg) center top / cover no-repeat;
}

.dt-story .dts-hero__body {
    flex: 1;
    min-width: 0;
    padding: 40px 0 32px;
}

.dt-story .dts-hero__title {
    font-family: "Shippori Mincho", serif;
    font-size: 46px;
    font-weight: 800;
    color: #f2f0ed;
    letter-spacing: .04em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .9);
}

.dt-story .dts-hero__title .dt-red {
    color: #d0161f;
}

.dt-story .dts-hero__lead {
    margin-top: 16px;
    font-family: "Shippori Mincho", serif;
    font-size: 15px;
    color: #d5d2d8;
    line-height: 2;
}

.dt-story .dts-hero__stats {
    margin-top: 24px;
    display: flex;
}

.dt-story .dts-hero__stats li {
    padding: 14px 28px;
    border-left: 1px solid #2c2b32;
    background: rgba(255, 255, 255, .02);
}

.dt-story .dts-hero__stats li:last-child {
    border-right: 1px solid #2c2b32;
}

.dt-story .dts-hero__stats span {
    display: block;
    font-size: 11px;
    color: #9a969f;
}

.dt-story .dts-hero__stats strong {
    display: block;
    margin-top: 4px;
    font-family: "Shippori Mincho", serif;
    font-size: 26px;
    line-height: 1.2;
    color: #d0161f;
}

.dt-story .dts-hero__stats strong small {
    font-size: 12px;
    color: #e8e6e3;
    margin-left: 2px;
}

/* ヒーロー右：投稿CTAカード */
.dt-story .dts-hero__cta {
    width: 280px;
    flex-shrink: 0;
    align-self: center;
    margin: 28px 0;
    background: #f2efe9;
    border-radius: 6px;
    padding: 26px 22px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .6);
}

.dt-story .dts-hero__cta::before {
    content: "";
    position: absolute;
    top: -18px;
    right: -14px;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at 60% 40%, rgba(164, 22, 26, .85) 0 8px, transparent 9px),
        radial-gradient(circle at 30% 65%, rgba(164, 22, 26, .7) 0 4px, transparent 5px),
        radial-gradient(circle at 75% 75%, rgba(164, 22, 26, .6) 0 3px, transparent 4px),
        radial-gradient(circle at 48% 82%, rgba(164, 22, 26, .5) 0 2px, transparent 3px);
    filter: blur(.4px);
}

.dt-story .dts-hero__cta-title {
    font-family: "Shippori Mincho", serif;
    font-size: 19px;
    font-weight: 800;
    color: #1b1a1f;
    line-height: 1.7;
}

.dt-story .dts-hero__cta-title .dt-red {
    color: #d0161f;
}

.dt-story .dts-hero__cta-text {
    margin-top: 12px;
    font-size: 12px;
    color: #4a474f;
    line-height: 1.9;
}

.dt-story .dts-hero__cta-btn {
    display: block;
    margin-top: 18px;
    background: #d0161f;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 14px 10px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 14px rgba(208, 22, 31, .35);
}

.dt-story .dts-hero__cta-btn:hover {
    background: #a4161a;
    opacity: 1;
}

.dt-story .dts-hero__cta-btn i {
    margin-right: 6px;
}

/* ---------- パンくず ---------- */
.dt-story .dts-pan {
    background: #0e0d10;
    border-bottom: 1px solid #1c1b20;
}

.dt-story .dts-pan__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px;
    font-size: 11px;
    color: #9a969f;
}

.dt-story .dts-pan__inner a {
    color: #9a969f;
}

.dt-story .dts-pan__inner a:hover {
    color: #d0161f;
}

.dt-story .dts-pan__inner i {
    font-size: 8px;
    margin: 0 6px;
    color: #6b6870;
}

/* ---------- 3カラムレイアウト ---------- */
.dt-story .dts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 16px 48px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.dt-story .dts-left {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dt-story .dts-main {
    flex: 1;
    min-width: 0;
}

.dt-story .dts-right {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ---------- カード共通 ---------- */
.dt-story .dts-card {
    background: #121116;
    border: 1px solid #232228;
    border-radius: 6px;
    padding: 18px;
}

.dt-story .dts-heading {
    font-size: 15px;
    font-weight: bold;
    color: #f2f0ed;
    border-left: 3px solid #d0161f;
    padding-left: 10px;
    margin-bottom: 14px;
    font-family: "Shippori Mincho", serif;
    letter-spacing: .04em;
}

.dt-story .dts-heading i {
    color: #d0161f;
    margin-right: 6px;
    font-size: 13px;
}

/* ---------- 左：カテゴリ ---------- */
.dt-story .dts-cat li {
    margin-bottom: 6px;
}

.dt-story .dts-cat li:last-child {
    margin-bottom: 0;
}

.dt-story .dts-cat a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: #c9c5ce;
    border: 1px solid transparent;
}

.dt-story .dts-cat a i {
    width: 16px;
    text-align: center;
    color: #9a969f;
    font-size: 12px;
}

.dt-story .dts-cat a:hover {
    background: #1b1a1f;
    color: #fff;
    opacity: 1;
}

.dt-story .dts-cat a.is-active {
    background: #d0161f;
    color: #fff;
    font-weight: bold;
}

.dt-story .dts-cat a.is-active i {
    color: #fff;
}

/* ---------- 左：投稿について ---------- */
.dt-story .dts-about__text {
    font-size: 12px;
    color: #c9c5ce;
    line-height: 1.9;
}

.dt-story .dts-about__list {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #232228;
}

.dt-story .dts-about__list li {
    font-size: 11px;
    color: #9a969f;
    margin-bottom: 8px;
    line-height: 1.7;
}

.dt-story .dts-about__btn {
    display: block;
    margin-top: 14px;
    background: #0e0d11;
    border: 1px solid #2c2b32;
    border-radius: 4px;
    padding: 11px 10px;
    text-align: center;
    font-size: 12px;
    color: #e8e6e3;
}

.dt-story .dts-about__btn:hover {
    border-color: #a4161a;
    color: #fff;
    opacity: 1;
}

.dt-story .dts-about__btn i {
    margin-right: 6px;
    color: #9a969f;
}

/* ---------- 左：心霊写真バナー ---------- */
.dt-story .dts-photo-banner {
    display: block;
    border: 1px solid #232228;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    background: url(/img/design/side_photo.jpg) center / cover no-repeat;
    min-height: 190px;
}

.dt-story .dts-photo-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 9, 11, .88) 35%, rgba(10, 9, 11, .25) 100%);
}

.dt-story .dts-photo-banner__body {
    position: relative;
    padding: 24px 18px;
}

.dt-story .dts-photo-banner__label {
    font-size: 11px;
    color: #d5d2d8;
}

.dt-story .dts-photo-banner__title {
    margin-top: 4px;
    font-family: "Shippori Mincho", serif;
    font-size: 21px;
    font-weight: 800;
    color: #f2f0ed;
}

.dt-story .dts-photo-banner__btn {
    display: inline-block;
    margin-top: 46px;
    background: #d0161f;
    color: #fff;
    border-radius: 3px;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: bold;
}

.dt-story .dts-photo-banner:hover {
    opacity: 1;
}

.dt-story .dts-photo-banner:hover .dts-photo-banner__btn {
    background: #a4161a;
}

/* ---------- タグチップ共通 ---------- */
.dt-story .dts-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dt-story .dts-tags a {
    background: #0e0d11;
    border: 1px solid #2c2b32;
    border-radius: 3px;
    padding: 6px 10px;
    font-size: 11px;
    color: #c9c5ce;
}

.dt-story .dts-tags a:hover {
    border-color: #a4161a;
    color: #fff;
    opacity: 1;
}

/* ---------- 中央：一覧ヘッダ ---------- */
.dt-story .dts-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dt-story .dts-list-title {
    font-family: "Shippori Mincho", serif;
    font-size: 21px;
    font-weight: 800;
    color: #f2f0ed;
    border-left: 4px solid #d0161f;
    padding-left: 14px;
    letter-spacing: .04em;
}

.dt-story .dts-list-count {
    font-size: 12px;
    color: #9a969f;
}

.dt-story .dts-list-count strong {
    color: #d0161f;
    font-size: 16px;
    font-family: "Shippori Mincho", serif;
    margin: 0 2px;
}

/* ソートツールバー */
.dt-story .dts-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.dt-story .dts-sort {
    display: flex;
    gap: 8px;
}

.dt-story .dts-sort li {
    font-size: 12px;
    border-radius: 3px;
    padding: 8px 18px;
    background: #121116;
    border: 1px solid #232228;
    color: #9a969f;
}

.dt-story .dts-sort li.is-active {
    background: #d0161f;
    border-color: #d0161f;
    color: #fff;
    font-weight: bold;
}

.dt-story .dts-select select {
    background: #121116;
    border: 1px solid #2c2b32;
    border-radius: 3px;
    color: #c9c5ce;
    font-size: 12px;
    padding: 8px 12px;
    cursor: pointer;
}

/* ---------- 中央：記事リスト ---------- */
.dt-story .dts-list li {
    margin-bottom: 12px;
}

.dt-story .dts-item {
    display: flex;
    gap: 16px;
    background: #121116;
    border: 1px solid #232228;
    border-radius: 6px;
    padding: 14px;
}

.dt-story .dts-item:hover {
    border-color: #a4161a;
    opacity: 1;
}

.dt-story .dts-item__thumb {
    width: 150px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.dt-story .dts-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dt-story .dts-item__new {
    position: absolute;
    top: 0;
    left: 0;
    background: #d0161f;
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    padding: 3px 8px;
    letter-spacing: .08em;
}

.dt-story .dts-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.dt-story .dts-item__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.dt-story .dts-item__title {
    font-size: 15px;
    font-weight: bold;
    color: #f2f0ed;
    line-height: 1.6;
}

.dt-story .dts-item:hover .dts-item__title {
    color: #ff5a5f;
}

.dt-story .dts-item__date {
    flex-shrink: 0;
    font-size: 11px;
    color: #6b6870;
    white-space: nowrap;
}

.dt-story .dts-item__meta {
    margin-top: 6px;
    font-size: 11px;
    color: #9a969f;
}

.dt-story .dts-item__meta i {
    margin-right: 4px;
    font-size: 10px;
}

.dt-story .dts-item__meta .dts-item__tag {
    margin-right: 10px;
}

.dt-story .dts-item__excerpt {
    margin-top: 8px;
    font-size: 12px;
    color: #9a969f;
    line-height: 1.8;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.dt-story .dts-item__foot {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    font-size: 11px;
    color: #9a969f;
}

.dt-story .dts-item__foot i {
    margin-right: 4px;
    color: #d0161f;
}

/* ---------- 中央：ページネーション ---------- */
.dt-story .dts-pagination .pagination_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
}

.dt-story .dts-pagination .pagination_wrap a,
.dt-story .dts-pagination .pagination_wrap strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 3px;
    background: #121116;
    border: 1px solid #232228;
    color: #c9c5ce;
    font-size: 12px;
    font-weight: normal;
}

.dt-story .dts-pagination .pagination_wrap a:hover {
    border-color: #a4161a;
    color: #fff;
    opacity: 1;
}

.dt-story .dts-pagination .pagination_wrap strong {
    background: #d0161f;
    border-color: #d0161f;
    color: #fff;
}

/* ---------- 右：人気体験談ランキング ---------- */
.dt-story .dts-rank li {
    border-bottom: 1px solid #232228;
}

.dt-story .dts-rank li:last-child {
    border-bottom: none;
}

.dt-story .dts-rank a {
    display: flex;
    gap: 10px;
    padding: 12px 2px;
    align-items: flex-start;
}

.dt-story .dts-rank a:hover {
    opacity: .75;
}

.dt-story .dts-rank__no {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2c2b32;
    color: #c9c5ce;
    font-size: 11px;
    font-weight: bold;
    border-radius: 2px;
}

.dt-story .dts-rank li:first-child .dts-rank__no {
    background: #d0161f;
    color: #fff;
}

.dt-story .dts-rank__thumb {
    flex-shrink: 0;
    width: 62px;
    height: 46px;
    border-radius: 3px;
    overflow: hidden;
}

.dt-story .dts-rank__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dt-story .dts-rank__body {
    flex: 1;
    min-width: 0;
}

.dt-story .dts-rank__title {
    font-size: 12px;
    color: #e8e6e3;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.dt-story .dts-rank__count {
    margin-top: 4px;
    font-size: 11px;
    color: #9a969f;
}

.dt-story .dts-rank__count i {
    color: #d0161f;
    margin-right: 4px;
}

/* ---------- 右：カテゴリ別ランキング ---------- */
.dt-story .dts-cat-rank li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 2px;
    border-bottom: 1px solid #232228;
    font-size: 12px;
}

.dt-story .dts-cat-rank li:last-child {
    border-bottom: none;
}

.dt-story .dts-cat-rank a {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    color: #c9c5ce;
}

.dt-story .dts-cat-rank a:hover {
    color: #fff;
    opacity: 1;
}

.dt-story .dts-cat-rank i {
    width: 16px;
    text-align: center;
    color: #9a969f;
    font-size: 12px;
}

.dt-story .dts-cat-rank__count {
    margin-left: auto;
    font-size: 11px;
    color: #9a969f;
    white-space: nowrap;
}

.dt-story .dts-more {
    display: block;
    margin-top: 12px;
    background: #0e0d11;
    border: 1px solid #2c2b32;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    font-size: 11px;
    color: #c9c5ce;
}

.dt-story .dts-more:hover {
    border-color: #a4161a;
    color: #fff;
    opacity: 1;
}

/* ---------- 右：タグランキング ---------- */
.dt-story .dts-tag-rank li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 2px;
    font-size: 11px;
}

.dt-story .dts-tag-rank a {
    background: #0e0d11;
    border: 1px solid #2c2b32;
    border-radius: 3px;
    padding: 5px 10px;
    color: #c9c5ce;
}

.dt-story .dts-tag-rank a:hover {
    border-color: #a4161a;
    color: #fff;
    opacity: 1;
}

.dt-story .dts-tag-rank span {
    color: #9a969f;
}

/* ---------- 右：心霊スポットバナー ---------- */
.dt-story .dts-spot-banner {
    display: block;
    border: 1px solid #232228;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    background: url(/img/design/spot_banner.jpg) center / cover no-repeat;
    min-height: 170px;
}

.dt-story .dts-spot-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 9, 11, .2) 0%, rgba(10, 9, 11, .85) 100%);
}

.dt-story .dts-spot-banner__body {
    position: relative;
    padding: 30px 20px 22px;
}

.dt-story .dts-spot-banner__title {
    font-family: "Shippori Mincho", serif;
    font-size: 24px;
    font-weight: 800;
    color: #f2f0ed;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .9);
}

.dt-story .dts-spot-banner__text {
    margin-top: 6px;
    font-size: 12px;
    color: #d5d2d8;
}

.dt-story .dts-spot-banner__btn {
    display: inline-block;
    margin-top: 16px;
    background: #d0161f;
    color: #fff;
    border-radius: 3px;
    padding: 9px 18px;
    font-size: 12px;
    font-weight: bold;
}

.dt-story .dts-spot-banner:hover {
    opacity: 1;
}

.dt-story .dts-spot-banner:hover .dts-spot-banner__btn {
    background: #a4161a;
}

/* ---------- レスポンシブ（縮小時の保険） ---------- */
@media (max-width: 1000px) {
    .dt-story .dts-hero__img,
    .dt-story .dts-hero__cta {
        display: none;
    }

    .dt-story .dts-container {
        flex-wrap: wrap;
    }

    .dt-story .dts-left {
        width: 100%;
    }

    .dt-story .dts-right {
        width: 100%;
    }
}

/* =========================================================
   SP実機対策（重要）
   モバイル時のみ css/sp/hdj.min.css が読み込まれ、以下の汎用ルールが
   PC版レイアウトを崩すため .dt-story 側で打ち消す（PCでは無害）。
     header { height:48px; position:fixed }  ← ヘッダーが潰れる
     nav    { margin-top:48px; text-align:center }
     body   { background-color:var(--light-gray) }
     img    { width:100% }
   ========================================================= */
.dt-story .dt-header {
    height: auto;
    position: sticky;
}

.dt-story .dt-header__nav {
    margin-top: 0;
    text-align: left;
}

.dt-story .dt-header__nav ul {
    margin-top: 0;
}

/* ---------- スマホ（PCと同じ画面を縦積みで表示） ---------- */
@media (max-width: 700px) {
    .dt-story .dts-hero__inner {
        flex-direction: column;
        padding: 0 12px;
        gap: 0;
    }

    /* 投稿CTAはPC同様に表示（縦積み） */
    .dt-story .dts-hero__cta {
        display: block;
        width: 100%;
        margin: 0 0 24px;
        padding: 20px 18px;
    }

    .dt-story .dts-hero__cta-title {
        font-size: 17px;
    }

    .dt-story .dts-hero__body {
        padding: 26px 0 22px;
    }

    .dt-story .dts-hero__title {
        font-size: 30px;
    }

    .dt-story .dts-hero__lead {
        margin-top: 12px;
        font-size: 13px;
        line-height: 1.9;
    }

    .dt-story .dts-hero__stats {
        margin-top: 18px;
    }

    .dt-story .dts-hero__stats li {
        flex: 1;
        padding: 10px 6px;
        text-align: center;
    }

    .dt-story .dts-hero__stats strong {
        font-size: 19px;
    }

    /* カラムは 本文 → 左 → 右 の順に縦積み */
    .dt-story .dts-container {
        flex-direction: column;
        padding: 20px 12px 36px;
        gap: 20px;
    }

    .dt-story .dts-main {
        order: 1;
        width: 100%;
    }

    .dt-story .dts-left {
        order: 2;
        gap: 20px;
    }

    .dt-story .dts-right {
        order: 3;
        gap: 20px;
    }

    .dt-story .dts-pan__inner {
        padding: 9px 12px;
    }

    .dt-story .dts-card {
        padding: 15px;
    }

    /* 一覧ヘッダ・ツールバー */
    .dt-story .dts-list-title {
        font-size: 18px;
        padding-left: 10px;
    }

    .dt-story .dts-toolbar {
        flex-wrap: wrap;
        gap: 8px;
    }

    .dt-story .dts-sort {
        gap: 6px;
    }

    .dt-story .dts-sort li {
        padding: 7px 12px;
        font-size: 11px;
    }

    .dt-story .dts-select,
    .dt-story .dts-select select {
        width: 100%;
    }

    /* 記事リスト */
    .dt-story .dts-item {
        gap: 12px;
        padding: 10px;
    }

    .dt-story .dts-item__thumb {
        width: 96px;
        height: 72px;
    }

    .dt-story .dts-item__head {
        flex-direction: column;
        gap: 4px;
    }

    .dt-story .dts-item__title {
        font-size: 14px;
    }

    /* カテゴリは2列 */
    .dt-story .dts-cat {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .dt-story .dts-cat li {
        margin-bottom: 0;
    }

    .dt-story .dts-pagination .pagination_wrap {
        flex-wrap: wrap;
        gap: 6px;
    }
}
