/* ==========================================================================
   共通: 変数・リセット・基本要素
   ========================================================================== */
:root {
  --navy: #061a3b;
  --navy-deep: #020b1d;
  --navy-soft: #10284e;
  --red: #d80d18;
  --red-deep: #9f0610;
  --gold: #f4c735;
  --white: #ffffff;
  --text: #07162f;
  --muted: #5b6678;
  --line: rgba(6, 26, 59, 0.12);
  --service-blue: #5292E9;
  --service-green: #1F9A35;
  --service-orange: #F59953;
  --shadow: 0 22px 56px rgba(0, 10, 34, 0.18);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --container: 1240px;

  --card-shadow: 0 14px 32px rgba(6, 26, 59, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 8% 0%, rgba(216, 13, 24, 0.08), transparent 32rem),
    linear-gradient(180deg, #f7f9fd 0%, #ffffff 42%, #f7f9fd 100%);
  line-height: 1.75;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

/* ==========================================================================
   ヘッダー (.site-header)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 11, 29, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.02em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(216, 13, 24, 0.35);
}
.header-nav {
  display: flex;
  gap: 4px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 700;
}
.header-nav a {
  padding: 10px 12px;
  border-radius: 999px;
}
.header-nav a:hover,
.header-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.11);
  outline: none;
}

/* ==========================================================================
   ヒーローセクション (トップの帯 / #top 直下)
   ========================================================================== */
.hero-section {
  padding: 0 0 clamp(44px, 6vw, 84px);
  background:
    radial-gradient(circle at 92% 4%, rgba(216, 13, 24, 0.22), transparent 24rem),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
}
.hero-frame {
  display: grid;
  gap: 0;
}
.hero-media {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 22px 56px rgba(0, 10, 34, 0.35);
  border: 0;
  border-bottom: 6px solid var(--red);
  background: #04163a;
  position: relative;
  z-index: 2;
}
.hero-media picture {
  display: block;
  text-align: center;

  img {
    vertical-align: bottom;
  }
}
.hero-image {
  /* 現状HTML未使用（過去バージョンの名残） */
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.hero-copy {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
  padding: clamp(30px, 5vw, 52px) clamp(20px, 6vw, 60px);
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border-radius: 0;
  border-left: none;
  box-shadow: inset 0 10px 22px rgba(0, 0, 0, 0.18);
  position: relative;
  z-index: 1;
}

/* 共通コンポーネント: 見出し上のラベル (.eyebrow)
   ヒーロー以外に .section-navy / .cta-box でも使用 */
.eyebrow {
  margin: 0;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-copy .eyebrow { color: var(--gold); }
.hero-copy h1 { color: #ffffff; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
}
.hero-copy p:not(.eyebrow) {
  margin-bottom: 0;
  margin-inline: auto;
  max-width: 720px;
  font-size: clamp(1rem, 2vw, 1.24rem);
  color: rgba(255, 255, 255, 0.92);
}
.hero-video {
  width: min(100%, 860px);
  margin-top: 8px;
  padding: clamp(12px, 2vw, 18px);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}
.hero-video-label {
  margin: 0 0 10px;
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff4cf;
}
.hero-video-frame {
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  aspect-ratio: 16 / 9;
}
.hero-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video-note {
  margin: 10px 0 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.78);
}
.hero-actions {
  /* 現状HTML未使用（過去バージョンの名残） */
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

/* ==========================================================================
   共通コンポーネント: ボタン (.button)
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}
.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 14px 28px rgba(216, 13, 24, 0.28);
}
.button-outline {
  /* 現状HTML未使用（過去バージョンの名残） */
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}
.button-large { min-height: 58px; padding-inline: 30px; font-size: 1.05rem; }

/* ========================================================================== 
   固定電話CTA
   ========================================================================== */
.floating-tel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  gap: 2px;
  min-width: 250px;
  padding: 12px 16px;
  color: var(--navy);
  background: linear-gradient(135deg, #ffffff, #f3f7ff);
  border: 2px solid rgba(6, 26, 59, 0.18);
  border-left: 6px solid #e2b43a;
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(2, 11, 29, 0.24);
  transition: transform .2s ease, box-shadow .2s ease;
}
.floating-tel:hover,
.floating-tel:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(2, 11, 29, 0.3);
  outline: none;
}
.floating-tel-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(6, 26, 59, 0.72);
}
.floating-tel-number {
  font-size: 1.52rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.03em;
  color: var(--navy);
}

/* ==========================================================================
   共通コンポーネント: セクションの背景・見出し (.section / .section-heading)
   ========================================================================== */
.section {
  padding: clamp(58px, 8vw, 110px) 0;
}
.section-light { background: linear-gradient(180deg, #ffffff, #f7f9fd); }
.section-navy {
  background:
    radial-gradient(circle at 10% 0%, rgba(216, 13, 24, 0.24), transparent 28rem),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
}
.section-heading {
  max-width: 800px;
  margin: 0 auto clamp(26px, 4vw, 46px);
  text-align: center;
}
.section-heading.align-left { margin-inline: 0; text-align: left; }
.section-heading h2 {
  margin: 6px 0 12px;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.16;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}
.section-heading-invert h2 { color: var(--white); }
.section-heading-invert p:not(.eyebrow) { color: rgba(255, 255, 255, 0.88); }
.section-navy .eyebrow { color: #ffb4b9; }

/* ==========================================================================
   共通コンポーネント: 画像グリッド・カード
   #why(必要な理由) / #mechanism(防ぐ仕組み) / #service(プラン内容) で使用
   ========================================================================== */
.image-grid {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}
.reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1120px; margin-inline: auto; }
.mechanism-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1120px; margin-inline: auto; }
.image-card {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  border: 2px solid rgba(6, 26, 59, 0.12);
  box-shadow: var(--card-shadow);
}
.section-navy .image-card {
  border: 4px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}
.image-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.image-card picture { display: block; }

/* ==========================================================================
   WHYセクション
   ========================================================================== */
.why-cover {
  margin-bottom: clamp(28px, 4vw, 44px);

  img{
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--card-shadow);
  }
}

.image-card.reason-card {
  border: 4px solid var(--navy);
}

.why-footer {
  margin-top: clamp(28px, 4vw, 44px);
  text-align: center;

  img {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--card-shadow);
  }
}

