/* ============================================================
   ミツカルAI - SEO・LLMO対策特化型HP制作サービス
   共通デザインシステム
   ============================================================ */

:root {
  /* gpol.co.jp風デザイン：黒×オフホワイトのモノトーン基調 × 単色アクセントカラー × 丸みのある"可愛さ"をプラス */
  --color-primary: #14121C;
  --color-primary-light: #2B2738;
  --color-primary-dark: #08070D;
  --color-secondary: #FF3864;
  --color-secondary-light: #FF6B8C;
  --color-secondary-dark: #D91E49;
  --color-highlight: #FFB627;
  --color-accent-bg: #FFF1F4;
  --color-accent-bg-2: #FFF8E9;
  --color-text: #1B1820;
  --color-text-light: #6B6670;
  --color-positive: #2FBF71;
  --color-white: #ffffff;
  --color-border: #F0DDE2;

  --font-base: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Zen Maru Gothic', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-full: 999px;

  --shadow-sm: 0 4px 14px rgba(255, 56, 100, 0.08);
  --shadow-md: 0 12px 30px rgba(255, 56, 100, 0.14);
  --shadow-lg: 0 22px 50px rgba(255, 56, 100, 0.20);

  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: url('../images/cursor-glass.svg') 12 12, auto;
}

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

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

a, button, .faq-question, .nav-toggle, .chat-fab-btn, .back-top, input[type="submit"], select, [role="button"] {
  cursor: url('../images/cursor-glass.svg') 12 12, pointer;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--gray {
  background: var(--color-accent-bg);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-secondary);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-highlight);
  box-shadow: 0 0 0 4px rgba(255,182,39,0.18);
}

.section-title {
  font-size: 38px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--color-text-light);
  font-size: 17px;
}

/* ============ ヘッダー ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow .3s ease, padding .3s ease;
}

/* スクロール時にヘッダーをコンパクト化し、影を付けて浮き上がらせる */
.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(20,18,28,0.08);
}

.site-header.is-scrolled .header-inner {
  padding-top: 9px;
  padding-bottom: 9px;
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-icon.small {
  width: 32px;
  height: 32px;
}

/* ---- ロゴ登場アニメーション（ページ読み込み時） ---- */
@keyframes logoIconPop {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-35deg);
  }
  55% {
    opacity: 1;
    transform: scale(1.15) rotate(8deg);
  }
  75% {
    transform: scale(0.92) rotate(-4deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes logoTextReveal {
  0% {
    opacity: 0;
    transform: translateX(-8px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.brand .brand-icon {
  animation: logoIconPop 0.85s cubic-bezier(.34, 1.56, .64, 1) 0.1s both;
  transform-origin: center;
}

/* ============ ページローダー（起動・画面遷移スプラッシュ） ============ */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  /* JavaScriptが無効な環境向けの保険：一定時間後に自動で消える */
  animation: pageLoaderAutoHide 0s 2.5s forwards;
}

@keyframes pageLoaderAutoHide {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

#page-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-icon {
  width: 88px;
  height: 88px;
  display: block;
  opacity: 0;
  animation:
    loaderIconEnter 0.7s cubic-bezier(.34, 1.56, .64, 1) both,
    loaderIconBounce 1.3s ease-in-out 0.7s infinite;
}

@keyframes loaderIconEnter {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-35deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.15) rotate(6deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes loaderIconBounce {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.08) translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader-icon {
    animation: none;
  }
}

.brand .brand-text {
  animation: logoTextReveal 0.6s ease-out 0.5s both;
}

.footer-brand .brand-icon {
  animation: logoIconPop 0.85s cubic-bezier(.34, 1.56, .64, 1) 0.15s both;
}

@media (prefers-reduced-motion: reduce) {
  .brand .brand-icon,
  .brand .brand-text,
  .footer-brand .brand-icon {
    animation: none;
  }
}

.brand-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.brand-text .brand-ai {
  color: var(--color-secondary);
}

.brand-text small {
  display: block;
  font-size: 11px;
  color: var(--color-text-light);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer-brand span .brand-ai {
  color: var(--color-secondary-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, background .2s;
}

.header-cta:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 24px;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all .3s;
}

/* ============ スクロールリビール（IntersectionObserverで .in-view を付与） ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22, .9, .3, 1), transform .7s cubic-bezier(.22, .9, .3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* グリッド内の要素は少しずつ遅延させて連鎖的に登場させる */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22, .9, .3, 1), transform .7s cubic-bezier(.22, .9, .3, 1);
}

.reveal-stagger.in-view > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: .13s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: .21s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: .29s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: .37s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: .45s; }

.reveal-stagger.in-view > * {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============ ボタン共通 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 16px;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* ボタンホバー時の光沢（シャイン）が斜めに走るマイクロインタラクション */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left .55s ease;
  z-index: 1;
  pointer-events: none;
}

.btn:hover::before {
  left: 130%;
}

.btn-primary {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

/* ============ ヒーロー（フルブリード画像） ============ */
.hero {
  position: relative;
  background: var(--color-primary);
  color: var(--color-white);
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(8,7,13,0.94) 0%, rgba(20,18,28,0.72) 38%, rgba(20,18,28,0.30) 68%, rgba(255,56,100,0.22) 100%);
}

.hero-overlay::after {
  content: '';
  position: absolute;
  top: -160px;
  right: -140px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255,56,100,0.28) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 620px;
}

/* ---- ヒーロー要素の順次フェードイン登場（ページロード時） ---- */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow-en,
.hero-badge,
.hero-content h1,
.hero-lead,
.hero-actions,
.hero-trust {
  opacity: 0;
  animation: heroFadeUp .8s cubic-bezier(.22, .9, .3, 1) forwards;
}

.hero-eyebrow-en { animation-delay: .75s; }
.hero-badge { animation-delay: .85s; }
.hero-content h1 { animation-delay: .95s; }
.hero-lead { animation-delay: 1.1s; }
.hero-actions { animation-delay: 1.25s; }
.hero-trust { animation-delay: 1.4s; }

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow-en,
  .hero-badge,
  .hero-content h1,
  .hero-lead,
  .hero-actions,
  .hero-trust {
    opacity: 1;
    animation: none;
  }
}

