/* =====================================================
   Yasuragi no Sato - Facility Page
   Pixel-Perfect Match to Figma Design
   ===================================================== */

/* =====================================================
   CSS Variables
   ===================================================== */
:root {
  /* Primary Colors from Figma */
  --color-primary: #4a9255;
  --color-primary-dark: #3d7a47;

  /* Background Colors */
  --color-bg-cream: #fffbf1;  /* Figma準拠に変更 */
  --color-btn-orange: #d67c3d;
  --color-btn-orange-hover: #c26a2d;
  --color-bg-light: #fffcf8;
  --color-bg-beige: #faf4ec;

  /* Feature Tag Colors (Orange/Brown from Figma) */
  --color-tag-bg: #e8c8a9;
  --color-tag-border: #d4b494;

  /* ===== 施設別カラーテーマ (Figma準拠) ===== */

  /* 本館 - Warm Beige/Orange */
  --honkan-bg: #F6EEE6;
  --honkan-tag-bg: #ECCBB4;
  --honkan-box-bg: #E4B99B;

  /* 養生館 - Warm Yellow/Cream */
  --yojyokan-bg: #FBF8F2;
  --yojyokan-tag-bg: #F3E4C0;
  --yojyokan-box-bg: #E8D7AF;

  /* 高原館 - Cool Green */
  --kogenkan-bg: #F3F4F2;
  --kogenkan-tag-bg: #CBE3D7;
  --kogenkan-box-bg: #B7D5C6;

  /* Text Colors */
  --color-text-dark: #352304;
  --color-text-body: #5a5a5a;
  --color-text-light: #666666;

  /* Border */
  --color-border: #d4c4b0;
  --color-border-light: #e0d5c8;

  /* Functional */
  --color-white: #ffffff;

  /* Typography */
  --font-mincho: 'Shippori Mincho B1', 'YuMincho', 'Yu Mincho', serif;
  --font-gothic: 'YuGothic', 'Yu Gothic', 'Hiragino Sans', sans-serif;
  --font-italiana: 'Italiana', serif;
  --font-abhaya: 'Abhaya Libre', serif;

  /* Layout */
  --container-max: 1000px;
  --container-wide: 1200px;
}

/* =====================================================
   Reset & Base
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-gothic);
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-body);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* =====================================================
   Container
   ===================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.container--wide {
  max-width: var(--container-wide);
}

/* =====================================================
   Header
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  height: clamp(60px, 5.56vw, 80px);
}

/* WordPress管理バー対応 */
.admin-bar .header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .header {
    top: 46px;
  }
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0;
  padding-left: clamp(20px, 4.44vw, 64px);
  height: 100%;
}

.header__logo {
  flex-shrink: 0;
  margin-top: clamp(10px, 1.46vw, 21px);
  margin-right: clamp(10px, 2.78vw, 61px);
  align-self: flex-start;
}

/* Figma: ロゴ 185x36px */
.header__logo img {
  width: clamp(120px, 12.85vw, 185px);
  height: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.25vw, 25px);
  margin-right: clamp(8px, 1.39vw, 29px);
  flex-shrink: 1;
  min-width: 0;
}

.header__nav-link {
  color: #352304;
  font-family: 'YuGothic', 'Yu Gothic', sans-serif;
  font-size: clamp(11px, 0.97vw, 14px);
  font-style: normal;
  font-weight: 700;
  line-height: clamp(24px, 2.5vw, 36px);
  white-space: nowrap;
  transition: opacity 0.3s;
}

.header__nav-link:hover,
.header__nav-link--active {
  color: var(--color-primary);
}

.header__right {
  display: flex;
  align-items: center;
  gap: 0;
  height: clamp(60px, 5.56vw, 80px);
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__phone-number {
  font-family: var(--font-mincho);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-dark);
  letter-spacing: 0.02em;
}

.header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 28px;
  height: 80px;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  transition: opacity 0.3s;
}

/* Figma準拠: HOVERの時 色が薄くなる */
.header__btn:hover {
  opacity: 0.7;
}

