/* Google Fonts（英語・日本語の組み合わせ） */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;600;700;900&display=swap');

/* リセット・ベース */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ========================================
   余白ルール（Spacing）
   - コンテンツ間の padding / margin は必ず 15px 以上とする
   - 段階的に余白を指定し、バランスを統一する
   ======================================== */
:root {
  /* フォント：見出し英語＝Cormorant Garamond / 本文＝Noto Sans JP / KV＝Noto Serif JP Black */
  --font-en: 'Cormorant Garamond', serif;
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-ja-serif: 'Noto Serif JP', serif;

  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration: 0.5s;
  --duration-slow: 0.8s;
  /* 固定ヘッダー分の余白・アンカー用。実寸は js/main.js で上書き */
  --header-height: 104px;

  /* 余白スケール（最小15pxを守る） */
  --space-min: 15px;      /* 最小余白：コンテンツ間は必ずこの値以上 */
  --space-sm: 20px;       /* 小：テキストまわり・リスト間 */
  --space-md: 28px;       /* 中：ブロック間・カード間 */
  --space-lg: 40px;       /* 大：セクション内のブロック */
  --space-xl: 48px;       /* 特大：セクション上下・メインコンテンツの余白 */

  /* コンテンツ左右の padding（通常は1.5rem、必ず15px以上） */
  --content-padding-x: 1.5rem;
  --content-padding-y: var(--space-lg);

  /* コンテンツ最大幅（インナー幅・小さい方） */
  --content-max-width: 1000px;

  --color-brand: #77DD77;
  --color-brand-hover: #5BC85B;
  --color-brand-rgb: 119, 221, 119;
  /* 白背景上のアクセント文字（可読性優先） */
  --color-text: #1B5E20;
  --color-text-rgb: 27, 94, 32;
  /* ブランド色の上に載せる文字 */
  --color-on-brand: #145214;
  --color-on-brand-rgb: 20, 82, 20;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 0.5rem);
  height: 100%;
}

body {
  font-family: var(--font-ja);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

html.is-page-loading,
html.is-page-loading body {
  overflow: hidden;
}

/* ページ読み込みローディング */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--color-brand) 0%, var(--color-brand-hover) 100%);
  transition: opacity 0.55s var(--ease-out), visibility 0.55s var(--ease-out);
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-min);
}

.page-loader__logo {
  display: block;
  width: min(42vw, 160px);
  height: auto;
  object-fit: contain;
  animation: page-loader-logo-fade 1s var(--ease-out) both;
}

@keyframes page-loader-logo-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.page-loader__name {
  margin: 0.65rem 0 0;
  font-family: var(--font-ja);
  font-size: clamp(1.5rem, 5.5vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--color-on-brand);
  text-align: center;
  animation: page-loader-logo-fade 1s var(--ease-out) 0.15s both;
}

.page-loader__indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.page-loader__indicator span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(var(--color-on-brand-rgb), 0.85);
  opacity: 0.2;
  animation: page-loader-dot 1.4s var(--ease-in-out) infinite;
}

.page-loader__indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.page-loader__indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes page-loader-dot {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader__logo,
  .page-loader__name {
    animation: none;
    opacity: 1;
  }

  .page-loader__indicator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* キービジュアル／TOPテキスト／レストラン推奨スライドは全端末でフェードさせる */
  .key-visual__slideshow {
    animation-duration: 1.4s !important;
  }

  .key-visual__slide {
    transition-duration: 0.8s !important;
  }

  .restaurant-slider__slide {
    transition-duration: 0.6s !important;
  }

  .key-visual__title,
  .key-visual__lead {
    animation-duration: 0.9s !important;
  }

  /* TOPキャッチも視差オフ時にフェードさせる */
  .key-visual--home.is-catch-in .key-visual__catch {
    animation-duration: 2.5s !important;
  }

  .key-visual--home.is-catch-in .key-visual__catch--lead {
    animation-delay: 0.25s !important;
  }

  .key-visual--home.is-catch-in .key-visual__catch:nth-child(2) {
    animation-delay: 0.75s !important;
  }

  .key-visual--home.is-catch-in .key-visual__catch:nth-child(3) {
    animation-delay: 1.25s !important;
  }

  /* SPメニューは視差オフでも滑らかに開閉 */
  .header__nav,
  .header__overlay {
    transition-duration: 0.4s !important;
  }
}

