@charset "UTF-8";

/* ==========================================================================
   株式会社ステッチ Webサイト 共通スタイルシート
   参考デザイン（LEGONKids eit）の配色・レイアウト・装飾ルールを忠実に再現
   ========================================================================== */

/* Google Fontsの読み込み（Zen Maru Gothic & Noto Sans JP） */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Zen+Maru+Gothic:wght@500;700;900&display=swap');

/* --- 変数定義 --- */
:root {
  /* 基本配色 */
  --color-text: #5A4540;          /* 温かみのあるこげ茶（本文・枠線基本色） */
  --color-text-dark: #3A2925;     /* より濃いブラウン（見出し強調用） */
  --color-text-light: #7E6B66;    /* 補助テキスト */
  --color-bg-base: #FAF7F2;       /* ベース背景色（アイボリー） */
  --color-bg-white: #FFFFFF;
  
  /* アクセントカラー */
  --color-accent-orange: #EE6B2B; /* ボタン・CTA・ハイライトオレンジ */
  --color-accent-orange-dark: #D45316;
  --color-accent-orange-shadow: #B84008;
  --color-marker-yellow: #FFF176; /* 見出しの手描き風マーカーイエロー */

  /* パステルカラーパレット（カード・ピルラベル用） */
  --color-pastel-blue: #CDE5F7;   /* 児童発達支援・運動感覚 */
  --color-pastel-green: #BFE3C6;  /* 放課後等デイ・健康生活 */
  --color-pastel-pink: #F2D0C9;   /* 認知行動・学習支援 */
  --color-pastel-yellow: #EFE3C3; /* 言語コミュニケーション・SST */
  --color-pastel-purple: #E3CFE0; /* 人間関係社会性・保護者交流 */

  /* フォント指定 */
  --font-heading: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif;
  --font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;

  /* 枠線・角丸 */
  --border-thick: 2px solid var(--color-text);
  --border-circle: 4px solid var(--color-text);
  --radius-card: 24px;
  --radius-pill: 9999px;
  --radius-box: 16px;

  /* コンテナ幅 */
  --max-width: 1120px;
}

/* --- リセット & 基本設定 --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg-base);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

ul, ol {
  list-style: none;
}

/* --- タイポグラフィ共通 --- */
h1, h2, h3, h4, .font-maru {
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --- 背景装飾：斜めストライプ（参考サイトのテクスチャ再現） --- */
.bg-stripe {
  background-color: #FAF6EF;
  background-image: repeating-linear-gradient(
    135deg,
    #FAF6EF,
    #FAF6EF 14px,
    #FFFFFF 14px,
    #FFFFFF 28px
  );
}

.bg-white {
  background-color: #FFFFFF;
}

/* --- 見出し装飾（イエローマーカー下線） --- */
.section-title {
  text-align: center;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  display: inline-block;
}

.section-title.with-marker {
  display: table;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(transparent 58%, var(--color-marker-yellow) 58%);
  padding: 0 10px;
}

.section-lead {
  text-align: center;
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 40px;
  line-height: 1.9;
}

/* --- 立体感のあるオレンジピルボタン（CTA） --- */
.btn-orange-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #FFFFFF;
  background: linear-gradient(180deg, #F07432 0%, var(--color-accent-orange) 100%);
  padding: 14px 44px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 0 var(--color-accent-orange-shadow);
  transition: all 0.2s ease;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
}

.btn-orange-pill:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--color-accent-orange-shadow);
  background: linear-gradient(180deg, #FF7F3D 0%, #F07432 100%);
  color: #FFFFFF;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(90, 69, 64, 0.06);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px clamp(12px, 2vw, 24px);
  max-width: 1320px;
  margin: 0 auto;
  gap: 12px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-brand img {
  height: 48px;
  width: auto;
  border-radius: 8px;
  flex-shrink: 0;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-light);
  line-height: 1.2;
  white-space: nowrap;
}

.header-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  white-space: nowrap;
}

/* デスクトップナビゲーション */
.site-nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.25vw, 22px);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-link {
  font-size: clamp(0.85rem, 0.92vw, 0.92rem);
  font-weight: 600;
  color: var(--color-text);
  padding: 8px 4px;
  display: block;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent-orange);
}

/* ドロップダウンメニュー */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(90, 69, 64, 0.12);
  padding: 10px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 100;
  white-space: nowrap;
}

.dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 0.88rem;
  color: var(--color-text);
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: var(--color-bg-base);
  color: var(--color-accent-orange);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ヘッダー右側ボタン（電話・問い合わせ） */
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-header-tel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: clamp(0.84rem, 0.9vw, 0.95rem);
  font-weight: 700;
  color: var(--color-text);
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-text);
  background: #FFFFFF;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-header-tel:hover {
  background: var(--color-bg-base);
}

.btn-header-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: clamp(0.84rem, 0.9vw, 0.95rem);
  font-weight: 700;
  color: #FFFFFF;
  background: var(--color-accent-orange);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 4px rgba(238, 107, 43, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-header-contact:hover {
  background: var(--color-accent-orange-dark);
}

/* ハンバーガーボタン（スマホ用） */
.btn-hamburger {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 110;
}

.btn-hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: var(--color-text);
  margin: 6px auto;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-hamburger.active span:nth-child(1),
.btn-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.btn-hamburger.active span:nth-child(2),
.btn-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.btn-hamburger.active span:nth-child(3),
.btn-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ==========================================================================
   メインビジュアル（ヒーローエリア）
   ========================================================================== */
.hero-slider-wrap {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background-color: #EFEAE2;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-catch-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(250, 247, 242, 0.95) 0%, rgba(250, 247, 242, 0.88) 48%, rgba(250, 247, 242, 0.5) 68%, rgba(250, 247, 242, 0) 100%);
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-catch-content {
  max-width: 760px;
  padding: 40px 20px 40px clamp(24px, 4.5vw, 60px);
}

.hero-tagline {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent-orange);
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  border: 1px solid rgba(238, 107, 43, 0.3);
  white-space: nowrap;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 2.7vw, 2.5rem);
  font-weight: 900;
  line-height: 1.4;
  color: var(--color-text-dark);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-title .hero-line {
  display: block;
}

.hero-title .hero-accent,
.hero-title span {
  color: var(--color-accent-orange);
}

.hero-subtext {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text);
  font-weight: 500;
}

/* 共通ユーティリティ：不自然な折り返し防止 */
.u-nowrap {
  display: inline-block;
  white-space: nowrap;
}

/* ==========================================================================
   紹介セクション（画像1のレイアウト忠実再現）
   ========================================================================== */
.section-intro {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.intro-overlap-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 70px;
}

/* 右側の建物写真 */
.intro-facility-photo {
  width: 58%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(90, 69, 64, 0.12);
  position: relative;
  z-index: 1;
}

.intro-facility-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* 写真の右下に配置される女の子イラスト */
.intro-girl-illust {
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 160px;
  z-index: 3;
  pointer-events: none;
}

.intro-girl-illust img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

/* 左側に重ねて配置する角丸テキストボックス（画像1再現） */
.intro-text-card {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 54%;
  background: #F3F7F4;
  border-radius: 20px;
  padding: 44px 38px;
  box-shadow: 0 8px 24px rgba(90, 69, 64, 0.08);
  z-index: 2;
}

.intro-badge-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent-orange);
  line-height: 1.4;
  margin-bottom: 8px;
}

.intro-badge-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--color-accent-orange);
  margin-bottom: 18px;
}

.intro-desc-lead {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.95;
  color: var(--color-text);
}

.intro-desc-lead strong {
  font-weight: 700;
  color: var(--color-text-dark);
}

/* ==========================================================================
   サービス一覧カード（画像1の下段レイアウト再現）
   ========================================================================== */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.service-card {
  border-radius: var(--radius-card);
  border: var(--border-thick);
  padding: 36px 32px 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(90, 69, 64, 0.12);
}

/* パステルブルー（児童発達支援） */
.service-card.type-kids {
  background-color: var(--color-pastel-blue);
}

/* パステルグリーン（放課後等デイサービス） */
.service-card.type-afterschool {
  background-color: var(--color-pastel-green);
}

/* 白いカプセル型見出しバッジ */
.service-card-pill {
  background: #FFFFFF;
  border-radius: var(--radius-pill);
  padding: 8px 36px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  box-shadow: 0 2px 6px rgba(90, 69, 64, 0.08);
  margin-bottom: 22px;
  display: inline-block;
  text-align: center;
}

.service-card-desc {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--color-text);
}

/* ==========================================================================
   支援内容・プログラムセクション（画像2・3再現）
   正円トリミング写真 ＋ 茶色太枠 ＋ カラーピルラベル
   ========================================================================== */