/* Figma: カレンダーから予約 - オレンジ #D67C3D, 209x80px */
.header__btn--calendar {
  display: flex;
  width: clamp(120px, 14.51vw, 209px);
  height: clamp(60px, 5.56vw, 80px);
  padding: clamp(12px, 2.08vw, 30px) clamp(10px, 2.08vw, 44px);
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: var(--color-btn-orange);
  color: #FFF;
  font-family: 'Inter', sans-serif;
  font-size: clamp(11px, 1.04vw, 16px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Figma: プランから予約 - グリーン #4A9255, 208x80px */
.header__btn--plan {
  display: flex;
  width: clamp(120px, 14.44vw, 208px);
  height: clamp(60px, 5.56vw, 80px);
  padding: clamp(12px, 2.08vw, 30px) clamp(10px, 1.94vw, 28px);
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: var(--color-primary);
  color: #FFF;
  font-family: 'Inter', sans-serif;
  font-size: clamp(11px, 1.04vw, 16px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
  flex-shrink: 0;
}
.header__btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Figma: プラン紹介 ホバードロップダウン 157x102px */
.header__nav-dropdown {
  position: relative;
}

.header__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 157px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  flex-direction: column;
  align-items: center;
  z-index: 100;
}

.header__nav-dropdown:hover .header__dropdown-menu {
  display: flex;
}

.header__dropdown-link {
  display: block;
  width: 100%;
  text-align: center;
  color: #352304;
  font-family: 'YuGothic', 'Yu Gothic', sans-serif;
  font-size: clamp(11px, 0.97vw, 14px);
  font-weight: 700;
  line-height: 36px;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.header__dropdown-link:hover {
  color: var(--color-primary);
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 720px; /* Figma準拠 */
  margin-top: clamp(60px, 5.56vw, 80px); /* ヘッダー分 */
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Figma: 左からのグラデーションオーバーレイ 626x720px */
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 626px;
  height: 100%;
  background: linear-gradient(263deg, rgba(255, 255, 255, 0.00) 11.54%, rgba(176, 167, 157, 0.40) 29.37%, rgba(100, 81, 63, 0.50) 69.65%);
  pointer-events: none;
}

/* Figma: タイトルエリア - オーバーレイ上に左配置 */
.hero__title-area--center {
  position: absolute;
  left: 157px;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
  z-index: 1;
}

/* Figma: Italiana Regular 18px, letter-spacing 0.9px, ドロップシャドウ */
.hero__subtitle {
  font-family: var(--font-italiana);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.9px;
  color: var(--color-white);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  margin-top: 8px;
}

/* Figma: Shippori Mincho B1 SemiBold 64px, font-weight 600, letter-spacing 6.4px, color #FFFBF1 */
.hero__title {
  font-family: var(--font-mincho);
  font-size: 64px;
  font-weight: 600;
  color: #fffbf1;
  letter-spacing: 6.4px;
  line-height: 70px;
}

/* =====================================================
   Section Base
   ===================================================== */
.section {
  padding: 72px 0;
}

.section--cream {
  background: var(--color-bg-cream);
}

.section__header {
  text-align: center;
  margin-bottom: 32px;
}

.section__title {
  font-family: var(--font-mincho);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 0;
  letter-spacing: 0.08em;
}

.section__subtitle {
  font-family: var(--font-gothic);
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 12px;
  letter-spacing: 0.02em;
}

/* =====================================================
   Intro Section - 各施設の紹介
   ===================================================== */
/* 各施設の紹介 - 親コンテナで制御 */
/* コンテンツ幅1180px を中央配置: (100vw - 1180px) / 2 = 50vw - 590px */
.intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 2.22vw, 32px);
  padding-top: clamp(60px, 8.19vw, 118px);
  padding-bottom: clamp(30px, 3.75vw, 54px);
  padding-left: max(20px, calc(50vw - 590px));
  padding-right: max(20px, calc(50vw - 590px));
  background: var(--color-bg-cream);  /* #FFFBF1 */
}

/* タイトル - マージン不要（親のgapで制御） */
.intro__title {
  color: #352304;
  font-family: 'Zen Old Mincho', serif;
  font-size: clamp(32px, 4.44vw, 64px);
  font-style: normal;
  font-weight: 300;
  line-height: clamp(50px, 6.53vw, 94px);
  letter-spacing: 0;
}

/* 説明文 - マージン不要（親のgapで制御） */
.intro__lead {
  max-width: 1023px;
  font-family: 'YuGothic', 'Yu Gothic', sans-serif;
  font-size: clamp(14px, 1.67vw, 24px);
  font-weight: 700;
  font-style: normal;
  line-height: clamp(24px, 3.06vw, 44px);
  letter-spacing: -0.05em;
  color: #352304;
}

/* 画像 - マージン不要（親のgapで制御） */
.intro__image {
  width: 100%;
  max-width: 1180px;
  aspect-ratio: 1180 / 425;
  overflow: hidden;
}

.intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =====================================================
   Facilities Overview - やすらぎの里の３つの施設
   Figma完全準拠: セクション1440x1055px
   ===================================================== */
/* コンテンツ幅1180px を中央配置: (100vw - 1180px) / 2 = 50vw - 590px */
.facilities-overview {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: clamp(48px, 5.56vw, 80px);
  padding-bottom: clamp(64px, 8.33vw, 120px);
  padding-left: max(20px, calc(50vw - 590px));
  padding-right: max(20px, calc(50vw - 590px));
  background: var(--color-bg-cream);  /* Figma: #FFFBF1 */
}

/* Figma: タイトル 64px weight300 lineHeight94px - intro__titleと同じフォント */
.facilities-overview .section__title {
  font-family: 'Zen Old Mincho', serif;
  font-size: clamp(32px, 4.44vw, 64px);
  font-weight: 300;
  line-height: clamp(50px, 6.53vw, 94px);
  color: #352304;
  letter-spacing: 0;
}

/* intro__leadと同じスタイル */
.facilities-overview .section__subtitle {
  font-family: 'YuGothic', 'Yu Gothic', sans-serif;
  font-size: clamp(14px, 1.67vw, 24px);
  font-weight: 700;
  line-height: clamp(24px, 3.06vw, 44px);
  letter-spacing: -0.05em;
  color: #352304;
}

.facilities-overview .section__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(8px, 1.11vw, 16px);
  margin-bottom: clamp(32px, 4.44vw, 64px);
}

/* Figma: カード360x575px, gap30px - 上の画像(1180px)と端を揃える */
.facility-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.08vw, 30px);
  width: 100%;
  max-width: 1180px;
}

.facility-card {
  width: 100%;
  background: var(--color-bg-cream);
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-4px);
}

.facility-card__image-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.facility-card:hover .facility-card__image-wrap::after {
  background: rgba(255, 255, 255, 0.3);
}