/* フロート式ヘッダー（高さ固定でレイアウトに影響させない） */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0;
  display: flex;
  align-items: center;
  background: rgba(var(--color-brand-rgb), 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  transition: background var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
  /* transform / 横padding は fixed 子（SPメニュー）を画面端からずらすため使わない */
}

.header__overlay {
  display: none;
}

@keyframes headerSlideDown {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.header__inner {
  width: 100%;
  max-width: min(1280px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 15px 1.5rem;
  box-sizing: border-box;
  min-width: 0;
  animation: headerSlideDown 0.7s var(--ease-out) both;
}

.header__logo {
  display: block;
  flex: 0 0 auto;
  text-decoration: none;
  transition: opacity var(--duration) var(--ease-out);
  line-height: 0;
}

.header__logo img {
  display: block;
  width: 72px;
  max-width: 100%;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.header__logo:hover {
  opacity: 0.9;
}

/* 右端アクション（天気＋WEB予約＋LINE） */
.header__actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.5rem;
  margin-left: 0;
  z-index: 101;
  position: relative;
}

.header__weather {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: auto;
  padding: 0.35rem 0.35rem;
  color: #000;
  text-decoration: none;
  border-radius: 4px;
  white-space: nowrap;
  transition: color var(--duration) var(--ease-out),
              background var(--duration) var(--ease-out);
}

.header__weather:hover {
  opacity: 1;
  color: #000;
  background: rgba(0, 0, 0, 0.08);
}

.header__weather-label {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  font-family: var(--font-ja-serif);
  font-size: clamp(0.75rem, 0.9vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #000;
}

.header__weather-icon {
  display: block;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  color: #ffd54a;
}

/* WEB予約（PC：ナビと独立して右端固定／SP：ヘッダーバーにも表示） */
.header__reservation-sp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  font-family: var(--font-ja-serif);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #000;
  background: #fff;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 1;
  white-space: nowrap;
  transition: color var(--duration) var(--ease-out),
              background var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              opacity var(--duration) var(--ease-out);
}

.header__reservation-sp:hover {
  background: #f0f4f0;
  color: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0.85;
}

.header__reservation-sp--current {
  border: 2px solid var(--color-brand);
  font-weight: 700;
  background: #fff;
}

/* ハンバーガーボタン（スマホ時のみ表示） */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  gap: 6px;
  z-index: 101;
  position: relative;
}

.header__hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #0e3a0e;
  border-radius: 1px;
  transition: transform var(--duration) var(--ease-out),
              opacity var(--duration) var(--ease-out);
}

.header.is-menu-open .header__hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header.is-menu-open .header__hamburger-line:nth-child(2) {
  opacity: 0;
}
.header.is-menu-open .header__hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.header__nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  flex: 0 1 auto;
  min-width: 0;
  gap: 0.1rem 0.25rem;
}

.header__nav > .header__link {
  flex: 0 0 auto;
  padding: 0.35rem 0.35rem;
  font-family: var(--font-ja-serif);
  font-size: clamp(0.75rem, 0.9vw, 0.9rem);
  letter-spacing: 0.04em;
}

/* PC：ナビ内のWEB予約は右端ボタンと重複するため非表示 */
.header__nav .header__link--reservation {
  display: none;
}

/* WEB予約（ハンバーガー内・SP） */
.header__link--reservation {
  margin-left: auto;
  background: #fff;
  color: rgba(var(--color-text-rgb), 0.9);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 1;
  transition: color var(--duration) var(--ease-out),
              background var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              opacity var(--duration) var(--ease-out);
}

