@charset "UTF-8";

/* ==========================================================================
   Foundation
   ========================================================================== */
:root {
  --color-nav-text: #007852;
  --color-bg-white: #ffffff;
  --font-family-base: 'Noto Sans JP', sans-serif;
  
  /* エリアカラーの変数を追加 */
  --takachiho: #ED7272;
  --nobeoka: #4C9AD9;
  --saito: #59B350;
  --kitakirishima: #E0894E;
  --kushima: #A76CC4;
}

/* スムーススクロールの設定 */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* 固定ヘッダーに隠れないように調整 */
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family-base);
  font-feature-settings: "palt";
  color: #333333;
}

body * {
  box-sizing: border-box;
}

.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.l-main {
  width: 100%;
}

.l-section {
  padding: 100px 0;
}

.l-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media screen and (max-width: 767px) {
  .l-section {
    padding: 60px 0;
  }
}

/* ==========================================================================
   Component
   ========================================================================== */
/* --------------------------------------------------------------------------
   Animation Utility (フェードイン)
   -------------------------------------------------------------------------- */
.js-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.js-fade.is-active {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Hamburger Button
   -------------------------------------------------------------------------- */
.c-hamburger {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 200;
  display: none;
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: var(--color-bg-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.c-hamburger__line {
  position: absolute;
  left: 14px;
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--color-nav-text);
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.c-hamburger__line:nth-child(1) { top: 18px; }
.c-hamburger__line:nth-child(2) { top: 27px; }
.c-hamburger__line:nth-child(3) { top: 36px; }

.c-hamburger.is-active .c-hamburger__line:nth-child(1) {
  top: 27px;
  transform: rotate(45deg);
}
.c-hamburger.is-active .c-hamburger__line:nth-child(2) {
  opacity: 0;
}
.c-hamburger.is-active .c-hamburger__line:nth-child(3) {
  top: 27px;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Section Title (共通見出し)
   -------------------------------------------------------------------------- */
.c-section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-nav-text);
}

.c-section-title--center {
  justify-content: center;
}

.c-section-title__icon {
  fill: currentColor;
  width: clamp(28px, 1px + 4.5vw, 64px);
  height: clamp(28px, 1px + 4.5vw, 64px);
}

.c-section-title--small {
  font-size: clamp(24px, 21px + 0.5vw, 28px);
}

.c-section-title--small .c-section-title__icon {
  width: 28px;
  height: 28px;
}

/* --------------------------------------------------------------------------
   Lead Text (共通リード文)
   -------------------------------------------------------------------------- */
.c-lead-text {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  font-feature-settings: normal;
  line-height: 2;
  color: #333333;
}

/* --------------------------------------------------------------------------
   Button (アウトラインボタン)
   -------------------------------------------------------------------------- */
.c-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 240px;
  padding: 16px 32px;
  border: 2px solid #004076;
  border-radius: 999px; 
  background-color: var(--color-bg-white);
  color: #004076;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.c-btn-outline:hover {
  background-color: #004076;
  color: var(--color-bg-white);
  transform: translateY(-4px); 
}

.c-btn-outline__icon {
  transition: transform 0.3s ease;
}

.c-btn-outline:hover .c-btn-outline__icon {
  transform: translateX(4px); 
}

.c-btn-outline__icon-left {
  fill: currentColor;
}

/* 白抜き・透過ボタン用モディファイア */
.c-btn-outline--white {
  border-color: #ffffff;
  color: #ffffff;
  background-color: transparent;
}

.c-btn-outline--white:hover {
  background-color: #ffffff;
  color: #f87a05;
}

/* ==========================================================================
   Project
   ========================================================================== */
/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.p-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.p-hero__slider { width: 100%; height: 100%; z-index: 1; }
.p-hero__slider .splide__track,
.p-hero__slider .splide__list,
.p-hero__slider .splide__slide { height: 100%; }
.p-hero__slider img { width: 100%; height: 100%; object-fit: cover; }

.p-hero__mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* スライダーの上に重ねる */
  pointer-events: none; /* マスク画像自体はクリックイベントを通す */
}
.p-hero__mask img { width: 100%; height: 100%; object-fit: cover; }