/* Figma: 画像360x357px */
.facility-card__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 360 / 357;
  overflow: hidden;
  margin-bottom: clamp(12px, 1.67vw, 24px);
}

.facility-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Figma: 英語ラベル Italiana 30px white, drop-shadow - ど真ん中配置 */
.facility-card__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-italiana);
  font-size: 30px;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.facility-card__content {
  padding: 0 16px;
}

/* Figma: タイトル Shippori Mincho B1 28px SemiBold center */
.facility-card__title {
  font-family: var(--font-mincho);
  font-size: 28px;
  font-weight: 600;
  color: #352304;
  margin-bottom: 16px;
  letter-spacing: 0;
  text-align: center;
}

/* Figma: 説明文 Yu Gothic 20px lineHeight36px */
.facility-card__description {
  font-family: var(--font-gothic);
  font-size: 20px;
  line-height: 36px;
  color: #352304;
  text-align: left;
}

/* =====================================================
   Facility Hero Banner - 施設ヒーローバナー
   Figma準拠: 1440x400px with HONKAN/YOJYOKAN/KOGENKAN label
   ===================================================== */
.facility-hero {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.facility-hero__image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.facility-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Figma: 英語ラベル Italiana 40px white, shadow - 中央配置 */
.facility-hero__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-italiana);
  font-size: 40px;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 4px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* =====================================================
   Facility Detail Section - 本館/養生館/高原館
   Figma完全準拠 - 背景テクスチャ付き
   ===================================================== */
.facility-detail {
  padding: 80px 0 100px;
  position: relative;
  /* 背景色は施設別モディファイアで指定 */
}

/* ===== 施設別背景色レイヤー (::afterで前面に配置、半透明でテクスチャを透過) ===== */
.facility-detail::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
}

.facility-detail--honkan {
  background-color: #F9EBE1;
}

.facility-detail--honkan::after {
  background-image: url('../images/honkan-bg.webp');
  background-size: cover;
  background-position: center;
}

.facility-detail--yojyokan {
  background-color: #FFFBF1;
}

.facility-detail--yojyokan::after {
  background-image: url('../images/yojyokan-bg.webp');
  background-size: cover;
  background-position: center;
}

.facility-detail--kogenkan {
  background-color: #F0F4F2;
}

.facility-detail--kogenkan::after {
  background-image: url('../images/kogenkan-bg.webp');
  background-size: cover;
  background-position: center;
}

/* 背景テクスチャオーバーレイ (Figma準拠)
   z-index: -1 で背景色レイヤーの後ろに配置 */
.facility-detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: url('../images/common/bg-texture.webp');
  background-size: cover;
  background-position: center;
  filter: invert(1) brightness(1.05) sepia(0.15);
  opacity: 0.5;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.facility-detail__content {
  position: relative;
  z-index: 1;
  max-width: 1112px;
  margin: 0 auto;
  padding: 0 20px;
}

.facility-detail__header {
  text-align: center;
  margin-bottom: 64px;
  padding: 0;
}

/* Figma: タイトル 64px w300 lineHeight78px #352304 (PC Title) */
.facility-detail__title {
  font-family: var(--font-mincho);
  font-size: 64px;
  font-weight: 300;
  line-height: 78px;
  color: #352304;
  letter-spacing: 0;
}

.facility-detail__intro {
  text-align: center;
  margin-bottom: 48px;
}

/* Figma: キャッチコピー Shippori Mincho B1 32px w600 lineHeight68px (H6) */
.facility-detail__catchphrase {
  font-family: var(--font-mincho);
  font-size: 32px;
  font-weight: 600;
  line-height: 68px;
  color: #352304;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0;
}

/* Figma: 説明文 Shippori Mincho B1 28px w600 lineHeight54px */
.facility-detail__description {
  font-family: var(--font-mincho);
  font-size: 28px;
  font-weight: 600;
  line-height: 54px;
  text-align: center;
  max-width: 868px;
  margin: 0 auto;
  color: #352304;
}

/* Legacy support */
.facility-detail__body {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================
   Facility Features - タグ (Figma準拠)
   Figma: Yu Gothic 20px w400 lineHeight36px, アイコン付き
   ===================================================== */
.facility-features {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin: 0 auto 48px;
}

/* Figma準拠: タグ行 gap 8px 32px */
.facility-features__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
}

/* Figma準拠: タグスタイル */
.facility-feature {
  display: flex;
  height: 50px;
  padding: 10px 30px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 30px;
  background: #ECCBB4;
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 400;
  line-height: 36px;
  color: #352304;
  letter-spacing: 0;
}

.facility-feature__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===== 施設別タグカラー ===== */
.facility-detail--honkan .facility-feature {
  background: #ECCBB4;
}

.facility-detail--yojyokan .facility-feature {
  background: #F3E4C0;
}

.facility-detail--kogenkan .facility-feature {
  background: #CBE3D7;
}

/* =====================================================
   Facility Gallery - 6枚グリッド (Figma準拠)
   Figma: 360x270px 3列2行 gap16px
   ===================================================== */
