/* ===================================================
   師崎地域振興有限会社 — メインスタイルシート
   コンセプト: ネイビー × ホワイト / 親しみやすいプロフェッショナル
   モバイルファースト / レスポンシブ対応
=================================================== */

/* ---------- デザイントークン ---------- */
:root {
  --navy:       #0b2545;
  --navy-mid:   #1a3a5c;
  --navy-lt:    #2e5f8a;
  --blue:       #1a56db;
  --blue-h:     #1446c1;
  --blue-lt:    #dbeafe;
  --white:      #ffffff;
  --bg:         #f5f7fa;
  --border:     #e2e8f0;
  --text:       #1a2e45;
  --text-md:    #4a6080;
  --text-lt:    #8aa0bc;
  --gold:       #f59e0b;
  --success:    #059669;

  --shadow-xs:  0 1px 3px rgba(11,37,69,.07);
  --shadow-sm:  0 2px 10px rgba(11,37,69,.09);
  --shadow-md:  0 8px 28px rgba(11,37,69,.12);
  --shadow-lg:  0 20px 56px rgba(11,37,69,.16);

  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  22px;
  --ease:       cubic-bezier(.4,0,.2,1);
  --dur:        .22s;
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--blue-h); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ---------- コンテナ ---------- */
.container { width: min(100% - 40px, 1100px); margin-inline: auto; }

/* ======================================================
   HEADER
====================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(11,37,69,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 12px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__icon {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(11,37,69,.28);
}

.site-logo__text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.site-logo__sub {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--text-lt);
  letter-spacing: .06em;
  margin-top: 1px;
}

.global-nav { display: none; }

.global-nav ul { display: flex; gap: 2px; align-items: center; }

.global-nav a {
  display: block;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-md);
  white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.global-nav a:hover  { background: var(--bg); color: var(--navy); }
.global-nav a.is-active { color: var(--blue); background: var(--blue-lt); }

.btn-contact-header {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--navy);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(11,37,69,.22);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn-contact-header:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(11,37,69,.3);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  z-index: 99;
  padding: 12px 20px 24px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-md);
}
.mobile-nav a:hover { background: var(--bg); color: var(--navy); }
.mobile-nav .btn-contact-mobile {
  display: block;
  margin-top: 12px;
  padding: 13px;
  text-align: center;
  background: var(--navy);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ======================================================
   ヒーローセクション（フル幅背景画像）
====================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 88px;
  /* 背景画像：自然な握手・コラボレーション写真 */
  background:
    linear-gradient(135deg,
      rgba(11,37,69,.88) 0%,
      rgba(26,58,92,.80) 50%,
      rgba(11,37,69,.70) 100%),
    url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=1600&q=80&auto=format&fit=crop')
    center / cover no-repeat;
  min-height: 560px;
  display: flex;
  align-items: center;
}

/* 装飾的なサークル */
.hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,219,.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  letter-spacing: .08em;
  margin-bottom: 22px;
}
.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #60a5fa;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(96,165,250,.5); }
  50%       { box-shadow: 0 0 0 5px rgba(96,165,250,0); }
}

.hero__title {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero__title em { font-style: normal; color: #93c5fd; }

.hero__desc {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  line-height: 1.85;
  max-width: 500px;
  margin-bottom: 36px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 実績バッジ */
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 52px;
  padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}
.hero-badge__num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-badge__label {
  font-size: 0.7rem;
  color: rgba(255,255,255,.6);
  line-height: 1.4;
}

/* ======================================================
   ボタン（共通）
====================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: .02em;
  transition: all var(--dur) var(--ease);
  border: 2px solid transparent;
  text-decoration: none;
  min-height: 48px;
  cursor: pointer;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(26,86,219,.32);
}
.btn-primary:hover {
  background: var(--blue-h);
  color: var(--white);
  border-color: var(--blue-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,86,219,.42);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border-color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 18px rgba(0,0,0,.16);
  transition: all var(--dur) var(--ease);
  min-height: 52px;
}
.btn-cta-white:hover {
  background: var(--blue-lt);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.2);
}

/* ======================================================
   セクション共通
====================================================== */
.section { padding: 88px 0; }
.section--alt { background: var(--bg); }
.section--white { background: var(--white); }
.section--dark { background: var(--navy); }

.section-header { text-align: center; margin-bottom: 60px; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-eyebrow--light { color: #93c5fd; }

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-title--light { color: var(--white); }

.section-desc {
  font-size: .95rem;
  color: var(--text-md);
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.8;
}
.section-desc--light { color: rgba(255,255,255,.65); }

/* ======================================================
   サービスカード
====================================================== */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--navy-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); border-color: #c8d4e8; }
.card:hover::after { transform: scaleX(1); }

.card__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--blue-lt), #bfdbfe);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.card__title {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.card__desc {
  font-size: 0.85rem;
  color: var(--text-md);
  line-height: 1.78;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  transition: gap var(--dur) var(--ease);
}
.card:hover .card__link { gap: 10px; }

/* ======================================================
   画像付きセクション（スプリット）
====================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.split__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}
.split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.split__img:hover img { transform: scale(1.04); }

.split__eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.split__title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 16px;
}
.split__desc {
  font-size: 0.9rem;
  color: var(--text-md);
  line-height: 1.85;
  margin-bottom: 20px;
}
/* 画像を右に配置する逆レイアウト（PC時） */
.split--rev .split__img { order: 2; }
.split--rev .split__body { order: 1; }

/* リスト（チェックマーク付き） */
.split__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.split__list li {
  padding-left: 22px;
  position: relative;
  font-size: 0.86rem;
  color: var(--text-md);
  line-height: 1.65;
}
.split__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}
.check-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.check-list li {
  display: flex;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-md);
  line-height: 1.6;
}
.check-list li::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: var(--navy);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ======================================================
   実績数値バナー
