/* ============================================================
   style.css - 年末調整代行LP
   ============================================================ */

/* ============================================================
   CSS カスタムプロパティ（変数）
   ============================================================ */
:root {
  /* カラーパレット */
  --color-primary: #E87722;       /* メインオレンジ */
  --color-primary-dark: #C75F0A;  /* オレンジ濃 */
  --color-primary-light: #FFF3E8; /* オレンジ薄 */
  --color-primary-mid: #FFD9B8;   /* オレンジ中 */
  --color-accent: #2563A8;        /* アクセントブルー */
  --color-text: #1A1A1A;          /* 本文テキスト */
  --color-text-sub: #555555;      /* サブテキスト */
  --color-text-muted: #888888;    /* ミュートテキスト */
  --color-border: #E0E0E0;        /* ボーダー */
  --color-bg: #FFFFFF;            /* 背景白 */
  --color-bg-light: #FAF8F5;      /* 背景薄クリーム */
  --color-bg-orange: #FFF3E8;     /* 背景オレンジ薄 */
  --color-bg-dark: #1A2535;       /* 背景ダーク */
  --color-success: #2E7D32;       /* 成功グリーン */
  --color-error: #C62828;         /* エラーレッド */

  /* タイポグラフィ */
  --font-sans: 'Noto Sans JP', sans-serif;

  /* フォントサイズ */
  --fs-xs: 0.75rem;   /* 12px */
  --fs-sm: 0.875rem;  /* 14px */
  --fs-base: 1rem;    /* 16px */
  --fs-md: 1.125rem;  /* 18px */
  --fs-lg: 1.25rem;   /* 20px */
  --fs-xl: 1.5rem;    /* 24px */
  --fs-2xl: 1.875rem; /* 30px */
  --fs-3xl: 2.25rem;  /* 36px */
  --fs-4xl: 3rem;     /* 48px */

  /* スペーシング */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* ボーダー */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* シャドウ */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

  /* 幅 */
  --container-width: 1200px;
  --container-padding: 1.5rem;
}

/* ============================================================
   リセット・ベース
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: var(--color-primary-dark);
  opacity: 0.85;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

/* ============================================================
   ユーティリティ
   ============================================================ */
.inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.sp-only {
  display: none;
}

/* ============================================================
   セクション共通
   ============================================================ */
.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-eyebrow {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  padding: 0 1.5em;
  margin-bottom: var(--space-sm);
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1em;
  height: 2px;
  background: var(--color-primary);
}

.section-eyebrow::before { right: 0; }
.section-eyebrow::after  { left: 0; }

.section-title {
  font-family: var(--font-sans);
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.section-desc {
  font-size: var(--fs-md);
  color: var(--color-text-sub);
  max-width: 640px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  background: var(--color-bg-orange);
  border-radius: var(--radius-lg);
}

.section-cta p {
  margin-bottom: var(--space-md);
  font-size: var(--fs-md);
  color: var(--color-text-sub);
}

/* ============================================================
   ボタン
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.875em 2em;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(232,119,34,0.3);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(232,119,34,0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.btn-white {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-white:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-color: var(--color-primary-light);
}

.btn-lg {
  font-size: var(--fs-md);
  padding: 1em 2.5em;
}

.btn-xl {
  font-size: var(--fs-lg);
  padding: 1.1em 3em;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.2s;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  height: 68px;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header-logo {
  flex-shrink: 0;
}
.logo-accent{
    width: 165px;
}

.logo-text {
  font-family: var(--font-sans);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.header-nav {
  flex: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  justify-content: flex-end;
}

.nav-list a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text-sub);
  transition: color 0.2s;
}

.nav-list a:hover {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #333;
  text-decoration: none;
}

.header-tel__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.header-tel__body {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-tel__body strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #333;
}

.header-tel__body small {
  margin-top: 2px;
  font-size: 11px;
  color: #555;
}

.header-cta {
  flex-shrink: 0;
  font-size: var(--fs-sm);
  padding: 0.6em 1.4em;
}

.btn-dark {
  background: #333;
  color: #fff;
  border-color: #333;
  border-radius: 7px;
}

.btn-dark:hover {
  background: #555;
  border-color: #555;
  color: #fff;
  transform: translateY(-1px);
}

.nav-contact-sp {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ============================================================
   ヒーローセクション
   ============================================================ */
.hero {
  background-color: #e8dfd3;
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 64px 0 80px;
  position: relative;
}

.hero-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

/* --- 左カラム --- */
.hero-content{
    margin-top: 60px;
}
.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.125rem, 3.8vw, 3.2rem);
  font-weight: 600;
  line-height: 1.3;
  color: #1A2535;
  margin-bottom: 24px;
}

