@charset "UTF-8";
/* ============================================
   HP無料診断LP - 株式会社アップグレード
   ============================================ */
:root {
  --red: #B5121B;
  --red-dark: #9B0F17;
  --text: #1A1A1A;
  --text-sub: #333;
  --gray: #666;
  --gray-light: #999;
  --border: #ECEAE6;
  --border-input: #D9D6D0;
  --bg-alt: #FAFAF8;
  --amber-text: #A06A00;
  --amber-bg: #F8EFDC;
  --gray-label-text: #6E6A64;
  --gray-label-bg: #EEECE8;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, .06);
  --font-num: 'Outfit', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #fff; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3, h4, p, ul { margin: 0; }

/* ---- ボタン ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--red);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  padding: 20px;
  min-width: 460px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(181, 18, 27, .28);
}
.btn:hover { background: var(--red-dark); color: #fff; text-decoration: none; }
.btn .arrow { font-family: var(--font-num); }
.btn--small { font-size: 14px; padding: 10px 20px; gap: 8px; min-width: 0; box-shadow: none; }
.btn--mid { padding: 18px; min-width: 420px; }

/* ---- ラベル ---- */
.tag { font-size: 13px; font-weight: 700; border-radius: 4px; padding: 4px 12px; flex: none; }
.tag--sm { font-size: 12px; padding: 2px 8px; }
.tag--must { color: #fff; background: var(--red); }
.tag--opt, .tag--gray { color: var(--gray-label-text); background: var(--gray-label-bg); }
.tag--amber { color: var(--amber-text); background: var(--amber-bg); }

/* ---- ヘッダー ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-header__logo { height: 34px; width: auto; display: block; }
.site-header__note { font-size: 13px; color: #555; }
.site-header__spacer { flex: 1; }

/* ---- ファーストビュー ---- */
.fv { background: #fff; border-bottom: 1px solid var(--border); }
.fv__grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 88px;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "card" "cta" "chips";
}
.fv__head { grid-area: head; display: flex; flex-direction: column; gap: 20px; }
.fv__prehead { color: var(--red); font-size: 16px; font-weight: 700; }
.fv__title { font-size: 44px; font-weight: 900; line-height: 1.45; letter-spacing: .01em; }
.fv__sub { font-size: 16px; line-height: 1.9; color: var(--text-sub); }
.fv__chips { grid-area: chips; display: flex; gap: 12px; flex-wrap: wrap; }
.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #E2E0DC;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
}
.chip svg { flex: none; }
.fv__cta { grid-area: cta; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.fv__cta .btn { box-shadow: var(--shadow-card); }
.fv__cta-note { font-size: 13px; color: var(--gray); }
.fv__card-wrap { grid-area: card; }

/* ---- 診断レポートカード ---- */
.report-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .14);
  padding: 24px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.report-card__title {
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.report-card__body { display: flex; gap: 16px; align-items: flex-start; }
.report-card__scores { flex: 1; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.report-card__label { font-size: 13px; font-weight: 700; color: var(--gray); margin-bottom: 6px; }
.report-card__grade { display: flex; align-items: center; gap: 10px; }
.grade-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #E8A33D;
  color: #D08A1F;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.report-card__grade-text { font-size: 13px; line-height: 1.6; color: var(--text-sub); }
.score-ring { display: flex; align-items: center; gap: 6px; }
.score-ring__circle { position: relative; width: 88px; height: 88px; flex: none; }
.score-ring__num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 28px;
}
.score-ring__denom { font-family: var(--font-num); font-size: 14px; color: var(--gray); }
.report-card__radar { flex: none; max-width: 52%; height: auto; }
.report-card__radar text { font-size: 13px; fill: var(--gray); font-family: 'Noto Sans JP', sans-serif; }
.report-card__issues {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.report-card__issues-title { font-size: 13px; font-weight: 700; }
.report-card__issues-list { display: flex; flex-direction: column; gap: 8px; }
.issue-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-alt);
  border-radius: 4px;
  padding: 8px 10px;
}
.issue-row__name { font-size: 13px; font-weight: 700; width: 78px; flex: none; }
.issue-row__text { font-size: 13px; color: var(--text-sub); }
.report-card__note { font-size: 12px; color: var(--gray-light); }

/* ---- FV：診断レポート冊子スタック ---- */
.doc-stack {
  position: relative;
  height: 560px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.doc-stack__page {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .10);
  width: 330px;
  height: 470px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}
.doc-stack__page--back1 { top: 26px; right: 44px; transform: rotate(4deg); z-index: 2; }
.doc-stack__page--back2 { top: 0; right: 0; transform: rotate(8deg); z-index: 1; }
.doc-page__head {
  font-size: 14px;
  font-weight: 700;
  border-bottom: 2px solid var(--text);
  padding-bottom: 8px;
}
.doc-page__score { display: flex; align-items: center; gap: 18px; }
.doc-page__lines {
  flex: 1;
  background: repeating-linear-gradient(to bottom, #F1EFEB 0px, #F1EFEB 9px, transparent 9px, transparent 26px);
  border-radius: 2px;
}
.doc-cover {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: 340px;
  height: 480px;
  background: var(--red);
  border-radius: 6px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .22);
  padding: 14px;
}
.doc-cover__frame {
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 4px;
  height: 100%;
  padding: 30px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  color: #fff;
}
.doc-cover__badge {
  background: #fff;
  color: var(--red);
  font-weight: 900;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 2px;
  letter-spacing: .04em;
}
.doc-cover__title { font-size: 34px; font-weight: 900; line-height: 1.4; letter-spacing: .04em; }
.doc-cover__sub { font-size: 12.5px; line-height: 1.9; color: rgba(255, 255, 255, .92); }
.doc-cover__check {
  background: #fff;
  border-radius: 4px;
  padding: 16px;
  width: 100%;
  margin-top: auto;
  color: var(--text);
}
.doc-cover__check-title { font-size: 13px; font-weight: 900; margin-bottom: 10px; text-align: center; }
.doc-cover__check ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.doc-cover__check li {
  position: relative;
  padding-left: 26px;
  padding-bottom: 8px;
  font-size: 12.5px;
  font-weight: 500;
  border-bottom: 1px solid #EEECE8;
}
.doc-cover__check li:last-child { border-bottom: none; padding-bottom: 0; }
.doc-cover__check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  border: 1.5px solid #C9C6C0;
  border-radius: 3px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- セクション共通 ---- */
.sec { padding: 130px 24px; }
.sec--alt { background: var(--bg-alt); }
.sec__inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; }
.sec__inner--wide { max-width: 800px; }
.sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.sec-head__num {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: .22em;
}
.sec-head__title {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .02em;
}
.sec-head::after {
  content: "";
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--red);
  margin-top: 6px;
}

