@charset "UTF-8";

/* =========================================================
   施設詳細ページ（フリースクール / NOAVIA）固有スタイル
   facility-detail.html / 共通パーツの一部（.btn / .section-head）は再利用。
   ヘッダー・フッター・CTA はこの施設専用デザイン（Figma 783-362 準拠）。

   ▼ 配色（Figma variables より）
   NOAVIAブルー #00AEEF（主役）/ NOAVIAライム #BFF33A（CTA背景）
   NOAVIAイエロー #FFD93D（タグ）/ ディープネイビー #0A2540 / 背景2 #F1FBFF
   page-hero は使わない（独自ヒーロー）ため共通の object-position は無関係。
   ========================================================= */

/* このページ限定でトークンを上書き（facility-detail.css のみで読み込まれる）。
   body に置くことでヘッダー/本文/フッターすべてに適用。common.css は無変更。 */
.facility-page {
  --fd-blue: #00aeef;
  --fd-lime: #bff33a;
  --fd-yellow: #ffd93d;
  --fd-navy: #0a2540;
  --fd-soft: #f1fbff;
  --fd-step-bg: #fcf7b5;

  /* 共通パーツ（.btn / .section-head）がブルーになるよう primary を上書き */
  --color-primary: var(--fd-blue);
  /* ボタン用ブルーグラデ（Figma: 90deg #21bcf7 → #0088bb） */
  --gradient-primary: linear-gradient(90deg, #21bcf7 0%, #0088bb 100%);
}
.facility-page {
  background: var(--color-white);
}

/* このページの primary ボタンはブルーのグラデ＋影（Figma 準拠）
   border-box 指定で 2px 透明ボーダーにもグラデを連続させ、端の色スジを防ぐ。
   テキストは nowrap で折り返さない。 */
.facility-page .btn {
  white-space: nowrap;
}
.facility-page .btn--primary {
  background: var(--gradient-primary) border-box;
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   施設専用ヘッダー（上段：施設名＋連絡 / 下段：ローカルナビ）
   ========================================================= */
.fd-header {
  background: var(--color-white);
}
.fd-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 60px;
}
.fd-header__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  /* min-width:0 が無いと flex アイテムが中身の幅より縮まず、
     長い施設名でページ全体に横スクロールが出る。 */
  min-width: 0;
}
.fd-header__cat {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
  /* 折り返さないのは短いカテゴリ名だけ。施設名には掛けない。 */
  white-space: nowrap;
}
.fd-header__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  overflow-wrap: anywhere;
}
.fd-header__contact {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.fd-header__tel-label {
  padding: 5px 12px;
  border: 1px solid var(--fd-blue);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--fd-blue);
  white-space: nowrap;
}
.fd-header__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--fd-navy);
  white-space: nowrap;
}
.fd-header__tel svg {
  color: var(--fd-blue);
}
.fd-header__btn {
  white-space: nowrap;
}

/* ローカルナビ（ページ内アンカー・スティッキー） */
.fd-localnav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--color-white);
  border-top: 1px solid #f4f4f4;
  border-bottom: 1px solid #f4f4f4;
}
.fd-localnav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 40px;
  padding: 15px 60px;
}
.fd-localnav__list a {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text);
}
.fd-localnav__list a:hover {
  color: var(--fd-blue);
}

/* =========================================================
   施設ヒーロー（左：テキスト / 右：画像フルブリード）
   ========================================================= */
