/* ==========================================================================
   00. Shared design tokens and utilities
   ========================================================================== */

.efg2026-hero,
.efg2026-problems,
.efg2026-work,
.efg2026-services {
  --efg-ink: #173640;
  --efg-text: #354f57;
  --efg-paper: #e5f1f6;
  --efg-surface: #ffffff;
  --efg-blue: #006d98;
  --efg-blue-light: #7fc6dc;
  --efg-blue-soft: #e7eff2;
  --efg-line: #c8d7dc;
  --efg-blue-vivid: #007db8;
  --efg-black: #141414;

  /* Layout widths */
  --efg-content-max: 1408px;
  --efg-reading-max: 1180px;
}

.efg2026-hero h1,
.efg2026-problems-heading h2,
.efg2026-services-heading h2 {
  color: #111111;
}

.efg2026-work-intro h2 {
  color: #ffffff;
}

.efg2026-hero *,
.efg2026-problems *,
.efg2026-work *,
.efg2026-services * {
  box-sizing: border-box;
}

/*
 * サイト全体の基本グリッド。
 * ヘッダーの1536pxより一回り小さい1408pxを最大幅とする。
 */
.efg2026-container {
  position: relative;
  z-index: 1;
  width: min(var(--efg-content-max), calc(100% - 48px));
  margin: 0 auto;
}

.efg2026-eyebrow {
  margin: 0 0 22px;
  color: var(--efg-blue);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

@media (max-width: 767px) {
  .efg2026-container {
    width: calc(100% - 40px);
  }
}

/* ==========================================================================
   01. Hero
   ========================================================================== */

.efg2026-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 650px;
  padding: clamp(88px, 12vw, 170px) 0 clamp(96px, 13vw, 180px);
  color: var(--efg-ink);
  background: var(--efg-paper);
  border-bottom: 1px solid var(--efg-line);
}

.efg2026-hero .efg2026-container {
  z-index: 2;
}

/* 背面の白いレイヤー：前面より左下へ16pxずらす */

.efg2026-hero::before {
  position: absolute;
  top: calc(24% + 16px);
  right: max(
    44px,
    calc((100% - var(--efg-content-max)) / 2 + 16px)
  );
  z-index: 0;
  width: min(43vw, 670px);
  aspect-ratio: 16 / 9;
  content: "";
  pointer-events: none;
  background: #ffffff;
  border: 1px solid var(--efg-ink);
}

/* 前面の画像・動画領域 */

.efg2026-hero::after {
  position: absolute;
  top: 24%;
  right: max(
    28px,
    calc((100% - var(--efg-content-max)) / 2)
  );
  z-index: 1;
  width: min(43vw, 670px);
  aspect-ratio: 16 / 9;
  content: "";
  pointer-events: none;
  border: 1px solid var(--efg-ink);
  background:
    linear-gradient(
      135deg,
      transparent 49.5%,
      var(--efg-blue) 50%,
      var(--efg-blue) 53%,
      transparent 53.5%
    ),
    var(--efg-blue-soft);
}

.efg2026-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #111111;
  font-family:
  "Hiragino Sans",
  "Yu Gothic",
  "YuGothic",
  "Noto Sans JP",
  Arial,
  sans-serif;
  font-size: clamp(2.75rem, 4.4vw, 4.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.efg2026-lead {
  max-width: 610px;
  margin: 32px 0 0;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.9;
}

.efg2026-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.efg2026-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--efg-ink);
  font-weight: 700;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.efg2026-button:hover,
.efg2026-button:focus,
.efg2026-button:active {
  text-decoration: none;
}

/* 初回のシステム整理相談 */

.efg2026-button--primary,
.efg2026-button--primary:visited {
  color: #ffffff;
  background: var(--efg-blue-vivid);
  border-color: var(--efg-blue-vivid);
}

.efg2026-button--primary:hover,
.efg2026-button--primary:focus-visible {
  color: #ffffff;
  background: var(--efg-black);
  border-color: var(--efg-black);
}

/* 対応領域を見る */

.efg2026-button--secondary,
.efg2026-button--secondary:visited {
  color: var(--efg-ink);
  background: transparent;
  border-color: var(--efg-ink);
}

.efg2026-button--secondary:hover,
.efg2026-button--secondary:focus-visible {
  color: #ffffff;
  background: var(--efg-black);
  border-color: var(--efg-black);
}

.efg2026-button:focus-visible {
  outline: 2px solid var(--efg-blue-vivid);
  outline-offset: 3px;
}

