:root {
  --ink: #111;
  --muted: #687174;
  --line: #dfe3e3;
  --paper: #fff;
  --soft: #f6f7f7;
  --deep: #102025;
  --bluegray: #8ea2a3;
  --shadow: 0 20px 60px rgba(25, 34, 34, 0.12);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f2f3f3;
  letter-spacing: 0;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg, i[data-lucide] { width: 22px; height: 22px; stroke-width: 1.5; }

.site-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 34px auto;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.header {
  min-height: 78px;
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
}
.header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  color: #fff;
  background: transparent;
}
.brand {
  display: grid;
  gap: 7px;
  line-height: 1;
  min-width: 210px;
}
.brand strong { font-size: 14px; font-weight: 700; }
.brand span { font-size: 10px; color: currentColor; opacity: 0.72; }
.nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 10px;
  font-weight: 700;
}
.nav a { opacity: 0.84; }
.nav a:hover { opacity: 1; }
.nav-cta {
  padding: 16px 20px;
  background: #050505;
  color: #fff;
  opacity: 1 !important;
}
.header--overlay .nav-cta { background: rgba(0, 0, 0, 0.78); }
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: #111;
  align-items: center;
  justify-content: center;
}

.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
}
.hero__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}
.hero h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.55;
  font-weight: 800;
}
.hero p {
  margin: 28px 0 0;
  max-width: 520px;
  color: #3f4748;
  font-size: 14px;
  line-height: 2.2;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}
.button {
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--dark { background: #050505; color: #fff; }
.button--light { background: #fff; color: #111; }
.button--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.72); background: transparent; }
.button--compact { min-height: 38px; padding: 0 18px; }

.hero-a {
  grid-template-columns: 1fr 1.04fr;
  padding: 36px 0 0 86px;
}
.hero-a .hero__copy { padding-bottom: 40px; }
.hero-a .hero__media {
  height: 430px;
  margin: 0;
  align-self: end;
}
.hero-a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 50%;
}
.vertical-label {
  position: absolute;
  left: 0;
  top: 74px;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  font-size: 31px;
  font-weight: 800;
  line-height: 1;
  color: rgba(10, 25, 28, 0.05) !important;
  letter-spacing: 0.04em;
  z-index: 1;
  margin: 0 !important;
}

.hero-b {
  min-height: 560px;
  padding: 120px 80px 72px;
  color: #fff;
  overflow: hidden;
}
.hero-b > img, .hero-b__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-b > img { object-fit: cover; object-position: center; }
.hero-b__shade {
  background: linear-gradient(90deg, rgba(13, 24, 24, 0.78), rgba(13, 24, 24, 0.36) 46%, rgba(13, 24, 24, 0.1));
}
.hero-b p { color: rgba(255, 255, 255, 0.86); }

.hero-c {
  grid-template-columns: 1fr 1.1fr;
  min-height: 450px;
  padding: 50px 70px 20px 74px;
  overflow: hidden;
}
.chart-hero {
  position: relative;
  height: 320px;
  align-self: end;
}
.chart-hero svg {
  position: absolute;
  inset: 14px 0 0 auto;
  width: 88%;
  height: 72%;
  fill: none;
  stroke: rgba(84, 98, 103, 0.23);
}
.chart-hero polyline { stroke-width: 2; }
.chart-hero circle { fill: rgba(84, 98, 103, 0.26); stroke: none; }
.chart-bars {
  position: absolute;
  right: 20px;
  bottom: 0;
  height: 230px;
  width: 78%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 18px;
}
.chart-bars span {
  width: 32px;
  display: block;
  background: linear-gradient(180deg, rgba(176, 187, 188, 0.52), rgba(176, 187, 188, 0.05));
}
.chart-bars span:nth-child(1) { height: 18%; }
.chart-bars span:nth-child(2) { height: 42%; }
.chart-bars span:nth-child(3) { height: 58%; }
.chart-bars span:nth-child(4) { height: 36%; }
.chart-bars span:nth-child(5) { height: 66%; }
.chart-bars span:nth-child(6) { height: 52%; }
.chart-bars span:nth-child(7) { height: 44%; }

