:root {
  --green:        #25cf3a;
  --green-dark:   #13a025;
  --green-light:  #d9f7dd;
  --green-pale:   #effbf0;
  --accent:       #ff9820;
  --accent-dark:  #ed7d0a;
  --accent-light: #fff3db;
  --yellow:       #ffd63d;
  --yellow-pale:  #fff9db;
  --pink:         #ff5a72;
  --sky:          #3ac6ff;
  --text:         #1a1a1a;
  --text-mid:     #4a4a4a;
  --text-muted:   #888;
  --white:        #ffffff;
  --bg:           #fffaf0;
  --dark:         #0f2a14;
  --border:       #e8e8e8;
  --serif: 'Noto Serif JP', serif;
  --sans:  'Noto Sans JP', sans-serif;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--white); line-height: 1.8; overflow-x: hidden; }

/* ==============================
   HEADER
============================== */
/* 固定ヘッダーラップ（バナー＋ヘッダーを1つに） */
.header-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
}

/* トップ補助金バナー */
.top-banner {
  background: linear-gradient(90deg, var(--yellow) 0%, #ffc61e 100%);
  color: var(--dark);
  text-align: center;
  font-size: 13px; font-weight: 700;
  padding: 8px 16px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border-bottom: 2px dashed var(--accent);
  text-decoration: none;
  max-height: 80px;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.3s ease, border-bottom-width 0.35s ease;
}
.top-banner.hide {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-width: 0;
  opacity: 0;
  pointer-events: none;
}
.top-banner a {
  color: var(--accent-dark);
  font-weight: 900;
  text-decoration: underline;
  margin-left: 6px;
}
.top-banner .banner-icon { font-size: 16px; }
.top-banner .big-num {
  font-family: var(--serif);
  color: var(--accent-dark);
  font-size: 18px; font-weight: 900;
  letter-spacing: 0.02em;
  background: var(--white);
  padding: 1px 10px; border-radius: 50px;
  margin: 0 4px;
}

header {
  background: linear-gradient(90deg, rgba(37,207,58,0.97) 0%, rgba(19,160,37,0.97) 100%);
  backdrop-filter: blur(8px);
  padding: 0 28px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  transition: box-shadow 0.3s;
}
header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.header-logo {
  font-family: var(--serif); font-size: 16px; font-weight: 700;
  color: var(--white); line-height: 1.3; text-decoration: none;
  flex-shrink: 0;
}
.header-logo em { font-style: italic; font-weight: 700; color: var(--yellow); margin: 0 2px; }
.header-logo span { display: block; font-size: 10px; font-weight: 400; color: rgba(255,255,255,0.7); font-style: normal; }
.header-nav {
  display: flex; align-items: center; gap: 24px;
  margin-left: auto;
}
.header-nav a {
  color: rgba(255,255,255,0.95);
  font-size: 13px; font-weight: 700;
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.header-nav a:hover { color: var(--yellow); }
.header-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--yellow);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.header-nav a:hover::after { transform: scaleX(1); }
.header-nav .nav-emoji { display: none; }
.nav-contact { display: none; }
/* ヘッダー電話（PC：控えめな表示） */
.header-tel {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 16px; font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  padding: 4px 2px;
  letter-spacing: 0.02em;
  transition: color 0.2s, opacity 0.2s;
  opacity: 0.95;
}
.header-tel::before {
  content: '📞';
  font-size: 12px;
  background: rgba(255,255,255,0.2);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.header-tel:hover { color: var(--yellow); opacity: 1; }
.header-tel small {
  display: block; font-size: 9px; font-weight: 500;
  color: rgba(255,255,255,0.6); letter-spacing: 0.12em;
  line-height: 1; margin-bottom: 2px; font-family: var(--sans);
}

@media (max-width: 960px) {
  .header-tel { display: none; }
}
.nav-toggle {
  display: none;
  background: transparent; border: 0;
  color: var(--white); font-size: 22px;
  cursor: pointer; padding: 6px 10px;
}
@media (max-width: 960px) {
  .header-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--green-dark);
    flex-direction: column; gap: 0;
    padding: 0;
    margin: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    opacity: 0; pointer-events: none;
    transform: translateY(-6px);
    transition: transform 0.25s ease, opacity 0.25s ease;
    max-height: calc(100vh - var(--header-h, 104px));
    overflow-y: auto;
  }
  .header-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .header-nav a {
    width: 100%;
    padding: 18px 28px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    display: flex; align-items: center; gap: 12px;
  }
  .header-nav a::after { display: none; }
  .header-nav .nav-emoji {
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px; width: 34px; height: 34px;
    background: rgba(255,255,255,0.1); border-radius: 50%;
    flex-shrink: 0;
  }
  .nav-toggle { display: block; margin-left: auto; }
  /* モバイルナビ内の連絡先CTA */
  .header-nav .nav-contact {
    display: flex; flex-direction: column; gap: 10px;
    padding: 18px 16px 22px;
    background: var(--green-dark);
    border-top: 2px dashed rgba(255,255,255,0.18);
    border-bottom: 0;
    width: 100%;
  }
  .header-nav .nav-contact > a,
  .header-nav .nav-contact > span {
    width: 100%;
    border-bottom: 0;
  }
  .header-nav .nav-contact .nav-btn-form {
    display: flex; align-items: center; justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #ff2d55 0%, #ff5a72 100%);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.85);
    border-radius: 12px;
    font-size: 16px; font-weight: 900;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(255,45,85,0.4);
    white-space: nowrap;
  }
  .header-nav .nav-contact .nav-btn-form::after,
  .header-nav .nav-contact .nav-btn-tel::after { display: none !important; }
  .header-nav .nav-contact .nav-btn-tel {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 2px;
    padding: 14px 18px;
    background: var(--yellow);
    color: var(--dark);
    border-radius: 12px;
    text-decoration: none;
    font-family: var(--serif);
  }
  .header-nav .nav-contact .nav-btn-tel .small {
    font-family: var(--sans);
    font-size: 11px; font-weight: 700;
    color: var(--accent-dark);
    letter-spacing: 0.14em;
  }
  .header-nav .nav-contact .nav-btn-tel .num {
    font-size: 24px; font-weight: 900;
    letter-spacing: 0.03em;
    display: inline-flex; align-items: center; gap: 8px;
    white-space: nowrap;
  }
  .header-nav .nav-contact .nav-btn-tel .num::before {
    content: '📞';
    font-size: 16px;
    background: var(--white);
    width: 30px; height: 30px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .header-nav .nav-contact-hours {
    text-align: center;
    color: rgba(255,255,255,0.65);
    font-size: 11px; margin-top: 4px;
    padding: 0 !important;
  }
}
@media (max-width: 720px) {
  .top-banner { font-size: 11px; padding: 7px 12px; gap: 4px; flex-wrap: wrap; line-height: 1.4; }
  .top-banner .big-num { font-size: 14px; padding: 0 7px; }
}

/* ==============================
   HERO（3スライドMV画像スライダー / 全体 #form リンク）
============================== */
.hero {
  margin-top: var(--header-h, 104px);
  position: relative;
  background: var(--bg);
  padding: 0;
}

/* スライダー本体 */
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 1671px;
  margin: 0 auto;
  aspect-ratio: 1671 / 941;
  overflow: hidden;
  background: var(--green-pale);
  animation: fadeUp 0.6s ease both;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  text-decoration: none;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero-slide picture,
.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* インジケーター */
.hero-indicators {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
  background: rgba(0,0,0,0.45);
  padding: 9px 16px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: background 0.2s, transform 0.2s;
}
.hero-dot:hover { background: rgba(255,255,255,0.85); }
.hero-dot.is-active {
  background: var(--white);
  transform: scale(1.25);
}

@media (max-width: 768px) {
  .hero-slider {
    aspect-ratio: 941 / 1672;
    max-width: 100%;
  }
  .hero-indicators {
    bottom: 14px;
    padding: 7px 14px;
    gap: 8px;
  }
  .hero-dot { width: 9px; height: 9px; }
}

/* ==============================
   SECTIONS COMMON
============================== */
section { padding: 96px 32px; }
.inner { max-width: 960px; margin: 0 auto; }
.section-heading {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700; line-height: 1.35;
  color: var(--text); margin-bottom: 16px;
}
.section-lead {
  font-size: 16px; color: var(--text-mid);
  line-height: 1.9; max-width: 640px;
}

/* ==============================
   クイックナビ（MV直下）
============================== */
.quick-nav {
  background: var(--white);
  padding: 24px 0 28px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.quick-nav-hint {
  display: none; /* PCでは表示不要・モバイルのみ */
  max-width: 1100px; margin: 0 auto 10px;
  padding: 0 24px;
  font-size: 11px; color: var(--text-muted);
  align-items: center; gap: 6px;
  letter-spacing: 0.05em;
}
.quick-nav-hint .hint-arrow {
  display: inline-block;
  animation: hintSlide 1.4s ease-in-out infinite;
  color: var(--green);
  font-weight: 900;
}
@keyframes hintSlide {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(6px); opacity: 1; }
}
.quick-nav-scroll {
  padding: 4px 24px;
  display: flex; justify-content: center;
}
.quick-nav-inner {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: center;
}
.quick-card {
  flex: 0 0 auto;
  width: 120px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  background: var(--green-pale);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 14px 10px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.quick-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(24,178,49,0.15);
}
.quick-card .qn-emoji { font-size: 26px; line-height: 1; margin-bottom: 6px; }
.quick-card .qn-label {
  font-family: var(--serif); font-weight: 700;
  font-size: 12px; line-height: 1.4;
  white-space: nowrap;
}
.quick-card.highlight {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--accent-light) 100%);
  border-color: var(--accent);
}
.quick-card.highlight:hover {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--white) 100%);
  box-shadow: 0 10px 28px rgba(237,125,10,0.3);
}
.quick-card.highlight .qn-label { color: var(--accent-dark); }
.quick-card .qn-badge {
  display: block; font-size: 10px; font-weight: 700;
  margin-top: 3px;
  color: var(--accent-dark);
  letter-spacing: 0.06em;
}
@media (max-width: 900px) {
  .quick-nav-hint { display: flex; }
  .quick-nav-scroll {
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--green-light) transparent;
    justify-content: flex-start;
    padding: 4px 24px 10px;
  }
  .quick-nav-scroll::-webkit-scrollbar { height: 6px; }
  .quick-nav-scroll::-webkit-scrollbar-track { background: transparent; }
  .quick-nav-scroll::-webkit-scrollbar-thumb {
    background: var(--green-light); border-radius: 10px;
  }
  .quick-nav-inner {
    justify-content: flex-start;
    padding-right: 48px;
  }
  .quick-nav::after {
    content: '';
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 48px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, var(--white) 70%);
    pointer-events: none;
  }
  .quick-card { scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .quick-card { width: 100px; padding: 12px 8px; }
  .quick-card .qn-emoji { font-size: 22px; }
  .quick-card .qn-label { font-size: 11px; }
}

