/* ===== クラウドナイン cloud-9.io — 旧Canva配色引き継ぎ ===== */
:root {
  --navy-900: #003c6b;
  --navy-700: #004b84;
  --blue-500: #156cad;
  --blue-300: #68c7ff;
  --blue-100: #d6e7f7;
  --pink-500: #f974a6;
  --pink-600: #df608f;
  --pink-100: #ff99bf;
  --ink: #223449;
  --muted: #5b6e82;
  --white: #ffffff;
  --paper: #fefefe;
  --line: #e4edf6;
  --shadow: 0 10px 30px rgba(0, 60, 107, 0.1);
  --shadow-sm: 0 4px 14px rgba(0, 60, 107, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --font:
    "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Yu Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Inter", var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--blue-500);
  text-decoration: none;
}
h1,
h2,
h3 {
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 84px 0;
}
.section--tint {
  background: linear-gradient(180deg, #f4f9ff 0%, #eaf3fd 100%);
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue-500);
  background: var(--blue-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.5rem, 3.6vw, 2.15rem);
  margin: 0 0 12px;
  color: var(--navy-900);
}
.section-lead {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0 auto 44px;
  max-width: 720px;
}

/* 日本語の折り返しを文節単位にする。
   これがないと狭い画面で「何／から」「社内だ／けで」のように語の途中で割れる。
   未対応のブラウザでは、これまでどおりの折り返しになるだけで害はない。 */
.section-lead,
.section-cta p,
.empathy-card h2,
.empathy-card p,
.section-title,
.card p,
.card div,
.svc__note,
.duo__side p,
.demo__body p,
.founder__body p,
.founder__facts li,
.step p,
.io__in,
.io__out,
.price2__desc,
.price2__aidpoints li,
.price2__more li,
.doc__toc li,
.fit-list li,
.faq details summary,
.faq details p,
.stack__note,
.proof__main,
.proof__sub {
  word-break: auto-phrase;
}
.center {
  text-align: center;
}

/* ===== Liquid Glass ===== */
.liquid-glass {
  background: rgba(0, 0, 0, 0.4);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.1) 80%,
    rgba(255, 255, 255, 0.3) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ===== VEX風 動画ヒーロー ===== */
.vex-hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 640px;
  overflow: hidden;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.vex-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Navbar */
.vex-nav-wrap {
  position: relative;
  z-index: 2;
  padding: 24px 24px 0;
}
.vex-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  padding: 8px 16px;
}
.vex-nav > * {
  position: relative;
  z-index: 1;
}
.vex-logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.vex-navlinks {
  display: none;
  gap: 32px;
}
.vex-navlinks a {
  color: #fff;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}
.vex-navlinks a:hover {
  color: #d1d5db;
}
.vex-nav-cta {
  background: #fff;
  color: #000;
  padding: 8px 24px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s ease;
}
.vex-nav-cta:hover {
  background: #f3f4f6;
}
/* Content bottom */
.vex-hero__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 24px 48px;
}
.vex-grid {
  display: block;
}
.vex-h1 {
  font-weight: 400;
  margin: 0 0 16px;
  font-size: 3rem;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #fff;
}
/* 1行目＝特大キーワード「AI参謀」 */
.vex-h1-key {
  display: block;
}
/* 2行目＝タグライン。キーワードに対して一段小さく */
.vex-h1-tag {
  display: block;
  font-size: 0.45em;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-top: 0.5em;
}
.vex-char {
  display: inline-block;
  opacity: 0;
  transform: translateX(-18px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}
.vex-char.is-in {
  opacity: 1;
  transform: translateX(0);
}
.vex-sub {
  font-size: 1rem;
  color: #d1d5db;
  margin: 0 0 20px;
  max-width: 46ch;
  line-height: 1.6;
}
.vex-sub .nbk {
  display: inline-block;
}
.vex-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.vex-btn-white {
  background: #fff;
  color: #000;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.2s ease;
}
.vex-btn-white:hover {
  background: #f3f4f6;
}
.vex-btn-glass {
  color: #fff;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.vex-btn-glass > span {
  position: relative;
  z-index: 1;
}
.vex-btn-glass:hover {
  background: #fff;
  color: #000;
}
.vex-tag-col {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  margin-top: 32px;
}
.vex-tag {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 300;
  color: #fff;
}
.vex-tag > span {
  position: relative;
  z-index: 1;
}
.vex-fade {
  opacity: 0;
  transition: opacity 1000ms ease;
}
.vex-fade.is-in {
  opacity: 1;
}

@media (min-width: 768px) {
  .vex-nav-wrap {
    padding: 24px 48px 0;
  }
  .vex-hero__body {
    padding: 0 48px 48px;
  }
  .vex-navlinks {
    display: flex;
  }
  .vex-h1 {
    font-size: 4rem;
  }
  .vex-sub {
    font-size: 1.125rem;
  }
  .vex-tag {
    font-size: 1.25rem;
  }
}
@media (min-width: 1024px) {
  .vex-nav-wrap {
    padding: 24px 64px 0;
  }
  .vex-hero__body {
    padding: 0 64px 64px;
  }
  .vex-h1 {
    font-size: 4.5rem;
  }
  .vex-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    column-gap: 40px;
    align-items: end;
  }
  .vex-tag-col {
    justify-content: flex-end;
    margin-top: 0;
  }
  .vex-tag {
    font-size: 1.5rem;
  }
}
@media (min-width: 1280px) {
  .vex-h1 {
    font-size: 5.5rem;
  }
}

