/* ============================
   利用規約ページ全体
============================ */
.terms-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.terms-card {
    width: 100%;
    max-width: 720px;
    background: #ffffff;
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
    font-size: 16px;
}

/* タイトル */
.terms-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 24px;
    text-align: center;
}

/* 見出し */
.terms-card h2 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 28px;
    margin-bottom: 12px;
}

/* 段落 */
.terms-card p {
    margin-bottom: 16px;
}

/* 箇条書き */
.terms-card ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.terms-card ul li {
    margin-bottom: 6px;
}

/* 施行日 */
.terms-date {
    margin-top: 40px;
    text-align: right;
    font-size: 14px;
    color: #666;
}

.site-header .logo-link,
.site-header .logo-link span {
    text-decoration: none !important;
    color: inherit !important;
}

/* ============================
   スマホ最適化
============================ */
@media (max-width: 600px) {

    .terms-wrapper {
        padding: 20px 14px;
    }

    .terms-card {
        padding: 28px 20px;
        border-radius: 0;
        box-shadow: none;
        font-size: 15px;
    }

    .terms-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .terms-card h2 {
        font-size: 18px;
        margin-top: 24px;
    }

    .terms-date {
        font-size: 13px;
    }
}
