/* =============================================
   匠リフォーム LP v2 — 日本のカルチャーに合わせたリデザイン
   参照デザイン: _archive/lp-reform-v1/ref-reform-code.txt を手書きCSSで再実装
   ============================================= */

:root {
  /* Primary: 深紅（v2で #c0392b から深めに変更） */
  --primary-color: #9e2016;
  --primary-strong: #8e130c;
  --primary-crimson: #c0392b;
  --deep-crimson: #922b21;
  --primary-pale: #ffdad5;

  /* Accent: ゴールド */
  --accent-color: #f1c40f;

  /* LINE グリーン */
  --line-color: #06c755;
  --line-dark: #04a344;

  /* Surface / Neutral */
  --bg-base: #f8f9fa;
  --surface-low: #f3f4f5;
  --surface-container: #edeeef;
  --surface-high: #e7e8e9;
  --surface-highest: #e1e3e4;
  --border-light: #e0e0e0;
  --text-main: #1a1a1a;
  --text-muted: #555555;
  --on-surface: #191c1d;
  --on-surface-variant: #59413d;

  /* Type scale */
  --fs-hero: 56px;
  --fs-hero-sp: 32px;
  --fs-headline-lg: 36px;
  --fs-headline-lg-sp: 26px;
  --fs-headline-md: 24px;
  --fs-body-lg: 18px;
  --fs-body-md: 16px;
  --fs-label-lg: 14px;
  --fs-label-sm: 12px;

  /* Layout */
  --container-max: 1100px;
  --radius-card: 24px;
  --radius-panel: 40px;
  --radius-hero-panel: 48px;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 18px 44px rgba(0, 0, 0, 0.16);

  --banner-h: 38px;
  --header-h: 80px;

  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body-md);
  line-height: 1.75;
  color: var(--text-main);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}

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

ul, ol { list-style: none; }

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

section { scroll-margin-top: calc(var(--banner-h) + var(--header-h)); }

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

/* ===== Material Symbols ===== */
.msym {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  font-size: 24px;
  vertical-align: middle;
}

.msym--fill {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* =============================================
   ポートフォリオ用デモバナー（トップページ導線）
   ============================================= */
.demo-banner {
  position: sticky;
  top: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--banner-h);
  padding: 0 16px;
  background-color: #f0f0f0;
  color: #333;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  border-bottom: 1px solid #dcdcdc;
}

.demo-banner a {
  color: #333;
  font-weight: 700;
  text-decoration: underline;
}

.demo-banner a:hover { opacity: 0.7; }

/* =============================================
   Header（固定ナビ）
   ============================================= */
.site-header {
  position: sticky;
  top: var(--banner-h); /* デモバナーの直下に固定 */
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.site-header__inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header__brand-icon {
  color: var(--primary-color);
  font-size: 30px;
}

.site-header__logo {
  font-size: var(--fs-headline-md);
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
  white-space: nowrap;
}

.site-header__nav {
  display: flex;
  gap: 32px;
}

.site-header__nav a {
  font-size: var(--fs-label-lg);
  font-weight: 700;
  color: var(--text-main);
  transition: color 0.2s ease;
}

.site-header__nav a:hover { color: var(--primary-color); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: var(--fs-label-lg);
  font-weight: 700;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn-pill .msym { font-size: 15px; }

.btn-pill--primary { background: var(--primary-color); }
.btn-pill--primary:hover { background: var(--deep-crimson); }

.btn-pill--line { background: var(--line-color); }
.btn-pill--line:hover { opacity: 0.9; }

/* =============================================
   Hero
   ============================================= */
.hero {
  position: relative;
  height: 80vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4) 50%, transparent);
  z-index: 1;
}

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

.hero__content {
  max-width: 640px;
  color: #fff;
}

.hero__badges {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 900;
}

.hero-badge__label {
  font-size: var(--fs-label-sm);
  line-height: 1.3;
}

.hero-badge__value {
  font-size: 32px;
  line-height: 1.1;
}

.hero-badge--gold {
  background: var(--accent-color);
  color: var(--primary-color);
  border: 2px solid #fff;
  box-shadow: var(--shadow-lg);
}

.hero-badge--glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-md);
  font-weight: 700;
  align-items: flex-start;
}

.hero-badge--glass .hero-badge__label { opacity: 0.9; }

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hero__title span { color: var(--accent-color); }

.hero__lead {
  font-size: var(--fs-body-lg);
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--primary-color);
  color: #fff;
  padding: 20px 40px;
  border-radius: 9999px;
  font-size: var(--fs-headline-md);
  font-weight: 900;
  box-shadow: var(--shadow-lg);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.btn-cta:hover {
  background: var(--deep-crimson);
  transform: translateY(-4px);
}

