/* ==========================================================
   沿革ページ専用ダークテーマ (design/history.png 準拠)
   body.dark-top.dt-history 配下のみに適用
   company.css を併読して dtc-pan / dtc-hero の基礎を利用
   ========================================================== */

/* ---------- ヒーロー（沿革用に左寄せ上書き） ---------- */
.dt-history .dtc-hero {
    background:
        linear-gradient(90deg, rgba(10, 9, 12, .78) 0%, rgba(10, 9, 12, .55) 55%, rgba(10, 9, 12, .25) 100%),
        url(/img/design/footer_torii.jpg) center 40% / cover no-repeat;
}

.dt-history .dtc-hero__inner {
    text-align: left;
    padding: 60px 16px 64px;
}

.dt-history .dth-hero__pan {
    font-size: 12px;
    color: #d0161f;
    letter-spacing: .08em;
    margin-bottom: 14px;
    font-family: "Shippori Mincho", serif;
}

.dt-history .dth-hero__pan span {
    color: #9a969f;
}

.dt-history .dtc-hero__title {
    text-align: left;
}

.dt-history .dtc-hero__lead {
    text-align: left;
    margin-top: 20px;
}

/* ---------- セクション見出し（中央装飾線） ---------- */
.dt-history .dth-section-title {
    text-align: center;
    font-family: "Shippori Mincho", serif;
    font-size: 26px;
    font-weight: 800;
    color: #f2f0ed;
    letter-spacing: .1em;
    margin: 54px 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.dt-history .dth-section-title::before,
.dt-history .dth-section-title::after {
    content: "";
    width: 90px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d0161f);
}

.dt-history .dth-section-title::after {
    background: linear-gradient(90deg, #d0161f, transparent);
}

/* ---------- レイアウト ---------- */
.dt-history .dth-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

/* ---------- タイムライン ---------- */
.dt-history .dth-timeline {
    position: relative;
    padding: 10px 0;
}

/* 中央の縦ライン */
.dt-history .dth-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #d0161f 0%, #7c0d12 100%);
}

.dt-history .dth-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 34px;
}

.dt-history .dth-item:last-child {
    margin-bottom: 0;
}

/* ノード */
.dt-history .dth-item::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #d0161f;
    border: 3px solid #0e0d10;
    box-shadow: 0 0 0 2px #d0161f, 0 0 14px rgba(208, 22, 31, .7);
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* 画像・本文の半分幅ブロック */
.dt-history .dth-item__img,
.dt-history .dth-item__body {
    width: calc(50% - 34px);
}

.dt-history .dth-item__img {
    height: 190px;
    border-radius: 6px;
    border: 1px solid #232228;
    background-size: cover;
    background-position: center;
}

.dt-history .dth-item__body {
    background: #121116;
    border: 1px solid #232228;
    border-radius: 6px;
    padding: 22px 24px;
}

/* 奇数=画像左／本文右、偶数=本文左／画像右 */
.dt-history .dth-item:nth-child(odd) .dth-item__img {
    margin-right: auto;
}

.dt-history .dth-item:nth-child(odd) .dth-item__body {
    margin-left: auto;
}

.dt-history .dth-item:nth-child(even) {
    flex-direction: row-reverse;
}

.dt-history .dth-item__date {
    font-family: "Shippori Mincho", serif;
    font-size: 13px;
    color: #d0161f;
    letter-spacing: .06em;
    margin-bottom: 8px;
}

.dt-history .dth-item__ttl {
    font-family: "Shippori Mincho", serif;
    font-size: 19px;
    font-weight: 800;
    color: #f2f0ed;
    margin-bottom: 12px;
    letter-spacing: .03em;
}

.dt-history .dth-item__txt {
    font-size: 12.5px;
    line-height: 2;
    color: #b9b5bf;
}

/* ---------- 実績スタッツ ---------- */
.dt-history .dth-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.dt-history .dth-stats li {
    background: #121116;
    border: 1px solid #232228;
    border-radius: 6px;
    padding: 26px 14px;
    text-align: center;
}

.dt-history .dth-stats li i {
    font-size: 26px;
    color: #d0161f;
}

.dt-history .dth-stats__label {
    display: block;
    margin-top: 14px;
    font-size: 13px;
    color: #c9c5ce;
}

.dt-history .dth-stats__num {
    display: block;
    margin-top: 10px;
    font-family: "Shippori Mincho", serif;
    font-size: 30px;
    font-weight: 800;
    color: #d0161f;
    line-height: 1.1;
}

.dt-history .dth-stats__sub {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #9a969f;
}

.dt-history .dth-stats-note {
    text-align: center;
    font-size: 11px;
    color: #6b6870;
}

/* ---------- クロージングメッセージ ---------- */
.dt-history .dth-closing {
    position: relative;
    margin: 44px auto 60px;
    max-width: 1000px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #2a2228;
    background:
        linear-gradient(90deg, rgba(20, 6, 8, .92) 0%, rgba(20, 6, 8, .72) 55%, rgba(20, 6, 8, .5) 100%),
        url(/img/design/footer_torii.jpg) center / cover no-repeat;
    padding: 46px 44px 50px;
}

.dt-history .dth-closing__eyebrow {
    font-family: "Shippori Mincho", serif;
    font-size: 13px;
    color: #e8878c;
    letter-spacing: .06em;
    margin-bottom: 12px;
}

.dt-history .dth-closing__ttl {
    font-family: "Shippori Mincho", serif;
    font-size: 30px;
    font-weight: 800;
    color: #f2f0ed;
    letter-spacing: .04em;
    margin-bottom: 20px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
}

.dt-history .dth-closing__txt {
    font-size: 13px;
    line-height: 2.1;
    color: #d5d2d8;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
    .dt-history .dth-timeline::before {
        left: 18px;
    }

    .dt-history .dth-item,
    .dt-history .dth-item:nth-child(even) {
        flex-direction: column;
        align-items: stretch;
        padding-left: 44px;
    }

    .dt-history .dth-item::before {
        left: 18px;
    }

    .dt-history .dth-item__img,
    .dt-history .dth-item__body {
        width: 100%;
        margin: 0 0 12px !important;
    }

    .dt-history .dth-item__body {
        margin-bottom: 0 !important;
    }

    .dt-history .dth-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .dt-history .dth-section-title {
        font-size: 20px;
    }

    .dt-history .dth-section-title::before,
    .dt-history .dth-section-title::after {
        width: 40px;
    }

    .dt-history .dth-closing {
        padding: 32px 22px 36px;
    }

    .dt-history .dth-closing__ttl {
        font-size: 22px;
    }
}
