/* ============================================================
   Data & Work Style ページ専用スタイル
   - TOP(styles.css)のトークン/コンポーネントを踏襲
   - 英字見出しは黒字・各セクション右上に固定
============================================================ */

/* ヘッダーはTOP(styles.css)の挙動をそのまま使用。現在ページのみアクティブ表示を付与 */
.header__nav a.is-current { color: var(--color-primary); font-weight: 800; }
.header__nav a.is-current::after { transform: scaleX(1); transform-origin: left center; }

/* 日本語見出しのグラデーション部分（ネイビー＋ブルー/パープル） */
.grad-text {
  background: linear-gradient(96deg, #7E3FFF 0%, #0EE5BB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* セクション共通の余白 */
.dws-section {
  position: relative;
  padding: clamp(72px, 8vw, 120px) 0;
  overflow: hidden;
}
.dws-section .container { position: relative; }
.dws-section--tint { background: linear-gradient(180deg, #F6FAFF 0%, #EEF6FF 100%); }

/* TOPページの通常セクションと見出しスケールを統一 */
.dws-section .section-display {
  font-size: clamp(72px, 7.6vw, 120px);
  line-height: .95;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #030303;
  margin: 0 0 clamp(32px, 4vw, 58px);
}
.dws-section .section-title {
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.58;
  font-weight: 800;
  letter-spacing: .04em;
}
.dws-section .lead,
.dws-ws__lead {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.22vw, 18px);
  line-height: 2.35;
  letter-spacing: .08em;
  font-weight: 700;
  color: #111a3d;
}

/* セクション装飾（淡いグラデ図形・ドット） */
.dws-blob {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 38% 34%, rgba(122,60,255,0.14), rgba(58,142,246,0.10) 55%, transparent 72%);
  filter: blur(2px);
}
.dws-dots {
  position: absolute; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(47,142,235,0.30) 2px, transparent 2.2px);
  background-size: 17px 17px;
}
.dws-lime-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 5px rgba(0, 162, 154,0.22); z-index: 1; pointer-events: none; }