/* ヒーロー(ダーク)→明るいセクションの自然なつなぎ：白いシートが角丸でせり上がる */
.vex-hero + .section {
  position: relative;
  z-index: 3;
  margin-top: -36px;
  border-radius: 30px 30px 0 0;
  background: var(--paper);
  box-shadow: 0 -22px 44px rgba(0, 60, 107, 0.18);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy-900);
  font-size: 1.15rem;
}
.brand .logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-300));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}
.brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}
.nav a:hover {
  color: var(--blue-500);
}
.nav-cta {
  display: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--pink-500);
  color: #fff;
  box-shadow: 0 8px 22px rgba(249, 116, 166, 0.35);
}
.btn-primary:hover {
  background: var(--pink-600);
}
.btn-ghost {
  background: #fff;
  color: var(--navy-700);
  border-color: var(--blue-100);
  box-shadow: var(--shadow-sm);
}
.btn-lg {
  padding: 17px 36px;
  font-size: 1.06rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #eaf4ff 0%, #f7fbff 55%, #fff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(
    circle,
    rgba(104, 199, 255, 0.45),
    transparent 70%
  );
  border-radius: 50%;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 88px;
}
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  margin: 14px 0 18px;
  color: var(--navy-900);
}
.hero h1 .accent {
  color: var(--blue-500);
}
.hero p.sub {
  font-size: 1.12rem;
  color: var(--muted);
  margin: 0 0 30px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}
.hero-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  border: 1px solid var(--line);
}
.hero-card h3 {
  margin: 0 0 14px;
  color: var(--navy-700);
  font-size: 1.05rem;
}
.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.hero-stat:last-child {
  border-bottom: 0;
}
.hero-stat b {
  font-size: 1.7rem;
  color: var(--pink-600);
}
.hero-stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===== Problem list ===== */
.grid {
  display: grid;
  gap: 20px;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.problem {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.problem .mk {
  color: var(--pink-500);
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ===== Service cards ===== */
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
}
.svc .tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--blue-500);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.svc.is-flagship {
  border-color: var(--pink-100);
  box-shadow: 0 12px 30px rgba(249, 116, 166, 0.16);
}
.svc.is-flagship .tag {
  background: var(--pink-500);
}
.svc h3 {
  margin: 0 0 6px;
  color: var(--navy-900);
  font-size: 1.22rem;
}
.svc__meta {
  color: var(--blue-500);
  font-weight: 800;
  margin: 0 0 10px;
}
.svc p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0;
}

