/* ============================================================
   ルカノア ホームページ スタイルシート
   
   【初心者の方へ】
   - 色を変えたい → 「色の設定」セクションの値を変更
   - 文字サイズを変えたい → font-size の数字を変更
   - 余白を変えたい → padding や margin の数字を変更
   - 画像を差し替えたい → images/ フォルダの画像を同じ名前で上書き
   ============================================================ */


/* ─────────────────────────────────────
   色の設定（ここを変えるとサイト全体の色が変わります）
   ───────────────────────────────────── */
:root {
  --cyan: #00BCD4;           /* シアン（水色）- メインカラー */
  --magenta: #E91E63;        /* マゼンタ（ピンク）- アクセントカラー */
  --yellow: #FDD835;         /* イエロー（黄色）- ポイントカラー */
  --orange: #fe995e;         /* オレンジ - ABAページ用 */
  --pecs-amber: #f59e0b;     /* アンバー - PECSページ用 */
  --dark-magenta: #C2185B;   /* 濃いマゼンタ（ボタンホバー時） */
  --text-dark: #333333;      /* 本文の文字色 */
  --text-gray: #666666;      /* 薄い文字色 */
  --bg-light: #f5f5f5;       /* 薄いグレー背景 */
  --bg-cyan-light: #E0F7FA;  /* 薄いシアン背景 */
  --bg-pink-light: #FCE4EC;  /* 薄いピンク背景 */
  --bg-yellow-light: #FFF9C4;/* 薄い黄色背景 */
  --bg-green-light: #E8F5E9; /* 薄い緑背景 */
}


/* ─────────────────────────────────────
   全体の基本設定
   ───────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* 固定ヘッダー（.header position:fixed、約110px）の高さ分、
     アンカーリンクのスクロール先をオフセットする */
  scroll-padding-top: 120px;
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 100px;
  }
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-dark);
  line-height: 1.8;
  background: #ffffff;
}

h1, h2, h3, h4 {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ─────────────────────────────────────
   ヘッダー（上部のナビゲーション）
   ───────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.header-logo {
  display: inline-block;
}

.header-logo img {
  height: 60px;
  width: auto;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--magenta);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.3s;
}

.header-phone:hover {
  background: var(--dark-magenta);
}

.header-phone img {
  width: 20px;
  height: 20px;
}

.header-mail-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #4FC3F7;
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s;
}

.header-mail-btn:hover {
  background: #0288D1;
}

.header-mail-btn img {
  width: 20px;
  height: 20px;
}

/* 公式LINE ボタン（電話番号の左に配置） */
.header-line {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #06C755;
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s;
  font-family: 'Zen Maru Gothic', sans-serif;
  white-space: nowrap;
}

.header-line:hover {
  background: #05a647;
}

.header-line-icon {
  font-size: 11px;
  font-weight: 900;
  background: white;
  color: #06C755;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  line-height: 1;
}

/* ナビゲーションメニュー */
.nav {
  background: white;
  border-top: 1px solid #eee;
  overflow-x: auto; /* スマホで横スクロール可能に */
  -webkit-overflow-scrolling: touch;
}

.nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  white-space: nowrap; /* 折り返さず横スクロール */
}

.nav ul a {
  display: block;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: bold;
  color: var(--text-dark);
  font-family: 'Zen Maru Gothic', sans-serif;
  transition: color 0.3s;
}

.nav ul a:hover {
  color: var(--cyan);
}


/* ─────────────────────────────────────
   ヒーロー（メインビジュアル）
   ───────────────────────────────────── */
.hero {
  margin-top: 110px;
  position: relative;
  overflow: hidden;
}

/* バナーは全ページ共通で帯状に表示 */
.hero-banner {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.hero-content {
  text-align: center;
  padding: 40px 20px 60px;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto 30px;
}

.hero-heading {
  color: var(--magenta);
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-text {
  font-size: 16px;
  line-height: 2;
  color: var(--text-dark);
  word-break: break-all;  /* スマホで横はみ出し防止 */
}

.hero-content .dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 20px;
}

.hero-content .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.hero-content .dot.cyan   { background: var(--cyan); }
.hero-content .dot.pink   { background: var(--magenta); }
.hero-content .dot.yellow { background: var(--yellow); }


/* ─────────────────────────────────────
   ナビカード（セクションへのショートカット）
   ───────────────────────────────────── */
.nav-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 30px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-card {
  text-align: center;
  padding: 20px 10px;
  border-radius: 16px;
  font-weight: bold;
  font-size: 14px;
  font-family: 'Zen Maru Gothic', sans-serif;
  transition: transform 0.3s, box-shadow 0.3s;
}

.nav-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.nav-card.cyan   { background: var(--bg-cyan-light);   color: var(--cyan); }
.nav-card.pink   { background: var(--bg-pink-light);   color: var(--magenta); }
.nav-card.yellow { background: var(--bg-yellow-light); color: #F9A825; }


/* ─────────────────────────────────────
   ブログリンク
   ───────────────────────────────────── */
.blog-links {
  text-align: center;
  padding: 40px 20px;
}

.blog-links-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.blog-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 3px dashed var(--cyan);
  border-radius: 20px;
  padding: 20px 28px;
  min-width: 160px;
  max-width: 200px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-link-card .blog-link-icon {
  font-size: 28px;
  margin-bottom: 6px;
}

.blog-link-card .title {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-dark);
  font-family: 'Zen Maru Gothic', sans-serif;
}

/* ブログ：シアン */
.blog-link-card.blog {
  border-color: var(--cyan);
}
.blog-link-card.blog .title {
  color: var(--cyan);
}

/* インスタ：マゼンタ〜ピンク */
.blog-link-card.instagram {
  border-color: var(--magenta);
}
.blog-link-card.instagram .title {
  color: var(--magenta);
}

/* YouTube：赤 */
.blog-link-card.youtube {
  border-color: #FF0000;
}
.blog-link-card.youtube .title {
  color: #FF0000;
}

.blog-link-sub {
  display: inline-block;
  background: #fff;
  color: #333;
  padding: 14px 24px;
  border-radius: 16px;
  border: 2px dashed #999999;
  font-size: 14px;
  transition: background 0.3s;
}

.blog-link-sub:hover {
  background: #e9e9e9;
}


/* ─────────────────────────────────────
   セクション共通
   ───────────────────────────────────── */
.section {
  padding: 60px 0;
}

.section.page-title {
  padding-bottom: 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.page-title .section-heading {
  margin-bottom: 24px;
}

.page-intro {
  text-align: center;
  margin-bottom: 0;
  padding: 0 20px;
}

.page-subtitle {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--cyan);
}

.section-heading h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-dark);
}

