/* =========================================================
   terms.css
   利用規約・プライバシーポリシー・参加ルール共通
   ========================================================= */

.terms-content {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

.terms-card {
    padding: 32px;
}

.terms-card,
.rules-card {
    font-size: 15px;
    line-height: 1.8;
}

.terms-introduction,
.terms-article {
    margin-bottom: 32px;
}

.terms-article:last-of-type {
    margin-bottom: 0;
}

.terms-article h2 {
    margin: 0 0 16px;
    font-size: 1.2rem;
}

.terms-card p {
    margin: 0 0 12px;
    line-height: 1.8;
}

.terms-card p:last-child {
    margin-bottom: 0;
}

.terms-prohibited-list {
    margin: 0;
    padding-left: 1.6em;
}

ol.terms-prohibited-list {
    list-style: decimal;
}

ul.terms-prohibited-list,
.terms-prohibited-list ul {
    list-style: disc;
}

.terms-prohibited-list ul {
    margin-top: 8px;
    padding-left: 1.6em;
}

.terms-prohibited-list li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.terms-enactment-date {
    margin-top: 36px;
    text-align: right;
}

@media (max-width: 767.98px) {
    .terms-card,
    .rules-card {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .terms-card {
        padding: 24px 16px;
    }

    .terms-introduction,
    .terms-article {
        margin-bottom: 28px;
    }
}
