/* ==========================================================================
   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;
  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);
}

/*
 * 右側の仮ビジュアル。
 * rightを1408pxグリッドの右端から計算することで、
 * 横長モニターでも画面端へ流れないようにする。
 */
.efg2026-hero::after {
  position: absolute;
  top: 20%;
  right: max(
    24px,
    calc((100% - var(--efg-content-max)) / 2)
  );
  width: min(30vw, 520px);
  height: min(24vw, 380px);
  content: "";
  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);
  opacity: 0.9;
}

.efg2026-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #111111;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", 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::after {
    right: 24px;
    width: min(29vw, 300px);
    height: min(23vw, 240px);
  }

  .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::after {
    top: auto;
    right: -40px;
    bottom: -58px;
    width: 210px;
    height: 170px;
  }

  .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: Georgia, "Yu Mincho", "Hiragino Mincho ProN", 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. Selected work
   ========================================================================== */

.efg2026-work {
  padding: clamp(88px, 11vw, 160px) 0;
  color: #f5f8f9;
  background: var(--efg-ink);
}

/*
 * セクション背景は全幅、内容は1180px。
 * 1408pxの共通外枠の内側に余白をつくる。
 */
.efg2026-work-intro,
.efg2026-work-list {
  width: min(100%, var(--efg-reading-max));
  margin-right: auto;
  margin-left: auto;
}

.efg2026-work-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 72px;
}

.efg2026-work-intro .efg2026-eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 -28px;
  color: var(--efg-blue-light);
}

.efg2026-work-intro h2 {
  grid-column: 1;
  margin: 0;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.1rem, 3.3vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.efg2026-work-intro > p:last-child {
  max-width: 510px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
}

.efg2026-work-list {
  border-top: 1px solid rgba(245, 248, 249, 0.5);
}

.efg2026-work-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 32px 0 36px;
  border-bottom: 1px solid rgba(245, 248, 249, 0.5);
}

.efg2026-work-item > span {
  color: var(--efg-blue-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.efg2026-work-item h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.35;
}

.efg2026-work-item p {
  max-width: 700px;
  margin: 14px 0 0;
  color: rgba(245, 248, 249, 0.8);
  font-size: 0.98rem;
  line-height: 1.8;
}

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

  .efg2026-work-intro {
    display: block;
    margin-bottom: 48px;
  }

  .efg2026-work-intro .efg2026-eyebrow {
    margin: 0 0 18px;
  }

  .efg2026-work-intro h2 {
    margin-bottom: 24px;
    font-size: clamp(2rem, 8.5vw, 2.7rem);
  }

  .efg2026-work-item {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 0 30px;
  }
}

/* ==========================================================================
   04. Services
   ========================================================================== */

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

/*
 * サービス部分も外側は1408pxグリッド、
 * 実際の文章と一覧は1180pxに制限する。
 */
.efg2026-services-heading,
.efg2026-service-list {
  width: min(100%, var(--efg-reading-max));
  margin-right: auto;
  margin-left: auto;
}

.efg2026-services-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 72px;
}

.efg2026-services-heading .efg2026-eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 -28px;
}

.efg2026-services-heading h2 {
  grid-column: 1;
  margin: 0;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.1rem, 3.3vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.efg2026-services-heading > p:last-child {
  max-width: 510px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
}

.efg2026-service-list {
  border-top: 1px solid var(--efg-ink);
}

.efg2026-service-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 42px 0 46px;
  border-bottom: 1px solid var(--efg-ink);
}

.efg2026-service-item > span {
  color: var(--efg-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.efg2026-service-item h3 {
  margin: 0;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.85rem, 3vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.efg2026-service-item p {
  max-width: 690px;
  margin: 20px 0 0;
  font-size: 1rem;
  line-height: 1.9;
}

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

  .efg2026-services-heading {
    display: block;
    margin-bottom: 48px;
  }

  .efg2026-services-heading .efg2026-eyebrow {
    margin: 0 0 18px;
  }

  .efg2026-services-heading h2 {
    margin-bottom: 24px;
    font-size: clamp(2rem, 8.5vw, 2.7rem);
  }

  .efg2026-service-item {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 0 34px;
  }

  .efg2026-service-item h3 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
}
```