.section-heading .dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.section-heading .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.section-heading .dot.cyan   { background: var(--cyan); }
.section-heading .dot.pink   { background: var(--magenta); }
.section-heading .dot.yellow { background: var(--yellow); }


/* ─────────────────────────────────────
   ルカノアについて（ホームページ）
   ───────────────────────────────────── */
.about {
  background: white;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-text p {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 16px;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.about-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 24px;
}

/* 「詳しく→」ボタン */
.more-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background: var(--cyan);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.more-btn:hover {
  background: #fff;
  color: var(--cyan);
  border: 2px solid var(--cyan);
  transform: translateY(-2px);
}


/* ─────────────────────────────────────
   ABAについて（ホームページ）
   ───────────────────────────────────── */
.aba {
  background: var(--cyan);
  color: white;
  position: relative;
  overflow: hidden;
}

.aba-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.aba h2 {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.6;
  margin-bottom: 30px;
}

.aba-text p {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.95);
  font-family: 'Zen Maru Gothic', sans-serif;
}

.aba-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.aba-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.btn-outline-white {
  display: inline-block;
  border: 2px solid white;
  color: white;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 15px;
  font-family: 'Zen Maru Gothic', sans-serif;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-outline-white:hover {
  background: white;
  color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* ABAセクション内のドット（白背景上で見えるように） */
.aba-heading {
  text-align: left;
  margin-bottom: 20px;
}

.aba-heading .dot.cyan   { background: rgba(255,255,255,0.6); }
.aba-heading .dot.pink   { background: rgba(255,255,255,0.8); }
.aba-heading .dot.yellow { background: rgba(255,255,255,0.9); }

.aba-heading .dots {
  justify-content: flex-start;
}


/* ─────────────────────────────────────
   PECSセクション（ホームページ）
   ───────────────────────────────────── */
.pecs-section {
  background: linear-gradient(135deg, var(--pecs-amber), #fbbf24);
  padding: 80px 20px;
  color: #fff;
  margin-top: 0;
}

.pecs-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.pecs-text {
  width: 50%;
}

.pecs-text h2 {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.6;
}

.pecs-text p {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 16px;
}

.pecs-image {
  width: 50%;
  flex-shrink: 0;
}

.pecs-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.pecs-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.pecs-btn:hover {
  background: #fff;
  color: var(--pecs-amber);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* PECSセクション内のドット */
.pecs-text .dots {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 16px;
}

.pecs-text .dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.pecs-text .dots .dot.cyan   { background: rgba(255,255,255,0.6); }
.pecs-text .dots .dot.pink   { background: rgba(255,255,255,0.8); }
.pecs-text .dots .dot.yellow { background: rgba(255,255,255,0.9); }


/* ─────────────────────────────────────
   ルカノアの特徴（5つ）
   ───────────────────────────────────── */
.features {
  background: white;
}

.feature-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
}

.feature-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  font-weight: 900;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-dark);
  font-family: 'Zen Maru Gothic', sans-serif;
}

.features .btn-link {
  display: block;
  text-align: center;
  margin-top: 30px;
}

.features .btn-link a {
  display: inline-block;
  background: var(--cyan);
  color: white;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: bold;
  font-family: 'Zen Maru Gothic', sans-serif;
  transition: background 0.3s;
}

.features .btn-link a:hover {
  background: #0097A7;
}


/* ─────────────────────────────────────
   ご利用案内
   ───────────────────────────────────── */
.guide {
  background: var(--bg-light);
}

.guide-info {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 16px;
}

.guide-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.guide-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 4px;
}

.guide-item .value {
  font-size: 16px;
  font-weight: bold;
}

.guide-item .detail {
  font-size: 22px;
  font-weight: 900;
  margin-top: 4px;
}

.guide-item .sub {
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 4px;
}

/* 料金セクション */
.fee-section {
  max-width: 800px;
  margin: 30px auto 0;
  background: linear-gradient(135deg, var(--bg-cyan-light), var(--bg-pink-light));
  border-radius: 24px;
  padding: 36px;
}

.fee-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.fee-header .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cyan);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.fee-header h3 {
  font-size: 22px;
  font-weight: 900;
}

.fee-card {
  background: rgba(255,255,255,0.8);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.fee-card:last-child {
  margin-bottom: 0;
}

.fee-card h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 8px;
}

.fee-card p {
  font-size: 14px;
  line-height: 1.8;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.fee-card .highlight {
  font-weight: bold;
  color: var(--magenta);
}

.fee-card .note {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 4px;
}


/* ─────────────────────────────────────
   外部リンク（評価・声・プログラム）
   ───────────────────────────────────── */
.extra-links {
  background: white;
  padding: 40px 0;
}

.extra-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.extra-link-card {
  text-align: center;
  padding: 28px 16px;
  border-radius: 16px;
  font-weight: bold;
  font-size: 14px;
  font-family: 'Zen Maru Gothic', sans-serif;
  transition: transform 0.3s, box-shadow 0.3s;
}

.extra-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.extra-link-card .icon {
  font-size: 28px;
  margin-bottom: 8px;
}


/* ─────────────────────────────────────
   施設案内
   ───────────────────────────────────── */
.facility {
  background: var(--bg-light);
}

.facility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  /* 左右のカードを同じ高さに揃える（住所行数の差は内側で吸収する） */
  align-items: stretch;
}