/* ===== Use cases ===== */
.uses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.use {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.94rem;
  display: flex;
  gap: 10px;
  align-items: center;
}
.use .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-300);
  flex: none;
}

/* ===== Reasons ===== */
.reason h3 {
  color: var(--navy-700);
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.reason p {
  color: var(--muted);
  margin: 0;
  font-size: 0.94rem;
}
.reason .num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--blue-300);
}

/* ===== Steps ===== */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px 22px;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-500);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.step h3 {
  margin: 8px 0 6px;
  font-size: 1.02rem;
  color: var(--navy-900);
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===== Model cases ===== */
.disclaimer {
  background: #fff7fb;
  border: 1px dashed var(--pink-100);
  color: var(--pink-600);
  font-size: 0.85rem;
  padding: 10px 16px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 28px;
  font-weight: 600;
}
.mcase table {
  width: 100%;
  border-collapse: collapse;
}
.mcase h3 {
  margin: 0 0 14px;
  color: var(--navy-700);
  font-size: 1.08rem;
}
.mcase .ba {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}
.mcase .before,
.mcase .after {
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: center;
}
.mcase .before {
  background: #f3f6fa;
  color: var(--muted);
}
.mcase .after {
  background: var(--blue-100);
  color: var(--navy-700);
  font-weight: 700;
}
.mcase .arrow {
  color: var(--pink-500);
  font-weight: 900;
  font-size: 1.3rem;
}
.mcase .label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  opacity: 0.8;
  display: block;
}

/* ===== Pricing ===== */
.pricing-note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 6px;
}
.price-row:last-child {
  border-bottom: 0;
}
.price-row .name {
  font-weight: 700;
  color: var(--navy-900);
}
.price-row .amt {
  color: var(--pink-600);
  font-weight: 800;
  font-size: 1.15rem;
}
.price-row .desc {
  color: var(--muted);
  font-size: 0.88rem;
  width: 100%;
}

/* ===== FAQ ===== */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy-900);
  padding: 16px 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "＋";
  position: absolute;
  right: 0;
  color: var(--blue-500);
  font-weight: 900;
}
.faq details[open] summary::after {
  content: "－";
}
.faq details p {
  margin: 0 0 16px;
  color: var(--muted);
}