.header__link--reservation:hover {
  background: #f0f4f0;
  color: var(--color-text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0.85;
}

.header__link--reservation.header__link--current {
  color: rgba(var(--color-text-rgb), 0.9);
  border: 2px solid var(--color-brand);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(var(--color-brand-rgb), 0.3);
}

.header__link {
  font-family: var(--font-ja-serif);
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
  transition: color var(--duration) var(--ease-out),
              background var(--duration) var(--ease-out);
}

.header__link:hover {
  color: #000;
  background: rgba(0, 0, 0, 0.08);
}

.header__link--current {
  color: #000;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.1);
}

/* WEB予約は .header__link の白文字／半透明背景を上書き（ホバー時も可読性を維持） */
.header__nav .header__link.header__link--reservation {
  color: rgba(var(--color-text-rgb), 0.9);
  background: #fff;
  opacity: 1;
}
.header__nav .header__link.header__link--reservation:hover {
  color: var(--color-text);
  background: #f0f4f0;
  opacity: 0.85;
}
.header__nav .header__link.header__link--reservation.header__link--current {
  color: rgba(var(--color-text-rgb), 0.9);
  background: #fff;
  opacity: 1;
}

/* キービジュアル：ヘッダー含めた高さで100vh（ヘッダー高さ分の余白を確保） */
.key-visual {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: var(--header-height);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* サブページ用：ヘッダー含めた高さで42vh */
.key-visual--page {
  min-height: 42vh;
}

/* 子ページのページヘッダー：英語メイン・日本語サブ（タイトル＝英語フォント、リード＝日本語フォント） */
.key-visual--page .key-visual__title {
  font-family: var(--font-en);
}

.key-visual--page .key-visual__lead {
  font-family: var(--font-ja);
}

/* キービジュアル：スライドショー（TOP画像のフェード切り替え） */
.key-visual__slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  animation: keyVisualZoom 1.4s var(--ease-out) both;
}

.key-visual__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-text);
  /* 共通ヘッダー：assets/img/header/img_header_01〜05.jpg */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.key-visual__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.key-visual__slide--1 {
  background-image: url('../img/header/img_header_01.jpg'), linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand) 50%, var(--color-brand) 100%);
}

.key-visual__slide--2 {
  background-image: url('../img/header/img_header_02.jpg'), linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand) 50%, var(--color-brand) 100%);
}

.key-visual__slide--3 {
  background-image: url('../img/header/img_header_03.jpg'), linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand) 50%, var(--color-brand) 100%);
}

.key-visual__slide--4 {
  background-image: url('../img/header/img_header_04.jpg'), linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand) 50%, var(--color-brand) 100%);
}

.key-visual__slide--5 {
  background-image: url('../img/header/img_header_05.jpg'), linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand) 50%, var(--color-brand) 100%);
}

/* SP：営業案内／プレー料金／イベント／コースガイド／アクセスは spheader を使用 */
@media (max-width: 768px) {
  .has-sp-header-kv .key-visual__slide--1 {
    background-image: url('../img/header/img_spheader_01.jpg'), linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand) 50%, var(--color-brand) 100%);
  }

  .has-sp-header-kv .key-visual__slide--2 {
    background-image: url('../img/header/img_spheader_02.jpg'), linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand) 50%, var(--color-brand) 100%);
  }

  .has-sp-header-kv .key-visual__slide--3 {
    background-image: url('../img/header/img_spheader_03.jpg'), linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand) 50%, var(--color-brand) 100%);
  }

  .has-sp-header-kv .key-visual__slide--4 {
    background-image: url('../img/header/img_spheader_04.jpg'), linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand) 50%, var(--color-brand) 100%);
  }

  .has-sp-header-kv .key-visual__slide--5 {
    background-image: url('../img/header/img_spheader_05.jpg'), linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand) 50%, var(--color-brand) 100%);
  }
}

@keyframes keyVisualZoom {
  from {
    transform: scale(1.06);
    opacity: 0.92;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* SP：ズームアニメは無効。画像はヘッダー領域いっぱいに表示 */
@media (max-width: 768px) {
  .key-visual__slideshow {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .key-visual__slide {
    background-size: cover;
    background-position: center center;
  }

  /* TOP KV は位置のみ調整 */
  .key-visual--home .key-visual__slide {
    background-position: center 35%;
  }
}

/* オーバーレイ（ごく薄い黒で画像を馴染ませる） */
.key-visual__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.16);
  pointer-events: none;
}

/* キービジュアル上のテキスト */
.key-visual__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 1rem;
}

.key-visual__title {
  font-family: var(--font-en);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.9s var(--ease-out) 0.25s both;
}