.facility-gallery {
  display: grid;
  grid-template-columns: repeat(3, 360px);
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.facility-gallery__item {
  width: 360px;
  height: 270px;
  overflow: hidden;
  background: #f5f5f5;
}

.facility-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.facility-gallery__item:hover .facility-gallery__image {
  transform: scale(1.05);
}

/* ===== 施設別ギャラリー枠 (Figma準拠: 枠なし) ===== */
/* Figmaでは枠線なし、クリーンな表示 */

/* =====================================================
   Plans Section - 対応プラン (Figma準拠: ボックスグリッド形式)
   ===================================================== */
.plans {
  padding-top: 40px;
  text-align: center;
}

.plans__divider {
  width: clamp(80px, 9vw, 130px);
  height: 1px;
  background-color: #352304;
  margin: 0 auto 40px;
}

.plans__title {
  font-family: "FOT-TsukuAntiqueLMin Std", var(--font-mincho);
  font-size: clamp(32px, 4.44vw, 64px);
  font-style: normal;
  font-weight: 300;
  line-height: 94px;
  color: #604D44;
  text-align: center;
  margin-bottom: 40px;
}

/* Figma準拠: 2列グリッド形式 */
.plans__list {
  display: grid;
  grid-template-columns: repeat(2, clamp(270px, 38vw, 548px));
  gap: 16px;
  justify-content: center;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

/* Figma準拠: 横長長方形ボックス */
.plans__item {
  display: flex;
  width: 100%;
  height: clamp(50px, 5vw, 73px);
  padding: 8px 64px 0;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: "Abhaya Libre", 'YuGothic', 'Yu Gothic', sans-serif;
  font-size: clamp(16px, 1.67vw, 24px);
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -1.2px;
  color: #352304;
  text-align: center;
  white-space: nowrap;
}

/* ===== 施設別プランボックス色 ===== */
.plans__separator {
  margin: 0 0.6em;
}

.facility-detail--honkan .plans__item {
  background-color: var(--honkan-box-bg);  /* #E4B99B */
}

.facility-detail--yojyokan .plans__item {
  background-color: var(--yojyokan-box-bg);  /* #E8D7AF */
}

.facility-detail--kogenkan .plans__item {
  background-color: var(--kogenkan-box-bg);  /* #B7D5C6 */
}

/* Figma準拠: ダークブラウンボタン #352304 */
.plans__more-link {
  display: inline-flex;
  height: clamp(50px, 5vw, 73px);
  padding: 18px 140px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  background: #352304;
  color: var(--color-white);
  font-family: var(--font-gothic);
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s;
}

.plans__more-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
}

/* Figma準拠: HOVERの時 #35230499 */
.plans__more-link:hover {
  background: #35230499;
}

/* =====================================================
   Access Section (Figma準拠 - フローチャート形式)
   ===================================================== */
.access {
  padding: 64px 0 0;
  background: var(--color-white);
}

.access__title {
  font-family: "FOT-TsukuAntiqueLMin Std", var(--font-mincho);
  font-size: clamp(32px, 4.44vw, 64px);
  font-style: normal;
  font-weight: 300;
  line-height: 94px;
  color: #352304;
  text-align: center;
  margin-bottom: 40px;
}

/* Google Map Placeholder */
.access__map {
  display: flex;
  width: 1000px;
  max-width: 100%;
  height: clamp(250px, 34.7vw, 500px);
  padding: 30px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 auto 32px;
  background: #e0e0e0;
}

.access__map-placeholder {
  font-size: 14px;
  color: #999;
}

.access__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Address Cards (Figma: 3列) */
.access__addresses {
  display: grid;
  grid-template-columns: repeat(3, 310px);
  gap: 16px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto 48px;
}

.access__address {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.access__address-name {
  display: flex;
  width: 310px;
  height: 69px;
  padding: 18px 64px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: 'YuGothic', 'Yu Gothic', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 34px;
  color: #352304;
  text-align: center;
  margin-bottom: 12px;
  white-space: nowrap;
}

.access__address-name--honkan {
  background: #E4B99B;
}

.access__address-name--yojyokan {
  background: #E8D7AF;
}

.access__address-name--kogenkan {
  background: #CBE3D7;
}

.access__address-detail {
  font-family: 'YuGothic', 'Yu Gothic', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 44px;
  color: #352304;
  text-align: left;
  margin-top: 16px;
}

/* Transport Section Title (Figma準拠) */
.access__transport-section {
  max-width: 600px;
  margin: 120px auto 48px;
}

.access__transport-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Shippori Mincho B1", var(--font-mincho);
  font-size: clamp(28px, 2.9vw, 42px);
  font-style: normal;
  font-weight: 600;
  line-height: 62px;
  color: #352304;
  text-align: center;
  margin-bottom: 24px;
}

.access__transport-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.access__transport-icon svg {
  width: 50px;
  height: 50px;
}

/* ===== Flowchart Styles (Figma準拠) ===== */
.access__flowchart {
  display: grid;
  grid-template-columns: repeat(2, 470px);
  gap: 24px;
  justify-content: center;
  margin-bottom: 0;
}

.access__flow-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Flow Box - Filled (brown) */
.access__flow-box {
  display: flex;
  width: 470px;
  height: 69px;
  padding: 18px 64px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #FFF;
  text-align: center;
  font-family: 'YuGothic', 'Yu Gothic', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 44px;
}

.access__flow-box--filled {
  background: #352304;
  color: var(--color-white);
}

/* Flow Box - Outline */
.access__flow-box--outline {
  background: var(--color-white);
  border: 1px solid #CBBDB2;
  color: #352304;
  box-sizing: border-box;
}

/* Flow Box - Destination (やすらぎの里) */
.access__flow-box--destination {
  width: 964px;
  background: #CBBDB2;
  color: #352304;
  text-align: center;
  font-family: 'YuGothic', 'Yu Gothic', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: -1.2px;
  margin-bottom: 0;
}

/* Flow Line (vertical connector) */
.access__flow-line {
  width: 1px;
  height: 30px;
  background: #CBBDB2;
}

/* Flow Line - 長いライン（熱海の上下用） */
.access__flow-line--long {
  height: 80px;
}

/* Flow Text (between boxes) */
.access__flow-text {
  color: #352304;
  text-align: center;
  font-family: 'YuGothic', 'Yu Gothic', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 44px;
}

/* Merged flow (車ルート用) */
.access__flow-merged {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
}

.access__flow-merged .access__flow-box--outline {
  width: 964px;
}

/* 2本のライン（伊豆高原とやすらぎの里の間） */
.access__flow-lines-double {
  display: grid;
  grid-template-columns: repeat(2, 470px);
  gap: 24px;
  justify-content: center;
  width: 964px;
}

.access__flow-lines-double .access__flow-line {
  justify-self: center;
}

/* 車ルート専用 */
.access__flowchart--car {
  margin-bottom: 0;
}

.access__flowchart--car .access__flow-column {
  align-items: center;
}

/* ===== Destination Box (やすらぎの里 詳細) ===== */
.access__destination-box {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 964px;
  border: 1px solid #352304;
  background: #FFF;
}

.access__destination-title {
  background: #CBBDB2;
  padding: 10px 16px;
  color: #352304;
  text-align: center;
  font-family: 'YuGothic', 'Yu Gothic', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: -1.2px;
}

.access__destination-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 0 40px;
}