/* ===== Company ===== */
.company dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  margin: 0;
}
.company dt {
  font-weight: 700;
  color: var(--navy-700);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.company dd {
  margin: 0;
  padding: 14px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

/* ===== Contact form ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  max-width: 680px;
  margin: 0 auto;
}
.form label {
  display: block;
  font-weight: 700;
  color: var(--navy-900);
  margin: 16px 0 6px;
  font-size: 0.92rem;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.98rem;
  background: #fff;
  color: var(--ink);
}
.form textarea {
  min-height: 130px;
  resize: vertical;
}
.form .hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.form .req {
  color: var(--pink-500);
  font-size: 0.8rem;
}
.form .submit-row {
  margin-top: 22px;
}
.form .fine {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 14px;
}
/* 任意のチェック項目（資料請求で無料相談も希望する場合など） */
.form .check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--blue-050, #f6faff);
  font-weight: 500;
  cursor: pointer;
}
.form .check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--blue-500);
  cursor: pointer;
}
.form .check span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--navy-900);
}
.form .check small {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
}
/* ===== Footer ===== */
.site-footer {
  background: var(--navy-900);
  color: #cfe0f0;
  padding: 46px 0 30px;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.site-footer a {
  color: #cfe0f0;
}
.site-footer .brand {
  color: #fff;
}
.site-footer small {
  color: #8fb0cf;
}

/* ===== 親近感（Empathy）セクション ===== */
.empathy-card {
  background: linear-gradient(150deg, var(--navy-700), var(--blue-500));
  color: #fff;
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow);
  max-width: 860px;
  margin: 0 auto;
}
.empathy-card .eyebrow {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.empathy-card h2 {
  color: #fff;
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  margin: 6px 0 16px;
}
.empathy-card p {
  color: #eaf3fd;
  margin: 0;
  font-size: 1.02rem;
}

/* ===== 絞り込み（Fit）セクション ===== */
.fit-yes,
.fit-no {
  border-top: 4px solid;
}
.fit-yes {
  border-color: var(--blue-500);
}
.fit-no {
  border-color: #c3cede;
}
.fit-yes h3 {
  color: var(--blue-500);
  margin: 0 0 14px;
}
.fit-no h3 {
  color: var(--muted);
  margin: 0 0 14px;
}
.fit-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fit-list li {
  padding: 9px 0 9px 30px;
  position: relative;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}
.fit-list li:last-child {
  border-bottom: 0;
}
.fit-yes .fit-list li::before {
  content: "○";
  position: absolute;
  left: 4px;
  color: var(--blue-500);
  font-weight: 900;
}
.fit-no .fit-list li::before {
  content: "△";
  position: absolute;
  left: 2px;
  color: #a7b4c6;
  font-weight: 900;
}

/* ===== Motion (Canva風の登場アニメーション) ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal="left"] {
  transform: translateX(-32px);
}
[data-reveal="right"] {
  transform: translateX(32px);
}
[data-reveal="zoom"] {
  transform: scale(0.94);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ヒーローのふんわり浮遊 */
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.hero-card {
  animation: floaty 6s ease-in-out infinite;
}
.hero::after {
  animation: floaty 9s ease-in-out infinite;
}

/* CTA のやわらかパルス */
@keyframes softpulse {
  0%,
  100% {
    box-shadow: 0 8px 22px rgba(249, 116, 166, 0.35);
  }
  50% {
    box-shadow: 0 8px 30px rgba(249, 116, 166, 0.55);
  }
}
.hero-cta .btn-primary {
  animation: softpulse 2.8s ease-in-out infinite;
}

/* カードのホバー浮き */
.card,
.svc,
.step,
.use {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.card:hover,
.svc:hover,
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.use:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* アクセシビリティ：モーション低減設定を尊重 */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
  .hero-card,
  .hero::after,
  .hero-cta .btn-primary {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .grid-3,
  .uses,
  .steps,
  .contact-wrap,
  .company dl {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .steps {
    gap: 30px;
  }
  .nav a:not(.nav-cta) {
    display: none;
  }
  .nav-cta {
    display: inline-flex;
  }
  .company dt {
    border-bottom: 0;
    padding-bottom: 0;
  }
}
@media (max-width: 560px) {
  .section {
    padding: 60px 0;
  }
  .mcase .ba {
    grid-template-columns: 1fr;
  }
  .mcase .arrow {
    transform: rotate(90deg);
  }
}

/* ===== Use Cases: 「渡すもの」→「返ってくるもの」 ===== */
.pc-only {
  display: none;
}
.io-groups {
  display: grid;
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}
.io-group {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 20px;
}
.io-group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 1.15rem;
  color: var(--navy-900);
}
.io-group__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-300));
}
.io-list {
  display: grid;
  gap: 12px;
}
.io {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #f6faff;
  border: 1px solid var(--line);
}
.io__in,
.io__out {
  position: relative;
  font-size: 0.95rem;
  line-height: 1.6;
}
.io__in {
  color: var(--muted);
}
.io__out {
  color: var(--ink);
  padding-top: 10px;
  border-top: 1px dashed var(--blue-100);
}
/* 削減の目安。#solution のグラフと同じ試算値を使っている */
.io__cut {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: right;
}
.io__cut b {
  color: var(--pink-600);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.io-note {
  max-width: 720px;
  margin: 28px auto 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--muted);
  text-align: center;
}
/* 「→」で入力と出力の関係を示す */
.io__out::before {
  content: "↓";
  position: absolute;
  top: -2px;
  left: 0;
  font-size: 0.8rem;
  color: var(--blue-500);
}
.io__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
  color: var(--blue-500);
}
.io__out .io__label {
  color: var(--navy-700);
  padding-left: 16px;
}
.io__out b {
  color: var(--navy-900);
}
.io-note {
  margin: 28px auto 0;
  max-width: 760px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
}
.io-note b {
  color: var(--navy-700);
}