.key-visual__lead {
  font-family: var(--font-ja);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  opacity: 0.95;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.9s var(--ease-out) 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* メインコンテンツ（キービジュアル以降）※左右paddingは .section__inner で一元管理し重複を防ぐ */
.main-content {
  flex: 1 0 auto;
  min-height: 50vh;
  padding: 0;
  background: #ffffff;
}

.section {
  padding: var(--space-xl) 0;
}

/* 小ページ：main内コンテンツ間の余白をPCで4remに統一（.sectionの上下2remずつで間が4rem） */
@media (min-width: 769px) {
  .key-visual--page + .main-content .section {
    padding: 2rem 0;
  }
}

.section--alt {
  background: #ffffff;
}

.section__inner {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding-left: max(var(--space-min), var(--content-padding-x));
  padding-right: max(var(--space-min), var(--content-padding-x));
}

.section__title {
  font-family: var(--font-ja);
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  border-left: 4px solid var(--color-brand);
  padding-left: 0.75rem;
}

.section__title--bilingual {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em 0.6em;
}

.section__title-en {
  font-family: var(--font-en);
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: 0.03em;
}

.section__title-ja {
  font-family: var(--font-ja);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.3;
}

.section__lead {
  font-family: var(--font-ja);
  margin-bottom: 2rem;
  color: #555;
}

/* スクロールで表示されるエレガントなフェードイン */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }

/* ニュース欄 */
.news-list {
  list-style: none;
  border-top: 1px solid #e0e3dd;
  margin-top: 1.5rem;
}

.news-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #e0e3dd;
}

.news-list__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0;
  flex-shrink: 0;
}

.news-list__date {
  font-size: 0.85rem;
  color: #777;
}

.news-list__category {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
  line-height: 1.4;
}

.news-list__category--info {
  background: #e3f0e8;
  color: var(--color-text);
}

.news-list__category--business {
  background: #f0e8e3;
  color: #5a452d;
}

.news-list__title {
  display: block;
  flex: 1 1 320px;
  min-width: 0;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--duration) var(--ease-out),
              padding-left var(--duration) var(--ease-out);
}

.news-list__title:hover {
  color: var(--color-text);
  padding-left: 4px;
}

.news-list__item.is-hidden {
  display: none;
}
/* ページネーション（ニュース一覧） */
.pagination {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.pagination__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination__item {
  list-style: none;
}

.pagination__link,
.pagination__span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text);
  text-decoration: none;
  border: 1px solid #e0e3dd;
  border-radius: 6px;
  background: #fff;
  transition: background var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out),
              color var(--duration) var(--ease-out);
}

.pagination__link:hover {
  background: #f5f7f4;
  border-color: var(--color-text);
  color: var(--color-text);
}

.pagination__link[aria-current="page"],
.pagination__span--current {
  background: var(--color-brand);
  border-color: var(--color-text);
  color: var(--color-on-brand);
  pointer-events: none;
}

.pagination__link:disabled,
.pagination__span--disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.section__more {
  margin-top: 1rem;
  text-align: right;
}

/* 戻るボタン：左寄せ・矢印はテキストの左に左向き */
.section__more--back {
  text-align: left;
}

.banner-cta {
  margin: 3.5rem 0 0;
  text-align: center;
}

.btn-link {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--duration) var(--ease-out),
              opacity var(--duration) var(--ease-out);
}

.btn-link:hover {
  opacity: 0.8;
}

.btn-link::after {
  content: " ＞";
  font-size: 0.95rem;
  transition: transform var(--duration) var(--ease-out);
  display: inline-block;
}

.btn-link:hover::after {
  transform: translateX(4px);
}

.btn-link--back::before {
  content: "← ";
  font-size: 0.9rem;
  display: inline-block;
}

.btn-primary {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: var(--color-brand);
  color: var(--color-on-brand);
  text-decoration: none;
  border: 2px solid var(--color-brand);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  transition: background var(--duration) var(--ease-out),
              color var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
}

.btn-primary:hover {
  background: var(--color-brand-hover);
  border-color: var(--color-brand-hover);
  color: var(--color-on-brand);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(var(--color-brand-rgb), 0.28);
}