/* ==============================
   SEC2 課題共感
============================== */
.sec-trouble { background: var(--yellow-pale); padding-top: 112px; padding-bottom: 80px; }

/* もくもく吹き出しリスト：商店会役員さんの困りごとを左右交互に代弁 */
.trouble-bubbles {
  max-width: 760px;
  margin: 44px auto 0;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.trouble-bubble {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
}
.trouble-bubble.from-right { flex-direction: row-reverse; }

/* 役員さんアバター */
.bubble-avatar {
  flex: 0 0 68px;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; line-height: 1;
  box-shadow: 0 4px 12px rgba(24,178,49,0.10);
}

/* 吹き出し本体（モクモク雲風） */
.bubble-body {
  position: relative;
  flex: 1;
  background: var(--white);
  padding: 22px 26px;
  border-radius: 28px 32px 30px 26px / 26px 30px 28px 32px; /* 不均一に丸めて雲っぽく */
  box-shadow:
    0 8px 24px rgba(24,178,49,0.10),
    0 2px 6px rgba(0,0,0,0.04);
  font-size: 17.5px;
  line-height: 1.75;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}

/* 雲のしっぽ：アバター側に2つの小さい丸を出して「もくもく感」 */
.bubble-body::before,
.bubble-body::after {
  content: '';
  position: absolute;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(24,178,49,0.06);
}
.bubble-body::before { width: 16px; height: 16px; bottom: 16px; }
.bubble-body::after  { width: 9px; height: 9px; bottom: 4px; }
.from-left .bubble-body::before { left: -8px; }
.from-left .bubble-body::after  { left: -16px; }
.from-right .bubble-body::before { right: -8px; }
.from-right .bubble-body::after  { right: -16px; }

/* 左右からスライドイン（fade-in を上書き） */
.trouble-bubble.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.trouble-bubble.from-left.fade-in  { transform: translateX(-40px); }
.trouble-bubble.from-right.fade-in { transform: translateX(40px); }
.trouble-bubble.fade-in.visible {
  opacity: 1;
  transform: translateX(0);
}

.trouble-resolve {
  display: block;
  max-width: max-content;
  margin: 64px auto 0;
  padding: 22px 44px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--white);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: 999px;
  box-shadow:
    0 12px 32px rgba(24,178,49,0.30),
    0 4px 10px rgba(24,178,49,0.18),
    inset 0 0 0 4px rgba(255,255,255,0.18);
  animation: troubleResolvePulse 2.4s ease-in-out infinite;
}
@keyframes troubleResolvePulse {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 12px 32px rgba(24,178,49,0.30), 0 4px 10px rgba(24,178,49,0.18), inset 0 0 0 4px rgba(255,255,255,0.18); }
  50%      { transform: translateY(-4px) scale(1.02); box-shadow: 0 18px 40px rgba(24,178,49,0.40), 0 6px 14px rgba(24,178,49,0.24), inset 0 0 0 4px rgba(255,255,255,0.24); }
}