@media (min-width: 768px) {
  .pc-only {
    display: inline;
  }
  .io-groups {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .io-group {
    padding: 28px 24px;
  }
  .io {
    /* 入力→出力を横並びにせず縦に積むことで、視線の流れを一定に保つ */
    padding: 16px 18px;
  }
}

/* ===== Founder（代表者） ===== */
.founder {
  display: grid;
  gap: 28px;
  margin-top: 40px;
  align-items: start;
}
.founder__photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.founder__role {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue-500);
  margin: 0 0 6px;
}
.founder__name {
  margin: 0 0 18px;
  font-size: 1.6rem;
  color: var(--navy-900);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}
.founder__name span {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.founder__body p {
  line-height: 1.9;
  color: var(--ink);
  margin: 0 0 14px;
  font-size: 0.97rem;
}
.founder__lead {
  font-size: 1.02rem !important;
}
.founder__facts {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  gap: 14px;
}
.founder__facts li {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #f6faff;
  border: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--ink);
}
.founder__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue-500);
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .founder {
    grid-template-columns: 300px 1fr;
    gap: 44px;
  }
}
@media (min-width: 1024px) {
  .founder {
    grid-template-columns: 340px 1fr;
    gap: 56px;
  }
}

/* ===== Subsidy（助成金） ===== */
.subsidy {
  margin-top: 40px;
}
.subsidy__grid {
  display: grid;
  gap: 16px;
}
.subsidy__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 22px;
  text-align: center;
}
.subsidy__label {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue-500);
}
.subsidy__value {
  margin: 0 0 12px;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy-900);
}
.subsidy__value span {
  font-size: 1.2rem;
  margin-left: 2px;
}
.subsidy__note {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--muted);
  text-align: left;
}
.subsidy__cta {
  margin-top: 24px;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #eaf4ff 0%, #f7fbff 100%);
  border: 1px solid var(--blue-100);
  text-align: center;
}
.subsidy__cta p {
  margin: 0 0 20px;
  line-height: 1.9;
  font-size: 0.97rem;
  color: var(--ink);
  text-align: left;
}
.subsidy__cta b {
  color: var(--navy-900);
}
.subsidy__fine {
  margin: 16px 0 0;
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--muted);
}

@media (min-width: 768px) {
  .subsidy__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .subsidy__cta {
    display: flex;
    align-items: center;
    gap: 28px;
    text-align: left;
    padding: 28px 32px;
  }
  .subsidy__cta p {
    margin: 0;
    flex: 1;
  }
  .subsidy__cta .btn {
    flex: none;
  }
}

/* ===== セクション末尾の文脈CTA ===== */
.section-cta {
  margin: 40px auto 0;
  max-width: 720px;
  text-align: center;
}
.section-cta p {
  margin: 0 0 16px;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--navy-900);
}

/* ===== フォームの送信状態 ===== */
.form-status {
  margin: 14px 0 0;
  font-size: 0.94rem;
  line-height: 1.7;
  min-height: 1.2em;
}
.form-status.is-ok {
  color: var(--navy-700);
  font-weight: 700;
}
.form-status.is-ng {
  color: #c2405f;
}

/* ===== 12ヶ月の積み上げ図 ===== */
.stack {
  margin: 44px 0 48px;
  padding: 28px 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.stack__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 34px;
  margin-bottom: 28px;
}
.stack__kpi {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas:
    "lead lead"
    "num  unit";
  align-items: baseline;
  column-gap: 10px;
}
.stack__kpi .stack__lead {
  grid-area: lead;
}
.stack__kpi .stack__big {
  grid-area: num;
}
.stack__kpi .stack__unit {
  grid-area: unit;
}
/* 「1年後には」は数字の上に小さく置き、単位は数字の右に置く。
   横一列に流すと日本語の切れ目が不自然になるため。 */