.breadcrumb {
  font-size: 0.85rem;
  color: #777;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--color-text);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .header {
    padding: 0;
  }

  .header__inner {
    min-width: 0;
    gap: 0.35rem;
    justify-content: flex-start;
    padding: 15px 1rem;
  }

  .header__logo {
    order: 0;
    flex: 0 0 auto;
  }

  .header__logo img {
    width: 54px;
    max-height: 44px;
  }

  .header__actions {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    gap: 0.25rem;
    justify-content: flex-end;
    overflow: visible;
  }

  .header__weather {
    height: auto;
    padding: 0.2rem 0.15rem;
    gap: 0.15rem;
    flex-shrink: 0;
    white-space: normal;
  }

  .header__weather-label {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.62rem;
    letter-spacing: 0.01em;
    line-height: 1.15;
  }

  .header__weather-icon {
    width: 14px;
    height: 14px;
  }

  .header__reservation-sp {
    padding: 0.35rem 0.45rem;
    font-size: 0.72rem;
    flex-shrink: 0;
  }

  .header__hamburger {
    display: flex;
    order: 2;
    flex-shrink: 0;
    margin-left: 0;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    display: flex;
    width: min(320px, 100%);
    max-width: none;
    height: 100%;
    height: 100dvh;
    max-height: 100%;
    max-height: 100dvh;
    margin: 0;
    padding: calc(var(--header-height) + 0.5rem) 15px calc(1rem + env(safe-area-inset-bottom, 0px)) 15px;
    background: rgba(var(--color-brand-rgb), 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    /* 影分も画面外へ退避し、閉じ時は完全非表示 */
    transform: translate3d(calc(100% + 2rem), 0, 0);
    visibility: hidden;
    pointer-events: none;
    box-shadow: none;
    transition:
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0.4s,
      box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 99;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    box-sizing: border-box;
  }

  .header.is-menu-open .header__nav {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
    transition:
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0s,
      box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .header__overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 98;
  }

  .header.is-menu-open .header__overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .header__nav > .header__link {
    flex-shrink: 0;
  }

  .header__nav .header__link {
    display: block;
    width: 100%;
    padding: 0.75rem 15px;
    font-size: 1.125rem;
    border-radius: 8px;
    box-sizing: border-box;
    white-space: normal;
  }

  .header__nav .header__link:hover,
  .header__nav .header__link--current {
    background: rgba(var(--color-on-brand-rgb), 0.12);
  }

  .header__nav .header__link.header__link--reservation,
  .header__nav .header__link.header__link--reservation:hover,
  .header__nav .header__link.header__link--reservation.header__link--current {
    background: #fff;
    color: var(--color-text);
  }

  .header__nav .header__link.header__link--reservation:hover {
    opacity: 0.85;
  }

  .header__nav .header__link--reservation,
  .header__link--reservation {
    display: block;
    margin-left: 0;
    margin-top: 1rem;
    margin-bottom: 0;
    padding: 1rem 15px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    color: rgba(var(--color-text-rgb), 0.9);
  }

  .header__nav .header__link--reservation + .header__link--reservation {
    margin-top: 0.5rem;
  }
}

/* iPhone SE など幅の狭い端末 */
@media (max-width: 390px) {
  .header__inner {
    gap: 0.2rem;
    padding: 12px 0.5rem;
  }

  .header__logo img {
    width: 48px;
    max-height: 40px;
  }

  .header__actions {
    gap: 0.15rem;
  }

  .header__weather-label {
    font-size: 0.58rem;
  }

  .header__reservation-sp {
    padding: 0.3rem 0.35rem;
    font-size: 0.65rem;
    letter-spacing: 0.01em;
  }

  .header__hamburger {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .section__inner {
    padding-left: 15px;
    padding-right: 15px;
  }

  .main-content {
    padding: 0;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   フッター
   ======================================== */
.footer {
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--color-brand) 0%, var(--color-brand-hover) 100%);
  color: rgba(var(--color-on-brand-rgb), 0.92);
  padding: 0 0 var(--space-lg);
  margin-top: auto;
}

.footer__inner {
  margin: 0 auto;
  padding: 0 var(--content-padding-x);
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2rem 2.5rem;
  align-items: start;
  padding: var(--space-lg) 0 1.5rem;
  border-bottom: none;
  margin-bottom: 0;
  width: 100%;
  margin-right: 0;
}

.footer__name {
  font-family: var(--font-ja);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-on-brand);
  margin-bottom: 1rem;
}

.footer__info-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1.5rem 2rem;
  align-items: start;
}

.footer__contact {
  min-width: 0;
}

.footer__address,
.footer__tel,
.footer__email,
.footer__fax {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.35rem;
}

.footer__contact .footer__fax {
  margin-bottom: 0;
}

.footer__info a {
  color: rgba(var(--color-on-brand-rgb), 0.92);
  text-decoration: none;
}

.footer__info a:hover {
  text-decoration: underline;
  color: var(--color-on-brand);
}

.footer__hours {
  margin: 0;
  padding: 0 0 0 1.5rem;
  border-top: none;
  border-left: 1px solid rgba(var(--color-on-brand-rgb), 0.2);
  min-width: 0;
}