.btn-cta__arrow { transition: transform 0.25s ease; }
.btn-cta:hover .btn-cta__arrow { transform: translateX(4px); }

.hero__trust {
  margin-top: 24px;
  display: flex;
  gap: 24px;
  font-size: var(--fs-label-lg);
  font-weight: 700;
  opacity: 0.9;
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero__trust-item .msym {
  color: var(--accent-color);
  font-size: 20px;
}

/* =============================================
   Section 共通
   ============================================= */
.section { padding: 96px 0; }
.section--low { background: var(--surface-low); }

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-head__eyebrow {
  display: block;
  color: var(--primary-color);
  font-weight: 900;
  letter-spacing: 0.2em;
  font-size: var(--fs-label-lg);
  margin-bottom: 8px;
}

.section-head__title {
  font-size: var(--fs-headline-lg);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--on-surface);
  margin-bottom: 16px;
}

.section-head__sub {
  color: var(--text-muted);
  font-weight: 700;
}

/* =============================================
   悩みチェック（Problems）
   ============================================= */
.problems { padding: 80px 0; }

.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.problem-card {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.problem-card:hover { box-shadow: var(--shadow-lg); }

.problem-card__icon {
  width: 64px;
  height: 64px;
  background: var(--primary-pale);
  color: var(--primary-color);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.problem-card__icon .msym { font-size: 36px; }

.problem-card:hover .problem-card__icon {
  background: var(--primary-color);
  color: #fff;
}

.problem-card h3 {
  font-size: var(--fs-headline-md);
  font-weight: 700;
  margin-bottom: 16px;
}

.problem-card p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* =============================================
   施工事例（Gallery）
   ============================================= */
.gallery__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 64px;
}

.gallery__head .section-head__title { margin-bottom: 0; }

.gallery__eyebrow {
  display: block;
  color: var(--primary-color);
  font-weight: 900;
  letter-spacing: 0.15em;
  font-size: var(--fs-label-lg);
  border-left: 4px solid var(--primary-color);
  padding-left: 12px;
  margin-bottom: 8px;
}

.gallery__note {
  color: var(--text-muted);
  max-width: 420px;
  font-weight: 500;
  line-height: 1.8;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.work-case {
  background: #fff;
  border-radius: var(--radius-panel);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.work-case__media {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.work-case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.work-case:hover .work-case__media img { transform: scale(1.05); }

.work-case__hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 32px;
}

.work-case:hover .work-case__hover { opacity: 1; }

.work-case__hover span {
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.work-case__ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

.work-case__ba-img {
  background-size: cover;
  /* 元画像上部に焼き込まれたブラウザ風ナビを隠すため下寄せで切り出す */
  background-position: center bottom;
  transition: transform 0.7s ease;
}

.work-case:hover .work-case__ba-img { transform: scale(1.05); }

.work-case__ba-img--before {
  filter: grayscale(0.3);
  border-right: 4px solid #fff;
}

.work-case__ba-tag {
  position: absolute;
  top: 16px;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.work-case__ba-tag--before {
  left: 16px;
  background: rgba(0, 0, 0, 0.6);
}

.work-case__ba-tag--after {
  right: 16px;
  background: var(--primary-color);
}

.work-case__body {
  padding: 32px;
  flex: 1;
}

.work-case__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.work-case__row h3 {
  font-size: var(--fs-headline-md);
  font-weight: 700;
  margin-bottom: 4px;
}

.work-case__desc {
  color: var(--text-muted);
  font-size: var(--fs-label-lg);
}

.work-case__area {
  background: rgba(158, 32, 22, 0.1);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: var(--fs-label-sm);
  flex-shrink: 0;
  white-space: nowrap;
}

.work-case__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.work-case__stats dt {
  font-size: var(--fs-label-sm);
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.work-case__stats dd {
  font-weight: 900;
  font-size: var(--fs-body-lg);
}

.work-case__price {
  color: var(--primary-color);
  font-size: var(--fs-headline-md) !important;
}

.work-case__price span {
  font-size: var(--fs-label-sm);
  margin-left: 2px;
}

/* =============================================
   キャンペーン
   ============================================= */
.campaign { padding: 80px 0; }

.campaign__card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-hero-panel);
  padding: 64px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid rgba(158, 32, 22, 0.1);
}

/* 和風チラシ調のドットパターン */
.campaign__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: radial-gradient(var(--primary-color) 1px, transparent 1px);
  background-size: 20px 20px;
}

.campaign__inner {
  position: relative;
  z-index: 1;
}

.campaign__head {
  text-align: center;
  margin-bottom: 48px;
}

.campaign__ribbon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--primary-color);
  color: #fff;
  padding: 12px 32px;
  border-radius: 9999px;
  font-weight: 900;
  font-size: var(--fs-headline-md);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  box-shadow: var(--shadow-lg);
  animation: campaign-bounce 1s infinite;
}

@keyframes campaign-bounce {
  0%, 100% { transform: translateY(-12%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

.campaign__title {
  font-size: 56px;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.campaign__title span {
  color: var(--accent-color);
  background: #410000;
  padding: 0 16px;
}

.campaign__sub {
  font-size: var(--fs-headline-md);
  font-weight: 700;
  color: var(--text-main);
}

.campaign__offers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.offer-card {
  background: rgba(255, 218, 213, 0.3);
  border: 4px dashed var(--primary-color);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
}

.offer-card__icon {
  background: var(--primary-color);
  color: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}

.offer-card__icon .msym { font-size: 60px; }

.offer-card__label {
  color: var(--primary-color);
  font-weight: 900;
  font-size: var(--fs-headline-md);
}

.offer-card__value {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--on-surface);
}

.offer-card__value span { color: var(--primary-color); }

.offer-card__note {
  font-size: var(--fs-label-sm);
  font-weight: 700;
  margin-top: 8px;
  color: var(--text-muted);
}

.campaign__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: var(--surface-container);
  padding: 32px;
  border-radius: var(--radius-card);
  flex-wrap: wrap;
}

.campaign__tel { text-align: left; }

.campaign__tel-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-label-lg);
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.campaign__tel-label .msym { font-size: 20px; }

.campaign__tel-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--on-surface);
  line-height: 1;
  transition: color 0.2s ease;
}

