/*
 * 利用規約ページ (page-terms.php) 専用スタイル
 */

/* -------------------------------------------
 * 基本レイアウト・共通パーツ
 * ------------------------------------------- */
 .terms-page-main .container {
    max-width: 840px;
    margin: 0 auto;
    padding: 0 20px;
}

.terms-page-content {
    background-color: #fff;
    padding: 40px 0 80px;
    position: relative;
    z-index: 10;
}

/* -------------------------------------------
 * ヒーロービュー
 * ------------------------------------------- */
.terms-hero {
    height: 350px;
    background-image: url('https://asibimo.com/wp-content/uploads/2025/08/riyokiyaku-hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.terms-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}
.terms-hero-title {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    position: relative;
    z-index: 5;
}

/* -------------------------------------------
 * パンくずリスト
 * ------------------------------------------- */
.breadcrumbs {
    font-size: 14px;
    margin-bottom: 40px;
    color: #888;
}
.breadcrumbs a {
    color: #00b8d4;
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}

/* -------------------------------------------
 * 本文コンテンツ
 * ------------------------------------------- */
.terms-content-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.terms-section {
    margin-bottom: 40px;
}

.terms-content-body h2 {
    font-size: 1.25rem; /* 20px相当 */
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1em;
}

.terms-content-body p {
    margin-top: 0;
    margin-bottom: 1.5em;
}

.terms-content-body ul,
.terms-content-body ol {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 1.5em;
}

.terms-content-body ul li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 0.5em;
}
.terms-content-body ul li::before {
    content: '-';
    position: absolute;
    left: 0;
    top: 0;
    color: #333;
}

.terms-content-body ol {
    padding-left: 1.5em;
    list-style-type: decimal; /* 数字のリストマーカーを表示 */
}
.terms-content-body ol li {
    margin-bottom: 0.5em;
    padding-left: 0.5em;
}


.date-enacted {
    text-align: right;
    margin-top: 40px;
    font-size: 15px;
    color: #555;
}


/* -------------------------------------------
 * レスポンシブ対応
 * ------------------------------------------- */
@media (max-width: 768px) {
    .terms-page-content {
        margin-top: -60px;
        padding-bottom: 60px;
    }
    .terms-hero {
        height: 280px;
    }
    .terms-hero-title {
        font-size: 32px;
    }
    .terms-content-body {
        font-size: 15px;
    }
    .terms-content-body h2 {
        font-size: 1.1rem;
    }
}