/**
 * みらいエコ住宅2026事業 LP
 * 制作: 株式会社ワイズホーム
 * 更新日: 2026-03-12
 * 概要: LP全体のスタイルシート。デザインシステム（カスタムプロパティ）、
 *        レイアウト、各セクションコンポーネント、アニメーション、
 *        レスポンシブ対応をモバイルファーストで定義。
 */

/* =============================================================================
   みらいエコ住宅2026 LP — Design System & Stylesheet
   Version: 3.0
   Design: Forest Green × Warm Gold — Trust & Eco
   Mobile-first responsive
   ============================================================================= */

/* ---------------------------------------------------------------------------
   0. CSS Custom Properties (Design Tokens)
   --------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --primary:        #1a7f5a;
  --primary-dark:   #0f5c3e;
  --primary-light:  #e8f5f0;
  --primary-50:     #f0faf6;
  --primary-darker: #0f3d2e;
  --primary-mid:    #2d9b6e;
  --accent:         #f59e0b;
  --accent-dark:    #d97706;
  --accent-bright:  #fbbf24;
  --accent-light:   #fef3c7;

  /* Neutral */
  --text:           #1f2937;
  --text-light:     #6b7280;
  --text-muted:     #9ca3af;
  --bg:             #f8faf9;
  --bg-alt:         #f1f5f3;
  --white:          #ffffff;
  --border:         #e5e7eb;

  /* Semantic */
  --danger:         #dc2626;

  /* Elevation */
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg:  0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl:  0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);

  /* Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Typography */
  --font-heading: 'Shippori Mincho', serif;
  --font-body:    'Noto Sans JP', sans-serif;
  --font-number:  'Montserrat', sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------------------------------------
   1. Reset & Base
   --------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 0.9375rem;
  overflow-x: hidden;
  padding-bottom: 80px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

ul { list-style: none; }

::selection {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* Container */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 700;
  font-size: 0.875rem;
}
.skip-link:focus {
  top: 8px;
}

/* ---------------------------------------------------------------------------
   2. Utility
   --------------------------------------------------------------------------- */
.accent-text {
  color: var(--primary);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  vertical-align: -0.15em;
  display: inline-block;
}

.icon--badge {
  width: 1em;
  height: 1em;
  vertical-align: -0.1em;
}

.icon--tel {
  width: 0.85em;
  height: 0.85em;
  vertical-align: -0.05em;
}

/* ---------------------------------------------------------------------------
   3. Animations & Keyframes
   --------------------------------------------------------------------------- */

/* Scroll-triggered */
.js-fadeIn {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-fadeIn.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-zoomIn {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-zoomIn.is-visible {
  opacity: 1;
  transform: scale(1);
}

.js-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js-section.is-visible {
  opacity: 1;
  transform: none;
}

/* Pulse — CTA button */
@keyframes pulse {
  0%   { box-shadow: 0 4px 20px rgba(245,158,11,0.35); }
  50%  { box-shadow: 0 8px 32px rgba(245,158,11,0.55); }
  100% { box-shadow: 0 4px 20px rgba(245,158,11,0.35); }
}

/* Pulse-red — urgency badge */
@keyframes pulse-red {
  0%   { box-shadow: 0 2px 12px rgba(220,38,38,0.3); }
  50%  { box-shadow: 0 4px 20px rgba(220,38,38,0.5); }
  100% { box-shadow: 0 2px 12px rgba(220,38,38,0.3); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js-fadeIn,
  .js-zoomIn,
  .js-section {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------------------------
   4. Buttons
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  text-align: center;
  border: none;
  padding: 16px 36px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Primary — Gold gradient CTA */
.btn--primary {
  background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 50%, var(--accent-dark) 100%);
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  animation: pulse 2.5s infinite;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 4px 20px rgba(245,158,11,0.35);
  font-weight: 700;
}

.btn--primary:hover {
  box-shadow: 0 8px 30px rgba(245,158,11,0.5);
}

.btn--primary:focus-visible {
  outline-color: var(--accent-dark);
}

/* Outline — Green border */
.btn--outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  flex-direction: row;
  font-weight: 700;
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Button inner text */
.btn__micro {
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 2px;
  opacity: 0.9;
}

.btn__main {
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------------------------------------------------------------------------
   5. Header
   --------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--primary-light);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.header.is-scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.98);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__logo img {
  height: 32px;
  width: auto;
}

.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  gap: 24px;
}

.header__nav-list a {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.header__nav-list a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.header__cta {
  display: none;
  gap: 14px;
  align-items: center;
}

.header__tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--primary-dark);
}

.tel-num {
  font-family: var(--font-number);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary-dark);
}

