/* ===================================================
   髙田社会保険労務士事務所 - メインスタイルシート
   =================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Poppins:wght@400;500;600;700&display=swap');

/* --- CSS カスタムプロパティ --- */
:root {
  --primary:    #2A7BA1;
  --primary-dark: #1e5f80;
  --primary-light: #3d9bc4;
  --bg-sky:     #E8F4FD;
  --accent:     #E8735A;
  --accent-dark: #d45c42;
  --mint:       #F0FAF7;
  --slate:      #3D5166;
  --mid-gray:   #5A7080;
  --white:      #FFFFFF;
  --near-white: #F7FBFE;
  --border:     #D0E8F5;
  --text:       #333340;
  --shadow-sm:  0 2px 8px rgba(42,123,161,0.08);
  --shadow-md:  0 4px 20px rgba(42,123,161,0.14);
  --shadow-lg:  0 8px 40px rgba(42,123,161,0.18);
  --radius:     8px;
  --radius-lg:  16px;
  --transition: 0.25s ease;
}

/* --- リセット・ベース --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'YuGothic', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- ローディング画面 --- */
#loading-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loading-screen.hidden { opacity: 0; visibility: hidden; }
.loading-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: var(--primary);
  letter-spacing: 0.1em;
  animation: loadingFadeIn 0.8s ease forwards;
}
.loading-text {
  font-size: 1.4rem; font-weight: 700;
  color: var(--slate);
  animation: loadingFadeIn 0.8s 0.2s ease both;
}
.loading-bar {
  width: 120px; height: 3px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  animation: loadingFadeIn 0.8s 0.3s ease both;
}
.loading-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 0;
  background: var(--primary);
  animation: loadingProgress 0.8s 0.4s ease forwards;
}
@keyframes loadingFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes loadingProgress { from { width: 0; } to { width: 100%; } }

/* --- ヘッダー --- */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo a {
  display: flex; flex-direction: column; line-height: 1.2;
}
.logo-en {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem; font-weight: 500;
  color: var(--mid-gray); letter-spacing: 0.12em;
}
.logo-ja {
  font-size: 1rem; font-weight: 700;
  color: var(--slate); letter-spacing: 0.06em;
}
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-size: 0.82rem; font-weight: 500;
  color: var(--mid-gray);
  padding: 6px 10px; border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a.active { color: var(--primary); background: var(--bg-sky); }
.header-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: var(--white) !important;
  padding: 8px 16px !important; border-radius: 50px !important;
  font-size: 0.82rem !important; font-weight: 700 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.header-cta:hover { background: var(--accent-dark) !important; transform: translateY(-1px) !important; }

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 32px; padding: 4px; cursor: pointer;
}
.hamburger span {
  display: block; height: 2px; background: var(--slate);
  border-radius: 2px; transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルメニュー */
#mobile-menu {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  z-index: 999;
  padding: 32px 24px;
  overflow-y: auto;
  flex-direction: column; gap: 8px;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  display: block; padding: 14px 16px;
  font-size: 1rem; font-weight: 500;
  color: var(--slate); border-radius: var(--radius);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
#mobile-menu a:hover { background: var(--bg-sky); }
#mobile-menu .mobile-cta {
  margin-top: 16px;
  background: var(--accent); color: var(--white) !important;
  text-align: center; border-radius: 50px !important;
  border-bottom: none !important; font-weight: 700 !important;
}