@media (max-width: 768px) {
  .trouble-bubbles {
    gap: 24px; padding: 0 12px; margin-top: 28px;
  }
  .bubble-avatar {
    flex: 0 0 52px;
    width: 52px; height: 52px;
    font-size: 28px;
    border-width: 2px;
  }
  .bubble-body {
    padding: 18px 20px;
    font-size: 16px;
    line-height: 1.7;
    border-radius: 22px 26px 24px 20px / 20px 24px 22px 26px;
  }
  .bubble-body::before { width: 13px; height: 13px; bottom: 12px; }
  .bubble-body::after  { width: 7px;  height: 7px;  bottom: 3px; }
  .from-left .bubble-body::before  { left: -7px; }
  .from-left .bubble-body::after   { left: -13px; }
  .from-right .bubble-body::before { right: -7px; }
  .from-right .bubble-body::after  { right: -13px; }
  /* SP では移動量を抑える */
  .trouble-bubble.from-left.fade-in  { transform: translateX(-24px); }
  .trouble-bubble.from-right.fade-in { transform: translateX(24px); }
  .trouble-resolve {
    margin-top: 44px;
    padding: 16px 28px;
    font-size: clamp(16px, 5vw, 22px);
    max-width: calc(100% - 24px);
  }
}

/* ==============================
   SEC3 サービス
============================== */
.sec-service { background: var(--white); }
.sec-service .inner { position: relative; }

