@charset "UTF-8";
/* ============================================================
   就労継続支援B型 一歩（いっぽ）／株式会社ゴッコワークス
   style.css
   ------------------------------------------------------------
   デザイン方針：
     Bloowa 40%  … やわらかい余白・円形写真・水彩ブロブ・
                    日本語大見出し＋英字サブ・一部だけ色を変えるキャッチ
     inknot 30%  … ドット地・白いブロブ・縦書き見出し・
                    色ドットの箇条書き・右端の縦書き固定ボタン・手書き風コピー
     TOMORU 20%  … ヘッダーの帯＋ロゴタイル・ヒーロー直下の3分割ボタン・
                    大きな英字セクションタイトル・点線区切りのお知らせ
   配色はロゴ（コーラル／イエロー／ティール／セージ）に準拠
   ============================================================ */

/* ============================================================
   1. 変数
   ============================================================ */
:root {
  /* ブランドカラー（ロゴより） */
  --c-coral:      #ef9289;
  --c-coral-deep: #e2776c;
  --c-yellow:     #f7c359;
  --c-teal:       #3d8b93;
  --c-sage:       #96c4a4;

  /* ベース（文字色は読みやすさを優先して濃いめ） */
  --c-text:   #33291f;
  --c-muted:  #5f5347;
  --c-bg:     #ffffff;
  --c-cream:  #fdf7f0;
  --c-cream2: #faf0e4;
  --c-border: #ece2d8;

  --font-base: "Klee One", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --width-max: 1200px;
  --space: 24px;
  --header-h: 84px;
}

/* ============================================================
   2. ベース
   ============================================================ */
* { box-sizing: border-box; }

/* 文字の基準サイズ。ここを変えるとページ全体の文字が一律で拡大・縮小します
   （16px ≒ 12pt → 20px ≒ 15pt。3ポイントぶん大きくしています） */
html { font-size: 20px; }

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--c-text);
  /* inknot 由来：うっすらとしたドット地 */
  background-color: var(--c-cream);
  background-image: radial-gradient(var(--c-cream2) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
}

img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: var(--c-teal); }

/* ------------------------------------------------------------
   日本語の折り返し
   ・auto-phrase … 文節（意味のかたまり）の切れ目で改行する
   ・strict      … 「っ」「ー」「、」などが行頭・行末に来ないようにする
   ・balance     … 見出しや短い文の行の長さをそろえる（1行だけ極端に短い、を防ぐ）
   ・pretty      … 本文の最終行が1〜2文字だけ残るのを防ぐ
   ※ auto-phrase / balance / pretty に未対応のブラウザでは、
     従来どおりの折り返しになるだけで表示は崩れません
   ------------------------------------------------------------ */
body {
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}

h1, h2, h3,
.hero-lead,
.section-lead,
.card h3, .card p,
.value-list p,
.balloon-list li,
.hero-badges li,
.tag-list li,
.photo-duo figcaption,
.faq .q,
.steps strong,
.flow .body strong {
  text-wrap: balance;
}

p, .faq .a, .steps li, .flow .body, .table-basic td, .news-list li {
  text-wrap: pretty;
}

/* Klee One は線が細めなので、見出しは太字（600）でしっかり見せる */
h1, h2, h3 { line-height: 1.5; font-weight: 600; }
strong, th, label, .btn, .header-cta { font-weight: 600; }

.container {
  width: 100%;
  max-width: var(--width-max);
  margin-inline: auto;
  padding-inline: var(--space);
}
.text-center { text-align: center; }