/* ---- 2. 診断が必要な理由 ---- */
.reason .sec__inner { gap: 28px; text-align: center; }
.reason__title {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.6;
  border-bottom: 2px solid var(--text);
  padding-bottom: 20px;
  align-self: center;
}
.reason__text { font-size: 16px; line-height: 2.1; color: var(--text-sub); }
.reason__empathy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.empathy-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  padding: 22px 26px;
}
.empathy-item__title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.empathy-item__text { font-size: 14px; line-height: 1.9; color: var(--gray); }

/* ---- 3. 無料で診断できる項目 ---- */
.items .sec__inner { gap: 48px; }
.items__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.item-card {
  background: #fff;
  border: 1px solid #E4E1DC;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
  padding: 28px 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.item-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.item-card__head svg {
  stroke: var(--red);
  flex: none;
  width: 58px;
  height: 58px;
  padding: 15px;
  background: #FBF1F1;
  border-radius: 50%;
}
.item-card__title { font-size: 21px; font-weight: 700; }
.item-card ul {
  list-style: none;
  padding-left: 0;
  font-size: 14px;
  line-height: 2;
  color: var(--text-sub);
}
.item-card li { position: relative; padding-left: 24px; }
.item-card li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--red);
  font-weight: 700;
}

/* ---- 4. 診断で見つかる問題の例 ---- */
.problems .sec__inner { gap: 48px; }
.problems__list { display: flex; flex-direction: column; gap: 14px; }
.problem-row {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  padding: 20px 24px;
}
.problem-row svg { flex: none; }
.problem-row__texts { display: flex; flex-direction: column; gap: 4px; }
.problem-row__title { font-size: 16px; font-weight: 700; }
.problem-row__desc { font-size: 14px; color: var(--gray); }
.problems__cta { display: flex; justify-content: center; }

