@charset "utf-8";
/* ===================================================
   sections.css — 各セクション固有のスタイル
   目次:
     01 ヒーロー
     02 3行サマリー
     03 課題提起
     04 既存手段の限界
     05 解決アプローチ(3STEP)
     06 機能紹介
     07 サブCTAバンド
     08 選ばれる理由
     09 導入の流れ
     10 FAQ
     11 クロージング/お問い合わせ
     90 UIモック共通部品
   =================================================== */

/* ===================================================
   01 ヒーロー
   =================================================== */

.p-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 76px);
  padding-bottom: 96px;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* 背景の装飾 */
.p-hero__deco {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.p-hero__deco--1 {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -120px;
  background: rgba(140, 120, 255, .45);
}

.p-hero__deco--2 {
  width: 420px;
  height: 420px;
  bottom: -200px;
  left: -100px;
  background: rgba(80, 30, 160, .5);
}

/* 薄いグリッド線 */
.p-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 78%);
}

.p-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 56px;
  align-items: center;
}

.p-hero__title {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: .005em;
}

.p-hero__title .u-line {
  display: inline-block;
  position: relative;
}

.p-hero__title .u-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 10px;
  background: rgba(255, 255, 255, .22);
  border-radius: 3px;
  z-index: -1;
}

.p-hero__lead {
  margin-top: 24px;
  font-size: 16px;
  line-height: 2.05;
  color: rgba(255, 255, 255, .88);
  max-width: 30em;
}

.p-hero__actions {
  margin-top: 44px;
}

/* ヒーロービジュアル */
.p-hero__visual {
  position: relative;
}

.p-hero__shot {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--sh-lg);
  background: #fff;
}


/* ===================================================
   03 3行サマリー
   =================================================== */

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

/* 番号はアイコンがあった位置（カード左上）に置く */
/* ===================================================
   04 課題提起
   =================================================== */

.p-problem__compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: stretch;
}

.p-compare {
  border-radius: var(--r-lg);
  padding: 30px 26px;
  border: 1px solid var(--c-line);
  background: #fff;
}

.p-compare--old {
  background: #fbfbfd;
}

.p-compare--new {
  border-color: var(--c-purple-pale-2);
  background: linear-gradient(180deg, #fff 0%, var(--c-purple-pale) 100%);
  box-shadow: var(--sh-md);
}

.p-compare__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px dashed var(--c-line-2);
}

.p-compare__title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
}

.p-compare__sub {
  font-size: 12px;
  color: var(--c-ink-3);
  font-weight: 500;
  line-height: 1.5;
}

.p-compare--new .p-compare__sub { color: var(--c-purple-dark); }

/* 検索結果の疑似表示 */
.p-serp {
  display: grid;
  gap: 10px;
}

.p-serp__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--c-line);
  font-size: 13px;
  color: var(--c-ink-2);
}

.p-serp__rank {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #f0eef8;
  color: var(--c-ink-3);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.p-serp__row--self {
  border-color: var(--c-purple);
  background: #fff;
  box-shadow: 0 2px 8px rgba(133, 65, 220, .12);
  font-weight: 700;
  color: var(--c-ink);
}

.p-serp__row--self .p-serp__rank {
  background: var(--c-purple);
  color: #fff;
}

.p-serp__bar {
  height: 7px;
  border-radius: 4px;
  background: #eceaf4;
  flex: 1;
}

/* AI回答の疑似表示 */
.p-answer {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 16px;
}

.p-answer__head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-purple-dark);
  margin-bottom: 12px;
}

.p-answer__line {
  height: 8px;
  border-radius: 4px;
  background: #eceaf4;
  margin-bottom: 9px;
}

.p-answer__line--w90 { width: 90%; }
.p-answer__line--w75 { width: 75%; }

.p-answer__cites {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px dashed var(--c-line-2);
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.p-answer__cite {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: #f2f1f7;
  color: var(--c-ink-3);
}

.p-answer__cite--self {
  background: var(--c-purple);
  color: #fff;
}

.p-answer__cite--miss {
  background: #fff;
  color: var(--c-bad);
  border: 1px dashed var(--c-bad);
}

.p-compare__note {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--c-ink-2);
}

/* 中央の矢印 */
.p-problem__arrow {
  align-self: center;
  display: grid;
  place-items: center;
  gap: 6px;
  color: var(--c-purple);
}

.p-problem__arrow .c-arrow {
  font-size: 26px;
  line-height: 1;
  color: var(--c-ink-4);
}