html { scroll-behavior: smooth; }
main [id] { scroll-margin-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ============================================================
   3. ヘッダー（TOMORU：帯＋ロゴタイル）
   ============================================================ */
.site-header {
  background: rgba(255, 255, 255, .96);
  border-bottom: 2px solid var(--c-coral);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.site-logo { margin: 0; font-size: 1rem; font-weight: bold; }
.site-logo a {
  text-decoration: none;
  color: var(--c-text);
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-logo img { width: 58px; height: 58px; border-radius: 50%; }
.logo-text { display: flex; flex-direction: column; line-height: 1.35; }
.logo-sub { font-size: 0.75rem; font-weight: normal; color: var(--c-muted); }

.header-right { display: flex; align-items: center; gap: 20px; }

.global-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.global-nav a {
  text-decoration: none;
  color: var(--c-text);
  padding: 6px 0;
  display: inline-block;
  font-size: 0.9rem;
  position: relative;
}
.global-nav a:hover { color: var(--c-coral-deep); }
/* inknot 由来：現在地は波線でマーク */
.global-nav a[aria-current]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 4px;
  background-image: radial-gradient(circle at 3px 4px, transparent 2.5px, var(--c-coral) 2.6px);
  background-size: 6px 6px;
  background-repeat: repeat-x;
}
.global-nav a[aria-current] { color: var(--c-coral-deep); }

/* ヘッダーのお問い合わせボタン */
.header-cta {
  display: inline-block;
  background: var(--c-coral);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 3px 0 var(--c-coral-deep);
}
.header-cta:hover { background: var(--c-coral-deep); box-shadow: 0 3px 0 #cc6459; }

.nav-toggle {
  display: none;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: #fff;
  color: var(--c-text);
  padding: 10px 18px;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
}

/* ============================================================
   4. 右端の固定ボタン（inknot）
   ============================================================ */
.side-cta {
  position: fixed;
  right: 0;
  top: 42%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.side-cta a {
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-decoration: none;
  color: #fff;
  padding: 20px 12px;
  border-radius: 10px 0 0 10px;
  font-size: 0.8rem;
  letter-spacing: .08em;
  box-shadow: -2px 2px 6px rgba(74, 61, 51, .15);
}
.side-cta .side-mail { background: var(--c-coral); }
.side-cta a:hover { opacity: .88; }

/* ============================================================
   5. ヒーロー（Bloowa：写真＋左寄せキャッチ＋パステル円）
   ============================================================ */
.hero {
  position: relative;
  background-image:
    linear-gradient(100deg,
      rgba(253, 247, 240, .96) 0%,
      rgba(253, 247, 240, .92) 34%,
      rgba(253, 247, 240, .55) 58%,
      rgba(253, 247, 240, .22) 100%),
    url("../img/hero.jpg");
  background-size: cover;
  background-position: center 42%;
  padding: 88px 0 0;
  overflow: hidden;
}
.hero-label {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--c-coral);
  border-radius: 999px;
  padding: 5px 22px;
  font-size: 0.9rem;
  color: var(--c-coral-deep);
  margin: 0 0 22px;
}
.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.125rem);
  margin: 0 0 24px;
  letter-spacing: .03em;
  line-height: 1.45;
}
/* Bloowa 由来：キャッチの一部だけブランドカラーに */
.hero h1 .accent { color: var(--c-coral); }
.hero-lead {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  max-width: 22em;
}
.hero-sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--c-muted);
}

/* ヒーロー下のパステル円バッジ */
.hero-badges {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 40px 0 0;
  padding: 0 0 56px;
  flex-wrap: wrap;
}
.hero-badges li {
  /* 文字サイズに追随するよう rem 指定にしています */
  width: 8.9rem;
  height: 8.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  padding: 12px;
  color: var(--c-text);
}
.hero-badges li:nth-child(1) { background: rgba(239, 146, 137, .30); }
.hero-badges li:nth-child(2) { background: rgba(247, 195, 89, .32); }
.hero-badges li:nth-child(3) { background: rgba(150, 196, 164, .34); }

/* ヒーロー直下の3分割ボタン（TOMORU） */
.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid #fff;
}
.hero-actions a {
  background: var(--c-coral);
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 22px 12px;
  font-size: 1rem;
  border-right: 2px solid #fff;
}
.hero-actions a:last-child { border-right: none; }
.hero-actions a:nth-child(2) { background: var(--c-yellow); color: var(--c-text); }
.hero-actions a:nth-child(3) { background: var(--c-teal); }
.hero-actions a:hover { filter: brightness(1.06); }

/* ============================================================
   6. セクション
   ============================================================ */