/* ---- 5. 診断の流れ ---- */
.flow .sec__inner { gap: 56px; max-width: 900px; }
.flow__row { display: flex; align-items: stretch; justify-content: center; gap: 16px; }
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 1;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .07);
  padding: 36px 20px 32px;
}
.flow-step__icon-wrap { position: relative; }
.flow-step__icon {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: #FBF1F1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-step__icon svg { stroke: var(--red); }
.flow-step__num {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(181, 18, 27, .3);
}
.flow-step__title { font-size: 18px; font-weight: 700; }
.flow-step__desc { font-size: 13px; line-height: 1.8; color: var(--gray); }
.flow__arrow {
  align-self: center;
  color: var(--red);
  font-family: var(--font-num);
  font-size: 28px;
  font-weight: 700;
  flex: none;
}

/* ---- 6. なぜ無料で診断するのか ---- */
.why .sec__inner { gap: 48px; }
.why__card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.why__card::before,
.why__card::after {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 160px;
  line-height: 1;
  color: rgba(181, 18, 27, .07);
  position: absolute;
  pointer-events: none;
}
.why__card::before { content: "\201C"; top: 18px; left: 28px; }
.why__card::after { content: "\201D"; bottom: -50px; right: 28px; }
.why__heart {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #FBF1F1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why__lead { font-size: 24px; font-weight: 900; line-height: 1.7; letter-spacing: .02em; }
.why__text { font-size: 16px; line-height: 2.2; color: var(--text-sub); }
.why__text strong {
  font-weight: 700;
  color: var(--text);
  background: linear-gradient(transparent 68%, rgba(181, 18, 27, .16) 68%);
}
.sp-only { display: none; }

/* ---- 7. 会社紹介・実績 ---- */
.company .sec__inner { gap: 56px; max-width: 1040px; }
.company__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.company__logo { height: 56px; width: auto; }
.company__text { font-size: 16px; line-height: 2.1; color: var(--text-sub); }
.company__philosophy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 36px 24px;
}
.company__philosophy-label { font-size: 13px; font-weight: 700; color: var(--red); letter-spacing: .12em; }
.company__philosophy-title { font-size: 30px; font-weight: 900; letter-spacing: .08em; }
.company__philosophy-text { font-size: 15px; color: var(--text-sub); }
.company__features { display: flex; gap: 20px; }
.feature-card {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.feature-card svg { stroke: var(--red); }
.feature-card__title { font-size: 16px; font-weight: 700; }
.feature-card__desc { font-size: 13px; color: var(--gray); }
.company__cases { display: flex; flex-direction: column; gap: 28px; }
.company__cases-title { font-size: 20px; font-weight: 700; text-align: center; }
.company__cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  background: #fff;
}
.case-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 15px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.case-card__icon {
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 50%;
  background: rgba(181, 18, 27, .08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-card__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 22px 22px 26px; }
.case-card__title { font-size: 16px; font-weight: 700; }
.case-card__text { font-size: 13px; line-height: 2; color: var(--text-sub); }

/* ---- 8. よくあるご質問 ---- */
.faq .sec__inner { gap: 48px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}
.faq summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { color: var(--red); font-family: var(--font-num); }
.faq summary .q-text { flex: 1; }
.faq .chev { transition: transform .2s; flex: none; }
.faq details[open] .chev { transform: rotate(180deg); }
.faq__answer {
  padding: 0 24px 20px 52px;
  font-size: 14px;
  line-height: 2;
  color: var(--text-sub);
}

/* ---- 9. 申込フォーム ---- */
.apply { padding-bottom: 140px; }
.apply .sec__inner { max-width: 720px; gap: 48px; }
.apply__notes { display: flex; flex-direction: column; gap: 14px; }
.apply__note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-radius: 6px;
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-sub);
}
.apply__note svg { flex: none; margin-top: 3px; }
.apply__note p { margin: 0; }
.apply__note strong { font-weight: 700; color: var(--text); }
.apply__note--support {
  background: #fff;
  border: 1px solid #E8C9CB;
  border-left: 5px solid var(--red);
}
.apply__note--gift {
  background: #FBF1F1;
  border: 1px solid #E8C9CB;
  border-left: 5px solid var(--red);
  font-size: 15px;
}
.apply__note--gift strong { color: var(--red); font-size: 16px; }
.apply__note-plain {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-sub);
}
.apply__note-plain svg { flex: none; margin-top: 3px; }
.apply__note-plain p { margin: 0; }
.apply__note-plain strong { font-weight: 700; color: var(--text); }
.apply__note-gift { font-size: 14px; color: var(--text-sub); padding-left: 38px; }
.apply__form { display: flex; flex-direction: column; gap: 28px; }
.form-field { display: flex; flex-direction: column; gap: 10px; }
.form-field__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="url"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border-input);
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
}
.form-field textarea { resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-checks { display: flex; flex-direction: column; gap: 10px; }
.form-checks label,
.apply__privacy {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}
input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--red); }
.apply__submit-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding-top: 8px;
}
.apply__privacy-note { font-size: 13px; color: var(--gray); text-align: center; }