/* --- ページヘッダー（下層ページ） --- */
.page-hero {
  padding: 130px 24px 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
}
.page-hero-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 1rem; color: rgba(255,255,255,0.85);
  max-width: 600px; margin: 0 auto;
}
.page-hero.coral { background: linear-gradient(135deg, var(--accent) 0%, #c95840 100%); }

/* パンくず */
.breadcrumb {
  background: var(--near-white);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
}
.breadcrumb-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; gap: 8px; align-items: center;
  font-size: 0.78rem; color: var(--mid-gray);
}
.breadcrumb-inner a { color: var(--primary); }
.breadcrumb-inner span { color: var(--border); }

/* アンカーナビゲーション */
.anchor-nav {
  background: var(--bg-sky);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 72px; z-index: 100;
  overflow-x: auto;
}
.anchor-nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  display: flex; gap: 4px; align-items: stretch;
  white-space: nowrap;
}
.anchor-nav a {
  display: inline-block;
  padding: 14px 16px;
  font-size: 0.82rem; font-weight: 500;
  color: var(--mid-gray);
  border-bottom: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.anchor-nav a:hover, .anchor-nav a.active {
  color: var(--primary); border-bottom-color: var(--primary);
}

/* --- セクション共通 --- */
.section { padding: 80px 24px; }
.section-sm { padding: 48px 24px; }
.section-alt { background: var(--bg-sky); }
.section-mint { background: var(--mint); }
.section-dark { background: var(--slate); color: var(--white); }
.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 860px; margin: 0 auto; }
.section-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700; line-height: 1.35;
  color: var(--slate);
  margin-bottom: 16px;
}
.section-title span { color: var(--primary); }
.section-lead {
  font-size: 1rem; color: var(--mid-gray);
  max-width: 640px; line-height: 1.8;
  margin-bottom: 48px;
}
.text-center { text-align: center; }
.text-center .section-lead { margin: 0 auto 48px; }

/* --- スクロールフェードイン --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* スタッガー遅延 */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* --- ボタン --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  letter-spacing: 0.04em;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--primary); color: var(--white);
  box-shadow: 0 4px 16px rgba(42,123,161,0.3);
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 6px 24px rgba(42,123,161,0.4); }
.btn-accent {
  background: var(--accent); color: var(--white);
  box-shadow: 0 4px 16px rgba(232,115,90,0.3);
}
.btn-accent:hover { background: var(--accent-dark); box-shadow: 0 6px 24px rgba(232,115,90,0.4); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-sm { padding: 10px 24px; font-size: 0.85rem; }

/* --- カード --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: scale(1.025); box-shadow: var(--shadow-lg); }
.card-body { padding: 28px; }
.card-icon {
  width: 52px; height: 52px;
  background: var(--bg-sky);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}
.card-title {
  font-size: 1.05rem; font-weight: 700;
  color: var(--slate); margin-bottom: 8px;
}
.card-text { font-size: 0.88rem; color: var(--mid-gray); line-height: 1.7; }

/* --- グリッド --- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

/* --- ヒーローセクション --- */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 100px 24px 60px;
  background: linear-gradient(135deg, #0d4a6b 0%, #1a6a94 40%, #2A7BA1 70%, #4fa3cc 100%);
  background-size: 400% 400%;
  animation: heroGradient 8s ease infinite;
}
@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
}
#hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0; height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-content { color: var(--white); }
.hero-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.hero-label::before {
  content: '';
  display: block; width: 24px; height: 2px;
  background: rgba(255,255,255,0.5);
}
.hero-h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700; line-height: 1.3;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.hero-h1 .accent { color: #ffd166; }
.hero-body {
  font-size: 0.95rem; line-height: 1.9;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image {
  position: relative;
}
.hero-image img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  width: 100%; object-fit: cover; height: 440px;
}
.hero-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--white);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
}
.hero-badge-icon {
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.hero-badge-text { line-height: 1.3; }
.hero-badge-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--slate);
}
.hero-badge-label { font-size: 0.72rem; color: var(--mid-gray); }

