/* 利用規約ページのスタイル */
.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: var(--bg-elevated);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.terms-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--text-primary);
}

.terms-updated {
    text-align: right;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0 0 2rem 0;
}

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

.section-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.terms-section p {
    line-height: 1.8;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.terms-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.terms-section li {
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.terms-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.terms-footer p {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.terms-actions {
    margin-top: 1.5rem;
}

.back-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--text-primary);
    color: var(--text-on-dark);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.back-button:hover {
    background-color: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .terms-container {
        padding: 1.5rem 1rem;
    }

    .terms-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

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

    .back-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}