.fd-hero {
  position: relative;
  background: var(--fd-soft);
  overflow: hidden;
}
.fd-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
  align-items: stretch;
  min-height: 450px;
}
.fd-hero__body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 50px 40px 50px 60px;
}
.fd-hero__tag {
  align-self: flex-start;
  padding: 4px 18px;
  border-radius: 8px;
  background: var(--fd-yellow);
  color: var(--fd-navy);
  font-weight: 700;
  font-size: 14px;
}
.fd-hero__name {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.3;
  color: var(--fd-navy);
}
.fd-hero__catch {
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.7;
  color: var(--fd-navy);
}
.fd-hero__contact {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.fd-hero__tel-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fd-hero__tel-label {
  align-self: flex-start;
  padding: 3px 12px;
  border: 1px solid var(--fd-blue);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--fd-blue);
}
.fd-hero__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--fd-navy);
}
.fd-hero__tel svg {
  color: var(--fd-blue);
}
.fd-hero__media {
  overflow: hidden;
}
.fd-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 装飾シェイプ（.fd-hero__body を基準に配置・テキストの背面） */
.fd-hero__deco {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.fd-hero__deco--tl {
  top: 0;
  right: 12px;
  width: 202px;
  height: 112px;
  background: url("../images/fd-hero__deco--tl.png") no-repeat center / contain;
}
.fd-hero__deco--bl {
  bottom: 0;
  left: 19px;
  width: 150px;
  height: 57.2px;
  background: url("../images/fd-hero__deco--bl.png") no-repeat center / contain;
}

/* =========================================================
   セクション帯（全幅・中身は --content 中央寄せ）
   ========================================================= */
.fd-section {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
}
/* 流れセクションの背景（Figma 準拠の専用背景画像） */
.fd-section--dots {
  background-color: var(--color-white);
  background-image: url("../images/fd-flow-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* コンテンツは装飾の上に */
.fd-section__inner {
  position: relative;
  z-index: 1;
}

/* ---------- セクション装飾（ライム四角 + ドットグリッド）あしらい ---------- */
.fd-deco {
  position: absolute;
  z-index: 0;
  width: 160px;
  height: 110px;
  pointer-events: none;
}
.fd-deco--tr {
  top: 24px;
  right: 0;
}
.fd-deco--bl {
  bottom: 24px;
  left: 0;
}
.fd-deco__square {
  position: absolute;
  width: 66px;
  height: 66px;
  background: var(--fd-lime);
}
.fd-deco__dots {
  position: absolute;
  width: 96px;
  height: 78px;
  background-image: radial-gradient(#c9c9c9 2px, transparent 2.4px);
  background-size: 18px 18px;
}
.fd-deco--tr .fd-deco__square {
  top: 0;
  right: 0;
}
.fd-deco--tr .fd-deco__dots {
  bottom: 0;
  right: 56px;
}
.fd-deco--bl .fd-deco__square {
  bottom: 0;
  left: 0;
}
.fd-deco--bl .fd-deco__dots {
  top: 0;
  left: 56px;
}

/* soft セクション（faq / info）の四隅あしらいは専用画像に差し替え（Figma：144px）
   ※ movie セクションは別あしらい（斜めバー）のため除外 */
.fd-section--soft:not(.fd-section--movie) .fd-deco {
  width: 144px;
  height: 144px;
  background-repeat: no-repeat;
  background-size: contain;
}
.fd-section--soft:not(.fd-section--movie) .fd-deco--tr {
  background-image: url("../images/fd-deco--tr.png");
  background-position: top right;
}
.fd-section--soft:not(.fd-section--movie) .fd-deco--bl {
  background-image: url("../images/fd-deco--bl.png");
  background-position: bottom left;
}
.fd-section--soft:not(.fd-section--movie) .fd-deco__square,
.fd-section--soft:not(.fd-section--movie) .fd-deco__dots {
  display: none;
}

/* 斜めバー3本のあしらい（Movie セクション用：ブルー/ライム/イエロー枠） */
.fd-deco__bars {
  position: absolute;
  display: flex;
  gap: 7px;
}
.fd-deco__bars i {
  display: block;
  width: 11px;
  height: 52px;
  transform: skewX(-20deg);
}
.fd-deco__bars i.is-blue {
  background: var(--fd-blue);
}
.fd-deco__bars i.is-lime {
  background: var(--fd-lime);
}
.fd-deco__bars i.is-yellow {
  background: transparent;
  border: 2px solid var(--fd-yellow);
}
.fd-section--movie .fd-deco--tr .fd-deco__bars {
  top: 0;
  right: 6px;
}
.fd-section--movie .fd-deco--tr .fd-deco__dots {
  bottom: 0;
  right: 70px;
}
.fd-section--movie .fd-deco--bl .fd-deco__bars {
  bottom: 0;
  left: 6px;
}
.fd-section--movie .fd-deco--bl .fd-deco__dots {
  top: 0;
  left: 70px;
}

/* Movie セクションの四隅あしらいは専用画像に差し替え（Figma：tr 215px / bl 185px） */
.fd-section--movie .fd-deco--tr {
  width: 215px;
  height: 131px;
  background-image: url("../images/fd-movie-deco--tr.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top right;
}
.fd-section--movie .fd-deco--bl {
  width: 185px;
  height: 95px;
  background-image: url("../images/fd-movie-deco--bl.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom left;
}
.fd-section--movie .fd-deco__bars,
.fd-section--movie .fd-deco__dots {
  display: none;
}

.fd-section--soft {
  background: var(--fd-soft);
}
.fd-section--gray {
  background: #f4f4f4;
}
.fd-section__inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  /* Figma 準拠：施設詳細の本文コンテンツ幅は 700px（共通 l-content の 1000px を上書き） */
  max-width: 700px;
  margin-inline: auto;
}
/* section-head（共通）の英字ラベルはこのページではブルー（primary 連動済み） */

/* =========================================================
   施設の特徴（Features）
   ========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  /* 既定の stretch だと、画像なしのカードが隣の画像ありカードの高さまで
     引き伸ばされて下に大きな余白ができる。中身なりの高さにする。 */
  align-items: start;
}
.feature-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.feature-card__media {
  height: 200px;
}
.feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}
.feature-card__title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  color: var(--fd-navy);     /* タイトルはダークネイビー（Figma 準拠） */
}
.feature-card__text {
  font-size: 14px;
  line-height: 1.57;
  color: var(--color-text);
}

/* =========================================================
   施設風景動画（Movie）
   ========================================================= */
.movie__player {
  position: relative;
  width: 100%;
  aspect-ratio: 700 / 394;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.movie__player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.movie__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 62px;
  border-radius: 16px;
  background: #ff0000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.movie__play::after {
  content: "";
  margin-left: 4px;
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #fff;
}

/* =========================================================
   利用者の声（Voice）
   ========================================================= */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
/* カードごとにテーマ色（1枚目=イエロー / 2枚目=ライム）。--vc を差し替えて使う */
.voice-card {
  --vc: var(--fd-yellow);
  --vc-soft: #fff6d6;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 20px 20px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  border-top: 4px solid var(--vc);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.voice-card--lime {
  --vc: var(--fd-lime);
  --vc-soft: #eef9cf;
}
.voice-card__head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e6e6e6;
}
.voice-card__avatar {
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--vc-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vc);
}
.voice-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.voice-card__name {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
}
.voice-card__attr {
  padding: 1px 14px;
  border-radius: var(--radius-pill);
  background: var(--vc);
  color: var(--fd-navy);
  font-size: 13px;
  font-weight: 700;
}
.voice-card__text {
  font-size: 14px;
  line-height: 1.71;
  color: var(--color-text);
}
.voice-card__text strong {
  font-weight: 700;
}

