@charset "UTF-8";

/* =========================================================
   Web集客簡易診断 LP
   Figma: 01｜LP 全体｜PC 1440 (frame 2000px / content 1440px)
   Breakpoints: PC >=1280 / Tablet 768-1279 / SP <=767
   ========================================================= */

/* ---------- Design tokens (Figma 指示書 8:12) ---------- */
:root {
  --blue:          #1469c9;
  --blue-deep:     #0875d8;
  --blue-bright:   #1682eb;
  --blue-soft:     #85b6ea;
  --blue-hand:     #78abea;
  --navy:          #17365d;
  --yellow:        #ffd33b;
  --yellow-cta:    #ffd52f;
  --yellow-amber:  #eaaf10;
  --yellow-pale:   #fff0a8;

  --pale-1:        #eaf6ff;
  --pale-2:        #eef8ff;
  --pale-3:        #f9fcff;
  --chip-bg:       #e1f1ff;
  --label:         #b4ddfb;
  --muted:         #526b86;
  --sub-light:     #d7ebff;

  --field-bg:      #f1f7fc;
  --field-border:  #d8e6f2;
  --field-ph:      #92a5b8;
  --check-border:  #a8bdcf;
  --opt:           #8093a9;

  --container:     1440px;
  --gutter:        40px;
  --header-h:      88px;

  --shadow-card:   0 8px 26px rgba(121, 173, 222, .16);
  --shadow-soft:   0 8px 13px rgba(121, 173, 222, .16);
  --shadow-paper:  0 12px 32px rgba(23, 54, 92, .15);

  --sec-gap:       20px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", meiryo, sans-serif;
  font-weight: 400;
  color: var(--navy);
  background: #fff;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: anywhere;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }

/* <picture> はレイアウトに関与させず、中の <img> を直接の子として扱う
   （WebP の出し分けを追加しても既存のレイアウト指定がそのまま効くようにするため） */
picture { display: contents; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- Layout ---------- */
.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* ---------- Section head (共通) ---------- */
.sec-label {
  font-size: clamp(17px, 1.67vw, 24px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--label);
  text-align: center;
  letter-spacing: .04em;
  margin-bottom: var(--sec-gap);
}

.sec-title {
  font-size: clamp(24px, 2.92vw, 42px);
  font-weight: 700;
  line-height: 1.7;
  color: var(--navy);
  text-align: center;
  text-wrap: balance;
  margin-bottom: var(--sec-gap);
}

.sec-accent {
  display: block;
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: var(--yellow);
  margin: 0 auto var(--sec-gap);
}

.sec-accent--wide { width: 112px; height: 8px; border-radius: 4px; background: #ffd333; }

/* ---------- Button (Figma: CTA コンポーネント) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--yellow-cta);
  color: var(--navy);
  font-family: inherit;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}

.btn:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23, 54, 92, .18); }
.btn:active { transform: translateY(0); box-shadow: none; }

.btn--sm     { width: 210px; height: 48px; font-size: 16px; background: var(--yellow); border-radius: 36px; }
.btn--hero   { width: 660px; max-width: 100%; height: 80px; font-size: clamp(17px, 1.81vw, 26px); border-radius: 40px; }
.btn--report { width: 660px; max-width: 100%; height: 72px; font-size: clamp(16px, 1.53vw, 22px); border-radius: 36px; }
.btn--submit { width: 100%; height: 74px; font-size: clamp(16px, 1.74vw, 25px); border-radius: 37px; }


/* =========================================================
   Header  (Figma 5:3 / h88 / px108)
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  box-shadow: 0 1px 0 rgba(23, 54, 92, .07);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  padding-inline: clamp(20px, 5.4vw, 108px);
}

.header__brand {
  font-size: clamp(17px, 1.67vw, 24px);
  font-weight: 700;
  line-height: 1.65;
  color: var(--navy);
}

.header__actions { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }

.header__sample {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.header__sample:hover { text-decoration: underline; }


/* =========================================================
   01 FV  (Figma 5:4 / 2000x840 / bg #eaf6ff)
   ========================================================= */
.fv {
  position: relative;
  overflow: hidden;
  background: var(--pale-1);
  padding: 104px 0 121px;
}

.fv__grid {
  display: grid;
  grid-template-columns: minmax(0, 710px) minmax(0, 1fr);
  align-items: center;
}

.fv__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 56px;
  width: 100%;
}

.fv__hand {
  font-family: "Klee One", "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: clamp(19px, 1.94vw, 28px);
  line-height: 1.6;
  color: var(--blue-bright);
  text-wrap: balance;
}

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

.fv__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 340px;
  height: 42px;
  padding-inline: 24px;
  border-radius: 24px;
  background: var(--blue-deep);
  color: #fff;
  font-size: clamp(16px, 1.6vw, 23px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 28px;
}

.fv__title {
  font-size: clamp(38px, 5.56vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .01em;
  color: var(--navy);
  margin-bottom: 26px;
}

.fv__title-accent { color: var(--yellow-amber); }

.fv__lead {
  font-size: clamp(16px, 1.6vw, 23px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
}

.fv__sample { width: 660px; max-width: 100%; text-align: center; }

.link-sample {
  font-size: clamp(14px, 1.18vw, 17px);
  line-height: 1.6;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-sample:hover { text-decoration-thickness: 2px; }

/* --- FV media: Figma では frame(2000) 内で left:960 / w:1000 。
       余白がある画面幅ではコンテナ外へブリードして原寸比に近づける --- */
.fv__media {
  position: relative;
  z-index: 0;
  aspect-ratio: 1000 / 700;
  margin-left: -30px;
  margin-right: calc(-1 * clamp(0px, (100vw - var(--container)) / 2, 240px));
}

.fv__photo,
.fv__mask { position: absolute; inset: 0; width: 100%; height: 100%; }
.fv__photo { object-fit: contain; }
.fv__mask  { pointer-events: none; }

.fv__report {
  position: absolute;
  left: 67.1%;
  top: 66.4%;
  width: 16.8%;
  height: auto;
  aspect-ratio: 168 / 238;
  border-radius: 4px;
  box-shadow: var(--shadow-paper);
  transform: rotate(7deg);
}

.fv__wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: auto;
  pointer-events: none;
}


/* =========================================================
   02 こんなお悩みはありませんか  (Figma 5:7)
   ========================================================= */
.trouble {
  --sec-gap: 24px;
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 50px 0 72px;
}

.trouble__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.trouble .sec-title { line-height: 1.5; }

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

.t-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 24px 28px;
  background: #fff;
  border: 1.5px solid #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.t-card__visual { position: relative; width: 264px; max-width: 100%; margin-bottom: 12px; }
.t-card__photo  { width: 100%; height: auto; aspect-ratio: 264 / 205; object-fit: contain; }

/* 各カード右上のアイコン（Figma 70:23 / 70:26 / 70:31）*/
.t-card__deco { position: absolute; left: 87.84%; top: 24.5%; height: auto; }
.t-card__deco--1 { width: 18.99%; aspect-ratio: 50.1519 / 46.3413; }
.t-card__deco--2 { width: 18.27%; aspect-ratio: 48.2309 / 51.5204; }
.t-card__deco--3 { width: 22.92%; aspect-ratio: 60.5178 / 47.7944; }

.t-card__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 224px;
  height: 42px;
  padding-inline: 20px;
  border-radius: 21px;
  background: var(--chip-bg);
  color: var(--blue);
  font-size: clamp(16px, 1.39vw, 20px);
  font-weight: 700;
}

.t-card__title {
  font-size: clamp(20px, 1.88vw, 27px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
  text-align: center;
  margin-top: 2px;
}

.t-card__desc {
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}


/* =========================================================
   03 変える前に、「今の状態」を  (Figma 22:23)
   ========================================================= */
.process {
  position: relative;
  overflow: hidden;
  background: var(--pale-1);
  padding: 50px 0 64px;
}

.process__title { font-size: clamp(24px, 2.78vw, 40px); line-height: 1.5; }

.process__lead {
  max-width: 1260px;
  margin: 0 auto var(--sec-gap);
  font-size: clamp(15px, 1.53vw, 22px);
  line-height: 1.65;
  color: var(--navy);
  text-align: center;
}

.steps {
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin-top: 14px;
}

.step {
  position: relative;
  flex: 0 1 428px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 300px;
  padding: 24px 16px;
  background: #fff;
  border-radius: 20px;
}

.step__num {
  position: absolute;
  left: 12px;
  top: -14px;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--blue-deep);
  border: 4px solid #fff;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
}

.step__icon { position: relative; flex: none; width: 144px; height: 110px; }
.step__icon img { position: absolute; }
.step__icon--1 img { left: 11.31%; top: 19.18%; width: 75.40%; height: 77.16%; }
.step__icon--2 img { left: 22.51%; top: 12.28%; width: 49.72%; height: 78.88%; }
.step__icon--3 img { left: 10.66%; top: 1.08%;  width: 64.21%; height: 86.63%; }

.step__title {
  font-size: clamp(20px, 1.94vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  text-align: center;
}

.step__desc {
  font-size: clamp(15px, 1.46vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}

.steps__arrow {
  flex: 0 0 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(28px, 3.19vw, 46px);
  font-weight: 700;
  color: var(--blue-soft);
}

/* 手書き風の補足（Figma 59:31）*/
.process__note {
  position: absolute;
  left: 80.5%;
  top: 63px;
  width: 292px;
  transform: rotate(-7deg);
  z-index: 2;
  pointer-events: none;
}

.process__note-text {
  font-family: "Klee One", "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 23px;
  line-height: 1.35;
  color: var(--blue-hand);
  text-align: center;
}

.process__note-line { width: 292px; height: auto; margin-top: 4px; }


/* =========================================================
   05 こんなレポートをお届けします  (Figma 22:37)
   ========================================================= */
.report {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 56px 0 72px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.report__body {
  display: grid;
  grid-template-columns: minmax(0, 403px) minmax(0, 820px);
  gap: 100px;
  align-items: center;
  justify-content: start;
}

.report__cover-btn {
  display: block;
  width: 368px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform: rotate(-4deg);
  transition: transform .25s ease;
}
.report__cover-btn:hover { transform: rotate(-4deg) scale(1.03); }

.report__cover-btn img {
  width: 100%;
  height: auto;
  aspect-ratio: 368 / 520;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: var(--shadow-paper);
}

.report__text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

.report__headline {
  font-size: clamp(22px, 2.36vw, 34px);
  font-weight: 700;
  line-height: 1.7;
  color: var(--navy);
}

.report__desc {
  font-size: clamp(15px, 1.53vw, 22px);
  line-height: 1.8;
  color: var(--navy);
}

.report__note { font-size: 14px; line-height: 1.7; color: var(--muted); }

.report__badge {
  position: absolute;
  left: 72.5%;
  top: 210px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 258px;
  height: 258px;
  border-radius: 50%;
  background: var(--yellow-pale);
  color: var(--blue);
  font-size: 29px;
  font-weight: 900;
  line-height: 1.6;
  text-align: center;
  pointer-events: none;
}


/* =========================================================
   04 診断で分かる、3つのこと  (Figma 22:28)
   ========================================================= */
.feature {
  background: var(--pale-2);
  padding: 50px 0 64px;
}

.feature__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 16px;
}

.f-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 286px;
  padding: 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.f-card__num {
  position: absolute;
  left: 16px;
  top: -16px;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--pale-1);
  color: var(--blue-deep);
  font-size: 25px;
  font-weight: 700;
}

.f-card__icon { position: relative; flex: none; width: 68px; height: 68px; }
.f-card__icon img { position: absolute; }
.f-card__icon--1 img { left: 16.41%; top: 11.72%; width: 70.31%; height: 75.00%; }
.f-card__icon--2 img { left: 11.72%; top: 13.29%; width: 73.44%; height: 75.00%; }
.f-card__icon--3 img { left: 11.72%; top: 9.90%;  width: 73.44%; height: 81.52%; }

.f-card__title {
  font-size: clamp(19px, 1.74vw, 25px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
  text-align: center;
}

.f-card__desc {
  font-size: clamp(15px, 1.32vw, 19px);
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}


/* =========================================================
   06 いろいろな角度からチェック  (Figma 22:49)
   ========================================================= */
.check {
  background: #fff;
  padding: 50px 0 48px;
}

.check__title { font-size: clamp(22px, 2.64vw, 38px); }

.check__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.c-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 180px;
  padding: 24px 20px 24px 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.c-card__icon { position: relative; flex: none; width: 56px; height: 56px; }
.c-card__icon img { position: absolute; }
.c-card__icon--1 img { left: 13.29%; top: 11.73%; width: 78.13%; height: 78.13%; }
.c-card__icon--2 img { left: 8.61%;  top: 7.04%;  width: 82.81%; height: 76.56%; }
.c-card__icon--3 img { left: 24.21%; top: 8.61%;  width: 54.69%; height: 82.81%; }
.c-card__icon--4 img { left: 8.61%;  top: 10.16%; width: 82.81%; height: 68.75%; }
.c-card__icon--5 img { left: 7.04%;  top: 13.29%; width: 85.94%; height: 75.00%; }
.c-card__icon--6 img { left: 10.16%; top: 13.29%; width: 79.69%; height: 73.44%; }

.c-card__body { display: flex; flex-direction: column; gap: 8px; }

.c-card__title {
  font-size: clamp(17px, 1.46vw, 21px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--blue-deep);
}

.c-card__desc {
  font-size: clamp(14px, 1.18vw, 17px);
  line-height: 1.6;
  color: var(--muted);
}

.check__footnote {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}


/* =========================================================
   07 よくあるご質問  (Figma 22:65)
   ========================================================= */
.faq {
  --sec-gap: 18px;
  background: var(--pale-3);
  padding: 40px 0 90px;
}

.faq__list { max-width: 1320px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }

.faq__item { background: #fff; border-radius: 12px; box-shadow: var(--shadow-card); }

.faq__heading { font-size: inherit; font-weight: inherit; }

.faq__q {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  min-height: 78px;
  padding: 14px 28px 14px 32px;
  background: none;
  border: 0;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
}

.faq__mark {
  flex: none;
  font-size: clamp(21px, 1.94vw, 28px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--blue-bright);
}

.faq__text {
  flex: 1;
  font-size: clamp(16px, 1.53vw, 22px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
}

.faq__chevron {
  flex: none;
  width: 11.63px;
  height: 6.38px;
  margin-inline: 6.19px;
  transition: transform .25s ease;
}

.faq__q[aria-expanded="true"] .faq__chevron { transform: rotate(180deg); }

.faq__a {
  padding: 0 32px 22px 82px;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.7;
  color: var(--navy);
}


/* =========================================================
   TRUST  安心してご利用いただくために  (Figma 84:17)
   frame 2000 / content 1440 : pt48 pb64 / 各ブロック間 32px
   ========================================================= */
.trust {
  --sec-gap: 10px;              /* Figma: label→title→accent = 10px */
  background: var(--pale-3);
  padding: 48px 0 64px;
}

.trust .sec-title  { line-height: 1.6; }   /* 84:20 は 42px / 1.6 */
.trust .sec-accent { margin-bottom: 0; }

.trust__intro {
  margin-top: 32px;
  font-size: clamp(16px, 1.53vw, 22px);
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}

/* 4つの安心ポイント (84:23) — 342px × 4 + gap 24px = 1440px */
.trust__list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.trust__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 26px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(8, 89, 173, .07);
}

/* アイコン枠 64px 内の配置は Figma の inset をそのまま % 指定 */
.trust__icon { position: relative; flex: none; width: 64px; height: 64px; }
.trust__icon img { position: absolute; }
.trust__icon--1 img { left: 10.16%; top: 16.41%; width: 79.69%; height: 73.44%; }
.trust__icon--2 img { left: 8.59%;  top: 13.28%; width: 82.81%; height: 76.56%; }
.trust__icon--3 img { left: 10.16%; top: 8.59%;  width: 84.38%; height: 85.94%; }
.trust__icon--4 img { left: 14.84%; top: 8.59%;  width: 70.31%; height: 84.38%; }

.trust__title {
  width: 100%;                  /* 84:30 のテキスト枠 294px = 342 - 24*2 */
  font-size: clamp(16px, 1.67vw, 24px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
  text-align: center;
}

.trust__note {
  margin-top: 32px;
  font-size: clamp(14px, 1.39vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}


/* =========================================================
   08 無料診断の申し込み  (Figma 22:75)
   ========================================================= */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--blue-deep);
  padding: 86px 0 100px;
  scroll-margin-top: var(--header-h);
}

.cta__wave-top { position: absolute; left: 0; top: -1px; width: 100%; height: auto; z-index: 1; pointer-events: none; }

.cta__scape { position: absolute; left: 0; right: 0; bottom: 0; height: auto; z-index: 0; }
.cta__city { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.cta__fade { position: absolute; left: 0; top: 0; width: 100%; height: auto; }

.cta__hand {
  position: absolute;
  left: 4.4%;
  bottom: 56vh;
  z-index: 2;
  width: 320px;
  font-family: "Klee One", "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.6;
  color: #fff;
  transform: rotate(-8deg);
  pointer-events: none;
}

.cta .container { z-index: 2; }

.cta__title {
  font-size: clamp(22px, 2.64vw, 38px);
  font-weight: 700;
  line-height: 1.7;
  color: #fff;
  text-align: center;
  margin-bottom: 24px;
}

.cta__sub {
  font-size: clamp(16px, 1.46vw, 21px);
  font-weight: 700;
  line-height: 1.7;
  color: var(--sub-light);
  text-align: center;
  margin-bottom: 24px;
}

.cta__steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 40px;
  margin-bottom: 24px;
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 700;
  line-height: 1.7;
  color: #fff;
  text-align: center;
}

/* ---------- 申し込みフォーム ---------- */
.form {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px 48px;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.form__title { font-size: clamp(20px, 1.81vw, 26px); font-weight: 700; line-height: 1.6; color: var(--navy); }
.form__note  { font-size: clamp(14px, 1.11vw, 16px); line-height: 1.6; color: var(--muted); }

.form__row { display: flex; align-items: center; gap: 16px; }

.form__label {
  flex: 0 0 260px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
}

.form__req { font-size: 13px; font-weight: 700; color: var(--blue-deep); }
.form__req--opt { color: var(--opt); }

.form__input {
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 0 18px;
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: clamp(15px, 1.18vw, 17px);
  color: var(--navy);
}
.form__input::placeholder { color: var(--field-ph); }
.form__input:focus { border-color: var(--blue-deep); background: #fff; }
.form__input:user-invalid { border-color: #d6455a; background: #fff6f7; }

.form__consent {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(15px, 1.18vw, 17px);
  line-height: 1.6;
  color: var(--navy);
}

.form__checkbox {
  flex: none;
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--check-border);
  border-radius: 4px;
  cursor: pointer;
  display: grid;
  place-content: center;
}
.form__checkbox::after {
  content: "";
  width: 12px;
  height: 7px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg) translate(1px, -2px);
  opacity: 0;
}
.form__checkbox:checked { background: var(--blue-deep); border-color: var(--blue-deep); }
.form__checkbox:checked::after { opacity: 1; }
.form__consent label { cursor: pointer; }

.form__policy-link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.form__policy-link:hover { text-decoration-thickness: 2px; }

.form__privacy { font-size: 14px; line-height: 1.6; color: var(--muted); }
.form__after   { font-size: 14px; line-height: 1.6; color: var(--muted); text-align: center; }

.form__error {
  margin: 0;
  padding: 12px 16px;
  background: #fff1f3;
  border: 1px solid #f2c2c9;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #b3273c;
}


/* =========================================================
   診断サンプル ライトボックス
   ========================================================= */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }

.lightbox__backdrop { position: absolute; inset: 0; background: rgba(9, 32, 60, .72); }

.lightbox__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: min(900px, 100%);
  max-height: 100%;
}

/* 元画像は 318x450 のため、拡大は 2倍までに留めて画質の破綻を防ぐ */
.lightbox__image {
  width: auto;
  height: min(900px, calc(100vh - 170px));
  max-width: 100%;
  margin: 0 auto;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
  object-fit: contain;
}

.lightbox__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lightbox__caption { font-size: 15px; color: #fff; }

.lightbox__apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding-inline: 28px;
  border-radius: 999px;
  background: var(--yellow-cta);
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.lightbox__apply:hover { filter: brightness(1.05); }

.lightbox__close {
  position: absolute;
  right: -8px;
  top: -52px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .3); }
.lightbox__close svg { width: 22px; height: 22px; fill: none; }

body.is-locked { overflow: hidden; }


/* =========================================================
   Footer  (LP共通。下層ページからも参照)
   ========================================================= */
.footer {
  background: var(--navy);
  color: #fff;
  padding-top: 48px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px 40px;
  padding-bottom: 36px;
}

.footer__name {
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1.6;
}

.footer__name a { text-decoration: none; }
.footer__name a:hover { text-decoration: underline; }

.footer__desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--sub-light);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(20px, 2.6vw, 36px);
}

.footer__links a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.footer__links a:hover { text-decoration: underline; }

.footer__copy {
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding: 18px 0 20px;
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
  color: var(--sub-light);
}


/* =========================================================
   下層ページ共通  (company.html / privacy.html)
   ========================================================= */
.header__brand--link { text-decoration: none; }
.header__brand--link:hover { text-decoration: underline; }

.page { padding-bottom: clamp(56px, 6vw, 96px); }

.page__hero {
  background: var(--pale-1);
  padding: clamp(36px, 4vw, 56px) 0 clamp(32px, 3.6vw, 48px);
  text-align: center;
}

.page__label {
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--blue-soft);
  margin-bottom: 10px;
}

.page__title {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
}

.breadcrumb {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  padding: 14px 0 0;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "／"; margin: 0 8px; color: var(--blue-soft); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* 本文幅は 900px（--container を上書きして .container の式をそのまま使う） */
.page__body {
  --container: 900px;
  margin-top: clamp(32px, 4vw, 56px);
}

.page__lead {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 2;
  color: var(--navy);
}

/* ---------- 会社概要テーブル ---------- */
.spec { width: 100%; border-collapse: collapse; margin-top: 12px; }

.spec th,
.spec td {
  text-align: left;
  vertical-align: top;
  padding: 20px 4px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.9;
  border-bottom: 1px solid var(--field-border);
}

.spec th {
  width: 190px;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

.spec td { font-weight: 400; color: var(--navy); }
.spec td a { color: var(--blue); }
.spec small { display: block; font-size: 13px; color: var(--muted); }

/* ---------- プライバシーポリシー本文 ---------- */
.policy__sec { margin-top: clamp(32px, 3.4vw, 44px); }

.policy__h {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
  padding-left: 14px;
  border-left: 6px solid var(--yellow);
  margin-bottom: 14px;
}

.policy__sec p {
  font-size: clamp(15px, 1.15vw, 16px);
  line-height: 2;
  color: var(--navy);
}
.policy__sec p + p { margin-top: 12px; }

.policy__list { margin-top: 12px; display: grid; gap: 8px; }

.policy__list li {
  position: relative;
  padding-left: 24px;
  font-size: clamp(15px, 1.15vw, 16px);
  line-height: 1.9;
}

.policy__list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: .82em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-soft);
}

.policy__date {
  margin-top: clamp(32px, 3.4vw, 48px);
  font-size: 14px;
  line-height: 1.9;
  text-align: right;
  color: var(--muted);
}

/* ---------- 問い合わせ窓口カード ---------- */
.page__card {
  margin-top: 20px;
  padding: clamp(20px, 2.2vw, 28px);
  background: var(--pale-3);
  border: 1px solid var(--field-border);
  border-radius: 16px;
}

.page__card p { font-size: clamp(15px, 1.15vw, 16px); line-height: 1.9; }
.page__card a { color: var(--blue); }

/* ---------- ページ下部のLPへの導線 ---------- */
.page__back {
  margin-top: clamp(40px, 4.4vw, 64px);
  text-align: center;
}

/* =========================================================
   Tablet  (<= 1279px)
   ========================================================= */
@media (max-width: 1279px) {
  :root { --gutter: 32px; }

  /* 手書き・装飾バッジは本文と重なるため非表示 */
  .process__note,
  .report__badge,
  .cta__hand { display: none; }

  .check__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* TRUST: 2列 × 2段。カード幅は PC の 342px 相当で止める */
  .trust__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 708px;
    margin-inline: auto;
  }
  /* カード幅が PC と同じなので、見出しも Figma の 24px を保つ */
  .trust__title { font-size: 24px; }

  .report__body { gap: 48px; }
}


/* =========================================================
   Tablet / narrow  (<= 1023px)
   ========================================================= */
@media (max-width: 1023px) {
  .fv { padding: 56px 0 96px; }

  .fv__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }

  .fv__copy { gap: 36px; align-items: center; text-align: center; }
  .fv__headline { align-items: center; }
  .fv__lead { text-align: center; }
  .fv__badge { min-width: 0; }
  .fv__sample { width: 100%; }

  .fv__media { margin: 0 auto; max-width: 620px; width: 100%; }

  .trouble__list,
  .feature__list { grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 520px; margin-inline: auto; }

  .feature__list { margin-top: 24px; }

  .steps { flex-direction: column; align-items: center; gap: 0; }
  .step { flex: 0 0 auto; width: 100%; max-width: 520px; min-height: 0; }
  .steps__arrow { flex: 0 0 auto; height: 64px; transform: rotate(90deg); }

  .report__body {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    justify-items: center;
  }
  .report__cover { width: 100%; }
  .report__text { width: 100%; align-items: center; text-align: center; }
  .report__cover-btn { width: 300px; }

  .form { padding: 36px 32px; }
  .form__label { flex: 0 0 190px; }

  .footer__inner { flex-direction: column; gap: 20px; }
  .spec th { width: 150px; }
}