.p-problem__arrow span:last-child {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}

/* 対比図から3枚のカードへつなぐ導入文 */
.p-problem__bridge {
  margin-top: 56px;
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.85;
  color: var(--c-ink);
}

.p-problem__bridge + .p-problem__points {
  margin-top: 28px;
}

/* 変化ポイント */
.p-problem__points {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.p-point {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  text-align: center;
}

.p-point__title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 8px;
}

.p-point__text {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--c-ink-2);
  text-align: left;
}

/* ===================================================
   05 既存手段の限界
   =================================================== */

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

.p-limit__card {
  position: relative;
  overflow: hidden;
}

.p-limit__conclusion {
  margin-top: 48px;
  padding: 30px 36px;
  border-radius: var(--r-lg);
  background: var(--grad-cta);
  color: #fff;
  text-align: center;
  box-shadow: var(--sh-purple);
}

.p-limit__conclusion-text {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.7;
}

.p-limit__conclusion-sub {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.85;
}

/* ===================================================
   06 解決アプローチ(3STEP)
   =================================================== */

.p-approach {
  background: var(--c-bg-alt);
  position: relative;
  overflow: hidden;
}

/* ===================================================
   05 解決アプローチ（プロンプトを決めて、2方向へ分岐）
   =================================================== */

.p-approach__flow {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* 軸となるプロンプトの提示（このセクションの視覚的な起点） */
.p-approach__axis {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  max-width: 760px;
  margin-inline: auto;
  padding: 32px 40px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-sm);
  text-align: center;
}

.p-approach__axis-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-ink-2);
  white-space: nowrap;
}

.p-approach__axis-prompt {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-ink);
}

/* 問いかけ。上下に縦線を伸ばして「ここで分かれる」ことを示す */
.p-approach__question {
  position: relative;
  margin: 0 auto;
  padding: 44px 0;
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--c-ink);
}

.p-approach__question::before,
.p-approach__question::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 24px;
  background: var(--c-line);
}

.p-approach__question::before { top: 14px; }
.p-approach__question::after  { bottom: 14px; }

.p-approach__branch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}

/* 2枚の上端をつなぐ横線 */
.p-approach__branch::before {
  content: "";
  position: absolute;
  top: calc(24px * -1);
  left: 25%;
  right: 25%;
  height: 1px;
  background: var(--c-line);
}

/* 選ばれない理由 */
.p-approach__cause {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-ink-2);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--c-line);
}

/* 圏外の表示 */
.p-step-page__sim--out {
  color: var(--c-bad);
}

/* 判定行の右端に重要度を寄せる */
.p-step-judge__row .p-pri {
  margin-left: auto;
}

.p-step {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 30px 26px 28px;
  position: relative;
  box-shadow: var(--sh-sm);
}

.p-step__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.p-step__no {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--c-purple);
}

.p-step__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 12px;
}

.p-step__text {
  font-size: 14px;
  line-height: 1.95;
  color: var(--c-ink-2);
}

.p-step__mock {
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
}

/* STEP内モック: プロンプト行 */
.p-step-prompt {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  font-size: 12.5px;
  color: var(--c-ink-2);
  line-height: 1.5;
}

.p-step-prompt + .p-step-prompt { margin-top: 8px; }

.p-step-prompt .material-symbols-outlined {
  font-size: 16px;
  color: var(--c-purple);
  flex-shrink: 0;
}

.p-step-prompt--active {
  border-color: var(--c-purple);
  box-shadow: 0 2px 8px rgba(133, 65, 220, .14);
  font-weight: 700;
  color: var(--c-ink);
}

/* 判定結果の概念図（STEP 02） */
.p-step-page {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  margin-bottom: 8px;
}

.p-step-page__label {
  font-size: 12.5px;
  color: var(--c-ink-2);
}

.p-step-page__sim {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c-purple);
  white-space: nowrap;
}

.p-step-judge {
  display: grid;
  gap: 6px;
}

.p-step-judge__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  font-size: 12.5px;
  color: var(--c-ink-2);
}