.access__destination-title + .access__destination-row {
  margin-top: 40px;
}

.access__destination-row + .access__destination-row {
  margin-top: 32px;
}

.access__destination-row:last-child {
  margin-bottom: 40px;
}

.access__destination-tag {
  display: flex;
  width: 310px;
  height: 69px;
  padding: 18px 64px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: #352304;
  text-align: center;
  font-family: 'YuGothic', 'Yu Gothic', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 34px;
}

.access__destination-tag--honkan {
  background: #E4B99B;
}

.access__destination-tag--yojyokan {
  background: #E8D7AF;
}

.access__destination-tag--kogenkan {
  background: #CBE3D7;
}

.access__destination-text {
  width: 584px;
  height: 71px;
  color: #352304;
  font-family: "Yu Gothic", "YuGothic", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 34px;
}

/* ===== CTA Buttons (Figma準拠: アイコン付き) ===== */
.access__cta {
  display: flex;
  justify-content: center;
  gap: 24px;
  width: 964px;
  margin: 0 auto 32px;
}

.access__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  padding: 14px 24px;
  font-family: var(--font-gothic);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  transition: opacity 0.3s;
}

.access__cta-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.access__cta-btn--primary {
  display: flex;
  width: 470px;
  height: 80px;
  padding: 18px 64px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #D67C3D;
  color: #FFF;
  font-family: "Shippori Mincho B1", var(--font-mincho);
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 54px;
  white-space: nowrap;
}

/* Figma準拠: HOVERの時 色が薄くなる */
.access__cta-btn--primary:hover {
  opacity: 0.7;
}

/* Figma準拠: 電話で予約は緑 */
.access__cta-btn--secondary {
  display: flex;
  width: 470px;
  height: 80px;
  padding: 18px 64px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: #4A9255;
  color: #FFF;
  font-family: "Shippori Mincho B1", var(--font-mincho);
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 54px;
  white-space: nowrap;
}

/* Figma準拠: HOVERの時 色が薄くなる */
.access__cta-btn--secondary:hover {
  opacity: 0.7;
}

/* ===== Download Section (Figma準拠) ===== */
.access__download-box {
  display: flex;
  flex-direction: column;
  height: 90px;
  padding: 18px 64px;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: 964px;
  margin: 0 auto 100px;
  background: #352304;
  text-decoration: none;
  transition: opacity 0.3s;
}

.access__download-box:hover {
  opacity: 0.8;
}