/* 全ビューポートで横スライド・1行レイアウト */
.service-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  margin-top: 16px;
  padding: 4px clamp(16px, 3vw, 32px) 24px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-left: clamp(16px, 3vw, 32px);
  scrollbar-width: thin;
  scrollbar-color: var(--green-light) transparent;
}
.service-grid::-webkit-scrollbar { height: 8px; }
.service-grid::-webkit-scrollbar-track { background: transparent; }
.service-grid::-webkit-scrollbar-thumb {
  background: var(--green-light);
  border-radius: 10px;
}
.service-card {
  flex: 0 0 clamp(240px, 24%, 290px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px 26px;
  position: relative; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card.featured {
  border: 2px solid var(--green);
  background: linear-gradient(180deg, var(--white) 0%, var(--green-pale) 100%);
}
.service-card.featured::before {
  background: var(--green) !important;
  height: 8px !important;
}
.service-card .badge-feat {
  position: absolute; top: 12px; right: 12px;
  background: var(--accent); color: var(--white);
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 50px;
  letter-spacing: 0.08em;
}
.service-card.featured .service-num { color: var(--green); opacity: 0.18; }
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--green) 0%, var(--yellow) 50%, var(--accent) 100%);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.service-num {
  font-family: var(--serif); font-size: 52px; font-weight: 900;
  color: var(--green-light); line-height: 1; margin-bottom: 16px;
}
.service-title {
  font-family: var(--serif); font-size: 26px; font-weight: 900;
  color: var(--text); margin-bottom: 10px;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.service-sub { font-size: 13px; font-weight: 700; color: var(--green); margin-bottom: 14px; }
.service-body { font-size: 14px; color: var(--text-mid); line-height: 1.85; }

/* スクロールヒント（全ビューポートで表示） */
.service-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0 clamp(16px, 3vw, 32px);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.05em;
}
.service-scroll-hint .hint-arrow {
  display: inline-block;
  color: var(--green);
  font-weight: 900;
  font-size: 16px;
  animation: hintSlide 1.4s ease-in-out infinite;
}

/* SP（〜768px）：カード幅をフルワイドに、タイトルを大きく */
@media (max-width: 768px) {
  .service-grid {
    gap: 14px;
    padding: 4px 24px 20px;
    scroll-padding-left: 24px;
  }
  .service-grid::-webkit-scrollbar { height: 6px; }
  .service-card {
    flex: 0 0 85%;
    padding: 28px 22px;
  }
  .service-title {
    font-size: 26px;
    line-height: 1.4;
  }
  .service-scroll-hint {
    margin: 24px 0 12px;
    padding: 0 24px;
  }
  /* SPのみ右端フェード */
  .sec-service .inner::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 36px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, var(--white) 70%);
    pointer-events: none;
  }
}

/* ==============================
   SEC3.5 ギャラリー
============================== */
.sec-gallery { background: var(--green-pale); padding: 96px 32px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px; margin-top: 40px;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: #ddd;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}
.gallery-item .gallery-cap {
  position: absolute; left: 14px; bottom: 10px; z-index: 1;
  color: var(--white);
  font-family: var(--serif); font-size: 13px; font-weight: 700;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  letter-spacing: 0.02em;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.wide-tall { grid-column: span 2; grid-row: span 2; }
.gallery-item.wide-tall .gallery-cap { font-size: 16px; }
@media (max-width: 768px) {
  .sec-gallery { padding: 72px 20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 10px; }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.wide-tall { grid-column: span 2; grid-row: span 2; }
}

/* ==============================
   SEC4 実績（ダーク）
============================== */
.sec-result {
  background: var(--dark);
  position: relative; overflow: hidden;
}
.sec-result::before {
  content: '';
  position: absolute; inset: 0;
  background: url('/wp-content/uploads/shotengai-lp/result-bg.jpg') center/cover no-repeat;
  opacity: 0.22;
}
.sec-result::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--accent-light);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.sec-result .inner { position: relative; z-index: 2; }
.sec-result .section-heading { color: var(--white); }
.sec-result .section-lead { color: rgba(255,255,255,0.7); }
.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin-top: 40px;
}
.result-card {
  display: block;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
a.result-card::after {
  content: '↗';
  position: absolute;
  top: 14px; right: 16px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  opacity: 0.55;
  transition: opacity 0.2s, transform 0.2s;
}
.result-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-3px);
}
a.result-card:hover::after {
  opacity: 1;
  transform: translate(2px, -2px);
}
.result-cat { font-size: 12px; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.result-title {
  font-family: var(--serif); font-size: 17px; font-weight: 700;
  color: var(--white); line-height: 1.4; margin-bottom: 10px;
}
.result-role { font-size: 12px; color: rgba(255,255,255,0.55); }
.result-footer {
  margin-top: 48px; text-align: center;
  font-family: var(--serif); font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 700; color: rgba(255,255,255,0.9); line-height: 1.7;
}

/* ==============================
   SEC5 補助金
============================== */
.sec-subsidy {
  background: linear-gradient(135deg, var(--yellow-pale) 0%, var(--accent-light) 100%);
  padding-top: 112px;
  position: relative; overflow: hidden;
}
.sec-subsidy::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,61,0.45) 0%, transparent 70%);
}
.sec-subsidy .inner { position: relative; z-index: 1; }
.sec-subsidy .section-heading { color: var(--text); }
.sec-subsidy .section-heading .big {
  color: var(--accent-dark);
  font-size: 1.25em;
  background: linear-gradient(transparent 60%, var(--yellow) 60%);
  padding: 0 6px;
}

