/* 公开内页：单色、居中衬线页首与实拍照片。仅扩展本页类。 */
.pub-page { min-width: 0; padding-bottom: 48px; }
/* 页边距容器（协调者修 C3-P1-1）：阅读页已有 .wrap-text，其余公开页统一走 --max 宽 + 左右 --pad */
.pub-page:not(.wrap-text) { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.pub-intro { max-width: 960px; margin: 0 auto; padding: clamp(48px, 7vw, 100px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.pub-intro .lead { margin: 0 auto 24px; }
.pub-intro .eyebrow { font-family: var(--sans); }
.pub-intro > .btn { margin-top: 8px; min-height: 48px; }
.pub-address { margin-bottom: 20px; }
.pub-section { margin: clamp(56px, 7vw, 100px) 0 0; }
.pub-section > h2 { text-align: center; margin-bottom: 32px; }
.pub-section > .muted { text-align: center; }
.pub-gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.pub-gallery .ph { min-width: 0; min-height: 0; }
.pub-photo-main { min-height: 420px; }
.pub-gallery > .pub-photo-main:only-child { grid-column: 1 / -1; height: 520px; }
.pub-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(120px, 1fr); gap: 12px; min-width: 0; }
.pub-photo-grid .ph { aspect-ratio: 1.7; }
.pub-photo-grid .ph:only-child { grid-column: 1 / -1; aspect-ratio: auto; }
.pub-photo-grid .ph:last-child:nth-child(odd):not(:only-child) { grid-column: 1 / -1; aspect-ratio: 3.5; }
.pub-facts { max-width: 864px; margin: 0 auto 24px; }
.pub-facts dt { display: flex; align-items: center; gap: 10px; }
.pub-facts dt img { width: 24px; height: 24px; flex: 0 0 24px; }
.pub-facts + .text-link { display: block; text-align: center; }
.pub-pkg { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.pub-pkg h3 { font-family: var(--serif); }
.pub-pkg .price { font-family: var(--serif); font-size: clamp(2rem, 3vw, 3rem); line-height: 1.2; margin: 12px 0 24px; }
.pub-pkg ul { padding-left: 1.25em; margin: 0 0 28px; line-height: 1.9; }
.pub-pkg .package-note { margin-bottom: 28px; color: var(--muted); }
.pub-pkg > .btn { width: 100%; margin-top: auto; min-height: 48px; white-space: normal; text-align: center; }
.pub-actions { justify-content: center; margin-top: 40px; }
.pub-inquiry { width: 100%; max-width: 864px; margin: 0 auto; gap: 28px 24px; }
.pub-inquiry .field > span, .pub-inquiry legend { font-family: var(--serif); font-size: 1.15rem; }
.pub-inquiry .field:has(textarea), .pub-inquiry > fieldset, .pub-early, .pub-form-note, .pub-submit, .pub-inquiry .form-feedback { grid-column: 1 / -1; }
.pub-inquiry input:not([type="checkbox"]), .pub-inquiry select { border-radius: 999px; height: 52px; }
.pub-priorities { border: 0; padding: 0; border-radius: 0; }
.pub-priorities legend { padding: 0; margin-bottom: 12px; }
.pub-checks { display: flex; flex-wrap: wrap; gap: 10px; }
.pub-inquiry .chip-check { display: inline-flex; position: relative; min-width: 0; cursor: pointer; }
.pub-inquiry .chip-check > input { position: absolute; width: 1px; height: 1px; margin: 0; clip-path: inset(50%); overflow: hidden; }
.pub-inquiry .chip-check > span { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 999px; padding: 11px 20px; min-height: 48px; line-height: 1.5; background: #fff; color: var(--ink); }
.pub-inquiry .chip-check > input:checked + span { background: var(--ink-2); color: #fff; border-color: var(--ink-2); }
.pub-inquiry .chip-check > input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.pub-inquiry .chip-check:hover > span { border-color: var(--ink); }
.pub-early { justify-self: start; }
.pub-form-note { margin: 0; }
.pub-submit { width: 100%; min-height: 56px; white-space: normal; }
.pub-inquiry .form-feedback { margin: 0; }
.pub-reading { max-width: 760px; padding-left: 0; padding-right: 0; }
.pub-reading .pub-section { margin-top: 0; padding: 32px 0; border-top: 1px solid var(--line); }
.pub-reading .pub-section > h2 { text-align: left; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 24px; }
.pub-reading .pub-prose { line-height: 1.9; }
.pub-numbered { list-style: none; counter-reset: rule; padding: 0; margin: 0; }
.pub-numbered li { counter-increment: rule; position: relative; padding: 24px 0 24px 56px; border-top: 1px solid var(--line); line-height: 1.9; }
.pub-numbered li::before { content: counter(rule, decimal-leading-zero); position: absolute; left: 0; top: 20px; font-family: var(--serif); font-size: 1.75rem; line-height: 1.5; }
.pub-rules { counter-reset: section; }
.pub-rules .pub-section { counter-increment: section; }
.pub-rules .pub-section > h2::before { content: counter(section, decimal-leading-zero) " / "; color: var(--muted); font-family: var(--serif); }
@media (min-width: 640px) {
  .pub-inquiry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .pub-intro { padding-top: 48px; }
  .pub-gallery { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pub-gallery > .pub-photo-main { min-height: 0; height: 240px; }
  .pub-gallery > .pub-photo-main:only-child { height: 280px; }
  .pub-photo-grid { gap: 8px; grid-auto-rows: auto; }
  .pub-photo-grid .ph { aspect-ratio: 1.25; }
  .pub-gallery:has(.pub-photo-grid) > .pub-photo-main { grid-column: 1 / -1; }
  .pub-photo-grid .ph:only-child { grid-column: auto; aspect-ratio: 1.25; }
  .pub-reading .pub-intro { padding-bottom: 40px; }
  .pub-inquiry .chip-check > span { padding: 10px 16px; }
}