====================================================== */
.stats-bar {
  background: var(--navy);
  padding: 52px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.stat-item:nth-child(2n) { border-right: none; }
.stat-item:nth-last-child(-n+2) { border-bottom: none; }

.stat-item__num {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item__num span { font-size: .55em; font-weight: 700; }
.stat-item__label {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}

/* ======================================================
   写真ギャラリー風（地域感）
====================================================== */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
/* 2枚横並びレイアウト */
.photo-grid--two {
  grid-template-columns: 1fr 1fr;
  max-width: 800px;
  margin: 0 auto;
}
.photo-grid__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-sm);
}
.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.photo-grid__item:hover img { transform: scale(1.06); }
.photo-grid__item--tall { aspect-ratio: 1 / 2; }
/* 左側の大きいアイテム（PC: 2行分） */
.photo-grid__item--lg {
  grid-row: span 2;
  aspect-ratio: auto;
}
/* キャプション */
.photo-grid__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 8px 12px;
  background: linear-gradient(to top, rgba(11,37,69,.75) 0%, transparent 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .05em;
}

/* ======================================================
   強みリスト
====================================================== */
.strength-list { display: grid; grid-template-columns: 1fr; gap: 16px; }
.strength-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.strength-item:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); }
.strength-item__num {
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: var(--white);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.strength-item__title { font-size: .94rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.strength-item__desc { font-size: .83rem; color: var(--text-md); line-height: 1.7; }

/* ======================================================
   CTAバナー
====================================================== */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(11,37,69,.91) 0%, rgba(26,58,92,.86) 100%),
    url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1600&q=80&auto=format&fit=crop')
    center / cover no-repeat;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.cta-banner__desc {
  font-size: .95rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 36px;
  line-height: 1.8;
}

/* ======================================================
   テーブル
====================================================== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border);
}
.info-table th, .info-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th {
  width: 160px;
  font-weight: 700;
  color: var(--navy);
  background: var(--bg);
  font-size: .8rem;
  white-space: nowrap;
}
.info-table td { color: var(--text-md); }

/* ======================================================
   ページヒーロー（サブページ）
====================================================== */
.page-hero {
  background:
    linear-gradient(135deg, rgba(11,37,69,.9) 0%, rgba(26,58,92,.85) 100%),
    url('https://images.unsplash.com/photo-1554774853-aae0a22c8aa4?w=1200&q=80&auto=format&fit=crop')
    center / cover no-repeat;
  padding: 60px 0 52px;
  position: relative;
}
.page-hero > * { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  font-size: .74rem;
  color: rgba(255,255,255,.45);
}
.breadcrumb a { color: rgba(255,255,255,.45); }
.breadcrumb a:hover { color: rgba(255,255,255,.8); }
.breadcrumb span { color: rgba(255,255,255,.6); }

.page-hero__label {
  font-size: .7rem;
  font-weight: 700;
  color: #60a5fa;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.page-hero__title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.page-hero__desc {
  font-size: .95rem;
  color: rgba(255,255,255,.65);
  max-width: 520px;
  line-height: 1.8;
}

/* ======================================================
   お問い合わせフォーム
====================================================== */
.contact-form { max-width: 640px; margin: 0 auto; }
.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-label .required {
  font-size: .68rem;
  color: #dc2626;
  margin-left: 6px;
  font-weight: 700;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  min-height: 48px;
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,.12);
}
.form-textarea { min-height: 150px; resize: vertical; }
.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  min-height: 52px;
  box-shadow: 0 4px 14px rgba(11,37,69,.22);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form-submit:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(11,37,69,.3);
}

/* ======================================================
   地図
====================================================== */
.map-wrapper { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.map-wrapper iframe { display: block; width: 100%; height: 300px; border: none; }

/* ======================================================
   フッター
====================================================== */
.site-footer { background: var(--navy); }

.footer-top {
  padding: 64px 0 52px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 40px; }

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand__icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.14);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
}
.footer-brand__name { font-size: .9rem; font-weight: 700; color: var(--white); }
.footer-brand__desc { font-size: .8rem; line-height: 1.85; color: rgba(255,255,255,.5); }
.footer-brand__lic {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  font-size: .7rem;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
}