/* 共通：数字の大きな値表現 */
.stat-val {
  font-family: var(--font-display);
  font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background: var(--gradient-main);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-val em { font-style: normal; -webkit-text-fill-color: transparent; }
.stat-val .unit { font-size: 0.45em; font-weight: 800; margin-left: 2px; }
.stat-val::after {
  content: ""; display: block; width: 30px; height: 3px; margin: 10px auto 0;
  border-radius: 3px; background: var(--gradient-accent);
}

/* ============================================================
   2. Page Hero
============================================================ */
.dws-hero {
  position: relative;
  padding: clamp(108px, 12vh, 140px) 0 clamp(64px, 7vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 88% 22%, rgba(122,60,255,0.10), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F9FF 100%);
}
.dws-hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.dws-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 800; letter-spacing: 0.06em; color: var(--color-primary);
  margin-bottom: 18px;
}
.dws-hero__eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 4px rgba(0, 162, 154,0.25); }
.dws-hero__title {
  font-size: clamp(25px, 3.1vw, 41px); font-weight: 800; line-height: 1.36;
  letter-spacing: 0.01em; color: #171C61; margin: 0 0 clamp(18px, 2vw, 26px);
}
.dws-hero__lead {
  font-size: clamp(14px, 1.1vw, 16px); line-height: 2; color: var(--color-text-sub);
  margin: 0 0 clamp(26px, 3vw, 36px);
}
.dws-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ヒーロー右：写真＋数字カード3枚 */
.dws-hero__visual { position: relative; }
.dws-hero__photo {
  position: relative; z-index: 1;
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 26px 60px rgba(47,74,125,0.16);
}
.dws-hero__photo img { display: block; width: 100%; height: auto; }
.dws-hero__cards {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin: -56px clamp(0px, 1vw, 14px) 0;
}
.dws-hero__card {
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(229,234,242,0.9);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(47,74,125,0.12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: clamp(16px, 1.5vw, 22px) 12px clamp(14px, 1.3vw, 18px);
  text-align: center;
}
.dws-hero__card img { height: 44px; width: 44px; object-fit: contain; margin: 0 auto 10px; display: block; }
.dws-hero__card .lbl { display: block; font-size: 13px; font-weight: 700; color: #171C61; line-height: 1.45; margin-bottom: 7px; }
.dws-hero__card .stat-val { font-size: clamp(28px, 2.6vw, 38px); }

/* ============================================================
   3. Numbers
============================================================ */
.dws-numbers__head { max-width: 760px; margin-bottom: clamp(34px, 4vw, 52px); }
.cat-grid { display: grid; grid-template-columns: 1.12fr 0.78fr 1.12fr; gap: clamp(16px, 1.6vw, 24px); align-items: stretch; }
.cat-card {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(229,234,242,0.9);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(47,74,125,0.08);
  padding: clamp(20px, 2vw, 30px);
}
.cat-card__head { display: flex; align-items: center; gap: 13px; margin-bottom: clamp(16px, 1.6vw, 22px); padding-left: 4px; }
.cat-card__head .ic {
  width: 52px; height: 52px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: #fff; box-shadow: 0 8px 20px rgba(47,74,125,0.10);
}
.cat-card__head .ic img { width: 30px; height: 30px; object-fit: contain; }
.cat-card__head h3 { font-size: clamp(17px, 1.5vw, 21px); font-weight: 800; color: #171C61; }
.cat-card__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; flex: 1; grid-auto-rows: 1fr; }
.cat-card--single .cat-card__grid { grid-template-columns: 1fr; }
.num-cell {
  background: #fff; border: 1px solid rgba(229,234,242,0.9); border-radius: 18px;
  box-shadow: 0 8px 22px rgba(47,74,125,0.05);
  padding: clamp(20px, 2vw, 30px) clamp(12px, 1.2vw, 18px) clamp(18px, 1.8vw, 26px);
  text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.num-cell img { height: 42px; width: 42px; object-fit: contain; margin-bottom: 10px; }
.num-cell .lbl { font-size: 13px; font-weight: 700; color: #171C61; line-height: 1.45; margin-bottom: 9px; }
.num-cell .stat-val { font-size: clamp(28px, 2.7vw, 38px); }
.num-cell--text .stat-val { font-size: clamp(16px, 1.5vw, 20px); }
.num-cell--text .stat-val::after { display: none; }
.dws-numbers__note { margin-top: clamp(26px, 3vw, 38px); text-align: center; font-size: 12.5px; color: var(--color-text-sub); }

/* ============================================================
   4. Business Model
============================================================ */
.dws-bm__head { max-width: 820px; margin-bottom: clamp(36px, 4vw, 56px); }
.bm-flow {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1.05fr; align-items: center;
  gap: clamp(8px, 1vw, 16px); margin-bottom: clamp(34px, 4vw, 52px);
}
.bm-arrow {
  width: clamp(34px, 3vw, 44px);
  height: clamp(44px, 4vw, 58px);
  position: relative;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(47, 142, 235, 0.1) 0%,
    rgba(47, 142, 235, 0.56) 42%,
    #276ff2 100%
  );
  clip-path: polygon(0 24%, 64% 24%, 64% 0, 100% 50%, 64% 100%, 64% 76%, 0 76%);
  filter: drop-shadow(0 6px 8px rgba(47, 142, 235, 0.2));
}
.bm-arrow svg { display: none; }
@media (min-width: 1001px) {
  .bm-flow { column-gap: 0; }
  .bm-arrow {
    height: clamp(50px, 4.5vw, 66px);
    margin-inline-start: -6px;
    margin-inline-end: 8px;
  }
}
.bm-step {
  background: rgba(255,255,255,0.92); border: 1px solid rgba(229,234,242,0.9);
  border-radius: 20px; box-shadow: 0 16px 40px rgba(47,74,125,0.08);
  padding: clamp(18px, 1.8vw, 26px); height: 100%;
}
.bm-step__tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; color: #fff;
  background: var(--gradient-main); border-radius: 999px; padding: 7px 16px; margin-bottom: 16px;
}
.bm-list { display: grid; gap: 12px; }
.bm-list li { display: flex; gap: 12px; align-items: flex-start; }
.bm-list .ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #F2F7FF; }
.bm-list .ic img { width: 24px; height: 24px; object-fit: contain; }
.bm-list b { display: block; font-size: 14.5px; font-weight: 800; color: #171C61; line-height: 1.4; }
.bm-list span { display: block; font-size: 12px; color: var(--color-text-sub); line-height: 1.5; margin-top: 1px; }
.bm-list--simple li { align-items: center; }
.bm-list--simple b { font-size: 16px; }

/* ステップ3：還元（グラデ大カード） */
.bm-step--reward {
  background: var(--gradient-main); border: 0; color: #fff;
  box-shadow: 0 24px 60px rgba(58,110,230,0.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: clamp(26px, 3vw, 40px);
}
.bm-step--reward .bm-step__tag { background: rgba(255,255,255,0.18); color: #fff; }
.bm-reward__label { font-size: 15px; font-weight: 700; opacity: .95; margin-bottom: 4px; }
.bm-reward__big { font-family: var(--font-display); font-size: clamp(42px, 4.8vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.bm-reward__big .unit { font-size: 0.45em; margin-left: 2px; }
.bm-reward__desc { font-size: 13px; line-height: 1.7; opacity: .95; margin-top: 14px; }
.bm-reward__ring {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25); pointer-events: none;
}

/* 下部補足カード */
.bm-extra { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.6vw, 24px); }
.bm-extra__card {
  background: rgba(255,255,255,0.94); border: 1px solid rgba(229,234,242,0.9);
  border-radius: 20px; box-shadow: 0 14px 34px rgba(47,74,125,0.08);
  padding: clamp(22px, 2.2vw, 30px); display: flex; gap: 18px; align-items: flex-start;
}
.bm-extra__ic {
  width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, #EAF3FF, #F1ECFF); box-shadow: inset 0 0 0 1px rgba(47,142,235,0.14);
}
.bm-extra__ic img { width: 34px; height: 34px; object-fit: contain; }
.bm-extra__num { font-family: var(--font-display); font-size: 22px; font-weight: 800; background: var(--gradient-main); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.bm-extra__card h3 { font-size: 16px; font-weight: 800; color: #171C61; margin: 2px 0 6px; }
.bm-extra__card p { font-size: 12.5px; color: var(--color-text-sub); line-height: 1.6; }

/* ============================================================
   5. Work Style
============================================================ */
.dws-ws__head { margin-bottom: clamp(28px, 3.4vw, 48px); }
.dws-ws__inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.dws-ws__lead { font-size: clamp(13.5px, 1.05vw, 15px); line-height: 2; color: var(--color-text-sub); margin: 0 0 clamp(26px, 3vw, 36px); }
.ws-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.2vw, 16px); }
.ws-card {
  background: rgba(255,255,255,0.95); border: 1px solid rgba(229,234,242,0.9);
  border-radius: 18px; box-shadow: 0 14px 34px rgba(47,74,125,0.08);
  padding: clamp(20px, 1.8vw, 28px) clamp(14px, 1.2vw, 18px); text-align: center;
}
.ws-card img { height: 46px; width: 46px; object-fit: contain; margin: 0 auto 14px; display: block; }
.ws-card h3 { font-size: clamp(14px, 1.2vw, 16px); font-weight: 800; color: #171C61; margin-bottom: 8px; }
.ws-card p { font-size: 12px; color: var(--color-text-sub); line-height: 1.55; }

/* 右：写真コラージュ */
.ws-collage { position: relative; min-height: 380px; }
.ws-collage__main {
  width: 86%; border-radius: 26px; overflow: hidden;
  box-shadow: 0 24px 56px rgba(47,74,125,0.16); margin-left: auto;
}
.ws-collage__main img { display: block; width: 100%; height: auto; }
.ws-collage__sub {
  position: absolute; right: 0; bottom: -6%; width: 50%;
  border-radius: 18px; overflow: hidden; border: 5px solid #fff;
  box-shadow: 0 18px 44px rgba(47,74,125,0.20);
}
.ws-collage__sub img { display: block; width: 100%; height: auto; }

/* ============================================================
   6. Let's Talk CTA
============================================================ */
.dws-cta { position: relative; overflow: hidden; padding: clamp(64px, 7vw, 100px) 0; }
.dws-cta__bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(120deg, #7E3FFF 0%, #0EE5BB 100%);
}
.dws-cta .container { position: relative; z-index: 1; color: #fff; }
.dws-cta__layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.dws-cta__title { font-size: clamp(24px, 2.7vw, 38px); font-weight: 800; line-height: 1.45; margin: 0 0 6px; }
.dws-cta__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.btn--lime { background: var(--color-accent); color: #171C61; font-weight: 800; box-shadow: 0 14px 34px rgba(0, 162, 154,0.35); }
.btn--lime:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(0, 162, 154,0.45); color: #171C61; }
.dws-cta__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 2.4vw, 36px); margin-top: clamp(26px, 3vw, 38px); }
.dws-cta__trust li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; }
.dws-cta__trust img { height: 22px; width: 22px; object-fit: contain; filter: brightness(0) invert(1); opacity: .92; }
.dws-cta__back { display: inline-flex; align-items: center; gap: 8px; margin-top: clamp(22px, 2.6vw, 32px); font-size: 13.5px; font-weight: 800; color: #fff; }
.dws-cta__back:hover { opacity: .85; }
.dws-cta .dws-dots { background-image: radial-gradient(rgba(255,255,255,0.5) 2px, transparent 2.2px); }

/* ============================================================
   レスポンシブ
============================================================ */
@media (max-width: 1000px) {
  .dws-hero__inner { grid-template-columns: 1fr; }
  .dws-hero__visual { max-width: 620px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card__grid { grid-template-columns: repeat(2, 1fr); }
  .bm-flow { grid-template-columns: 1fr; }
  .bm-arrow { transform: rotate(90deg); margin: 4px auto; }
  .bm-extra { grid-template-columns: 1fr; }
  .dws-ws__inner { grid-template-columns: 1fr; }
  .ws-collage { max-width: 600px; }
  .dws-cta__layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dws-hero__cards { grid-template-columns: 1fr; margin-top: -40px; }
  .ws-cards { grid-template-columns: repeat(2, 1fr); }
  .num-cell .lbl { min-height: 0; }
}

@media (min-width: 1001px) {
  .dws-hero__title {
    font-size: clamp(34px, 2.6vw, 50px);
    line-height: 1.38;
    letter-spacing: .015em;
  }
  .dws-section .section-display {
    font-size: clamp(74px, 6.2vw, 104px);
    margin-bottom: 28px;
  }
  .dws-section .section-title {
    font-size: clamp(28px, 2.55vw, 40px);
    line-height: 1.48;
  }
  .dws-section .lead,
  .dws-ws__lead {
    font-size: 15px;
    line-height: 2.05;
  }
}

/* ============================================================
   Stable counters, larger iconography, shared SVG visibility
============================================================ */
.bg-stage__line {
  opacity: .58;
}

.dws-hero,
.dws-section,
.dws-section--tint {
  background:
    radial-gradient(circle at 86% 10%, rgba(47,142,235,.07), transparent 29%),
    linear-gradient(145deg, rgba(255,255,255,.70), rgba(246,250,255,.58));
}

.stat-val,
.bm-reward__big,
.numbers-primary__card strong {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.js-count {
  display: inline-block;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.js-count[data-count="100"],
.js-count[data-count="120"],
.js-count[data-count="870"] {
  min-width: 3ch;
}

.js-count[data-count="83"],
.js-count[data-count="30"] {
  min-width: 2ch;
}

.js-count[data-count="1000"],
.js-count[data-count="1500"] {
  min-width: 5ch;
}

.dws-hero__card {
  contain: layout;
  flex: none;
}

.dws-hero__card {
  grid-template-columns: 76px minmax(0, 1fr);
  column-gap: 8px;
}

.dws-hero__card img {
  width: 64px;
  height: 64px;
  padding: 13px;
}

.dws-hero__card .lbl {
  font-size: 17px;
  font-weight: 900;
}

.dws-hero__card .stat-val {
  min-width: 0;
  font-size: 58px;
}

.dws-hero__card--price {
  width: 320px;
}

.dws-hero__card--return {
  width: 318px;
}

.dws-hero__card--guarantee {
  width: 390px;
}

.dws-hero__card--remote {
  width: 306px;
}

.dws-hero__features img {
  width: 42px;
  height: 42px;
  padding: 8px;
}

.dws-hero__features li {
  font-size: 14px;
}

.numbers-primary__card {
  contain: layout;
}

.numbers-primary__card > span {
  font-size: 18px;
}

.numbers-primary__card .stat-val {
  display: inline-flex;
  justify-content: center;
  align-items: baseline;
  min-width: 7.6ch;
}

.numbers-details span,
.numbers-details em {
  font-size: 15px;
}

.numbers-details strong {
  font-size: 37px;
}

.bm-list--simple .ic {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}

.bm-list--simple .ic img {
  width: 38px;
  height: 38px;
}

.bm-list--simple b {
  font-size: 14px;
}

.bm-list:not(.bm-list--simple) li {
  font-size: 15px;
}

.ws-card {
  grid-template-columns: 98px minmax(0, 1fr);
  min-height: 166px;
}

.ws-card img {
  width: 82px;
  height: 82px;
  margin-right: 16px;
}

.ws-card h3 {
  font-size: 18px;
}

.ws-card p {
  font-size: 14px;
}

@media (max-width: 640px) {
  .dws-hero__card {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .dws-hero__card img {
    width: 54px;
    height: 54px;
  }

  .numbers-primary__card .stat-val {
    min-width: 0;
  }

  .ws-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .ws-card img {
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 680px) {
  .dws-hero__title {
    font-size: clamp(21px, 6vw, 30px);
  }
  .dws-section .section-display {
    font-size: clamp(56px, 18vw, 78px);
  }
}

@media (min-width: 1280px) and (max-height: 860px) {
  .dws-hero__title {
    font-size: clamp(31px, 2.25vw, 42px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dws-blob { animation: none; }
}

/* Let the shared animated SVG remain visible through page sections. */
.dws-hero {
  background:
    radial-gradient(ellipse 60% 50% at 88% 22%, rgba(122,60,255,0.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.82) 0%, rgba(244,249,255,.74) 100%);
}

.dws-section--tint {
  background: linear-gradient(180deg, rgba(246,250,255,.76) 0%, rgba(238,246,255,.70) 100%);
}

/* ============================================================
   2026 mock fidelity layout
============================================================ */
.dws-hero,
.dws-section {
  background:
    radial-gradient(circle at 85% 8%, rgba(47,142,235,.08), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.93), rgba(246,250,255,.82));
}

.dws-hero {
  min-height: 900px;
  display: flex;
  align-items: center;
  padding: 110px 0 50px;
}

.dws-hero .container {
  width: 100%;
}

.dws-hero__inner {
  grid-template-columns: minmax(540px, .9fr) minmax(620px, 1.1fr);
  gap: 28px;
}

.dws-hero__eyebrow {
  padding: 11px 20px;
  border: 1px solid rgba(47,142,235,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 8px 20px rgba(47,74,125,.07);
  color: var(--color-text);
}

.dws-hero__title {
  margin-top: 20px;
  font-size: clamp(46px, 3.8vw, 55px);
  line-height: 1.38;
}

.dws-hero__lead {
  max-width: 610px;
  font-size: 16px;
  font-weight: 600;
  line-height: 2;
  color: var(--color-text);
}

.dws-hero__actions .btn {
  min-width: 238px;
  min-height: 64px;
  justify-content: center;
}

.dws-hero__features {
  display: flex;
  gap: 34px;
  margin-top: 38px;
}

.dws-hero__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-sub);
  white-space: nowrap;
}

.dws-hero__features img {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
  background: #f4f8ff;
  object-fit: contain;
}

.dws-hero__visual {
  min-height: 650px;
}

.dws-hero__photo {
  position: absolute;
  inset: 20px 45px 20px 0;
  border: 5px solid #fff;
  border-radius: 58px 58px 58px 58px;
}

.dws-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dws-hero__cards {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
}

.dws-hero__card {
  position: absolute;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  text-align: left;
  padding: 24px;
  border-radius: 18px;
}

.dws-hero__card img {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 10px;
  border-radius: 50%;
  background: #edf4ff;
}

.dws-hero__card .lbl {
  margin: 0;
  font-size: 15px;
  color: var(--color-text);
}

.dws-hero__card .stat-val {
  font-size: 54px;
}

.dws-hero__card .stat-val::after {
  display: none;
}

.dws-hero__card--price {
  width: 300px;
  left: -112px;
  top: 72px;
}

.dws-hero__card--return {
  width: 280px;
  right: -58px;
  top: 150px;
}

.dws-hero__card--guarantee {
  width: 348px;
  right: -60px;
  bottom: 40px;
}

.dws-hero__card--guarantee .stat-val {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 48px;
}

.dws-hero__card--guarantee .stat-val small {
  font-size: 20px;
  color: var(--color-text);
  -webkit-text-fill-color: var(--color-text);
}

.dws-hero__card--remote {
  width: 286px;
  left: 92px;
  bottom: -2px;
}

.dws-hero__card--remote .lbl {
  font-size: 14px;
  line-height: 1.7;
}

.dws-hero__card--remote .lbl strong {
  font-size: 18px;
}

.dws-section {
  min-height: 900px;
  display: flex;
  align-items: center;
  padding: 86px 0;
}

.dws-section .section-display {
  color: var(--color-text);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(74px, 7vw, 108px);
  font-weight: 800;
  letter-spacing: 0;
}

.dws-numbers__head,
.dws-bm__head {
  max-width: none;
  margin-bottom: 28px;
}

.dws-section .section-title {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0;
}

.dws-section .lead {
  font-size: 16px;
  letter-spacing: 0;
}

.numbers-primary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.numbers-primary__card {
  min-height: 194px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  padding: 24px;
  border: 1px solid rgba(47,142,235,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 36px rgba(47,74,125,.08);
}

.numbers-primary__card > span {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-text);
}

.numbers-primary__card .stat-val {
  font-size: clamp(66px, 6.3vw, 92px);
}

.numbers-primary__card .stat-val::after {
  display: none;
}

.numbers-primary__card .stat-val small {
  font-size: .42em;
}

.numbers-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
  padding: 22px 20px;
  border: 1px solid rgba(47,142,235,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 36px rgba(47,74,125,.08);
}

.numbers-details > div {
  min-height: 94px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 12px;
  text-align: center;
}

.numbers-details > div:not(:nth-child(4n + 1)) {
  border-left: 1px solid rgba(77,91,124,.18);
}

.numbers-details > div:nth-child(n + 5) {
  border-top: 1px solid rgba(77,91,124,.18);
}

.numbers-details span,
.numbers-details em {
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  color: var(--color-text);
}

.numbers-details strong {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.25;
  color: var(--color-text);
}

.numbers-details strong small {
  margin-left: 3px;
  font-size: .48em;
}

.numbers-details .numbers-details__text {
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 19px;
}

.dws-numbers__note {
  margin-top: 22px;
  font-size: 13px;
  font-weight: 600;
}

.dws-bm__head .section-title {
  white-space: nowrap;
}

.bm-flow {
  grid-template-columns: 1fr 54px 1fr 54px 1.05fr;
  gap: 0;
  margin: 66px 0 36px;
}

.bm-step {
  position: relative;
  min-height: 318px;
  padding: 42px 30px 28px;
  border-radius: 14px;
}

.bm-step__tag {
  position: absolute;
  left: 50%;
  top: -26px;
  width: 52px;
  height: 52px;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  background: #fff;
  color: var(--color-text);
  transform: translateX(-50%);
}

.bm-step h3 {
  margin-bottom: 26px;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  color: var(--color-text);
}

.bm-list--simple {
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.bm-list--simple li {
  min-height: 92px;
  gap: 7px;
  padding: 10px 7px;
}

.bm-list--simple .ic {
  width: 32px;
  height: 32px;
}

.bm-list--simple .ic img {
  width: 25px;
  height: 25px;
}

.bm-list--simple b {
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.55;
}

.bm-list--simple li:nth-child(even) {
  border-left: 1px solid rgba(77,91,124,.15);
}

.bm-list--simple li:nth-child(n + 3) {
  border-top: 1px solid rgba(77,91,124,.15);
}

.bm-list .ic {
  background: transparent;
}

.bm-list:not(.bm-list--simple) {
  gap: 0;
}

.bm-list:not(.bm-list--simple) li {
  position: relative;
  min-height: 50px;
  align-items: center;
  padding: 10px 8px 10px 42px;
  border-bottom: 1px solid rgba(77,91,124,.13);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.bm-list:not(.bm-list--simple) li::before {
  content: "";
  position: absolute;
  left: 8px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
}

.bm-list:not(.bm-list--simple) li::after {
  content: "";
  position: absolute;
  left: 14px;
  width: 7px;
  height: 3px;
  border-left: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: translateY(-2px) rotate(-45deg);
}

.bm-step--reward {
  min-height: 318px;
  padding-top: 48px;
}

.bm-step--reward .bm-step__tag {
  background: #fff;
  color: var(--color-text);
}

.bm-step--reward h3 {
  color: #fff;
}

.bm-step--reward h3::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(0, 162, 154, 0.28);
}

.bm-reward__label {
  margin-top: 18px;
  font-size: 28px;
  font-weight: 800;
}

.bm-reward__big {
  margin-top: -2px;
  font-size: clamp(62px, 6vw, 88px);
}

.bm-arrow {
  position: relative;
  z-index: 2;
  width: 50px;
  height: 46px;
  margin: 0 0 0 -5px; /* 左側のカードに約5px重ねる */
  background: linear-gradient(90deg, rgba(47,142,235,0) 0%, rgba(47,142,235,.4) 42%, #1f6fe0 100%);
  clip-path: polygon(0 20%, 58% 20%, 58% 0, 100% 50%, 58% 100%, 58% 80%, 0 80%);
  filter: none;
}

.bm-summary {
  position: relative;
  top: 20px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
  color: var(--color-text);
}

.bm-summary strong {
  color: var(--color-primary);
}

.dws-ws__inner {
  grid-template-columns: minmax(540px, .95fr) minmax(560px, 1.05fr);
  gap: 70px;
}

.dws-ws__copy .section-display {
  margin-bottom: 28px;
  font-size: clamp(72px, 6.2vw, 90px);
  white-space: nowrap;
}

.dws-ws__copy .section-title {
  margin-bottom: 22px;
  font-size: clamp(28px, 2.5vw, 36px);
  white-space: nowrap;
}

.dws-ws__lead {
  max-width: 590px;
  margin-bottom: 34px;
  font-size: 16px;
  font-weight: 600;
  line-height: 2;
}

.ws-cards {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ws-card {
  min-height: 156px;
  display: grid;
  grid-template-columns: 82px 1fr;
  grid-template-rows: auto 1fr;
  align-items: center;
  padding: 24px;
  text-align: left;
  border-radius: 14px;
}

.ws-card img {
  grid-row: 1 / span 2;
  width: 66px;
  height: 66px;
  margin: 0 16px 0 0;
}

.ws-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.ws-card p {
  font-size: 13px;
  line-height: 1.7;
}

.ws-collage {
  min-height: 650px;
}

.ws-collage__main {
  width: 100%;
  height: 590px;
  border: 5px solid #fff;
  border-radius: 52px;
}

.ws-collage__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ws-collage__sub {
  right: 6%;
  bottom: calc(-2% - 15px);
  width: 68%;
  border-radius: 28px;
}

@media (max-width: 1000px) {
  .dws-hero {
    min-height: 0;
  }

  .dws-hero__inner,
  .dws-ws__inner {
    grid-template-columns: 1fr;
  }

  .dws-hero__visual {
    width: 100%;
    min-height: 620px;
    margin-top: 30px;
  }

  .numbers-primary {
    grid-template-columns: 1fr;
  }

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

  .numbers-details > div:nth-child(n) {
    border-left: 0;
    border-top: 1px solid rgba(77,91,124,.18);
  }

  .numbers-details > div:nth-child(odd) {
    border-right: 1px solid rgba(77,91,124,.18);
  }

  .bm-flow {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .bm-arrow {
    width: 38px;
    height: 54px;
    transform: rotate(90deg);
  }

  .dws-bm__head .section-title {
    white-space: normal;
  }

  .ws-collage {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .dws-hero__title {
    font-size: 34px;
  }

  .dws-hero__features {
    flex-direction: column;
    gap: 12px;
  }

  .dws-hero__visual {
    min-height: 560px;
  }

  .dws-hero__photo {
    inset: 20px 0 80px;
    border-radius: 30px;
  }

  .dws-hero__card {
    padding: 14px;
    transform: scale(.72);
  }

  .dws-hero__card--price { left: -42px; top: 8px; }
  .dws-hero__card--return { right: -46px; top: 148px; }
  .dws-hero__card--guarantee { right: -54px; bottom: 48px; }
  .dws-hero__card--remote { left: -28px; bottom: 2px; }

  .numbers-details,
  .ws-cards {
    grid-template-columns: 1fr;
  }

  .numbers-details > div:nth-child(n) {
    border-right: 0;
  }

  .ws-collage {
    min-height: 470px;
  }

  .ws-collage__main {
    height: 420px;
    border-radius: 30px;
  }
}

/* Final overrides: prevent counter reflow and preserve the shared background. */
.bg-stage__line { opacity: .58; }

.dws-hero,
.dws-section,
.dws-section--tint {
  background:
    radial-gradient(circle at 86% 10%, rgba(47,142,235,.07), transparent 29%),
    linear-gradient(145deg, rgba(255,255,255,.70), rgba(246,250,255,.58));
}

.stat-val,
.bm-reward__big,
.numbers-primary__card strong {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.js-count {
  display: inline-block;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.js-count[data-count="100"],
.js-count[data-count="120"],
.js-count[data-count="870"] { min-width: 3ch; }
.js-count[data-count="83"],
.js-count[data-count="30"] { min-width: 2ch; }
.js-count[data-count="1000"],
.js-count[data-count="1500"] { min-width: 5ch; }

.dws-hero__card {
  contain: layout;
  flex: none;
  grid-template-columns: 76px minmax(0, 1fr);
  column-gap: 8px;
}

.dws-hero__card img {
  width: 64px;
  height: 64px;
  padding: 13px;
}

.dws-hero__card .lbl {
  font-size: 17px;
  font-weight: 800;
}

.dws-hero__card .stat-val { font-size: 58px; }
.dws-hero__card--price { width: 320px; }
.dws-hero__card--return { width: 318px; }
.dws-hero__card--guarantee { width: 390px; }
.dws-hero__card--remote { width: 306px; }

.dws-hero__features img {
  width: 42px;
  height: 42px;
  padding: 8px;
}

.dws-hero__features li { font-size: 14px; }

.numbers-primary__card { contain: layout; }
.numbers-primary__card > span { font-size: 18px; }
.numbers-primary__card .stat-val {
  display: inline-flex;
  justify-content: center;
  align-items: baseline;
  min-width: 7.6ch;
}

.numbers-details span,
.numbers-details em { font-size: 15px; }
.numbers-details strong { font-size: 37px; }

.bm-list--simple .ic {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}

.bm-list--simple .ic img {
  width: 38px;
  height: 38px;
}

.bm-list--simple b { font-size: 14px; }
.bm-list:not(.bm-list--simple) li { font-size: 15px; }

.ws-card {
  grid-template-columns: 98px minmax(0, 1fr);
  min-height: 166px;
}

.ws-card img {
  width: 82px;
  height: 82px;
  margin-right: 16px;
}

.ws-card h3 { font-size: 18px; }
.ws-card p { font-size: 14px; }

@media (max-width: 640px) {
  .dws-hero__card {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .dws-hero__card img {
    width: 54px;
    height: 54px;
  }

  .numbers-primary__card .stat-val { min-width: 0; }

  .ws-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .ws-card img {
    width: 68px;
    height: 68px;
  }
}

/* ============================================================
   モック忠実化：セクション幅をモック同等に広げ、数字カードの
   横はみ出し（3枚目見切れ）を解消
============================================================ */
.dws-hero .container,
.dws-section .container { max-width: 1340px; }

/* Business Model / Work StyleもNumbersと同じコンテナ余白に統一 */
#business-model > .container,
#work-style > .container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

/* Numbers / Business Model / Work Styleの左右基準を完全に共通化 */
#numbers > .container,
#business-model > .container,
#work-style > .container {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--container);
  margin-right: auto;
  margin-left: auto;
  padding-right: clamp(20px, 5vw, 40px);
  padding-left: clamp(20px, 5vw, 40px);
}

#numbers {
  padding-top: 76px;
}

@media (min-width: 1001px) {
  #business-model .dws-bm__head,
  #business-model .bm-flow,
  #business-model .bm-summary,
  #work-style .dws-ws__inner,
  #work-style .dws-ws__copy,
  #work-style .ws-collage {
    min-width: 0;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }

  #business-model .bm-flow,
  #work-style .dws-ws__inner {
    width: 100%;
  }
}

/* numbers-primary：1fr が min-content に膨らんでコンテナ超過する不具合を解消 */
.numbers-primary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.numbers-primary__card .stat-val { white-space: nowrap; }

/* ============================================================
   追加調整：FV余白/写真/カード見切れ、Numbers数字はみ出し、BMチルダ
============================================================ */
/* FV：ヘッダーとの間の余白を詰める＋ヒーロー高さを圧縮 */
.dws-hero { min-height: 720px; padding-top: 78px; padding-bottom: 44px; }
/* FV写真：少し小さく */
.dws-hero__visual { min-height: 560px; }
/* FV右カード：見切れ防止でさらに内側へ寄せ＋小型化 */
.dws-hero__card--return { width: 286px; right: -30px; }
.dws-hero__card--guarantee { width: 350px; right: -32px; }
/* Numbers：大カードの数字がカード内に収まるよう微縮小（min-width:7.6ch対策） */
.numbers-primary__card .stat-val { font-size: clamp(54px, 5.3vw, 76px); }
/* Business Model：83〜90% の「〜」を小さく */
.bm-reward__big .tilde { font-size: 0.55em; }

/* ============================================================
   追加調整 v2：見出し線削除 / BM見出し余白 / Numbers数字 / FVカード刷新
============================================================ */
/* 日本語見出し(section-title)の下の線を削除（英字見出し側の線は残す） */
.dws-section .section-title::after { display: none; }

/* BMステップ見出しの下余白を50%に（26→13px） */
.bm-step h3 { margin-bottom: 13px; }

/* Numbers：数字を大きく＋字間を広げる（min-width:7.6ch を撤廃し自然幅で収める） */
.numbers-primary__card .stat-val {
  min-width: 0;
  font-size: clamp(60px, 6vw, 86px);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.numbers-primary__card .stat-val b {
  font-weight: 700;
}
.numbers-primary__card .stat-val .tilde { font-size: 0.55em; letter-spacing: 0; }

/* Numbers：大カードの見出しと数値の間隔を詰める */
.numbers-primary__card {
  gap: 14px;
}

/* FVカード：アイコンを小さく上部（ラベルと同列）／数字は下段／幅をコンパクトに */
.dws-hero__card {
  grid-template-columns: auto 1fr;
  grid-template-areas: "ic lbl" "val val";
  align-items: center;
  gap: 4px 10px;
  padding: 16px 22px;
}
.dws-hero__card img {
  grid-area: ic;
  grid-row: auto;
  width: 34px;
  height: 34px;
  padding: 7px;
}
.dws-hero__card .lbl { grid-area: lbl; align-self: center; }
.dws-hero__card .stat-val { grid-area: val; }
/* 各カード幅を短く整える＋右カードは見切れ防止 */
.dws-hero__card--price { width: 208px; }
.dws-hero__card--return { width: 242px; right: -22px; }
.dws-hero__card--guarantee { width: 304px; right: -24px; }
.dws-hero__card--remote { width: 230px; }

/* ============================================================
   仕上げ調整：FV右カード / Business Model / Work Style
============================================================ */
/* FV：数値を一行のまま収め、ヒーロー右端で見切れない横幅と位置にする */
.dws-hero__card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.99) 0%,
    rgba(247, 251, 255, 0.98) 55%,
    rgba(246, 243, 255, 0.96) 100%
  );
}

.dws-hero__card--return {
  width: 215px;
  right: -38px;
  padding-inline: 12px;
  padding-right: 0;
}

/* 人物を少し左へ寄せ、右側の還元率カードが顔に重ならない構図にする */
.dws-hero__photo img {
  object-position: 100% center;
}

/* 参考画像に合わせて、FVの数字を少し細くする */
.dws-hero__card .stat-val,
.dws-hero__card .stat-val b {
  font-weight: 700;
}

.dws-hero__card--return .stat-val {
  font-size: 52px;
  letter-spacing: -0.035em;
}

.dws-hero__card--return .tilde {
  display: inline-block;
  margin-inline: 0.03em;
  font-size: 0.48em;
  vertical-align: 0.14em;
  letter-spacing: 0;
}

/* カード内の文言を意図しない位置で改行させない */
.dws-hero__card .lbl,
.dws-hero__card .stat-val {
  white-space: nowrap;
}

/* 「基本給 100%保証」が右端で切れない幅を確保 */
.dws-hero__card--guarantee {
  width: 225px;
  right: -5px;
  padding-inline: 10px;
  padding-right: 0;
}

.dws-hero__card--guarantee .lbl {
  letter-spacing: 0.1em;
}

.dws-hero__card--guarantee .stat-val {
  gap: 2px;
  font-size: 42px;
}

.dws-hero__card--guarantee .stat-val small {
  font-size: 17px;
}

/* 「フルリモート / 常駐」を一行に保ち、選択可能のみ次の行へ */
.dws-hero__card--remote {
  width: 200px;
  left: 87px;
  padding-inline: 10px;
  padding-right: 0;
}

.dws-hero__card--remote .lbl {
  font-size: 12.5px;
  white-space: nowrap;
}

.dws-hero__card--remote .lbl strong {
  font-size: 17px;
}

.dws-hero__card--price {
  width: 180px;
  left: -52px;
  padding-inline: 14px;
  padding-right: 0;
}

/* 右側の写真＋カード群を右へ寄せ、メインコピーとの間隔を広げる */
@media (min-width: 1001px) {
  .dws-hero__visual {
    left: clamp(20px, 2vw, 28px);
  }
}

/* TOPページFVのプロポーションとタイポグラフィに揃える */
.dws-hero {
  min-height: 0;
  padding-top: clamp(78px, 8vh, 92px);
  padding-bottom: 0;
}

.dws-hero::before {
  content: "";
  position: absolute;
  inset: -28% -18%;
  z-index: 0;
  pointer-events: none;
  background: url("assets/furicone-orbit-circles-round-motion.svg") center / 191% auto no-repeat;
  opacity: 0.48;
  mix-blend-mode: multiply;
}

.dws-hero .container {
  max-width: 1340px;
  padding-inline: clamp(20px, 4vw, 40px);
}

.dws-hero__copy {
  padding-left: 0;
}

.dws-hero__title {
  margin-top: 14px;
  margin-bottom: clamp(16px, 1.7vw, 20px);
  font-size: clamp(40px, 3.6vw, 56px);
  font-weight: 800;
  line-height: 1.36;
  letter-spacing: 0.01em;
  color: #171C61;
}

.dws-hero__title-accent {
  display: inline-block;
  margin-right: 0.04em;
  font-size: 1.45em;
  line-height: 0.9;
}

.dws-hero__lead {
  max-width: 580px;
  margin-bottom: clamp(22px, 2vw, 28px);
  font-size: clamp(13.5px, 1.05vw, 15px);
  font-weight: 500;
  line-height: 1.9;
  color: #171C61;
}

.dws-hero__eyebrow {
  gap: 7px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.dws-hero__eyebrow::before {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 162, 154,0.2);
}

.dws-hero__actions .btn {
  min-width: 220px;
  min-height: 50px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.dws-hero__actions .btn--ghost-white {
  background: rgba(255,255,255,0.72);
  border-color: rgba(7,17,58,0.22);
  color: #171C61;
  box-shadow: 0 10px 30px rgba(47,74,125,0.08);
}

.dws-hero__actions .btn--ghost-white:hover {
  background: #fff;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.dws-hero__features {
  margin-top: 30px;
}

@media (min-width: 1001px) {
  .dws-hero {
    min-height: 680px;
  }

  .dws-hero .container {
    max-width: 1220px;
    padding-inline: 40px;
  }

  .dws-hero__inner {
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
    gap: clamp(0px, 0.5vw, 10px);
  }

  .dws-hero__copy {
    max-width: 720px;
  }

  .dws-hero__visual {
    left: 54px;
    min-height: 520px;
  }

  .dws-hero__photo {
    right: 0;
  }
}

/* Business Model：矢印を高くし、カード間を詰めてカード幅を広げる */
@media (min-width: 1001px) {
  .bm-flow {
    grid-template-columns: 1fr 40px 1fr 40px 1.05fr;
  }

  .bm-arrow {
    width: 42px;
    height: 60px;
    margin-left: -2px;
    margin-right: 0;
  }
}

/* Business Model：ラベルと主要数値の視認性を少し強める */
.bm-reward__label {
  font-size: 32px;
  letter-spacing: 0.14em;
}

.bm-reward__big {
  font-size: clamp(68px, 6.4vw, 94px);
  font-weight: 600;
}

.bm-reward__big b {
  font-weight: 600;
}

/* Work Style：カード見出し下の余白を20%削減（8px → 6.4px） */
.ws-card h3 {
  margin: 0 0 4px;
}

@media (max-width: 640px) {
  .dws-hero__card--return {
    width: 220px;
    right: -4px;
  }

  .dws-hero__card--guarantee {
    width: 230px;
    right: -5px;
  }

  .dws-hero__card--remote {
    width: 205px;
    left: -33px;
  }
}

/* ============================================================
   Smartphone final safeguards
============================================================ */
@media (max-width: 640px) {
  .dws-hero .container,
  #numbers > .container,
  #business-model > .container,
  #work-style > .container,
  .dws-cta > .container {
    padding-right: 24px;
    padding-left: 24px;
  }

  .dws-hero {
    padding-top: 92px;
  }

  .dws-hero__copy,
  .dws-hero__lead,
  .dws-bm__head,
  .dws-ws__copy {
    width: calc(100vw - 48px);
    min-width: 0;
    max-width: calc(100vw - 48px);
  }

  .dws-hero__inner {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .dws-hero__lead br,
  .bm-summary br {
    display: none;
  }

  .dws-hero__lead > span {
    display: block;
  }

  .dws-hero__lead,
  .dws-section .section-title,
  .dws-section .lead,
  .dws-ws__lead,
  .bm-summary,
  .ws-card p {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .dws-hero__title {
    font-size: clamp(32px, 9.4vw, 38px);
  }

  .dws-hero__title-accent {
    font-size: 1.28em;
  }

  .dws-hero__visual {
    width: calc(100vw - 48px);
    min-width: 0;
    max-width: calc(100vw - 48px);
    min-height: 0;
    overflow: visible;
    margin-right: auto;
    margin-left: auto;
  }

  .dws-hero__photo {
    position: relative;
    inset: auto;
    width: 100%;
    border-radius: 30px;
  }

  .dws-hero__photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .dws-hero__cards {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-top: 14px;
  }

  .dws-hero__card {
    position: static;
    width: 100%;
    transform: none;
    padding: 14px 16px;
  }

  .dws-hero__card--price {
    width: 100%;
    transform-origin: left top;
  }

  .dws-hero__card--return {
    width: 100%;
    transform-origin: right top;
  }

  .dws-hero__card--guarantee {
    width: 100%;
    transform-origin: right bottom;
  }

  .dws-hero__card--remote {
    width: 100%;
    transform-origin: left bottom;
  }

  .numbers-primary {
    grid-template-columns: 1fr;
  }

  .numbers-primary__card {
    min-height: 150px;
  }

  .numbers-primary__card .stat-val {
    font-size: clamp(58px, 19vw, 74px);
  }

  .dws-bm__head .section-title,
  .dws-ws__copy .section-title {
    white-space: normal;
  }

  .dws-section .section-display,
  .dws-ws__copy .section-display {
    max-width: 100%;
    font-size: clamp(48px, 15vw, 58px);
    white-space: normal;
  }

  .bm-reward__label {
    font-size: 24px;
  }

  .bm-reward__big {
    font-size: clamp(58px, 19vw, 74px);
  }

  .ws-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Final smartphone balance refinements
============================================================ */
@media (max-width: 640px) {
  /* FV cards: center icon, label and value */
  .dws-hero__card {
    grid-template-columns: auto auto;
    justify-content: center;
    justify-items: center;
    column-gap: 9px;
    padding: 14px 18px;
    text-align: center;
  }

  .dws-hero__card .lbl,
  .dws-hero__card .stat-val {
    justify-self: center;
    text-align: center;
  }

  .dws-hero__card .stat-val {
    justify-content: center;
  }

  .dws-hero__card--guarantee .stat-val {
    width: 100%;
    justify-content: center;
  }

  .dws-hero__card--remote .lbl {
    text-align: center;
  }

  /* Business Model arrows and reward card */
  .bm-flow {
    gap: 30px;
  }

  .bm-arrow {
    margin: 0 auto !important;
    transform: rotate(90deg);
    transform-origin: center;
  }

  .bm-step {
    min-height: 0;
  }

  .bm-step--reward {
    min-height: 250px;
    padding: 24px 18px;
  }

  .bm-step--reward .bm-step__tag {
    margin-bottom: 10px;
  }

  .bm-step--reward h3 {
    margin-bottom: 8px;
  }

  .bm-step--reward h3::after {
    margin-top: 8px;
  }

  .bm-reward__label {
    margin-top: 8px;
  }

  .bm-reward__big {
    margin-top: -4px;
  }
}

/* Final smartphone Numbers refinements */
@media (max-width: 640px) {
  .numbers-primary__card {
    min-height: 118px;
    gap: 6px;
    padding: 12px 16px;
  }

  .numbers-primary__card .stat-val {
    font-size: clamp(52px, 17vw, 66px);
  }

  .numbers-details {
    border-color: rgba(47, 142, 235, .08);
    background: rgba(255, 255, 255, .38);
    box-shadow: 0 10px 26px rgba(47, 74, 125, .04);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .numbers-details > div {
    min-height: 82px;
  }

  .numbers-details span,
  .numbers-details em {
    opacity: .72;
  }

  .numbers-details strong {
    opacity: .84;
  }
}

/* フッター前マージンを全ページで統一（PC 120px / SP 80px） */
.dws-cta { padding-bottom: clamp(80px, 10vw, 120px); }

/* Work Style photo collage: compact both images without losing faces. */
.ws-collage {
  min-height: 440px;
}

.ws-collage__main {
  height: 360px;
}

.ws-collage__sub {
  height: 190px;
}

.ws-collage__main img,
.ws-collage__sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ws-collage__main img {
  object-position: center 28%;
}

.ws-collage__sub img {
  object-position: center 34%;
}

@media (max-width: 640px) {
  .ws-collage {
    min-height: 270px;
  }

  .ws-collage__main {
    height: 220px;
  }

  .ws-collage__sub {
    height: 124px;
  }
}

/* Mobile hero metric cards: labels are truly centered while icons stay left. */
@media (max-width: 640px) {
  .dws-hero__card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "lbl" "val";
    justify-items: center;
    row-gap: 4px;
    text-align: center;
  }

  .dws-hero__card > img {
    position: absolute;
    left: 40px;
    top: 50%;
    z-index: 1;
    width: 34px;
    height: 34px;
    margin: 0;
    transform: translateY(-50%);
  }

  .dws-hero__card .lbl {
    grid-area: lbl;
    width: 100%;
    justify-self: stretch;
    text-align: center;
  }

  .dws-hero__card .stat-val {
    grid-area: val;
    justify-self: center;
  }

  .dws-hero__card--remote {
    grid-template-areas: "lbl";
  }

  .dws-hero__card--remote .lbl {
    align-self: center;
  }

  /* Neutralize the desktop floating-card offsets before stacking the four. */
  .dws-hero__cards {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .dws-hero__card,
  .dws-hero__card--price,
  .dws-hero__card--return,
  .dws-hero__card--guarantee,
  .dws-hero__card--remote {
    position: relative;
    inset: auto;
    width: 100% !important;
    margin: 0;
    transform: none !important;
  }

  /* Reserve room inside the clipped hero for the last card's drop shadow. */
  .dws-hero {
    padding-bottom: 48px;
  }
}

/* Match the homepage background SVG opacity. */
.bg-stage__line {
  opacity: .20;
}

@media (max-width: 680px) {
  .bg-stage__line {
    opacity: .10;
  }
}

/* ============================================================
   微修正（英語ラベル整理／BMカード縦積み／SP調整）
============================================================ */

/* 小さな英語ラベル(eyebrow)を非表示に */
.dws-hero__eyebrow,
.dws-section .eyebrow { display: none; }

/* Business Model 事業基盤カード：アイコンを上・名称を下の縦積みに */
.bm-list--simple li {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

/* SP専用の改行（自由だけど、で改行）。PCでは無効 */
.dws-sp-br { display: none; }

@media (max-width: 640px) {
  .dws-sp-br { display: inline; }

  /* FVヒーローのスタッツカードはSPでは非表示（下のNumbersセクションと重複するため）。
     写真(.dws-hero__photo)は残す。 */
  .dws-hero__cards { display: none; }

  /* ワークスタイルカード：下部の空きを圧縮 */
  .ws-card { min-height: 120px; }

  /* 見出しと本文の間を狭める */
  .dws-section .section-title { margin-bottom: 14px; }
  .dws-ws__lead { margin-top: 10px; }
  .dws-section .lead { margin-top: 10px; }
}

/* ============================================================
   KVボタン：トップページと体裁を統一（styles.css の統一指定に合わせる）
   ※ data-workstyle.css は styles.css より後に読み込まれるため、
     このファイル内の既存指定を打ち消して最後に揃える
============================================================ */
.dws-hero__actions .btn {
  min-width: 260px;
  min-height: 60px;
  padding: 12px 32px;
  font-size: 16px;
  line-height: 1.25;
  justify-content: center;
}

@media (max-width: 680px) {
  .dws-hero__actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .dws-hero__actions .btn {
    width: 100%;
    min-width: 0;
  }
}