.hero-eyebrow-en {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-secondary-light);
  margin-bottom: 18px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.hero h1 {
  color: var(--color-white);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--color-secondary-light);
}

/* HomuPa!風：グラデーションテキスト（強いキャッチコピー表現） */
.hero h1 .gradient-text,
.gradient-text {
  background: linear-gradient(90deg, var(--color-secondary-light) 0%, var(--color-secondary) 45%, #7C6BFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* HomuPa!風：限定感バッジ（円形ラベル） */
.limited-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-highlight), #FFD37A);
  color: var(--color-primary);
  text-align: center;
  font-weight: 800;
  font-size: 11px;
  line-height: 1.3;
  box-shadow: 0 8px 20px rgba(255,182,39,0.35);
  border: 3px solid rgba(255,255,255,0.6);
  flex-shrink: 0;
}

.limited-badge strong {
  font-size: 20px;
  display: block;
  font-family: var(--font-heading);
}

.hero-limited-badge {
  position: absolute;
  top: 130px;
  right: 40px;
  z-index: 3;
  animation: badge-pulse 2.4s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@media (max-width: 980px) {
  .hero-limited-badge {
    display: none;
  }
}

.hero-lead {
  font-size: 18px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
}

.hero-trust-item strong {
  font-size: 26px;
  color: var(--color-secondary-light);
  font-weight: 800;
}

.hero-trust-item span {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}



/* ============ 課題提起（Pain Point） ============ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}

.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.pain-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-white);
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(255,56,100,0.28);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.pain-card:hover .pain-icon {
  transform: scale(1.12) rotate(-6deg);
}

.pain-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.pain-card p {
  color: var(--color-text-light);
  font-size: 15px;
}

/* ============ サービス3本柱 ============ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--color-primary);
  position: relative;
  transition: transform .25s, box-shadow .25s;
}

.service-card:nth-child(2) { border-top-color: var(--color-secondary); }
.service-card:nth-child(3) { border-top-color: var(--color-primary); }

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 40px;
  font-weight: 800;
  color: var(--color-accent-bg);
  z-index: 0;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 18px rgba(20,18,28,0.18);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(6deg);
}

.service-card:nth-child(2) .service-icon { background: var(--color-secondary); }
.service-card:nth-child(3) .service-icon { background: var(--color-primary); }

.service-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--color-text-light);
  font-size: 15px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.service-list {
  position: relative;
  z-index: 1;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 8px;
}

.service-list li i {
  color: var(--color-positive);
  margin-top: 3px;
}

/* ============ HomuPa!風：価格訴求カード ============ */
.service-card.price-card-featured {
  border: 2px solid var(--color-secondary);
  border-top: 2px solid var(--color-secondary);
  transform: scale(1.03);
  z-index: 2;
}

.price-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-light));
  color: var(--color-white);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 16px rgba(255,56,100,0.35);
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.price-old {
  display: inline-block;
  position: relative;
  color: var(--color-text-light);
  font-size: 15px;
  margin-bottom: 4px;
}