.section-features {
  padding: 80px 0;
  position: relative;
}

/* 丸写真グリッド配置 */
.circle-items-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  margin-bottom: 50px;
  position: relative;
}

.circle-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.circle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform 0.25s ease;
}

.circle-card:hover {
  transform: translateY(-4px);
}

/* 正円写真＋こげ茶太枠（画像2・3を完全再現） */
.circle-photo-frame {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: var(--border-circle);
  box-shadow: 0 8px 20px rgba(90, 69, 64, 0.12);
  background-color: #FFFFFF;
}

.circle-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.circle-card:hover .circle-photo-frame img {
  transform: scale(1.06);
}

/* 写真直下のパステル角丸ピルラベル */
.circle-pill-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
  padding: 8px 28px;
  border-radius: var(--radius-pill);
  margin-top: 14px;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(90, 69, 64, 0.08);
  min-width: 170px;
  text-align: center;
}

/* 各カラーピル */
.circle-pill-label.pill-blue { background-color: var(--color-pastel-blue); }
.circle-pill-label.pill-pink { background-color: var(--color-pastel-pink); }
.circle-pill-label.pill-yellow { background-color: var(--color-pastel-yellow); }
.circle-pill-label.pill-green { background-color: var(--color-pastel-green); }
.circle-pill-label.pill-purple { background-color: var(--color-pastel-purple); }

/* 装飾キャラクター（画像2の右下・画像3の装飾） */
.feature-deco-girl {
  position: absolute;
  right: 40px;
  bottom: 80px;
  width: 140px;
  pointer-events: none;
}

.feature-deco-boy {
  position: absolute;
  left: 30px;
  bottom: 80px;
  width: 140px;
  pointer-events: none;
}

/* 幾何学三角チップ装飾（画像3再現） */
.deco-triangles {
  position: absolute;
  right: 60px;
  bottom: 120px;
  width: 90px;
  height: 70px;
  pointer-events: none;
}

/* ==========================================================================
   ご利用のご案内セクション（画像4再現）
   ========================================================================== */
.section-guidance {
  padding: 85px 0 70px;
}

.guidance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 45px;
}

.guidance-card {
  background: #FFFFFF;
  border-radius: var(--radius-box);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 4px 14px rgba(90, 69, 64, 0.06);
  transition: all 0.25s ease;
  border: 1px solid rgba(90, 69, 64, 0.06);
}

.guidance-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(90, 69, 64, 0.12);
  border-color: var(--color-accent-orange);
}

.guidance-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  flex-shrink: 0;
}

.guidance-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-text);
  stroke-width: 1.6;
  fill: none;
}

.guidance-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
}

/* 運営会社クレジット（画像4の下部レイアウト） */
.company-credit-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 30px;
  border-top: 1px dashed rgba(90, 69, 64, 0.2);
}

.company-credit-logo {
  height: 48px;
  width: auto;
  border-radius: 6px;
}

.company-credit-text {
  font-size: 0.95rem;
  color: var(--color-text);
}

.company-credit-text a {
  color: var(--color-accent-orange);
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
  background-color: #F3ECE1;
  padding: 60px 0 24px;
  border-top: 2px solid rgba(90, 69, 64, 0.1);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-info-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-info-brand img {
  height: 50px;
  width: auto;
  border-radius: 6px;
}

.footer-address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 14px;
}