/* 10/10補助ハイライト */
.subsidy-hero-callout {
  background: linear-gradient(135deg, #ffe367 0%, #ffc61e 100%);
  border: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 36px 32px;
  margin-top: 60px;
  text-align: center;
  position: relative;
  box-shadow: 0 14px 36px rgba(255,170,20,0.4);
}
.callout-notice {
  position: absolute; top: -18px; left: 50%;
  transform: translateX(-50%);
  background: #e62e4c; color: var(--white);
  font-size: 12px; font-weight: 900;
  padding: 7px 22px; border-radius: 50px;
  letter-spacing: 0.14em;
  box-shadow: 0 6px 18px rgba(230,46,76,0.55);
  white-space: nowrap;
  z-index: 2;
}
.callout-tag {
  display: inline-block;
  background: var(--white);
  color: var(--accent-dark);
  font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.callout-title {
  font-family: var(--serif);
  font-size: clamp(22px, 3.6vw, 34px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.callout-title .zero {
  display: inline-block;
  font-size: 1.35em;
  color: #e62e4c;
  background: var(--white);
  padding: 2px 14px;
  border-radius: 10px;
  margin: 0 4px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transform: rotate(-2deg);
}
.callout-title .highlight {
  background: var(--white);
  padding: 0 8px;
  border-radius: 4px;
}
.callout-body {
  font-size: 15px;
  line-height: 1.95;
  color: var(--dark);
  max-width: 640px;
  margin: 0 auto 18px;
  position: relative; z-index: 1;
  font-weight: 500;
}
.callout-body strong {
  color: #e62e4c;
  font-weight: 900;
}
.callout-badges {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin-top: 18px;
}
.callout-badge {
  background: rgba(255,255,255,0.9);
  color: var(--accent-dark);
  font-size: 12px; font-weight: 700;
  padding: 6px 14px; border-radius: 50px;
  border: 1.5px solid var(--accent);
}
@media (max-width: 720px) {
  .subsidy-hero-callout { padding: 36px 20px 28px; }
  .callout-title { font-size: 22px; }
  .callout-title .zero { font-size: 1.25em; padding: 2px 10px; }
  .callout-body { font-size: 14px; }
}

/* 商店会負担 Before/After */
.subsidy-compare {
  margin-top: 48px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px;
  align-items: center;
}
.compare-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.compare-card.before { border: 2px solid var(--border); }
.compare-card.after {
  border: 3px solid var(--accent);
  background: linear-gradient(180deg, var(--white) 0%, var(--yellow-pale) 100%);
  position: relative;
}
.compare-card.after::after {
  content: 'お助け隊のサポート活用';
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--white);
  font-size: 11px; font-weight: 700;
  padding: 4px 14px; border-radius: 50px;
  white-space: nowrap;
}
.compare-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--text-muted); margin-bottom: 6px;
}
.compare-card.after .compare-label { color: var(--accent-dark); }
.compare-main {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.1; color: var(--text-mid);
  letter-spacing: -0.02em;
}
.compare-card.after .compare-main { color: var(--accent); }
.compare-main .unit { font-size: 0.45em; margin-left: 2px; font-weight: 700; }
.compare-main .strike { text-decoration: line-through; opacity: 0.6; }
.compare-sub { font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.compare-arrow {
  font-size: 40px; color: var(--accent);
  font-weight: 900;
}

/* 具体例カード */
.subsidy-cases {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.case-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 24px;
  border-top: 6px solid var(--accent);
  box-shadow: 0 6px 22px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.case-title {
  font-family: var(--serif); font-size: 15px; font-weight: 700;
  color: var(--text); margin-bottom: 12px; line-height: 1.5;
}
.case-row { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; }
.case-row + .case-row { border-top: 1px dashed var(--border); }
.case-row .k { font-size: 12px; color: var(--text-muted); }
.case-row .v { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--text); }
.case-row.total .k { font-weight: 700; color: var(--accent-dark); font-size: 13px; }
.case-row.total .v {
  font-size: 22px; color: var(--accent);
  font-weight: 900;
}
.case-row.total .v .unit { font-size: 0.6em; margin-left: 2px; }

.subsidy-note {
  margin-top: 24px;
  font-size: 12px; color: var(--text-muted); text-align: center; line-height: 1.8;
}

/* スケジュール */
.subsidy-schedule {
  margin-top: 64px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px 32px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}
.schedule-heading {
  font-family: var(--serif); font-size: clamp(20px, 3vw, 26px);
  font-weight: 700; color: var(--text); text-align: center;
  margin-bottom: 8px;
}
.schedule-heading .mark { background: linear-gradient(transparent 60%, var(--yellow) 60%); padding: 0 4px; }
.schedule-sub {
  font-size: 13px; color: var(--text-muted);
  text-align: center; margin-bottom: 36px;
}
.schedule-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.schedule-track::before {
  content: ''; position: absolute;
  top: 34px; left: 10%; right: 10%; height: 4px;
  background: linear-gradient(90deg, var(--green-light) 0%, var(--yellow) 50%, var(--accent-light) 100%);
  z-index: 0;
}
.schedule-step { position: relative; text-align: center; z-index: 1; padding: 0 6px; }
.schedule-time {
  display: inline-block;
  background: var(--green); color: var(--white);
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 50px;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.schedule-step.s3 .schedule-time,
.schedule-step.s4 .schedule-time { background: var(--accent); }
.schedule-step.s5 .schedule-time { background: var(--green-dark); }
.schedule-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--green);
  margin: 0 auto 12px;
  font-family: var(--serif); font-weight: 900;
  color: var(--green); font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px var(--white);
}
.schedule-step.s3 .schedule-dot,
.schedule-step.s4 .schedule-dot { border-color: var(--accent); color: var(--accent); }
.schedule-step.s5 .schedule-dot { border-color: var(--green-dark); color: var(--green-dark); }
.schedule-title {
  font-family: var(--serif); font-size: 14px; font-weight: 700;
  color: var(--text); margin-bottom: 6px; line-height: 1.4;
}
.schedule-body { font-size: 11.5px; color: var(--text-mid); line-height: 1.6; }
.schedule-footer {
  margin-top: 28px; padding: 16px 20px;
  background: var(--green-pale);
  border-radius: 10px;
  font-size: 13px; color: var(--green-dark); text-align: center;
  font-weight: 700;
  border: 1px dashed var(--green);
}
.schedule-footer strong { color: var(--accent-dark); }
@media (max-width: 720px) {
  .subsidy-schedule { padding: 28px 20px 24px; }
  .schedule-track {
    grid-template-columns: 1fr;
    gap: 10px;
    position: relative;
  }
  .schedule-track::before {
    display: block;
    top: 28px; bottom: 28px;
    left: 38px; right: auto;
    width: 3px; height: auto;
    background: linear-gradient(180deg, var(--green-light) 0%, var(--yellow) 50%, var(--accent-light) 100%);
  }
  .schedule-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 14px;
    row-gap: 2px;
    text-align: left;
    background: var(--white);
    border: 1.5px solid var(--border);
    padding: 14px 16px;
    border-radius: 10px;
  }
  .schedule-step.s3, .schedule-step.s4 { border-color: var(--accent); }
  .schedule-step.s5 { border-color: var(--green-dark); }
  .schedule-dot {
    grid-column: 1; grid-row: 1 / span 3;
    margin: 0; box-shadow: none;
    align-self: center; justify-self: center;
    width: 48px; height: 48px; font-size: 16px;
  }
  .schedule-time {
    grid-column: 2; grid-row: 1;
    justify-self: start;
    margin-bottom: 0;
  }
  .schedule-title {
    grid-column: 2; grid-row: 2;
    margin: 2px 0 0;
    font-size: 15px;
  }
  .schedule-title br { display: none; }
  .schedule-body {
    grid-column: 2; grid-row: 3;
    font-size: 12px;
    margin-top: 2px;
  }
  .schedule-footer { font-size: 12px; padding: 14px 16px; }
}
.subsidy-cta-wrap { margin-top: 40px; text-align: center; }
.subsidy-cta {
  display: inline-block;
  background: var(--accent); color: var(--white);
  font-size: 17px; font-weight: 700;
  padding: 18px 46px; border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(237,125,10,0.45);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.subsidy-cta:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(237,125,10,0.55); }

