/* /about/ BUBについて (owner, 2026-10-06): the season pages' structure — a photograph hero with one
   line, the reasons one by one — in TOP's tone: section heads as on
   TOP, 12px-round photos with the figure white on the photo (クルー / 20+ / 0円 / 旬, as TOP's BUB
   RESORTとは), 「〜を見る >」 links, hand-drawn cut-outs left to TOP's wall. The reasons, not a day, so it
   does not repeat TOP's 過ごし方 or the season days. BUB COLOR only. */
.about-page {
  --about-ink: #2f2f2f;
  --about-body: rgb(47 47 47 / 85%);
  --about-muted: rgb(47 47 47 / 64%);
  --about-line: rgb(47 47 47 / 12%);
  --about-paper: #fcfcfc;
  --about-surface: #e7ecec;
  padding: 0;
  background: var(--about-paper);
  color: var(--about-ink);
}
.about-wrap { width: min(calc(100% - 40px), 1060px); margin-inline: auto; }
.about-phrase { display: inline-block; }
.about-note { margin: 12px 0 0; color: var(--about-muted); font-size: 12px; line-height: 20px; text-wrap: pretty; }

/* Hero: the season pages' photograph, one line, and the figures in place of the dates. */
.about-hero { position: relative; height: clamp(480px, 72svh, 640px); overflow: hidden; background: #0d0d0f; color: var(--about-paper); }
.about-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.about-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgb(0 0 0 / 42%) 0%, rgb(0 0 0 / 0%) 30%, rgb(0 0 0 / 0%) 42%, rgb(0 0 0 / 76%) 100%); pointer-events: none; }
.about-hero-inner { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; width: min(calc(100% - 40px), 1060px); margin-inline: auto; padding-bottom: 40px; }
.about-hero h1 { margin: 0; color: inherit; font-size: 34px; line-height: 1.35; font-weight: 700; }
.about-hero-line { margin: 12px 0 0; font-size: 14px; line-height: 1.8; font-weight: 500; }
/* TOP's hero foot: the brush edge into the paper. */
.about-hero::before { content: ""; position: absolute; z-index: 3; left: 0; right: 0; bottom: -1px; height: 18px; background: var(--about-paper); pointer-events: none; -webkit-mask: url('/assets/images/top-handdrawn-edge.png') center -72px / 140% 198px no-repeat; mask: url('/assets/images/top-handdrawn-edge.png') center -72px / 140% 198px no-repeat; }

/* The site already pads anchors (#how-to-join) by the header height. */

/* BUB RESORTとは as four equal cards (owner, 2026-10-06: a lead photo beside two crew tiles was hard to
   read). クルー / 20+ / 0円 / 旬, each a photo with its figure, a title, a line: TOP's intro cards.
   Stacked on phones, two by two on tablets, four in a row on the web; then how to join, full width. */
.about-story { padding: 48px 0 72px; }
/* TOP's section head: one title size, its 「すべて見る >」 on the same line. */
.about-head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.about-head-row > h2 { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 22px; line-height: 32px; font-weight: 700; text-wrap: balance; }
.about-more { display: inline-flex; flex: none; align-items: center; gap: 2px; min-height: 40px; color: var(--about-ink); font-size: 14px; line-height: 22px; font-weight: 700; text-decoration: none; }
.about-more::after { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: url('/assets/icons/lucide/source/chevron-right.svg') center / contain no-repeat; mask: url('/assets/icons/lucide/source/chevron-right.svg') center / contain no-repeat; }
.about-steps { display: grid; gap: 24px; }
.about-join { margin-top: -12px; }