/* --- 実績カウンター --- */
#stats {
  background: var(--white);
  padding: 60px 24px;
  position: relative;
}
.stats-grid {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center; padding: 32px 24px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700; color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num .suffix { font-size: 1.2rem; }
.stat-label { font-size: 0.85rem; color: var(--mid-gray); line-height: 1.5; }

/* --- 3大強みセクション --- */
.strengths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.strength-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
}
.strength-card:hover { transform: scale(1.025); box-shadow: var(--shadow-lg); }
.strength-num {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem; font-weight: 700;
  color: var(--bg-sky); line-height: 1;
  margin-bottom: -8px;
}
.strength-title {
  font-size: 1.1rem; font-weight: 700;
  color: var(--slate); margin-bottom: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.strength-text { font-size: 0.88rem; color: var(--mid-gray); line-height: 1.8; }
.strength-highlight {
  display: inline-block; margin-top: 12px;
  background: var(--bg-sky);
  color: var(--primary); font-weight: 700;
  font-size: 1.05rem; padding: 4px 12px; border-radius: 50px;
}

/* --- 助成金バナー --- */
.subsidy-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #d45c42 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  position: relative; overflow: hidden;
}
.subsidy-banner::before {
  content: '¥';
  position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
  font-family: 'Poppins', sans-serif;
  font-size: 12rem; font-weight: 700;
  color: rgba(255,255,255,0.06);
  line-height: 1;
}
.subsidy-banner-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700; margin-bottom: 8px;
}
.subsidy-banner-sub { font-size: 0.9rem; opacity: 0.85; margin-bottom: 28px; }
.subsidy-scenes {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 28px;
}
.subsidy-scene {
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.subsidy-scene-icon { font-size: 1.8rem; margin-bottom: 8px; }
.subsidy-scene-label { font-size: 0.78rem; font-weight: 500; line-height: 1.4; margin-bottom: 4px; }
.subsidy-scene-amount {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem; font-weight: 700; opacity: 0.9;
}

/* --- 業務グリッド --- */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}
.service-card:hover {
  transform: scale(1.025); box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.service-card-icon {
  font-size: 2.2rem; margin-bottom: 12px;
  display: block;
}
.service-card-title {
  font-size: 0.88rem; font-weight: 700;
  color: var(--slate); line-height: 1.4;
  margin-bottom: 8px;
}
.service-card-text { font-size: 0.78rem; color: var(--mid-gray); line-height: 1.6; }

/* --- 無料サービス6つ --- */
.free-services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.free-service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  display: flex; gap: 16px; align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition);
}
.free-service-card:hover { transform: scale(1.025); box-shadow: var(--shadow-md); }
.free-service-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem; font-weight: 700;
}
.free-service-title { font-size: 0.9rem; font-weight: 700; color: var(--slate); margin-bottom: 4px; }
.free-service-text { font-size: 0.8rem; color: var(--mid-gray); }

/* --- 代表紹介テザー --- */
.rep-teaser {
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
  max-width: 900px; margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.rep-photo {
  width: 180px; height: 220px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  background: var(--bg-sky);
}
.rep-photo-placeholder {
  width: 180px; height: 220px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-sky) 0%, var(--border) 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
}
.rep-photo-placeholder span { font-size: 3rem; }
.rep-photo-placeholder p { font-size: 0.75rem; color: var(--mid-gray); }
.rep-label {
  font-size: 0.75rem; color: var(--primary); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px;
}
.rep-name {
  font-size: 1.6rem; font-weight: 700;
  color: var(--slate); margin-bottom: 4px;
}
.rep-name-en {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem; color: var(--mid-gray); margin-bottom: 16px;
}
.rep-bio { font-size: 0.88rem; color: var(--mid-gray); line-height: 1.8; margin-bottom: 20px; }

