/* ============================================================
   terms.css
   - message.css のトンマナを踏襲（余白・角丸・控えめな装飾）
   - 利用規約ページ用（1カラム）
============================================================ */

/* =========================================
   Base
========================================= */
.tm-legal {
    background: var(--base-color);
    color: var(--text-color);
}

.tm-legal .tm-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* =========================================
   Body
========================================= */
.tm-legalBody {
    padding: clamp(1.75rem, 5vw, 3.25rem) 0 clamp(3.5rem, 6vw, 5rem);
}

.tm-legalArticle {
    max-width: 860px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.tm-legalSection {
    margin: 0 0 clamp(2.25rem, 5vw, 3.4rem);
}

.tm-legalSection__head {
    margin: 0 0 1.1rem;
}

/* 見出し前の短いライン（控えめ） */
.tm-legal .tm-divider {
    margin: 0 0 12px;
    height: 3px;
    width: 56px;
    border-radius: 999px;
    background: rgba(11, 31, 42, .25);
}

.tm-legal .tm-h2 {
    margin: 0;
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.tm-legalSection__body {
    font-size: 1.02rem;
    line-height: 2.05;
    color: var(--text-color);
}

.tm-legalSection__body p {
    margin: 0;
}

.tm-legalSection__body p+p {
    margin-top: 1.35em;
}

/* リスト（本文のテンションを保つシンプル） */
.tm-legalList {
    list-style: none;
    padding: 0;
    margin: 1em 0 0;
    display: grid;
    gap: .7em;
}

.tm-legalList li {
    position: relative;
    padding-left: 1.25em;
    color: var(--text-color);
}

.tm-legalList li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0.02em;
    color: rgba(11, 111, 134, .75);
    font-weight: 900;
}

/* 日付メタ */
.tm-legalMeta {
    margin-top: 1.75em;
    padding-top: 1.25em;
    border-top: 1px solid var(--border-color);
    color: var(--muted-color);
}

.tm-legalMeta p {
    margin: 0;
    line-height: 1.75;
    font-weight: 750;
}

/* =========================================
   Mobile
========================================= */
@media (max-width: 520px) {
    .tm-legalHero__panel {
        padding: 18px;
    }
}