/* ==============================
   SEC6 流れ
============================== */
.sec-flow { background: var(--green-pale); }
.flow-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 48px; position: relative;
}
.flow-wrap::before {
  content: '';
  position: absolute;
  top: 30px; left: 10%; right: 10%; height: 2px;
  background: var(--green-light);
  z-index: 0;
}
.flow-step {
  text-align: center; padding: 0 16px;
  position: relative; z-index: 1;
}
.flow-num {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); color: var(--white);
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; position: relative;
  box-shadow: 0 4px 16px rgba(24,178,49,0.3);
}
.flow-free {
  position: absolute; top: -8px; right: -8px;
  background: var(--accent); color: var(--white);
  font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 20px;
}
.flow-title {
  font-family: var(--serif); font-size: 16px; font-weight: 700;
  color: var(--text); margin-bottom: 10px;
}
.flow-body { font-size: 13px; color: var(--text-mid); line-height: 1.75; }

/* ==============================
   SEC7 会社
============================== */
.sec-about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 56px; align-items: center; margin-top: 40px;
}
.about-logo-box {
  background: var(--green-pale);
  border-radius: var(--radius);
  padding: 0; text-align: center;
  border: 1px solid var(--green-light);
  overflow: hidden;
}
.about-photo {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; display: block;
}
.about-logo-inner { padding: 28px 24px; }
.about-logo-name {
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  color: var(--green-dark); line-height: 1.5; margin-bottom: 10px;
}
.about-logo-sub { font-size: 12px; color: var(--text-muted); line-height: 1.8; }
.about-body { font-size: 15px; color: var(--text-mid); line-height: 1.9; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.about-tag {
  font-size: 12px; padding: 5px 14px;
  border-radius: 20px; border: 1px solid var(--green);
  color: var(--green); background: var(--green-pale);
}

/* ==============================
   SEC7.5 デザイン実績
============================== */
.about-design {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px dashed var(--border);
}
.about-design .design-lead-box {
  background: var(--green-pale);
  border-radius: var(--radius);
  padding: 32px 30px;
  margin-bottom: 48px;
  border-left: 6px solid var(--green);
}
.about-design .design-lead-box h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.5;
}
.about-design .design-lead-box h3 .mark {
  background: linear-gradient(transparent 60%, var(--yellow) 60%);
  padding: 0 6px;
}
.about-design .design-lead-box p {
  font-size: 15px; color: var(--text-mid); line-height: 1.95;
}
.portfolio-block { margin-top: 48px; }
.portfolio-block:first-of-type { margin-top: 0; }
.portfolio-heading {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.portfolio-heading h4 {
  font-family: var(--serif);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700; color: var(--text);
}
.portfolio-heading .portfolio-tag {
  font-size: 11px; font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-light);
  padding: 3px 10px; border-radius: 50px;
  letter-spacing: 0.05em;
}
.portfolio-heading .portfolio-note {
  font-size: 12px; color: var(--text-muted); margin-left: auto;
}

