/*
 * club系ページ用のタイポグラフィ改善CSS
 * 既存のスタイルを上書きして統一化を図る
 */

/* 見出しの行間を調整 */
main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
    line-height: 1.4 !important;
}

/* 本文の行間を調整 */
main p,
main li,
main td,
main th {
    line-height: 1.8 !important;
}

/* 段落間の統一余白 */
main p {
    margin-bottom: 1.2em !important;
}

/* 見出し下の統一余白 */
main h3 {
    margin-bottom: 0.8em !important;
}

main h4 {
    margin-bottom: 0.6em !important;
}

/* .list-free内のh3の特別調整 */
.list-free h3.vertical {
    margin-bottom: 1em !important;
    padding-bottom: 0.5em !important;
}

.list-free h3.normal {
    margin-bottom: 0.8em !important;
}


/* .list-free内のh4の特別調整 */
.list-free h4 {
    margin-bottom: 0.8em !important;
}


/* 手動改行の代替として段落間余白を追加 */
.list-free p + p {
    margin-top: 1.5em !important;
}

/* テーブル内の行間調整 */
table td,
table th {
    line-height: 1.6 !important;
    padding: 0.8em 1em !important;
}

/* 番号付きリストの行間調整 */
ol li {
    margin-bottom: 0.5em !important;
}

/* 背景色付きセクション内の調整 */
.bg3 p {
    margin-bottom: 1em !important;
}

.bg3 h3 {
    margin-bottom: 0.8em !important;
}

.bg3 h4 {
    margin-bottom: 0.6em !important;
}

/* レスポンシブ対応：モバイル端末での行間調整 */
@media screen and (max-width: 600px) {
    main p,
    main li,
    main td,
    main th {
        line-height: 1.9 !important;
    }

    main h1,
    main h2,
    main h3,
    main h4,
    main h5,
    main h6 {
        line-height: 1.3 !important;
    }
}