.price-old::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  top: 50%;
  border-top: 2px solid var(--color-secondary);
  transform: rotate(-6deg);
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.price-tag .price-num {
  font-size: 40px;
  font-weight: 800;
  font-family: var(--font-heading);
  background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.02em;
}

.price-tag .price-unit {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}

.price-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-secondary-dark);
  background: var(--color-accent-bg);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
  margin-bottom: 16px;
}

/* ============ 解説ボックス（LLMO/SEO説明） ============ */
.explain-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.explain-box + .explain-box {
  margin-top: 28px;
}

.explain-box.reverse .explain-visual { order: 2; }

.explain-tag {
  display: inline-block;
  background: var(--color-accent-bg);
  color: var(--color-secondary-dark);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.explain-box h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.explain-box p {
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.explain-visual {
  background: var(--color-accent-bg);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  overflow: hidden;
}

.explain-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  transition: transform .5s ease;
}

.explain-box:hover .explain-visual img {
  transform: scale(1.04);
}

.explain-visual .big-icon {
  font-size: 64px;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.definition-note {
  background: #FFF6E0;
  border-left: 4px solid var(--color-highlight);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--color-text);
  margin-top: 14px;
}

/* ============ HomuPa!風：選ばれる理由（ピクトグラム3カラム） ============ */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.reason-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  position: relative;
}

.reason-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.reason-pictogram {
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-secondary), #7C6BFF);
  box-shadow: 0 10px 24px rgba(255,56,100,0.28);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.reason-card:hover .reason-pictogram {
  transform: scale(1.12) rotate(-6deg);
}

.reason-card:nth-child(2) .reason-pictogram {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  box-shadow: 0 10px 24px rgba(20,18,28,0.28);
}

.reason-card:nth-child(3) .reason-pictogram {
  background: linear-gradient(135deg, var(--color-highlight), #FFD37A);
  box-shadow: 0 10px 24px rgba(255,182,39,0.32);
  color: var(--color-primary);
}

.reason-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.reason-card p {
  color: var(--color-text-light);
  font-size: 14px;
}

.reason-num {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  color: var(--color-border);
  letter-spacing: 0.05em;
}

/* ============ 実績カード（斜めカードグリッド） ============ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 12px 0;
}

.work-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}

.works-grid .work-card:nth-child(odd) { transform: rotate(-2.2deg); }
.works-grid .work-card:nth-child(even) { transform: rotate(2.2deg); }

.work-card:hover {
  transform: rotate(0deg) translateY(-10px);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

/* works-grid はカード自体が斜めに回転しているため、reveal-stagger共通ルールとは別に
   フェードのみのスクロールリビールを適用（回転transformを壊さないようopacityのみ変化） */
.works-grid.reveal-stagger > * {
  transform: none;
  opacity: 0;
  transition: opacity .7s cubic-bezier(.22, .9, .3, 1);
}

.works-grid.reveal-stagger.in-view > * {
  opacity: 1;
  transform: none;
}

.work-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--color-accent-bg) 0%, #FFE3EA 100%);
}

.work-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 56, 100, 0.18) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.6;
}

.work-thumb img {
  position: relative;
  width: 82%;
  height: 82%;
  object-fit: contain;
  transition: transform .4s;
}

.work-card:hover .work-thumb img {
  transform: scale(1.06) translateY(-4px);
}