.access__download-text {
  color: #FFF;
  text-align: center;
  font-family: 'YuGothic', 'Yu Gothic', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

.access__download-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #FFF;
  text-align: center;
  font-family: "Shippori Mincho B1", var(--font-mincho);
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

/* =====================================================
   CTA New - 予約・資料ダウンロード
   ===================================================== */
.cta-new {
  background: #FFFFFF;
  padding: 80px 0 180px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.cta-new--inline {
  padding: 40px 0 0 0;
  background: transparent;
}

.cta-new__buttons {
  display: flex;
  gap: 60px;
  width: 964px;
}

.cta-new__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 452px;
  height: 120px;
  font-family: var(--font-mincho);
  font-size: 28px;
  font-weight: 600;
  line-height: 54px;
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.cta-new__btn:hover {
  opacity: 0.9;
}

.cta-new__btn--web {
  background: #d67c3d;
}

.cta-new__btn--phone {
  background: #4a9255;
}

.cta-new__btn-icon {
  width: 26px;
  height: 26px;
}

.cta-new__btn-icon--phone {
  width: 34px;
  height: 26px;
}

.cta-new__download {
  width: 964px;
  background: #352304;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 64px;
  height: 148px;
}

.cta-new__download-label {
  font-family: var(--font-gothic);
  font-size: 24px;
  font-weight: 500;
  line-height: 44px;
  color: white;
  text-align: center;
  margin-bottom: 0;
}

.cta-new__download-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mincho);
  font-size: 28px;
  font-weight: 600;
  line-height: 54px;
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.cta-new__download-link:hover {
  opacity: 0.8;
}

.cta-new__download-icon {
  width: 26px;
  height: 26px;
}

/* =====================================================
   Footer (Figma完全準拠)
   背景: #F2E8DF, サイズ: 1441x593px
   ===================================================== */
/* =====================================================
   Footer — Figma準拠 1440x593px / bg #F2E8DF
   ===================================================== */
.footer {
  background: #F2E8DF;
  padding: 64px 0 32px;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- メインエリア: 左右2カラム --- */
.footer__main {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

/* 左カラム: ロゴ→電話→SNS→お問い合わせ（縦積み） */
.footer__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}

.footer__logo {
  margin-bottom: 20px;
}

.footer__logo img {
  width: 268px;
  height: auto;
}

.footer__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer__phone-icon {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
}

.footer__phone-info {
  display: flex;
  flex-direction: column;
}

.footer__phone-number {
  font-family: 'YuGothic', 'Yu Gothic', sans-serif;
  font-size: 36px;
  font-weight: 500;
  color: #352304;
  line-height: 44px;
}

.footer__phone-hours {
  font-family: 'YuGothic', 'Yu Gothic', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #352304;
  line-height: 44px;
}

/* Figma: SNSアイコン row gap=18 */
.footer__sns {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.footer__sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.footer__sns-link:hover {
  opacity: 0.7;
}

/* Figma: お問い合わせ 300x66px green */
.footer__btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 300px;
  height: 66px;
  background: #4A9255;
  color: #fff;
  font-family: 'YuGothic', 'Yu Gothic', sans-serif;
  font-size: 20px;
  font-weight: 500;
  transition: opacity 0.3s;
}

.footer__contact-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.footer__btn-contact:hover {
  opacity: 0.7;
}

/* 右カラム: ナビ + カード */
.footer__right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Figma: ナビ 4カラム gap=25 */
.footer__nav {
  display: flex;
  gap: 25px;
}

.footer__nav-col {
  display: flex;
  flex-direction: column;
}

.footer__nav-facility-row {
  display: flex;
  flex-direction: column;
}

.footer__banner-sp {
  display: none;
}

.footer__nav-link {
  color: #352304;
  font-family: 'YuGothic', 'Yu Gothic', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: -0.85px;
  white-space: nowrap;
  transition: color 0.3s;
}

.footer__nav-link:hover {
  color: var(--color-primary);
}

/* Figma: カード 300x80px 横並び（画像方式） */
.footer__cards {
  display: flex;
  gap: 16px;
}

.footer__card {
  display: block;
  width: 300px;
  border-radius: 5px;
  overflow: hidden;
  transition: opacity 0.3s;
}

.footer__card img {
  display: block;
  width: 100%;
  height: auto;
}

.footer__card:hover {
  opacity: 0.8;
}

.footer__copyright-br {
  display: none;
}

/* コピーライト */
.footer__copyright {
  text-align: center;
  font-family: 'YuGothic', 'Yu Gothic', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #352304;
  line-height: 44px;
  padding-top: 16px;
}

/* --- フッター レスポンシブ --- */
@media (max-width: 1024px) {
  .footer__main {
    flex-direction: column;
    align-items: center;
  }

  .footer__left {
    align-items: center;
    text-align: center;
  }

  .footer__phone {
    flex-direction: column;
    gap: 4px;
  }

  .footer__right {
    align-items: center;
  }

  .footer__nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
  }

  .footer__cards {
    flex-direction: row;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  /* SP Footer - Figma: 390x1096, padding 50px 39px, bg #F2E8DF */
  .footer {
    padding: 50px 0;
  }

  .footer__inner {
    padding: 0 39px;
  }

  .footer__main {
    flex-direction: column;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
  }

  .footer__left {
    align-items: center;
    text-align: center;
    gap: 34px;
    width: 100%;
  }

  .footer__logo {
    display: none;
  }

  .footer__banner-sp {
    display: block;
    width: 100%;
    max-width: 311px;
  }

  .footer__banner-sp img {
    width: 100%;
    height: auto;
  }

  .footer__phone {
    flex-direction: row;
    align-items: flex-start;
    gap: 3px;
    margin-bottom: 0;
  }

  .footer__phone-icon {
    margin-top: 8px;
  }

  .footer__phone-info {
    text-align: center;
  }

  .footer__phone-number {
    font-size: 30px;
    line-height: 44px;
    letter-spacing: 0;
  }

  .footer__phone-hours {
    font-size: 16px;
    line-height: 44px;
    margin-top: -9px;
  }

  .footer__sns {
    gap: 18px;
    margin-bottom: 0;
    justify-content: center;
  }

  .footer__btn-contact {
    width: 300px;
    height: 66px;
    font-size: 20px;
    font-weight: 500;
    gap: 8px;
    padding: 18px 64px;
  }

  .footer__right {
    align-items: center;
    gap: 50px;
    width: 100%;
  }

  /* SP Nav: Figma flex-wrap 311x275, gap 20/5, center both axes */
  .footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 5px 20px;
    width: 311px;
    max-width: 100%;
  }

  .footer__nav-col {
    display: contents;
  }

  .footer__nav-link {
    font-size: 16px;
    font-weight: 700;
    line-height: 35px;
    letter-spacing: -0.8px;
    white-space: nowrap;
    text-decoration: none;
  }

  .footer__nav-facility-row {
    display: flex;
    flex-direction: row;
    gap: 24px;
  }

  /* SP Cards: vertical, 20px gap */
  .footer__cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer__card {
    width: 300px;
  }

  /* SP Copyright: Figma 14px, 30px line-height, 311px width */
  .footer__copyright {
    font-size: 14px;
    line-height: 30px;
    padding-top: 0;
    white-space: nowrap;
  }

  .footer__copyright-br {
    display: block;
  }
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1200px) {
  /* facilities-overview レスポンシブ */
  .facilities-overview .section__title {
    font-size: 48px;
    line-height: 1.4;
  }

  .facilities-overview .section__subtitle {
    font-size: 20px;
    line-height: 1.6;
  }

  .facility-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 760px;
  }

  .facility-card {
    width: 100%;
  }

  .facility-card__image-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 360/357;
  }

  .facility-card__title {
    font-size: 24px;
  }

  .facility-card__description {
    font-size: 16px;
    line-height: 28px;
  }
}