.campaign__tel-number:hover { color: var(--primary-color); }

.campaign__tel-note {
  font-size: var(--fs-label-sm);
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 8px;
}

.campaign__divider {
  width: 1px;
  height: 96px;
  background: var(--border-light);
}

.btn-cta--campaign {
  padding: 32px 48px;
}

.btn-cta--campaign:hover { transform: scale(1.05); }

/* =============================================
   お客様の声（Voice）
   ============================================= */
.voice__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.voice-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-panel);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 64px 40px 40px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.voice-card__quote {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: #fbeae8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-card__quote .msym {
  color: var(--primary-color);
  font-size: 36px;
}

.voice-card__stars {
  color: var(--accent-color);
  margin-bottom: 24px;
}

.voice-card__stars .msym { font-size: 22px; }

.voice-card h3 {
  font-size: var(--fs-body-lg);
  font-weight: 900;
  line-height: 1.7;
  margin-bottom: 24px;
}

.voice-card > p {
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 32px;
}

.voice-card footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.voice-card__name {
  font-weight: 900;
  font-size: var(--fs-label-lg);
}

.voice-card__work {
  font-size: var(--fs-label-sm);
  color: var(--primary-color);
  font-weight: 700;
}

/* =============================================
   お問い合わせ（Contact）
   ============================================= */
.contact__card {
  background: #fff;
  border-radius: var(--radius-hero-panel);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact__info {
  padding: 64px;
  background: var(--surface-high);
}

.contact__info h2 {
  font-size: var(--fs-headline-lg);
  font-weight: 900;
  line-height: 1.4;
  color: var(--primary-color);
  margin-bottom: 32px;
}

.contact__lead {
  font-size: var(--fs-body-lg);
  font-weight: 700;
  line-height: 1.8;
  color: var(--on-surface-variant);
  margin-bottom: 40px;
}

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.channel-card:hover { transform: translateY(-2px); }

.channel-card--tel {
  background: #fff;
  border-left: 8px solid var(--primary-color);
}

.channel-card--line {
  background: var(--line-color);
  color: #fff;
}

.channel-card--line:hover { opacity: 0.9; }

.channel-card__icon {
  width: 56px;
  height: 56px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.channel-card__icon--line { background: rgba(255, 255, 255, 0.2); }

.channel-card__icon .msym { font-size: 28px; }

.channel-card__label {
  font-size: var(--fs-label-sm);
  font-weight: 700;
  color: var(--text-muted);
}

.channel-card--line .channel-card__label {
  color: rgba(255, 255, 255, 0.9);
}

.channel-card__value {
  font-size: var(--fs-headline-md);
  font-weight: 900;
}

.contact__artisan {
  margin-top: 48px;
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--shadow-lg);
  transform: rotate(1deg);
}

.contact__artisan img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.contact__artisan:hover img { transform: scale(1.05); }

.contact__artisan figcaption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(158, 32, 22, 0.9);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 900;
  font-size: var(--fs-label-lg);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-md);
}

