/* ========================================
   利用規約 - terms.css
   rem基準（1rem = 10px @1920px）
   ======================================== */

/* ========================================
   ページヘッダー（ゴールド帯）
   ======================================== */
.terms-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 8rem 0;
    text-align: center;
}

.terms-hero-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 11.2rem;
}

.terms-hero-en {
    font-size: 3.92rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5rem;
    line-height: 1.2;
}

.terms-hero-ja {
    font-size: 2.52rem;
    font-weight: 600;
    color: #fff;
    margin-top: 0.75rem;
    letter-spacing: 0.15em;
}

/* ========================================
   ページラッパー
   ======================================== */
.terms-page-wrap {
    max-width: 145rem;
    margin: 0 auto;
    padding: 10rem 11.2rem 12rem;
}

/* ========================================
   カード
   ======================================== */
.terms-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 1.4rem;
    padding: 5.6rem 5.6rem 4.2rem;
}

.terms-intro {
    font-size: 2.24rem;
    color: var(--text-light);
    margin-bottom: 5.6rem;
    line-height: 1.8;
}

/* ========================================
   セクション
   ======================================== */
.terms-section {
    margin-bottom: 5.6rem;
}

.terms-section:last-of-type {
    margin-bottom: 4.2rem;
}

.terms-section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2.1rem;
    padding-bottom: 1.4rem;
    border-bottom: 3px solid var(--primary-color);
}

.terms-section-text {
    font-size: 2.24rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 2.1rem;
}

.terms-section-text:last-child {
    margin-bottom: 0;
}

.terms-link {
    color: var(--accent-blue);
    text-decoration: underline;
}

/* ========================================
   リスト
   ======================================== */
.terms-list {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding-left: 0;
}

.terms-list li {
    font-size: 2.24rem;
    color: var(--text-color);
    line-height: 1.6;
    padding-left: 2.4rem;
    position: relative;
}

.terms-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9em;
    width: 1rem;
    height: 1rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* ========================================
   制定日
   ======================================== */
.terms-updated {
    font-size: 2.1rem;
    color: var(--text-light);
    text-align: right;
    margin-top: 4.2rem;
    padding-top: 2.8rem;
    border-top: 1px solid var(--border-color);
}

/* ========================================
   レスポンシブ - タブレット (768px以下)
   ======================================== */
@media (max-width: 768px) {
    .terms-hero {
        padding: 6rem 0;
    }

    .terms-hero-inner {
        padding: 0 2.8rem;
    }

    .terms-hero-en {
        font-size: 3.5rem;
    }

    .terms-page-wrap {
        padding: 8rem 2.8rem 10rem;
    }

    .terms-card {
        padding: 4.2rem 3.5rem 3.5rem;
    }

    .terms-section {
        margin-bottom: 4.2rem;
    }
}

/* ========================================
   レスポンシブ - スマホ (480px以下)
   ======================================== */
@media (max-width: 480px) {
    .terms-hero {
        padding: 5rem 0;
    }

    .terms-hero-inner {
        padding: 0 2.1rem;
    }

    .terms-hero-en {
        font-size: 3rem;
    }

    .terms-hero-ja {
        font-size: 2.24rem;
    }

    .terms-page-wrap {
        padding: 6rem 2.1rem 8.4rem;
    }

    .terms-card {
        padding: 3.5rem 2.8rem 2.8rem;
    }

    .terms-intro {
        font-size: 2.1rem;
    }

    .terms-section-title {
        font-size: 2.52rem;
    }

    .terms-section-text,
    .terms-list li {
        font-size: 2.1rem;
    }
}