.work-thumb-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px 20px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 60%, rgba(255, 255, 255, 0.97) 100%);
  color: var(--color-primary);
  text-align: left;
}

.work-thumb-label strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}

.work-thumb-label small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--color-secondary);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.work-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.work-tag {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  align-self: flex-start;
  letter-spacing: 0.03em;
}

.work-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.work-body p {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 16px;
  flex: 1;
}

.work-result {
  display: flex;
  gap: 16px;
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
  margin-bottom: 14px;
}

.work-result div strong {
  display: block;
  font-size: 20px;
  color: var(--color-secondary);
  font-weight: 800;
}

.work-result div span {
  font-size: 12px;
  color: var(--color-text-light);
}

.work-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============ 会社概要 ============ */
.company-photo-wrap {
  margin-bottom: 48px;
}

.company-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}

.company-wrap .company-table {
  align-self: center;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--color-border);
}

.company-table th {
  text-align: left;
  padding: 18px 0;
  width: 140px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 15px;
  vertical-align: top;
}

.company-table td {
  padding: 18px 0;
  color: var(--color-text);
  font-size: 15px;
}

.company-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 21/9;
  object-fit: cover;
}

.mission-box {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mission-box::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,56,100,0.28) 0%, transparent 70%);
}

.mission-box::before {
  content: '';
  position: absolute;
  left: -50px;
  top: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,182,39,0.22) 0%, transparent 70%);
}

.mission-box .mission-label {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--color-secondary-light);
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.mission-box .mission-text {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--color-white);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.mission-box p {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-primary);
}

.faq-question .q-mark {
  color: var(--color-white);
  background: var(--color-secondary);
  min-width: 30px;
  height: 30px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.faq-question .toggle-icon {
  flex-shrink: 0;
  transition: transform .25s;
  color: var(--color-text-light);
}

.faq-item.open .toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-answer-inner {
  padding: 0 26px 24px 60px;
  color: var(--color-text-light);
  font-size: 15px;
}

/* ============ CTA セクション ============ */
.cta-section {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  left: -100px;
  top: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,56,100,0.30) 0%, transparent 70%);
}

.cta-section::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,182,39,0.22) 0%, transparent 70%);
}

.cta-section h2 {
  color: var(--color-white);
  font-size: 34px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 30px;
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============ お問い合わせフォーム ============ */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}

.contact-info-card h3 {
  color: var(--color-white);
  font-size: 20px;
  margin-bottom: 18px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.contact-info-item i {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.14);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item strong {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 3px;
  font-weight: 500;
}

.contact-info-item span, .contact-info-item a {
  font-size: 15px;
  font-weight: 600;
}

.contact-flow {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.contact-flow li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 12px;
}

.contact-flow li span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.form-group label .required {
  color: var(--color-white);
  background: var(--color-secondary);
  font-size: 11px;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(255,56,100,0.14);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 22px;
}

.form-note a { color: var(--color-primary); text-decoration: underline; }

.form-success {
  display: none;
  text-align: center;
  padding: 60px 20px;
}

.form-success.show { display: block; }
.contact-form-card.hidden { display: none; }

.form-success .icon {
  width: 72px;
  height: 72px;
  background: #E9F7EB;
  color: var(--color-positive);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--color-text-light);
}

/* ============ ブログ記事本文 ============ */
.article-hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 56px 0 40px;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}

.breadcrumb a { color: rgba(255,255,255,0.9); }
.breadcrumb span { margin: 0 6px; }

.article-hero h1 {
  color: var(--color-white);
  font-size: 30px;
  max-width: 820px;
  line-height: 1.6;
}

.article-meta {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  flex-wrap: wrap;
}

.article-body-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px;
}

.article-body img.article-cover {
  border-radius: var(--radius-md);
  margin-bottom: 40px;
  width: 100%;
}

.article-body h2 {
  font-size: 24px;
  margin: 44px 0 18px;
  padding-top: 10px;
  border-top: 3px solid var(--color-accent-bg);
}

.article-body h3 {
  font-size: 19px;
  margin: 30px 0 14px;
  color: var(--color-primary);
}

.article-body p {
  margin-bottom: 18px;
  color: var(--color-text);
  font-size: 16px;
}