/* カードを縦Flexにして、住所＋電話番号ブロックがカード下部の余白を均等に
   分け合うようにする。これで南幌側でも電話番号の下に空白の帯（線のように
   見える白い領域）ができず、右側カードと同じ高さに収まる */
.facility-card {
  display: flex;
  flex-direction: column;
}

.facility-card .facility-info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.facility-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s;
}

.facility-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}

.facility-exterior {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

.facility-exterior.sapporo img {
  object-position: center 40%;
}

.facility-exterior .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 24px;
}

.facility-exterior .overlay h3 {
  font-size: 22px;
  font-weight: 900;
  color: white;
}

.facility-interiors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
}

.facility-interiors img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s;
}

.facility-interiors img:hover {
  transform: scale(1.05);
}

/* 南幌教室の室内写真は周囲に白い縁取りが入っているため、
   ラッパー内でクリップしながら拡大して縁取りを切り取り、
   札幌東教室のカードと同様の見た目に揃える */
.facility-card.nanporo .facility-interior-img {
  overflow: hidden;
  border-radius: 8px;
  line-height: 0;
  height: 140px;
}

.facility-card.nanporo .facility-interior-img img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1.12);
  transition: transform 0.3s;
}

.facility-card.nanporo .facility-interior-img:hover img {
  transform: scale(1.18);
}

.facility-info {
  padding: 20px 24px;
}

.facility-info p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 8px;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.facility-info a {
  font-weight: bold;
  font-size: 15px;
  font-family: 'Zen Maru Gothic', sans-serif;
}


/* ─────────────────────────────────────
   採用情報
   ───────────────────────────────────── */
.recruit {
  background: white;
}

.recruit-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.recruit-card {
  background: linear-gradient(135deg, var(--bg-pink-light), #F8BBD080);
  border-radius: 24px;
  padding: 48px 36px;
}

.recruit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--magenta);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.recruit-card h3 {
  font-size: 24px;
  font-weight: bold;
  color: var(--dark-magenta);
  margin-bottom: 16px;
  line-height: 1.6;
}

.recruit-card p {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 2;
  margin-bottom: 28px;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.btn-magenta {
  display: inline-block;
  background: var(--magenta);
  color: white;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 15px;
  font-family: 'Zen Maru Gothic', sans-serif;
  transition: background 0.3s;
}

.btn-magenta:hover {
  background: var(--dark-magenta);
}


/* ─────────────────────────────────────
   お問い合わせCTA
   ───────────────────────────────────── */
.contact-cta {
  background: linear-gradient(135deg, var(--magenta), #D81B60);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.contact-cta h2 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 12px;
}

.contact-cta .sub {
  font-size: 15px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: 50px;
  padding: 16px 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: box-shadow 0.3s;
  flex: 1 1 calc(50% - 16px);
  min-width: 280px;
  max-width: 360px;
}

.contact-btn:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,0.2);
}

.contact-btn img {
  width: 40px;
  height: 40px;
}

.contact-btn > div {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.contact-btn .label {
  display: block;
  font-size: 12px;
  color: var(--text-gray);
  margin-bottom: 4px;
  text-align: center;
}

.contact-btn .value {
  display: block;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
}

.contact-btn .value.phone { color: var(--magenta); }
.contact-btn .value.mail  { color: var(--cyan); }
.contact-btn .value.line  { color: #06C755; }

.contact-line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #06C755;
  border-radius: 4px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.contact-line-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 20px;
  background: #fff;
  color: #06C755;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.3px;
  line-height: 1;
}


/* ─────────────────────────────────────
   フッター
   ───────────────────────────────────── */
.footer {
  background: #333;
  color: white;
  padding: 48px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo img {
  height: 72px;
  width: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.footer-facility {
  margin-bottom: 16px;
}

.footer-facility .name {
  font-weight: bold;
  color: #ccc;
  margin-bottom: 4px;
  font-size: 14px;
}

.footer-facility p {
  font-size: 13px;
  color: #999;
  line-height: 1.6;
}

.footer-facility a {
  color: #ccc;
  text-decoration: underline;
  transition: color 0.3s;
}

.footer-facility a:hover {
  color: var(--cyan);
}

.footer h4 {
  font-size: 14px;
  font-weight: bold;
  color: #ccc;
  margin-bottom: 16px;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  font-size: 14px;
  color: #999;
  font-family: 'Zen Maru Gothic', sans-serif;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--cyan);
}

.footer-copyright {
  text-align: center;
  padding-top: 24px;
  margin-top: 36px;
  border-top: 1px solid #555;
  font-size: 12px;
  color: #777;
}


/* ─────────────────────────────────────
   CTAボタン（サブページ共通）
   ───────────────────────────────────── */
.cta-btn {
  display: inline-block;
  background: var(--cyan);
  color: #fff;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  border: 2px solid transparent;
}

.cta-btn:hover {
  background: #fff;
  color: var(--cyan);
  border: 2px solid var(--cyan);
  transform: translateY(-2px);
}


/* =========================================================
   サブページ共通スタイル
   （rukanoa.html, ABA.html, PECS.html で使用）
   ========================================================= */

/* 波線タイトル装飾 */
h2.wave-title {
  position: relative;
  display: inline-block;
  text-align: center;
  width: fit-content;
  margin: 0 auto 30px;
  padding: 10px 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='100' height='8' viewBox='0 0 100 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4 Q5 0 10 4 T20 4 T30 4 T40 4 T50 4 T60 4 T70 4 T80 4 T90 4 T100 4' fill='none' stroke='%23E91E63' stroke-width='3'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='100' height='8' viewBox='0 0 100 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4 Q5 0 10 4 T20 4 T30 4 T40 4 T50 4 T60 4 T70 4 T80 4 T90 4 T100 4' fill='none' stroke='%23E91E63' stroke-width='3'/%3E%3C/svg%3E");
  background-repeat: repeat-x, repeat-x;
  background-position: top, bottom;
  background-size: 100px 8px;
}

/* アクセント色 */
.accent {
  color: #000000;
}

/* サブページ用テキストブロック */
.subpage .about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  line-height: 2;
  font-size: 15px;
}

.subpage .about-text h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}