@media (max-width: 1024px) {
  /* facility-detail タブレット */
  .facility-detail__title {
    font-size: 48px;
    line-height: 1.4;
  }

  .facility-detail__catchphrase {
    font-size: 32px;
    line-height: 1.4;
  }

  .facility-detail__description {
    font-size: 22px;
    line-height: 1.8;
  }

  .facility-feature {
    font-size: 16px;
  }

  .facility-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .facility-gallery__item {
    width: 100%;
    height: auto;
    aspect-ratio: 360/270;
  }

  .access__addresses {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .header {
    height: 56px;
  }

  .header__inner {
    padding: 0 16px;
  }

  .header__nav {
    display: none;
  }

  .header__phone-number {
    font-size: 12px;
  }

  .header__logo img {
    width: 120px;
    height: auto;
  }

  .header__btn {
    padding: 0 14px;
    font-size: 11px;
    height: 56px;
  }

  .header__right {
    gap: 0;
    height: 56px;
  }

  .hero {
    height: 400px;
    margin-top: 56px;
  }

  .hero__overlay {
    width: 100%;
  }

  .hero__title-area--center {
    left: 24px;
  }

  .hero__title {
    font-size: 32px;
    letter-spacing: 3px;
    line-height: 1.3;
  }

  .hero__subtitle {
    font-size: 14px;
    letter-spacing: 0.5px;
  }

  .section {
    padding: 56px 0;
  }

  .section__title {
    font-size: 22px;
  }

  /* facilities-overview モバイル */
  .facilities-overview {
    padding: 48px 20px 64px;
  }

  .facilities-overview .section__title {
    font-size: 28px;
    line-height: 1.4;
  }

  .facilities-overview .section__subtitle {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.5px;
  }

  .facilities-overview .section__header {
    margin-bottom: 32px;
  }

  .facility-cards {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
    gap: 32px;
  }

  .facility-card__label {
    font-size: 24px;
  }

  .facility-card__title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .facility-card__description {
    font-size: 14px;
    line-height: 24px;
  }

  .facility-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 360px;
    margin: 0 auto 32px;
  }

  .facility-gallery__item {
    width: 100%;
    height: auto;
    aspect-ratio: 360/270;
  }

  /* facility-hero モバイル */
  .facility-hero {
    height: 280px;
  }

  .facility-hero__label {
    font-size: 28px;
    letter-spacing: 2px;
  }

  /* facility-detail モバイル */
  .facility-detail {
    padding: 48px 0 56px;
  }

  .facility-detail__header {
    margin-bottom: 32px;
  }

  .facility-detail__title {
    font-size: 32px;
    line-height: 1.4;
  }

  .facility-detail__intro {
    margin-bottom: 32px;
  }

  .facility-detail__catchphrase {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .facility-detail__description {
    font-size: 16px;
    line-height: 1.8;
  }

  .facility-features {
    gap: 4px;
    margin-bottom: 32px;
  }

  .facility-features__row {
    gap: 4px 16px;
  }

  .facility-feature {
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.6;
  }

  .facility-feature__icon {
    width: 16px;
    height: 16px;
  }

  .plans__title {
    font-size: 18px;
  }

  .access__title {
    font-size: 24px;
  }

  .access__addresses {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .access__flowchart {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .access__flow-box {
    max-width: 100%;
  }

  .access__destination-box {
    max-width: 100%;
  }

  .access__cta {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .access__cta-btn {
    width: 100%;
    max-width: 280px;
  }

  .access__download {
    margin: 0 20px;
    max-width: none;
  }

  /* CTA New モバイル */
  .cta-new {
    padding: 40px 20px;
    gap: 30px;
  }

  .cta-new__buttons {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: center;
  }

  .cta-new__btn {
    width: 100%;
    max-width: 320px;
    height: 80px;
    font-size: 20px;
    line-height: 36px;
  }

  .cta-new__download {
    width: 100%;
    max-width: 340px;
    height: auto;
    padding: 20px;
  }

  .cta-new__download-label {
    font-size: 16px;
    line-height: 28px;
  }

  .cta-new__download-link {
    font-size: 18px;
    line-height: 32px;
  }

  /* Footer モバイル - SP版は @media (max-width: 768px) で定義済み */

  /* プランセクション モバイル (2列→1列) */
  .plans__list {
    grid-template-columns: 1fr;
    max-width: 280px;
    gap: 12px;
  }

  .plans__item {
    height: 44px;
    font-size: 13px;
  }

  .plans__more-link {
    padding: 10px 24px;
    font-size: 13px;
  }
}

/* =====================================================
   Small Mobile (480px以下)
   ===================================================== */
@media (max-width: 480px) {
  .header__btn {
    padding: 0 10px;
    font-size: 10px;
    height: 56px;
  }

  .header__btn-icon {
    display: none;
  }

  .header__logo img {
    width: 100px;
  }

  .hero {
    height: 320px;
  }

  .hero__title {
    font-size: 26px;
    letter-spacing: 2px;
  }

  .hero__subtitle {
    font-size: 12px;
  }

  .facilities-overview .section__title {
    font-size: 24px;
  }

  .facility-detail__title {
    font-size: 26px;
  }

  .facility-detail__catchphrase {
    font-size: 18px;
    line-height: 1.5;
  }

  .facility-detail__description {
    font-size: 14px;
  }

  .facility-feature {
    padding: 4px 10px;
    font-size: 12px;
  }

  .facility-detail--kogenkan .facility-feature {
    padding: 5px 25px;
    font-size: 16px;
    line-height: 36px;
    letter-spacing: -0.48px;
    height: auto;
  }

  .facility-feature__icon {
    width: 14px;
    height: 14px;
  }

  .facility-detail--kogenkan .facility-feature__icon {
    width: 20px;
    height: 20px;
  }

  .access__title {
    font-size: 20px;
  }

  .access__cta-btn {
    padding: 12px 16px;
    font-size: 13px;
  }

  /* Footer 480px - SP版は @media (max-width: 768px) で定義済み */
}

/* =====================================================
   Mobile Header & Hamburger Menu
   ===================================================== */
.header__hamburger {
  display: none;
}

@media (max-width: 768px) {
  .header__nav,
  .header__right {
    display: none;
  }

  .header__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #4a9255;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
  }

  .header__hamburger span {
    display: block;
    width: 35px;
    height: 2.5px;
    background: #fff;
  }

  .header {
    height: 80px;
  }

  .header__inner {
    position: relative;
    height: 80px;
    padding-left: 24px;
  }

  .header__logo {
    margin-top: 0;
    align-self: center;
  }

  .header__logo img {
    width: 155px;
    height: auto;
  }

  .hero {
    margin-top: clamp(60px, 5.56vw, 80px);
  }
}

/* SP Menu overlay */
.sp-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffbf1;
  z-index: 10000;
  overflow-y: auto;
  padding: 0 40px 40px;
}

.sp-menu::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/menu-bg-texture.webp') center / cover no-repeat;
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}

.sp-menu.is-open {
  display: block;
}

.sp-menu__header {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 59px;
}

.sp-menu__logo img {
  width: 175px;
  height: auto;
}

.sp-menu__close {
  position: absolute;
  top: 22px;
  right: -20px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.sp-menu__close span {
  display: block;
  width: 35px;
  height: 1px;
  background: #000000;
  position: absolute;
  top: 50%;
  left: 50%;
}

.sp-menu__close span:first-child {
  transform: translate(-50%, -50%) rotate(30deg);
}

.sp-menu__close span:last-child {
  transform: translate(-50%, -50%) rotate(-30deg);
}

/* Nav links */
.sp-menu__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 35px;
  margin-top: 26px;
}

.sp-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Yu Gothic', 'YuGothic', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #352304;
  text-decoration: none;
  line-height: 35px;
  letter-spacing: -0.8px;
  white-space: nowrap;
}