.section { padding: 84px 0; }
.section--white { background: #fff; }
.section--cream { background: var(--c-cream2); }

/* セクション見出し（Bloowa：日本語大見出し＋−ENGLISH−） */
.section-title {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  margin: 0 0 6px;
  text-align: center;
  letter-spacing: .06em;
}
.section-title .en {
  display: block;
  font-size: 0.75rem;
  letter-spacing: .22em;
  color: var(--c-coral);
  margin-top: 6px;
  font-weight: normal;
}
.section-lead {
  color: var(--c-muted);
  margin: 20px 0 44px;
  text-align: center;
  font-size: 1rem;
}
.section-title + .section-lead { margin-top: 16px; }

/* 大きな英字タイトル（TOMORU） */
.title-en-big {
  text-align: center;
  font-size: clamp(1.75rem, 6vw, 3.25rem);
  letter-spacing: .06em;
  color: var(--c-coral);
  margin: 0 0 4px;
  font-weight: normal;
}

/* 小見出し */
.subsection-title {
  font-size: 1.1875rem;
  margin: 56px 0 20px;
  padding-left: 14px;
  border-left: 5px solid var(--c-coral);
  border-radius: 2px;
}

/* 手書き風の一言（inknot） */
.handwrite {
  display: inline-block;
  transform: rotate(-2.2deg);
  color: var(--c-coral-deep);
  font-size: 1rem;
}

/* ============================================================
   7. ボタン
   ============================================================ */
.btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--c-coral);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 1rem;
  box-shadow: 0 4px 0 var(--c-coral-deep);
  transition: transform .12s ease;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--c-coral-deep); }
.btn--outline {
  background: #fff;
  color: var(--c-text);
  border: 2px solid var(--c-coral);
  box-shadow: 0 4px 0 rgba(239, 146, 137, .35);
}
.btn--outline:hover { box-shadow: 0 2px 0 rgba(239, 146, 137, .35); }

/* ============================================================
   8. カード
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
/* 4枚を必ず横一列に並べる（施設のご紹介） */
.card-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 22px;
  padding: 26px 20px;
  text-align: center;
}
.card h3 { margin: 0 0 10px; font-size: 1.0625rem; }
.card p  { margin: 0; font-size: 1rem; color: var(--c-muted); }
.card .label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: .14em;
  color: var(--c-coral);
  margin-bottom: 4px;
}

/* 写真の枠。円形にすると四隅が切れて被写体が分かりにくくなるため、
   角丸の四角にしています（丸くしたい場合は border-radius を 50% に） */
.card .thumb {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--c-cream2);
  display: grid;
  place-items: center;
  color: #c4b3a3;
  font-size: 1rem;
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* QRコードなど、丸く切り抜けないものは正方形のまま置く */
.card .thumb--square {
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--c-border);
  padding: 8px;
}
.card .thumb--square img { object-fit: contain; }

/* ふきだし（お悩み） */
.balloon-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
}
.balloon-list li {
  position: relative;
  background: #fff;
  border: 2px solid var(--c-coral);
  border-radius: 22px;
  padding: 26px 20px;
  text-align: center;
  font-size: 1.0625rem;
}
.balloon-list li::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--c-coral);
}

/* ============================================================
   9. 水彩ブロブ（Bloowa：大切にしていること）
   ============================================================ */
.value-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
}
/* にじんだ円（水彩のような背景）を li そのものに敷く */
.value-list li {
  padding: 48px 20px;
  text-align: center;
  border-radius: 48% 52% 44% 56% / 52% 44% 56% 48%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  aspect-ratio: 1 / 1;
  max-width: 340px;
  margin-inline: auto;
  width: 100%;
}
.value-list li:nth-child(1) { background: radial-gradient(circle at 42% 40%, rgba(239, 146, 137, .48), rgba(239, 146, 137, .08) 72%); }
.value-list li:nth-child(2) { background: radial-gradient(circle at 42% 40%, rgba(150, 196, 164, .50), rgba(150, 196, 164, .08) 72%); }
.value-list li:nth-child(3) { background: radial-gradient(circle at 42% 40%, rgba(247, 195, 89, .52), rgba(247, 195, 89, .08) 72%); }
.value-list h3 { margin: 0 0 4px; font-size: 1.25rem; }
.value-list .en {
  display: block;
  font-size: 0.75rem;
  letter-spacing: .16em;
  color: var(--c-muted);
  margin-bottom: 12px;
}
.value-list p { margin: 0; font-size: 1rem; }

/* ============================================================
   10. 白いブロブ＋縦書き見出し（inknot）
   ============================================================ */