.stack__lead {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 2px;
}
.stack__unit {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: left;
}
.stack__big {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* 時間のほうはアクセント色で、削減という結果を強調する */
.stack__kpi.is-time .stack__big {
  background: linear-gradient(135deg, var(--pink-600), var(--pink-500));
  -webkit-background-clip: text;
  background-clip: text;
}
.stack__chart {
  display: grid;
  gap: 6px;
}
.stack__col {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 8px;
  animation: stackIn 0.5s cubic-bezier(0.2, 0.8, 0.3, 1) backwards;
  animation-delay: calc(var(--i) * 55ms);
}
@keyframes stackIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stack__col {
    animation: none;
  }
}
.stack__mon {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--navy-700);
  text-align: right;
}
/* 帯は「累計の削減時間」の長さだけを表す。
   業務名は帯に載せると短い月で切れるので、帯の下に置く。 */
.stack__track {
  min-width: 0;
}
.stack__bar {
  height: 12px;
  border-radius: 0 6px 6px 0;
  background: linear-gradient(90deg, var(--navy-700), var(--blue-500));
}
.stack__lab {
  display: block;
  margin-top: 3px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stack__add {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--blue-500);
  margin-left: 6px;
}
/* 累計の削減時間 */
.stack__cum {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--pink-600);
  text-align: right;
  white-space: nowrap;
}
.stack__cum small {
  font-size: 0.62rem;
  font-weight: 700;
  margin-left: 1px;
  color: var(--muted);
}
/* 注記は文の切れ目で改行させる。1文が長いと折り返し位置が制御できない。 */
.stack__note {
  margin: 20px auto 0;
  max-width: 720px;
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--muted);
  text-align: center;
}
.stack__note span {
  display: block;
}

@media (min-width: 768px) {
  .stack {
    padding: 34px 32px 28px;
  }
  .stack__big {
    font-size: 4.2rem;
  }
  .stack__chart {
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
  }
  .stack__col {
    grid-template-columns: 42px minmax(0, 1fr) 62px;
  }
  .stack__lab {
    font-size: 0.84rem;
  }
}

/* ===== モデルケース：数字を主役に ===== */
.mcase {
  display: flex;
  flex-direction: column;
}
.mcase__head h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: var(--navy-900);
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.mcase__sub {
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--muted);
}
.mcase__work {
  margin: 0 0 20px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}
.mcase__nums {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 18px 12px;
  border-radius: var(--radius-sm);
  background: #f6faff;
  border: 1px solid var(--line);
  margin-top: auto;
}
.mcase__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.mcase__lab {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.mcase__val {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.mcase__val small {
  font-size: 0.6em;
  font-weight: 700;
  margin-left: 2px;
}
.is-before {
  color: var(--muted);
}
.is-after {
  color: var(--navy-900);
}
/* Before→After をつなぐ矢印 */
.mcase__arrow {
  width: 26px;
  height: 2px;
  background: var(--pink-500);
  position: relative;
}
.mcase__arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  border-left: 8px solid var(--pink-500);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.mcase__cut {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}
.mcase__cut b {
  color: var(--pink-600);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .mcase__val {
    font-size: 1.75rem;
  }
}

/* ===== サービスカードの階層 ===== */
.svc {
  position: relative;
}
/* 主力サービスだけ、ひと目で分かるようにする */
.svc.is-flagship {
  border-width: 2px;
  border-color: var(--pink-500);
  box-shadow: 0 16px 40px rgba(249, 116, 166, 0.18);
}
.svc__ribbon {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--pink-500);
  box-shadow: 0 4px 12px rgba(249, 116, 166, 0.35);
}
/* 主力以外は控えめにして、視線の順序をつくる */
.svc:not(.is-flagship) {
  background: #fcfdff;
}

/* ===== 出力イメージ入りの2カラム（④型の変化＋⑤実物） ===== */
.demo {
  display: grid;
  gap: 28px;
  margin: 40px 0 44px;
  align-items: center;
}
.demo__no {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--blue-500);
  margin-bottom: 6px;
}
.demo__title {
  margin: 0 0 14px;
  font-size: 1.4rem;
  color: var(--navy-900);
}
.demo__body p {
  margin: 0 0 14px;
  line-height: 1.9;
  color: var(--ink);
  font-size: 0.97rem;
}
.demo__note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.76rem;
  color: var(--muted);
}