/* --- ニュース --- */
.news-list { display: flex; flex-direction: column; gap: 1px; }
.news-item {
  display: flex; gap: 24px; align-items: center;
  padding: 20px 24px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.news-item:hover { background: var(--bg-sky); }
.news-date {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem; color: var(--mid-gray);
  flex-shrink: 0; min-width: 100px;
}
.news-tag {
  flex-shrink: 0;
  background: var(--bg-sky); color: var(--primary);
  font-size: 0.7rem; font-weight: 600;
  padding: 3px 10px; border-radius: 50px;
  border: 1px solid var(--border);
}
.news-title { font-size: 0.9rem; color: var(--slate); }

/* --- CTAセクション --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 24px;
  text-align: center;
  color: var(--white);
}
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: 12px; }
.cta-section p { font-size: 1rem; opacity: 0.85; margin-bottom: 32px; }
.cta-tel {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem; font-weight: 700;
  color: var(--white); margin-bottom: 8px;
}
.cta-tel-label { font-size: 0.8rem; opacity: 0.7; margin-bottom: 24px; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* --- スティッキーCTA --- */
#sticky-cta {
  position: fixed; bottom: 32px; right: 32px; z-index: 800;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
  opacity: 0; pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
#sticky-cta.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.sticky-cta-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--white);
  padding: 14px 24px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 700;
  box-shadow: 0 4px 20px rgba(232,115,90,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.sticky-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(232,115,90,0.5); }
.sticky-cta-tel {
  background: var(--white); color: var(--primary) !important;
  border: 2px solid var(--primary);
}
.sticky-cta-tel:hover { background: var(--bg-sky); }

/* --- フッター --- */
#site-footer {
  background: var(--slate);
  color: rgba(255,255,255,0.8);
  padding: 60px 24px 32px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-logo-ja {
  font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 4px;
}
.footer-logo-en {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem; color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em; margin-bottom: 16px;
}
.footer-info { font-size: 0.82rem; line-height: 2; }
.footer-info a { color: rgba(255,255,255,0.8); }
.footer-nav-title {
  font-size: 0.8rem; font-weight: 700;
  color: var(--white); margin-bottom: 16px;
  padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-nav-list { display: flex; flex-direction: column; gap: 8px; }
.footer-nav-list a {
  font-size: 0.82rem; color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-nav-list a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--white); }

/* --- テーブル --- */
.data-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table th {
  background: var(--primary);
  color: var(--white);
  padding: 12px 16px;
  text-align: left; font-weight: 600;
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.data-table tr:nth-child(odd) td { background: var(--mint); }
.data-table tr:nth-child(even) td { background: var(--bg-sky); }
.data-table tr:hover td { background: #daeef9; }

/* 定義テーブル（事務所概要など） */
.def-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.def-table th {
  width: 180px; background: var(--bg-sky);
  color: var(--slate); font-weight: 600;
  padding: 16px 20px;
  border: 1px solid var(--border); vertical-align: top;
}
.def-table td {
  padding: 16px 20px;
  border: 1px solid var(--border);
  background: var(--white);
}

/* --- アコーディオン（FAQ・チェックリスト） --- */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden; margin-bottom: 8px;
}
.accordion-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; background: var(--white);
  cursor: pointer; font-weight: 600; color: var(--slate);
  transition: background var(--transition);
}
.accordion-header:hover { background: var(--bg-sky); }
.accordion-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 2px solid var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1rem; font-weight: 300;
  transition: transform 0.3s ease;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--near-white);
}
.accordion-body-inner {
  padding: 20px 24px;
  font-size: 0.9rem; color: var(--mid-gray); line-height: 1.8;
}

/* --- アイコンリスト --- */
.icon-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.icon-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.9rem; color: var(--mid-gray); line-height: 1.7;
}
.icon-list li::before {
  content: '◆';
  color: var(--primary); flex-shrink: 0;
  margin-top: 2px; font-size: 0.7rem;
}

/* --- チェックリスト --- */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.9rem; padding: 12px 16px;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border);
}
.check-list li::before {
  content: '□';
  font-size: 1rem; flex-shrink: 0;
  color: var(--accent);
}

