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

.sp-only { display: none; }
br.pc-only { display: inline; }
p.pc-only { display: block; }
span.pc-only { display: inline; }

/* =====================================================
   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;

  /* 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;
}

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;
}

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);
}

/* Figma: ロゴ 185x36px */

/* Figma準拠: HOVERの時 色が薄くなる */

/* Figma: カレンダーから予約 - オレンジ #D67C3D, 209x80px */

/* Figma: プランから予約 - グリーン #4A9255, 208x80px */

/* =====================================================
   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: 42px;
  font-weight: 600;
  line-height: 62px;
  color: #352304;
  text-align: center;
  margin-bottom: 0;
  letter-spacing: 0;
}

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

/* =====================================================
   Intro Section - 各施設の紹介
   ===================================================== */
.intro {
  padding: 64px 0 32px;
  background: var(--color-white);
}

.intro .section__header {
  margin-bottom: 16px;
}

.intro__lead {
  max-width: 600px;
  margin: 0 auto 32px;
  text-align: center;
  font-size: 13px;
  line-height: 2.2;
  color: var(--color-text-body);
}

.intro__image {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.intro__image img {
  width: 100%;
  height: auto;
  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 */
.facility-cards {
  display: grid;
  grid-template-columns: repeat(3, 360px);
  gap: 30px;
  justify-content: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.facility-card {
  width: 360px;
  background: var(--color-bg-cream);
  text-align: center;
  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: 360px;
  height: 357px;
  overflow: hidden;
  margin-bottom: 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%;
  overflow: hidden;
}

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

.facility-hero__image {
  width: 100%;
  height: auto;
  display: block;
}

/* 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;
  background-color: #f8f5f0;
}

.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--yojyokan {
  background-color: #FFFBF1;
  padding-bottom: 0;
}

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

.rooms {
  background-color: #FFFBF1;
  position: relative;
}

.rooms::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
  background-image: url('../images/yojyokan-bg.webp');
  background-size: cover;
  background-position: center;
}

.rooms::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;
}

.rooms .container {
  position: relative;
  z-index: 1;
}

/* =====================================================
   Room Cards
   ===================================================== */
.rooms-content {
  padding-top: 80px;
}

/* Figma: 1440x456, pad 50px 87px, gap 50px → テキスト幅1266px */
.rooms-content__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  text-align: center;
  max-width: 1266px;
  margin: 0 auto;
  padding: 50px 0 80px;
}

.rooms-content__header .facility-detail__description {
  max-width: 1266px;
}

/* Figma: FOT-TsukuAntiqueLMin Std 64px weight300 lh94 */
.rooms-content__header .section__title {
  font-family: var(--font-mincho);
  font-size: 64px;
  font-weight: 300;
  line-height: 94px;
  color: #352304;
}

/* ヘッダー背景 #FFFBF1 全幅 */
.rooms-content__top-bg {
  position: relative;
  background: #FFFBF1;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  padding-bottom: 75px;
  margin-bottom: 150px;
}

.room-cards {
  display: flex;
  flex-direction: column;
  gap: 150px;
  width: calc(360px * 3 + 16px * 2);
  max-width: 100%;
  margin: 0 auto;
}

.room-card {
  width: 100%;
}

.room-card--cream-bg {
  position: relative;
}

.room-card--cream-bg::before {
  content: '';
  position: absolute;
  top: -75px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  bottom: -75px;
  background-color: #FFFBF1;
  z-index: -1;
}

.room-card--alt-bg {
  position: relative;
}

.room-card--alt-bg::before {
  content: '';
  position: absolute;
  top: -75px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  bottom: -75px;
  background-image: url('../images/yojyokan-bg.webp');
  background-size: auto;
  background-position: top center;
  background-repeat: repeat;
  opacity: 0.3;
  z-index: -1;
}

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

.room-card__title {
  color: #352304;
  text-align: center;
  font-family: "Shippori Mincho B1", var(--font-mincho);
  font-size: 42px;
  font-style: normal;
  font-weight: 600;
  line-height: 62px;
  margin-bottom: 8px;
}

.room-card__subtitle {
  color: #352304;
  text-align: center;
  font-family: "Italiana", serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 1px;
}

.room-card__image-single {
  position: relative;
  width: 100%;
  height: 550px;
  margin: 0 auto 24px;
  overflow: visible;
  border-radius: 4px;
}

.room-card__image-single > img:not(.room-card__nav) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.room-card__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: opacity 0.3s;
  z-index: 10;
}

.room-card__nav:hover {
  opacity: 0.8;
}

.room-card__nav--left {
  left: -55px;
}

.room-card__nav--right {
  right: -55px;
}

.room-card__description {
  color: #352304;
  text-align: left;
  font-family: var(--font-gothic);
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 44px;
  letter-spacing: -1.2px;
}

/* 背景テクスチャオーバーレイ (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 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  text-align: center;
  margin-bottom: 100px;
}

/* Figma: キャッチコピー Shippori Mincho B1 42px w600 lineHeight62px */
.facility-detail__catchphrase {
  font-family: var(--font-mincho);
  font-size: 42px;
  font-weight: 600;
  line-height: 62px;
  color: #352304;
  text-align: center;
  letter-spacing: 0;
  max-width: 1180px;
}

/* Figma: 説明文 Shippori Mincho B1 28px w600 lineHeight54px, 幅1180px */
.facility-detail__description {
  font-family: var(--font-mincho);
  font-size: 28px;
  font-weight: 600;
  line-height: 54px;
  text-align: center;
  max-width: 1180px;
  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 100px;
}

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

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

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

/* =====================================================
   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);
}

/* =====================================================
   Plans Section - 対応プラン (Figma準拠: ボックス形式)
   ===================================================== */
/* Figma: bg #FFFBF1, pad 100px 130px */
.plans-section--yojyokan {
  background-color: #FFFBF1;
  padding: 150px 130px 100px;
  position: relative;
}

.plans-section--yojyokan::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
  background-image: url('../images/yojyokan-bg.webp');
  background-size: auto;
  background-position: top center;
  background-repeat: repeat;
}

