

/* 区画の状態を示す帯。受付前は「何を準備しているか」、受付後は申込先を書く。
   破線の枠は作りかけに見えるため、本文と同じ罫線の組みに揃える。 */
.preparing {
  display: grid;
  margin-top: 40px;
  padding: 28px 0 30px;
  gap: 10px 40px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  grid-template-columns: 132px minmax(0, 1fr);
}

.preparing__label {
  margin: 0;
  color: var(--sun);
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.preparing h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(21px, 2.1vw, 26px);
  font-weight: 500;
  line-height: 1.55;
  line-break: strict;
}

.preparing p {
  margin: 14px 0 0;
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 13px;
}

.preparing .button {
  margin-top: 22px;
  min-height: 46px;
  padding: 11px 18px;
  font-size: 11px;
}

.section--dark .preparing {
  border-top-color: var(--line-light);
  border-bottom-color: var(--line-light);
}

.section--dark .preparing p {
  color: rgba(255, 255, 255, 0.78);
}

/* ------------------------------------------------------------------ *
   ヘッダーの現在地チップ

   配下ページはどれも夕景の写真で始まるため、スクロール中に
   「いま何のページを見ているか」がヘッダーだけで分かるようにする。
   狭い画面では戻り導線と支援ボタンを優先して隠す。
 * ------------------------------------------------------------------ */
.page-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  gap: 7px;
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.page-tag .ico {
  width: 15px;
  height: 15px;
  vertical-align: 0;
}

@media (max-width: 680px) {
  .page-tag {
    display: none;
  }
}

/* ------------------------------------------------------------------ *
   ヘッダーの戻り導線
 * ------------------------------------------------------------------ */
.back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--sun);
  text-decoration-thickness: 2px;
}

/* ------------------------------------------------------------------ *
   ヒーロー
 * ------------------------------------------------------------------ */
.sub-hero {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.sub-hero--dark {
  border-bottom: 0;
  background: var(--dusk);
  color: var(--white);
}

.sub-hero__inner {
  display: grid;
  width: min(1280px, calc(100% - 80px));
  align-items: center;
  margin: 0 auto;
  padding: clamp(40px, 4vw, 64px) 0 clamp(40px, 4vw, 64px);
  gap: clamp(32px, 4vw, 60px);
  grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
}

.sub-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 3.8vw, 52px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  line-break: strict;
  text-wrap: balance;
}

.sub-hero h1 span {
  display: block;
}

.sub-hero__lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.sub-hero--dark .sub-hero__lead {
  color: rgba(255, 255, 255, 0.82);
}

.sub-hero--dark .eyebrow::before {
  background: var(--sun);
}

.sub-hero__photo {
  margin: 0;
}

.sub-hero__photo img {
  height: clamp(300px, 32vw, 440px);
  object-fit: cover;
}

.sub-hero__photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0 0;
  border-top: 1px solid var(--ink);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.sub-hero--dark .sub-hero__photo figcaption {
  border-top-color: var(--line-light);
  color: rgba(255, 255, 255, 0.72);
}

.sub-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------------ *
   コンセプトの3本柱
 * ------------------------------------------------------------------ */