/* Photos: 12px round, a soft shade, the figure or word white on the photo (TOP's 20+ / 0円 / 旬). */
.about-photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; }
.about-photo::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to bottom, rgb(0 0 0 / 0), rgb(0 0 0 / 55%)); pointer-events: none; }
.about-photo img, .about-facility-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-visual { position: relative; }
.about-figure { position: absolute; z-index: 1; left: 16px; bottom: 14px; display: flex; align-items: baseline; gap: 2px; margin: 0; color: #fcfcfc; font: 700 44px/1 var(--font-num, inherit), var(--font-ja, sans-serif); letter-spacing: -.02em; }
.about-figure small { font-size: 18px; letter-spacing: 0; }

/* The four reasons as cards. */
/* No sideways scrolling (owner, 2026-10-06: most people would not swipe to the other reasons).
   Phones stack the four; tablets set two by two; the web four in a row. */
.about-cards { display: grid; gap: 32px; }
.about-card .about-photo { aspect-ratio: 16 / 9; }
.about-card { display: flex; flex-direction: column; min-width: 0; }
.about-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; margin-top: 14px; }
.about-card-body > p:not(.about-note) { margin: 6px 0 0; color: var(--about-body); font-size: 14px; line-height: 1.85; }
.about-card-body .about-note { margin-top: 8px; }
.about-card-body .about-more { margin-top: auto; padding-top: 4px; }

/* 参加のしかた (/about/#how-to-join), as an app's onboarding: three
   steps, a straight Inter numeral each, joined by a hairline. No sample programme photos: they read as
   a menu to pick from in advance (owner, 2026-10-06). */
.about-join { padding: 20px 16px 16px; border-radius: 16px; background: var(--about-surface); }
.about-join h3 { margin: 0; font-size: 15px; line-height: 22px; font-weight: 700; }
.about-flow { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.about-flow::before { content: ""; position: absolute; top: 20px; left: 16.6%; right: 16.6%; height: 1px; background: rgb(47 47 47 / 22%); }
.about-flow li { position: relative; display: grid; justify-items: center; align-content: start; gap: 2px; min-width: 0; text-align: center; }
.about-flow-num { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 50%; background: var(--about-paper); font: 700 18px/1 var(--font-num, inherit); }
.about-flow li:last-child .about-flow-num { background: var(--about-ink); color: var(--about-paper); }
.about-flow b { font-size: 14px; line-height: 20px; font-weight: 700; }
.about-flow li > span:last-child { color: var(--about-muted); font-size: 12px; line-height: 16px; white-space: nowrap; }
.about-join .about-note { margin-top: 14px; text-align: center; }

/* Places: TOP's section head, then the three photo cards; the band ends in TOP's brush. */
.about-places::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: -17px; height: 18px; background: var(--about-surface); transform: scaleY(-1); pointer-events: none; -webkit-mask: url('/assets/images/top-handdrawn-edge.png') center -72px / 140% 198px no-repeat; mask: url('/assets/images/top-handdrawn-edge.png') center -72px / 140% 198px no-repeat; }
.about-places { position: relative; padding: 64px 0 72px; background: var(--about-surface); }
.about-places::before { content: ""; position: absolute; left: 0; right: 0; top: -17px; height: 18px; background: var(--about-surface); pointer-events: none; -webkit-mask: url('/assets/images/top-handdrawn-edge.png') center -72px / 140% 198px no-repeat; mask: url('/assets/images/top-handdrawn-edge.png') center -72px / 140% 198px no-repeat; }
/* All four places at a glance on phones, two by two: no sideways scrolling to find みなかみ (owner, 2026-10-06). */
.about-facility-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.about-facility-list > li { min-width: 0; }
@media (max-width: 767px) {
  .about-facility-photo { margin-bottom: 8px; }
  .about-facility strong { font-size: 16px; line-height: 24px; }
  .about-facility-lead { font-size: 13px; line-height: 20px; }
  .about-facility-rooms { font-size: 12px; line-height: 18px; }
  .about-facility-status { top: 8px; left: 8px; font-size: 10px; }
}
.about-facility { display: grid; gap: 4px; color: var(--about-ink); text-decoration: none; }
.about-facility-photo { display: block; aspect-ratio: 4 / 3; margin-bottom: 10px; overflow: hidden; border-radius: 12px; }
.about-facility-place { color: var(--about-muted); font-size: 12px; line-height: 18px; }
.about-facility strong { display: inline-flex; align-items: center; gap: 2px; font-size: 18px; line-height: 28px; }
.about-facility-lead { color: var(--about-body); font-size: 14px; line-height: 22px; }
.about-facility-rooms { color: var(--about-muted); font-size: 13px; line-height: 20px; }
/* みなかみ before it opens: TOP's 写真準備中 placeholder and 公開準備中 status. */
.about-facility-photo { position: relative; }
.about-facility-pending { display: grid; place-items: center; width: 100%; height: 100%; background: var(--about-paper); color: var(--about-muted); font-size: 13px; line-height: 20px; }
.about-facility-status { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 999px; background: var(--about-ink); color: var(--about-paper); font-size: 11px; line-height: 16px; font-weight: 700; }