/* 画面のモック */
.shot {
  border-radius: 12px;
  overflow: hidden;
  background: #0f2338;
  box-shadow: 0 18px 44px rgba(0, 60, 107, 0.22);
}
.shot__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #1b3350;
}
.shot__bar > span:not(.shot__title) {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3d5876;
}
.shot__title {
  margin-left: 8px;
  font-size: 0.72rem;
  color: #9fb6d0;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
}
.shot__body {
  padding: 16px 18px 20px;
  font-size: 0.8rem;
  line-height: 1.75;
}
.shot__h {
  margin: 14px 0 6px;
  color: #7fc4ff;
  font-weight: 700;
}
.shot__h:first-child {
  margin-top: 0;
}
.shot__l {
  margin: 0 0 4px;
  color: #c8d8e8;
}
.shot__todo {
  display: grid;
  grid-template-columns: 16px 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  margin-bottom: 4px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}
.shot__chk {
  width: 13px;
  height: 13px;
  border: 1.5px solid #6f8faf;
  border-radius: 3px;
}
.shot__t {
  color: #e6eef7;
}
.shot__who,
.shot__due {
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
.shot__who {
  background: rgba(104, 199, 255, 0.18);
  color: #8ed0ff;
}
.shot__due {
  background: rgba(249, 116, 166, 0.18);
  color: #ff9dc2;
}

@media (min-width: 900px) {
  .demo {
    grid-template-columns: 1fr 1.05fr;
    gap: 52px;
  }
}

/* 助成金の注記は文ごとに改行する */
.subsidy__fine span {
  display: block;
  margin-bottom: 4px;
}
.subsidy__src {
  margin-top: 8px;
  font-size: 0.94em;
  opacity: 0.85;
}

/* 価格の一律性を明示する一文 */
.subsidy__flat {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: #f6faff;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink);
  text-align: center;
}
.subsidy__flat b {
  color: var(--navy-900);
}
/* 条件・注意事項 */
.subsidy__terms {
  margin: 18px 0 0;
  padding-left: 1.2em;
  font-size: 0.84rem;
  line-height: 1.9;
  color: var(--muted);
}
.subsidy__terms b {
  color: var(--navy-700);
}

/* ===== 第三者による裏付けバッジ（ヒーロー直下） ===== */
.proof {
  padding: 40px 0 8px;
}
.proof__row {
  display: grid;
  gap: 14px;
}
.proof__item {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.proof__badge {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue-500);
  background: var(--blue-100);
}
.proof__main {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy-900);
}
.proof__sub {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}
/* ツール名はロゴと並べる */
.proof__tool {
  display: flex;
  align-items: center;
  gap: 8px;
}
.proof__tool svg {
  color: #d97757;
  flex: none;
}
.proof__tool span {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .proof {
    padding: 52px 0 12px;
  }
  .proof__row {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* ヒーローの資料ダウンロードボタン */
.vex-btn-doc {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.94rem;
  color: #0b2545;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 37, 69, 0.14);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s ease;
}
.vex-btn-doc:hover {
  background: #fff;
}
/* 助成金セクションのボタン並び */
.subsidy__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: none;
}

/* ===== 資料請求 ===== */
.doc {
  display: grid;
  gap: 28px;
  margin-top: 40px;
  align-items: start;
}
.doc__preview {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
/* 資料の1ページ目。実物をそのまま出して中身を想像しやすくする */
.doc__cover {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(0, 60, 107, 0.12);
  margin-bottom: 22px;
}
.doc__toc {
  margin: 0;
  padding-left: 1.2em;
  list-style: none;
}
.doc__toc li {
  position: relative;
  padding: 9px 0 9px 4px;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}
.doc__toc li:last-child {
  border-bottom: none;
}
.doc__toc li::before {
  content: "";
  position: absolute;
  left: -1.1em;
  top: 1.05em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
}
.doc__meta {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: right;
}

@media (min-width: 900px) {
  .doc {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ===== 料金＋助成金（統合セクション） ===== */
.price2 {
  display: grid;
  gap: 24px;
  margin-top: 40px;
  align-items: start;
}
/* 助成金だけの1カラム。横に広がりすぎると読みにくいので幅を絞る */
.price2--solo {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
/* 左：サービスごとの考え方 */
.price2__list {
  display: grid;
  gap: 10px;
}
.price2__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
}
.price2__name {
  font-weight: 700;
  color: var(--navy-900);
  font-size: 0.98rem;
}
.price2__term {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--blue-500);
  background: var(--blue-100);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  align-self: center;
}
.price2__desc {
  grid-column: 1 / -1;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--muted);
}
/* 右：助成金 */
.price2__aid {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 2px solid var(--pink-500);
  box-shadow: 0 14px 36px rgba(249, 116, 166, 0.14);
}
.price2__aidlabel {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--pink-600);
}
.price2__aidbig {
  margin: 2px 0 8px;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.price2__aidbig span {
  font-size: 0.5em;
  margin-left: 2px;
}
.price2__aidname {
  margin: 0 0 16px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}
.price2__aidpoints {
  margin: 0 0 16px;
  padding-left: 1.1em;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--ink);
}
/* 長い注意事項は開閉式にして、通常は畳んでおく */
.price2__more {
  margin: 0 0 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.price2__more summary {
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-700);
  list-style: none;
}
.price2__more summary::-webkit-details-marker {
  display: none;
}
.price2__more summary::before {
  content: "＋ ";
  color: var(--blue-500);
}
.price2__more[open] summary::before {
  content: "− ";
}
.price2__more ul {
  margin: 12px 0 0;
  padding-left: 1.1em;
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--muted);
}
.price2__more b {
  color: var(--navy-700);
}
.price2__aid .btn {
  width: 100%;
}