.contact__form-wrap { padding: 64px; }

.contact-form__field { margin-bottom: 32px; }

.contact-form__field label {
  display: block;
  font-size: var(--fs-label-lg);
  font-weight: 900;
  margin-bottom: 12px;
}

.contact-form__field .req {
  color: var(--primary-color);
  margin-left: 4px;
}

.contact-form__field .opt {
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 4px;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  border: 1px solid var(--border-light);
  background: var(--surface-low);
  border-radius: 12px;
  padding: 16px;
  font-family: inherit;
  font-size: var(--fs-body-md);
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(158, 32, 22, 0.25);
}

.contact-form__submit {
  width: 100%;
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 24px;
  border-radius: 9999px;
  font-family: inherit;
  font-size: var(--fs-headline-md);
  font-weight: 900;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.contact-form__submit:hover {
  background: var(--deep-crimson);
  transform: translateY(-4px);
}

.contact-form__submit:active { transform: translateY(0); }

.contact-form__note {
  text-align: center;
  font-size: var(--fs-label-sm);
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 16px;
}

.contact__badges {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0.7;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  color: var(--on-surface);
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background: var(--surface-highest);
  border-top: 1px solid var(--border-light);
  padding: 64px 0 32px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand { max-width: 400px; }

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: var(--fs-headline-md);
  font-weight: 900;
  color: var(--primary-color);
}

.footer__logo .msym { font-size: 30px; }

.footer__desc {
  font-size: var(--fs-label-lg);
  color: var(--on-surface-variant);
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer__license {
  font-size: var(--fs-label-sm);
  color: var(--text-muted);
}

.footer__license p { margin-bottom: 4px; }

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 24px 48px;
}

.footer__links-head {
  font-weight: 900;
  color: var(--on-surface);
  margin-bottom: 16px;
}

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

.footer__links ul a {
  font-size: var(--fs-label-lg);
  font-weight: 500;
  color: var(--on-surface-variant);
  transition: color 0.2s ease;
}

.footer__links ul a:hover { color: var(--primary-color); }

.footer__bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 32px;
  text-align: center;
  font-size: var(--fs-label-sm);
  color: var(--text-muted);
  font-weight: 700;
}

/* =============================================
   Responsive
   ============================================= */

/* --- 〜1024px --- */
@media (max-width: 1024px) {
  .site-header__nav { display: none; }

  .campaign__title { font-size: 44px; }

  .campaign__offers { grid-template-columns: 1fr; }

  .voice__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
    gap: 56px;
  }

  .contact__grid { grid-template-columns: 1fr; }

  .footer__top { flex-direction: column; }
}

/* --- 〜768px --- */
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .problems, .campaign { padding: 60px 0; }

  .hero { min-height: 560px; }

  .hero__title { font-size: var(--fs-hero-sp); }

  .hero__lead { font-size: var(--fs-body-md); }

  .section-head__title,
  .contact__info h2,
  .campaign__title { font-size: var(--fs-headline-lg-sp); }

  .campaign__title { font-size: 32px; }

  .btn-cta {
    font-size: var(--fs-body-lg);
    padding: 18px 32px;
  }

  .problems__grid { grid-template-columns: 1fr; }

  .gallery__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery__grid { grid-template-columns: 1fr; }

  .campaign__card { padding: 40px 24px; }

  .offer-card__value { font-size: 32px; }

  .campaign__divider { display: none; }

  .campaign__contact { flex-direction: column; text-align: center; }

  .campaign__tel { text-align: center; }

  .campaign__tel-label { justify-content: center; }

  .campaign__tel-number { font-size: 36px; }

  .contact__info,
  .contact__form-wrap { padding: 40px 24px; }
}

/* --- 〜640px --- */
@media (max-width: 640px) {
  .btn-pill--line { display: none; }
}

/* --- 〜480px --- */
@media (max-width: 480px) {
  .demo-banner { font-size: 11px; gap: 8px; padding: 0 12px; }

  :root { --header-h: 64px; }

  .site-header__logo { font-size: 18px; }
  .site-header__brand-icon { font-size: 24px; }

  .btn-pill { padding: 8px 14px; font-size: 12px; }

  .hero-badge__value { font-size: 24px; }

  .hero__cta .btn-cta { width: 100%; justify-content: center; }

  .offer-card { flex-direction: column; text-align: center; }

  .work-case__media { height: 240px; }

  .contact__badges { gap: 16px; }
}

@media (max-width: 360px) {
  .demo-banner { font-size: 10px; }
}