.p-step-judge__row .m-hit {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.p-step-judge__row .m-hit .material-symbols-outlined { font-size: 13px; }

/* STEP内モック: 優先度リスト */
.p-step-task {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  font-size: 12.5px;
  color: var(--c-ink-2);
}

.p-step-task + .p-step-task { margin-top: 8px; }

.p-pri {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  letter-spacing: .02em;
}

.p-pri--1 { background: #fdecea; color: var(--c-bad); }
.p-pri--2 { background: var(--c-purple-pale); color: var(--c-purple-dark); }
.p-pri--3 { background: #f0eff5; color: var(--c-ink-3); }

/* ===================================================
   07 機能紹介
   =================================================== */

.p-feature__list {
  display: grid;
  gap: 88px;
}

.p-feature__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 60px;
  align-items: center;
}

.p-feature__item:nth-child(even) .p-feature__body { order: 2; }

.p-feature__meta {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}

.p-feature__no {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--c-purple);
}

.p-feature__title {
  font-size: 27px;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 16px;
}

.p-feature__text {
  font-size: 15px;
  line-height: 2;
  color: var(--c-ink-2);
  margin-bottom: 22px;
}

.p-feature__usecase {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
}

.p-feature__usecase-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--c-purple);
  margin-bottom: 6px;
}

.p-feature__usecase-text {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--c-ink-2);
}

.p-feature__visual {
  position: relative;
}

/* 実画面のスクリーンショット */
.p-feature__shot {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--sh-lg);
  background: #fff;
}

/* ===================================================
   08 サブCTAバンド
   =================================================== */

.p-subcta {
  background: var(--c-purple-pale);
  padding-block: 44px;
}

.p-subcta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.p-subcta__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
}

.p-subcta__text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-ink-2);
}

/* ===================================================
   09 選ばれる理由
   =================================================== */

.p-reason__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.p-reason__card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 34px 28px;
  box-shadow: var(--sh-sm);
  position: relative;
}

.p-reason__no {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--c-purple);
  margin-bottom: 16px;
}

.p-reason__no::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--c-purple);
}

.p-reason__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 14px;
}

.p-reason__text {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--c-ink-2);
}

/* ===================================================
   10 導入の流れ
   =================================================== */

.p-flow__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.p-flow__list::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-line-2) 0 6px, transparent 6px 12px);
}

.p-flow__item {
  position: relative;
  text-align: center;
}

.p-flow__no {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: var(--r-full);
  background: #fff;
  border: 2px solid var(--c-purple);
  color: var(--c-purple-dark);
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(133, 65, 220, .16);
}

.p-flow__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 9px;
}

.p-flow__text {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--c-ink-2);
  text-align: left;
}

.p-flow__caption {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--c-ink-2);
}

/* ===================================================
   12 FAQ
   =================================================== */

.p-faq__inner {
  max-width: 880px;
  margin-inline: auto;
}

/* ===================================================
   13 クロージング/フォーム
   =================================================== */

.p-contact {
  background: var(--c-bg-alt);
}

.p-contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}

.p-contact__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.55;
}

.p-contact__lead {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 2;
  color: var(--c-ink-2);
}

.p-contact__merits {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.p-contact__merit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 18px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--c-line);
}

.p-contact__merit-no {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--c-purple);
  font-variant-numeric: tabular-nums;
}

.p-contact__merit-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6;
}

.p-contact__merit-text {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-ink-3);
}

.p-contact__formcard {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: 40px 38px;
  box-shadow: var(--sh-md);
}

.p-contact__formcard-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 6px;
}

.p-contact__formcard-sub {
  font-size: 13px;
  color: var(--c-ink-3);
  text-align: center;
  margin-bottom: 28px;
}

/* ===================================================
   90 UIモック共通部品
   ※ 実画面のキャプチャ差し替えを想定したダミー表現
   =================================================== */

.c-mock {
  background: #fff;
  color: var(--c-ink);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sh-lg);
}

.c-mock--flat {
  box-shadow: var(--sh-md);
}

.c-mock__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  height: 40px;
  background: #f4f2fa;
  border-bottom: 1px solid var(--c-line);
}

.c-mock__dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.c-mock__dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dcd8ea;
}

.c-mock__tab {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-ink-3);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-full);
  padding: 4px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c-mock__body {
  padding: 20px;
}

.c-mock__section-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-ink-3);
  letter-spacing: .04em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.c-mock__section-title .material-symbols-outlined {
  font-size: 16px;
  color: var(--c-purple);
}

/* ---- KPI行 ---- */
.m-kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.m-kpi__cell {
  padding: 12px 13px;
  border-radius: var(--r-md);
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
}