/* ==========================================================================
   サービスセクション
   ========================================================================== */
.image-card.service-image-card-blue { border: 4px solid var(--service-blue); }
.image-card.service-image-card-green { border: 4px solid var(--service-green); }
.image-card.service-image-card-orange { border: 4px solid var(--service-orange); }

/* ==========================================================================
   CTAセクション (ページ末尾の申込み誘導帯)
   ========================================================================== */
.cta-section {
  padding: clamp(58px, 8vw, 104px) 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(216, 13, 24, 0.28), transparent 22rem),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white);
}
.cta-box {
  text-align: center;
  max-width: 880px;
}
.cta-box .eyebrow { color: var(--gold); }
.cta-box h2 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.05em;
}
.cta-box p:not(.eyebrow) {
  margin-inline: auto;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

/* ==========================================================================
   フッター (.site-footer)
   ========================================================================== */
.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.92rem;
}
.footer-inner p { margin: 0; }
.footer-inner a { font-weight: 800; color: var(--white); }

/* ==========================================================================
   レスポンシブ対応 (共通ブレークポイント)
   ここまでの各セクションに横断的にかかるメディアクエリ
   ========================================================================== */
@media (max-width: 1000px) {
  .service-layout, .steps-box { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 22px, var(--container)); }
  .header-inner { min-height: 62px; }
  .brand span:last-child { font-size: 0.94rem; }
  .header-nav { display: none; }
  .hero-section { padding-top: 0; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .reason-grid, .mechanism-grid, .service-grid { grid-template-columns: 1fr; }
  .image-card { border-radius: 14px; }
  .section-heading { text-align: left; }
  .steps-box { padding: 22px; border-radius: 22px; }
  .steps-list li { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; justify-content: center; text-align: center; padding: 22px 0; }
  .price-table-highlight td:first-of-type { background: var(--red); }
  .hero-video {
    border-radius: 14px;
    padding: 10px;
  }
  .hero-video-note {
    font-size: 0.78rem;
  }
  .floating-tel {
    right: 12px;
    left: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    min-width: 0;
    text-align: center;
  }
  .floating-tel-number {
    font-size: 1.34rem;
  }
}


/* ==========================================================================
   #price(料金) セクション
   ========================================================================== */