.tel-note {
  font-size: 11px;
  color: var(--text-light);
}

.header__btn {
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  box-shadow: var(--shadow-sm);
}

.header__btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  padding: 8px;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav open state */
.header__nav.is-open {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 105;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header__nav.is-open .header__nav-list {
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.header__nav.is-open .header__nav-list a {
  font-size: 1.25rem;
}

/* ---------------------------------------------------------------------------
   6. Hero (First View)
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--primary-darker) 0%, var(--primary) 55%, var(--primary-mid) 100%);
  overflow: hidden;
  padding: 40px 16px 56px;
}

/* Pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M20 60 L40 30 L60 60 Z' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3Crect x='25' y='40' width='30' height='20' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='0.5'/%3E%3C/svg%3E") repeat,
    radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 80px 80px, 20px 20px;
  pointer-events: none;
}

/* Decorative circle */
.hero::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.06);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  z-index: 1;
}

/* Area badge */
.hero__area-badge {
  background: var(--danger);
  color: var(--white);
  font-size: clamp(13px, 2vw, 18px);
  font-weight: 900;
  padding: 8px 28px;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  letter-spacing: 0.1em;
  animation: pulse-red 2.5s infinite;
}

/* Hero copy */
.hero__copy {
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(13px, 2vw, 18px);
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.8;
  opacity: 0.92;
}

.hero__main {
  font-family: var(--font-heading);
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.4;
}

.hero__amount-line {
  display: block;
}

.hero__amount-line .amount__num {
  font-family: var(--font-number);
  font-size: clamp(48px, 12vw, 88px);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  filter: drop-shadow(0 2px 8px rgba(245,158,11,0.4));
}

.hero__amount-line .amount__suffix-h1 {
  font-size: clamp(22px, 4vw, 38px);
}

/* Price box */
.hero__price-box {
  background: var(--white);
  border: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 20px;
  width: 100%;
  max-width: 620px;
  margin-top: 4px;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.3),
    0 0 0 1px rgba(245,158,11,0.1);
}

.price-box__top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.price-box__tag {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.price-box__note {
  color: var(--danger);
  font-weight: bold;
  font-size: 12px;
}

.price-box__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.price-box__logos img {
  height: auto;
  width: auto;
  max-height: 48px;
  max-width: 100%;
}

/* Amount display */
.price-box__amount {
  display: flex;
  justify-content: center;
  align-items: baseline;
  color: var(--text);
  line-height: 1;
  padding: 8px 0;
}

.amount__prefix {
  font-size: 20px;
  font-weight: bold;
  font-family: var(--font-body);
}

.amount__num-box {
  font-family: var(--font-number);
  font-size: clamp(60px, 14vw, 110px);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.amount__suffix {
  font-size: 28px;
  font-weight: bold;
  font-family: var(--font-body);
}

/* Cold region badge */
.hero__cold-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary-dark);
  text-align: left;
  line-height: 1.5;
}

.hero__cold-badge img {
  flex-shrink: 0;
}

.hero__cold-badge strong {
  color: var(--danger);
  font-weight: 900;
}

/* Urgency bar */
.hero__urgency {
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  color: var(--white);
  font-weight: bold;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.urgency__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.urgency__icon {
  color: var(--accent-light);
}

/* ---------------------------------------------------------------------------
   7. Wave Divider
   --------------------------------------------------------------------------- */
.wave-divider {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  margin: -2px 0;
  position: relative;
}

.wave-divider__svg {
  width: 100%;
  height: 48px;
  display: block;
}

/* Hero(green gradient) → Pain(bg-alt) */
.wave-divider--hero-to-pain {
  background: var(--primary);
  color: var(--bg-alt);
}

/* Strength(bg-alt) → Voice(white) */
.wave-divider--alt-to-white {
  background: var(--bg-alt);
  color: var(--white);
}

/* Loan(white) → FAQ(bg-alt) */
.wave-divider--white-to-alt {
  background: var(--white);
  color: var(--bg-alt);
}

/* ---------------------------------------------------------------------------
   8. Pain Section (Problem Awareness)
   --------------------------------------------------------------------------- */
.pain {
  background: var(--bg-alt);
  padding: 56px 0;
  position: relative;
}

.pain__ttl {
  margin-bottom: 32px;
}

.pain__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto 32px;
}