.footer-tel {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-tel:hover {
  color: var(--color-accent-orange);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
}

.footer-links-grid a {
  font-size: 0.9rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links-grid a:hover {
  color: var(--color-accent-orange);
  padding-left: 3px;
}

.footer-links-grid a::before {
  content: "›";
  font-weight: bold;
  color: var(--color-accent-orange);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(90, 69, 64, 0.15);
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.footer-bottom-notice {
  margin-bottom: 8px;
}

/* ==========================================================================
   ページ上部へ戻るボタン（画像2・3・4再現）
   ========================================================================== */
.btn-back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--color-accent-orange);
  color: var(--color-accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(238, 107, 43, 0.25);
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.btn-back-to-top:hover {
  background: var(--color-accent-orange);
  color: #FFFFFF;
  transform: translateY(-3px);
}

.btn-back-to-top svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

/* ==========================================================================
   下層ページ共通（ページヘッダー・パンくず・装飾）
   ========================================================================== */
.page-hero {
  background-color: #FAF4EB;
  padding: 44px 0 36px;
  text-align: center;
  border-bottom: 2px solid rgba(90, 69, 64, 0.08);
  position: relative;
  overflow: hidden;
}

.page-hero-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.breadcrumb-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.breadcrumb-list a:hover {
  color: var(--color-accent-orange);
  text-decoration: underline;
}

.breadcrumb-list .current {
  color: var(--color-text);
  font-weight: 700;
}

/* 下層ページ内のコンテンツブロック */
.page-content-section {
  padding: 70px 0;
}

.content-block {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 4px 16px rgba(90, 69, 64, 0.06);
  border: 1px solid rgba(90, 69, 64, 0.08);
}

.content-block-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-marker-yellow);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 6つの約束カード（aboutページ用） */
.promises-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.promise-card {
  background: #FAF7F2;
  border-radius: var(--radius-box);
  border-left: 6px solid var(--color-accent-orange);
  padding: 24px 22px;
}

.promise-num {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-accent-orange);
  margin-bottom: 4px;
}

.promise-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.promise-text {
  font-size: 0.94rem;
  line-height: 1.75;
}

/* タイムライン・1日の流れ */
.timeline-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
}

.timeline-tab-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-text);
  background: #FFFFFF;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.25s ease;
}

.timeline-tab-btn.active {
  background: var(--color-accent-orange);
  border-color: var(--color-accent-orange);
  color: #FFFFFF;
  box-shadow: 0 3px 8px rgba(238, 107, 43, 0.3);
}

.timeline-panel {
  display: none;
}

.timeline-panel.active {
  display: block;
}

.timeline-list {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 30px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 10px;
  width: 3px;
  background-color: var(--color-pastel-green);
}

.timeline-item {
  position: relative;
  margin-bottom: 26px;
  background: #FFFFFF;
  padding: 18px 24px;
  border-radius: var(--radius-box);
  border: 1px solid rgba(90, 69, 64, 0.1);
  box-shadow: 0 2px 8px rgba(90, 69, 64, 0.04);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent-orange);
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 0 2px var(--color-accent-orange);
}

.timeline-time {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-accent-orange);
  margin-bottom: 4px;
}

.timeline-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

/* 自信サイクル図（supportページ） */
.cycle-flow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 30px 20px;
  background: #FAF7F2;
  border-radius: var(--radius-card);
  margin: 30px 0;
}

.cycle-step-card {
  background: #FFFFFF;
  border: 2px solid var(--color-text);
  border-radius: 16px;
  padding: 16px 20px;
  text-align: center;
  min-width: 110px;
  box-shadow: 0 3px 8px rgba(90, 69, 64, 0.08);
}

.cycle-step-arrow {
  color: var(--color-accent-orange);
  font-size: 1.5rem;
  font-weight: 900;
}

/* ステップカード（flowページ用） */
.flow-step-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.flow-step-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 30px;
  border: 2px solid var(--color-text);
  box-shadow: 0 4px 12px rgba(90, 69, 64, 0.06);
}

.flow-step-badge {
  background: var(--color-accent-orange);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  padding: 12px 18px;
  border-radius: 12px;
  flex-shrink: 0;
  text-align: center;
  box-shadow: 0 3px 0 var(--color-accent-orange-shadow);
}

.flow-step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

/* 会社概要・事業所情報 テーブル */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border-radius: var(--radius-box);
  overflow: hidden;
  border: 1.5px solid rgba(90, 69, 64, 0.2);
}

.info-table th,
.info-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(90, 69, 64, 0.12);
  text-align: left;
}

.info-table th {
  background-color: #FAF4EB;
  font-weight: 700;
  color: var(--color-text-dark);
  width: 28%;
  white-space: nowrap;
}

.info-table td {
  background-color: #FFFFFF;
}

/* お問い合わせフォーム */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.form-label .badge-required {
  background: #E53E3E;
  color: #FFFFFF;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-label .badge-optional {
  background: #A0AEC0;
  color: #FFFFFF;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1.5px solid rgba(90, 69, 64, 0.25);
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--color-text);
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent-orange);
  box-shadow: 0 0 0 3px rgba(238, 107, 43, 0.2);
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
}

/* スマホ下部固定バー */
.mobile-fixed-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0 -2px 10px rgba(90, 69, 64, 0.1);
  padding: 8px 12px;
  z-index: 95;
  display: none;
  gap: 10px;
}

.mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.mobile-cta-tel {
  background: #FFFFFF;
  border: 1.5px solid var(--color-text);
  color: var(--color-text);
}

.mobile-cta-mail {
  background: var(--color-accent-orange);
  color: #FFFFFF;
}

/* ==========================================================================
   レスポンシブ共通グリッドクラス（下層ページ用）
   ========================================================================== */
.responsive-two-col {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: start;
}

.responsive-feature-col {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
}

.responsive-outdoor-col {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 36px;
  align-items: center;
}

.responsive-concept-col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: center;
}

.contact-tel-link {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  font-weight: 900;
  color: var(--color-text-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.map-frame-wrap {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(90, 69, 64, 0.15);
  box-shadow: 0 4px 14px rgba(90, 69, 64, 0.06);
  background: #EFEAE2;
}

/* ==========================================================================
   レスポンシブ対応
   ========================================================================== */
@media (max-width: 1080px) {
  .site-nav,
  .header-actions {
    display: none;
  }

  .btn-hamburger {
    display: block;
  }

  /* スマホナビ展開時 */
  .site-nav.mobile-open {
    display: block;
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: calc(100vh - 68px);
    height: calc(100dvh - 68px);
    background: #FFFFFF;
    padding: 24px 20px;
    overflow-y: auto;
    z-index: 99;
  }

  .site-nav.mobile-open .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .site-nav.mobile-open .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(90, 69, 64, 0.1);
  }

  .site-nav.mobile-open .nav-link {
    padding: 14px 8px;
    font-size: 1.05rem;
  }

  .site-nav.mobile-open .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    padding: 0 0 10px 16px;
    opacity: 1;
    visibility: visible;
  }

  /* ヒーロー */
  .hero-slider-wrap {
    height: 420px;
  }

  .hero-catch-content {
    padding: 30px 20px;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(1.65rem, 3.8vw, 2rem);
    line-height: 1.45;
  }

  /* 紹介セクション重ねレイアウト解除（縦並びへ） */
  .intro-overlap-wrap {
    flex-direction: column;
    align-items: center;
  }

  .intro-facility-photo {
    width: 100%;
    margin-bottom: -30px;
  }

  .intro-facility-photo img {
    height: 280px;
  }

  .intro-text-card {
    position: static;
    transform: none;
    width: 94%;
    padding: 30px 24px;
  }

  .intro-girl-illust {
    right: 10px;
    bottom: -30px;
    width: 110px;
  }

  /* サービスカード縦並び */
  .service-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 円形カード */
  .circle-row {
    gap: 24px;
  }

  .circle-photo-frame {
    width: 160px;
    height: 160px;
  }

  .circle-pill-label {
    min-width: 140px;
    font-size: 0.95rem;
    padding: 6px 18px;
  }

  .feature-deco-girl,
  .feature-deco-boy {
    display: none;
  }

  /* ご利用案内 */
  .guidance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* フッター */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* スマホ下部固定バー */
  .mobile-fixed-cta {
    display: flex;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  }

  /* ページトップボタンと下部バーの重なり防止 */
  .btn-back-to-top {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px) + 12px);
    right: 16px;
    width: 46px;
    height: 46px;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 768px) {
  /* ヒーローエリア（タブレット〜スマホ共通：画像視認性向上） */
  .hero-catch-overlay {
    background: linear-gradient(
      180deg,
      rgba(250, 247, 242, 0.70) 0%,
      rgba(250, 247, 242, 0.48) 50%,
      rgba(250, 247, 242, 0.20) 80%,
      rgba(250, 247, 242, 0.05) 100%
    );
  }

  .hero-title {
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95), 0 0 12px rgba(255, 255, 255, 0.85);
  }

  .hero-subtext {
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95), 0 0 8px rgba(255, 255, 255, 0.85);
  }

  /* 下層ページの2カラムグリッドを縦積みに統一 */
  .responsive-two-col,
  .responsive-feature-col,
  .responsive-outdoor-col,
  .responsive-concept-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .responsive-feature-col {
    text-align: center;
  }

  .responsive-feature-col > div:last-child {
    text-align: left;
  }

  .responsive-concept-col > div:last-child {
    text-align: center;
  }

  /* 自信のサイクル（矢印を非表示にしてカードグリッド化） */
  .cycle-flow-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px 14px;
  }

  .cycle-step-arrow {
    display: none;
  }

  .cycle-step-card {
    min-width: 0;
    padding: 14px 10px;
  }

  /* 会社クレジットボックス縦並び */
  .company-credit-box {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* 下層ページコンテンツブロックのスマホ余白最適化 */
  .content-block {
    padding: 24px 16px;
    border-radius: 16px;
    margin-bottom: 24px;
  }

  .content-block-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 16px;
  }

  .page-content-section {
    padding: 40px 0;
  }

  .page-hero {
    padding: 32px 0 24px;
  }

  .page-hero-title {
    font-size: 1.6rem;
  }

  /* ヒーローエリア（スマホ表示：画像がしっかり見えるよう透明度を調整） */
  .hero-slider-wrap {
    height: 440px;
  }

  .hero-catch-overlay {
    background: linear-gradient(
      180deg,
      rgba(250, 247, 242, 0.65) 0%,
      rgba(250, 247, 242, 0.42) 50%,
      rgba(250, 247, 242, 0.15) 80%,
      rgba(250, 247, 242, 0.05) 100%
    );
  }

  .hero-title {
    font-size: 1.35rem;
    line-height: 1.45;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95), 0 0 12px rgba(255, 255, 255, 0.85);
  }

  .hero-subtext {
    font-size: 0.9rem;
    line-height: 1.75;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95), 0 0 8px rgba(255, 255, 255, 0.85);
  }

  /* 施設写真とイラストの調整 */
  .intro-facility-photo img {
    height: 220px;
  }

  .intro-text-card {
    width: 100%;
    padding: 24px 18px;
  }

  .intro-girl-illust {
    right: 8px;
    bottom: -20px;
    width: 90px;
  }

  /* 円形カード（2列で美しく収まるサイズ） */
  .circle-row {
    gap: 16px 12px;
  }

  .circle-photo-frame {
    width: 130px;
    height: 130px;
  }

  .circle-pill-label {
    min-width: 0;
    max-width: 160px;
    font-size: 0.82rem;
    padding: 5px 10px;
    margin-top: 10px;
    line-height: 1.4;
  }

  /* サービスカード */
  .service-card {
    padding: 24px 18px;
  }

  .service-card-pill {
    font-size: 1.05rem;
    padding: 6px 20px;
    margin-bottom: 16px;
  }

  /* ご利用案内 */
  .guidance-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .guidance-card {
    padding: 18px 16px;
  }

  /* フローカード */
  .flow-step-card {
    flex-direction: column;
    gap: 14px;
    padding: 20px 18px;
  }

  .flow-step-badge {
    align-self: flex-start;
    padding: 8px 14px;
    font-size: 0.95rem;
  }

  .flow-step-title {
    font-size: 1.15rem;
  }

  /* 約束カード */
  .promises-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .promise-card {
    padding: 20px 18px;
  }

  /* 1日の流れ タブ */
  .timeline-tabs {
    flex-direction: column;
    gap: 10px;
  }

  .timeline-tab-btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    text-align: center;
  }

  .timeline-list {
    padding-left: 24px;
  }

  .timeline-item {
    padding: 16px 18px;
  }

  /* 事業所情報・会社概要テーブルのカードブロック化（スマホ視認性向上） */
  .info-table {
    display: block;
    border: none;
    background: transparent;
    margin: 16px 0;
  }

  .info-table tbody {
    display: block;
  }

  .info-table tr {
    display: block;
    margin-bottom: 12px;
    border: 1.5px solid rgba(90, 69, 64, 0.15);
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 2px 6px rgba(90, 69, 64, 0.04);
  }

  .info-table th {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(90, 69, 64, 0.1);
    background-color: #FAF4EB;
    white-space: normal;
    color: var(--color-text-dark);
  }

  .info-table td {
    display: block;
    width: 100%;
    padding: 12px 14px;
    font-size: 0.92rem;
    border-bottom: none;
    line-height: 1.7;
  }

  /* 地図コンテナの高さ最適化 */
  .map-frame-wrap {
    height: 280px;
  }

  /* ボタン */
  .btn-orange-pill {
    padding: 12px 28px;
    font-size: 1rem;
    max-width: 100%;
  }
}

@media (max-width: 400px) {
  .cycle-flow-wrap {
    grid-template-columns: 1fr;
  }

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

  .header-sub {
    font-size: 0.65rem;
  }

  .header-title {
    font-size: 1.02rem;
  }
}