.sp-menu__link svg {
  flex-shrink: 0;
  margin-left: 15px;
}

.sp-menu__group {
  display: flex;
  flex-direction: column;
  gap: -5px;
}

.sp-menu__group .sp-menu__link {
  margin-bottom: 0;
}

.sp-menu__sublink {
  font-family: 'Yu Gothic', 'YuGothic', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #352304;
  text-decoration: none;
  line-height: 35px;
  letter-spacing: -0.7px;
  display: flex;
  align-items: center;
}

/* CTA Buttons */
.sp-menu__buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.sp-menu__btn {
  display: flex;
  align-items: center;
  width: 100%;
  height: 56px;
  padding: 10px 64px;
  font-family: 'Yu Gothic', 'YuGothic', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 36px;
  color: #fff;
  text-decoration: none;
  border-radius: 0;
  box-sizing: border-box;
  white-space: nowrap;
}
.sp-menu__btn svg {
  flex-shrink: 0;
}

.sp-menu__btn--calendar {
  background: #d67c3d;
  gap: 8px;
}

.sp-menu__btn--plan {
  background: #4a9255;
  gap: 20px;
}

.sp-menu__btn--contact {
  background: #352304;
  gap: 15px;
}

/* Phone */
.sp-menu__phone {
  margin-top: 30px;
  text-align: center;
}

.sp-menu__phone-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sp-menu__phone-number {
  font-family: 'Yu Gothic', 'YuGothic', sans-serif;
  font-size: 30px;
  font-weight: 500;
  color: #352304;
  text-decoration: none;
  letter-spacing: 1.2px;
  line-height: 44px;
}

.sp-menu__phone-hours {
  display: block;
  font-family: 'Yu Gothic', 'YuGothic', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #352304;
  line-height: 44px;
  margin-top: -10px;
}

/* SNS */
.sp-menu__sns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}

.sp-menu__sns-link img {
  display: block;
}