.pain__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
  border-left: 4px solid var(--danger);
}

.pain__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--danger);
  margin-top: 2px;
}

.pain__icon svg {
  width: 100%;
  height: 100%;
}

.pain__solution {
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.8;
}

.pain__solution strong {
  font-size: clamp(0.84rem, 2.8vw, 1.5rem);
  display: inline-block;
  white-space: nowrap;
}

/* ---------------------------------------------------------------------------
   9. Subsidy Section
   --------------------------------------------------------------------------- */
.subsidy {
  padding: 64px 0;
  background: var(--white);
}

.subsidy__lead {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: 48px;
  line-height: 1.8;
}

.subsidy__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.subsidy-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  text-align: center;
}

.subsidy-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.subsidy-card--primary {
  border-color: var(--primary);
  background: var(--primary-50);
}

.subsidy-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 4px 16px;
  border-radius: var(--radius-full);
}

.subsidy-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.subsidy-card__amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}

.subsidy-card__prefix {
  font-size: 1rem;
  font-weight: 700;
}

.subsidy-card__num {
  font-family: var(--font-number);
  font-size: clamp(40px, 8vw, 56px);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.subsidy-card__unit {
  font-size: 1.25rem;
  font-weight: 700;
}

.subsidy-card__bonus {
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.6;
}

.subsidy-card__bonus img {
  vertical-align: middle;
  margin-right: 4px;
}

.subsidy-card__bonus strong {
  color: var(--danger);
  font-weight: 900;
}

.subsidy-card__features {
  list-style: none;
  display: inline-block;
  text-align: left;
}

.subsidy-card__features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 0.875rem;
  line-height: 1.6;
}

.subsidy-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
}

.subsidy__note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.subsidy__note a {
  color: var(--primary);
  text-decoration: underline;
}

/* ---------------------------------------------------------------------------
   10. Strength Section
   --------------------------------------------------------------------------- */
.strength {
  padding: 64px 0;
  background: var(--bg-alt);
}

.strength__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.strength-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.strength-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.strength-card__icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.strength-card__icon img {
  width: 36px;
  height: 36px;
}

.strength-card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.strength-card__text {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.7;
}

.strength-card__logo {
  margin-top: 12px;
}

.strength-card__logo img {
  height: 28px;
  width: auto;
}

/* Compare table */
.compare {
  margin-bottom: 48px;
}

.compare__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text);
}

.compare__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.compare__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.875rem;
}

.compare__table th,
.compare__table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare__th-label {
  background: var(--bg-alt);
  font-weight: 700;
  width: 30%;
}

.compare__th-other {
  background: var(--bg-alt);
  font-weight: 700;
  width: 35%;
}

.compare__th-ys {
  background: var(--primary);
  color: var(--white);
  font-weight: 900;
  width: 35%;
}

.compare__td-ys {
  background: var(--primary-50);
  color: var(--primary-dark);
  font-weight: 700;
}

/* Evidence box */
.evidence {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  color: var(--white);
  text-align: center;
  margin-bottom: 48px;
}

.evidence__label {
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.evidence__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 16px;
}

.evidence__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.evidence__caption {
  font-size: 0.875rem;
  opacity: 0.8;
}

.evidence__value {
  font-size: 1.125rem;
  font-weight: 700;
}

.evidence__number {
  font-family: var(--font-number);
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 900;
  color: var(--accent-light);
}

.evidence__disclaimer {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 8px;
}

/* Tech logos */
.tech-logos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tech-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.tech-logo__name {
  font-weight: 700;
  font-size: 0.875rem;
}

.tech-logo__brand {
  height: 28px;
  width: auto;
}

.tech-logo__patent {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------------------------------------------------------------------------
   11. Voice Section (Testimonials)
   --------------------------------------------------------------------------- */
.voice {
  padding: 64px 0;
  background: var(--white);
}

.voice__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 16px;
}

.voice-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}

.voice-card:hover {
  box-shadow: var(--shadow-md);
}

.voice-card__header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.voice-card__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--primary);
  margin-top: 2px;
}

.voice-card__icon svg {
  width: 100%;
  height: 100%;
}

.voice-card__ttl {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.5;
}

