/* ============================================================
   top-concept.css — TOPページ インフォグラフィック構成
   ・色は variables.css の変数のみを使用する
   ・font-size は variables.css のトークンのみを使用する
   ・ブレークポイントは 1024 / 768（デスクトップファースト max-width）
   ============================================================ */

/* 見出し。mark に黄色のマーカー */
.cx-h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: var(--fs-h2-i);
  line-height: 1.34;
  letter-spacing: -0.03em;
}

.cx-mark {
  background: linear-gradient(var(--yellow), var(--yellow)) no-repeat left bottom 2px / 100% 15px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.cx-lead {
  margin: 20px 0 0;
  max-width: 46em;
  color: var(--muted);
  font-size: var(--fs-body-d);
  line-height: 1.95;
}

/* ドット地 */
.cx-dots {
  background-image: radial-gradient(color-mix(in srgb, var(--blue) 15%, transparent) 1.6px, transparent 1.6px);
  background-size: 22px 22px;
}

/* ---------- ヒーロー ---------- */

.cx-hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.cx-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 右側の青い斜めブロック */
.cx-hero-diagonal {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 78%;
  background: var(--blue);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.cx-hero-inner {
  position: relative;
  z-index: 1;
  width: var(--page);
  margin: 0 auto;
  padding: 58px 0 76px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: start;
}

/* 左：白カード */
.cx-hero-card {
  position: relative;
  padding: 38px 34px 32px;
  border: 2px solid var(--blue-deep);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 11px 11px 0 0 var(--yellow);
}

/* カード下の吹き出しの尻尾 */
.cx-hero-card::after {
  content: "";
  position: absolute;
  left: 58px;
  bottom: -25px;
  width: 46px;
  height: 46px;
  background: var(--white);
  border-right: 2px solid var(--blue-deep);
  border-bottom: 2px solid var(--blue-deep);
  transform: rotate(45deg);
}

.cx-hero-tagrow {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cx-hero-pill {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue-deep);
  font-size: var(--fs-ui-b);
  font-weight: 700;
}

.cx-hero-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: var(--fs-ui-b);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.cx-hero-brand::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
}

.cx-hero-card h1 {
  margin: 26px 0 0;
  color: var(--blue-deep);
  font-size: var(--fs-h1-j);
  line-height: 1.32;
  letter-spacing: -0.04em;
}

.cx-hero-card h1 .cx-hero-strong {
  display: inline-block;
  margin-top: 6px;
  font-size: var(--fs-h1-k);
  background: linear-gradient(var(--yellow), var(--yellow)) no-repeat left bottom 3px / 100% 18px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.cx-hero-lead {
  margin: 26px 0 0;
  color: var(--ink);
  font-size: var(--fs-body-d);
  line-height: 1.95;
}

.cx-hero-actions {
  margin: 30px 0 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cx-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 28px;
  border-radius: 999px;
  border: 2px solid var(--blue-deep);
  font-size: var(--fs-body-e);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cx-btn-yellow {
  background: var(--yellow);
  color: var(--blue-deep);
}

.cx-btn-white {
  background: var(--white);
  color: var(--blue-deep);
}

.cx-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--blue-deep);
}

.cx-hero-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: var(--fs-ui-b);
}

.cx-hero-points {
  margin: 26px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.cx-hero-points div {
  padding: 0 20px;
  border-left: 1px solid var(--line);
}

.cx-hero-points div:first-child {
  padding-left: 0;
  border-left: 0;
}

.cx-hero-points div {
  padding: 0 14px;
}

.cx-hero-points strong {
  display: block;
  color: var(--blue);
  font-size: var(--fs-body-c);
  white-space: nowrap;
}

.cx-hero-points span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: var(--fs-ui-c);
  line-height: 1.6;
}

/* 右：ビジュアル */
.cx-hero-visual {
  position: relative;
  padding-top: 74px;
}