.price-highlight {
  /* 現状HTML未使用（過去バージョンの名残） */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 auto clamp(24px, 3vw, 40px);
}
.price-highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 40px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(6, 26, 59, 0.18);
  min-width: 260px;
}
.price-label { font-size: 1.2rem; font-weight: 800; color: #ffb4b9; letter-spacing: 0.03em; }
.price-value { font-size: 3.8rem; font-weight: 900; white-space: nowrap; }
.price-tax { font-size: 1.2rem; font-weight: 700; display: block; color: rgba(255, 255, 255, 0.8); margin-top: 2px; }
.price-highlight-divider { font-size: 2.2rem; font-weight: 900; color: var(--red); }
.price-lead {
  /* 現状HTML未使用（過去バージョンの名残） */
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 1.2rem;
  max-width: 780px;
  margin: 0 auto clamp(32px, 4vw, 48px);
}
.price-table-wrap { overflow-x: auto; margin-bottom: clamp(32px, 4vw, 48px); }
.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(6, 26, 59, 0.10);
}
.price-table th { background: var(--navy); color: #fff; padding: 20px 20px; text-align: left; font-size: 1.15rem; font-weight: 800; }
.price-table td { padding: 22px 20px; border-bottom: 1px solid var(--line); font-size: 1.15rem; color: var(--text); vertical-align: top; line-height: 1.6; }
.price-table tr:last-child td { border-bottom: none; }
.price-table .muted-note { color: var(--muted); font-weight: 600; font-size: 1rem; }
.price-table-highlight td { background: rgba(216, 13, 24, 0.06); font-weight: 800; }
.price-icon {
  /* 現状HTML未使用（過去バージョンの名残） */
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  color: var(--navy);
}
.price-icon svg { width: 30px; height: 30px; }
.price-lead .lead-icon { display: inline-flex; vertical-align: middle; color: var(--navy); margin: 0 6px; }
.price-lead .lead-icon svg { width: 22px; height: 22px; }
.price-lead strong { color: var(--red); }
.price-hero-image-card { margin-bottom: clamp(28px, 4vw, 44px); max-width: 900px; margin-inline: auto; }
.price-tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 999px;
}
.price-reasons { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 32px); }
.price-conclusion-wide { max-width: 820px; margin-inline: auto; text-align: center; }
.price-conclusion {
  /* 現状HTML未使用（過去バージョンの名残） */
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, rgba(216, 13, 24, 0.06) 100%);
  border: 2px solid rgba(216, 13, 24, 0.22);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 52px) clamp(28px, 5vw, 48px);
  display: grid;
  justify-items: center;
  gap: 14px;
  box-shadow: 0 24px 56px rgba(6, 26, 59, 0.14);
}
.conclusion-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  font-size: 1.9rem;
  box-shadow: 0 14px 28px rgba(216, 13, 24, 0.35);
}
.conclusion-eyebrow { margin: 0; }
.price-conclusion h3 { color: var(--navy); font-size: 1.6rem; margin: 2px 0 8px; letter-spacing: -0.01em; }
.price-conclusion p { margin: 0; color: #34415a; font-weight: 700; font-size: 1.2rem; line-height: 1.85; max-width: 620px; }
.price-conclusion strong {
  color: var(--red);
  background: rgba(216, 13, 24, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
}
.conclusion-divider {
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--gold));
  margin: 6px 0;
}
@media (max-width: 720px) { .price-highlight { flex-direction: column; } .price-table { min-width: 600px; } .price-table th, .price-table td { font-size: 1.02rem; } }


/* ==========================================================================
   #faq(よくある質問) セクション
   ========================================================================== */
.faq-list { display: grid; gap: clamp(16px, 3vw, 24px); max-width: 880px; margin-inline: auto; }
.faq-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: 0 14px 32px rgba(6, 26, 59, 0.08);
}
.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.5;
}
.faq-a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #34415a;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
}
.faq-q-badge, .faq-a-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1rem;
  color: #ffffff;
}
.faq-q-badge { background: var(--red); }
.faq-a-badge { background: var(--navy); }

/* ==========================================================================
   アクセシビリティ: モーション低減設定
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover,
  .button:focus-visible { transform: none; }
}




/* ==========================================================================
   #service(プラン内容) 用レイアウト
   現状HTML未使用（過去バージョンの名残。現在はimage-grid.service-gridのみ使用）
   ========================================================================== */
.service-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  min-height: 100%;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(6, 26, 59, 0.10);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--red));
  font-size: 1.65rem;
}
.service-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.22rem;
  line-height: 1.35;
}
.service-card p { margin-bottom: 0; color: var(--muted); font-weight: 700; }

/* ==========================================================================
   手順セクション (ステップ表示)
   現状HTML未使用（過去バージョンの名残）
   ========================================================================== */
.section-steps {
  background:
    linear-gradient(120deg, rgba(216, 13, 24, 0.06), transparent 40%),
    #ffffff;
}
.steps-box {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(26px, 5vw, 60px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, #ffffff 0%, #ffffff 60%, rgba(216, 13, 24, 0.05) 100%);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.steps-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border-radius: 18px;
  background: #f8fafd;
  border: 1px solid var(--line);
}
.step-num {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  font-weight: 900;
  font-size: 1.14rem;
}
.steps-list h3 {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 1.25rem;
}