/* ---- Zoho埋め込みフォーム（zf-templateWidth）に .apply__form と同じレイアウトを適用 ---- */
.zf-templateWidth ul { list-style: none; margin: 0; padding: 0; }
.zf-templateWidth .zf-subContWrap > ul { display: flex; flex-direction: column; gap: 28px; }
.zf-templateWidth .zf-tempFrmWrapper { display: flex; flex-direction: column; gap: 10px; }
.zf-templateWidth .zf-clearBoth { display: none; }
.zf-templateWidth .zf-labelName { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; margin: 0; }
.zf-templateWidth .zf-important { color: var(--red); font-style: normal; }
.zf-templateWidth .zf-tempContDiv input[type="text"],
.zf-templateWidth .zf-tempContDiv textarea {
  width: 100%;
  border: 1px solid var(--border-input);
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
}
.zf-templateWidth .zf-tempContDiv textarea { resize: vertical; }
.zf-templateWidth .zf-tempContDiv input:focus,
.zf-templateWidth .zf-tempContDiv textarea:focus { outline: none; border-color: var(--red); }
.zf-templateWidth .zf-errorMessage { font-size: 12px; color: var(--red); margin: 4px 0 0; }
.zf-templateWidth .zf-phwrapper > span > label { display: none; }

.zf-templateWidth .zf-checkbox .zf-overflow { display: flex; flex-direction: column; gap: 10px; }
.zf-templateWidth .zf-multiAttType { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.zf-templateWidth input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--red); margin: 0; }

.zf-templateWidth .zf-tempFrmWrapper.zf-note { font-size: 13px; text-align: center; }
.zf-templateWidth .zf-tempFrmWrapper.zf-decesion .zf-tempContDiv { display: flex; align-items: center; gap: 10px; }
.zf-templateWidth .zf-tempFrmWrapper.zf-decesion .zf-labelName { font-weight: 400; cursor: pointer; }