.cx-hero-figure {
  position: relative;
  border: 2px solid var(--blue-deep);
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 12px 12px 0 0 var(--yellow);
  aspect-ratio: 4 / 3;
}

.cx-hero-figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cx-hero-arrow {
  position: absolute;
  top: 128px;
  right: -22px;
  z-index: 2;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--blue-deep);
  background: var(--white);
  color: var(--blue);
  font-size: var(--fs-h4-d);
}

.cx-hero-caption {
  margin-top: 18px;
  padding: 22px 26px;
  border: 2px solid var(--blue-deep);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 9px 9px 0 0 var(--yellow);
}

.cx-hero-steps {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--blue-deep);
  font-size: var(--fs-h4-d);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cx-hero-steps span + span::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 3px;
  margin-right: 16px;
  border-radius: 2px;
  background: var(--yellow);
  vertical-align: 0.28em;
}

.cx-hero-caption h2 {
  margin: 8px 0 0;
  color: var(--blue-deep);
  font-size: var(--fs-h4-d);
}

.cx-hero-caption p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: var(--fs-ui-b);
  line-height: 1.8;
}

/* ---------- 汎用セクション ---------- */

.cx-section {
  padding: 104px 0;
}

.cx-section-inner {
  width: var(--page);
  margin: 0 auto;
}

.cx-tone-pale {
  background: var(--blue-pale);
}

.cx-tone-white {
  background: var(--white);
}

.cx-head-center {
  text-align: center;
}

.cx-head-center .cx-lead {
  margin-inline: auto;
}

/* ---------- 課題カード ---------- */

.cx-problems {
  margin-top: 52px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.cx-problem {
  width: calc((100% - 60px) / 3);
}

.cx-problem {
  position: relative;
  padding: 40px 28px 30px;
  border: 2px solid var(--blue-deep);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 8px 8px 0 0 color-mix(in srgb, var(--blue) 12%, transparent);
}

.cx-problem.is-accent {
  background: var(--yellow);
  box-shadow: 8px 8px 0 0 color-mix(in srgb, var(--blue-deep) 22%, transparent);
}

.cx-problem-tag {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 2px solid var(--blue-deep);
  background: var(--yellow);
  color: var(--blue-deep);
  font-size: var(--fs-ui-d);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.cx-problem.is-accent .cx-problem-tag {
  background: var(--white);
}

/* 背景の囲み（角丸ボックス）は廃止し、アイコン自体を 1.8倍に拡大する
   28px → 50px。囲みが無くなるぶん線が太く見えるため stroke は 2.4 → 2.0 に調整 */
.cx-problem-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--blue);
}

/* 黄カード上はカード内テキストと同じ濃紺に揃える（黄地に対し 10.40:1） */
.cx-problem.is-accent .cx-problem-icon {
  color: var(--blue-deep);
}

.cx-problem-icon svg {
  width: 50px;
  height: 50px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cx-problem h3 {
  margin: 20px 0 0;
  color: var(--blue-deep);
  font-size: var(--fs-h4-d);
  line-height: 1.5;
}

.cx-problem p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: var(--fs-body-f);
  line-height: 1.85;
}

.cx-problem.is-accent p {
  color: color-mix(in srgb, var(--blue-deep) 82%, transparent);
}

/* ---------- ロゴ帯（既存 .logo-viewport を流用） ---------- */

.cx-logos {
  padding: 84px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cx-logos-title {
  text-align: center;
}

.cx-logos-note {
  margin: 16px 0 34px;
  text-align: center;
  color: var(--muted);
  font-size: var(--fs-body-d);
}

/* ---------- THE REAL ISSUE ---------- */

.cx-issue-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.28fr;
  gap: 48px;
  align-items: center;
}

.cx-issue-art svg {
  width: 100%;
  height: auto;
  display: block;
}

.cx-issue-quote {
  margin: 24px 0 0;
  color: var(--blue-deep);
  font-size: var(--fs-h4-d);
  font-weight: 700;
  line-height: 1.7;
}