/* 横スクロールマーキー（共通） */
.marquee {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 8px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee-left {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@keyframes marquee-right {
  0%   { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--white) 0%, rgba(255,255,255,0) 100%); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--white) 0%, rgba(255,255,255,0) 100%); }

/* チラシ・ポスターのマーキー */
.flyer-marquee .marquee-track { animation: marquee-left 90s linear infinite; }
.flyer-item {
  flex-shrink: 0;
  width: 360px; height: 225px;
  margin: 0 8px;
  border: 0; padding: 0;
  background: var(--bg);
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.flyer-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}
.flyer-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.flyer-item::after {
  content: '🔍 クリックで拡大';
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 100%);
  color: var(--white);
  font-size: 11px; font-weight: 700;
  padding: 30px 12px 10px;
  opacity: 0; transition: opacity 0.25s;
  text-align: center;
}
.flyer-item:hover::after { opacity: 1; }

/* 動画マーキー（逆方向・異なるスピード） */
.video-marquee .marquee-track { animation: marquee-right 70s linear infinite; }
.video-marquee::before, .video-marquee::after {
  width: 50px;
}
.video-item {
  flex-shrink: 0;
  width: 420px;
  aspect-ratio: 16 / 9;
  margin: 0 10px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--dark);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  position: relative;
}
.video-item iframe {
  width: 100%; height: 100%; border: 0;
  display: block;
}

/* 画像モーダル */
.image-modal {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px 20px;
  cursor: zoom-out;
}
.image-modal.show { display: flex; animation: mdFade 0.2s ease; }
.image-modal img {
  max-width: 100%; max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  border-radius: 6px;
  animation: mdZoom 0.28s ease;
}
.image-modal-close {
  position: absolute; top: 18px; right: 22px;
  background: rgba(255,255,255,0.12); border: none;
  color: var(--white); font-size: 22px; font-weight: 700;
  width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}