.voice-card__txt {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.voice-card__prof {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.voice__disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------------------------------------------------------------------------
   12. Flow Section (Timeline)
   --------------------------------------------------------------------------- */
.flow {
  padding: 64px 0;
  background: var(--bg-alt);
}

.flow__lead {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: 48px;
  line-height: 1.8;
}

.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 40px;
}

/* Vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-light);
}

.timeline__item {
  position: relative;
  padding-bottom: 40px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__num {
  position: absolute;
  left: -40px;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-number);
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg-alt);
}

.timeline__icon {
  position: absolute;
  left: -40px;
  top: 48px;
  width: 40px;
  display: flex;
  justify-content: center;
}

.timeline__icon img {
  width: 32px;
  height: 32px;
}

.timeline__content {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-left: 16px;
}

.timeline__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.timeline__text {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---------------------------------------------------------------------------
   13. Loan Section (Housing Loan Tax Credit)
   --------------------------------------------------------------------------- */
.loan {
  padding: 64px 0;
  background: var(--white);
}

.loan__lead {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.8;
}

.loan__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.loan__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.875rem;
}

.loan__table th,
.loan__table td {
  padding: 12px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .loan__table th,
  .loan__table td {
    padding: 16px 20px;
  }
}

.loan__table thead th {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
}

.loan__amount {
  font-family: var(--font-number);
  font-weight: 700;
  white-space: nowrap;
  color: var(--primary-dark);
}

.loan__amount--total {
  font-size: 1.25rem;
  color: var(--danger);
  font-weight: 900;
}

.loan__total-row {
  background: var(--primary-50);
}

.loan__total-row td {
  font-weight: 700;
  border-bottom: none;
}

.loan__note {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.loan__note p {
  margin-bottom: 4px;
}

/* ---------------------------------------------------------------------------
   14. FAQ Section
   --------------------------------------------------------------------------- */
.faq {
  padding: 64px 0;
  background: var(--bg-alt);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}

.faq__item[open] {
  box-shadow: var(--shadow-md);
}

.faq__item summary {
  list-style: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__q {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: background 0.2s var(--ease);
}

.faq__q:hover {
  background: var(--bg);
}

.faq__q-text {
  flex: 1;
  line-height: 1.5;
}

.faq__toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  border-radius: 50%;
  background: var(--primary-light);
  transition: transform 0.3s var(--ease);
}

.faq__toggle::before,
.faq__toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}

.faq__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__label {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-number);
  font-size: 0.8125rem;
  font-weight: 900;
}

.faq__label--q {
  background: var(--primary);
  color: var(--white);
}

.faq__label--a {
  background: var(--accent);
  color: var(--white);
}

.faq__a {
  display: flex;
  gap: 12px;
  padding: 0 24px 20px;
  align-items: flex-start;
}

.faq__a p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.8;
}

.faq__a a {
  color: var(--primary);
  text-decoration: underline;
}

/* ---------------------------------------------------------------------------
   15. CTA Section
   --------------------------------------------------------------------------- */
.cta {
  padding: 64px 0;
  background: linear-gradient(160deg, var(--primary-darker) 0%, var(--primary) 55%, var(--primary-mid) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--danger);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 900;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  animation: pulse-red 2.5s infinite;
}

.cta__ttl {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.cta__sub {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.8;
}

.cta-main-btn {
  margin-bottom: 32px;
}

.cta__tel {
  color: var(--white);
  margin-bottom: 24px;
}

.cta__tel-note {
  font-size: 0.8125rem;
  opacity: 0.8;
  margin-bottom: 8px;
}

.cta__tel-num {
  font-family: var(--font-number);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
}

.cta__tel-num:hover {
  opacity: 0.8;
}

.cta__official {
  margin-top: 8px;
}

.cta__official a {
  color: rgba(255,255,255,0.7);
  font-size: 0.8125rem;
  text-decoration: underline;
  transition: color 0.2s;
}

.cta__official a:hover {
  color: var(--white);
}

/* ---------------------------------------------------------------------------
   16. Fixed CTA (Mobile)
   --------------------------------------------------------------------------- */
.fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 8px 12px;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}

.fixed-cta.is-visible {
  transform: translateY(0);
}

.fixed-cta__inner {
  display: flex;
  gap: 8px;
  align-items: stretch;
  max-width: 480px;
  margin: 0 auto;
}

.fixed-cta__tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.6875rem;
  font-weight: 700;
  min-width: 60px;
  min-height: 44px;
}

.fixed-cta__tel svg {
  width: 20px;
  height: 20px;
}

.fixed-cta__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 50%, var(--accent-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  min-height: 44px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  animation: pulse 2.5s infinite;
}