.article-body ul, .article-body ol {
  margin: 0 0 22px 0;
  padding-left: 0;
}

.article-body ul li, .article-body ol li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
}

.article-body ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--color-positive);
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 13px;
}

.article-body ol {
  counter-reset: art-counter;
}

.article-body ol li {
  counter-increment: art-counter;
}

.article-body ol li::before {
  content: counter(art-counter);
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-box {
  background: var(--color-accent-bg);
  border-left: 5px solid var(--color-secondary);
  padding: 22px 26px;
  border-radius: 10px;
  margin: 28px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.result-stat {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}

.result-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

/* 成果数字は画面に入ったタイミングでポップイン（IntersectionObserverで .in-view 付与） */
.result-stats.reveal-stagger > * {
  transform: scale(0.7);
}

.result-stats.reveal-stagger.in-view > * {
  transform: scale(1);
  transition: opacity .5s cubic-bezier(.34, 1.56, .64, 1), transform .5s cubic-bezier(.34, 1.56, .64, 1);
}

.result-stat strong {
  display: block;
  font-size: 30px;
  color: var(--color-secondary);
  font-weight: 800;
}

.result-stat span {
  font-size: 13px;
  color: var(--color-text-light);
}

.article-faq-note {
  background: #FFF6E0;
  border-radius: var(--radius-md);
  padding: 24px 26px;
  margin: 24px 0;
}

.article-faq-note h4 {
  font-size: 15px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.article-cta {
  background: var(--color-accent-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}

.article-cta h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.article-cta p {
  color: var(--color-text-light);
  margin-bottom: 22px;
}

.related-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.related-links a {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  transition: background .2s, color .2s;
}

.related-links a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ============ フッター ============ */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-brand span {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-white);
}

.site-footer p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 15px;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color .2s;
}

.footer-col a:hover {
  color: var(--color-secondary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ============ パンくず・ページヘッダー（下層ページ） ============ */
.page-header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 96px 0 64px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,56,100,0.25) 0%, transparent 70%);
}

.page-header .container { position: relative; z-index: 1; }

.page-header-en {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-secondary-light);
  margin-bottom: 14px;
}

.page-header h1 {
  color: var(--color-white);
  font-size: 38px;
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin: 0;
}

/* ============ チャットボット風フローティング ============ */
.chat-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chat-fab-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow-lg);
  transition: transform .2s, background .2s;
}

.chat-fab-btn:hover { transform: scale(1.1) rotate(-4deg); }

.chat-panel {
  display: none;
  width: 320px;
  max-width: calc(100vw - 48px);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.chat-panel.open { display: block; }

.chat-panel-header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 16px 20px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-panel-header button {
  color: var(--color-white);
  font-size: 18px;
}

.chat-panel-body {
  padding: 20px;
  max-height: 320px;
  overflow-y: auto;
}

.chat-msg {
  background: var(--color-accent-bg);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 20px;
}

.chat-quick button {
  border: 1px solid var(--color-border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--color-primary);
  transition: background .2s;
}

.chat-quick button:hover {
  background: var(--color-accent-bg);
}

/* ============ Back to top ============ */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 850;
}

.back-top.show { display: flex; }

/* ============ ユーティリティ ============ */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

/* ============ レスポンシブ ============ */
@media (max-width: 980px) {
  .pain-grid, .service-grid, .works-grid, .reason-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.price-card-featured { transform: none; }
  .company-wrap { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .explain-box { grid-template-columns: 1fr; }
  .explain-box.reverse .explain-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta span { display: none; }
  .header-cta { padding: 12px 16px; }

  body.nav-open .main-nav {
    display: flex;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--color-border);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }

  body.nav-open .main-nav a {
    padding: 14px 8px;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .section { padding: 64px 0; }
  .section-title { font-size: 26px; }
  .hero { min-height: 100vh; padding: 110px 0 60px; }
  .hero h1 { font-size: 28px; }
  .hero-lead { font-size: 16px; }
  .hero-trust { gap: 20px; }

  .pain-grid, .service-grid, .works-grid, .reason-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .result-stats { grid-template-columns: 1fr; }
  .cta-section h2 { font-size: 24px; }
  .contact-form-card { padding: 28px 20px; }
  .explain-box { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; gap: 14px; }
}