.section {
  padding: 54px 64px;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.section-heading h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1;
}
.section-heading span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-heading span::before {
  content: "";
  width: 32px;
  height: 1px;
  background: #8d9698;
  display: inline-block;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 72px;
}
.about-grid h3 {
  font-size: 26px;
  line-height: 1.55;
  margin: 0 0 26px;
}
.about-grid p {
  font-size: 13px;
  line-height: 2.15;
  color: #566164;
  font-weight: 600;
  margin-bottom: 28px;
}
.about-image {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.value-grid, .service-grid, .metric-grid, .case-photo-grid {
  display: grid;
  gap: 18px;
}
.value-grid { grid-template-columns: repeat(3, 1fr); }
.value-card {
  padding: 10px 24px 22px 0;
}
.value-card span {
  font-size: 16px;
  font-weight: 800;
}
.value-card h3, .service-card h3, .line-card h3 {
  margin: 16px 0 12px;
  font-size: 15px;
  line-height: 1.6;
}
.value-card p, .service-card p {
  margin: 0;
  color: #4d575a;
  font-size: 12px;
  line-height: 2;
  font-weight: 600;
}
.service-grid--a, .service-grid--c, .metric-grid, .case-photo-grid { grid-template-columns: repeat(4, 1fr); }
.service-card, .metric-card {
  min-height: 170px;
  padding: 24px;
  background: #f6f7f7;
  border: 1px solid #eef0f0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover, .metric-card:hover, .case-photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(30, 40, 42, 0.1);
}
.service-card > span {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: #555f62;
}
.service-card a {
  display: inline-block;
  margin-top: 20px;
  font-weight: 800;
}
.service-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.line-card {
  min-height: 160px;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}
.line-card:last-child { border-right: 0; }
.line-card a {
  margin-top: 20px;
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
}

.metric-card {
  background: #fff;
  border-color: #dfe3e3;
}
.metric-card span, .case-photo span {
  display: block;
  font-size: 13px;
  font-weight: 800;
}
.metric-card small, .case-photo small {
  display: block;
  margin-top: 12px;
  color: #586265;
  font-weight: 700;
}
.metric-card strong, .case-photo strong {
  display: block;
  margin-top: 7px;
  font-size: 32px;
  line-height: 1.1;
}
.metric-card em, .case-photo em {
  display: block;
  margin-top: 16px;
  color: #3f484b;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}
.metric-grid--icons .metric-card i { margin-bottom: 22px; }

.case-photo {
  border: 1px solid #dfe3e3;
  background: #fff;
  padding-bottom: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case-photo span, .case-photo small, .case-photo strong, .case-photo em { margin-left: 20px; margin-right: 20px; }
.case-img {
  height: 126px;
  margin-bottom: 18px;
  background-image: url("./assets/case-strip.png");
  background-size: 400% 100%;
  filter: grayscale(1);
}
.case-img--1 { background-position: 0% 50%; }
.case-img--2 { background-position: 33.333% 50%; }
.case-img--3 { background-position: 66.666% 50%; }
.case-img--4 { background-position: 100% 50%; }

.mini-value {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 34px 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mini-value article {
  min-height: 132px;
  padding: 12px 38px;
  border-right: 1px solid var(--line);
}
.mini-value article:last-child { border-right: 0; }
.mini-value h3 {
  margin: 20px 0 10px;
  font-size: 13px;
}
.mini-value p {
  margin: 0;
  color: #596568;
  font-size: 11px;
  line-height: 1.9;
  font-weight: 600;
}

.news-list {
  max-width: 820px;
  border-top: 1px solid var(--line);
  margin-bottom: 24px;
}
.news-list a {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}
.news-list time { color: #5b6669; }
.text-link {
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
}

.footer-cta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.footer-cta article {
  padding: 42px 64px;
  min-height: 214px;
}
.footer-cta article + article { border-left: 1px solid rgba(255, 255, 255, 0.16); }
.footer-cta h2 {
  font-size: 22px;
  margin: 14px 0 12px;
}
.footer-cta p {
  max-width: 420px;
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 2;
  font-weight: 600;
}
.footer-cta--light {
  background: #f0f2f2;
  color: #111;
}
.footer-cta--light article + article { border-color: #dce1e1; }
.footer-cta--dark {
  background: linear-gradient(90deg, #0e1d22, #172c31);
  color: #fff;
}
.footer-cta--blue {
  background: linear-gradient(90deg, #859fa0, #6f8c8e);
  color: #fff;
}
.footer-bottom {
  min-height: 92px;
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
}
.footer-bottom nav {
  display: flex;
  gap: 30px;
  font-size: 10px;
  font-weight: 800;
}
.footer-bottom small {
  color: #7b8587;
  font-size: 10px;
}

.selector-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}
.selector {
  width: min(980px, 100%);
}
.selector__eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #667174;
}
.selector h1 {
  font-size: 46px;
  line-height: 1.35;
  margin: 0;
}
.selector__lead {
  color: #526063;
  line-height: 1.9;
}
.selector__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}
.selector-card {
  min-height: 240px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 44px rgba(20, 30, 32, 0.08);
  transition: transform 0.2s ease;
}
.selector-card:hover { transform: translateY(-5px); }
.selector-card span { font-size: 13px; font-weight: 800; margin-bottom: 40px; }
.selector-card strong { font-size: 23px; margin-bottom: 12px; }
.selector-card small { color: #5f696c; line-height: 1.8; }
.selector-card--b { background: linear-gradient(135deg, #18282c, #516160); color: #fff; }
.selector-card--b small { color: rgba(255, 255, 255, 0.74); }
.selector-card--c { background: linear-gradient(135deg, #fff, #edf3f3); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-shell {
    width: 100%;
    margin: 0;
  }
  .header {
    min-height: 68px;
    padding: 0 20px;
  }
  .menu-button { display: inline-flex; }
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 22px;
    background: #fff;
    color: #111;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 10px; padding: 15px 18px !important; text-align: center; border-bottom: 0 !important; }
  .header--overlay {
    position: absolute;
  }
  .hero, .hero-a, .hero-c {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 96px 24px 36px;
  }
  .hero-a .hero__media {
    height: auto;
    aspect-ratio: 1.2 / 1;
    margin-top: 30px;
  }
  .hero h1 {
    font-size: 31px;
    line-height: 1.55;
  }
  .hero p {
    font-size: 13px;
    line-height: 2;
    max-width: 100%;
  }
  .hero__copy {
    width: 100%;
    max-width: 100%;
  }
  .button-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    max-width: calc(100vw - 48px);
  }
  .button {
    width: 100%;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  .hero-b {
    min-height: 620px;
    padding: 118px 24px 42px;
  }
  .chart-hero {
    height: 250px;
    margin-top: 30px;
  }
  .chart-bars { width: 92%; gap: 10px; }
  .chart-bars span { width: 22px; }
  .section {
    padding: 42px 24px;
  }
  .section-heading h2 { font-size: 24px; }
  .about-grid, .value-grid, .service-grid--a, .service-grid--c, .metric-grid, .case-photo-grid, .mini-value, .footer-cta, .selector__grid {
    grid-template-columns: 1fr;
  }
  .about-grid { gap: 34px; }
  .service-line { grid-template-columns: 1fr; }
  .line-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .line-card:last-child { border-bottom: 0; }
  .mini-value {
    padding: 20px 24px;
  }
  .mini-value article {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .mini-value article:last-child { border-bottom: 0; }
  .news-list a {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .footer-cta article {
    padding: 34px 24px;
  }
  .footer-cta article + article {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
  .footer-bottom {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom nav {
    flex-wrap: wrap;
    gap: 18px;
  }
  .selector h1 { font-size: 32px; }
}

/* ===== デザイン案スイッチャー（A/B/C 切り替え） ===== */
.site { padding-bottom: 104px; }

.variant-switch {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: rgba(16, 32, 37, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(16, 32, 37, 0.32);
}

.variant-switch__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  padding: 0 8px 0 10px;
}

.variant-switch a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 72px;
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  transition: background 0.2s ease, color 0.2s ease;
}

.variant-switch a small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
}

.variant-switch a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.variant-switch a.is-current {
  background: #fff;
  color: var(--deep);
}
.variant-switch a.is-current small { color: rgba(16, 32, 37, 0.6); }

.variant-switch__index {
  min-width: 0;
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

@media (max-width: 720px) {
  .site { padding-bottom: 92px; }
  .variant-switch {
    bottom: 12px;
    gap: 4px;
    padding: 6px;
    width: min(420px, calc(100% - 20px));
    justify-content: center;
  }
  .variant-switch__label { display: none; }
  .variant-switch a {
    min-width: 0;
    flex: 1;
    padding: 8px 6px;
    font-size: 12px;
  }
  .variant-switch a small { display: none; }
  .variant-switch__index { flex: 0 0 auto; padding: 8px 10px; }
}