.fixed-cta__micro {
  font-size: 0.625rem;
  font-weight: 700;
  opacity: 0.9;
}

.fixed-cta__main {
  font-size: 0.9375rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

/* ---------------------------------------------------------------------------
   17. Back to Top
   --------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 16px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s var(--ease);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
   18. Footer
   --------------------------------------------------------------------------- */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 120px;
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.footer__logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__info {
  font-size: 0.8125rem;
  line-height: 1.8;
}

.footer__info a {
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}

.footer__info a:hover {
  color: var(--white);
}

.footer__disclaimer {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 32px;
  font-size: 0.6875rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
}

.footer__disclaimer p {
  margin-bottom: 4px;
}

.footer__disclaimer a {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.footer__nav a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--white);
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ---------------------------------------------------------------------------
   19. Section Title (Shared)
   --------------------------------------------------------------------------- */
.section-ttl {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3.5vw, 1.875rem);
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 32px;
  color: var(--text);
}

/* ---------------------------------------------------------------------------
   20. Responsive — Tablet (768px+)
   --------------------------------------------------------------------------- */
@media (min-width: 768px) {
  body {
    font-size: 1rem;
    padding-bottom: 0;
  }

  .hero {
    padding: 56px 24px 72px;
  }

  .hero__sub {
    font-size: clamp(16px, 2.2vw, 21px);
  }

  .hero__main {
    font-size: clamp(28px, 4.5vw, 44px);
  }

  .hero__amount-line .amount__num {
    font-size: clamp(64px, 12vw, 100px);
  }

  .hero__price-box {
    padding: 28px 32px;
  }

  .price-box__tag {
    font-size: 13px;
  }

  .price-box__note {
    font-size: 13px;
  }

  .price-box__logos img {
    height: 48px;
  }

  .amount__prefix {
    font-size: 24px;
  }

  .amount__suffix {
    font-size: 32px;
  }

  .hero__urgency {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    font-size: 15px;
    text-align: center;
  }

  .header__logo img {
    height: 38px;
  }

  .subsidy__cards {
    grid-template-columns: 1fr 1fr;
  }

  .strength__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .evidence__grid {
    grid-template-columns: 1fr 1fr;
  }

  .tech-logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .voice__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .voice__grid .voice-card:last-child {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
  }

  .footer__top {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }

  .footer {
    padding-bottom: 48px;
  }

  .fixed-cta {
    display: none;
  }

  .back-to-top {
    bottom: 32px;
    right: 24px;
  }
}

/* ---------------------------------------------------------------------------
   21. Responsive — Desktop (1024px+)
   --------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  body {
    font-size: 1.0625rem;
  }

  .container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .header__nav {
    display: block;
  }

  .header__cta {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .header__inner {
    padding: 12px 32px;
  }

  .strength__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .strength__grid .strength-card:nth-child(4),
  .strength__grid .strength-card:nth-child(5) {
    max-width: 100%;
  }

  .voice__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .voice__grid .voice-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }

  .pain {
    padding: 80px 0;
  }

  .subsidy,
  .strength,
  .voice,
  .flow,
  .loan,
  .faq,
  .cta {
    padding: 80px 0;
  }

  .section-ttl {
    margin-bottom: 40px;
  }
}

/* ---------------------------------------------------------------------------
   22. Responsive — XL (1280px+)
   --------------------------------------------------------------------------- */
@media (min-width: 1280px) {
  body {
    font-size: 1.125rem;
  }

  .container {
    max-width: 1160px;
  }

  .hero {
    padding: 72px 32px 88px;
  }

  .timeline {
    padding-left: 56px;
  }

  .timeline::before {
    left: 27px;
  }

  .timeline__num {
    left: -56px;
    width: 56px;
    height: 56px;
    font-size: 0.75rem;
  }

  .timeline__icon {
    left: -56px;
    width: 56px;
    top: 64px;
  }

  .timeline__content {
    padding: 32px;
    margin-left: 24px;
  }
}

/* ---------------------------------------------------------------------------
   23. Print Styles
   --------------------------------------------------------------------------- */
@media print {
  .header,
  .fixed-cta,
  .back-to-top,
  .btn--primary,
  .hamburger {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
    padding: 0;
  }

  .hero {
    background: #eee;
    color: #000;
  }

  .hero__copy {
    color: #000;
    text-shadow: none;
  }

  .cta {
    background: #eee;
    color: #000;
  }

  .cta__ttl,
  .cta__sub {
    color: #000;
    text-shadow: none;
  }
}
