/* 基本スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* コンテナ */
.terms-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ヘッダー */
.terms-header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #ff4081;
    margin-bottom: 30px;
}

.terms-header h1 {
    font-size: 24px;
    color: #333;
}

/* コンテンツ */
.terms-content {
    padding: 0 20px;
}

.terms-intro {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

/* セクション */
.terms-section {
    margin-bottom: 30px;
}

.terms-section h2 {
    font-size: 18px;
    color: #ff4081;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.terms-subsection {
    margin: 15px 0;
    padding-left: 20px;
}

.terms-subsection h3 {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.terms-subsection p {
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 15px;
}

/* フッター */
.terms-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.law-firm {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.terms-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.close-button {
    background-color: #666;
    color: white;
}

.print-button {
    background-color: #ff4081;
    color: white;
}

button:hover {
    opacity: 0.9;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .terms-container {
        padding: 15px;
        margin: 10px;
    }

    .terms-content {
        padding: 0 10px;
    }

    .terms-section h2 {
        font-size: 16px;
    }

    .terms-subsection {
        padding-left: 10px;
    }

    .terms-subsection h3 {
        font-size: 14px;
    }

    .terms-subsection p {
        font-size: 13px;
        padding-left: 10px;
    }
}

/* 印刷用スタイル */
@media print {
    body {
        background-color: white;
    }

    .terms-container {
        box-shadow: none;
        max-width: 100%;
    }

    .terms-actions {
        display: none;
    }
}