.footer__hours-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-on-brand);
  margin: 0 0 0.75rem;
  letter-spacing: 0.04em;
}

.footer__hours-title a {
  color: var(--color-on-brand);
  text-decoration: none;
}

.footer__hours-title a:hover {
  text-decoration: underline;
}

.footer__hours-list {
  margin: 0;
  padding: 0;
}

.footer__hours-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer__hours-row:last-child {
  margin-bottom: 0;
}

.footer__hours-term {
  margin: 0;
  font-weight: 600;
  color: rgba(var(--color-on-brand-rgb), 0.9);
}

.footer__hours-desc {
  margin: 0;
  color: rgba(var(--color-on-brand-rgb), 0.92);
}

.footer__hours-note {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: rgba(var(--color-on-brand-rgb), 0.78);
}

.footer__affiliates {
  min-width: 0;
  /* 左側「南筑波ゴルフ場」見出しの下に揃える */
  padding-top: calc(1.5rem * 1.2 + 1rem);
}

.footer__affiliates-title {
  margin: 0 0 0.75rem;
}

.footer__affiliates-single a {
  color: inherit;
  text-decoration: none;
}

.footer__affiliates-single a:hover {
  text-decoration: underline;
}

.footer__group-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 0.9rem;
  background: #fff;
  border-radius: 6px;
  box-sizing: border-box;
  height: 3.2rem;
  text-decoration: none;
  transition: opacity var(--duration) var(--ease-out);
}

.footer__group-logo img {
  display: block;
  height: auto;
  width: auto;
  max-height: 100%;
  max-width: 240px;
  object-fit: contain;
}

.footer__group-logo--ryokuchi img {
  width: calc(64px * 289 / 174);
  max-width: none;
}

.footer__group-logo:hover {
  opacity: 0.85;
  text-decoration: none;
}

.footer__affiliates-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem 1rem;
}

.footer__affiliates-list--hokkaido,
.footer__affiliates-list--resort {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer__affiliates-list li {
  margin: 0;
  min-width: 0;
  font-size: 0.85rem;
  line-height: 1.55;
}

.footer__affiliates-list--hokkaido li:nth-child(4) {
  white-space: nowrap;
  min-width: min-content;
}

.footer__affiliates-list a {
  color: rgba(var(--color-on-brand-rgb), 0.88);
  text-decoration: none;
}

.footer__affiliates-list a:hover {
  color: var(--color-on-brand);
  text-decoration: underline;
}

.footer__affiliates-single {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(var(--color-on-brand-rgb), 0.88);
}

.footer__affiliates-group {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(var(--color-on-brand-rgb), 0.2);
}

.footer__affiliates-company {
  margin: 0 0 0.65rem;
}

.footer__affiliates-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-on-brand);
  margin: 0.65rem 0 0.35rem;
  letter-spacing: 0.04em;
}

.footer__map-wrap {
  position: relative;
  width: calc(100% + (var(--content-padding-x) * 2));
  max-width: none;
  margin: 0 calc(-1 * var(--content-padding-x)) 1.5rem;
  padding-bottom: 36%;
  height: 0;
  overflow: hidden;
  background: rgba(var(--color-on-brand-rgb), 0.06);
  border-top: 1px solid rgba(var(--color-on-brand-rgb), 0.2);
}

.footer__map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* 地図の色味：グレー基調のカラーパターン */
  filter: grayscale(0.85) contrast(1.08) saturate(0.35) brightness(0.97);
  transition: filter 0.4s ease;
}

.footer__map-wrap:hover .footer__map {
  filter: grayscale(0.5) contrast(1.05) saturate(0.7) brightness(1);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.25rem;
}