.cx-issue-quote span {
  background: linear-gradient(var(--yellow), var(--yellow)) no-repeat left bottom 1px / 100% 10px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.cx-issue-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.cx-issue-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 2px solid var(--blue-deep);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 6px 6px 0 0 color-mix(in srgb, var(--blue) 12%, transparent);
}

.cx-issue-list .cx-issue-num {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: var(--fs-ui-b);
  font-weight: 700;
}

.cx-issue-list strong {
  display: block;
  color: var(--blue-deep);
  font-size: var(--fs-body-e);
}

.cx-issue-list .cx-issue-text span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: var(--fs-ui-b);
}

/* ---------- OUR APPROACH ---------- */

.cx-approach {
  position: relative;
  overflow: hidden;
  background: var(--blue-pale);
}

.cx-approach-wedge {
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 100%;
  background: var(--yellow);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.cx-approach .cx-section-inner {
  position: relative;
  z-index: 1;
}

.cx-approach-top {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 46px;
  align-items: start;
}

.cx-approach-note {
  padding: 26px 30px;
  border-radius: 16px;
  background: var(--blue);
  color: var(--white);
  font-size: var(--fs-body-e);
  font-weight: 700;
  line-height: 1.85;
  box-shadow: 9px 9px 0 0 var(--blue-deep);
}

.cx-steps {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

.cx-step {
  padding: 46px 42px 48px;
  border: 2px solid var(--blue-deep);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 9px 9px 0 0 var(--yellow);
}

.cx-steps > .cx-step:nth-child(2) {
  margin-top: 26px;
}

/* 数字は紺文字＋黄マーカー。黄文字のままだと白地で 1.40:1 となり
   CQS-60（大文字 3.0:1 以上）を満たせないため。 */
.cx-step-num {
  display: inline-block;
  color: var(--blue-deep);
  font-size: var(--fs-h2-f);
  font-weight: 700;
  line-height: 1.05;
  padding: 0 6px;
  background: linear-gradient(var(--yellow), var(--yellow)) no-repeat left bottom 2px / 100% 16px;
}

.cx-step h3 {
  margin: 28px 0 0;
  color: var(--blue-deep);
  font-size: var(--fs-h4);
  line-height: 1.5;
}

.cx-step p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: var(--fs-body-e);
  line-height: 1.95;
}

/* ---------- OUR SERVICE ---------- */

.cx-services {
  margin-top: 52px;
  display: flex;
  gap: 15px;
  align-items: stretch;
}

.cx-service {
  flex: 1 1 0;
  min-width: 0;
}

/* カードをつなぐポップな矢印。幅0でカードに重ねる（カード幅を削らない） */
.cx-arrow {
  flex: 0 0 0;
  width: 0;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  z-index: 2;
}

.cx-arrow svg {
  flex: 0 0 auto;
  width: 62px;
  height: 42px;
  fill: var(--yellow);
  stroke: var(--blue-deep);
  stroke-width: 3.4;
  stroke-linejoin: round;
}

.cx-service {
  padding: 36px 30px 34px;
  border: 2px solid var(--blue-deep);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 8px 8px 0 0 color-mix(in srgb, var(--blue) 12%, transparent);
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cx-service:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 0 var(--yellow);
}

.cx-service-label {
  display: block;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: var(--fs-body-c);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
}

.cx-service-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue-deep);
}

.cx-service-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cx-service-step {
  margin: 18px 0 0;
  display: inline-block;
  color: var(--blue);
  font-size: var(--fs-h4-d);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cx-service h3 {
  margin: 26px 0 0;
  color: var(--blue-deep);
  font-size: var(--fs-h4-d);
}

.cx-service p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: var(--fs-body-f);
  line-height: 1.9;
}

.cx-service-more {
  margin: 22px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: var(--fs-ui);
  font-weight: 700;
}

/* ---------- CASE STUDIES（ベントー） ---------- */

.cx-cases {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 26px;
}

