/* =========================================================
   会員規約について ページのスタイル統一
   ========================================================= */

/* 1. 全体を共通の箱型デザインにする */
.fs-body-about-memberAgreement .fs-p-memberAgreement {
    background-color: #ffffff;
    border: 1px solid #d4c6b5;
    max-width: 800px;
    width: 100%;
    padding: 50px 40px;
    margin: 160px auto 60px; /* 見出し用の余白を上部に確保 */
    box-shadow: 0 4px 15px rgba(94, 76, 65, 0.1);
    position: relative;
    box-sizing: border-box;
}

/* 内側の二重線 */
.fs-body-about-memberAgreement .fs-p-memberAgreement::before {
    content: "";
    position: absolute;
    top: 5px; right: 5px; bottom: 5px; left: 5px;
    border: 1px solid #d4c6b5;
    pointer-events: none;
}

/* 2. 大見出し（ページタイトル）を箱の外に生成する */
.fs-body-about-memberAgreement .fs-p-memberAgreement > .fs-c-documentColumn:first-of-type::before {
    content: "会員規約について";
    position: absolute;
    top: -90px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1.8rem;
    color: #5e4c41;
    letter-spacing: 0.1em;
}

/* 英語のサブタイトル */
.fs-body-about-memberAgreement .fs-p-memberAgreement > .fs-c-documentColumn:first-of-type::after {
    content: "MEMBER AGREEMENT";
    position: absolute;
    top: -45px; /* 日本語タイトルの少し下に配置 */
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: #a89a8d;
    font-family: "Times New Roman", serif;
    letter-spacing: 0.2em;
}

/* 3. 中見出し(h3)の装飾 */
.fs-body-about-memberAgreement .fs-c-documentColumn__heading {
    font-size: 1.2rem;
    color: #5e4c41;
    border-bottom: 1px solid #d4c6b5;
    padding-bottom: 10px;
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: normal;
}

/* 最初の見出しの上余白をなくしてスッキリさせる */
.fs-body-about-memberAgreement .fs-c-documentColumn:first-of-type .fs-c-documentColumn__heading {
    margin-top: 0;
}

/* 4. 本文と箇条書きリスト（段落）の調整 */
.fs-body-about-memberAgreement p,
.fs-body-about-memberAgreement li {
    color: #5e4c41;
    line-height: 1.8;
}

/* リスト全体の左余白と、項目ごとの隙間 */
.fs-body-about-memberAgreement .fs-c-orderedList {
    padding-left: 1.5em;
    margin-bottom: 20px;
}
.fs-body-about-memberAgreement .fs-c-orderedList > li {
    margin-bottom: 15px; /* 各項目の間隔を少し広げて読みやすく */
}

/* 入れ子になっているリスト（1. の中にある (1) など）の余白調整 */
.fs-body-about-memberAgreement .fs-c-orderedList .fs-c-orderedList {
    margin-top: 10px;
    margin-bottom: 0;
}
.fs-body-about-memberAgreement .fs-c-orderedList .fs-c-orderedList > li {
    margin-bottom: 5px; /* 子要素の間隔は少し詰める */
}