/* --- ステップフロー --- */
.steps-flow {
  display: flex; gap: 0; position: relative;
  counter-reset: step;
}
.steps-flow::before {
  content: '';
  position: absolute; top: 28px; left: 28px; right: 28px; height: 2px;
  background: var(--border); z-index: 0;
}
.step-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 12px; position: relative; z-index: 1;
}
.step-num {
  width: 56px; height: 56px;
  background: var(--primary); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  margin-bottom: 16px; border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.step-title { font-size: 0.88rem; font-weight: 700; color: var(--slate); margin-bottom: 6px; }
.step-text { font-size: 0.78rem; color: var(--mid-gray); line-height: 1.6; }

/* --- 事例カード --- */
.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  transition: transform var(--transition), box-shadow var(--transition);
}
.case-card:hover { transform: scale(1.015); box-shadow: var(--shadow-md); }
.case-number {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 8px;
}
.case-title { font-size: 1.05rem; font-weight: 700; color: var(--slate); margin-bottom: 16px; }
.case-section { margin-bottom: 12px; }
.case-section-label {
  font-size: 0.75rem; font-weight: 700;
  background: var(--bg-sky); color: var(--primary);
  display: inline-block; padding: 2px 10px; border-radius: 50px; margin-bottom: 6px;
}
.case-section p { font-size: 0.88rem; color: var(--mid-gray); line-height: 1.7; }
.case-verdict {
  margin-top: 16px; padding: 16px;
  background: #fff5f3; border-radius: var(--radius);
  border: 1px solid #fcd5cc;
}
.case-verdict-label { font-size: 0.75rem; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.case-verdict-amount {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem; font-weight: 700; color: var(--accent);
}

/* --- 料金テーブル --- */
.price-table-wrap { overflow-x: auto; }
.price-table {
  width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 600px;
}
.price-table th {
  background: var(--primary); color: var(--white);
  padding: 14px 20px; text-align: center; font-weight: 600;
  font-size: 0.88rem;
}
.price-table td {
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  text-align: center;
}
.price-table tr:nth-child(odd) td { background: var(--mint); }
.price-table tr:nth-child(even) td { background: var(--bg-sky); }
.price-table .price-amount {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem; font-weight: 700; color: var(--primary);
}
.price-note { font-size: 0.82rem; color: var(--mid-gray); margin-top: 12px; }

/* --- プライスカード --- */
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.price-card:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.price-card-header {
  background: var(--primary);
  color: var(--white);
  padding: 24px 28px;
}
.price-card-header.accent { background: var(--accent); }
.price-card-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.price-card-desc { font-size: 0.82rem; opacity: 0.85; }
.price-card-body { padding: 28px; }
.price-card-amount {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem; font-weight: 700;
  color: var(--primary); margin-bottom: 4px;
}
.price-card-amount.accent { color: var(--accent); }
.price-card-period { font-size: 0.8rem; color: var(--mid-gray); margin-bottom: 20px; }

/* --- マップセクション --- */
.map-container {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.map-container iframe { display: block; }

/* --- お問い合わせフォーム --- */
.contact-form {
  max-width: 680px; margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg); padding: 48px;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.form-group { margin-bottom: 24px; }
.form-label {
  display: block; font-size: 0.88rem; font-weight: 600;
  color: var(--slate); margin-bottom: 8px;
}
.form-required {
  display: inline-block; background: var(--accent); color: var(--white);
  font-size: 0.65rem; padding: 2px 7px; border-radius: 3px;
  margin-left: 8px; vertical-align: middle;
}
.form-optional {
  display: inline-block; background: var(--border); color: var(--mid-gray);
  font-size: 0.65rem; padding: 2px 7px; border-radius: 3px;
  margin-left: 8px; vertical-align: middle;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.92rem; font-family: inherit; color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42,123,161,0.12);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-radios { display: flex; gap: 24px; }
.form-radio { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.form-radio input { accent-color: var(--primary); }
.form-submit { width: 100%; padding: 16px; font-size: 1rem; }
.form-note { font-size: 0.8rem; color: var(--mid-gray); text-align: center; margin-top: 16px; line-height: 1.7; }
.form-success {
  display: none; text-align: center; padding: 32px;
  background: var(--mint); border-radius: var(--radius-lg);
  border: 1px solid #a8dcc8;
}
.form-success h3 { color: #2a8c68; font-size: 1.2rem; margin-bottom: 8px; }
.form-success p { color: var(--mid-gray); font-size: 0.9rem; }

/* --- 画像 + テキスト --- */
.img-text {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.img-text.reverse { direction: rtl; }
.img-text.reverse > * { direction: ltr; }
.img-text-img {
  border-radius: var(--radius-lg);
  object-fit: cover; width: 100%; height: 360px;
  box-shadow: var(--shadow-md);
}

/* --- ハイライトボックス --- */
.highlight-box {
  background: var(--bg-sky);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  font-size: 0.92rem; color: var(--slate); line-height: 1.8;
}
.highlight-box.accent {
  background: #fff5f3;
  border-left-color: var(--accent);
}

/* --- バッジ・タグ --- */
.badge {
  display: inline-block;
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600;
}
.badge-primary { background: var(--bg-sky); color: var(--primary); border: 1px solid var(--border); }
.badge-accent { background: #fff3f0; color: var(--accent); border: 1px solid #fcd5cc; }

/* --- 診断サービスカード --- */
.diagnosis-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.diagnosis-card {
  background: var(--white);
  border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.diagnosis-card:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.diagnosis-num {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
  color: var(--primary); text-transform: uppercase; margin-bottom: 6px;
}
.diagnosis-title {
  font-size: 1rem; font-weight: 700; color: var(--slate); margin-bottom: 10px;
}
.diagnosis-text { font-size: 0.85rem; color: var(--mid-gray); line-height: 1.7; }
.diagnosis-free {
  margin-top: 12px; font-size: 0.78rem;
  color: var(--accent); font-weight: 600;
}

/* --- レスポンシブ --- */
@media (max-width: 1023px) {
  .grid-4, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .subsidy-scenes { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { display: none; }
  .steps-flow { flex-wrap: wrap; gap: 24px; }
  .steps-flow::before { display: none; }
  .step-item { flex: 1 1 45%; }
  .img-text { grid-template-columns: 1fr; gap: 32px; }
  .img-text.reverse { direction: ltr; }
}

@media (max-width: 767px) {
  .section { padding: 56px 20px; }
  .site-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .grid-3, .strengths-grid, .free-services-grid, .diagnosis-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4, .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .subsidy-scenes { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .rep-teaser { grid-template-columns: 1fr; gap: 24px; }
  .rep-photo-placeholder { width: 100%; height: 200px; }
  .hero-h1 { font-size: 1.8rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; justify-content: center; }
  #sticky-cta { bottom: 20px; right: 16px; }
  .sticky-cta-btn { padding: 12px 18px; font-size: 0.82rem; }
  .contact-form { padding: 28px 20px; }
  .cta-tel { font-size: 1.5rem; }
  .page-hero { padding: 110px 20px 48px; }
  .anchor-nav-inner { padding: 0 16px; }
  .steps-flow { flex-direction: column; }
  .step-item { flex: 1 1 100%; }
}

/* --- SVGアイコン --- */
.icon {
  display: inline-block;
  width: 1em; height: 1em;
  fill: currentColor;
  vertical-align: -0.15em;
  flex-shrink: 0;
}
/* カードアイコン枠内のSVG */
.card-icon .icon,
.card-icon svg {
  width: 28px; height: 28px;
  fill: var(--primary);
}
/* サービスカードアイコン */
.service-card-icon .icon,
.service-card-icon svg {
  width: 2.2rem; height: 2.2rem;
  fill: var(--primary);
  display: block; margin: 0 auto;
}
/* 助成金シーンアイコン */
.subsidy-scene-icon .icon,
.subsidy-scene-icon svg {
  width: 1.8rem; height: 1.8rem;
  fill: #fff;
  display: block; margin: 0 auto;
}
/* ヒーローバッジアイコン */
.hero-badge-icon .icon,
.hero-badge-icon svg {
  width: 1.6rem; height: 1.6rem;
  fill: #fff;
}
/* ボタン内アイコン */
.btn .icon,
.btn svg,
.sticky-cta-btn .icon,
.sticky-cta-btn svg,
.header-cta .icon,
.mobile-cta .icon {
  width: 1em; height: 1em;
  fill: currentColor;
  vertical-align: -0.1em;
}
/* CTAセクションの電話アイコン */
.cta-tel .icon,
.cta-tel svg {
  width: 1.6rem; height: 1.6rem;
  fill: currentColor;
  vertical-align: -0.3rem;
}
/* 連絡方法カード大アイコン */
.contact-method-icon {
  font-size: 3rem;
  display: block; margin-bottom: 16px;
}
.contact-method-icon svg {
  width: 3rem; height: 3rem;
  fill: var(--primary);
}
/* 代表者プレースホルダー */
.rep-photo-placeholder .icon,
.rep-photo-placeholder svg {
  width: 4rem; height: 4rem;
  fill: var(--mid-gray);
}
/* diagnosis-free チェックアイコン */
.diagnosis-free .icon,
.diagnosis-free svg {
  width: 1em; height: 1em;
  fill: var(--accent);
  vertical-align: -0.1em;
}
/* フォーム成功アイコン */
.form-success .icon,
.form-success svg {
  width: 2rem; height: 2rem;
  fill: #2a8c68;
  vertical-align: -0.4rem;
}

/* --- ユーティリティ --- */
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-0 { margin-bottom: 0; }
.font-bold { font-weight: 700; }
.color-primary { color: var(--primary); }
.color-accent { color: var(--accent); }
.color-slate { color: var(--slate); }
.color-gray { color: var(--mid-gray); }
.bg-primary { background: var(--primary); }
.bg-accent { background: var(--accent); }
.divider {
  border: none; border-top: 1px solid var(--border);
  margin: 40px 0;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 767px) { .two-col { grid-template-columns: 1fr; } }