.pillars {
  display: grid;
  margin-top: 44px;
  gap: 0;
  border-top: 1px solid var(--ink);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar {
  padding: 26px 30px 30px 0;
  border-right: 1px solid var(--line);
}

.pillar:last-child {
  padding-right: 0;
  border-right: 0;
}

.pillar + .pillar {
  padding-left: 30px;
}

.pillar__no {
  margin: 0 0 16px;
  color: var(--sun);
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.pillar h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(19px, 1.9vw, 23px);
  font-weight: 500;
  line-height: 1.55;
}

.pillar p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

/* ------------------------------------------------------------------ *
   時間割（縦のタイムライン）
 * ------------------------------------------------------------------ */
.timeline {
  margin: 44px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.timeline li {
  display: grid;
  align-items: baseline;
  padding: 18px 0;
  gap: 6px 28px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 108px minmax(0, 1fr);
}

.timeline time {
  font-family: var(--utility);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.timeline strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
}

.timeline p {
  margin: 5px 0 0;
  grid-column: 2;
  color: var(--ink-soft);
  font-size: 13px;
}

.section--dark .timeline {
  border-top-color: var(--line-light);
}

.section--dark .timeline li {
  border-bottom-color: var(--line-light);
}

.section--dark .timeline p {
  color: rgba(255, 255, 255, 0.75);
}

/* ------------------------------------------------------------------ *
   施設・区画カード
 * ------------------------------------------------------------------ */
.cards {
  display: grid;
  margin-top: 40px;
  gap: 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
}

.card__pitch {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.card__meta {
  margin: 0;
  padding: 16px 0 0;
}

.card__meta > div {
  display: grid;
  padding: 8px 0;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 84px minmax(0, 1fr);
}

.card__meta dt {
  font-size: 11px;
  font-weight: 800;
}

.card__meta dd {
  margin: 0;
  font-size: 13px;
}

.card__action {
  margin-top: 20px;
  align-self: flex-start;
}

/* ------------------------------------------------------------------ *
   区画・持ち物などの箇条書き
 * ------------------------------------------------------------------ */
.spec {
  display: grid;
  margin: 40px 0 0;
  gap: 0;
  border-top: 1px solid var(--ink);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.spec > div {
  display: grid;
  padding: 15px 0;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 130px minmax(0, 1fr);
}

.spec > div:nth-child(even) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.spec dt {
  font-size: 11px;
  font-weight: 800;
}

.spec dd {
  margin: 0;
  font-size: 13px;
}

.section--dark .spec {
  border-top-color: var(--line-light);
}

.section--dark .spec > div {
  border-bottom-color: var(--line-light);
}

.section--dark .spec > div:nth-child(even) {
  border-left-color: var(--line-light);
}

/* ------------------------------------------------------------------ *
   ほかの泊まり方への相互リンク
 * ------------------------------------------------------------------ */
.other-stays {
  display: grid;
  margin-top: 40px;
  gap: 0;
  border-top: 1px solid var(--ink);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.other-stays a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
  padding: 24px 28px 24px 0;
  border-right: 1px solid var(--line);
  text-decoration: none;
  transition: background 180ms ease;
}

.other-stays a:last-child {
  padding-right: 0;
  border-right: 0;
}

.other-stays a + a {
  padding-left: 28px;
}

.other-stays a:hover,
.other-stays a:focus-visible {
  background: var(--white);
}

.other-stays__kicker {
  font-family: var(--utility);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.other-stays strong {
  margin: 18px 0;
  font-family: var(--display);
  font-size: clamp(21px, 2.1vw, 26px);
  font-weight: 500;
  line-height: 1.5;
}

.other-stays span:last-child {
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--sun);
  text-decoration-thickness: 2px;
}

/* ------------------------------------------------------------------ *
   本文の版面
 * ------------------------------------------------------------------ */
.section--dark {
  color: var(--white);
  background: var(--dusk);
}

.narrow {
  width: min(880px, 100%);
}

.lede {
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.section--dark .lede {
  color: rgba(255, 255, 255, 0.8);
}

.note {
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px dotted var(--ink);
  color: var(--ink-soft);
  font-size: 12px;
}

.section--dark .note {
  border-top-color: var(--line-light);
  color: rgba(255, 255, 255, 0.72);
}

/* ------------------------------------------------------------------ *
   レスポンシブ
 * ------------------------------------------------------------------ */
@media (max-width: 980px) {
  .sub-hero__inner {
    width: calc(100% - 64px);
    gap: 30px;
    grid-template-columns: 1fr;
  }

  .sub-hero__photo img {
    height: clamp(260px, 36vw, 360px);
  }

  .pillars,
  .cards,
  .spec,
  .other-stays {
    grid-template-columns: 1fr;
  }

  .pillar,
  .pillar + .pillar {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pillar:last-child {
    border-bottom: 0;
  }

  .spec > div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .other-stays a,
  .other-stays a + a {
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .other-stays a:last-child {
    border-bottom: 0;
  }

  .preparing {
    gap: 14px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  /* 390pxでは「戻り＋支援ボタン」が入り切らず折り返す。
     戻りは矢印だけにして、名称はaria-labelで残す。 */
  .back-link__text {
    display: none;
  }

  .back-link {
    min-width: 44px;
    justify-content: center;
    font-size: 15px;
  }

  .site-header .button--line {
    padding: 10px 14px;
    font-size: 11px;
    white-space: nowrap;
  }

  .sub-hero__inner {
    width: calc(100% - 40px);
    padding: 26px 0 30px;
    gap: 24px;
  }

  /* 見出しの級数が幅を超えて1〜2文字が泣き別れる */
  .sub-hero h1,
  .section h2 {
    font-size: clamp(28px, 7.8vw, 36px);
  }

  .sub-hero h1 {
    font-size: clamp(30px, 8.4vw, 38px);
  }

  .sub-hero__photo img {
    height: clamp(220px, 58vw, 280px);
  }

  .sub-hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .timeline li {
    gap: 4px;
    grid-template-columns: 1fr;
  }

  .timeline p {
    grid-column: 1;
  }

  .card__meta > div,
  .spec > div {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
  }
}
