/* =========================================
   ippan.html デザイン調整（第一弾 反映版）
   ========================================= */

/* 1. レイアウト土台（追加・修正箇所） */
.main-content {
    background-color: #f6f6f6; /* 薄いグレー背景 */
    padding: 80px 12px;        /* 上下80px、左右12px */
}

.post-wrapper {
    max-width: 780px;          /* 幅を780pxに制限 */
    margin: 0 auto;            /* 中央寄せ */
    background-color: transparent; /* 背景に馴染ませる */
    letter-spacing: 0.06em; /* ここに1行追加するだけで、中身すべてに適用されます */
    color: #1a1a1a; /* ここに1行追加（または書き換え） */
}

/* 2. 導入文（一番上のテキスト） */
.post-lead {
    font-size: 18px;
    line-height: 2.0;
    margin-bottom: 80px;
    font-weight: 500;
}

/* 3. サブタイトル (h2) - 破線スタイル */
.post-sub-title {
    font-size: 28px;
    font-weight: 700;
    margin: 80px 0 40px;
    padding-bottom: 20px;
    /* WHO WE AREと共通の破線デザイン */
    border-bottom: none;
    background-image: linear-gradient(to right, var(--main-black) 50%, transparent 50%);
    background-size: 10px 1px;
    background-repeat: repeat-x;
    background-position: bottom;
}

/* 4. 小見出し (h3) - 縦線を削除 */
.post-tertiary-title {
    font-size: 20px;
    font-weight: 700;
    margin: 50px 0 20px;
    display: block;
}

/* 5. 本文 (p) */
.post-text {
    font-size: 16px;
    line-height: 2.2;
    margin-bottom: 30px;
}

/* 6. リスト (ul/li) */
.post-list {
    margin: 20px 0 40px;
    padding-left: 10px;
    list-style: none;
}

.post-list li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.post-list li::before {
    content: "";
    position: absolute;
    top: 0.6em;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--main-black);
    border-radius: 50%;
}

/* スマホ用調整（768px以下）：指示反映版 */
@media (max-width: 768px) {
    .main-content {
        /* 上40px、右15px、下40px、左25px に設定 */
        padding: 40px 15px 40px 25px; 
    }

    .post-lead {
        font-size: 14px; /* 本文のサイズ変更に合わせて調整 */
        line-height: 1.8;
        margin-bottom: 40px;
    }
    
    .post-sub-title {
        font-size: 18px; /* ご指示のサイズに変更 */
        margin: 50px 0 25px;
        padding-bottom: 15px;
        background-size: 8px 1px;
    }
    
    .post-tertiary-title {
        font-size: 16px; /* ご指示のサイズに変更 */
        margin: 35px 0 15px;
    }

    .post-text {
        font-size: 14px; /* ご指示のサイズに変更 */
        line-height: 1.8;
        margin-bottom: 25px;
    }

    .post-list li {
        font-size: 14px; /* 本文のサイズ変更に合わせて調整 */
        line-height: 1.7;
        padding-left: 20px;
    }
}