.image-modal-close:hover { background: rgba(255,255,255,0.25); }
@keyframes mdFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mdZoom { from { transform: scale(0.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }

@media (max-width: 768px) {
  .flyer-item { width: 260px; height: 162px; margin: 0 6px; }
  .video-item { width: 320px; margin: 0 8px; }
  .flyer-marquee .marquee-track { animation-duration: 70s; }
  .video-marquee .marquee-track { animation-duration: 55s; }
  .about-design { margin-top: 48px; padding-top: 36px; }
  .about-design .design-lead-box { padding: 24px 20px; margin-bottom: 36px; }
}

/* ==============================
   SEC8 フォーム（ダーク）
============================== */
.sec-form {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 55%, var(--accent) 110%);
  position: relative;
}
.sec-form .section-heading { color: var(--white); }
.sec-form .section-lead { color: rgba(255,255,255,0.75); }

/* フォーム上部の電話CTA */
.form-tel-block {
  max-width: 600px; margin: 32px auto 0;
  background: var(--white);
  border: 3px solid var(--yellow);
  border-radius: var(--radius);
  padding: 24px 28px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  position: relative;
}
.form-tel-block::before {
  content: 'お急ぎの方へ';
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: #e62e4c; color: var(--white);
  font-size: 11px; font-weight: 900;
  padding: 4px 16px; border-radius: 50px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.form-tel-heading {
  font-size: 13px; font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 8px; letter-spacing: 0.04em;
}
.form-tel-num {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 900;
  color: var(--green-dark);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.form-tel-num:hover { color: var(--accent-dark); }
.form-tel-num::before {
  content: '📞';
  font-size: 0.75em;
  background: var(--yellow);
  width: 1.5em; height: 1.5em;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.form-tel-hours {
  display: block; margin-top: 10px;
  font-size: 12px; color: var(--text-muted);
}
.form-tel-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(0,0,0,0.10);
  font-size: 12px;
  line-height: 1.75;
  color: var(--text-mid);
  text-align: center;
  letter-spacing: 0.01em;
}
.form-tel-note strong {
  color: var(--green-dark);
  font-weight: 700;
}
.form-or {
  text-align: center;
  margin: 24px auto 0;
  color: rgba(255,255,255,0.85);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 14px;
  max-width: 600px;
}
.form-or::before, .form-or::after {
  content: '';
  flex: 1; height: 1px;
  background: rgba(255,255,255,0.35);
}
.form-box {
  background: var(--white); border-radius: var(--radius);
  padding: 44px 40px; margin-top: 40px;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.form-group { margin-bottom: 22px; }
.form-label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--text); margin-bottom: 7px;
}
.req {
  font-size: 10px; background: var(--green); color: var(--white);
  padding: 2px 6px; border-radius: 3px; margin-left: 6px; font-weight: 700;
}
.opt {
  font-size: 10px; background: var(--border); color: var(--text-muted);
  padding: 2px 6px; border-radius: 3px; margin-left: 6px;
}
.form-input, .form-textarea {
  width: 100%; padding: 11px 16px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 15px; font-family: var(--sans);
  color: var(--text); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(24,178,49,0.12);
}
.form-input.error { border-color: #e24b4a; }
.form-textarea { height: 130px; resize: vertical; }
.form-radio-group { display: flex; gap: 22px; flex-wrap: wrap; padding-top: 4px; }
.form-radio { display: flex; align-items: center; gap: 7px; font-size: 14px; cursor: pointer; }
.form-submit {
  width: 100%; padding: 17px;
  background: var(--green); color: var(--white);
  font-size: 18px; font-weight: 700; font-family: var(--sans);
  border: none; border-radius: 50px; cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(24,178,49,0.3);
}
.form-submit:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24,178,49,0.4);
}
.form-note { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 14px; }
.form-error { font-size: 12px; color: #e24b4a; margin-top: 4px; display: none; }
.form-error.show { display: block; }
.form-thanks {
  display: none; text-align: center; padding: 40px 20px;
}
.form-thanks h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  color: var(--green-dark); margin-bottom: 12px;
}
.form-thanks p { font-size: 14px; color: var(--text-mid); line-height: 1.8; }

/* ==============================
   FOOTER
============================== */
footer {
  background: #0a0a0a; color: rgba(255,255,255,0.45);
  padding: 36px 32px; text-align: center; font-size: 12px;
  line-height: 2;
}
footer a { color: rgba(255,255,255,0.45); text-decoration: none; margin: 0 10px; }
footer a:hover { color: rgba(255,255,255,0.7); }

/* ==============================
   FLOATING CTA
============================== */
.float-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 150;
  background: linear-gradient(135deg, #ff2d55 0%, #ff5a72 100%);
  color: var(--white);
  font-size: 15px; font-weight: 900;
  padding: 16px 30px; border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.04em;
  box-shadow:
    0 8px 28px rgba(255,45,85,0.55),
    0 0 0 4px rgba(255,45,85,0.12);
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.25s ease;
  border: 2px solid rgba(255,255,255,0.85);
}
.float-cta.show {
  transform: translateY(0); opacity: 1;
  animation: floatPulse 2s ease-in-out 0.6s infinite;
}
.float-cta:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 14px 40px rgba(255,45,85,0.7),
    0 0 0 6px rgba(255,45,85,0.18);
  animation: none;
}
@keyframes floatPulse {
  0%, 100% {
    box-shadow:
      0 8px 28px rgba(255,45,85,0.55),
      0 0 0 4px rgba(255,45,85,0.12);
  }
  50% {
    box-shadow:
      0 10px 34px rgba(255,45,85,0.7),
      0 0 0 10px rgba(255,45,85,0.2);
  }
}

/* ==============================
   ANIMATIONS
============================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-collage { height: 440px; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 768px) {
  section { padding: 72px 20px; }
  .sec-trouble, .sec-subsidy { padding-top: 88px; }
  header { padding: 0 20px; }
  .hero-inner { padding: 60px 20px; }
  .sec-result::after { height: 50px; }
  .hero-collage { height: 380px; }
  .hero-sticker { width: 88px; height: 88px; font-size: 11px; top: -6px; right: -6px; }
  .hero-sticker small { font-size: 9px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .flow-wrap { grid-template-columns: 1fr 1fr; gap: 32px; }
  .flow-wrap::before { display: none; }
  .subsidy-compare { grid-template-columns: 1fr; gap: 12px; }
  .compare-arrow { transform: rotate(90deg); }
  .form-box { padding: 32px 22px; }
}
@media (max-width: 560px) {
  .hero-ctas {
    display: flex; flex-direction: column;
    align-items: stretch; gap: 14px;
    width: 100%; max-width: 360px; margin: 4px auto 0;
  }
  .hero-cta { display: block; text-align: center; padding: 18px 20px; }
  .hero-tel-wrap { width: 100%; }
  .hero-tel {
    display: flex; justify-content: center;
    padding: 14px 20px;
  }
}
@media (max-width: 480px) {
  .flow-wrap { grid-template-columns: 1fr; }
  .hero-cta { padding: 16px 20px; font-size: 16px; }
  header { height: 56px; }
  .header-logo { font-size: 14px; }
  .header-cta { font-size: 12px; padding: 8px 16px; }
}