.blob-block {
  position: relative;
  background: #fff;
  border-radius: 46% 54% 52% 48% / 22% 26% 24% 20%;
  padding: 64px 48px;
  margin-top: 32px;
}
.vertical-title {
  writing-mode: vertical-rl;
  font-size: 1.75rem;
  letter-spacing: .18em;
  margin: 0;
  padding-right: 14px;
  border-right: 5px solid var(--c-coral);
  height: max-content;
}

/* 色ドットの箇条書き（inknot） */
.dot-list { list-style: none; margin: 16px 0 0; padding: 0; }
.dot-list li {
  position: relative;
  padding-left: 22px;
  font-size: 1rem;
  line-height: 2;
}
.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .85em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--c-coral);
}
.dot-list li:nth-child(3n+2)::before { background: var(--c-sage); }
.dot-list li:nth-child(3n+3)::before { background: var(--c-yellow); }

/* ============================================================
   11. 写真2枚並び（いっぽ花草履）
   ============================================================ */
.hanazori-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}
.photo-duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.photo-duo figure { margin: 0; }
.photo-duo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}
.photo-duo figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--c-muted);
}

/* ============================================================
   12. タグ状リスト（対応作業など）
   ============================================================ */
.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.tag-list li {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 1rem;
}

/* ============================================================
   13. 一日の流れ／ステップ
   ============================================================ */