.plans-section__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.plans-section__line {
  width: 177px;
  height: 1px;
  background-color: #352304;
  margin-bottom: 40px;
}

/* Figma: FOT-TsukuAntiqueLMin Std 64px w300 lh94 */
.plans-section__title {
  font-family: var(--font-mincho);
  font-size: 64px;
  font-weight: 300;
  line-height: 94px;
  color: #352304;
  text-align: center;
  letter-spacing: 0;
}

/* Figma: VERTICAL gap:20, align:CENTER */
.plans-section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 100px;
}

/* Figma: Shippori Mincho B1 42px w600 lh62 */
.plans-section__subtitle {
  font-family: var(--font-mincho);
  font-size: 42px;
  font-weight: 600;
  line-height: 62px;
  color: #352304;
  text-align: center;
  white-space: nowrap;
}

/* Figma: HORIZONTAL wrap, gap:36 */
.plans-section__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  margin-bottom: 100px;
}

.plans-section__btn {
  display: flex;
  height: 73px;
  padding: 18px 64px;
  justify-content: center;
  align-items: center;
  background-color: #e8d7af;
  border-radius: 0;
  transition: opacity 0.3s;
}

.plans-section__btn:hover {
  opacity: 0.7;
}

/* Figma: Yu Gothic 24px w700 */
.plans-section__btn-text {
  font-family: var(--font-gothic);
  font-size: 24px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: -1.2px;
  color: #352304;
  white-space: nowrap;
}

/* Figma: 400x73, bg #352304, pad 18px 64px, Yu Gothic 18px w700 white */
.plans-section__more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 400px;
  height: 73px;
  padding: 18px 64px;
  background-color: #352304;
  color: #fff;
  font-family: var(--font-gothic);
  font-size: 18px;
  font-weight: 700;
  line-height: 36px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.plans-section__more-btn:hover {
  opacity: 0.7;
}

.plans-section__more-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* =====================================================
   Schedule Section - 養生館1日の流れ (Figma準拠)
   ===================================================== */
.schedule-section--yojyokan {
  background-color: #FFFBF1;
  padding: 80px 0 120px;
}

.schedule-section__content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.schedule-section__title {
  font-family: "TsukuAntiqueLMin", "Shippori Mincho B1", var(--font-mincho);
  font-size: 64px;
  font-weight: 300;
  line-height: 94px;
  color: #352304;
  text-align: center;
  margin-bottom: 78px;
  letter-spacing: 0;
}

.schedule-section__timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 47px;
}

.schedule-section__item {
  display: flex;
  align-items: center;
  height: 73px;
  padding: 18px 100px;
  background-color: #F6F3E9;
}

.schedule-section__time {
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 400;
  line-height: 36px;
  color: #604D44;
  min-width: 80px;
}

.schedule-section__separator {
  width: 1px;
  height: 20px;
  background-color: #604D44;
  margin: 0 30px;
}