.cx-case {
  position: relative;
  overflow: hidden;
  padding: 34px 32px 36px;
  border: 2px solid var(--blue-deep);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 8px 8px 0 0 color-mix(in srgb, var(--blue) 12%, transparent);
  text-decoration: none;
  display: block;
  min-height: 268px;
  padding-right: 200px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cx-case:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 0 var(--yellow);
}

.cx-case.is-feature {
  grid-row: span 2;
  background: linear-gradient(140deg, var(--blue) 0%, var(--blue-deep) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cx-case-cat {
  display: block;
  color: var(--blue);
  font-size: var(--fs-ui-b);
  font-weight: 700;
}

.cx-case.is-feature .cx-case-cat {
  color: var(--yellow);
}

.cx-case h3 {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: var(--blue-deep);
  font-size: var(--fs-h4-d);
  line-height: 1.5;
}

.cx-case.is-feature h3 {
  color: var(--white);
  font-size: var(--fs-h3-e);
}

.cx-case p {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  max-width: 24em;
  color: var(--muted);
  font-size: var(--fs-body-f);
  line-height: 1.85;
}

.cx-case.is-feature p {
  color: color-mix(in srgb, var(--white) 84%, transparent);
}

/* ロゴはブランドガイドライン上、白地に置く必要があるため
   黄円ではなく白円＋黄色のリングにしている。 */
.cx-case-mark {
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: 160px;
  height: 160px;
  box-sizing: border-box;
  /* 円に内接する正方形は 直径×0.707。ロゴが黄リングを越えないよう padding を確保する */
  padding: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 6px var(--yellow);
}

/* 自動サイズの grid 行に対する % 高さは循環参照になり auto 扱いとなるため、
   ロゴは % や aspect-ratio ではなく実寸で確定させる。
   112px = 直径160px の円に内接する正方形（160×0.707≒113）以内。 */
.cx-case-mark img {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.cx-cases-more {
  margin: 34px 0 0;
  text-align: center;
}

.cx-cases-more a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: var(--fs-body-c);
  font-weight: 700;
}

.cx-case-more {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: var(--fs-ui);
  font-weight: 700;
}

.cx-case.is-feature .cx-case-more {
  color: var(--yellow);
}

/* ---------- 会社紹介 ---------- */

/* 会社紹介：文字サイズを他セクションに揃える */
.cx-about-legacy .heading-copy h2 {
  font-size: var(--fs-h2-i);
  line-height: 1.34;
}

.cx-about-legacy .heading-copy p {
  font-size: var(--fs-body-d);
  line-height: 1.95;
}

.cx-about-legacy .button {
  border-radius: var(--radius-btn);
}

/* 会社紹介ブロックは他セクションと同じカード表現に揃える */
.cx-about-legacy {
  /* セクション＝カード本体のため、余白は padding ではなく margin で外に出す */
  padding: 0;
  background: var(--white);
}

.cx-about-legacy.about {
  width: var(--page);
  margin: 104px auto;
  overflow: hidden;
  border: 2px solid var(--blue-deep);
  border-radius: 18px;
  box-shadow: 9px 9px 0 0 var(--yellow);
}

/* カード幅に収めると object-fit:cover では左のロゴが切れるため、
   写真は原寸比のまま高さを追従させる（トリミングを発生させない） */
.cx-about-legacy .about-photo {
  height: auto;
  min-height: 0;
}

.cx-about-legacy .about-photo img {
  height: auto;
  object-fit: fill;
}

.cx-about-legacy .about-copy {
  width: auto;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 56px 58px 62px;
}

/* ---------- レスポンシブ ---------- */

@media (max-width: 1024px) {
  .cx-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 66px;
  }

  .cx-hero-diagonal {
    width: 100%;
    height: 46%;
    top: auto;
    bottom: 0;
    clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
  }

  .cx-hero-visual {
    padding-top: 0;
  }

  .cx-issue-grid,
.cx-approach-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cx-problem {
    width: calc((100% - 30px) / 2);
  }

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

  /* flex なので grid-template-columns ではなく flex-direction で縦積みにする */
  .cx-services {
    flex-direction: column;
    gap: 10px;
  }

  .cx-service {
    flex: 1 1 auto;
  }

  .cx-arrow {
    width: 100%;
    height: 0;
    align-self: center;
  }

  .cx-arrow svg {
    transform: rotate(90deg);
    width: 42px;
    height: 30px;
  }

  .cx-steps > .cx-step:nth-child(2) {
    margin-top: 0;
  }

  .cx-cases {
    grid-template-columns: 1fr;
  }

  .cx-case.is-feature {
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  .cx-about-legacy.about {
    margin: 62px auto;
  }

  .cx-about-legacy .about-copy {
    padding: 36px 24px 42px;
  }

  .cx-section {
    padding: 72px 0;
  }

  .cx-hero-inner {
    padding: 40px 0 58px;
  }

  .cx-hero-card {
    padding: 30px 24px 26px;
    box-shadow: 8px 8px 0 0 var(--yellow);
  }

  .cx-hero-card h1 {
    font-size: var(--fs-sp-h4-c);
  }

  .cx-hero-card h1 .cx-hero-strong {
    font-size: var(--fs-sp-h3-f);
  }

  .cx-hero-lead {
    font-size: var(--fs-sp-body-b);
  }

  .cx-hero-points {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cx-hero-points div {
    padding: 0 0 0 14px;
    border-left: 3px solid var(--yellow);
  }

  .cx-hero-points div:first-child {
    padding-left: 14px;
    border-left: 3px solid var(--yellow);
  }

  .cx-hero-arrow {
    right: -10px;
    width: 50px;
    height: 50px;
  }

  .cx-h2 {
    font-size: var(--fs-sp-h3-f);
  }

  .cx-lead {
    font-size: var(--fs-sp-body-b);
  }

  .cx-problem {
    width: 100%;
  }

  .cx-steps,
.cx-issue-list {
    grid-template-columns: 1fr;
  }

  .cx-step {
    padding: 32px 26px 34px;
  }

  .cx-case {
    padding-right: 32px;
    min-height: 0;
  }

  .cx-case-mark {
    position: static;
    margin-top: 22px;
    width: 132px;
    height: 132px;
    padding: 20px;
  }

  /* 132×0.707≒93 → 92px */
  .cx-case-mark img {
    width: 92px;
    height: 92px;
  }

  .cx-problem h3,
.cx-step h3,
.cx-service h3,
.cx-case h3 {
    font-size: var(--fs-sp-h4-c);
  }

  .cx-case.is-feature h3 {
    font-size: var(--fs-sp-h4);
  }

  .cx-btn {
    width: 100%;
    justify-content: space-between;
  }
}

/* ---------- floating CTA（TOPのみ） ---------- */
/* ヒーローでは出さず、2セクション目以降で表示する。
   JS無効時は no-js.css で常時表示に戻す。 */
.floating-cta {
  opacity: 0;
  visibility: hidden;
  transform: translateX(26px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}

.floating-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .floating-cta {
    transition: none;
  }
}

/* ---------- インライン SVG イラストの配色 ---------- */
.cx-art { width: 100%; height: auto; display: block; }
.cx-art-soft { fill: var(--blue-light); }
.cx-art-yellow { fill: var(--yellow); }
.cx-art-yellow-dark { fill: var(--yellow); stroke: none; }
.cx-art-blue { fill: var(--blue); }
.cx-art-blue-light { fill: var(--blue-light); }
.cx-art-white { fill: var(--white); }
.cx-art-skin { fill: var(--skin); }
.cx-art-line { fill: none; stroke: var(--blue-deep); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.cx-art-laptop .cx-art-yellow-dark { fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round; }
.cx-art-q-mark { fill: none; stroke: var(--blue-deep); stroke-width: 7; stroke-linecap: round; }
.cx-art-q-dot { fill: var(--blue-deep); }