.m-kpi__label {
  font-size: 10.5px;
  color: var(--c-ink-3);
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-kpi__value {
  margin-top: 3px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.m-kpi__value small {
  font-size: 11px;
  font-weight: 500;
  color: var(--c-ink-3);
  margin-left: 2px;
}

.m-kpi__delta {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--c-good);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.m-kpi__delta .material-symbols-outlined { font-size: 13px; }

/* ---- グレードカード ---- */
.m-grade {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c-purple-pale) 0%, #fff 100%);
  border: 1px solid var(--c-purple-pale-2);
  margin-bottom: 16px;
}

.m-grade__badge {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--grad-cta);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(133, 65, 220, .3);
}

.m-grade__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.m-grade__score {
  font-size: 12px;
  color: var(--c-ink-3);
  margin-top: 3px;
}

.m-grade__score b {
  font-size: 17px;
  color: var(--c-ink);
}

/* ---- 観点バー ---- */
.m-bars {
  display: grid;
  gap: 9px;
}

.m-bar {
  display: grid;
  grid-template-columns: 78px 1fr 44px;
  align-items: center;
  gap: 10px;
}

.m-bar__label {
  font-size: 11px;
  color: var(--c-ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-bar__track {
  height: 7px;
  border-radius: 4px;
  background: #eeecf6;
  overflow: hidden;
}

.m-bar__fill {
  height: 100%;
  border-radius: 4px;
  background: var(--grad-cta);
  transform-origin: left center;
}

.m-bar__fill--low  { background: var(--c-bad); }
.m-bar__fill--mid  { background: var(--c-mid); }

.m-bar__value {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-ink-2);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ---- モニタリング表 ---- */
.m-table {
  width: 100%;
  font-size: 11.5px;
}

.m-table th {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--c-ink-3);
  text-align: center;
  padding: 0 4px 9px;
  white-space: nowrap;
}

.m-table th:first-child {
  text-align: left;
  width: 44%;
}

.m-table td {
  padding: 9px 4px;
  border-top: 1px solid var(--c-line);
  text-align: center;
  vertical-align: middle;
}

.m-table td:first-child {
  text-align: left;
  color: var(--c-ink-2);
  line-height: 1.5;
  padding-right: 10px;
}

.m-hit {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 700;
}

.m-hit--yes {
  background: #e8f5ea;
  color: var(--c-good);
}

.m-hit--no {
  background: #fbeceb;
  color: var(--c-bad);
}

.m-hit--na {
  background: #f1f0f6;
  color: var(--c-ink-4);
}

.m-hit .material-symbols-outlined { font-size: 15px; }

/* ---- サイテーション行 ---- */
.m-cite {
  display: grid;
  gap: 8px;
}

.m-cite__row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}

.m-cite__rank {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--c-purple-pale);
  color: var(--c-purple-dark);
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.m-cite__domain {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.m-cite__domain small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--c-ink-4);
}

.m-cite__count {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-purple-dark);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.m-cite__row--self {
  border-color: var(--c-purple);
  background: var(--c-purple-pale);
}

/* ---- 改善アクション行 ---- */
.m-task {
  display: grid;
  gap: 9px;
}

.m-task__row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 13px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
}

.m-task__row--top {
  border-color: var(--c-purple-pale-2);
  box-shadow: 0 3px 10px rgba(133, 65, 220, .1);
}

.m-task__body { flex: 1; min-width: 0; }

.m-task__title {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.55;
}

.m-task__meta {
  margin-top: 4px;
  font-size: 10.5px;
  color: var(--c-ink-3);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- プロンプトバナー(診断ヒーロー相当) ---- */
.m-promptbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: var(--r-md);
  background: var(--c-purple-pale);
  border: 1px dashed var(--c-purple);
  margin-bottom: 16px;
}

.m-promptbar .material-symbols-outlined {
  font-size: 18px;
  color: var(--c-purple-dark);
  flex-shrink: 0;
}

.m-promptbar__label {
  font-size: 10px;
  font-weight: 700;
  color: var(--c-purple-dark);
  letter-spacing: .04em;
  line-height: 1.4;
}

.m-promptbar__text {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-ink);
}

.m-promptbar__rate {
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
}

.m-promptbar__rate b {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-purple-dark);
  line-height: 1;
}

.m-promptbar__rate small {
  display: block;
  font-size: 9.5px;
  color: var(--c-ink-3);
  margin-top: 2px;
}

/* ---- 折れ線グラフ(SVG)の枠 ---- */
.m-chart {
  padding: 14px 4px 4px;
}

.m-chart svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.m-chart__legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.m-chart__legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--c-ink-3);
}

.m-chart__legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

/* ===================================================
   レスポンシブ: タブレット(〜960px)
   =================================================== */