.schedule-section__activity {
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 400;
  line-height: 36px;
  color: #604D44;
}

.schedule-section__link-wrap {
  display: flex;
  justify-content: flex-end;
}

.schedule-section__link {
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 400;
  line-height: 36px;
  color: #352304;
  text-align: right;
  padding: 5px 0;
  border-bottom: 1px solid #352304;
  transition: opacity 0.3s;
}

.schedule-section__link:hover {
  opacity: 0.7;
}

/* =====================================================
   CTA Section - 予約・資料ダウンロード (Figma完全準拠)
   ===================================================== */
.cta-section {
  padding: 61px 0;
  background-color: #fffbf1;
}

.cta-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.cta-section__buttons {
  display: flex;
  gap: 60px;
  justify-content: center;
}

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

.cta-section__btn:hover {
  opacity: 0.8;
}

.cta-section__btn--web {
  background-color: #d67c3d;
}

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

.cta-section__btn .cta-section__icon {
  width: 26px;
  height: 26px;
}

.cta-section__btn--phone .cta-section__icon {
  width: 34px;
  height: 26px;
}

.cta-section__download {
  width: 1000px;
  max-width: 100%;
  height: 148px;
  background-color: #352304;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 64px;
}

.cta-section__download-subtitle {
  font-family: 'Yu Gothic', var(--font-gothic);
  font-size: 24px;
  font-weight: 500;
  line-height: 44px;
  color: #fffbf1;
  text-align: center;
  margin: 0;
}

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

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

.cta-section__download-link .cta-section__icon {
  width: 21px;
  height: 26px;
}

.plans {
  padding-top: 48px;
  text-align: center;
}

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

/* Figma準拠: ボックスグリッド */
.plans__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto 24px;
}

/* Figma準拠: 背景は薄いベージュ、枠線は緑 */
.plans__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 16px 24px;
  border: 1px solid var(--color-primary);
  background: #faf6f1;
  font-family: var(--font-gothic);
  font-size: 14px;
  color: var(--color-text-dark);
  text-align: center;
  transition: background 0.3s, opacity 0.3s;
  cursor: pointer;
}

.plans__item:hover {
  opacity: 0.7;
}

/* Figma準拠: 緑塗りつぶしボタン */
.plans__more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 28px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-gothic);
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 24px;
  transition: opacity 0.3s;
}

.plans__more-link::before {
  content: '';
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

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

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

.access__title {
  font-family: var(--font-mincho);
  font-size: 32px;
  font-weight: 400;
  color: var(--color-text-dark);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}

/* Google Map Placeholder */
.access__map {
  max-width: 540px;
  margin: 0 auto 32px;
  aspect-ratio: 540/200;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.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, 1fr);
  gap: 16px;
  max-width: 600px;
  margin: 0 auto 48px;
}

.access__address {
  text-align: center;
}

.access__address-name {
  background: #c9a97a;
  padding: 8px 12px;
  font-family: var(--font-gothic);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 12px;
}

.access__address-detail {
  font-size: 12px;
  line-height: 1.8;
  color: var(--color-text-body);
  text-align: left;
}

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

.access__transport-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 24px;
}

.access__transport-icon {
  width: 24px;
  height: 24px;
}

/* ===== Flowchart Styles (Figma準拠) ===== */
.access__flowchart {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 16px;
}

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

/* Flow Box - Filled (brown) */
.access__flow-box {
  width: 100%;
  max-width: 240px;
  padding: 12px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--color-text-dark);
}

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

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

/* Flow Box - Destination (やすらぎの里) */
.access__flow-box--destination {
  background: #b8a082;
  color: var(--color-white);
}

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

/* Flow Text (between boxes) */
.access__flow-text {
  padding: 8px 0;
  font-size: 13px;
  color: var(--color-text-body);
  text-align: center;
}

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

/* ===== Destination Box (やすらぎの里 詳細) ===== */
.access__destination-box {
  border: 1px solid #c9a97a;
  max-width: 500px;
  margin: 0 auto;
}

.access__destination-title {
  background: #e8dcc8;
  padding: 10px 16px;
  text-align: center;
  font-family: var(--font-mincho);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-dark);
  border-bottom: 1px solid #c9a97a;
}

.access__destination-row {
  display: flex;
  align-items: flex-start;
  padding: 12px 16px;
  border-bottom: 1px solid #e0d5c8;
}

.access__destination-row:last-child {
  border-bottom: none;
}