/* カラーブロック（ハイライトボックス） */
.about-highlight {
  padding: 60px 20px;
}

.highlight-box {
  padding: 25px;
  border-radius: 20px;
  margin-bottom: 20px;
  line-height: 1.8;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.highlight-box p {
  margin-bottom: 8px;
}

.highlight-box.blue   { background: var(--bg-cyan-light); }
.highlight-box.blue h3   { color: var(--cyan); }

.highlight-box.pink   { background: var(--bg-pink-light); }
.highlight-box.pink h3   { color: var(--magenta); }

.highlight-box.yellow { background: var(--bg-yellow-light); }
.highlight-box.yellow h3 { color: #F9A825; }

.highlight-box.green  { background: var(--bg-green-light); }
.highlight-box.green h3  { color: #4CAF50; }


/* 事例カード（男の子の顔イラスト付き） */
.case-card-with-face {
  display: flex;
  align-items: center;
  gap: 20px;
}

.case-card-content {
  flex: 1;
  min-width: 0;
}

.case-boy-face {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .case-card-with-face {
    flex-direction: column;
    text-align: center;
  }

  .case-boy-face {
    width: 80px;
    height: 80px;
    order: -1;
  }
}


/* =========================================================
   ABAページ専用スタイル
   ========================================================= */

/* ステップセクション */
.step-section {
  max-width: 1000px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.step-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.step-header .num {
  width: 60px;
  height: 60px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
}

.step-header .title {
  font-size: 26px;
  font-weight: bold;
  color: var(--orange);
  text-align: center;
}

.step-text {
  color: #555;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* ABA 特徴グリッド（2×2） */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ABC分析セクション */
.abc-section {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}

.abc-header {
  text-align: center;
  margin-bottom: 30px;
}

.abc-num {
  width: 60px;
  height: 60px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
}

.abc-header h2 {
  color: var(--orange);
  font-size: 28px;
}

.abc-text {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.abc-example {
  margin: 20px 0;
  padding-left: 10px;
}

.abc-cards {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.abc-card {
  padding: 20px 30px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.abc-card:nth-child(1) { background: var(--bg-cyan-light); }
.abc-card:nth-child(1) .abc-letter { color: var(--cyan); }

.abc-card:nth-child(2) { background: var(--bg-pink-light); }
.abc-card:nth-child(2) .abc-letter { color: var(--magenta); }

.abc-card:nth-child(3) { background: var(--bg-yellow-light); }
.abc-card:nth-child(3) .abc-letter { color: #F9A825; }

.abc-letter {
  font-size: 24px;
  font-weight: bold;
}

.abc-title {
  font-size: 20px;
  font-weight: bold;
}

.abc-desc {
  color: #555;
}

/* 対処法セクション */
.method-section {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.method-card {
  padding: 30px;
  border-radius: 12px;
  line-height: 1.8;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.method-card p {
  margin-top: 10px;
}

.method-card.blue   { background: var(--bg-cyan-light); }
.method-card.blue h3   { color: var(--cyan); }

.method-card.pink   { background: var(--bg-pink-light); }
.method-card.pink h3   { color: var(--magenta); }

.method-card.yellow { background: var(--bg-yellow-light); }
.method-card.yellow h3 { color: #F9A825; }

.method-card.green  { background: #ddffd1; }
.method-card.green h3  { color: #00d420; }


/* =========================================================
   PECSページ専用スタイル
   ========================================================= */

/* PECS注記 */
.pecs-note {
  text-align: center;
  font-size: 14px;
  color: var(--cyan);
  margin: 20px auto 30px;
  font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 1.5px dashed var(--cyan);
  width: fit-content;
  display: block;
}

/* PECSページ内のハイライトボックス */
.pecs-page .highlight-box {
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-radius: 20px;
}


/* ─────────────────────────────────────
   スマホ対応（画面幅768px以下）
   ───────────────────────────────────── */
@media (max-width: 768px) {

  /* ── ヘッダー ── */
  .header-inner {
    padding: 8px 12px;
    gap: 8px;
  }

  .header-logo img {
    height: 40px;
  }

  .header-contact {
    gap: 8px;
  }

  .header-phone {
    font-size: 0;
    gap: 0;
    padding: 8px;
    border-radius: 50px;
    background: var(--magenta);
  }

  .header-phone img {
    width: 22px;
    height: 22px;
  }

.header-mail-btn {
  font-size: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  width: 40px;
  height: 40px;
  min-width: unset;
  line-height: 0; 
}

.header-mail-btn img {
  width: 36px;
  height: 36px;
}

/* 公式LINE（スマホ表示：ロゴだけ表示） */
.header-line {
  padding: 8px 10px;
  gap: 0;
}

.header-line-text {
  display: none;
}

.header-line-icon {
  font-size: 11px;
  padding: 3px 5px;
}

/* ブログカードを横3列に */
.blog-links-row {
  gap: 10px;
}

.blog-link-card {
  padding: 12px 10px;
  min-width: unset;
  flex: 1;
  max-width: none;
}

.blog-link-card .blog-link-icon {
  font-size: 22px;
}

.blog-link-card .title {
  font-size: 13px;
}

/* ボタンの文字折り返し修正 */
.contact-btn {
  padding: 14px 20px;
  gap: 8px;
}

.contact-btn .label,
.contact-btn .value {
  display: block;
  text-align: center;
}

.contact-btn div {
  flex: 1;
  min-width: 0;
}

/* 採用情報の文章の左右余白 */
.subpage.about-text,
.subpage .about-text {
  padding: 0 20px;
  text-align: center;
}

  /* ── ナビゲーション（横スクロール対応） ── */
  .nav ul {
    justify-content: flex-start;
    white-space: nowrap;
  }

  .nav ul a {
    padding: 10px 14px;
    font-size: 13px;
  }

  /* ── ヒーロー ── */
  .hero {
    margin-top: 96px; /* ヘッダー高さに合わせる */
  }

  .hero-banner {
    height: 120px;
  }

  .hero-content {
    padding: 28px 16px 40px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-content h2 {
    font-size: 20px;
  }

  .hero-text {
    font-size: 13px;
    line-height: 1.9;
    text-align: center;
  }

  /* ── セクション共通 ── */
  .section {
    padding: 40px 0;
  }

  .section-heading {
    margin-bottom: 28px;
    padding: 0 16px;
  }

  .section-heading h2 {
    font-size: 20px;
  }

  .container {
    padding: 0 16px;
  }

  /* ── ナビカード ── */
  .nav-cards {
    grid-template-columns: repeat(3, 1fr);
    padding: 20px 16px;
    gap: 8px;
  }

  .nav-card {
    padding: 14px 6px;
    font-size: 12px;
  }

  /* ── ブログリンク ── */
  .blog-link-card {
    padding: 14px 16px;
    min-width: 120px;
  }

  /* ── about / ABA ── */
  .about-inner,
  .aba-inner {
    grid-template-columns: 1fr;
  }

  .about-image img,
  .aba-image img {
    height: 200px;
  }

  .aba h2 {
    font-size: 20px;
    text-align: center;
  }

  /* ── PECS ── */
  .pecs-section {
    padding: 50px 16px;
  }

  .pecs-flex {
    flex-direction: column;
  }

  .pecs-text,
  .pecs-image {
    width: 100%;
  }

  /* ── 特徴・施設・extra ── */
  .feature-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .facility-grid {
    grid-template-columns: 1fr;
  }

  .extra-links-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .extra-link-card {
    padding: 18px 8px;
    font-size: 12px;
  }

  /* ── ご利用案内 ── */
  .fee-section {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .guide-item {
    padding: 16px 20px;
  }

  /* ── ハイライトボックス ── */
  .about-highlight {
    padding: 40px 16px;
  }

  .highlight-box {
    padding: 20px;
  }

  /* ── subページテキスト ── */
  .subpage .about-text {
    font-size: 14px;
    text-align: left;
    padding: 0;
  }

  /* ── フッター ── */
  .footer {
    padding: 36px 0 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
  }

  /* ── 採用 CTA ── */
  .contact-cta {
    padding: 44px 16px;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .contact-btn {
    width: 100%;
    max-width: 320px;
    padding: 14px 24px;
  }

  /* ── CTAボタン ── */
  .cta-btn {
    font-size: 16px;
    padding: 14px 28px;
  }

  /* ── hero-heading ── */
  .hero-heading {
    font-size: 18px;
  }

  /* ── ABCカード ── */
  .abc-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 20px;
  }

  .step-header .title {
    font-size: 20px;
  }

  /* ── hero テキスト ── */
  .hero-text {
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
  }

  /* PC用の<br>改行をスマホでは無効化 */
  .hero-text br {
    display: none;
  }

  /* ── ABA ステップセクション ── */
  .step-section {
    padding: 0 16px;
    margin-bottom: 40px;
  }

  .method-section,
  .abc-section {
    margin: 40px auto;
    padding: 0 16px;
  }

  /* ── テキスト全般の左右余白 ── */
  .abc-text,
  .step-text,
  .abc-example {
    padding: 0 16px;
  }

  /* ── ルカノア・ABAページのテキスト ── */
  .about-text p,
  .subpage .about-text p {
    padding: 0 4px;
  }

  /* ── ご利用案内 見出し ── */
  .guide-heading {
    font-size: 1.1rem;
    padding-left: 4px;
  }

  /* ── ご利用案内 対象欄 ── */
  .guide-item {
    padding: 14px 16px;
    gap: 12px;
  }

  .guide-item .value,
  .guide-item .detail {
    font-size: 15px;
  }

  /* ── ご利用案内 対象ボックス ── */
  .guide-target-box {
    padding: 16px;
    font-size: 14px;
  }

  /* ── セクション内のinner ── */
  .guide-section .section-inner {
    padding: 0 16px;
  }
}


/* =========================================================
   採用情報ページ専用スタイル（recruit.html）
   ========================================================= */

/* --- 求人テーブル共通 --- */
.recruit-table-wrap {
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 12px;
}

.recruit-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
}

.recruit-table th,
.recruit-table td {
  padding: 16px 20px;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.8;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.recruit-table th {
  width: 130px;
  text-align: center;
  font-weight: 900;
  border-radius: 10px;
  white-space: nowrap;
}

.recruit-table td {
  background: rgba(255,255,255,0.7);
  border-radius: 10px;
}

/* --- 南幌教室（青系） --- */
.recruit-table-wrap.nanporo {
  background: var(--bg-cyan-light);
}

.recruit-table-wrap.nanporo th {
  background: #81d4fa;
  color: #fff;
}

/* --- 札幌東教室（ピンク系） --- */
.recruit-table-wrap.sapporo {
  background: var(--bg-pink-light);
}

.recruit-table-wrap.sapporo th {
  background: #f48fb1;
  color: #fff;
}

/* --- 福音の家（黄色系） --- */
.recruit-table-wrap.fukuin {
  background: var(--bg-yellow-light);
}

.recruit-table-wrap.fukuin th {
  background: var(--yellow);
  color: #fff;
}


/* --- 人事スタッフからのメッセージ --- */
.staff-message {
  max-width: 900px;
  margin: 0 auto;
}

.staff-message-main {
  background: #f9fafb;
  border: 2px solid #e0e0e0;
  border-radius: 20px;
  padding: 32px 36px;
  margin-bottom: 28px;
  line-height: 2;
  font-size: 15px;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.staff-message-main p {
  margin-bottom: 8px;
}

.staff-message-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.staff-msg-card {
  padding: 24px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.8;
  font-family: 'Zen Maru Gothic', sans-serif;
  border: 2px solid;
}

.staff-msg-card.green {
  background: #f0fdf4;
  border-color: #86efac;
  color: var(--text-dark);
}

.staff-msg-card.accent {
  background: #f0fdf4;
  border-color: #4ade80;
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 16px;
}


/* --- 採用ページ レスポンシブ --- */
@media (max-width: 768px) {
  .recruit-table-wrap {
    padding: 16px;
  }

  .recruit-table th,
  .recruit-table td {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }

  .recruit-table th {
    margin-bottom: 4px;
    border-radius: 10px 10px 0 0;
  }

  .recruit-table td {
    border-radius: 0 0 10px 10px;
    margin-bottom: 8px;
  }

  .staff-message-cards {
    grid-template-columns: 1fr;
  }

  .staff-message-main {
    padding: 20px 24px;
  }
}


/* ─────────────────────────────────────
   施設案内ページ（center.html）
   ───────────────────────────────────── */

/* --- 教室セクション共通 --- */
.facility-section {
  padding: 50px 20px 60px;
}

.nanporo-bg {
  background-color: var(--bg-cyan-light);
}

.sapporo-bg {
  background-color: var(--bg-pink-light);
}

.facility-name {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 24px;
  text-align: center;
}

.nanporo-color {
  color: var(--cyan);
}

.sapporo-color {
  color: var(--magenta);
}


/* --- 写真グリッド ---
   ★ 写真の枚数に応じて自動で並びます。
   ★ 増やしても減らしてもOK。
*/
/* 横スクロール写真スライダー */
.photo-slider {
  max-width: 900px;
  margin: 0 auto 40px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch; /* スマホで滑らかスクロール */
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
  padding-bottom: 10px;
}

.photo-slider::-webkit-scrollbar {
  height: 6px;
}

.photo-slider::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.photo-slider-track {
  display: flex;
  gap: 12px;
  width: max-content;
}

.photo-slide {
  flex: 0 0 280px;
  width: 280px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.photo-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}


/* --- 施設情報 + 地図（横並び） --- */
.facility-detail {
  display: flex;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  align-items: flex-start;
}

.facility-info {
  flex: 1;
  min-width: 0;
}

.facility-map {
  flex: 1;
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.facility-map iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: 0;
}


/* --- 施設情報テーブル --- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.info-table th,
.info-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.info-table th {
  width: 90px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  white-space: nowrap;
}

.info-table td a {
  color: var(--cyan);
  text-decoration: none;
}

.info-table td a:hover {
  text-decoration: underline;
}

/* 教室ごとの色 */
.nanporo-table th {
  background: var(--cyan);
  color: #fff;
}

.sapporo-table th {
  background: var(--magenta);
  color: #fff;
}


/* --- スマホ対応 --- */
@media (max-width: 768px) {
  .photo-slide {
    flex: 0 0 220px;
    width: 220px;
  }

  .photo-slide img {
    height: 160px;
  }

  .facility-detail {
    flex-direction: column;
  }

  .facility-map iframe {
    height: 250px;
  }

  .facility-name {
    font-size: 1.5rem;
  }
}


/* ─────────────────────────────────────
   利用案内ページ（guide.html）
   ───────────────────────────────────── */

/* ページタイトル */
.guide-title-bg {
  background: linear-gradient(135deg, var(--bg-green-light), var(--bg-cyan-light));
}

/* セクション共通 */
.guide-section {
  padding: 60px 20px;
}

.guide-section .section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.guide-bg-alt {
  background-color: var(--bg-light);
}

/* 見出し */
.guide-heading {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.95rem !important;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--cyan);
}

.guide-heading-icon {
  margin-right: 8px;
}

/* 対象のお子さまボックス */
.guide-target-box {
  background: #fff;
  border: 2px solid var(--cyan);
  border-radius: 12px;
  padding: 30px;
  line-height: 2;
}

.guide-target-box .note {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.guide-target-box .highlight-text {
  color: var(--magenta);
  font-weight: 700;
}

/* 症状チェックリスト */
.symptom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.symptom-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.symptom-item.symptom-wide {
  grid-column: 1 / -1;
}

.symptom-check {
  color: var(--cyan);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* 施設概要テーブル */
.guide-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.guide-table th {
  background: var(--cyan);
  color: #fff;
  font-weight: 700;
  padding: 16px 20px;
  text-align: left;
  width: 140px;
  vertical-align: top;
  font-size: 1rem;
}

.guide-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  line-height: 1.8;
}

.guide-table .note {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* ご利用料金ボックス */
.guide-fee-box {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  line-height: 2;
}

.guide-fee-box .note {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.fee-detail {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed #ddd;
}

.fee-detail h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

/* ご利用の流れ */
.guide-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 24px 30px;
  width: 100%;
  max-width: 820px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.flow-number {
  background: var(--cyan);
  color: #fff;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 6px;
}

.flow-content p {
  line-height: 1.8;
}

.flow-arrow {
  color: var(--cyan);
  font-size: 1.5rem;
  padding: 8px 0;
}

/* よくあるご質問 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--cyan);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.faq-a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  line-height: 1.8;
}

.faq-label {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  flex-shrink: 0;
}

.faq-q .faq-label {
  color: #fff;
}

.faq-label-a {
  color: var(--cyan);
}

/* レスポンシブ（スマホ対応） */
@media (max-width: 768px) {
  .guide-heading {
    font-size: 1.3rem;
  }

  .symptom-grid {
    grid-template-columns: 1fr;
  }

  .symptom-item.symptom-wide {
    grid-column: auto;
  }

  .guide-table th {
    display: block;
    width: 100%;
  }

  .guide-table td {
    display: block;
    width: 100%;
  }

  .flow-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .guide-target-box {
    padding: 16px;
    font-size: 14px;
    line-height: 1.9;
  }

  .guide-fee-box {
    padding: 20px;
  }
}


/* ─────────────────────────────────────
   外部評価・自己評価ページ
   ───────────────────────────────────── */

.evaluation-section {
  padding: 60px 0;
}



.eval-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.eval-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 12px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  text-align: center;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.eval-btn.cyan {
  background: var(--cyan);
}
.eval-btn.cyan:hover {
  background: #0097A7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

.eval-btn.magenta {
  background: var(--magenta);
}
.eval-btn.magenta:hover {
  background: var(--dark-magenta);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.eval-btn.gold {
  background: #F5A623;
  color: #fff;
}
.eval-btn.gold:hover {
  background: #E09500;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

@media (max-width: 600px) {
  .eval-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ─────────────────────────────────────
   親御さんの声ページ
   ───────────────────────────────────── */




/* ─────────────────────────────────────
   支援プログラムページ
   ───────────────────────────────────── */

.program-section {
  padding: 60px 0;
}

.program-classroom {
  max-width: 900px;
  margin: 0 auto 60px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 40px;
  overflow-x: auto;
}

.program-cyan {
  border-top: 5px solid var(--cyan);
}

.program-magenta {
  border-top: 5px solid var(--magenta);
}

.program-pink {
  border-top: 5px solid var(--magenta);
}

.program-yellow {
  border-top: 5px solid #F5A623;
}

.program-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.program-header h3 {
  font-size: 18px;
  font-weight: 900;
  color: #333;
}

.program-date {
  font-size: 14px;
  color: #888;
}

.program-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.8;
}

.program-table th,
.program-table td {
  border: 1px solid #ddd;
  padding: 12px 16px;
  vertical-align: top;
}

.program-table th {
  background: #f5f5f5;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
}

.program-cat {
  width: 160px;
  background: #f5f5f5;
}

.program-support-title {
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  margin: 30px 0 16px;
  padding: 10px;
  border-radius: 50px;
}

.program-cyan .program-support-title {
  color: var(--cyan);
  background: var(--bg-cyan-light);
}

.program-magenta .program-support-title {
  color: var(--magenta);
  background: var(--bg-pink-light);
}

.program-pink .program-support-title {
  color: var(--magenta);
  background: var(--bg-pink-light);
}

.program-yellow .program-support-title {
  color: #E09500;
  background: #FFF8E1;
}

.program-group {
  width: 60px;
  text-align: center;
  background: #f5f5f5;
  font-weight: 700;
  writing-mode: vertical-rl;
  letter-spacing: 2px;
}

.program-item {
  width: 120px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
}

.program-item-full {
  width: 180px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
}

.cyan-bg {
  background: var(--cyan) !important;
  color: #fff !important;
}

.magenta-bg {
  background: var(--magenta) !important;
  color: #fff !important;
}

.gold-bg {
  background: #F5A623 !important;
  color: #fff !important;
}

.program-table td {
  font-family: 'Zen Maru Gothic', sans-serif;
  color: #444;
}

@media (max-width: 600px) {
  .program-classroom {
    padding: 20px 16px;
  }

  .program-table {
    font-size: 12px;
  }

  .program-table th,
  .program-table td {
    padding: 8px 10px;
  }

  .program-cat {
    width: 100px;
  }

  .program-group {
    width: 40px;
    font-size: 12px;
  }

  .program-item {
    width: 80px;
    font-size: 11px;
  }

  .program-item-full {
    width: 120px;
    font-size: 11px;
  }
}


/* ============================================================
   【v2モード】比較用デザイン（body.v2-mode で有効化）
   ・マイクロアニメーション
   ・ハンバーガーメニュー（スマホ）
   ・ドット付きカルーセル
   ・中央寄せ修正・フッター画像改善
   ============================================================ */

/* ── ハンバーガー本体（デフォルト非表示） ── */
.hamburger-btn      { display: none; }
.mobile-drawer      { display: none; }
.drawer-overlay     { display: none; }
.photo-carousel-v2  { display: none; }


/* ── YouTube 埋め込み（レスポンシブ16:9） ── */
.youtube-embed-section {
  text-align: center;
  padding: 60px 20px;
}

.youtube-embed-wrap {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background: #000;
}

.youtube-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* ── 修正前/後 比較トグル（廃止：修正後デザインのみ採用） ── */
.compare-toggle {
  display: none !important;
}
.compare-toggle--legacy {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 5px;
  display: inline-flex;
  gap: 4px;
  z-index: 250;
}
.compare-toggle button {
  background: transparent;
  border: none;
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Zen Maru Gothic', sans-serif;
  color: var(--text-gray);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.compare-toggle button.is-active {
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 3px 10px rgba(0, 188, 212, 0.35);
}
.compare-toggle button:not(.is-active):hover {
  background: rgba(0, 188, 212, 0.08);
  color: var(--cyan);
}
@media (max-width: 768px) {
  .compare-toggle      { bottom: 10px; }
  .compare-toggle button { padding: 8px 16px; font-size: 12px; }
}


/* ─────────────────────────────────────────────
   v2: マイクロアニメーション（さりげなく）
   ───────────────────────────────────────────── */

/* ヘッダーボタンの軽い浮上 */
body.v2-mode .header-phone,
body.v2-mode .header-mail-btn {
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
body.v2-mode .header-phone:hover,
body.v2-mode .header-mail-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ロゴの軽い反応 */
body.v2-mode .header-logo img {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
body.v2-mode .header-logo:hover img { transform: translateY(-1px); opacity: 0.92; }

/* ナビ下線がスッと伸びる（Safari対応：scaleX で描画） */
body.v2-mode .nav ul a { position: relative; }
body.v2-mode .nav ul a::after {
  content: '';
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 8px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
  -webkit-transform: scaleX(0);
  -webkit-transition: -webkit-transform 0.3s ease;
}
body.v2-mode .nav ul a:hover::after {
  transform: scaleX(1);
  -webkit-transform: scaleX(1);
}

/* スクロール時に少しだけフェードイン */
body.v2-mode .reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
body.v2-mode .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* テーブル行の軽い反応 */
body.v2-mode .info-table tr {
  transition: background-color 0.2s ease;
}
body.v2-mode .info-table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.025);
}

/* リンクの下線スライドイン */
body.v2-mode .info-table td a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  text-decoration: none;
  transition: background-size 0.3s ease;
}
body.v2-mode .info-table td a:hover {
  background-size: 100% 1px;
  text-decoration: none;
}

/* 比較ボタンの軽い反応 */
body.v2-mode .compare-toggle button:not(.is-active):hover {
  transform: translateY(-1px);
}


/* ─────────────────────────────────────────────
   ハンバーガーメニュー（スマホのみ／v1・v2 共通）
   ※ v2-mode に依存させると、初期表示で旧ナビが一瞬見える
     「ちらつき」が出るため、モバイルでは常に旧ナビを隠して
     ハンバーガーを使う構成にしています。
   ───────────────────────────────────────────── */
@media (max-width: 768px) {

  /* スマホでは元の横スクロールナビは常時非表示（領域を消す） */
  .nav { display: none !important; }

  .hamburger-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    position: relative;
  }
  .hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
  }
  .hamburger-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-drawer {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.32s ease;
    z-index: 200;
    padding: 80px 0 24px;
    overflow-y: auto;
  }
  .mobile-drawer.is-open { transform: translateX(0); }
  .mobile-drawer ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mobile-drawer li {
    border-bottom: 1px solid #eee;
  }
  .mobile-drawer a {
    display: block;
    padding: 16px 24px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    transition: background 0.2s ease, padding-left 0.25s ease, color 0.2s ease;
  }
  .mobile-drawer a:hover,
  .mobile-drawer a:focus {
    background: var(--bg-cyan-light);
    padding-left: 32px;
    color: var(--cyan);
    outline: none;
  }

  .drawer-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 150;
  }
  .drawer-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  body.drawer-open {
    overflow: hidden;
  }
}


/* ─────────────────────────────────────────────
   v2: ドット付きカルーセル
   （元の photo-slider は v2 では非表示）
   ───────────────────────────────────────────── */
body.v2-mode .photo-slider {
  display: none;
}
body.v2-mode .photo-carousel-v2 {
  display: block;
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 0 16px;
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  background: #fff;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}
.carousel-arrow:hover {
  background: #fff;
  opacity: 1;
  transform: translateY(-50%) scale(1.06);
}
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: #cfcfcf;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, width 0.3s ease, transform 0.25s ease;
}
.carousel-dot:hover { transform: scale(1.15); }

.carousel-dot.is-active {
  background: var(--cyan);
  width: 26px;
  border-radius: 5px;
}
.nanporo-bg .carousel-dot.is-active { background: var(--cyan); }
.sapporo-bg .carousel-dot.is-active { background: var(--magenta); }

@media (max-width: 768px) {
  .carousel-slide img { height: 240px; }
  .carousel-arrow { width: 32px; height: 32px; font-size: 18px; }
}


/* ─────────────────────────────────────────────
   v2: 中央寄せ・幅の修正
   ───────────────────────────────────────────── */
body.v2-mode .facility-section {
  text-align: center;
  padding-left: 16px;
  padding-right: 16px;
}

body.v2-mode .facility-section .facility-name,
body.v2-mode .facility-section .photo-carousel-v2,
body.v2-mode .facility-section .facility-detail {
  margin-left: auto;
  margin-right: auto;
}

body.v2-mode .facility-detail {
  width: 100%;
  max-width: 900px;
  text-align: left;
  align-items: stretch;       /* 左右の高さを揃える */
  gap: 30px;
}

/* PC表示：施設情報テーブル と 地図 の見た目（角丸・影・サイズ）を完全に揃える */
@media (min-width: 769px) {
  body.v2-mode .facility-info,
  body.v2-mode .facility-map {
    flex: 1;
    min-width: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
    background: #fff;
  }

  /* 内側のテーブルから影と角丸を取り除き、外側コンテナに統一 */
  body.v2-mode .facility-info .info-table {
    box-shadow: none;
    border-radius: 0;
    height: 100%;
    margin: 0;
  }

  /* 地図 iframe を親いっぱいに */
  body.v2-mode .facility-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
  }
}


/* ─────────────────────────────────────────────
   v2: フッター画像（footer-logo.jpg を領域フルで使用）
   ───────────────────────────────────────────── */
body.v2-mode .footer-logo {
  position: relative;
  margin: 0 0 24px;
  width: 100%;
  background: transparent;
  box-shadow: none;
  height: auto;
}

body.v2-mode .footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  background: transparent;
}

@media (max-width: 768px) {
  body.v2-mode .footer-logo {
    margin-bottom: 16px;
  }
}


/* ─────────────────────────────────────────────
   v2: 現在ページの強調（PCナビ＋スマホドロワー）
   ───────────────────────────────────────────── */
body.v2-mode .nav ul a.is-current {
  color: var(--cyan);
}
body.v2-mode .nav ul a.is-current::after {
  transform: scaleX(1);
  -webkit-transform: scaleX(1);
  background: var(--cyan);
}
/* 現在ページの上部ドットは非表示（下線のみで表現） */

/* スマホドロワーの現在ページ */
body.v2-mode .mobile-drawer a.is-current {
  background: var(--bg-cyan-light);
  color: var(--cyan);
  border-left: 4px solid var(--cyan);
  padding-left: 28px;
}
