/**
 * Policy List Style
 * 共通の方針・規約リスト用スタイル
 */

.p-privacy {
    padding: clamp(60px, 8vw, 100px) 0;
}

/* リスト全体のコンテナ */
.p-policy__list {
    margin-top: 40px;
}

/* 各項目（1. 2. など）のラップ */
.p-policy__item {
    margin-bottom: clamp(40px, 8vw, 60px);
}

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

/* 項目のタイトル（h3） */
.p-policy__item-title {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    font-weight: 800;
    color: var(--color-main);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E0E0E0;
    position: relative;
}

/* タイトル下の装飾（アクセント） */
.p-policy__item-title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-key); /* 黄色 */
}

/* 本文テキスト */
.p-policy__item-text {
    font-size: 16px;
    line-height: 2;
    color: var(--color-font);
    margin-bottom: 15px;
}

/* 箇条書き（ul） */
.p-policy__item-tags {
    list-style: none;
    margin: 20px 0;
    padding-left: 10px;
}

.p-policy__item-tags li {
    position: relative;
    padding-left: 1.5em;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.p-policy__item-tags li::before {
    content: "・";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: var(--color-main);
}

/* 具体的取組などのグレー背景ボックス */
.p-policy__effort {
    background-color: #F8F8F8;
    padding: 30px;
    border-radius: 4px;
    margin-top: 25px;
}

.p-policy__effort-label {
    display: block;
    font-weight: 800;
    color: var(--color-main);
    margin-bottom: 15px;
    font-size: 15px;
}

/* 更新日などの注釈テキスト */
.p-policy__update {
    font-size: 14px;
    font-weight: bold;
    color: var(--color-main);
    margin-top: 20px;
    display: inline-block;
}

/* 保険会社等の外部リンクリスト（Privacyページ用） */
.p-policy__company-list {
    list-style: none;
}

.p-policy__company-list li {
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px dashed #DDD;
}

.p-policy__company-list li:last-child {
    border-bottom: none;
}

.p-policy__company-list a {
    color: var(--color-main);
    text-decoration: underline;
    transition: opacity 0.3s;
}

.p-policy__company-list a:hover {
    opacity: 0.7;
}

/**
 * レスポンシブ (SP)
 */
@media screen and (max-width: 768px) {
    .p-policy__list {
        margin-top: 30px;
    }

    .p-policy__item-title {
        font-size: 17px;
    }

    .p-policy__item-text {
        font-size: 15px;
        line-height: 1.8;
    }

    .p-policy__effort {
        padding: 20px;
    }
}