.efg2026-note {
  margin: 16px 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* タブレット */

@media (min-width: 768px) and (max-width: 1100px) {
  .efg2026-hero::before {
    top: calc(22% + 12px);
    right: 48px;
    width: min(36vw, 390px);
  }

  .efg2026-hero::after {
    top: 22%;
    right: 36px;
    width: min(36vw, 390px);
  }

  .efg2026-hero h1 {
    max-width: 620px;
  }

  .efg2026-lead {
    max-width: 570px;
  }
}

/* スマホ */

@media (max-width: 767px) {
  .efg2026-hero {
    min-height: auto;
    padding: 88px 0 104px;
  }

  .efg2026-hero::before {
    top: auto;
    right: -22px;
    bottom: -74px;
    width: 210px;
  }

  .efg2026-hero::after {
    top: auto;
    right: -38px;
    bottom: -58px;
    width: 210px;
  }

  .efg2026-hero h1 {
    max-width: none;
    font-size: clamp(2.35rem, 10vw, 3.1rem);
  }

  .efg2026-lead br {
    display: none;
  }

  .efg2026-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .efg2026-button {
    width: 100%;
  }
}

/* ==========================================================================
   02. Problems slider
   ========================================================================== */

.efg2026-problems {
  padding: clamp(88px, 10vw, 148px) 0;
  color: var(--efg-ink);
  background: var(--efg-paper);
  border-bottom: 1px solid var(--efg-line);
}

.efg2026-problems-heading {
  max-width: 760px;
  margin: 0 auto 68px;
  text-align: center;
}

.efg2026-problems-heading .efg2026-eyebrow {
  margin: 0 0 20px;
}

.efg2026-problems-heading h2 {
  margin: 0;
  font-family:
  "Hiragino Sans",
  "Yu Gothic",
  "YuGothic",
  "Noto Sans JP",
  Arial,
  sans-serif;
  font-size: clamp(2.1rem, 3.3vw, 3.4rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

/*
 * 課題スライダーは1408pxの外枠内で、
 * 読みやすさを優先して1120pxに絞る。
 */
.efg2026-problem-slider {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.efg2026-problem-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}

.efg2026-problem-slides {
  overflow: hidden;
  background: var(--efg-surface);
  border: 1px solid #b8cbd1;
  border-radius: 22px;
  box-shadow: 0 10px 0 #dce7ea;
}

.efg2026-problem-slide {
  display: none;
  grid-template-columns: minmax(290px, 0.75fr) minmax(0, 1.25fr);
  min-height: 470px;
  animation: efg2026-problem-fade 0.28s ease;
}

#efg-problem-1:checked
  ~ .efg2026-problem-slides
  .efg2026-problem-slide--1,
#efg-problem-2:checked
  ~ .efg2026-problem-slides
  .efg2026-problem-slide--2,
#efg-problem-3:checked
  ~ .efg2026-problem-slides
  .efg2026-problem-slide--3 {
  display: grid;
}

.efg2026-problem-visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: 48px;
  background: var(--efg-blue-soft);
  border-right: 1px solid var(--efg-line);
}

.efg2026-problem-label {
  margin: 0 auto auto 0;
  color: var(--efg-blue);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.efg2026-problem-number {
  margin: 28px 0 20px;
  color: var(--efg-blue);
  font-family: Georgia, serif;
  font-size: clamp(6.5rem, 11vw, 10rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.efg2026-problem-visual h3 {
  margin: 0;
  color: var(--efg-ink);
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.efg2026-problem-copy {
  position: relative;
  padding: 96px 58px 48px;
}

.efg2026-problem-copy p {
  margin: 0;
  color: var(--efg-text);
  font-size: 1rem;
  line-height: 1.95;
}

.efg2026-problem-copy p + p {
  margin-top: 22px;
}

.efg2026-problem-controls {
  position: absolute;
  top: 34px;
  right: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.efg2026-problem-controls label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--efg-ink);
  cursor: pointer;
  user-select: none;
  border: 1px solid #9eb6be;
  border-radius: 50%;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.efg2026-problem-controls label:hover {
  color: #ffffff;
  background: var(--efg-blue);
  border-color: var(--efg-blue);
}

.efg2026-problem-controls span {
  min-width: 48px;
  color: #607780;
  font-size: 0.78rem;
  text-align: center;
  letter-spacing: 0.08em;
}

.efg2026-problem-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.efg2026-problem-tabs label {
  min-width: 52px;
  padding: 10px 14px;
  color: #70868e;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  user-select: none;
  border-bottom: 2px solid #c3d2d7;
}

.efg2026-problem-tabs label:hover {
  color: var(--efg-blue);
}

#efg-problem-1:checked
  ~ .efg2026-problem-tabs
  label[for="efg-problem-1"],
#efg-problem-2:checked
  ~ .efg2026-problem-tabs
  label[for="efg-problem-2"],
#efg-problem-3:checked
  ~ .efg2026-problem-tabs
  label[for="efg-problem-3"] {
  color: var(--efg-blue);
  border-color: var(--efg-blue);
}

#efg-problem-1:focus-visible
  ~ .efg2026-problem-tabs
  label[for="efg-problem-1"],
#efg-problem-2:focus-visible
  ~ .efg2026-problem-tabs
  label[for="efg-problem-2"],
#efg-problem-3:focus-visible
  ~ .efg2026-problem-tabs
  label[for="efg-problem-3"] {
  outline: 2px solid var(--efg-blue);
  outline-offset: 3px;
}

@keyframes efg2026-problem-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .efg2026-problems {
    padding: 78px 0 88px;
  }

  .efg2026-problems-heading {
    margin-bottom: 44px;
  }

  .efg2026-problems-heading h2 {
    font-size: clamp(2rem, 8.5vw, 2.7rem);
  }

  .efg2026-problem-slide {
    grid-template-columns: 1fr;
  }

  #efg-problem-1:checked
    ~ .efg2026-problem-slides
    .efg2026-problem-slide--1,
  #efg-problem-2:checked
    ~ .efg2026-problem-slides
    .efg2026-problem-slide--2,
  #efg-problem-3:checked
    ~ .efg2026-problem-slides
    .efg2026-problem-slide--3 {
    display: block;
  }

  .efg2026-problem-visual {
    min-height: 300px;
    padding: 34px 28px;
    border-right: 0;
    border-bottom: 1px solid var(--efg-line);
  }

  .efg2026-problem-number {
    margin: 38px 0 18px;
    font-size: clamp(6rem, 34vw, 9rem);
  }

  .efg2026-problem-copy {
    padding: 88px 28px 38px;
  }

  .efg2026-problem-controls {
    top: 26px;
    right: 24px;
  }

  .efg2026-problem-copy p {
    font-size: 0.96rem;
    line-height: 1.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .efg2026-problem-slide {
    animation: none;
  }
}

/* ==========================================================================
   03. How EFG builds
   ========================================================================== */

.efg2026-method {
  --efg-ink: #173640;
  --efg-text: #354f57;
  --efg-paper: #e5f1f6;
  --efg-surface: #ffffff;
  --efg-blue: #006d98;
  --efg-blue-light: #7fc6dc;
  --efg-blue-soft: #e7eff2;
  --efg-line: #c8d7dc;
  --efg-blue-vivid: #007db8;
  --efg-black: #141414;

  padding: clamp(100px, 12vw, 176px) 0;
  color: var(--efg-ink);
  background: #f5f8f9;
  border-bottom: 1px solid var(--efg-line);
}

.efg2026-method *,
.efg2026-method *::before,
.efg2026-method *::after {
  box-sizing: border-box;
}

.efg2026-method-heading {
  max-width: 880px;
}

.efg2026-method-heading h2 {
  max-width: 760px;
  margin: 0;
  color: #111111;
  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    "Noto Sans JP",
    Arial,
    sans-serif;
  font-size: clamp(2.3rem, 4.3vw, 4.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.efg2026-method-heading > p:last-child {
  max-width: 760px;
  margin: 30px 0 0;
  color: var(--efg-text);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.95;
}

.efg2026-method-body {
  display: grid;
  grid-template-columns: minmax(280px, 4fr) minmax(0, 8fr);
  gap: clamp(52px, 7vw, 120px);
  margin-top: clamp(150px, 20vh, 260px);
}

.efg2026-method-steps {
  position: relative;
}

.efg2026-method-rail {
  position: absolute;
  top: calc(36vh - 8px);
  bottom: calc(36vh - 8px);
  left: 7px;
  width: 3px;
  overflow: hidden;
  background: #c5d0d4;
}

.efg2026-method-rail-progress {
  display: block;
  width: 100%;
  height: var(--efg-method-progress, 0%);
  background: var(--efg-blue-vivid);
  transition: height 0.55s ease;
}

.efg2026-method-step {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72vh;
  padding-left: 48px;
}

.efg2026-method-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  transform: translate(-40%, -50%);
  background: #c5d0d4;
  border: 4px solid #f5f8f9;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #c5d0d4;
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.efg2026-method-copy {
  max-width: 410px;
  opacity: 0.28;
  transform: translateX(-8px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.efg2026-method-step.is-active .efg2026-method-copy {
  opacity: 1;
  transform: translateX(0);
}

.efg2026-method-step.is-active .efg2026-method-dot {
  background: var(--efg-blue-vivid);
  box-shadow:
    0 0 0 4px #f5f8f9,
    0 0 0 9px rgba(0, 125, 184, 0.18);
  transform: translate(-40%, -50%) scale(1.12);
}

.efg2026-method-number {
  margin: 0 0 16px;
  color: var(--efg-blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.efg2026-method-copy h3 {
  margin: 0;
  color: #111111;
  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    "Noto Sans JP",
    Arial,
    sans-serif;
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.05em;
}

.efg2026-method-copy > p:last-child {
  margin: 26px 0 0;
  color: var(--efg-text);
  font-size: 1.02rem;
  line-height: 1.9;
}

.efg2026-method-stage {
  position: sticky;
  top: 12vh;
  align-self: start;
  height: 76vh;
  min-height: 530px;
}

.efg2026-method-stage-card {
  position: relative;
  width: 100%;
  height: min(100%, 720px);
  overflow: hidden;
  background: var(--efg-surface);
  border: 1px solid #d8e2e5;
  border-radius: 22px;
  box-shadow: 0 24px 42px rgba(23, 54, 64, 0.12);
}

.efg2026-method-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 56px);
  visibility: hidden;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0.4s ease;
}

.efg2026-method-panel.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.efg2026-method-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--efg-line);
}

.efg2026-method-panel-head span {
  color: var(--efg-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.efg2026-method-panel-head strong {
  color: #111111;
  font-size: 1rem;
  font-weight: 700;
}

.efg2026-method-panel-note {
  margin: auto 0 0;
  color: #627780;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* 01: 業務フロー */

.efg2026-flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  grid-template-rows: 1fr 1.2fr 1fr;
  gap: 22px;
  flex: 1;
  min-height: 290px;
  padding: 52px 8% 36px;
}

.efg2026-flow-node {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 12px;
  color: var(--efg-ink);
  background: #f5f8f9;
  border: 1px solid #bdd0d6;
  border-radius: 8px;
  font-size: clamp(0.78rem, 1.1vw, 0.95rem);
  font-weight: 700;
  text-align: center;
}

.efg2026-flow-node--customer {
  grid-column: 1;
  grid-row: 1;
}

.efg2026-flow-node--partner {
  grid-column: 3;
  grid-row: 1;
}

.efg2026-flow-node--core {
  grid-column: 2;
  grid-row: 2;
  color: #ffffff;
  background: var(--efg-blue);
  border-color: var(--efg-blue);
}

.efg2026-flow-node:nth-of-type(4) {
  grid-column: 1;
  grid-row: 3;
}

.efg2026-flow-node:nth-of-type(5) {
  grid-column: 3;
  grid-row: 3;
}

.efg2026-flow-line {
  position: absolute;
  z-index: 0;
  height: 1px;
  background: var(--efg-blue-light);
  transform-origin: left center;
}

.efg2026-flow-line--a {
  top: 34%;
  left: 29%;
  width: 28%;
  transform: rotate(28deg);
}

.efg2026-flow-line--b {
  top: 34%;
  right: 29%;
  width: 28%;
  transform: rotate(-28deg);
}

.efg2026-flow-line--c {
  bottom: 31%;
  left: 29%;
  width: 28%;
  transform: rotate(-28deg);
}

.efg2026-flow-line--d {
  right: 29%;
  bottom: 31%;
  width: 28%;
  transform: rotate(28deg);
}

/* 02: 要件整理 */

.efg2026-decisions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  flex: 1;
  align-items: center;
}

.efg2026-decision {
  min-height: 200px;
  padding: 24px 20px;
  background: #f5f8f9;
  border: 1px solid #d0dce0;
  border-top: 5px solid #97aab0;
}

.efg2026-decision--keep {
  border-top-color: var(--efg-blue);
}

.efg2026-decision--change {
  border-top-color: var(--efg-blue-vivid);
}

.efg2026-decision--later {
  border-top-color: #9eb1b7;
}

.efg2026-decision span {
  color: #698089;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.efg2026-decision h4 {
  margin: 34px 0 12px;
  color: #111111;
  font-size: 1.3rem;
}

.efg2026-decision p {
  margin: 0;
  color: var(--efg-text);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* 03: 設計 */

.efg2026-architecture {
  display: grid;
  gap: 18px;
  flex: 1;
  align-content: center;
  max-width: 680px;
  margin: 0 auto;
}

.efg2026-architecture-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.efg2026-architecture-row:last-of-type {
  grid-template-columns: repeat(3, 1fr);
}

.efg2026-architecture-row span,
.efg2026-architecture-data {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 12px;
  background: #f5f8f9;
  border: 1px solid #c9d9de;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

.efg2026-architecture-core {
  min-height: 82px;
  padding: 20px;
  color: #ffffff;
  background: var(--efg-blue);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

/* 04: 開発 */

.efg2026-build-board {
  display: grid;
  gap: 11px;
  flex: 1;
  align-content: center;
  max-width: 690px;
  margin: 0 auto;
}

.efg2026-build-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 14px 18px;
  background: #f5f8f9;
  border: 1px solid #d0dce0;
}

.efg2026-build-row span {
  color: #172d35;
  font-size: 0.92rem;
  font-weight: 700;
}

.efg2026-build-row b {
  padding: 5px 9px;
  color: var(--efg-blue);
  background: #dff0f6;
  border-radius: 999px;
  font-size: 0.73rem;
  white-space: nowrap;
}

.efg2026-build-row--done b {
  color: #ffffff;
  background: var(--efg-blue);
}

/* 05: 継続利用 */

.efg2026-continue {
  display: grid;
  gap: 36px;
  flex: 1;
  align-content: center;
  max-width: 680px;
  margin: 0 auto;
}

.efg2026-continue-loop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 120px;
  color: #ffffff;
  background: var(--efg-blue);
  border-radius: 10px;
}

.efg2026-continue-loop span {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 700;
}

.efg2026-continue-loop i {
  color: var(--efg-blue-light);
  font-style: normal;
  font-size: 1.3rem;
}

.efg2026-continue-assets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.efg2026-continue-assets span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 10px;
  background: #f5f8f9;
  border: 1px solid #c9d9de;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

/* 右下の現在位置 */

.efg2026-method-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
}

.efg2026-method-pagination > span {
  display: block;
  width: 20px;
  height: 2px;
  background: #b9c8cd;
  transition:
    width 0.35s ease,
    background-color 0.35s ease;
}

.efg2026-method-pagination > span.is-active {
  width: 38px;
  background: var(--efg-blue-vivid);
}

.efg2026-method-pagination small {
  margin-left: 8px;
  color: #71868e;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* タブレット・スマホ */

@media (max-width: 900px) {
  .efg2026-method-body {
    display: block;
    margin-top: 88px;
  }

  .efg2026-method-rail {
    display: none;
  }

  .efg2026-method-step {
    min-height: 0;
    padding: 0 0 52px;
  }

  .efg2026-method-dot {
    display: none;
  }

  .efg2026-method-copy,
  .efg2026-method-step.is-active .efg2026-method-copy {
    max-width: 680px;
    opacity: 1;
    transform: none;
  }

  .efg2026-method-stage {
    position: static;
    height: auto;
    min-height: 0;
  }

  .efg2026-method-stage-card {
    display: grid;
    height: auto;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .efg2026-method-panel,
  .efg2026-method-panel.is-active {
    position: relative;
    display: flex;
    min-height: 440px;
    margin-bottom: 20px;
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: #ffffff;
    border: 1px solid #d8e2e5;
    border-radius: 16px;
  }

  .efg2026-method-pagination {
    display: none;
  }
}

@media (max-width: 600px) {
  .efg2026-method {
    padding: 86px 0;
  }

  .efg2026-method-heading h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .efg2026-method-heading > p:last-child br {
    display: none;
  }

  .efg2026-method-copy h3 {
    font-size: 2rem;
  }

  .efg2026-method-panel {
    padding: 24px;
  }

  .efg2026-flow {
    gap: 12px;
    padding: 32px 0 24px;
  }

  .efg2026-flow-node {
    min-height: 54px;
    font-size: 0.7rem;
  }

  .efg2026-decisions,
  .efg2026-continue-assets {
    grid-template-columns: 1fr;
  }

  .efg2026-decision {
    min-height: 0;
  }

  .efg2026-decision h4 {
    margin-top: 18px;
  }

  .efg2026-architecture-row,
  .efg2026-architecture-row:last-of-type {
    grid-template-columns: 1fr;
  }

  .efg2026-continue-loop {
    flex-wrap: wrap;
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .efg2026-method *,
  .efg2026-method *::before,
  .efg2026-method *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   04. What we build
   ========================================================================== */

.efg2026-offerings {
  --efg-ink: #173640;
  --efg-text: #354f57;
  --efg-paper: #e5f1f6;
  --efg-surface: #ffffff;
  --efg-blue: #006d98;
  --efg-blue-light: #7fc6dc;
  --efg-blue-soft: #e7eff2;
  --efg-line: #c8d7dc;
  --efg-blue-vivid: #007db8;

  padding: clamp(100px, 12vw, 172px) 0;
  color: var(--efg-ink);
  background: var(--efg-paper);
  border-bottom: 1px solid var(--efg-line);
}

.efg2026-offerings *,
.efg2026-offerings *::before,
.efg2026-offerings *::after {
  box-sizing: border-box;
}

.efg2026-offerings > .efg2026-container {
  width: min(
    1408px,
    calc(100% - clamp(80px, 9vw, 176px))
  );
  margin-right: auto;
  margin-left: auto;
}

.efg2026-offerings-heading {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.efg2026-offerings-heading .efg2026-eyebrow {
  margin-bottom: 20px;
}

.efg2026-offerings-heading h2 {
  margin: 0;
  color: #111111;
  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    "Noto Sans JP",
    Arial,
    sans-serif;
  font-size: clamp(2.3rem, 4.2vw, 4.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.efg2026-offerings-heading > p:last-child {
  margin: 28px 0 0;
  color: var(--efg-text);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.9;
}

.efg2026-offerings-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(36px, 5vw, 96px);
  row-gap: clamp(110px, 13vw, 190px);
  margin-top: clamp(88px, 11vw, 154px);
}

.efg2026-offering {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.efg2026-offering--web {
  grid-column: 1 / 7;
}

.efg2026-offering--commerce {
  grid-column: 8 / 13;
  padding-top: clamp(48px, 7vw, 108px);
}

.efg2026-offering--ai {
  grid-column: 3 / 11;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: end;
}

.efg2026-offering-number {
  margin: 0 0 -4px;
  color: rgba(0, 109, 152, 0.34);
  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    "Noto Sans JP",
    Arial,
    sans-serif;
  font-size: clamp(5.4rem, 8vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.efg2026-offering h3 {
  margin: 0;
  color: #111111;
  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    "Noto Sans JP",
    Arial,
    sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.65rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.06em;
}

.efg2026-offering-list {
  display: grid;
  gap: 13px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.efg2026-offering-list li {
  position: relative;
  padding-left: 28px;
  color: var(--efg-text);
  font-size: clamp(0.93rem, 1.1vw, 1.03rem);
  line-height: 1.65;
}

.efg2026-offering-list li::before {
  position: absolute;
  top: 0.38em;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  color: #ffffff;
  background: var(--efg-blue-vivid);
  border-radius: 50%;
  content: "✓";
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1;
}

.efg2026-offering-visual {
  position: relative;
  margin-top: auto;
  color: var(--efg-blue);
}

/* 01: 業務フロー */

.efg2026-offering-visual--web {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.3vw, 18px);
  margin-top: clamp(64px, 8vw, 110px);
  padding: 18px 0;
}

.efg2026-offering-visual--web span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--efg-blue);
  border: 1px solid var(--efg-blue);
  border-radius: 999px;
  font-size: clamp(0.76rem, 1vw, 0.9rem);
  font-weight: 700;
  white-space: nowrap;
}

.efg2026-offering-visual--web i,
.efg2026-offering-visual--ai i {
  display: block;
  flex: 1;
  min-width: 20px;
  height: 1px;
  background: var(--efg-blue-light);
}

.efg2026-offering-visual--web i::after,
.efg2026-offering-visual--ai i::after {
  display: block;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  margin-left: auto;
  border-top: 1px solid var(--efg-blue-light);
  border-right: 1px solid var(--efg-blue-light);
  content: "";
  transform: rotate(45deg);
}

/* 02: EC販売システム */

.efg2026-offering-visual--commerce {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 220px;
  margin-top: clamp(64px, 8vw, 110px);
  padding: 18px 8%;
}

.efg2026-offering-visual--commerce::before,
.efg2026-offering-visual--commerce::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 1px;
  height: 74%;
  background: var(--efg-blue-light);
  content: "";
  transform: translate(-50%, -50%);
}

.efg2026-offering-visual--commerce::after {
  width: 74%;
  height: 1px;
}

.efg2026-commerce-label,
.efg2026-offering-visual--commerce strong {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 10px;
  color: var(--efg-blue);
  background: var(--efg-paper);
  border: 1px solid var(--efg-blue-light);
  border-radius: 6px;
  font-size: clamp(0.72rem, 0.9vw, 0.86rem);
  font-weight: 700;
  text-align: center;
}

.efg2026-offering-visual--commerce strong {
  grid-column: 2;
  grid-row: 1 / 3;
  color: #ffffff;
  background: var(--efg-blue);
  border-color: var(--efg-blue);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
}

.efg2026-commerce-label--b2c {
  grid-column: 1;
  grid-row: 1;
}

.efg2026-commerce-label--b2b {
  grid-column: 3;
  grid-row: 1;
}

.efg2026-commerce-label--payment {
  grid-column: 1;
  grid-row: 2;
}

.efg2026-commerce-label--stock {
  grid-column: 3;
  grid-row: 2;
}

/* 03: AI・DX活用支援 */

.efg2026-offering-visual--ai {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 22px);
  min-height: 140px;
  margin: 0 0 26px;
}

.efg2026-offering-visual--ai span,
.efg2026-offering-visual--ai strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  min-height: 60px;
  padding: 12px;
  color: var(--efg-blue);
  border: 1px solid var(--efg-blue-light);
  border-radius: 8px;
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  font-weight: 700;
  text-align: center;
}

.efg2026-offering-visual--ai strong {
  color: #ffffff;
  background: var(--efg-blue);
  border-color: var(--efg-blue);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
}

@media (max-width: 900px) {
  .efg2026-offerings-grid {
    grid-template-columns: 1fr;
    gap: 88px;
    margin-top: 80px;
  }

  .efg2026-offering--web,
  .efg2026-offering--commerce,
  .efg2026-offering--ai {
    grid-column: auto;
    display: flex;
    max-width: 680px;
    padding-top: 0;
  }

  .efg2026-offering--commerce {
    margin-left: auto;
  }

  .efg2026-offering--ai {
    margin-right: auto;
    margin-left: auto;
  }

  .efg2026-offering-visual--ai {
    margin-top: 64px;
  }
}

@media (max-width: 767px) {
  .efg2026-offerings > .efg2026-container {
    width: calc(100% - 40px);
  }

  .efg2026-offerings {
    padding: 86px 0;
  }

  .efg2026-offerings-heading {
    text-align: left;
  }

  .efg2026-offerings-heading h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .efg2026-offerings-heading > p:last-child br {
    display: none;
  }

  .efg2026-offering-number {
    font-size: clamp(5rem, 22vw, 7rem);
  }

  .efg2026-offering h3 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .efg2026-offering--commerce,
  .efg2026-offering--ai {
    margin-left: 0;
  }

  .efg2026-offering-visual--web,
  .efg2026-offering-visual--ai {
    gap: 8px;
  }

  .efg2026-offering-visual--web span,
  .efg2026-offering-visual--ai span,
  .efg2026-offering-visual--ai strong {
    min-width: 0;
    padding: 8px;
    font-size: 0.68rem;
  }

  .efg2026-offering-visual--commerce {
    min-height: 190px;
    padding: 10px 0;
  }
}

/* How EFG Builds: section-specific outer width */

.efg2026-method > .efg2026-container {
  width: min(
    var(--efg-content-max),
    calc(100% - clamp(80px, 9vw, 176px))
  );
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 767px) {
  .efg2026-method > .efg2026-container {
    width: calc(100% - 40px);
  }
}

/* How EFG Builds: fixed content width */

.efg2026-method > .efg2026-container {
  width: min(
    1408px,
    calc(100% - clamp(80px, 9vw, 176px))
  ) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (max-width: 767px) {
  .efg2026-method > .efg2026-container {
    width: calc(100% - 40px) !important;
  }
}

/* What We Build: title spacing and checklist accents */

.efg2026-offering-number {
  margin-bottom: clamp(12px, 1.4vw, 20px);
}

.efg2026-offering-mobile-break {
  display: none;
}

.efg2026-offering-list li::before {
  color: #111111;
  background: #56c4e9;
  border: 1px solid #111111;
  font-size: 0.68rem;
}

@media (max-width: 767px) {
  .efg2026-offering-mobile-break {
    display: inline;
  }
}

/* ==========================================================================
   06. Why EFG
   ========================================================================== */

.efg2026-principles {
  --efg-ink: #173640;
  --efg-text: #354f57;
  --efg-surface: #ffffff;
  --efg-blue: #006d98;
  --efg-line: #c8d7dc;

  padding: clamp(100px, 12vw, 176px) 0;
  color: var(--efg-ink);
  background: var(--efg-surface);
  border-bottom: 1px solid var(--efg-line);
}

.efg2026-principles *,
.efg2026-principles *::before,
.efg2026-principles *::after {
  box-sizing: border-box;
}

.efg2026-principles > .efg2026-container {
  width: min(
    1408px,
    calc(100% - clamp(80px, 9vw, 176px))
  );
  margin-right: auto;
  margin-left: auto;
}

.efg2026-principles-heading {
  max-width: 760px;
}

.efg2026-principles-heading .efg2026-eyebrow {
  margin-bottom: 20px;
}

.efg2026-principles-heading h2 {
  margin: 0;
  color: #111111;
  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    "Noto Sans JP",
    Arial,
    sans-serif;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.055em;
}

.efg2026-principles-heading > p:last-child {
  max-width: 690px;
  margin: 30px 0 0;
  color: var(--efg-text);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.95;
}

.efg2026-principles-list {
  width: min(100%, 1120px);
  margin: clamp(72px, 9vw, 128px) auto 0;
  border-top: 1px solid var(--efg-ink);
}

.efg2026-principle {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(42px, 7vw, 112px);
  padding: clamp(32px, 4vw, 54px) 0;
  border-bottom: 1px solid #b8cbd1;
}

.efg2026-principle h3 {
  margin: 0;
  color: #111111;
  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    "Noto Sans JP",
    Arial,
    sans-serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.efg2026-principle p {
  max-width: 610px;
  margin: 0;
  color: var(--efg-text);
  font-size: clamp(0.96rem, 1.1vw, 1.04rem);
  line-height: 1.9;
}

@media (max-width: 767px) {
  .efg2026-principles {
    padding: 86px 0;
  }

  .efg2026-principles > .efg2026-container {
    width: calc(100% - 40px);
  }

  .efg2026-principles-heading h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .efg2026-principles-heading > p:last-child br {
    display: none;
  }

  .efg2026-principles-list {
    margin-top: 68px;
  }

  .efg2026-principle {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 0;
  }

  .efg2026-principle h3 {
    font-size: 1.4rem;
  }
}

/* ==========================================================================
   07. Contact CTA
   ========================================================================== */

.efg2026-contact-cta {
  --efg-cta-ink: #ffffff;
  --efg-cta-muted: #c7e3ee;
  --efg-cta-blue: #006d98;
  --efg-cta-blue-deep: #242424;
  --efg-cta-line: rgba(255, 255, 255, 0.34);

  padding: clamp(88px, 10vw, 150px) 0;
  color: var(--efg-cta-ink);
  background: var(--efg-cta-blue-deep);
}

.efg2026-contact-cta *,
.efg2026-contact-cta *::before,
.efg2026-contact-cta *::after {
  box-sizing: border-box;
}

.efg2026-contact-cta > .efg2026-container {
  width: min(
    1408px,
    calc(100% - clamp(80px, 9vw, 176px))
  );
  margin-right: auto;
  margin-left: auto;
}

.efg2026-contact-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: clamp(56px, 10vw, 156px);
  align-items: start;
}

.efg2026-contact-cta .efg2026-eyebrow {
  color: #7ed3ef;
}

.efg2026-contact-cta-copy h2 {
  margin: 20px 0 0;
  color: #ffffff;
  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    "Noto Sans JP",
    Arial,
    sans-serif;
  font-size: clamp(2.35rem, 4vw, 4.15rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.055em;
}

.efg2026-contact-cta-copy > p:last-child {
  max-width: 650px;
  margin: 32px 0 0;
  color: var(--efg-cta-muted);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.95;
}

.efg2026-contact-cta-side {
  padding: clamp(30px, 3.5vw, 48px);
  color: #143640;
  background: #ffffff;
}

.efg2026-contact-cta-label {
  margin: 0;
  color: var(--efg-cta-blue);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.efg2026-contact-cta-side h3 {
  margin: 16px 0 0;
  color: #111111;
  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    "Noto Sans JP",
    Arial,
    sans-serif;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.efg2026-contact-cta-side > p:not(.efg2026-contact-cta-label) {
  margin: 18px 0 0;
  color: #38545e;
  font-size: 0.97rem;
  line-height: 1.85;
}

.efg2026-contact-cta-side ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.efg2026-contact-cta-side li {
  position: relative;
  padding-left: 16px;
  color: #173640;
  font-size: 0.88rem;
  font-weight: 700;
}

.efg2026-contact-cta-side li::before {
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: #56c4e9;
  border-radius: 50%;
  transform: translateY(-50%);
}

.efg2026-contact-cta-button,
.efg2026-contact-cta-button:visited {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 58px;
  padding: 0 20px 0 24px;
  color: #ffffff;
  background: #007db8;
  border: 1px solid #007db8;
  font-weight: 800;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.efg2026-contact-cta-button span {
  font-size: 1.35rem;
  line-height: 1;
}

.efg2026-contact-cta-button:hover,
.efg2026-contact-cta-button:focus-visible {
  color: #ffffff;
  background: #111111;
  border-color: #111111;
  text-decoration: none;
}

.efg2026-contact-cta-sub-link,
.efg2026-contact-cta-sub-link:visited {
  display: inline-block;
  margin-top: 22px;
  color: #38545e;
  border-bottom: 1px solid currentColor;
  font-size: 0.9rem;
  text-decoration: none;
}

.efg2026-contact-cta-sub-link:hover,
.efg2026-contact-cta-sub-link:focus-visible {
  color: #111111;
  text-decoration: none;
}

.efg2026-contact-cta-button:focus-visible,
.efg2026-contact-cta-sub-link:focus-visible {
  outline: 2px solid #56c4e9;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .efg2026-contact-cta {
    padding: 86px 0;
  }

  .efg2026-contact-cta > .efg2026-container {
    width: calc(100% - 40px);
  }

  .efg2026-contact-cta-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .efg2026-contact-cta-copy h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .efg2026-contact-cta-copy > p:last-child br {
    display: none;
  }

  .efg2026-contact-cta-side {
    padding: 30px 24px;
  }

  .efg2026-contact-cta-side ul {
    display: grid;
    gap: 10px;
  }
}