/* よくあるご質問, as TOP closes: the questions parents ask next, then the full list. */
.about-faq { padding: 64px 0 72px; }
.about-faq-list { margin-top: 16px; border-top: 1px solid var(--about-line); }
.about-faq-item { border-bottom: 1px solid var(--about-line); }
.about-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 0; font-size: 15px; line-height: 23px; font-weight: 700; list-style: none; cursor: pointer; }
.about-faq-item summary::-webkit-details-marker { display: none; }
.about-faq-item summary::after { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; transform: rotate(90deg); transition: transform var(--feedback-duration, 150ms) ease; -webkit-mask: url('/assets/icons/lucide/source/chevron-right.svg') center / contain no-repeat; mask: url('/assets/icons/lucide/source/chevron-right.svg') center / contain no-repeat; }
.about-faq-item[open] summary::after { transform: rotate(-90deg); }
.about-faq-item summary:focus-visible { outline: 2px solid var(--about-ink); outline-offset: 2px; }
.about-faq-answer { padding: 0 0 16px; color: var(--about-body); font-size: 14px; line-height: 1.9; }
.about-faq-answer p { margin: 0; }
.about-faq-answer p + p { margin-top: 6px; }

/* The footer rises out of the band in TOP's brush, as on TOP and the facility tops. */
body:has([data-about-page]) .site-footer { position: relative; }
body:has([data-about-page]) .site-footer::before { content: ""; position: absolute; inset: -17px 0 auto; height: 18px; z-index: 1; pointer-events: none; background: var(--ink, #2f2f2f); -webkit-mask: url('/assets/images/top-handdrawn-edge.png') center -72px / 140% 198px no-repeat; mask: url('/assets/images/top-handdrawn-edge.png') center -72px / 140% 198px no-repeat; }

@media (min-width: 768px) {
  .about-wrap, .about-hero-inner { width: min(calc(100% - 96px), 1060px); }
  .about-hero { height: min(72svh, 720px); min-height: 560px; }
  .about-hero-inner { padding-bottom: 64px; }
  .about-hero h1 { font-size: 56px; line-height: 1.25; }
  .about-hero h1 .about-phrase { display: block; }
  .about-hero-line { font-size: 17px; }
  .about-story { padding: 96px 0 112px; }
  .about-head-row > h2 { font-size: 28px; line-height: 40px; }
  .about-steps { gap: 32px; }
  /* On wider screens how to join closes the cards, full width; on phones it follows its 20+ card. */
  .about-join { grid-column: 1 / -1; order: 1; margin-top: 0; }
  .about-card-body h2 { font-size: 18px; line-height: 28px; }
  .about-figure { left: 20px; bottom: 16px; font-size: 48px; }
  .about-figure small { font-size: 20px; }
  .about-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .about-card .about-photo { aspect-ratio: 4 / 3; }
  .about-card-body { margin-top: 16px; }
  .about-card-body > p:not(.about-note) { font-size: 15px; }
  .about-join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; align-items: center; padding: 28px 32px; }
  .about-join h3 { grid-column: 1; grid-row: 1; font-size: 17px; }
  .about-join .about-note { grid-column: 1; grid-row: 2; margin-top: 0; text-align: left; align-self: start; }
  .about-join h3 { align-self: end; }
  .about-flow { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .about-flow b { font-size: 15px; }
  .about-places { padding: 96px 0 112px; }
  .about-faq { padding: 96px 0 112px; }
  .about-facility-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 40px 0 0; }
}
/* Four in a row only where their titles fit. */
@media (min-width: 1200px) {
  .about-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (hover: hover) {
  .about-facility:hover strong { text-decoration: underline; text-underline-offset: 4px; }
  .about-more:hover { text-decoration: underline; text-underline-offset: 4px; }
}
/* みなかみ before its own photographs: a stand-in photograph (data-dummy names the real shot). */
.about-facility-pending { display: block; }
.about-facility-pending img { width: 100%; height: 100%; object-fit: cover; }