.p-hero__logo {
  position: absolute;
  top: calc(50% - 64px);
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: min(90%, 800px);
  max-width: clamp(300px, 80vw, 800px);
  margin: 0;
}
.p-hero__logo img { width: 100%; height: auto; }

.p-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  z-index: 10;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}
.p-hero__wave img { width: 100%; height: auto; display: block; }

.splide__arrow { 
  background: transparent;
  top: calc(50% - 64px);
}
.splide__arrow--prev {
  left: 56px;
}
.splide__arrow--next {
  right: 56px;
}
.splide__arrow svg { fill: #ffffff; width: 48px; height: 48px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); transition: transform 0.3s ease; }
.splide__arrow:hover svg { transform: scale(1.1); }

/* ページネーション（ドット）のスタイル追加 */
.p-hero__pagination {
  bottom: clamp(60px, 12vw, 240px); /* ウェーブの上、ロゴの下に来るように調整 */
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ドット自体のスタイル（Splideのクラスを上書き） */
.p-hero__pagination .splide__pagination__page {
  width: clamp(8px, 1vw, 12px);
  height: clamp(8px, 1vw, 12px);
  border-radius: 50%;
  background: #ffffff;
  border: none;
  padding: 0;
  margin: 0;
  opacity: 1; /* デフォルトのopacityを上書き */
  transition: background-color 0.3s ease;
}

/* アクティブなドットのスタイル */
.p-hero__pagination .splide__pagination__page.is-active {
  background: #f87a05; /* 指示画像のようなオレンジ */
}

/* ホバー時のスタイル（オプション） */
.p-hero__pagination .splide__pagination__page:hover:not(.is-active) {
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Global Navigation
   -------------------------------------------------------------------------- */
#js-nav-sentinel { width: 100%; height: 1px; }

.p-global-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  margin-top: -44px;
  background-color: transparent;
  transition: box-shadow 0.3s ease, background-color 0.3s ease, padding 0.3s ease;
}

.p-global-nav.is-stuck {
  padding-block: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.p-global-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 0 auto;
  padding: 0 20px;
}

.p-global-nav__logo {
  width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.p-global-nav.is-stuck .p-global-nav__logo {
  opacity: 1;
  visibility: visible;
}

.p-global-nav__logo img { width: 100%; height: auto; display: block; }
.p-global-nav__menu { flex: 1; max-width: 1200px; }

.p-global-nav__list {
  display: flex;
  align-items: stretch;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.p-global-nav__item { position: relative; flex: 1; }

.p-global-nav__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background-image: linear-gradient(to bottom, var(--color-nav-text) 50%, transparent 50%);
  background-size: 2px 8px;
}

.p-global-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  text-decoration: none;
  color: var(--color-nav-text);
  font-weight: 700;
  font-size: clamp(12px, 1vw + 6px, 16px);
  transition: background-color 0.3s ease;
}

.p-global-nav__link:hover { background-color: rgba(0, 120, 82, 0.05); }

.p-global-nav__icon {
  width: 24px;
  height: 24px;
  color: #7bc23d; /* ナビゲーションのアイコン色を統一 */
  transition: transform 0.3s ease;
}

.p-global-nav__link:hover .p-global-nav__icon { transform: translateY(-4px); }

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.p-about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.p-about__image {
  margin: 0;
  text-align: right;
}

.p-about__image img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   Area Section (エリア紹介)
   -------------------------------------------------------------------------- */
.p-area.l-section {
  padding-bottom: 0; 
  margin-bottom: 80px;
}

.p-area__body {
  position: relative;
  overflow: hidden; 
  background-color: #b6d9db;
}

.p-area__inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 40px 0 0; 
  box-sizing: border-box;
}

.p-area__map {
  position: relative;
  width: 48%; 
  margin: 0;
}

.p-area__map img {
  display: block; 
  width: 100%;
  height: auto; 
}

/* --- Area Section のマップリンク部分 --- */

/* 元のスタイルをベースに、中心の実体となる白い円と影を追加 */
.p-area__map-link {
  position: absolute;
  display: block;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  
  /* ↓↓↓ ここから追加・修正 ↓↓↓ */
  background-color: rgba(255, 255, 255, 0.5); /* 中心の小さな円（常時表示） */
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  transition: background-color 0.3s ease; /* ホバー時のアニメーション設定 */
}

/* ホバーした時に中心の実体をさらに明るく */
.p-area__map-link:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* 擬似要素（::after）で、広がっては消える波紋を作る */
.p-area__map-link::after {
  content: "";
  position: absolute;
  inset: 0; /* 四方0px、つまり親（リンクエリア）と同じサイズからスタート */
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7); /* 波紋の色 */
  
  /* アニメーションを指定: 2秒かけてパルス、無限ループ、なめらか */
  animation: areaLinkPulse 2s infinite ease-out;
  
  pointer-events: none; /* 波紋自体はクリック判定に影響させない */
}