.zf-templateWidth .zf-fmFooter { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 8px; }
.zf-templateWidth .zf-submitColor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--red);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  padding: 20px;
  min-width: 460px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(181, 18, 27, .28);
}
.zf-templateWidth .zf-submitColor:hover { background: var(--red-dark); }
.zf-templateWidth .zf-tempFrmWrapper.zf-decesion{
  align-items: center;
  margin-bottom: 20px;
}
ul li .cta-micro{
  margin-top: 20px;
}
@media (min-width: 700px) {
  .zf-templateWidth .zf-tempFrmWrapper:not(.zf-decesion):not(.zf-note):not(:has(textarea)) {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: center;
    column-gap: 24px;
  }
  .zf-templateWidth .zf-tempFrmWrapper:has(textarea) {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
    column-gap: 24px;
  }
  .zf-templateWidth .zf-tempFrmWrapper:has(textarea) .zf-labelName { padding-top: 10px; }
  .zf-templateWidth .zf-subContWrap > ul { gap: 22px; }
}
@media (max-width: 959px) {
  .zf-templateWidth .zf-submitColor { width: 100%; max-width: 420px; min-width: 0; }
}

/* ---- フッター ---- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 24px;
}
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.site-footer__logo { height: 32px; width: auto; }
.site-footer__copy { font-size: 12px; color: var(--gray-light); }

/* ============================================
   HP無料診断LP v3 専用スタイル
   style.css の後に読み込む上書き用
   ============================================ */

/* ---- FV：冊子モック（白表紙＋中面2ページ） ---- */
.bk-stack {
  position: relative;
  height: 540px;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}
.bk-page {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .08);
  width: 330px;
  height: 440px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.bk-page--score { top: 12px; left: 120px; transform: rotate(1.5deg); z-index: 2; }
.bk-page--check { top: 0; left: 210px; transform: rotate(3deg); z-index: 1; width: 320px; height: 430px; }
.bk-page__label { font-size: 12px; font-weight: 700; color: var(--gray); text-align: center; margin-bottom: 6px; }
.bk-page__scorebar { display: flex; align-items: flex-start; justify-content: center; gap: 32px; }
.bk-page__scoreitem { display: flex; flex-direction: column; align-items: center; }
.bk-page .score-ring__circle { width: 68px; height: 68px; }
.bk-page .score-ring__num { font-size: 22px; }
.bk-page__lines {
  flex: 1;
  background: repeating-linear-gradient(to bottom, #F1EFEB 0px, #F1EFEB 9px, transparent 9px, transparent 26px);
  border-radius: 2px;
}
.bk-page__head {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray);
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}
.bk-checklines {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bk-checklines li { display: flex; align-items: center; gap: 10px; }
.bk-checklines li::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1.5px solid #C9C6C0;
  border-radius: 3px;
  flex: none;
}
.bk-checklines li::after {
  content: "";
  height: 8px;
  flex: 1;
  background: #F1EFEB;
  border-radius: 2px;
}
.bk-cover {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: 340px;
  height: 420px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .16);
  transform: rotate(-1.5deg);
  padding: 36px 30px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.bk-cover__company {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: .14em;
}
.bk-cover__titlebox {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.bk-cover__titlebox::before,
.bk-cover__titlebox::after {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--red);
}
.bk-cover__title {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--text);
}
.bk-cover__sub { font-size: 13px; color: var(--text-sub); letter-spacing: .02em; }

/* ---- CTA直下のマイクロコピー ---- */
.cta-micro { font-size: 12px; color: var(--gray); text-align: center; letter-spacing: .02em; }
.problems__cta { flex-direction: column; align-items: center; gap: 12px; }
.why__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* ---- クロージング ---- */
.closing { background: #FBF1F1; }
.closing .sec__inner { gap: 24px; align-items: center; text-align: center; }
.closing__title { font-size: 32px; font-weight: 900; line-height: 1.5; }
.closing__text { font-size: 16px; line-height: 2; color: var(--text-sub); }
.closing__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 8px; }

/* ---- モバイル固定CTAバー ---- */
.sp-cta-bar { display: none; }

.apply__notes { align-items: center; }

.sp_break { display: none; }