.hero__accent {
  color: var(--color-primary);
}

.hero-desc {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: #1A2535;
  margin-bottom: 32px;
  line-height: 1.9;
}

/* 3つの訴求ポイント（白い横長ボックス） */
.hero-check-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  max-width: 420px;
}

.hero-check-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #A1DDA5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-check-icon::after {
  content: '';
  display: block;
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.hero-check-text {
  font-size: 15px;
  font-weight: 700;
  color: #1A2535;
  line-height: 1.4;
}

/* --- 右カラム：フォームカード --- */
.hero-form-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  padding: 24px 24px 28px;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero-form-label {
  font-size: 13px;
  font-weight: 700;
  color: #1A2535;
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.hero-form-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hero-form-note {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.hero-form-privacy {
  margin-top: 2px;
}

.hero-privacy-label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--color-text-sub);
}

.hero-privacy-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.hero-form-btn {
  width: 100%;
  background: #25324a;
  color: #fff;
  border: none;
  border-radius: 8px;
  height: 52px;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.hero-form-btn:hover {
  opacity: 0.88;
}

/* ============================================================
   CTAストリップ
   ============================================================ */
.cta-strip {
  background: var(--color-primary);
  padding: 18px 0;
}

.cta-strip .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.cta-strip-text {
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 500;
}

.btn-cta-strip {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid #fff;
  font-size: var(--fs-sm);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.btn-cta-strip:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

/* ============================================================
   お悩みセクション
   ============================================================ */
.section-problems {
  background: var(--color-bg);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.problem-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.problem-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.problem-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.problem-card:hover .problem-img img {
  transform: scale(1.04);
}

.problem-body {
  padding: var(--space-md) var(--space-md);
}

.problem-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.problem-text {
  font-size: var(--fs-sm);
  color: var(--color-text-sub);
  line-height: 1.8;
}

.problems-solution {
  margin-top: var(--space-2xl);
  text-align: center;
}

.solution-lead {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.solution-lead strong {
  color: var(--color-primary);
}

/* ============================================================
   年末調整業務代行サービスの強みセクション（Figma準拠）
   ============================================================ */
.section-strengths {
  background: #FAF8F5;
}

/* セクション見出し */
.strengths-header {
  text-align: center;
  margin-bottom: 40px;
}

.strengths-main-title {
  font-family: var(--font-sans);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 12px;
}

.strengths-sub-text {
  font-size: var(--fs-sm);
  color: var(--color-text-sub);
  line-height: 1.9;
}

/* 2カラムレイアウト */
.strengths-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.strengths-col-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.strengths-col-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* FITUREカード共通 */
.fiture-card {
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* 右カラムのFITURE 03：残り高さを埋める */
.fiture-card-tall {
  display: block;
  flex: 1;
}

.fiture-card-body {
  flex: 1;
}

/* FITUREラベル */
.fiture-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #999;
  border: 1px solid #DDD;
  border-radius: 4px;
  padding: 2px 8px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.fiture-card-title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.55;
  margin-bottom: 8px;
}

.fiture-card-text {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.85;
}

/* カード右側の小画像（FITURE 01・02） */
.fiture-card-img {
  flex-shrink: 0;
  width: 96px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
}

.fiture-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ステップ図 */
.fiture-steps-box {
  background: #fff;
  border-radius: 10px;
  padding: 20px 20px 22px;
  flex-shrink: 0;
  margin-top: 50px;
}

.fiture-steps-heading {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-text);
  text-align: left;
  margin-bottom: 14px;
}

/* 横向き矢印ステップ */
.fiture-steps-flow {
  display: flex;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
}

.fiture-step {
  flex: 1;
  padding: 20px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%);
}

.fiture-step:first-child {
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}

/* 左から右へ薄→濃オレンジ */
.step-1 { background: #FDE5CA; }
.step-2 { background: #F8C08B; }
.step-3 { background: #F09A48; }
.step-4 { background: #E87722; }

.step-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(0,0,0,0.45);
  line-height: 1;
}

.step-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  line-height: 1.3;
}

.step-4 .step-label,
.step-4 .step-name {
  color: #fff;
}

/* ============================================================
   特徴セクション
   ============================================================ */
.section-features {
  background: var(--color-bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  margin: 0 auto var(--space-md);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.feature-text {
  font-size: var(--fs-sm);
  color: var(--color-text-sub);
  line-height: 1.9;
}

/* ============================================================
   業務内容セクション（Figma準拠・6枚カード構成）
   ============================================================ */
.section-services {
  background: #fff;
}

/* コンテナ */
.sv-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* セクション見出し */
.sv-header {
  text-align: center;
  margin-bottom: 40px;
}

.sv-main-title {
  font-family: var(--font-sans);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 12px;
}

.sv-sub-text {
  font-size: var(--fs-sm);
  color: var(--color-text-sub);
  line-height: 1.9;
}

/* グリッド（3カラム） */
.sv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 1枚目だけ横長（2カラム分） */
.sv-card-wide {
  grid-column: span 2;
}

/* カード共通 */
.sv-card {
  background: #fff;
  border: 1px solid #faf8f5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* オプションバッジ（カード右上） */
.sv-badge-option {
  position: absolute;
  top: 5px;
  /* right: 12px; */
  left: 40px;
  font-size: 9px;
  font-weight: 500;
  color: #777;
  background: #E8E8E8;
  border-radius: 20px;
  padding: 2px 8px;
  letter-spacing: 0.04em;
  z-index: 1;
}

/* カードヘッダー帯（ブルーグレー背景） */
.sv-card-head {
  background: #faf8f5;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* アイコン（淡いブルーグレーの四角背景） */
.sv-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #fae5cb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sv-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* タイトル（濃いネイビー系） */
.sv-title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: #1f2a44;
  line-height: 1.45;
}

/* カードボディ */
.sv-card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sv-text {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.85;
  margin-bottom: 14px;
  flex: 1;
}

/* タグ（ピル型グレー） */
.sv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.sv-tag {
  font-size: 11px;
  color: #666;
  background: #F0F2F5;
  border-radius: 20px;
  padding: 3px 10px;
  font-weight: 500;
}

/* ============================================================
   導入実績セクション（Figma準拠）
   ============================================================ */
.section-results {
  background: #FAF8F5;
}

/* コンテナ */
.res-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ブロック共通見出し */
.res-block-head {
  text-align: center;
  margin-bottom: 28px;
}

.res-voice-head {
  margin-top: 48px;
}

.res-main-title {
  font-family: var(--font-sans);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.res-sub-title {
  font-family: var(--font-sans);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.res-sub-text {
  font-size: var(--fs-sm);
  color: var(--color-text-sub);
  line-height: 1.8;
}

/* ロゴボックス */
.res-logo-box {
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  max-width: 820px;
  margin: 0 auto 10px;
}

.res-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 20px;
}

.res-logo-item {
  width: 115px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.res-logo-item img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

/* 注釈 */
.res-logo-note {
  text-align: center;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* 声エリア 2カラム */
.res-voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

/* 汎用カード */
.res-card {
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.res-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.res-card-question {
  font-size: 13px;
  color: var(--color-text-sub);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* アンケート行（ドーナツ＋回答） */
.res-survey-row {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* SVGドーナツチャート */
.res-donut {
  position: relative;
  width: 160px;
  height: 160px;
  flex: 0 0 160px;
}

.res-donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-80deg);
}

.res-donut-track,
.res-donut-progress {
  fill: none;
  stroke-width: 32;
}

.res-donut-track {
  stroke: #e9edf2;
}

.res-donut-progress {
  stroke: #f58220;
  stroke-linecap: round;

  /*
    r=54 の円周は約339.3
    87% = 295.2
  */
  stroke-dasharray: 278.2 339.3;
  stroke-dashoffset: 0;
}

.res-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #1f2a44;
  line-height: 1.35;
  pointer-events: none;
}

.res-donut-pct {
  font-size: 22px;
  font-weight: 700;
}

.res-donut-lbl {
  font-size: 14px;
  font-weight: 700;
}

/* 回答ボックス */
.res-answers {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.res-answer {
  background: #fff;
  border: 1px solid #cfd6df;
  border-radius: 5px;
  padding: 12px 14px;
}

/* 回答ボックス上段：丸 + テキスト + パーセント */
.res-answer-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}

.res-answer-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.res-answer--positive .res-answer-dot { background: #f58220; }
.res-answer--negative .res-answer-dot { background: #c8d0dc; }

.res-answer-text {
  font-size: 14px;
  font-weight: 700;
  color: #1a2535;
}

.res-answer-pct {
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
  color: #1a2535;
}

.res-answer-note {
  font-size: 11px;
  color: var(--color-text-muted);
  margin: 0;
}

/* 業務時間削減 */
.res-hours-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.res-hours-num {
  font-family: var(--font-sans);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.res-hours-unit {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-text);
}

.res-hours-desc {
  font-size: 12px;
  color: var(--color-text-sub);
  margin-bottom: 16px;
}

.res-reduction-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.res-reduction-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  padding: 10px 14px;
  background: #FAFAFA;
}

.res-reduction-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
}

.res-reduction-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-light);
  border-radius: 20px;
  padding: 2px 10px;
}

/* コメントグリッド */
.res-comments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* コメントカード */
.res-comment-card {
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}

.res-comment-body {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.9;
  flex: 1;
  margin-bottom: 16px;
}

.res-comment-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #F0F0F0;
}

.res-comment-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E4E4E4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.res-comment-icon img{
  width: 70%;
}

.res-comment-company {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

.res-comment-size {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
}

/* ============================================================
   ミニCTAセクション（Figma準拠）
   ============================================================ */
.mini-cta {
  background: #1F2A44;
  padding: 52px 20px;
  text-align: center;
}

.mini-cta__inner {
  max-width: 860px;
  margin: 0 auto;
}

.mini-cta__title {
  font-family: var(--font-sans);
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 14px;
}

.mini-cta__text {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
  margin-bottom: 28px;
}

.mini-cta__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.mini-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 48px;
  padding: 0 28px;
  border-radius: 5px;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

.mini-cta__btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.mini-cta__btn--primary {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
}

.mini-cta__btn--secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

/* ============================================================
   サービスの仕組みセクション（Figma準拠）
   ============================================================ */
.service-system {
  background: #fff;
  padding: 80px 20px;
}

.service-system__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.service-system__title {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 14px;
}

.service-system__lead {
  font-size: var(--fs-sm);
  color: var(--color-text-sub);
  line-height: 1.8;
}

.service-system__image {
  margin-left: auto;
  margin-right: auto;
}

.service-system__image--flow {
  margin-top: 40px;
  max-width: 960px;
}

/* カスタマイズ説明カードボックス */
.service-system__customize-box {
  background: #F7F7F7;
  border-radius: 14px;
  padding: 44px 48px;
  margin-top: 64px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.service-system__customize-title {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  line-height: 1.5;
  margin-bottom: 16px;
}

.service-system__customize-text {
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: #444;
  max-width: 800px;
  margin: 0 auto 28px;
}

.service-system__image--customize {
  margin-top: 0;
  max-width: 820px;
}

.service-system__image a {
  display: block;
}

.service-system__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   ご利用の流れセクション（Figma準拠）
   ============================================================ */
.usage-flow {
  background: #FBF4EA;
  padding: 80px 20px;
}

.usage-flow__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.usage-flow__title {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  line-height: 1.5;
  margin-bottom: 14px;
}

.usage-flow__lead {
  font-size: var(--fs-sm);
  color: #444;
  line-height: 1.85;
}

/* スケジュールカード全体（白いカード） */
.usage-flow__schedule {
  margin-top: 40px;
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px 36px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.usage-flow__schedule-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 24px;
}

/* 4工程 横並び */
.usage-flow__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* 工程カード */
.usage-flow__step {
  flex: 1;
  min-width: 0;
  text-align: left;
  background: #fff;
  border: 1px solid #D9DEE8;
  border-radius: 10px;
  padding: 18px 16px 20px;
}

/* 月ラベル（オレンジ丸ピル） */
.usage-flow__month {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

/* タイトル（薄ブルーグレー帯） */
.usage-flow__step-title {
  background: #faf8f5;
  color: #25324A;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 5px;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* リスト */
.usage-flow__list {
  margin: 0;
  padding-left: 16px;
  list-style: disc;
  font-size: 12px;
  line-height: 1.75;
  color: #444;
}

/* 丸矢印 */
.usage-flow__arrow {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #9AA3B2;
  color: #fff;
  display: inline-flex;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

/* ============================================================
   FAQセクション（Figma準拠）
   ============================================================ */
.faq-section {
  background: #fff;
  padding: 80px 20px 24px;
  position: relative;
  margin-bottom: 90px;
}

.faq-section__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.faq-section__title {
  font-family: var(--font-sans);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

.faq-section__lead {
  font-size: var(--fs-sm);
  color: #444;
  line-height: 1.8;
}

/* アコーディオン */
.faq-accordion {
  margin-top: 32px;
  text-align: left;
}

.faq-item {
  border: 1px solid #D9DEE8;
  background: #fff;
  border-radius: 6px;
}

.faq-item + .faq-item {
  margin-top: 8px;
}

.faq-question {
  width: 100%;
  padding: 14px 18px;
  background: #fff;
  border: none;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #222;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.faq-question:hover {
  background: #F8F9FC;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--color-primary);
  transition: transform 0.25s;
  line-height: 1;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  transition: max-height 0.32s ease-out, padding 0.32s ease-out;
}

.faq-item.is-open .faq-answer {
  max-height: 600px;
  padding: 0 18px 14px;
}

.faq-answer p {
  font-size: 13px;
  color: #555;
  line-height: 1.85;
  border-top: 1px solid #EAEAEA;
  padding-top: 12px;
}

/* 注意喚起テキスト */
.border-notice {
  margin-top: -95px;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  padding-bottom: 4px;
  position: absolute;
  width: 100%;
  color: #222;
}
.border-notice span{
  color: #e53935;
}

/* ============================================================
   最後の問い合わせCTAフォームセクション（Figma準拠）
   ============================================================ */
.final-contact {
  background: #212c4a;
  color: #fff;
  position: relative;
  padding: 80px 20px 48px;
}

/* 上部の白いV字区切り */
.final-contact::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 100px;
  background: #fff;
  clip-path: polygon(0 0, 50% 100px, 100% 0, 100% 0, 0 0);
  z-index: 0;
}

.final-contact__inner {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
  margin-top: 80px;
}

.final-contact__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.final-contact__lead {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
}

/* フォームカード（白・1枚構成） */
.final-contact__form-card {
  max-width: 380px;
  margin: 25px auto 30px;
  background: #fff;
  color: #222;
  border-radius: 6px;
  padding: 20px 20px 30px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

/* フォーム内グループ */
.fc-form-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 20px;
}

.fc-form-group--privacy {
  margin-top: 20px;
  margin-bottom: 20px;
}

.fc-label {
  font-size: 12px;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* 必須アスタリスク */
.fc-asterisk {
  color: #e53935;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  margin-left: 1px;
}

.fc-input,
.fc-select {
  width: 100%;
  height: 36px;
  padding: 6px 10px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 13px;
  color: #333;
  background: #fff;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.fc-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
  cursor: pointer;
}

.fc-input:focus,
.fc-select:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(232,119,34,0.10);
}

.fc-note {
  font-size: 10px;
  color: #999;
  margin-top: 2px;
}

.fc-privacy-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #555;
  cursor: pointer;
  line-height: 1.4;
}

.fc-privacy-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  accent-color: var(--color-primary);
}

.fc-submit-btn {
  width: 100%;
  height: 38px;
  background: #f58220;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.fc-submit-btn:hover {
  opacity: 0.88;
}

/* 電話情報 */
.final-contact__tel {
  max-width: 360px;
  margin: 24px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  text-align: left;
}

.final-contact__tel-text {
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

.final-contact__tel-text p {
  margin: 0;
}

.final-contact__tel-info {
  text-align: left;
  flex-shrink: 0;
}

.final-contact__tel-num {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  margin-bottom: -8px;
}

.final-contact__tel-hours {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   お問い合わせフォーム（共通スタイル - ヒーローフォームでも使用）
   ============================================================ */

.form-errors {
  background: #FFEBEE;
  border: 2px solid var(--color-error);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
}

.form-errors-title {
  font-weight: 700;
  color: var(--color-error);
  margin-bottom: 0.5em;
}

.form-errors ul {
  padding-left: 1.5em;
  list-style: disc;
}

.form-errors ul li {
  font-size: var(--fs-sm);
  color: var(--color-error);
  padding: 0.2em 0;
}

.contact-form {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  max-width: 860px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.form-group-full {
  grid-column: 1 / -1;
  margin-bottom: var(--space-md);
}

.form-label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.required-badge {
  font-size: var(--fs-md);
  font-weight: 700;
  color: #C62828;
  border-radius: var(--radius-sm);
  letter-spacing: 0;
}

.optional-badge {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  background: #f0f0f0;
  padding: 0.15em 0.5em;
  border-radius: var(--radius-sm);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75em 1em;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(232,119,34,0.15);
  outline: none;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.5em;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5em;
  margin-top: 0.5em;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--color-text-sub);
  padding: 0.5em 0.75em;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  transition: background 0.2s, border-color 0.2s;
  line-height: 1.5;
}

.checkbox-label:hover {
  background: var(--color-bg-light);
  border-color: var(--color-primary);
}

.checkbox-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.1em;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.form-privacy {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  font-size: var(--fs-sm);
  color: var(--color-text-sub);
  line-height: 1.8;
}

.privacy-link {
  color: var(--color-accent);
  text-decoration: underline;
}

.privacy-agree {
  margin-top: 0.75em;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.6em 0.8em;
}

.form-submit {
  text-align: center;
  margin-top: var(--space-xl);
}

.form-note {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

/* ============================================================
   フッター
   ============================================================ */
.site-footer {
  background: #ffff;
  padding: var(--space-md) 0 var(--space-md);
  border-top: 1px solid var(--color-border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-xl);
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-tagline {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
  margin-top: var(--space-sm);
  line-height: 1.7;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
}

.footer-nav a {
  font-size: var(--fs-sm);
  color: #222;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  text-align: center;
}

.footer-address {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--space-xs);
}

.footer-copy {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   サンクスページ
   ============================================================ */
.thanks-page {
  background: var(--color-bg-light);
}

.thanks-main {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--container-padding);
}

.thanks-container {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
  max-width: 600px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.thanks-icon {
  margin: 0 auto var(--space-lg);
  width: 80px;
  height: 80px;
}

.thanks-title {
  font-family: var(--font-sans);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.thanks-text {
  font-size: var(--fs-base);
  color: var(--color-text-sub);
  line-height: 1.9;
  margin-bottom: var(--space-md);
}

.thanks-note {
  font-size: var(--fs-sm);
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.thanks-actions {
  margin-top: var(--space-lg);
}

.btn-secondary {
  background: #fff;
  color: #E87722;
  border: 2px solid #E87722;
}

.btn-secondary:hover {
  background: #FFF3E8;
}

/* ============================================================
   レスポンシブ対応
   ============================================================ */

/* タブレット（1024px以下） */
@media (max-width: 1024px) {
  :root {
    --container-padding: 1.25rem;
  }

  .section-title {
    font-size: var(--fs-2xl);
  }

  .hero-inner {
    grid-template-columns: 1fr 340px;
    gap: var(--space-xl);
  }

  .hero-form-card {
    padding: 22px 20px 26px;
  }

  .nav-list {
    gap: var(--space-md);
  }

  .features-grid {
    gap: var(--space-md);
  }

  .testimonials {
    gap: var(--space-md);
  }
}

/* スマホ（768px以下） */
@media (max-width: 768px) {
  :root {
    --space-3xl: 4rem;
    --space-2xl: 2.5rem;
    --container-padding: 1rem;
  }

  /* ヘッダー */
  .header-nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    padding: var(--space-xl) var(--container-padding);
    z-index: 99;
    overflow-y: auto;
  }

  .header-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-list li {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-list a {
    display: block;
    padding: var(--space-md) 0;
    font-size: var(--fs-lg);
    color: var(--color-text);
  }

  .header-tel {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .nav-contact-sp {
    display: block;
  }

  .hamburger {
    display: flex;
  }

  /* ヒーロー */
  .hero {
    background-image: url('../images/mobile-bg.png');
    background-position: center top;
    padding: 32px 0 48px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hero-check-list {
    gap: 10px;
  }

  .hero-check-item {
    max-width: 100%;
  }

  /* フォームカードはコンテンツの下に表示 */
  .hero-form-card {
    padding: 20px 16px 24px;
  }

  /* CTAストリップ */
  .cta-strip .inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
  }

  /* お悩みグリッド */
  .problems-grid {
    grid-template-columns: 1fr;
  }

  /* 強みセクション：1カラム */
  .strengths-layout {
    grid-template-columns: 1fr;
  }

  /* モバイルのステップ：縦並び */
  .fiture-steps-flow {
    flex-direction: column;
    gap: 3px;
    border-radius: 6px;
    overflow: visible;
  }

  .fiture-step,
  .fiture-step:first-child {
    clip-path: none;
    border-radius: 6px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 10px 16px;
    gap: 10px;
  }

  .step-label {
    font-size: 11px;
    min-width: 52px;
  }

  .step-name {
    font-size: 13px;
    text-align: left;
  }

  /* 特徴グリッド */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* 業務内容：1カラム */
  .sv-grid {
    grid-template-columns: 1fr;
  }

  .sv-card-wide {
    grid-column: span 1;
  }

  /* 導入実績：1カラム */
  .res-voice-grid,
  .res-comments-grid {
    grid-template-columns: 1fr;
  }

  /* アンケートカード：スマホ縦並び */
  .res-survey-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .res-donut {
    width: 140px;
    height: 140px;
  }

  .res-donut::before {
    inset: 33px;
  }

  .res-answers {
    width: 100%;
  }

  .res-answer {
    width: 100%;
  }

  .res-logo-item {
    width: 90px;
    height: 40px;
  }

  .res-logo-item img {
    max-height: 32px;
  }

  /* フォーム（共通） */
  .form-row {
    grid-template-columns: 1fr;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  /* FAQ スマホ */
  .faq-section {
    padding: 56px 16px 28px;
  }

  .faq-section__title {
    font-size: var(--fs-xl);
  }

  .border-notice {
      margin-top: -100px;
      font-size: 12px;
  }

  /* 最後の問い合わせフォーム スマホ */
  .final-contact {
    padding: 56px 16px 36px;
  }

  .final-contact::before {
    height: 44px;
    clip-path: polygon(0 0, 50% 44px, 100% 0, 100% 0, 0 0);
  }

  .final-contact__title {
    font-size: 1.3rem;
  }

  .final-contact__form-card {
    max-width: 100%;
    padding: 16px 14px 18px;
  }

  .final-contact__tel {
    max-width: 100%;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .final-contact__tel-text {
    text-align: center;
  }

  .final-contact__tel-info {
    text-align: center;
  }

  /* フッター */
  .footer-top {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .footer-nav ul {
    gap: var(--space-xs) var(--space-md);
  }

  /* セクションタイトル */
  .section-title {
    font-size: var(--fs-xl);
  }
}

/* 小さめスマホ（480px以下） */
@media (max-width: 480px) {
  :root {
    --space-3xl: 3rem;
    --space-2xl: 2rem;
  }

  .btn-lg {
    font-size: var(--fs-base);
    padding: 0.9em 1.8em;
  }

  .btn-xl {
    font-size: var(--fs-md);
    padding: 1em 2em;
    width: 100%;
  }

  .hero-title {
    font-size: clamp(1.875rem, 7.5vw, 2.25rem);
  }

  .contact-form {
    padding: var(--space-md);
  }

  .section-title {
    font-size: var(--fs-lg);
  }

  /* ミニCTA スマホ */
  .mini-cta {
    padding: 40px 20px;
  }

  .mini-cta__title {
    font-size: var(--fs-xl);
  }

  .mini-cta__buttons {
    flex-direction: column;
    gap: 12px;
  }

  .mini-cta__btn {
    width: 100%;
    min-width: unset;
    max-width: 360px;
  }

  /* ご利用の流れ スマホ */
  .usage-flow {
    padding: 56px 16px;
  }

  .usage-flow__title {
    font-size: 1.6rem;
  }

  .usage-flow__schedule {
    padding: 24px 16px 28px;
  }

  .usage-flow__steps {
    flex-direction: column;
    gap: 0;
  }

  .usage-flow__step {
    width: 100%;
    max-width: 320px;
  }

  /* スマホの矢印は下向き */
  .usage-flow__arrow {
    transform: rotate(90deg);
    margin: 6px auto;
  }

  /* サービスの仕組み スマホ */
  .service-system {
    padding: 56px 16px;
  }

  .service-system__title {
    font-size: 1.6rem;
  }

  .service-system__image--flow {
    margin-top: 32px;
  }

  .service-system__customize-box {
    padding: 28px 20px;
    margin-top: 40px;
  }

  .service-system__customize-title {
    font-size: 1.2rem;
  }

  .service-system__customize-text {
    font-size: 13px;
  }

  .thanks-container {
    padding: var(--space-xl) var(--space-md);
  }
}

/* ============================================================
   資料ダウンロードページ
   ============================================================ */
.download-hero {
  padding: 64px 20px 80px;
  background: #fff;
}

.download-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 72px;
}

.download-hero__content {
  flex: 1;
  min-width: 0;
}

.download-hero__title {
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 700;
  color: #1a2535;
  line-height: 1.35;
  margin-bottom: 18px;
}

.download-hero__lead {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  line-height: 1.85;
  margin-bottom: 14px;
}

.download-hero__link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #1a2535;
  text-decoration: underline;
  margin-bottom: 28px;
}

.download-hero__link:hover {
  color: var(--color-primary);
}

/* 資料表紙画像 */
.download-material {
  margin-top: 10px;
  margin-bottom: 20px;
  max-width: 300px;
}

.download-material img {
  display: block;
  width: 100%;
  height: auto;
}

/* この資料でわかること */
.download-points {
  border: 1px solid #d9dee8;
  border-radius: 8px;
  padding: 18px 20px;
}

.download-points__title {
  font-size: 15px;
  font-weight: 700;
  color: #1a2535;
  margin-bottom: 12px;
}

.download-points__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.download-points__list li {
  font-size: 13px;
  color: #333;
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.download-points__list li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.55;
}

/* フォームカード（右カラム） */
.download-form-card {
  flex-shrink: 0;
  width: 425px;
  background: #F5F5F5;
  border: 1px solid #d9dee8;
  border-radius: 10px;
  padding: 28px 28px 40px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

/* フォームグループ */
.dl-form-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 20px;
}

.dl-form-group--privacy {
  margin-top: 20px;
  margin-bottom: 20px;
}

.dl-label {
  font-size: 12px;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: center;
  gap: 1px;
}

.dl-asterisk {
  color: #e53935;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  margin-left: 1px;
}

.dl-input,
.dl-select {
  width: 100%;
  height: 38px;
  padding: 7px 10px;
  border: 1px solid #d0d5df;
  border-radius: 4px;
  font-size: 13px;
  color: #333;
  background: #fff;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.dl-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
  cursor: pointer;
}

.dl-input:focus,
.dl-select:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(232,119,34,0.10);
}

.dl-note {
  font-size: 10px;
  color: #999;
  margin-top: 1px;
}

.dl-privacy-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #555;
  cursor: pointer;
  line-height: 1.4;
}

.dl-privacy-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  accent-color: var(--color-primary);
}

.download-submit-btn {
  width: 100%;
  height: 46px;
  background: #25324a;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.download-submit-btn:hover {
  opacity: 0.85;
}

/* ダウンロードページ レスポンシブ */
@media (max-width: 768px) {
  .download-hero {
    padding: 40px 16px 48px;
  }

  .download-hero__inner {
    flex-direction: column;
    gap: 32px;
  }

  .download-form-card {
    width: 100%;
    padding: 20px 16px 22px;
  }

  .download-cover {
    max-width: 100%;
  }

  .download-hero__title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  .download-hero__lead br {
    display: none;
  }
}

/* ============================================================
   スクロールフェードイン（js-fade-up / IntersectionObserver）
   ============================================================ */
.js-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.js-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-fade-delay-1 { transition-delay: 0.1s; }
.js-fade-delay-2 { transition-delay: 0.2s; }
.js-fade-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   ヒーロー初期表示アニメーション
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  @keyframes animFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
  }

  .hero-title      { animation: animFadeUp 0.7s ease-out 0.10s both; }
  .hero-desc       { animation: animFadeUp 0.7s ease-out 0.30s both; }
  .hero-form-card  { animation: animFadeUp 0.7s ease-out 0.25s both; }

  .hero-check-item:nth-child(1) { animation: animFadeUp 0.6s ease-out 0.45s both; }
  .hero-check-item:nth-child(2) { animation: animFadeUp 0.6s ease-out 0.60s both; }
  .hero-check-item:nth-child(3) { animation: animFadeUp 0.6s ease-out 0.75s both; }
}

/* ============================================================
   モーション軽減対応（OS設定）
   ============================================================ */
@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-fade-up {
    opacity: 1 !important;
    transform: none !important;
  }
}