@media (min-width: 900px) {
  .price2 {
    grid-template-columns: 1fr 0.85fr;
    gap: 36px;
  }
  /* 1カラム版は分割しない（左カラムを廃止したため） */
  .price2--solo {
    grid-template-columns: 1fr;
  }
}

/* ===== 攻め／守りの対比 ===== */
.duo {
  display: grid;
  gap: 0;
  margin-top: 8px;
  align-items: stretch;
  text-align: left;
}
.duo__side {
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
}
.duo__side:first-child {
  border-radius: var(--radius) var(--radius) 0 0;
}
.duo__side:last-child {
  border-radius: 0 0 var(--radius) var(--radius);
}
.duo__side h3 {
  margin: 8px 0 10px;
  font-size: 1.2rem;
  color: var(--navy-900);
}
.duo__side p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--muted);
}
.duo__tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
}
.is-offense .duo__tag {
  background: var(--blue-500);
}
.is-defense .duo__tag {
  background: var(--pink-500);
}
.is-offense {
  border-top: 3px solid var(--blue-500);
}
.is-defense {
  border-bottom: 3px solid var(--pink-500);
}
/* 中央の連結部分 */
.duo__center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

@media (min-width: 860px) {
  .duo {
    grid-template-columns: 1fr auto 1fr;
  }
  .duo__side:first-child {
    border-radius: var(--radius) 0 0 var(--radius);
    border-top: 1px solid var(--line);
    border-left: 3px solid var(--blue-500);
  }
  .duo__side:last-child {
    border-radius: 0 var(--radius) var(--radius) 0;
    border-bottom: 1px solid var(--line);
    border-right: 3px solid var(--pink-500);
  }
  .duo__center {
    width: 92px;
    padding: 14px 10px;
  }
}

/* サービスカードの補足（実施形式など） */
.svc__note {
  margin: 12px 0 0 !important;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #f6faff;
  border: 1px solid var(--line);
  font-size: 0.86rem !important;
  line-height: 1.7;
}
.svc__note b {
  color: var(--navy-900);
}