@media (max-width: 960px) {
  .p-hero {
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 76px;
  }

  .p-hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .p-hero__title { font-size: 38px; }
  .p-hero__lead { max-width: none; }

  .p-hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }

  .p-summary__grid,
  .p-limit__grid,
  .p-reason__grid,
  .p-problem__bridge {
    margin-top: 36px;
    font-size: 15.5px;
    line-height: 1.8;
  }

  .p-problem__points {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-problem__compare {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .p-problem__arrow {
    grid-auto-flow: column;
    justify-content: center;
    gap: 10px;
  }

  .p-problem__arrow .c-arrow {
  font-size: 26px;
  line-height: 1;
  color: var(--c-ink-4);
}



  .p-feature__item {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .p-feature__item:nth-child(even) .p-feature__body { order: 0; }

  .p-feature__list { gap: 64px; }

  .p-flow__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }

  .p-flow__list::before { display: none; }

  .p-contact__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .p-contact__title { font-size: 27px; }
}

/* ===================================================
   レスポンシブ: スマートフォン(〜767px)
   =================================================== */

@media (max-width: 767px) {

  /* ---- 01 ヒーロー ---- */
  .p-hero {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 56px;
  }

  .p-hero__inner { gap: 40px; }


  .p-hero__title {
    font-size: 27px;
    line-height: 1.5;
  }

  .p-hero__title .u-line::after { height: 7px; bottom: 2px; }

  .p-hero__lead {
    margin-top: 18px;
    font-size: 14.5px;
    line-height: 1.95;
  }

  .p-hero__actions { margin-top: 28px; }


  /* ---- 03 3行サマリー ---- */
  .p-summary__grid { grid-template-columns: 1fr; gap: 16px; }

  /* ---- 04 課題提起 ---- */
  .p-compare { padding: 24px 20px; }
  .p-compare__title { font-size: 15.5px; }
  .p-compare__note { font-size: 13px; }

  .p-problem__points {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 36px;
  }

  .p-point {
    text-align: left;
    padding: 22px 20px;
  }

  /* ---- 05 既存手段の限界 ---- */
  .p-limit__grid { grid-template-columns: 1fr; gap: 16px; }

  .p-limit__conclusion {
    margin-top: 32px;
    padding: 24px 22px;
  }

  .p-limit__conclusion-text { font-size: 17px; }
  .p-limit__conclusion-sub { font-size: 13px; }

  /* ---- 06 解決アプローチ ---- */

  .p-step { padding: 24px 20px; }
  .p-step__title { font-size: 16.5px; }
  .p-step__text { font-size: 13.5px; }
  .p-step__mock { padding: 13px; margin-top: 16px; }

  /* ---- 07 機能紹介 ---- */
  .p-feature__list { gap: 52px; }
  .p-feature__title { font-size: 21px; }
  .p-feature__text { font-size: 14.5px; margin-bottom: 18px; }
  .p-feature__usecase { margin-top: 22px; padding-top: 17px; }
  .p-feature__usecase-text { font-size: 13px; }

  /* ---- 08 サブCTA ---- */
  .p-subcta { padding-block: 32px; }

  .p-subcta__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    text-align: center;
  }

  .p-subcta__title { font-size: 17px; }
  .p-subcta__text { font-size: 13.5px; }

  /* ---- 09 選ばれる理由 ---- */
  .p-reason__grid { grid-template-columns: 1fr; gap: 16px; }
  .p-reason__card { padding: 26px 22px; }
  .p-reason__title { font-size: 17.5px; }
  .p-reason__text { font-size: 14px; }

  /* ---- 10 導入の流れ ---- */
  .p-flow__list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .p-flow__item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 4px 16px;
    text-align: left;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
  }

  .p-flow__no {
    width: 46px;
    height: 46px;
    margin: 0;
    font-size: 15px;
    grid-row: span 2;
  }

  .p-flow__title { margin-bottom: 0; font-size: 15px; align-self: end; }
  .p-flow__text { grid-column: 1 / -1; margin-top: 6px; font-size: 13px; }
  .p-flow__caption { margin-top: 26px; font-size: 13px; text-align: left; }

  /* ---- 12 クロージング ---- */
  .p-contact__title { font-size: 22px; }
  .p-contact__lead { font-size: 14.5px; margin-top: 16px; }
  .p-contact__merit { padding: 13px 15px; }
  .p-contact__merit-title { font-size: 14px; }
  .p-contact__merit-text { font-size: 12.5px; }

  .p-contact__formcard {
    padding: 28px 20px;
    border-radius: var(--r-lg);
  }

  .p-contact__formcard-title { font-size: 17px; }
  .p-contact__formcard-sub { margin-bottom: 22px; font-size: 12.5px; }

  /* ---- 90 UIモック ---- */
  .c-mock__body { padding: 16px 14px; }
  .c-mock__bar { height: 34px; padding: 0 11px; }
  .c-mock__dots span { width: 7px; height: 7px; }
  .c-mock__tab { font-size: 10.5px; padding: 3px 10px; }

  .m-kpi { gap: 7px; margin-bottom: 14px; }
  .m-kpi__cell { padding: 10px; }
  .m-kpi__value { font-size: 17px; }
  .m-kpi__label { font-size: 9.5px; }

  .m-grade__badge { width: 48px; height: 48px; font-size: 21px; border-radius: 12px; }
  .m-grade__name { font-size: 13.5px; }

  .m-bar { grid-template-columns: 62px 1fr 38px; gap: 8px; }
  .m-bar__label { font-size: 10px; }

  .m-table th:first-child { width: 40%; }
  .m-table th { font-size: 9.5px; }
  .m-table td { font-size: 10.5px; padding: 8px 2px; }
  .m-hit { width: 20px; height: 20px; }

  .m-cite__row { padding: 9px 10px; gap: 9px; }
  .m-cite__domain { font-size: 11.5px; }

  .m-task__row { padding: 10px 11px; }
  .m-task__title { font-size: 12px; }

  .m-promptbar { padding: 10px 11px; gap: 8px; }
  .m-promptbar__text { font-size: 11.5px; }
  .m-promptbar__rate b { font-size: 15px; }
}