/* ---- FV CTAのはみ出し防止（デスクトップ2カラム時） ----
   style.css の .btn は min-width:460px 固定。960px以上の2カラム時、
   左カラムは (画面幅 - 48 - 540 - 36) まで狭まるため、実効幅1084px未満で
   ボタンが列幅を超えて画面外へはみ出し、左端が切れていた。
   列幅に追従させ、はみ出しを構造的に起こらなくする。 */
@media (min-width: 960px) {
  .fv__cta { width: 100%; min-width: 0; }
  .fv__cta .btn { min-width: 0; width: 100%; max-width: 460px; }
}

/* ---- 960〜1199px（1280/1440の125%・150%拡大に相当）---- */
@media (min-width: 960px) and (max-width: 1199px) {
  /* 見出しが左カラム幅を超えて不自然に折り返すのを防ぐ */
  .fv__title { font-size: clamp(28px, 3.4vw, 44px); }
  /* FVの余白を詰め、CTAとマイクロコピー帯をファーストビュー内に収める */
  .fv__grid { padding-top: 44px; padding-bottom: 52px; gap: 28px; }
}

/* ---- FV縦圧縮：ウィンドウ高さ900px以下のデスクトップ（1366×768等のノートPC想定）----
   ヘッダー(約63px)込みでプリヘッド〜CTA〜マイクロコピーが初期表示に収まるようにする。
   圧縮はFV内のみ。他セクションの余白には影響しない。 */
@media (min-width: 960px) and (max-height: 900px) {
  .fv__grid { padding-top: 28px; padding-bottom: 36px; gap: 20px; }
  .fv__head { gap: 12px; }
  .fv__prehead { font-size: 14px; }
  .fv__title { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.4; }
  .fv__sub { font-size: 15px; line-height: 1.8; }
  .chip { padding: 9px 12px; font-size: 12.5px; }
  .fv__cta { gap: 10px; }
  .fv__cta .btn { padding: 15px 48px; }
  .fv__cta-note { font-size: 12px; }
  /* 右カラムのレポート冊子も同比率で縮小。
     内部は絶対配置のためheightは540pxのまま維持し（変えると重なりが崩れる）、
     transformで縮小して差分の高さを負マージンで回収する */
  .bk-stack { transform: scale(.85); transform-origin: top center; margin-bottom: -81px; }
}

/* ---- レスポンシブ（v3分） ---- */
@media (max-width: 959px) {
  .bk-stack { height: auto; display: flex; justify-content: center; }
  .bk-page { display: none; }
  .bk-cover { position: static; transform: none; width: 100%; max-width: 340px; height: 420px; }
  /* フォームはモバイルでは縦積み（style.cssの700px横並びを打ち消し） */
  .apply .form-field { display: flex; }
  .apply .form-field--top .form-field__label { padding-top: 0; }
  .fv__chips{justify-content: center;}
  .fv__prehead{font-size:15px;}
}

/* ---- 固定CTAバー：1024px未満で表示（デスクトップ相当ではFV内CTAが見えるため不要）---- */
@media (max-width: 1023px) {
  body { padding-bottom: 74px; }
  .sp-cta-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255, 255, 255, .96); border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .sp-cta-bar .btn { width: 100%; max-width: none; min-width: 0; padding: 14px 20px; font-size: 15px; }
}


/* ============================================
   レスポンシブ
   ============================================ */
