/* ========================================================
   HOUSE RULES (宿泊規約) ページ用スタイル
   ======================================================== */

.rules-container {
    max-width: 800px;
    /* 文章が横に広がりすぎないように制限 */
    margin: 60px auto;
    padding: 50px;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* 軽い影で紙のような立体感を出す */
    border-top: 5px solid #eb5a0f;
    /* ブランドカラーのアクセント */
    border-radius: 8px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333333;
}

.rules-header {
    text-align: center;
    margin-bottom: 40px;
}

.rules-header .en-title {
    font-family: 'Kumbh Sans', sans-serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #eb5a0f;
    margin-bottom: 5px;
}

.rules-header .jp-title {
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #666666;
    letter-spacing: 0.1em;
}

.rules-intro {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eeeeee;
}

.rule-section {
    margin-bottom: 40px;
}

.rule-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    border-left: 4px solid #eb5a0f;
    padding-left: 12px;
    margin-bottom: 20px;
}

.rule-section ol {
    padding-left: 20px;
    font-size: 14px;
    line-height: 2.2;
}

.rule-sublist {
    list-style-type: disc;
    padding-left: 25px;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #555555;
    font-size: 13px;
    background-color: #f9f9f9;
    padding: 15px 15px 15px 35px;
    border-radius: 4px;
}

.rules-footer {
    text-align: center;
    margin-top: 60px;
}

/* --- 戻るボタンのアニメーション --- */
.back-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #333333;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    /* 🚨 ここがアニメーションの魔法です（0.3秒かけて変化する） */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-btn:hover {
    background-color: #eb5a0f;
    /* マウスを乗せたらブランドカラーに */
    color: #ffffff;
    transform: translateY(-3px);
    /* 🚨 少しだけ上にフワッと浮き上がる */
}

/* ========================================================
   English Typography (英語専用の美しいタイポグラフィ)
   ======================================================== */

/* 英語版のコンテナ全体に適用 */
#rules-en {
    /* 英語は Kumbh Sans を最優先にする */
    font-family: 'Kumbh Sans', Arial, sans-serif;

    /* 🚨 英語は日本語(2.0)より行間を少し詰めた方が読みやすいです */
    line-height: 1.6;

    /* 🚨 日本語の letter-spacing: 0.05em だと英単語がバラけるのでリセット */
    letter-spacing: 0;
}

/* 英語の本文（パラグラフとリスト） */
#rules-en p,
#rules-en li {
    /* 英語の小文字(a, e, xなど)は小さく見えがちなので、1pxだけ大きくします */
    font-size: 15px;
    color: #444444;
    /* 漆黒よりも少しだけグレーにすると目に優しいです */
    letter-spacing: 0.03em;
}

/* 英語の見出し（Article 1, 2...） */
#rules-en h2 {
    font-family: 'Kumbh Sans', sans-serif;
    font-weight: 700;
    letter-spacing: 0.03em;
    /* 見出しだけは少し隙間を開けて高級感を出す */
    margin-bottom: 15px;
}

/* 英語内の強調文字（太字） */
#rules-en b,
#rules-en strong {
    font-weight: 800;
    color: #111111;
    letter-spacing: 0.03em;
}

/* ========================================================
   おまけ：サイト全体で使える「英語専用クラス」
   (他のページでも <p class="en-text"> と書くだけで使えます)
   ======================================================== */
.en-text {
    font-family: 'Kumbh Sans', sans-serif;
    line-height: 1.6 !important;
    letter-spacing: 0 !important;
}

/* 📱 スマホ表示の微調整 */
@media screen and (max-width: 1024px) {
    .rules-container {
        padding: 30px 20px;
        margin: 30px auto;
    }
}