/* --------------------------------------------------------------------------
   Animation Keyframes (エリアマップリンクのパルスアニメーション)
   -------------------------------------------------------------------------- */
@keyframes areaLinkPulse {
  0% {
    transform: scale(1); /* 元の大きさ */
    opacity: 1;         /* 完全に表示 */
  }
  100% {
    transform: scale(2.2); /* 2.2倍の大きさに広がる */
    opacity: 0;           /* 完全に消える */
  }
}

.p-area__map-link--takachiho { top: 14%; left: 55.6%; width: 7.5%; aspect-ratio: 86/85; }
.p-area__map-link--nobeoka { top: 21.5%; left: 71.5%; width: 9%; aspect-ratio: 107/103; }
.p-area__map-link--saito { top: 48.5%; left: 53.5%; width: 7.5%; aspect-ratio: 88/80; }
.p-area__map-link--kitakirishima { top: 53%; left: 33.5%; width: 9.5%; aspect-ratio: 1/1; }

.p-area__cards {
  position: relative;
  width: 32%; 
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px; 
  margin-top: 40px;
}

.p-area-card--kushima {
  grid-column: 2;
}

.p-area-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #333333;
}

.p-area-card__thumb {
  position: relative;
  aspect-ratio: 204/136;
  border-radius: 4px;
  margin-bottom: 16px;
  overflow: hidden;
  line-height: 0;
}

.p-area-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

a.p-area-card:hover .p-area-card__thumb img {
  transform: scale(1.05);
}

.p-area-card__arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: translateY(-50%) rotate(45deg);
}

.p-area-card__info {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
}

