/* ベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kosugi Maru', sans-serif;
    line-height: 1.6;
    background-color: #ffffff; /* 白背景 */
    color: #333;
    margin: 0;
    padding: 0;
}

/* コンテナ */
.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff; /* 白背景 */
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* ヘッダー */
.header {
    background-color: #ffe065; /* トップページのバナー色に合わせる */
    text-align: center;
    padding: 20px;
    position: relative;
}

.header h1 {
    font-size: 1.6rem;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}

.logo-image {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100px;
    height: auto;
}

/* メインコンテンツ */
.main-content {
    padding: 30px;
    color: #444;
}

.terms-section {
    font-family: 'Kosugi Maru', sans-serif;
    line-height: 1.8; /* 行間を広くして視認性を向上 */
    color: #333;
    background-color: #ffffff;
    padding: 20px;
    margin: 20px auto;
    max-width: 700px; /* 行幅を調整 */
    border-radius: 10px;
}

.terms-section h2 {
    font-size: 1.6rem;
    color: #444;
    margin-bottom: 10px;
    border-left: 5px solid #ffcc00; /* 見出しを強調 */
    padding-left: 10px;
}

.terms-section ol {
    padding-left: 20px;
    list-style: decimal;
}

.terms-section li {
    margin-bottom: 15px; /* 各項目の間隔を広げる */
    line-height: 1.6;
}

.terms-section .term-key {
    font-weight: bold; /* キーワードを太字で強調 */
}

.terms-section p {
    margin-bottom: 15px; /* 各段落の間隔を広げる */
    line-height: 1.8;
}


/* フッター */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #e7e7e7; /* トップページのフッター色に合わせる */
    color: #858585;
    font-size: 0.9rem;
    font-family: "Comic Sans MS", "Comic Sans", cursive;
}

.footer-link {
    color: #000000;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 10px;
    display: inline-block;
}

.footer-link:hover {
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media screen and (max-width: 500px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }
    .header h1 {
        font-size: 1.5rem;
    }
    .logo-image {
        width: 40px;
    }
}