.footer-nav__title {
  font-size: .7rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.footer-nav a:hover { color: rgba(255,255,255,.9); padding-left: 4px; }

.footer-bottom {
  padding: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: center;
  font-size: .72rem;
  color: rgba(255,255,255,.32);
}

/* ======================================================
   フェードインアニメーション
====================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* ======================================================
   チャットボット
====================================================== */
.chatbot-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(11,37,69,.42);
  cursor: pointer;
  z-index: 200;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.chatbot-fab:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 8px 32px rgba(11,37,69,.5); }

.chatbot-window {
  position: fixed;
  bottom: 98px;
  right: 20px;
  width: calc(100vw - 40px);
  max-width: 380px;
  height: 530px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 200;
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(16px) scale(.97);
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.chatbot-window.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }

.chatbot-header {
  background: var(--navy);
  color: var(--white);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.chatbot-header__info { display: flex; align-items: center; gap: 10px; }
.chatbot-header__avatar {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  border: 1.5px solid rgba(255,255,255,.2);
}
.chatbot-header__name { font-size: .88rem; font-weight: 700; }
.chatbot-header__status { font-size: .7rem; opacity: .6; margin-top: 1px; }
.chatbot-header__actions { display: flex; gap: 6px; align-items: center; }

.lang-btn {
  padding: 3px 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 5px;
  color: rgba(255,255,255,.8);
  font-size: .68rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .04em;
  transition: background var(--dur) var(--ease);
}
.lang-btn:hover, .lang-btn.is-active { background: rgba(255,255,255,.28); color: var(--white); }

.chatbot-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 5px;
  transition: background var(--dur) var(--ease);
}
.chatbot-close:hover { background: rgba(255,255,255,.12); color: var(--white); }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
}

.msg { display: flex; gap: 8px; align-items: flex-end; }
.msg--bot .msg__bubble {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 16px 16px 16px 4px;
  padding: 10px 14px;
  font-size: .82rem;
  line-height: 1.65;
  max-width: 82%;
  box-shadow: var(--shadow-xs);
}
.msg--user { flex-direction: row-reverse; }
.msg--user .msg__bubble {
  background: var(--navy);
  color: var(--white);
  border-radius: 16px 16px 4px 16px;
  padding: 10px 14px;
  font-size: .82rem;
  line-height: 1.65;
  max-width: 82%;
}
.msg__avatar {
  width: 26px;
  height: 26px;
  background: var(--blue-lt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.chatbot-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 8px 14px 10px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.choice-btn {
  padding: 7px 13px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--text-md);
  cursor: pointer;
  font-family: inherit;
  min-height: 34px;
  transition: all var(--dur) var(--ease);
}
.choice-btn:hover { background: var(--blue-lt); border-color: #93c5fd; color: var(--blue); }

.chatbot-input {
  border-top: 1px solid var(--border);
  padding: 12px 14px;
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  background: var(--white);
}
.chatbot-input input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: .82rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  outline: none;
  min-height: 44px;
  transition: border-color var(--dur) var(--ease);
}
.chatbot-input input:focus { border-color: var(--blue); background: var(--white); }
.chatbot-send {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.chatbot-send:hover { background: var(--navy-mid); transform: scale(1.06); }

/* ======================================================
   規程ページ
====================================================== */
.regulation-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-xs);
}
.regulation-block h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--blue-lt);
  color: var(--navy);
}
.regulation-block p, .regulation-block li {
  font-size: .87rem;
  color: var(--text-md);
  line-height: 1.85;
}
.regulation-block ul { padding-left: 20px; margin-top: 10px; }
.regulation-block ul li { list-style: disc; margin-bottom: 6px; }
.regulation-block .article { margin-bottom: 20px; }
.regulation-block .article h3 { font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }

/* ======================================================
   レスポンシブ（768px以上）
====================================================== */
@media (min-width: 768px) {
  .global-nav { display: flex; align-items: center; gap: 8px; }
  .btn-contact-header { display: inline-flex; }
  .hamburger { display: none; }
  .mobile-nav { display: none !important; }

  .hero { padding: 112px 0 100px; }
  .hero-inner { flex-direction: row; align-items: center; }
  .hero__content { flex: 1; }
  .hero__visual { flex: 0 0 400px; }

  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .strength-list { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-item:nth-child(2n) { border-right: 1px solid rgba(255,255,255,.1); }
  .stat-item:nth-last-child(-n+4) { border-bottom: none; }
  .photo-grid { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; }

  .footer-inner { grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .map-wrapper iframe { height: 420px; }
}

@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .strength-list { grid-template-columns: repeat(3, 1fr); }
}