.p-area-card__badge {
  position: absolute;
  top: -48px; 
  left: -16px; 
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.p-area-card__badge-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.p-area-card__badge-sub {
  font-size: 14px;
  font-weight: 700;
}

.p-area-card__lead {
  margin: 0 0 0 80px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.p-area-card--takachiho .p-area-card__badge { background-color: var(--takachiho); }
.p-area-card--nobeoka .p-area-card__badge { background-color: var(--nobeoka); }
.p-area-card--saito .p-area-card__badge { background-color: var(--saito); }
.p-area-card--kitakirishima .p-area-card__badge { background-color: var(--kitakirishima); }
.p-area-card--kushima .p-area-card__badge { background-color: var(--kushima); }

.p-area__facilities {
  position: absolute;
  bottom: 40px; 
  left: 50%; 
  padding: 24px 32px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  transform: translateX(-50%);
  box-sizing: border-box; 
}

.p-area__facilities-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: -40px 0 24px;
  font-size: clamp(18px, 2vw, 24px); 
  font-weight: 700;
  color: #333333;
  white-space: nowrap;
  background-color: #b6d9db;
}

.p-area__facilities-list {
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 12px 24px; 
  justify-content: center; 
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-area__facilities-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #333333;
}

.p-area__facilities-item .num {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  border-radius: 50%;
  color: #ffffff;
}

.p-area__facilities-item .num--blue { background-color: #5782D9; }
.p-area__facilities-item .num--red { background-color: #EB6A47; }

/* 150%（1.5倍）表示の時だけに適用する場合 */
@media screen and (-webkit-device-pixel-ratio: 1.5), (resolution: 1.5dppx) {
  /* ここに150%表示時のクリッカブルエリアの調整を書く */
  .p-area__map-link--takachiho {
    top: 11.5%;
  }
  
  .p-area__map-link--nobeoka {
    top: 17.5%;
  }
  
  .p-area__map-link--saito {
    top: 39%;
  }

  .p-area__map-link--kitakirishima {
    top: 43.5%;
  }

  .p-area__cards {
    margin-bottom: 32px;
  }

  .p-area-card__lead br {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Other Contents Section (探す、モデルコース、特集)
   -------------------------------------------------------------------------- */
.p-others {
  position: relative;
  padding: 340px 0 17% 0;
  background-color: #a9c79b;
}

.p-others__wave {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 10;
  background-color: #fff;
}

.p-others__wave img {
  width: 100%;
  height: auto;
  display: block;
}

.p-others__wave--top {
  top: -1px;
}

.p-other-block {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 104px;
}

.p-other-block:last-child {
  margin-bottom: 0;
}

.p-other-block--reverse {
  flex-direction: row-reverse;
}

.p-other-block__image {
  width: 50%;
  margin: 0;
}

.p-other-block__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.p-other-block__content {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.p-other-block__illust {
  margin: 0 0 24px;
  height: 240px; 
}

.p-other-block__illust img {
  height: 100%;
  width: auto;
}

.p-other-block__action {
  margin-top: 32px;
}

/* --------------------------------------------------------------------------
   Banner Section (関連リンク)
   -------------------------------------------------------------------------- */
.p-banner__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 0 40px;
  font-size: clamp(20px, 4vw, 24px); 
  font-weight: 700;
  color: var(--color-nav-text);
}

.p-banner__title::before,
.p-banner__title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--color-nav-text);
}

.p-banner__list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-banner__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc((100% - 48px) / 3);
  border: 1px solid #e6e6e6; 
}

.p-banner__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100px;
  padding: 16px;
  text-decoration: none;
  background-color: transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-banner__link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.p-banner__link img {
  max-width: 100%;
  height: auto;
  max-height: 80px; 
}

.p-banner__link--bg3 {
  background-color: #f4f2de;
}

.p-banner__link--bg4 {
  background-color: #5a189a;
}

/* --------------------------------------------------------------------------
   Footer Section
   -------------------------------------------------------------------------- */
.l-footer {
  background-color: #f87a05;
  color: #ffffff;
  padding: 80px 0 24px; 
  text-align: center;
}

.p-footer__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 0 32px;
  font-size: 20px;
  font-weight: 700;
}

.p-footer__title::before,
.p-footer__title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: #ffffff;
}