/* =========================================================
   施設専用CTA（ライム背景・単一ブルーボタン）×3 で共用
   ========================================================= */
.fd-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 281px;
  padding: 50px 20px;
  text-align: center;
  background: var(--fd-lime);
  overflow: hidden;
}
/* ライム地に低ポリ幾何テクスチャを乗算（Figma 準拠の背景画像） */
.fd-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.fd-cta__title,
.fd-cta__text,
.fd-cta__btn {
  position: relative;
  z-index: 1;
}
.fd-cta__title {
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1.6;
  color: var(--fd-navy);
}
.fd-cta__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fd-navy);
}
.fd-cta__btn {
  width: 248px;
}
/* ボタン横並び（最後のCTAは2ボタン） */
.fd-cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
/* アウトライン（白地・青枠・グラデ文字）＝「LINEで相談する」 */
.fd-cta__btn--line {
  width: 248px;
  background: var(--color-white);
  border: 2px solid var(--fd-blue);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.fd-cta__btn--line span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 電話番号の白カード（最後のCTAのみ）＋四隅の装飾あしらい */
.fd-cta__phone {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 6px;
  height: 122px;
  padding: 0 50px;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.fd-cta__phone::before,
.fd-cta__phone::after {
  content: "";
  position: absolute;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}
.fd-cta__phone::before {
  top: 0;
  left: 11px;
  width: 86px;
  height: 78px;
  background-image: url(../images/fd-cta__phone-before.png);
}
.fd-cta__phone::after {
  bottom: 0;
  right: 6px;
  width: 93px;
  height: 54.4px;
  background-image: url(../images/fd-cta__phone-after.png);
}
.fd-cta__phone-label {
  position: relative;
  z-index: 1;
  color: var(--fd-blue);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.fd-cta__phone-sep {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 1px;
  height: 62px;
  background: url(../images/fd-cta__phone-sep.svg) no-repeat center / contain;
}
.fd-cta__phone-num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fd-blue);
  font-weight: 700;
  font-size: 24px;
  white-space: nowrap;
}

/* =========================================================
   ご利用の流れ（Flow）
   ========================================================= */
.flow {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.flow::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 27px;
  width: 4px;
  background: var(--fd-blue);
  border-radius: 2px;
}
.flow-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.flow-step__badge {
  position: relative;
  z-index: 1;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--fd-blue);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}
.flow-step__badge small {
  font-size: 11px;
  font-weight: 700;
}
.flow-step__badge b {
  font-size: 22px;
}
.flow-step__box {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px;
  background: var(--fd-step-bg);
  border-radius: 10px;
}
.flow-step__title {
  font-weight: 700;
  font-size: 16px;
  color: var(--fd-navy);
}
.flow-step__text {
  font-size: 14px;
  line-height: 1.57;
  color: var(--color-text);
}

/* =========================================================
   よくある質問（FAQ）— <details> アコーディオン
   ========================================================= */