/* =========================================================
   SP  (<= 767px)
   ========================================================= */
@media (max-width: 767px) {
  :root { --gutter: 20px; --header-h: 64px; }

  .sec-accent { width: 56px; height: 5px; }
  .sec-accent--wide { width: 80px; height: 6px; }

  .header__actions { gap: 12px; }
  .header__sample { display: none; }
  .btn--sm { width: auto; height: 42px; padding-inline: 18px; font-size: 14px; }

  .fv { padding: 40px 0 72px; }
  .fv__copy { gap: 28px; }
  .fv__hand { font-size: 17px; }
  .fv__badge { height: 36px; font-size: 15px; margin-bottom: 18px; }
  .fv__title { margin-bottom: 18px; }
  .btn--hero { height: 66px; }

  .trouble  { padding: 40px 0 56px; }
  .process  { padding: 40px 0 48px; }
  .report   { padding: 40px 0 56px; }
  .feature  { padding: 40px 0 48px; }
  .check    { padding: 40px 0 40px; }
  .faq      { padding: 32px 0 56px; }
  .trust    { padding: 32px 0 48px; }
  .cta      { padding: 56px 0 72px; }

  .t-card { padding: 14px 16px 24px; border-radius: 20px; }
  .t-card__visual { width: 220px; }

  .check__list { grid-template-columns: minmax(0, 1fr); }
  .c-card { min-height: 0; padding: 20px 18px; gap: 14px; }

  .step { padding: 28px 18px 24px; }
  .step__num { width: 56px; height: 56px; font-size: 21px; left: 10px; top: -12px; }
  .step__icon { width: 120px; height: 92px; }

  .report__cover-btn { width: min(240px, 72%); }
  .btn--report { height: 62px; }

  .faq__q { gap: 14px; padding: 14px 16px; min-height: 68px; }
  .faq__a { padding: 0 16px 18px 46px; }

  /* TRUST: 2列のまま。カード内が窮屈にならないよう余白と字間を詰める */
  .trust__intro,
  .trust__list,
  .trust__note { margin-top: 24px; }
  .trust__list { gap: 12px; max-width: none; }
  .trust__card { gap: 12px; padding: 20px 8px; border-radius: 14px; }
  .trust__icon { width: 52px; height: 52px; }
  .trust__title { font-size: 16px; }

  .cta__steps { flex-direction: column; gap: 6px; }

  .form { padding: 28px 20px; border-radius: 18px; gap: 16px; }
  .form__row { flex-direction: column; align-items: stretch; gap: 8px; }
  .form__label { flex: none; }
  .form__input { height: 50px; font-size: 16px; }
  .btn--submit { height: 64px; }

  .lightbox { padding: 16px; }
  .lightbox__image { height: auto; width: 100%; max-height: calc(100vh - 190px); object-fit: contain; }
  .lightbox__close { top: auto; bottom: -56px; right: 50%; transform: translateX(50%); }
  .lightbox__bar { justify-content: center; }

  .footer { padding-top: 36px; }
  .footer__links { gap: 10px 20px; }

  /* 会社概要テーブルは項目名を上、内容を下に積む */
  .spec tr,
  .spec th,
  .spec td { display: block; width: auto; }
  .spec th { padding: 18px 0 0; border: 0; font-size: 14px; }
  .spec td { padding: 2px 0 18px; }
}