.p-footer__contact {
  margin: 0 0 48px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.p-footer__contact p {
  margin: 0;
}

.p-footer__contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.p-footer__tel {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}

.p-footer__mail {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.p-footer__mail:hover {
  opacity: 0.7;
}

.p-footer__btns {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 0 0 64px;
}

.p-footer__copy {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em; 
}


/* ==========================================================================
   Media Queries (タブレット用：1024px以下)
   ========================================================================== */
@media screen and (max-width: 1024px) {
  /* --- Navigation --- */
  .c-hamburger { display: block; }
  
  .p-global-nav {
    position: static;
    background-color: transparent;
    pointer-events: none;
  }
  
  .p-global-nav.is-stuck {
    box-shadow: none;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  
  .p-global-nav__inner { padding: 0; }
  .p-global-nav__logo { display: none; }

  .p-global-nav__menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .p-global-nav__menu.is-open { opacity: 1; visibility: visible; }
  .p-global-nav__list { flex-direction: column; width: 80%; margin: 0; }
  .p-global-nav__item { flex: none; width: 100%; }

  .p-global-nav__item:not(:last-child)::after {
    top: auto;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background-image: linear-gradient(to right, var(--color-nav-text) 50%, transparent 50%);
  }

  .p-global-nav__link {
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
    padding: 24px;
    font-size: 16px;
  }
  
  .c-hamburger { pointer-events: auto; }

  /* --- Area Section --- */
  .p-area.l-section {
    padding-bottom: 60px;
    margin-bottom: 0;
  }

  .p-area__body {
    height: auto;
    padding: 40px 20px;
    overflow: visible;
  }

  .p-area__inner {
    flex-direction: column;
    gap: 60px;
    padding: 0; 
  }

  .p-area__cards {
    position: relative; 
    top: auto;
    right: auto;
    margin-top: 0;
    width: 100%; 
    order: 1; 
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
  }

  .p-area-card--kushima {
    grid-column: auto;
  }

  .p-area__map {
    width: 100%; 
    order: 2; 
    max-width: 600px;
    margin: 0 auto;
  }

  .p-area__facilities {
    position: relative; 
    bottom: auto;
    left: auto;
    transform: none;
    order: 3; 
    width: 100%;
    padding: 32px 20px 24px;
    box-sizing: border-box;
  }

  .p-area__facilities-title {
    margin: -48px 0 24px;
    font-size: 18px;
    white-space: normal;
    text-align: center;
  }

  .p-area__facilities-list {
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: auto;
    grid-auto-flow: row;
    gap: 16px;
  }

  /* --- Banner Section --- */
  .p-banner__item {
    width: calc((100% - 24px) / 2); /* タブレット時は2カラム */
  }
}

/* ==========================================================================
   Media Queries (スマホ用：767px以下)
   ========================================================================== */
@media screen and (max-width: 767px) {
  .l-section {
    padding: 60px 0;
  }

  /* --- About Section --- */
  .p-about__container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .p-about__image {
    text-align: center;
  }

  /* --- Hero Section --- */
  .splide__arrow--prev {
    left: 16px;
  }
  .splide__arrow--next {
    right: 16px;
  }

  .p-hero__pagination {
    bottom: 50px; 
  }

  /* --- Area Section --- */

  .p-area__cards {
    grid-template-columns: 1fr;
  }

  .p-area__map-link {
    transform: translate(-50%, -50%) scale(0.6);
  }

  .p-area__facilities-list {
    grid-template-columns: 1fr; 
  }

  .p-area-card__lead br {
    display: none;
  }

  /* --- Other Contents Section --- */
  .p-others {
    padding: 120px 0 12% 0; 
  }

  .p-other-block,
  .p-other-block--reverse {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 64px;
  }

  .p-other-block__image,
  .p-other-block__content {
    width: 100%;
  }
  
  .p-other-block__illust {
    height: 100px; 
  }

  /* --- Banner Section --- */
  .p-banner__item {
    width: 100%; /* スマホ時は1カラム */
  }

  /* --- Footer Section --- */
  .l-footer {
    padding: 60px 0 24px;
  }

  .p-footer__contact-info {
    flex-direction: column; 
    gap: 8px;
  }

  .p-footer__tel {
    pointer-events: auto;
    text-decoration: underline;
  }

  .p-footer__btns {
    flex-direction: column; 
    align-items: center;
    gap: 16px;
  }

  .p-footer__btns .c-btn-outline {
    width: 100%;
    max-width: 320px; 
  }
}