.footer__links a {
  font-size: 0.8rem;
  color: rgba(var(--color-on-brand-rgb), 0.88);
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--color-on-brand);
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(var(--color-on-brand-rgb), 0.72);
  text-align: center;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .footer {
    padding: 0 0 var(--space-md);
    overflow-x: hidden;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: var(--space-md) 0 1.25rem;
  }

  .footer__info {
    padding-bottom: 0.5rem;
  }

  .footer__info-columns {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer__hours {
    padding: 1.25rem 0 1.5rem;
    margin-bottom: 0.25rem;
    border-left: none;
    border-top: 1px solid rgba(var(--color-on-brand-rgb), 0.2);
  }

  .footer__hours-list {
    padding-bottom: 0.25rem;
  }

  .footer__hours-row:last-child {
    margin-bottom: 0;
  }

  .footer__hours-row {
    gap: 0.2rem;
    margin-bottom: 0.75rem;
  }

  .footer__affiliates {
    padding-top: 0;
  }

  .footer__affiliates-list,
  .footer__affiliates-list--hokkaido,
  .footer__affiliates-list--resort {
    grid-template-columns: 1fr;
  }

  .footer__affiliates-list--hokkaido li:nth-child(4) {
    white-space: normal;
    min-width: 0;
  }

  .footer__map-wrap {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
    padding-bottom: 56%;
    min-height: 180px;
  }

  .footer__links {
    gap: 0.5rem 1rem;
  }
}

/* ページトップボタン */
.pagetop {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-brand);
  color: var(--color-on-brand);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(var(--color-brand-rgb), 0.4);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out), background var(--duration);
  z-index: 100;
}

.pagetop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pagetop:hover {
  background: var(--color-brand-hover);
  color: var(--color-on-brand);
}

.pagetop__arrow {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-top: 4px;
}

/* メニュー表示中は背景スクロール防止（ナビ自体はスクロール可） */
body.is-menu-open {
  overflow: hidden;
}

/* バナー内ホットスポット（画像マップ代替・SPでも押しやすい） */
.banner-hotspots {
  position: relative;
  display: block;
  width: 100%;
}

.banner-hotspots > img {
  display: block;
  width: 100%;
  height: auto;
}

.banner-hotspots__link {
  position: absolute;
  z-index: 2;
  display: block;
  box-sizing: border-box;
  /* 見た目は画像のまま、タップ領域のみ確保 */
  background: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
}

/* KIDS GOLF：PDF / ホームページ（基準画像 700x150） */
.banner-hotspots--kids-golf .banner-hotspots__link--pdf {
  left: 54.5%;
  top: 62%;
  width: 23%;
  height: 38%;
}

.banner-hotspots--kids-golf .banner-hotspots__link--home {
  left: 77%;
  top: 62%;
  width: 22.5%;
  height: 38%;
}

/* 石堂：Instagram / YouTube（基準画像 700x150） */
.banner-hotspots--ishido .banner-hotspots__link--instagram {
  left: 43%;
  top: 62%;
  width: 24%;
  height: 38%;
}

.banner-hotspots--ishido .banner-hotspots__link--youtube {
  left: 68%;
  top: 62%;
  width: 24%;
  height: 38%;
}

/* ハローキャディー：PDF / 動画（基準画像 700x298） */
.banner-hotspots--hello-caddy .banner-hotspots__link--pdf {
  left: 48%;
  top: 78%;
  width: 21%;
  height: 20%;
}

.banner-hotspots--hello-caddy .banner-hotspots__link--video {
  left: 69%;
  top: 78%;
  width: 29%;
  height: 20%;
}

@media (max-width: 768px) {
  /* SP：タッチ領域をさらに拡大 */
  .banner-hotspots--kids-golf .banner-hotspots__link--pdf,
  .banner-hotspots--kids-golf .banner-hotspots__link--home,
  .banner-hotspots--ishido .banner-hotspots__link--instagram,
  .banner-hotspots--ishido .banner-hotspots__link--youtube {
    top: 48%;
    height: 52%;
    min-height: 48px;
  }

  .banner-hotspots--kids-golf .banner-hotspots__link--pdf {
    left: 50%;
    width: 26%;
  }

  .banner-hotspots--kids-golf .banner-hotspots__link--home {
    left: 75%;
    width: 25%;
  }

  .banner-hotspots--ishido .banner-hotspots__link--instagram {
    left: 38%;
    width: 28%;
  }

  .banner-hotspots--ishido .banner-hotspots__link--youtube {
    left: 66%;
    width: 28%;
  }

  .banner-hotspots--hello-caddy .banner-hotspots__link--pdf,
  .banner-hotspots--hello-caddy .banner-hotspots__link--video {
    top: 68%;
    height: 32%;
    min-height: 48px;
  }

  .banner-hotspots--hello-caddy .banner-hotspots__link--pdf {
    left: 44%;
    width: 26%;
  }

  .banner-hotspots--hello-caddy .banner-hotspots__link--video {
    left: 68%;
    width: 30%;
  }
}
