/* =========================================================
   assets/css/single-news.css（お知らせ詳細ページ用）
   - 角丸/余白/線/太字のトンマナを踏襲
   - タイトルは大きく、本文は読みやすく
   ========================================================= */

.tm-newsSingleMain {
    background: var(--base-color, #ffffff);
    color: var(--text-color, #0b1f2a);
}

.tm-newsSingleHero {
    padding: clamp(34px, 6.5vw, 84px) 0 20px;
}

.tm-newsSingleHero__container,
.tm-newsSingleBody__container {
    max-width: 1200px;
    display: block;
    padding: 0 var(--gutter, 16px);
    /* tm-containerのcenterを上書き */
}

.tm-newsSingleHero__grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 24px;
    align-items: center;
}

.tm-newsSingleHero__kicker {
    margin: 0;
    font-weight: 950;
    letter-spacing: 0.03em;
    color: rgba(11, 31, 42, 0.78);
}

.tm-newsSingleHero__meta {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tm-newsMeta__date {
    font-weight: 900;
    letter-spacing: 0.02em;
    color: rgba(11, 31, 42, 0.88);
    white-space: nowrap;
}

.tm-newsMeta__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: var(--main-color, #0b6f86);
    background: rgba(11, 111, 134, 0.06);
    border: 1px solid rgba(11, 111, 134, 0.40);
    white-space: nowrap;
}

.tm-newsSingleHero__title {
    margin: 16px 0 0;
    font-size: clamp(1.7rem, 3.6vw, 2.4rem);
    line-height: 1.35;
    font-weight: 950;
    letter-spacing: -0.01em;
    color: var(--text-color, #0b1f2a);
}

.tm-newsSingleHero__media {
    display: flex;
    justify-content: flex-end;
}

.tm-newsSingleHero__circle {
    width: 10rem;
    aspect-ratio: 1 / 1;
    border-radius: 100%;
    background:
        radial-gradient(closest-side,
            rgba(92, 193, 181, 0.26),
            rgba(92, 193, 181, 0.08) 60%,
            rgba(92, 193, 181, 0) 100%);
    border: 1px solid rgba(11, 31, 42, 0.12);
}

.tm-newsBack {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: rgba(11, 31, 42, 0.90);
}

.tm-newsBack__arrow {
    transform: translateY(1px);
}

.tm-newsBack:hover {
    text-decoration: underline;
}

.tm-newsSingleBody {
    padding: 14px 0 clamp(56px, 8vw, 90px);
}

.tm-newsArticle {
    border-radius: var(--radius-xxl, 34px);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(11, 31, 42, 0.10);
    box-shadow: var(--shadow-1, 0 10px 28px rgba(11, 31, 42, .10));
    overflow: hidden;
}

.tm-newsArticle__thumb {
    margin: 0;
    border-bottom: 1px solid rgba(11, 31, 42, 0.10);
    background: rgba(11, 31, 42, 0.02);
}

.tm-newsArticle__img {
    width: 100%;
    height: auto;
    display: block;
}

.tm-newsArticle__content {
    padding: 26px 28px;
}

/* 本文タイポグラフィ（the_content想定） */
.tm-newsArticle__content p {
    margin: 0;
    margin-top: 16px;
    line-height: 1.85;
    color: rgba(11, 31, 42, 0.88);
    font-weight: 520;
    word-break: break-word;
    text-wrap: pretty;
}

.tm-newsArticle__content p:first-child {
    margin-top: 0;
}

.tm-newsArticle__content h2,
.tm-newsArticle__content h3 {
    margin: 26px 0 0;
    font-weight: 950;
    letter-spacing: -0.01em;
    color: var(--text-color, #0b1f2a);
    line-height: 1.35;
}

.tm-newsArticle__content h2 {
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
}

.tm-newsArticle__content h3 {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
}

.tm-newsArticle__content ul,
.tm-newsArticle__content ol {
    margin: 14px 0 0 1.2em;
    padding: 0;
    line-height: 1.85;
    color: rgba(11, 31, 42, 0.88);
    font-weight: 560;
}

.tm-newsArticle__content a {
    color: var(--main-color, #0b6f86);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tm-newsArticle__content blockquote {
    margin: 20px 0 0;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(11, 111, 134, 0.05);
    border: 1px solid rgba(11, 111, 134, 0.16);
    color: rgba(11, 31, 42, 0.86);
}

.tm-newsArticle__content hr {
    margin: 22px 0;
    border: none;
    border-top: 1px dashed rgba(11, 31, 42, 0.22);
}

.tm-newsSingleFooter {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tm-newsPager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tm-newsPager__prev a,
.tm-newsPager__next a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(11, 31, 42, 0.10);
    background: rgba(255, 255, 255, 0.96);
    color: rgba(11, 31, 42, 0.90);
    font-weight: 900;
    text-decoration: none;
}

.tm-newsPager__prev a:hover,
.tm-newsPager__next a:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(11, 31, 42, 0.08);
}

/* レスポンシブ */
@media (max-width: 1080px) {
    .tm-newsSingleHero__grid {
        grid-template-columns: 1fr;
    }

    .tm-newsSingleHero__media {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .tm-newsArticle {
        border-radius: var(--radius-xl, 28px);
    }

    .tm-newsArticle__content {
        padding: 20px 18px;
    }

    .tm-newsPager {
        flex-direction: column;
        align-items: stretch;
    }

    .tm-newsPager__prev a,
    .tm-newsPager__next a {
        width: 100%;
        justify-content: space-between;
    }
}

/* グリッドの子が縮めず、横はみ出しするのを防ぐ */
.tm-newsSingleHero__copy,
.tm-newsSingleHero__media,
.tm-newsArticle__content {
    min-width: 0;
}

/* 長い文字列・URL対策（全体的に安全側） */
.tm-newsSingleHero__title,
.tm-newsSingleHero__meta,
.tm-newsArticle__content,
.tm-newsArticle__content a,
.tm-newsArticle__content li {
    overflow-wrap: anywhere;
    word-break: break-word;
}


/* 幅制御は中の article に寄せる */
.tm-newsArticle {
    max-width: 1200px;
    margin-inline: auto;
}