.faq {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* 各QAは白い角丸カード（Figma 準拠） */
.faq__item {
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.faq__q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker {
  display: none;
}
.faq__q::before {
  content: "Q";
  flex: 0 0 auto;
  color: var(--fd-lime);
  font-size: 18px;
}
.faq__q::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-muted);
  border-bottom: 2px solid var(--color-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq__item[open] .faq__q::after {
  transform: rotate(-135deg);
}
.faq__a {
  display: flex;
  gap: 16px;
  padding: 0 20px 22px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
}
.faq__a::before {
  content: "A";
  flex: 0 0 auto;
  color: #ffd93d;
  font-weight: 700;
  font-size: 18px;
}

/* =========================================================
   お知らせ（News）
   ========================================================= */
.fd-news {
  display: flex;
  flex-direction: column;
}
.fd-news__item {
  display: flex;
  gap: 30px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}
.fd-news__date {
  flex: 0 0 auto;
  font-size: 14px;
  color: var(--color-text);
}
.fd-news__title {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text);
}

/* =========================================================
   施設情報（Facility Information）
   ========================================================= */
.info-table {
  display: flex;
  flex-direction: column;
}
.info-table__row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #dfeef2;
}
.info-table__row:first-child {
  border-top: 1px solid #dfeef2;
}
.info-table__th {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text);
}
.info-table__td {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
}
.info-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.info-gallery__item {
  aspect-ratio: 220 / 165;
  border-radius: 0;
  overflow: hidden;
}
.info-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.info-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.info-map__canvas {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-card);
  background:
    repeating-linear-gradient(45deg, #e4f4fa, #e4f4fa 12px, #d8eef6 12px, #d8eef6 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--fd-blue);
  font-weight: 700;
  font-size: 14px;
}
.info-map .btn {
  width: 280px;
}

/* =========================================================
   フローティング：公式LINE / 資料請求（右端固定）
   ========================================================= */
.fd-floating {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 120px;
}
.fd-floating__line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  background: #06c755;
  color: var(--color-white);
  border-radius: 10px 0 0 0;
  font-weight: 700;
  font-size: 12px;
  text-align: center;
}
.fd-floating__line-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--color-white);
  color: #06c755;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}
.fd-floating__doc {
  padding: 14px 6px;
  background: var(--fd-blue);
  color: var(--color-white);
  border-radius: 0 0 0 10px;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
}

/* =========================================================
   施設専用フッター（ダークネイビー・中央寄せ）
   ========================================================= */
.fd-footer {
  background: var(--color-footer-bg);
  color: var(--color-white);
  padding: 50px 20px;
}
.fd-footer__inner {
  max-width: var(--content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.fd-footer__name {
  font-weight: 700;
  font-size: 24px;
}
.fd-footer__addr {
  font-size: 14px;
  line-height: 1.57;
}
.fd-footer__line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  border: 0;
  margin: 10px 0 0;
}
.fd-footer__copy {
  font-size: 12px;
}

/* =========================================================
   レスポンシブ（768px）
   ========================================================= */
@media (max-width: 768px) {
  .fd-section {
    padding: 48px 0;
  }

  /* ヘッダー：縦積み */
  .fd-header__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
  }
  .fd-header__contact {
    width: 100%;
    justify-content: flex-start;
  }
  .fd-localnav__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 24px;
    padding: 14px 20px;
  }
  .fd-localnav__list a {
    white-space: nowrap;
  }

  /* ヒーロー：画像上＋テキスト下 */
  .fd-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .fd-hero__media {
    order: -1;
    height: 240px;
  }
  .fd-hero__body {
    padding: 30px 20px;
  }
  .fd-hero__deco {
    display: none;
  }

  /* 特徴・声：1列 */
  .feature-grid,
  .voice-grid {
    grid-template-columns: 1fr;
  }

  /* 装飾あしらいは SP では非表示（はみ出し防止） */
  .fd-deco {
    display: none;
  }

  /* CTA：ボタンは縦積み全幅、電話カードも縦積み */
  .fd-cta__actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .fd-cta__btn,
  .fd-cta__btn--line {
    width: 100%;
    max-width: 320px;
  }
  .fd-cta__phone {
    flex-direction: column;
    gap: 12px;
    height: auto;
    padding: 20px 24px;
    width: 100%;
    max-width: 360px;
  }
  .fd-cta__phone-sep {
    width: 60px;
    height: 1px;
    background: none;
    border-top: 1px dashed var(--fd-blue);
  }

  /* 施設情報テーブル：ラベル上・値下 */
  .info-table__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .info-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .info-map .btn {
    width: 100%;
    max-width: 320px;
  }

  /* フローティング省スペース */
  .fd-floating {
    width: 92px;
  }

  /* お知らせ縦積み */
  .fd-news__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