/* ===================================================
   極小画面(〜374px)
   =================================================== */

@media (max-width: 374px) {
  .p-hero__title { font-size: 24px; }
  .c-sec-head__title { font-size: 21px; }
  .m-kpi { grid-template-columns: 1fr 1fr; }
  .m-kpi__cell:last-child { display: none; }
}

/* ===================================================
   99 span要素のブロック化
   flexの子として並べる2行組み(見出し+補足)を明示的にブロックにする
   =================================================== */

.p-compare__title,
.p-compare__sub,
.m-grade__name,
.m-grade__score,
.m-promptbar__label,
.m-promptbar__text,
.m-task__title,
.m-task__meta,
.p-contact__merit-title,
.p-contact__merit-text {
  display: block;
}

/* 省略表示のために縮小を許可する */
.m-promptbar > span:not(.material-symbols-outlined):not(.m-promptbar__rate) {
  min-width: 0;
  flex: 1;
}

.p-compare__head > span:last-child,
.p-contact__merit > span:last-child,
.m-grade > span:last-child {
  min-width: 0;
  flex: 1;
}

/* バーはspanなのでブロック化しないと width が効かない */
.m-bar__fill,
.p-answer__line {
  display: block;
}

/* ===================================================
   代表メッセージ
   =================================================== */

/* 写真の列を画像幅ぴったりにする。fr 指定だと列に余白が残り、
   写真と本文の間が広く見えてしまうため。 */
.p-message__inner {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 620px);
  justify-content: center;
  gap: 48px;
  align-items: start;
}

.p-message__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: #fff;
}

.p-message__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--c-ink-2);
  margin-bottom: 16px;
}

.p-message__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-ink);
  margin-bottom: 24px;
}

.p-message__text p {
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--c-ink-2);
}

.p-message__text p + p {
  margin-top: 16px;
}

.p-message__sign {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
}

.p-message__role {
  display: block;
  font-size: 12px;
  color: var(--c-ink-2);
}

.p-message__person {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: .04em;
}

@media (max-width: 960px) {
  .p-message__inner {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .p-message__inner { gap: 32px; }
  .p-message__photo img { max-width: 200px; }
  .p-message__text p { font-size: 13.8px; line-height: 1.95; }
  .p-message__sign { margin-top: 24px; padding-top: 16px; }
}

/* スクリーンショットの注記 */
.c-shot-note {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--c-ink-4);
  text-align: right;
}

@media (max-width: 767px) {
  .p-approach__branch {
    grid-template-columns: 1fr;
  }
  .p-approach__branch::before { display: none; }
}

@media (max-width: 767px) {
  .p-approach__axis {
    padding: 24px 20px;
    gap: 4px;
  }
  .p-approach__axis-prompt { font-size: 18px; }
}
