/* =========================================================
   特定商取引法に基づく表記ページのスタイル統一
   ========================================================= */

/* 1. 全体を共通の箱型デザインにする */
.tokushoho-container {
    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;
}

/* 内側の二重線 */
.tokushoho-container::before {
    content: "";
    position: absolute;
    top: 5px; right: 5px; bottom: 5px; left: 5px;
    border: 1px solid #d4c6b5;
    pointer-events: none;
}

/* 2. 大見出し(h1)を箱の上に引き上げる */
.tokushoho-container h1 {
    position: absolute;
    top: -90px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1.8rem;
    font-weight: normal;
    margin: 0;
    color: #5e4c41;
    letter-spacing: 0.1em;
    border-bottom: none;
    background: transparent;
}

/* 3. 大見出しの英語サブタイトル（自動挿入） */
.tokushoho-container h1::after {
    content: "LEGAL INFO"; /* または LEGAL NOTICE 等 */
    display: block;
    font-size: 0.8rem;
    color: #a89a8d;
    margin-top: 10px;
    font-family: "Times New Roman", serif;
    letter-spacing: 0.2em;
}

/* 4. テーブル（表）のデザインを整える */
.tokushoho-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.tokushoho-table th,
.tokushoho-table td {
    padding: 25px 10px;
    border-bottom: 1px solid #f0e9e1;
    color: #5e4c41;
    line-height: 1.8;
    vertical-align: top; /* 文字を上揃えにして読みやすくする */
}

/* 左側の見出しセル */
.tokushoho-table th {
    width: 30%;
    text-align: left;
    color: #8c7b70;
    font-weight: normal;
}

/* 右側の内容セル */
.tokushoho-table td {
    width: 70%;
}

/* 最後の行の下線を消す（箱のデザインをスッキリ見せるため） */
.tokushoho-table tr:last-child th,
.tokushoho-table tr:last-child td {
    border-bottom: none;
}

/* 5. スマートフォン閲覧時のテーブル調整（画面幅600px以下で縦並びに） */
@media screen and (max-width: 600px) {
    .tokushoho-table th,
    .tokushoho-table td {
        display: block;
        width: 100%;
        padding: 10px;
    }
    .tokushoho-table th {
        padding-bottom: 0;
        border-bottom: none;
    }
    .tokushoho-table td {
        padding-top: 5px;
        padding-bottom: 25px;
    }
    /* スマホ時のみ、各項目の区切り線をtdの下に付ける */
    .tokushoho-table tr:not(:last-child) td {
        border-bottom: 1px solid #f0e9e1;
    }
}