@media (min-width: 700px) {
  .apply .form-field { display: grid; grid-template-columns: 230px minmax(0, 1fr); align-items: center; column-gap: 24px; }
  .apply .form-field--top { align-items: start; }
  .apply .form-field--top .form-field__label { padding-top: 10px; }
  .apply__form { gap: 22px; }
}
@media (min-width: 960px) {
  .fv__grid { grid-template-columns: minmax(0, 1fr) 540px; grid-template-areas: "head card" "chips card" "cta card"; align-items: center; }
}
@media (max-width: 959px) {
  .report-card { transform: none; }
  .doc-stack { height: auto; display: flex; justify-content: center; }
  .doc-stack__page { display: none; }
  .doc-cover { position: static; width: 100%; max-width: 340px; height: auto; }
  .fv__title { font-size: 32px; line-height: 1.35; }
  .btn { min-width: 0; width: 100%; max-width: 420px; }
  .btn--small { width: auto; font-size: 12px; padding: 10px 7px; }
  .sec-head__title { font-size: 26px; }
  .sp-only { display: inline; }
  .why__lead { font-size: 20px; }
  .why__card::before, .why__card::after { font-size: 110px; }
  .items__grid { grid-template-columns: 1fr; }
  .flow__row { flex-direction: column; align-items: center; }
  .flow-step { width: 100%; }
  .flow__arrow { transform: rotate(90deg); }
  .site-header__note { display: none; }
  .sec { padding: 88px 20px; }
  .company__cases-grid { grid-template-columns: 1fr; }
  .case-card__icon-wrap { padding: 32px 15px 24px; }
  .company__features { flex-direction: column; }
  .fv__grid{padding: 88px 20px;}
  .apply__notes { align-items: flex-start; }
  .why__card { padding: 64px 20px; }
  .why__text, .company__text { text-align: left; }
  .bk-cover__sub, .cta-micro, .fv__cta-note, .fv__chips .chip, .empathy-item__text, .item-card li, .problem-row__desc, .feature-card__desc, .case-card__text, .faq__answer, .apply__note-plain, .apply__note-gift, .flow-step__desc { font-size: 15px; }
  .apply__privacy-note { font-size: 14px; }
  .empathy-item__title, .feature-card__title, .case-card__title, .faq summary .q-text { font-size: 18px; }
  .reason__title { font-size: 25px; }
  .form-field__label, .form-field input[type="text"], .form-field input[type="email"], .form-field input[type="url"], .form-field input[type="tel"], .form-field textarea { font-size: 16px; }
  .why__text br{ display: none;}
  .zf-templateWidth .zf-labelName, .zf-templateWidth .zf-tempFrmWrapper.zf-note, .zf-templateWidth .zf-multiAttType, .zf-templateWidth .zf-tempContDiv input[type="text"], .zf-templateWidth .zf-tempContDiv textarea{font-size: 16px!important;}
}
@media (max-width: 640px) {
  .fv__chips .chip { width: 100%; }
  .fv__chips .chip br { display: none; }
  .sp_break { display: block; }
}

/* ---- サンクスページ ---- */
.thanks { background: #fff; padding-top: 110px; padding-bottom: 110px; }
.thanks .sec__inner { max-width: 640px; align-items: center; text-align: center; gap: 28px; }
.thanks__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #FBF1F1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.thanks__title { font-size: 28px; font-weight: 900; line-height: 1.6; }
.thanks__body { width: 100%; display: flex; flex-direction: column; gap: 20px; text-align: left; font-size: 15px; line-height: 2; color: var(--text-sub); }
.thanks__flow { width: 100%; background: var(--bg-alt); border-radius: 8px; padding: 28px 24px; text-align: left; }
.thanks__flow-title { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.thanks__flow-list { display: flex; flex-direction: column; gap: 14px; list-style: none; margin: 0; padding: 0; }
.thanks__flow-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.9; color: var(--text-sub); }
.thanks__flow-num {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-num);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.thanks__gift { font-size: 14px; color: var(--text-sub); background: #FBF1F1; border: 1px solid #E8C9CB; border-left: 5px solid var(--red); border-radius: 6px; padding: 16px 18px; line-height: 1.9; }
.thanks__contact { width: 100%; border-top: 1px solid var(--border); padding-top: 24px; font-size: 14px; color: var(--gray); line-height: 1.9; }
.thanks__contact strong { display: block; color: var(--text); font-weight: 700; margin-bottom: 4px; }
.thanks__contact a { color: var(--red); }
@media (max-width: 959px) {
  .thanks { padding-top: 88px; padding-bottom: 88px; }
  .thanks__title { font-size: 22px; }
}