.access__destination-tag {
  flex-shrink: 0;
  width: 56px;
  padding: 6px 8px;
  background: #c9a97a;
  color: var(--color-white);
  font-size: 12px;
  text-align: center;
  margin-right: 16px;
}

.access__destination-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-body);
}

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

.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 {
  background: var(--color-primary);
  color: var(--color-white);
}

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

/* Figma準拠: 電話で予約は茶色 */
.access__cta-btn--secondary {
  background: var(--color-btn-orange);
  color: var(--color-white);
}

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

/* ===== Download Section (Figma準拠: アイコン付き) ===== */
.access__download {
  text-align: center;
  background: #f5f0e8;
  padding: 20px;
  max-width: 440px;
  margin: 0 auto;
}

.access__download-text {
  font-size: 13px;
  color: var(--color-text-body);
  margin-bottom: 8px;
}

.access__download-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8b6914;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.access__download-icon {
  width: 16px;
  height: 16px;
}

.access__download-link:hover {
  text-decoration: underline;
}

/* 左側エリア */

/* 電話番号 */

/* SNSアイコン */

/* X (黒) */

/* Facebook (青) */

/* Instagram (グラデーション画像) */

/* YouTube (赤) */

/* お問い合わせボタン */

/* 右側ナビゲーション */

/* コピーライト */