.flow { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.flow li {
  display: flex;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 2px dotted var(--c-border);
}
.flow li:last-child { border-bottom: none; }
.flow .time {
  flex: 0 0 6em;
  color: var(--c-coral-deep);
  font-weight: bold;
  font-size: 1.0625rem;
}
.flow .body { font-size: 1rem; color: var(--c-muted); }
.flow .body strong { display: block; color: var(--c-text); font-size: 1rem; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: 22px 26px 22px 72px;
  position: relative;
  font-size: 1rem;
  color: var(--c-muted);
}
.steps li::before {
  content: "0" counter(step);
  position: absolute;
  left: 22px; top: 20px;
  width: 34px; height: 34px;
  background: var(--c-coral);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
}
.steps strong { display: block; color: var(--c-text); font-size: 1rem; }

/* ============================================================
   14. 表
   ============================================================ */
.table-basic {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
}
.table-basic th, .table-basic td {
  border-bottom: 1px solid var(--c-border);
  padding: 20px 24px;
  text-align: left;
  vertical-align: top;
  font-size: 1rem;
}
.table-basic tr:last-child th,
.table-basic tr:last-child td { border-bottom: none; }
.table-basic th {
  width: 26%;
  color: var(--c-text);
  white-space: nowrap;
  background: var(--c-cream);
}

/* ============================================================
   15. FAQ
   ============================================================ */
.faq { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.faq li {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: 24px 28px;
  font-size: 1rem;
}
.faq .q { display: block; font-weight: bold; padding-left: 32px; position: relative; }
.faq .q::before {
  content: "Q";
  position: absolute;
  left: 0; top: 0;
  width: 24px; height: 24px;
  background: var(--c-coral);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
}
.faq .a { display: block; color: var(--c-muted); margin-top: 10px; padding-left: 32px; position: relative; }
.faq .a::before {
  content: "A";
  position: absolute;
  left: 0; top: 0;
  width: 24px; height: 24px;
  background: var(--c-teal);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

/* ============================================================
   16. お知らせ（TOMORU：日付左・点線区切り）
   ============================================================ */
.news-list { list-style: none; margin: 0 auto; padding: 0; max-width: 800px; }
.news-list li {
  display: flex;
  gap: 32px;
  padding: 20px 4px;
  border-bottom: 2px dotted var(--c-border);
  font-size: 1rem;
}
.news-list time { flex: 0 0 8em; color: var(--c-coral-deep); }

/* ============================================================
   17. 地図
   ============================================================ */
.map-embed {
  position: relative;
  aspect-ratio: 16 / 7;
  border-radius: 20px;
  overflow: hidden;
  background: var(--c-cream2);
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   18. CTA
   ============================================================ */
.cta {
  background: var(--c-coral);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.cta h2 { margin: 0 0 10px; font-size: 1.5rem; }
.cta p { margin: 0 0 24px; }
.cta-contact { font-size: 1.5rem; }
.cta-contact a { color: #fff; text-decoration: none; font-weight: bold; }
.cta .btn {
  background: #fff;
  color: var(--c-coral-deep);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .12);
}

/* ============================================================
   19. フッター
   ============================================================ */
.site-footer {
  background: #fff;
  border-top: 2px solid var(--c-coral);
  padding: 52px 0 24px;
  font-size: 1rem;
}
.site-footer .footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}
.site-footer .site-logo { margin-bottom: 12px; }
.footer-addr { margin: 0; color: var(--c-muted); line-height: 1.9; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer nav a { color: var(--c-text); text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.copyright { margin: 32px 0 0; color: var(--c-muted); font-size: 0.85rem; text-align: center; }
.sns { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.sns img { width: 88px; height: 88px; }

/* ============================================================
   20. フォーム
   ============================================================ */
.contact-form { background: #fff; border-radius: 24px; padding: 40px; }
.contact-form label { font-size: 1rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--c-cream);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--c-coral);
  background: #fff;
}
.contact-form button { border: none; cursor: pointer; font-family: inherit; }

/* 迷惑メール対策用の入力欄。画面には表示しない */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================================
   21. 汎用
   ============================================================ */
.note {
  background: #fffbe9;
  border: 1px dashed var(--c-yellow);
  padding: 14px 18px;
  font-size: 1rem;
  color: #8a7332;
  border-radius: 12px;
}
.lead-text { max-width: 34em; margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ============================================================
   22. レスポンシブ
   ============================================================ */
@media (max-width: 1080px) {
  .global-nav ul { gap: 14px; }
  .global-nav a { font-size: 1rem; }
  .header-cta { padding: 10px 18px; font-size: 1rem; }
}

/* ナビが横一列に収まらなくなる幅から、開閉式メニューに切り替える */
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }

  .global-nav {
    display: none;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: #fff;
    border-bottom: 2px solid var(--c-coral);
  }
  .global-nav.is-open { display: block; }
  .global-nav ul { flex-direction: column; gap: 0; padding: 8px var(--space) 20px; }
  .global-nav li { border-bottom: 1px solid var(--c-border); }
  .global-nav a { padding: 15px 0; width: 100%; font-size: 1rem; }
  .global-nav a[aria-current]::after { display: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 72px; }

  .side-cta { display: none; }

  /* スマホではヘッダーの文字を小さくして、2行に収める */
  .site-logo img { width: 42px; height: 42px; }
  .site-logo { font-size: 0.72rem; }
  .site-logo a { gap: 9px; }
  .logo-sub { font-size: 0.62rem; white-space: nowrap; }
  .nav-toggle { padding: 9px 14px; font-size: 0.8rem; }

  .hero { padding-top: 56px; background-position: center 30%; }
  .hero-badges { gap: 12px; justify-content: center; padding-bottom: 44px; }
  .hero-badges li { width: 6.6rem; height: 6.6rem; font-size: 1rem; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-actions a { border-right: none; border-bottom: 2px solid #fff; padding: 18px 12px; }

  .section { padding: 56px 0; }

  .blob-block { padding: 40px 24px; border-radius: 32px; }
  .hanazori-layout { grid-template-columns: 1fr; gap: 20px; }
  .vertical-title {
    writing-mode: horizontal-tb;
    border-right: none;
    border-left: 5px solid var(--c-coral);
    padding: 0 0 0 14px;
    font-size: 1.375rem;
  }

  .contact-form { padding: 24px 20px; }

  .table-basic th, .table-basic td { display: block; width: auto; border: none; padding: 4px 20px; }
  .table-basic th { padding-top: 16px; background: none; color: var(--c-coral-deep); font-size: 1rem; }
  .table-basic td { padding-bottom: 16px; }
  .table-basic tr { display: block; border-bottom: 1px solid var(--c-border); }

  .flow li, .news-list li { flex-direction: column; gap: 4px; }
  .cta-contact { font-size: 1.25rem; }
}

/* アクセス欄：見出しが長いので折り返しを許可する */
.table-basic--access th { white-space: normal; width: 32%; }
@media (max-width: 768px) {
  .table-basic--access th { width: auto; }
}

/* 施設のご紹介：画面が狭いときは2列→1列に折り返す */
@media (max-width: 900px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .card-grid--4 { grid-template-columns: 1fr; }
}

/* 意味のまとまりで折り返すための指定。
   <span class="nb"> で囲んだ部分は、その途中では改行されません
   （ブラウザは nb と nb のあいだで改行します） */
.nb { display: inline-block; }
