/* ─────────────────────────────────────────
   共通：規約系ページ（宿泊約款 / 利用規則 / 預かり品規定 /
   取材・撮影注意事項 / SNSガイドライン / カスハラ基本方針 /
   セルフクローク規約）
   読みやすさと正確性を最優先。装飾は最小、情報階層を明確に。
   ───────────────────────────────────────── */

.regulation {
  padding: clamp(60px, 8vw, 120px) 0 clamp(80px, 10vw, 160px);
  background: var(--elcient-cream);
  color: var(--elcient-black, #150201);
}
.regulation__inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  font-family: var(--font-ja);
  font-size: var(--text-base, 15px);
  line-height: 2;
  letter-spacing: 0.03em;
}

/* ── opening ── */
.regulation__opening {
  padding-bottom: clamp(32px, 4vw, 48px);
  margin-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid rgba(20, 2, 1, 0.14);
}
.regulation__issuer {
  font-family: var(--font-ja-serif, serif);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.regulation__issuer-date {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-ja);
  font-size: var(--text-sm, 13px);
  font-weight: 400;
  letter-spacing: var(--ls-base);
  color: rgba(20, 2, 1, 0.65);
}
.regulation__intro {
  font-size: var(--text-base, 15px);
}

/* ── sections ── */
.regulation__section {
  margin-bottom: clamp(32px, 3.5vw, 48px);
}
.regulation__h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-ja-serif, serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(20, 2, 1, 0.18);
  line-height: 1.5;
}
.regulation__num {
  flex-shrink: 0;
  font-family: var(--font-en, 'Jost', sans-serif);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  color: var(--elcient-orange, #f58345);
  letter-spacing: 0;
  line-height: 1;
}
.regulation__article-no {
  flex-shrink: 0;
  font-family: var(--font-ja-serif, serif);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 500;
  color: var(--elcient-orange, #f58345);
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 4px 10px;
  border: 1px solid var(--elcient-orange, #f58345);
  border-radius: 2px;
}
.regulation__h3 {
  font-family: var(--font-ja-serif, serif);
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 1.2em 0 0.6em;
  padding-left: 14px;
  border-left: 3px solid var(--elcient-orange, #f58345);
}

.regulation p + p {
  margin-top: 0.8em;
}

/* ── lists ── */
.regulation__list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.regulation__list > li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.6em;
}
.regulation__list > li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--elcient-orange, #f58345);
  font-weight: 700;
}

/* 日本語カッコ数字 (1)(2)(3) — 条文の項を表す */
.regulation__ol {
  counter-reset: reg-ol;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.regulation__ol > li {
  counter-increment: reg-ol;
  position: relative;
  padding-left: 2.4em;
  margin-bottom: 0.5em;
}
.regulation__ol > li::before {
  content: '(' counter(reg-ol) ')';
  position: absolute;
  left: 0;
  font-family: var(--font-en, 'Jost', sans-serif);
  color: var(--elcient-orange, #f58345);
  font-weight: 500;
}

/* カタカナ見出し付 — イ ロ ハ ニ … */
.regulation__kana {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 1em;
}
.regulation__kana > li {
  margin-bottom: 0.4em;
  line-height: 1.85;
}
.regulation__kana > li > span:first-child {
  display: inline-block;
  min-width: 1.6em;
  color: var(--elcient-orange, #f58345);
  font-weight: 600;
}

/* 入子の list */
.regulation__list--inner {
  margin-top: 8px;
  margin-left: 0;
}

/* 補足（小さい注釈） */
.regulation__note-inline {
  display: block;
  margin-top: 0.4em;
  font-size: var(--text-sm, 13px);
  color: rgba(20, 2, 1, 0.72);
  padding-left: 1em;
  border-left: 2px solid rgba(245, 131, 69, 0.3);
}
.regulation__annotation {
  margin-top: 10px;
  font-size: var(--text-sm, 13px);
  color: rgba(20, 2, 1, 0.7);
  line-height: 1.85;
}

/* 表 */
.regulation__table-wrap {
  margin: 20px 0;
  overflow-x: auto;
}
.regulation__table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(13px, 1vw, 14.5px);
  line-height: 1.7;
}
.regulation__table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-ja-serif, serif);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-size: clamp(15px, 1.2vw, 17px);
}
.regulation__table th,
.regulation__table td {
  padding: 10px 12px;
  border: 1px solid rgba(20, 2, 1, 0.18);
  text-align: center;
  vertical-align: middle;
}
.regulation__table thead th {
  background: rgba(245, 131, 69, 0.08);
  font-weight: 600;
  letter-spacing: var(--ls-base);
}
.regulation__table th:first-child,
.regulation__table td:first-child {
  text-align: left;
  background: rgba(20, 2, 1, 0.03);
}

/* endmark 以 上 */
.regulation__endmark {
  text-align: right;
  margin: clamp(28px, 3vw, 40px) 0;
  font-family: var(--font-ja-serif, serif);
  letter-spacing: 0.3em;
  font-size: clamp(15px, 1.2vw, 17px);
}

/* PDF ダウンロードリンク */
.regulation__download {
  margin: clamp(32px, 4vw, 48px) 0 clamp(20px, 2.5vw, 28px);
  text-align: center;
}
.regulation__download-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1px solid var(--elcient-orange, #f58345);
  color: var(--elcient-orange, #f58345);
  font-family: var(--font-ja);
  font-size: var(--text-sm, 14px);
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 50px;
  transition: background 0.2s ease, color 0.2s ease;
}
.regulation__download-link:hover {
  background: var(--elcient-orange, #f58345);
  color: #fff;
  text-decoration: none;
  opacity: 1;
}
.regulation__download-link::before {
  content: '↓';
  font-size: 1.1em;
  line-height: 1;
}

/* 備考 aside */
.regulation__note {
  margin: clamp(32px, 4vw, 48px) 0 clamp(40px, 5vw, 60px);
  padding: clamp(24px, 3vw, 32px) clamp(20px, 3vw, 36px);
  background: rgba(245, 131, 69, 0.06);
  border-left: 3px solid var(--elcient-orange, #f58345);
  border-radius: 2px;
}
/* 別表 */
.regulation__appendix {
  margin-top: clamp(60px, 6vw, 88px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 2px solid var(--elcient-black, #150201);
}
.regulation__appendix-ref {
  margin: -8px 0 20px;
  font-size: var(--text-sm, 13px);
  color: rgba(20, 2, 1, 0.6);
  letter-spacing: var(--ls-base);
}
.regulation__subannotation {
  margin-top: 12px;
  margin-left: 1em;
  font-size: var(--text-sm, 13.5px);
  font-weight: 500;
  color: rgba(20, 2, 1, 0.82);
}
.regulation__endmark-date {
  text-align: right;
  margin-top: -1.2em;
  font-size: var(--text-sm, 13px);
  color: rgba(20, 2, 1, 0.65);
  letter-spacing: 0.08em;
}

/* section-level inline links (privacy link in §22, etc.)
   ※ .c-button-line などボタン系は除外（ボタン自身が下線を引いているため二重線になる） */
.regulation__section a:not(.c-button-line):not(.c-doc-row):not(.cp-hotel-card):not(.contact-panel__half):not(.site-contact-cell) {
  color: var(--elcient-orange, #f58345);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.regulation__section a:not(.c-button-line):not(.c-doc-row):not(.cp-hotel-card):not(.contact-panel__half):not(.site-contact-cell):hover {
  opacity: 0.7;
}

/* パンフレット表紙画像 */
.pamphlet-item {
  margin: clamp(28px, 3.5vw, 44px) 0 clamp(40px, 5vw, 60px);
}
.pamphlet-item__cover {
  margin: clamp(16px, 2vw, 24px) 0 clamp(20px, 2.5vw, 28px);
  text-align: center;
}
.pamphlet-item__cover img {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(20, 2, 1, 0.08);
}

/* 連絡先ボックス */
.regulation__contact {
  margin: clamp(24px, 3vw, 36px) 0;
  padding: clamp(20px, 2.5vw, 28px) clamp(20px, 3vw, 32px);
  background: #fff;
  border: 1px solid rgba(20, 2, 1, 0.12);
  border-radius: 2px;
}
.regulation__contact-title {
  font-family: var(--font-ja-serif, serif);
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: var(--elcient-orange, #f58345);
}
.regulation__contact p {
  margin: 0.3em 0;
  font-size: var(--text-sm, 14px);
  line-height: 1.85;
}
.regulation__contact a {
  color: var(--elcient-orange, #f58345);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.regulation__contact a:hover {
  opacity: 0.7;
}

/* section-level body copy spacing */
.regulation__section > p:first-of-type {
  margin-top: 0;
}

/* strong emphasis */
.regulation strong {
  font-weight: 600;
}

/* responsive */
@media (max-width: 767px) {
  .regulation {
    padding: 56px 0 80px;
  }
  .regulation__inner {
    font-size: 14px;
    line-height: 1.9;
  }
  .regulation__h2 {
    gap: 10px;
    flex-wrap: wrap;
  }
  .regulation__article-no {
    font-size: 12px;
    padding: 3px 8px;
  }
  .regulation__ol > li {
    padding-left: 2em;
  }
  .regulation__list > li {
    padding-left: 1.2em;
  }
  .regulation__table th,
  .regulation__table td {
    padding: 8px 10px;
    font-size: var(--text-xs);
  }
}