/* =====================================================
   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) {
  .sp-only { display: block; }
  img.sp-only { display: block; }
  span.sp-only { display: inline; }
  br.sp-only { display: inline; }
  .pc-only { display: none !important; }

  /* =====================================================
     Hero SP
     ===================================================== */
  .hero.hero--yojyokan {
    height: 600px;
    margin-top: 80px;
  }

  .hero__overlay {
    width: 100%;
  }

  .hero--yojyokan .hero__title-area--center {
    left: 41px;
    bottom: 50px;
    top: auto;
    transform: none;
  }

  .hero--yojyokan .hero__title {
    font-size: 50px;
    font-weight: 600;
    letter-spacing: 5px;
    line-height: 70px;
  }

  .hero--yojyokan .hero__subtitle {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.8px;
    line-height: 19px;
  }

  /* Plans Section モバイル */
  .plans-section--yojyokan {
    padding: 20px 40px 80px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .plans-section__content {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .plans-section__line {
    width: 130px;
    margin-bottom: 50px;
  }

  .plans-section__title {
    font-size: 36px;
    font-weight: 300;
    line-height: 55px;
    margin-bottom: 0;
  }

  .plans-section__subtitle {
    font-size: 24px;
    font-weight: 600;
    line-height: 40px;
    white-space: normal;
  }

  .plans-section__header {
    margin-bottom: 15px;
  }

  .plans-section__buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 50px;
  }

  .plans-section__buttons-row {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
  }

  .plans-section__btn {
    width: calc(100% - 80px);
    margin: 0 auto;
    height: 50px;
    padding: 10px 0;
    text-align: center;
    box-sizing: border-box;
  }

  .plans-section__btn-text {
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: -0.9px;
  }

  .plans-section__more-btn {
    width: calc(100% - 80px);
    margin: 0 auto;
    height: 73px;
    font-size: 18px;
    font-weight: 700;
    line-height: 44px;
    letter-spacing: -0.9px;
    box-sizing: border-box;
    white-space: nowrap;
  }

  /* Schedule Section モバイル */
  .schedule-section--yojyokan {
    padding: 60px 0 80px;
  }

  .schedule-section__title {
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 40px;
  }

  .schedule-section__item {
    height: auto;
    padding: 14px 20px;
  }

  .schedule-section__time {
    font-size: 14px;
    line-height: 1.6;
    min-width: 60px;
  }

  .schedule-section__separator {
    margin: 0 16px;
    height: 16px;
  }

  .schedule-section__activity {
    font-size: 14px;
    line-height: 1.6;
  }

  .schedule-section__link {
    font-size: 14px;
    line-height: 1.6;
  }

  /* CTA Section モバイル */
  .cta-section {
    padding: 50px 0;
  }

  .cta-section__inner {
    gap: 10px;
  }

  .cta-section__buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .cta-section__btn {
    width: 100%;
    max-width: 100%;
    height: 120px;
    font-size: 24px;
    font-weight: 600;
    padding: 18px 64px;
  }

  .cta-section__download {
    width: 100%;
    height: 148px;
    padding: 18px 18px;
  }

  .cta-section__download-subtitle {
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
  }

  .cta-section__download-link {
    font-size: 24px;
    font-weight: 600;
    line-height: 54px;
  }

  .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: 80px 40px;
  }

  .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: 310px;
    margin: 0 auto;
    gap: 0;
  }

  .facility-card {
    border-bottom: 1px solid #352304;
    padding-bottom: 40px;
    margin-bottom: 40px;
  }

  .facility-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

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

  .facility-card__content {
    padding: 0;
  }

  .facility-card__label {
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: 1.5px;
  }

  .facility-card__title {
    font-size: 28px;
    font-weight: 600;
    line-height: 54px;
    text-align: center;
    margin-bottom: 0;
  }

  .facility-card__description {
    font-size: 18px;
    font-weight: 400;
    line-height: 36px;
  }

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

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

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

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

  /* facility-detail モバイル */
  .facility-detail.facility-detail--yojyokan {
    padding: 80px 0 20px;
  }

  .facility-detail__content {
    padding: 0;
    overflow: visible;
  }

  .facility-detail--yojyokan .facility-detail__header {
    margin-bottom: 15px;
    padding: 0 40px;
  }

  .facility-detail--yojyokan .facility-detail__title {
    font-size: 36px;
    font-weight: 300;
    line-height: 55px;
    letter-spacing: 0;
  }

  .facility-detail--yojyokan .facility-detail__intro {
    padding: 0 40px;
    margin-bottom: 50px;
    gap: 15px;
  }

  .facility-detail--yojyokan .facility-detail__catchphrase {
    font-size: 24px;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: 0.72px;
    margin-bottom: 0;
    white-space: nowrap;
  }

  .facility-detail--yojyokan .facility-detail__description {
    font-size: 18px;
    font-weight: 500;
    line-height: 36px;
    text-align: left;
    letter-spacing: -0.3px;
  }

  .facility-detail--yojyokan .facility-features {
    gap: 20px;
    margin-bottom: 50px;
    padding: 0 40px;
  }

  .facility-detail--yojyokan .facility-features__row {
    gap: 20px;
  }

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

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

  .facility-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    max-width: 310px;
    margin: 0 auto;
    padding-bottom: 80px;
  }

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

  /* =====================================================
     rooms-content（客室セクション）SP
     ===================================================== */
  .rooms-content {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    background: none;
  }

  .rooms-content__top-bg {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    background: #fffbf1;
    position: relative;
    z-index: 1;
  }

  .rooms-content__header {
    padding: 20px 40px;
    gap: 30px;
    text-align: left;
    align-items: stretch;
    max-width: 100%;
  }

  .rooms-content__header .section__title {
    font-size: 36px;
    font-weight: 300;
    line-height: 55px;
    text-align: center;
  }

  .rooms-content__header .facility-detail__description {
    font-size: 18px;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: 0;
    max-width: 100%;
  }

  .room-cards {
    gap: 0;
    width: 100%;
  }

  .room-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 50px 0;
    max-width: 100%;
    background: transparent;
  }

  .room-card--alt-bg {
    background: transparent;
  }

  .room-card--alt-bg::before,
  .room-card--alt-bg::after {
    display: none;
  }

  .room-card--cream-bg {
    background: #fffbf1;
    position: relative;
    z-index: 1;
  }

  .room-card--cream-bg::before,
  .room-card--cream-bg::after {
    display: none;
  }

  .room-card__header {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 40px;
    margin-bottom: 0;
  }

  .room-card__title {
    font-size: 24px;
    font-weight: 600;
    line-height: 40px;
    text-align: center;
  }

  .room-card__subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
  }

  .room-card__image-single {
    position: relative;
    height: 150px;
    width: calc(100% - 30px);
    margin: 0 auto;
    overflow: visible;
    border-radius: 0;
  }

  .room-card__image-single > img:not(.room-card__nav) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
  }

  .room-card__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    z-index: 10;
  }

  .room-card__nav--left {
    left: -17px;
  }

  .room-card__nav--right {
    right: -17px;
  }

  .room-card__description {
    font-size: 16px;
    font-weight: 500;
    line-height: 35px;
    letter-spacing: 0;
    padding: 0 40px;
    text-align: left;
  }

  .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;
  }

  /* Footer モバイル */

  /* プランボックス モバイル */
  .plans__list {
    flex-direction: column;
    align-items: center;
  }

  .plans__item {
    width: 100%;
    max-width: 280px;
    min-width: auto;
  }

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

/* =====================================================
   Small Mobile (480px以下)
   ===================================================== */
@media (max-width: 480px) {
  .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-feature__icon {
    width: 14px;
    height: 14px;
  }

  .access__title {
    font-size: 20px;
  }

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