/* =============================================================
 * Two-Ahead Editorial Edition — Mock
 * Reference: mocks/Design.md
 * ============================================================= */

:root {
  --ink:        #0D1A22;
  --ink-soft:   #3A4A52;
  --ink-mute:   #8D8D8D;
  --paper:      #F8FCFF;
  --paper-card: #FFFFFF;
  --rule:       #D6DEE3;
  --rule-soft:  rgba(214, 222, 227, 0.5);
  --accent:     #D72C21;
  --accent-soft:#E44A4A;
  --accent-glow: rgba(215, 44, 33, 0.12);
  --focus-ring: rgba(215, 44, 33, 0.35);

  --font-serif-jp: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --font-sans-jp:  "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Sans", system-ui, sans-serif;
  --font-sans-en:  "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --container-narrow: 880px;
  --gutter-d: 32px;
  --gutter-m: 20px;
  --bar-height: 60px;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--bar-height);
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-sans-jp);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

button { font: inherit; }

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-ring);
  border-radius: 2px;
}

/* 本文へスキップリンク: 通常は画面外に隠し、キーボードフォーカス時のみ表示 */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans-jp);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  left: 8px;
  top: 8px;
}

.period { color: var(--accent); }

.coral-rule {
  display: inline-block;
  width: 36px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 14px;
}

.coral-rule--lg {
  width: 64px;
  height: 2px;
  margin: 0 0 32px;
}

/* ---------- Container ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter-d);
  position: relative;
}

@media (max-width: 768px) {
  .container { padding: 0 var(--gutter-m); }
}

/* ---------- Editorial bars ---------- */

.edit-bar {
  width: 100%;
  background: rgba(248, 252, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  z-index: 100;
}

.edit-bar--header { position: sticky; top: 0; }

/* ヘッダーは 3 カラム grid: 左ロゴ / 中央ナビ / 右余白 */
.edit-bar--header .edit-bar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.edit-bar--header .edit-bar__brand { justify-self: start; }
.edit-bar--header .edit-bar__nav   { justify-self: center; }

.edit-bar--footer {
  border-bottom: none;
  border-top: 1px solid var(--rule);
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: transparent;
  backdrop-filter: none;
  z-index: 1;
}

.edit-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter-d);
  height: var(--bar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.edit-bar__brand {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.edit-bar__logo {
  height: 36px;
  width: auto;
  display: block;
}

.edit-bar__nav {
  display: flex;
  gap: 22px;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.edit-bar__nav a {
  color: var(--ink-mute);
  position: relative;
  padding: 4px 0;
}

.edit-bar__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.edit-bar__nav a:hover { color: var(--ink); }
.edit-bar__nav a:hover::after { transform: scaleX(1); }

.edit-bar__page {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-mute);
  min-width: 70px;
  justify-content: flex-end;
  font-variant-numeric: tabular-nums;
}

.edit-bar__page #page-current {
  color: var(--ink);
  font-weight: 700;
  display: inline-block;
  min-width: 22px;
  text-align: right;
  transition: color 0.3s ease;
}

.edit-bar__url { color: var(--ink); }

@media (max-width: 920px) {
  .edit-bar__nav { display: none; }
}

/* ---------- Section base ---------- */

.section {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
  /* セクションの上 padding が大きい分、アンカー先で chapter-mark がヘッダー直下に来るよう調整 */
  scroll-margin-top: -100px;
}

.section--dotted {
  background-image: radial-gradient(rgba(58, 74, 82, 0.13) 1px, transparent 1px);
  background-size: 22px 22px;
  background-color: var(--paper);
}

@media (max-width: 768px) {
  .section { padding: 96px 0; }
}

/* ---------- Eyebrow / Chapter mark ---------- */

.eyebrow {
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 28px;
  display: inline-flex;
  align-items: center;
}

.eyebrow__jp {
  font-family: var(--font-sans-jp);
  letter-spacing: 0.08em;
  margin-left: 12px;
  font-weight: 500;
  text-transform: none;
}

.chapter-mark {
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 2;
}

.chapter-mark .chapter-no { color: var(--ink); }
.chapter-mark .chapter-sep {
  color: var(--accent);
  margin: 0 10px;
  font-size: 14px;
  font-weight: 700;
}
.chapter-mark .chapter-name { color: var(--ink); }
.chapter-mark .chapter-name-jp {
  font-family: var(--font-sans-jp);
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-left: 14px;
  text-transform: none;
  color: var(--ink-mute);
}

.chapter-mark--dark .chapter-no,
.chapter-mark--dark .chapter-name { color: rgba(255, 255, 255, 0.92); }
.chapter-mark--dark .chapter-name-jp { color: rgba(255, 255, 255, 0.55); }

/* ---------- Display title (各章共通の主役見出し) ---------- */

.chapter-display {
  font-family: var(--font-serif-jp);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 96px;
  max-width: 980px;
  position: relative;
  z-index: 2;
}

.chapter-display--narrow {
  max-width: 720px;
  margin-bottom: 32px;
}

.chapter-display__sub {
  display: block;
  font-family: var(--font-sans-jp);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0;
  margin-top: 18px;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans-jp);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 3px 3px 0 0 var(--accent);
  color: var(--paper);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

.btn-coral {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-coral:hover {
  background: #b91d14;
  border-color: #b91d14;
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding: 14px 0;
  position: relative;
}

.btn-ghost::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn-ghost:hover { color: var(--accent); }
.btn-ghost:hover::after { transform: scaleX(1); background: var(--accent); }

/* ============================================================
 * Hero — page 01/09 (そのまま維持)
 * ============================================================ */

.section--hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(58, 74, 82, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(80px, 12vh, 140px) clamp(32px, 8vw, 96px) clamp(120px, 16vh, 180px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__title {
  font-family: var(--font-serif-jp);
  font-weight: 600;
  font-size: clamp(56px, 11vw, 168px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 56px;
  display: flex;
  flex-direction: column;
}

.hero__line {
  display: block;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroLineIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero__line:nth-child(1) { animation-delay: 0.15s; }
.hero__line:nth-child(2) { animation-delay: 0.4s; }

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

.hero__lead {
  font-family: var(--font-sans-jp);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 500;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 48px;
  opacity: 0;
  animation: heroLineIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.65s forwards;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroLineIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.85s forwards;
}

.hero__meta {
  margin-top: clamp(56px, 10vh, 96px);
  display: flex;
  gap: 28px;
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-transform: uppercase;
  opacity: 0;
  animation: heroLineIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 1.05s forwards;
}

@media (max-width: 768px) {
  .hero__inner { padding: 80px 20px 96px; }
  .hero__title { margin-bottom: 36px; }
  .hero__meta { flex-direction: column; gap: 6px; margin-top: 48px; }
  .hero__cta .btn { flex: 1 1 auto; }
}

/* ============================================================
 * 01 · MISSION
 * 巨大ウォーターマーク + 大胆な改行のミッション文 + 右下にリード
 * ============================================================ */

.section--mission {
  padding: clamp(140px, 18vh, 220px) 0;
  display: flex;
  align-items: center;
}

.mission__inner {
  position: relative;
  z-index: 2;
  min-height: 60vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 80px;
}

.mission__title {
  font-family: var(--font-serif-jp);
  font-weight: 600;
  font-size: clamp(36px, 6.4vw, 86px);
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
  max-width: none;
  position: relative;
  z-index: 2;
}

.mission__footer {
  margin: clamp(48px, 6vh, 72px) 0 0 auto;
  max-width: 480px;
  text-align: left;
  position: relative;
  z-index: 2;
}

.mission__note {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 2;
  margin: 0;
}

.mission__note + .mission__note {
  margin-top: 1.4em;
}

@media (max-width: 768px) {
  .mission__title { font-size: clamp(32px, 9vw, 52px); }
  .mission__footer { margin: 40px 0 0; }
}

/* ============================================================
 * 02 · PROFILE
 * 左に大きな写真モック / 右に明朝の見出し + 名前
 * 下に横並びタイムライン
 * ============================================================ */

.section--about { padding: 160px 0 180px; }

.about-hero {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 80px;
  margin-bottom: 120px;
  align-items: start;
}

.about-hero__photo {
  position: relative;
}

.about-hero__photo-mask {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #e8eef3 0%, #d6dee3 100%);
  position: relative;
  overflow: hidden;
}

.about-hero__photo-mask::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 35%, rgba(13, 26, 34, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 65% 60%, rgba(215, 44, 33, 0.08) 0%, transparent 50%);
}

.about-hero__photo-mask::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13, 26, 34, 0.1) 1px, transparent 1px);
  background-size: 8px 8px;
  mix-blend-mode: multiply;
  opacity: 0.4;
}

.about-hero__initials {
  position: absolute;
  bottom: 32px;
  left: 32px;
  font-family: var(--font-serif-jp);
  font-size: 80px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.05em;
  line-height: 1;
  z-index: 1;
}

.about-hero__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 3;
  filter: grayscale(0.15) contrast(1.02);
}

/* 写真が入っている時は、装飾レイヤーを消す */
.about-hero__photo-mask:has(.about-hero__photo-img)::before,
.about-hero__photo-mask:has(.about-hero__photo-img)::after {
  display: none;
}

.about-hero__badge {
  position: absolute;
  top: 24px;
  right: -16px;
  background: var(--accent);
  color: #fff;
  padding: 14px 18px;
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.about-hero__badge span:last-child {
  font-family: var(--font-sans-jp);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.about-hero__text {
  padding-top: 12px;
  position: relative;
}

.about-hero__quote-mark {
  font-family: var(--font-serif-jp);
  font-size: clamp(80px, 10vw, 140px);
  font-weight: 700;
  color: var(--accent);
  line-height: 0.8;
  margin: 0 0 -16px;
  letter-spacing: -0.05em;
  opacity: 0.85;
}

.about-hero__message {
  font-family: var(--font-serif-jp);
  font-weight: 500;
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.95;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 40px;
}

.about-hero__signature {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.about-hero__name-en {
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 0;
  text-transform: uppercase;
}

.about-hero__name-jp {
  font-family: var(--font-serif-jp);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0;
}

.about-hero__role {
  font-family: var(--font-sans-jp);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-left: 8px;
}

/* ----- Company info table ----- */

.company-info {
  margin: 96px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.company-info__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s ease, padding-left 0.3s ease;
}

.company-info__row:last-child { border-bottom: none; }

.company-info__row:hover {
  background: rgba(13, 26, 34, 0.02);
  padding-left: 12px;
}

.company-info__row dt {
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 4px;
}

.company-info__row dd {
  margin: 0;
  font-family: var(--font-serif-jp);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.85;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .company-info { margin-top: 64px; }
  .company-info__row { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .company-info__row:hover { padding-left: 0; }
}

@media (max-width: 920px) {
  .about-hero { grid-template-columns: 1fr; gap: 48px; }
  .about-hero__photo { max-width: 320px; }
  .about-hero__badge { right: 0; }
}

/* ----- horizontal track ----- */

.profile-track {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow-x: auto;
  scrollbar-width: thin;
}

.track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  min-width: 100%;
}

.track__item {
  position: relative;
  padding: 36px 28px 36px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.25s ease;
}

.track__item:last-child { border-right: none; }

.track__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--rule);
}

.track__item--current::before {
  background: var(--accent);
  height: 3px;
}

.track__item:hover { background: rgba(255, 255, 255, 0.55); }

.track__year {
  font-family: var(--font-sans-en);
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.track__tag {
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 4px 0 16px;
}

.track__title {
  font-family: var(--font-serif-jp);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.track__desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0;
}

@media (max-width: 920px) {
  .track { grid-template-columns: repeat(4, 280px); }
}

/* ============================================================
 * 03 · BUSINESS
 * 3事業を縦に積む横長行レイアウト
 * ============================================================ */

.section--business { padding: 180px 0; }

.biz-stack {
  border-top: 1px solid var(--ink);
}

.biz-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background 0.3s ease, padding-left 0.3s ease;
}

.biz-row::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.biz-row:hover {
  padding-left: 24px;
}

.biz-row:hover::before { transform: scaleX(1); }

.biz-row__no {
  font-family: var(--font-serif-jp);
  font-size: clamp(56px, 6vw, 96px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.biz-row__body { max-width: 640px; }

.biz-row__en {
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 0 0 8px;
  text-transform: uppercase;
}

.biz-row__title {
  font-family: var(--font-serif-jp);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.biz-row__desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.9;
  margin: 0 0 18px;
}

.biz-row__tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.biz-row__tags li {
  font-family: var(--font-sans-jp);
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  border-radius: 2px;
}

.biz-row__kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid var(--rule);
  padding-left: 32px;
}

.biz-row__kpi-num {
  font-family: var(--font-serif-jp);
  font-size: 44px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1;
}

.biz-row__kpi-num small {
  font-family: var(--font-sans-jp);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-left: 6px;
}

.biz-row__kpi-label {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

@media (max-width: 1024px) {
  .biz-row { grid-template-columns: 64px 1fr; gap: 24px; padding: 44px 0; }
  .biz-row:hover { padding-left: 12px; }
}

@media (max-width: 768px) {
  .biz-row {
    grid-template-columns: auto 1fr;
    gap: 16px 20px;
    padding: 36px 0;
  }
  .biz-row__no { grid-row: 1 / 2; }
  .biz-row__body { grid-column: 1 / -1; grid-row: 2 / 3; }
  .biz-row:hover { padding-left: 0; }
}

/* ============================================================
 * 04/05 · WORKS — KPI巨大 + 非対称ケース
 * ============================================================ */

.section--works { padding: 160px 0; }

.works-head {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: 64px;
  align-items: end;
  margin-bottom: 88px;
}

.works-head__note {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.95;
  margin: 0;
  padding-bottom: 12px;
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}

@media (max-width: 920px) {
  .works-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ----- Big KPI row ----- */

.bigkpi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-bottom: 96px;
}

.bigkpi__cell {
  padding: 56px 24px 32px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.bigkpi__cell:last-child { border-right: none; }

.bigkpi__cell::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.bigkpi__num {
  font-family: var(--font-serif-jp);
  font-size: clamp(48px, 6.5vw, 96px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.bigkpi__num small {
  font-family: var(--font-sans-jp);
  font-size: 0.32em;
  font-weight: 500;
  color: var(--ink-mute);
  margin-left: 6px;
  letter-spacing: 0;
}

.bigkpi__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin-top: auto;
}

@media (max-width: 920px) {
  .bigkpi { grid-template-columns: 1fr 1fr; }
  .bigkpi__cell:nth-child(2) { border-right: none; }
  .bigkpi__cell:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}

@media (max-width: 560px) {
  .bigkpi { grid-template-columns: 1fr; }
  .bigkpi__cell { border-right: none; border-bottom: 1px solid var(--rule); padding: 36px 20px 24px; }
  .bigkpi__cell:last-child { border-bottom: none; }
}

/* ----- Cases: asymmetric ----- */

.cases {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

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

/* 3列同サイズ（同列表示） */
.cases--even {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 920px) {
  .cases--even { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .cases--even { grid-template-columns: 1fr; }
}

.cases__sub {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}

.case {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  padding: 40px;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.case:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.case--lead { padding: 56px 48px; display: flex; flex-direction: column; }

.case--sub { padding: 32px 32px 28px; }

.case__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

.case__no {
  color: var(--accent);
  font-weight: 700;
  padding: 4px 10px;
  background: var(--accent-glow);
}

.case__sep { color: var(--accent); }
.case__industry { font-family: var(--font-sans-jp); letter-spacing: 0.08em; color: var(--ink-soft); }

.case__title {
  font-family: var(--font-serif-jp);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 0 0 20px;
}

.case--lead .case__title { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 28px; }
.case--sub .case__title { font-size: clamp(18px, 1.6vw, 22px); }

.case__desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.95;
  margin: 0 0 28px;
}

.case--lead .case__desc { font-size: 15px; margin-bottom: auto; }

.case__result {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.case__result-num {
  font-family: var(--font-serif-jp);
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.case__result-num small {
  font-family: var(--font-sans-jp);
  font-size: 0.4em;
  font-weight: 500;
  color: var(--ink-mute);
  margin-left: 4px;
}

.case__result-label {
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}

.case__result-line {
  font-family: var(--font-sans-jp);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  line-height: 1.7;
}

.case__arrow {
  color: var(--accent);
  font-weight: 700;
  margin-right: 6px;
}

@media (max-width: 920px) {
  .cases, .cases--flip { grid-template-columns: 1fr; }
  .cases__sub { grid-template-rows: auto auto; }
  .case--lead { padding: 36px 28px; }
}

/* ----- misc cases ----- */

.case-misc {
  list-style: none;
  margin: 0;
  padding: 32px 0 0;
  border-top: 1px dashed var(--rule);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-misc li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-size: 14px;
  color: var(--ink-soft);
}

.case-misc__industry {
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  min-width: 140px;
  font-family: var(--font-sans-jp);
  letter-spacing: 0.06em;
}

.case-misc__title {
  font-family: var(--font-serif-jp);
  font-size: 15px;
  color: var(--ink);
}

@media (max-width: 768px) {
  .case-misc { grid-template-columns: 1fr; }
  .case-misc li { flex-direction: column; gap: 4px; }
}

/* ============================================================
 * 06 · STRENGTHS & PROCESS
 * ============================================================ */

.section--process { padding: 180px 0; }

.strength-list {
  list-style: none;
  margin: 0 0 140px;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.strength-line {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  position: relative;
}

.strength-list .strength-line:first-child { border-top: 1px solid var(--ink); }
.strength-list .strength-line:last-child { border-bottom: 1px solid var(--ink); }

.strength-line__num {
  font-family: var(--font-sans-en);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}

.strength-line__label {
  font-family: var(--font-serif-jp);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.strength-line__sub {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0;
  letter-spacing: 0.04em;
}

.strength-line__value {
  font-family: var(--font-serif-jp);
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}

.strength-line__value small {
  font-family: var(--font-sans-jp);
  font-size: 0.28em;
  font-weight: 500;
  color: var(--ink-mute);
  margin-left: 8px;
}

@media (max-width: 768px) {
  .strength-line { grid-template-columns: auto 1fr; gap: 16px; padding: 28px 0; }
  .strength-line__value { grid-column: 1 / -1; text-align: right; margin-top: 8px; }
}

/* ----- 4 step stepper ----- */

.process-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  padding-top: 64px;
}

.stepper__rail {
  position: absolute;
  /* 番号 (stepper__no) の中央線に合わせる */
  top: 72px;
  /* 各 cell の中央 (12.5% / 87.5%) を結ぶ */
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
  z-index: 1;
}

/* セクションが viewport に入った時に左から右へ伸びる */
.approach-process.is-visible .stepper__rail,
.process-stepper.is-visible .stepper__rail {
  transform: scaleX(1);
}

@keyframes railFlow {
  to { background-position: 100% 0; }
}

.stepper__step {
  position: relative;
  padding: 32px 12px 0;
  text-align: center;
  z-index: 2;
}

.stepper__step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
  z-index: 3;
}

.section--process.section--dotted .stepper__step::before { background: var(--paper); }

.stepper__step--last::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(215, 44, 33, 0.12);
}

.stepper__no {
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  display: block;
  margin: 0 0 8px;
}

.stepper__duration {
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mute);
  display: block;
  margin: 0 0 24px;
  letter-spacing: 0.04em;
}

.stepper__title {
  font-family: var(--font-serif-jp);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.stepper__desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.95;
  margin: 0 auto;
  max-width: 240px;
  text-align: center;
}

@media (max-width: 920px) {
  .process-stepper { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
  .stepper__rail { display: none; }
  .stepper__step::before { top: 0; }
  .stepper__step { padding: 36px 0 0; }
}

@media (max-width: 560px) {
  .process-stepper { grid-template-columns: 1fr; }
}

/* ============================================================
 * 07 · TECH STACK — marquee + flat table
 * ============================================================ */

.section--tech { padding: 160px 0; }
.section--tech .chapter-display { margin-bottom: 56px; }

/* ----- Marquee ----- */

.marquee {
  margin: 32px 0 80px;
  padding: 32px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
  background: var(--paper);
  position: relative;
  z-index: 1;
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  font-family: var(--font-serif-jp);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  animation: marquee 48s linear infinite;
  padding-right: 36px;
}

.marquee__dot {
  color: var(--accent);
  font-weight: 700;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee:hover .marquee__track { animation-play-state: paused; }

/* ----- Tech table ----- */

.tech-table {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.tech-table__row {
  display: grid;
  grid-template-columns: 64px minmax(180px, 220px) 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s ease, padding-left 0.3s ease;
  position: relative;
}

.tech-table__row:hover {
  background: rgba(13, 26, 34, 0.02);
  padding-left: 16px;
}

.tech-table__no {
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.tech-table__head h4 {
  font-family: var(--font-serif-jp);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.tech-table__head p {
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
}

.tech-table__items {
  font-family: var(--font-sans-en);
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  line-height: 1.85;
  margin: 0;
}

@media (max-width: 920px) {
  .tech-table__row { grid-template-columns: 48px 1fr; padding: 28px 0; }
  .tech-table__row:hover { padding-left: 8px; }
  .tech-table__items { grid-column: 1 / -1; padding-top: 8px; font-size: 13px; }
}

/* ============================================================
 * 08 · CONTACT — Dark
 * ============================================================ */

.section--contact {
  background: var(--ink);
  color: var(--paper);
  padding: 200px 0 160px;
}

.contact__inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.section--contact .chapter-mark { justify-content: center; margin-bottom: 64px; }
.section--contact .chapter-mark .chapter-sep { color: var(--accent); }

.contact__title {
  font-family: var(--font-serif-jp);
  font-weight: 600;
  font-size: clamp(72px, 14vw, 200px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--paper);
  margin: 0 0 48px;
}

.contact__lead {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(248, 252, 255, 0.7);
  line-height: 2;
  margin: 0 0 80px;
}

.contact-stat {
  max-width: 720px;
  margin: 0 auto 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-stat__row {
  display: grid;
  grid-template-columns: 100px 1fr 40px;
  gap: 24px;
  align-items: center;
  padding: 22px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--paper);
  text-align: left;
  transition: background 0.3s ease, padding-left 0.3s ease;
}

.contact-stat__row:hover {
  background: rgba(255, 255, 255, 0.04);
  padding-left: 20px;
  color: var(--paper);
}

.contact-stat__label {
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.55);
}

.contact-stat__value {
  font-family: var(--font-serif-jp);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 500;
  color: var(--paper);
  letter-spacing: 0.02em;
}

.contact-stat__arrow {
  font-family: var(--font-sans-en);
  font-size: 18px;
  color: var(--accent);
  font-weight: 600;
  justify-self: end;
  transition: transform 0.3s ease;
}

.contact-stat__row:hover .contact-stat__arrow { transform: translateX(6px); }

.contact-form-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.contact-form-wrap > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans-jp);
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: 0.04em;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-form-wrap > summary:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--paper);
}

.contact-form-wrap > summary::-webkit-details-marker { display: none; }

.contact-form-wrap__icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  font-family: var(--font-sans-en);
  font-weight: 400;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-form-wrap[open] .contact-form-wrap__icon {
  transform: rotate(45deg);
  border-color: var(--accent);
  color: var(--accent);
}

.contact-form {
  margin-top: 24px;
  padding: 36px 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.form-row input,
.form-row textarea {
  font: inherit;
  font-size: 15px;
  color: var(--paper);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  padding: 10px 0;
  transition: border-color 0.2s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(255, 255, 255, 0.35); }

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
  box-shadow: none;
}

.form-row textarea {
  min-height: 100px;
  resize: vertical;
  font-family: inherit;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* ============================================================
 * Footer
 * ============================================================ */

.page-foot {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-foot__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter-d);
}

.page-foot__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 20px;
}

.page-foot__url {
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
  text-transform: none;
}

.page-foot__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .page-foot__inner { padding: 0 var(--gutter-m); }
}

/* ============================================================
 * Reveal
 * ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__line, .hero__lead, .hero__cta, .hero__meta { opacity: 1; animation: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
 * Common (sub-pages: works / articles / detail)
 * ============================================================ */

.edit-bar__brand--link {
  text-decoration: none;
  transition: color 0.2s ease;
}

.edit-bar__brand--link:hover { color: var(--accent); }

.tech-table__row { position: relative; }

/* Works more link on top */
.works-more {
  text-align: center;
  margin-top: 64px;
}

/* ----- Page Hero (sub-pages) ----- */

.section--page-hero {
  padding: 160px 0 100px;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.page-hero { max-width: 980px; }

.page-hero__title {
  font-family: var(--font-serif-jp);
  font-weight: 600;
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 40px;
}

.page-hero__lead {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-soft);
  line-height: 1.95;
  margin: 0 0 40px;
  max-width: 720px;
}

@media (max-width: 768px) {
  .section--page-hero { padding: 120px 0 80px; min-height: auto; }
}

/* ----- KPI standalone section ----- */

.section--page-kpi {
  padding: 40px 0 100px;
}

/* ----- Filter section base ----- */

.section--filter {
  padding: 0 0 48px;
}

/* ----- CTA Band (sub-pages共通) ----- */

.section--cta-band { padding: 96px 0 140px; }

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
  padding: 56px 64px;
  border: 1px solid var(--ink);
  background: var(--paper-card);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 8px;
  height: 100%;
  background: var(--accent);
}

.cta-band__eyebrow {
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 0 0 16px;
  text-transform: uppercase;
}

.cta-band__title {
  font-family: var(--font-serif-jp);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 0 0 12px;
}

.cta-band__lead {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.9;
  margin: 0;
  max-width: 600px;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 200px;
}

@media (max-width: 768px) {
  .cta-band { grid-template-columns: 1fr; padding: 36px 24px 36px 36px; gap: 32px; }
  .cta-band__actions { flex-direction: row; }
  .cta-band__actions .btn { flex: 1; }
}

/* ============================================================
 * WORKS list page
 * ============================================================ */

.works-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.works-filter__label {
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  margin-right: 12px;
}

.works-filter__chip {
  font-family: var(--font-sans-jp);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.works-filter__chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.works-filter__chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.works-filter__count {
  margin-left: auto;
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}

.section--works-list { padding-top: 64px; padding-bottom: 64px; }

.works-stack {
  border-top: 1px solid var(--ink);
}

.work-row {
  display: grid;
  grid-template-columns: 80px 120px 1fr 60px;
  gap: 36px;
  align-items: start;
  padding: 44px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background 0.3s ease, padding-left 0.3s ease;
}

.work-row::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.work-row:hover { padding-left: 20px; }
.work-row:hover::before { transform: scaleX(1); }

.work-row__no {
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  padding-top: 8px;
}

.work-row__media {
  width: 120px;
  height: 120px;
  background: linear-gradient(160deg, #e8eef3 0%, #d6dee3 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.work-row__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 35%, rgba(13, 26, 34, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 65% 60%, rgba(215, 44, 33, 0.08) 0%, transparent 50%);
}

.work-row__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13, 26, 34, 0.1) 1px, transparent 1px);
  background-size: 8px 8px;
  mix-blend-mode: multiply;
  opacity: 0.4;
}

.work-row__media-glyph {
  position: relative;
  font-family: var(--font-serif-jp);
  font-size: 64px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.05em;
  line-height: 1;
  padding: 0 18px 14px;
  z-index: 1;
}

.work-row__media--lead {
  width: 160px;
  height: 160px;
}

.work-row__media--lead .work-row__media-glyph {
  font-size: 88px;
  padding: 0 22px 18px;
}

.work-row__industry {
  font-family: var(--font-sans-jp);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin: 0 0 8px;
}

.work-row__title {
  font-family: var(--font-serif-jp);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.work-row__excerpt {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.95;
  margin: 0 0 18px;
}

.work-row__tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.work-row__tags li {
  font-family: var(--font-sans-jp);
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  border-radius: 2px;
}

.work-row__tags li.work-row__tag--accent {
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.work-row__result-line {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px dashed var(--rule);
  font-family: var(--font-sans-jp);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.work-row__result-arrow {
  color: var(--accent);
  margin-right: 6px;
}

.work-row__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--ink);
  font-family: var(--font-sans-en);
  font-size: 16px;
  color: var(--ink);
  margin-top: 8px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.work-row__arrow:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateX(4px);
}

.work-row--featured {
  background: linear-gradient(90deg, var(--accent-glow) 0%, transparent 60%);
}

.works-note {
  margin: 56px 0 0;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-align: right;
  font-style: italic;
}

@media (max-width: 920px) {
  .work-row { grid-template-columns: auto 96px 1fr; padding: 32px 0; }
  .work-row__arrow { grid-column: 3 / 4; grid-row: 1 / 2; justify-self: end; }
  .work-row__no { grid-column: 1 / 2; }
  .work-row__media { grid-column: 2 / 3; grid-row: 1 / 4; }
  .work-row__body { grid-column: 1 / -1; grid-row: 2 / 3; }
  .work-row__media--lead { width: 96px; height: 96px; }
  .work-row__media--lead .work-row__media-glyph { font-size: 56px; padding: 0 14px 10px; }
}

@media (max-width: 560px) {
  .work-row { grid-template-columns: 1fr; gap: 16px; }
  .work-row__media { width: 100%; height: 120px; grid-row: auto; }
  .work-row__arrow { justify-self: start; }
}

/* ============================================================
 * ARTICLES list page
 * ============================================================ */

.article-search {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 560px;
  margin-top: 32px;
  border: 1px solid var(--ink);
  background: var(--paper-card);
}

.article-search__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 18px;
  color: var(--ink-mute);
}

.article-search__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 16px;
  font: inherit;
  font-size: 14px;
  background: transparent;
  color: var(--ink);
  height: 48px;
}

.article-search__input::placeholder { color: var(--ink-mute); }

.article-search__input:focus {
  outline: none;
  box-shadow: none;
}

.article-search__btn {
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 0 24px;
  font-family: var(--font-sans-jp);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  height: 48px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.article-search__btn:hover { background: var(--accent); }

/* Featured article */

.section--featured { padding-top: 32px; padding-bottom: 64px; }

.featured__label {
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin: 0 0 32px;
  display: flex;
  align-items: center;
}

.article-feature {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 56px;
  align-items: center;
  padding: 0;
  border: 1px solid var(--rule);
  background: var(--paper-card);
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.article-feature:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  color: inherit;
}

.article-feature__media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #e8eef3 0%, #d6dee3 100%);
  position: relative;
  overflow: hidden;
}

.article-feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13, 26, 34, 0.1) 1px, transparent 1px);
  background-size: 10px 10px;
  mix-blend-mode: multiply;
  opacity: 0.4;
}

.article-feature__badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  padding: 6px 12px;
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  z-index: 2;
}

.article-feature__glyph {
  position: absolute;
  bottom: 24px;
  right: 32px;
  font-family: var(--font-serif-jp);
  font-size: 200px;
  font-weight: 700;
  color: var(--ink);
  opacity: 0.15;
  line-height: 0.8;
  z-index: 1;
}

.article-feature__body { padding: 48px 56px 48px 0; }

.article-feature__date {
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  margin: 0 0 16px;
  display: flex;
  gap: 16px;
}

.article-feature__readtime { color: var(--ink-mute); }

.article-feature__title {
  font-family: var(--font-serif-jp);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 0 0 20px;
}

.article-feature__excerpt {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.95;
  margin: 0 0 28px;
}

.article-feature__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.article-feature__author {
  font-family: var(--font-serif-jp);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.article-feature__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.article-feature__tags li {
  font-family: var(--font-sans-jp);
  font-size: 11px;
  padding: 3px 8px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  border-radius: 2px;
}

.article-feature__cta {
  margin-left: auto;
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
}

@media (max-width: 920px) {
  .article-feature { grid-template-columns: 1fr; gap: 0; }
  .article-feature__body { padding: 32px 28px; }
}

/* Tag filter */

.section--tag-filter { padding: 0 0 32px; }

.tag-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.tag-filter__label {
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  margin-right: 8px;
}

.tag-filter__chip {
  font-family: var(--font-sans-jp);
  font-size: 12px;
  padding: 5px 12px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.tag-filter__chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.tag-filter__chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* Article list */

.section--article-list { padding: 80px 0; }

.article-list {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.article-row { border-bottom: 1px solid var(--rule); }

.article-row__link {
  display: grid;
  grid-template-columns: 60px 120px 1fr 80px;
  gap: 32px;
  align-items: start;
  padding: 32px 0;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s ease, padding-left 0.3s ease;
}

.article-row__link:hover {
  background: rgba(13, 26, 34, 0.02);
  padding-left: 16px;
  color: inherit;
}

.article-row__no {
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  padding-top: 6px;
}

.article-row__date {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-sans-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.article-row__updated {
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}

.article-row__title {
  font-family: var(--font-serif-jp);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.article-row__excerpt {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0 0 14px;
}

.article-row__tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.article-row__tags li {
  font-family: var(--font-sans-jp);
  font-size: 11px;
  padding: 3px 9px;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-mute);
  border-radius: 2px;
}

.article-row__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  padding-top: 4px;
}

.article-row__readtime {
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}

.article-row__arrow {
  font-family: var(--font-sans-en);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  transition: transform 0.3s ease, color 0.3s ease;
}

.article-row__link:hover .article-row__arrow {
  color: var(--accent);
  transform: translateX(6px);
}

@media (max-width: 920px) {
  .article-row__link {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    padding: 24px 0;
  }
  .article-row__link:hover { padding-left: 8px; }
  .article-row__date { grid-row: 1 / 2; grid-column: 2 / 3; }
  .article-row__no { grid-row: 1 / 2; grid-column: 1 / 2; }
  .article-row__meta { grid-row: 1 / 2; grid-column: 3 / 4; flex-direction: row; align-items: center; gap: 12px; }
  .article-row__body { grid-row: 2 / 3; grid-column: 1 / -1; }
}

/* Pagination */

.articles-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
}

.articles-pagination__link {
  font-family: var(--font-sans-jp);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 20px;
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.articles-pagination__link:hover {
  background: var(--ink);
  color: var(--paper);
}

.articles-pagination__link.is-disabled {
  color: var(--ink-mute);
  border-color: var(--rule);
  cursor: not-allowed;
  pointer-events: none;
}

.articles-pagination__current {
  font-family: var(--font-sans-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
 * ARTICLE DETAIL page
 * ============================================================ */

.breadcrumb {
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.breadcrumb .container { display: flex; align-items: center; gap: 10px; }
.breadcrumb__sep { color: var(--accent); }
.breadcrumb__current {
  font-family: var(--font-sans-jp);
  text-transform: none;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.article__head {
  padding: 96px 0 80px;
}

.article__head-inner { max-width: 920px; position: relative; z-index: 2; }

.article__category {
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin: 0 0 32px;
  display: inline-flex;
  align-items: center;
}

.article__title {
  font-family: var(--font-serif-jp);
  font-weight: 600;
  font-size: clamp(34px, 5.5vw, 76px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 40px;
}

.article__lede {
  font-family: var(--font-sans-jp);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.95;
  margin: 0 0 56px;
  max-width: 720px;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}

.article__meta-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article__meta-label {
  font-family: var(--font-sans-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

.article__meta-block > time,
.article__meta-block > span:last-child {
  font-family: var(--font-serif-jp);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.article__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.article__tags li {
  font-family: var(--font-sans-jp);
  font-size: 12px;
  padding: 5px 12px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  border-radius: 2px;
}

/* Article body layout (TOC + content) */

.article__layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 80px;
  align-items: start;
  padding: 96px 32px 120px;
}

.article__body { order: 1; }

.article__toc-wrap {
  order: 2;
  position: sticky;
  top: calc(var(--bar-height) + 32px);
  align-self: start;
}

.article__toc {
  padding: 28px 24px;
  border-left: 2px solid var(--accent);
  background: var(--paper-card);
}

.article__toc-label {
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 18px;
}

.article__toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article__toc-list li {
  font-size: 13px;
  line-height: 1.6;
  counter-increment: toc;
  position: relative;
  padding-left: 28px;
}

.article__toc-list li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}

.article__toc-list li.is-active::before { color: var(--accent); }

.article__toc-list a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article__toc-list li.is-active a { color: var(--ink); font-weight: 600; }

.article__toc-list a:hover { color: var(--accent); }

@media (max-width: 1024px) {
  .article__layout { grid-template-columns: 1fr; gap: 48px; padding: 64px 32px 96px; }
  .article__toc-wrap { position: static; }
}

/* Article body content */

.article__body {
  font-family: var(--font-sans-jp);
  font-size: 16px;
  line-height: 2;
  color: var(--ink-soft);
  max-width: 760px;
}

.article__intro {
  font-family: var(--font-serif-jp);
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.9;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0 0 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}

.article__body p {
  margin: 0 0 28px;
  letter-spacing: 0.01em;
}

.article__body h2 {
  font-family: var(--font-serif-jp);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 72px 0 28px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  position: relative;
}

.article__body h2::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.article__body h3 {
  font-family: var(--font-serif-jp);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  color: var(--ink);
  margin: 48px 0 20px;
  letter-spacing: -0.01em;
}

.article__body ul,
.article__body ol {
  margin: 0 0 28px;
  padding-left: 0;
  list-style: none;
}

.article__body ul li,
.article__body ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.95;
}

.article__body ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 16px;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

.article__body ol {
  counter-reset: order;
}

.article__body ol li {
  counter-increment: order;
  padding-left: 36px;
}

.article__body ol li::before {
  content: counter(order, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.article__body strong {
  color: var(--ink);
  font-weight: 700;
}

.article__body em {
  font-style: normal;
  background: linear-gradient(transparent 65%, rgba(215, 44, 33, 0.18) 65%);
  padding: 0 2px;
}

.article__body a {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s ease, background 0.2s ease;
}

.article__body a:hover {
  background: var(--accent);
  color: #fff;
}

.article__quote {
  margin: 36px 0;
  padding: 28px 32px;
  background: var(--paper-card);
  border-left: 3px solid var(--accent);
  font-family: var(--font-serif-jp);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 500;
  font-style: normal;
  color: var(--ink);
  line-height: 1.95;
}

.article__body pre {
  margin: 28px 0;
  padding: 24px;
  background: var(--ink);
  color: rgba(248, 252, 255, 0.92);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  line-height: 1.7;
  overflow-x: auto;
  border-left: 3px solid var(--accent);
}

.article__body pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

.article__body code {
  background: rgba(215, 44, 33, 0.06);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 2px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 0.92em;
}

/* Author card */

.article__author { padding: 80px 0; }

.author-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px;
  background: var(--paper-card);
  border-left: 3px solid var(--accent);
}

.author-card__photo {
  width: 120px;
  height: 120px;
  background: linear-gradient(160deg, #e8eef3 0%, #d6dee3 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.author-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13, 26, 34, 0.1) 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.4;
}

.author-card__initials {
  position: relative;
  font-family: var(--font-serif-jp);
  font-size: 56px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.05em;
  line-height: 1;
  padding: 0 14px 12px;
  z-index: 1;
}

.author-card__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 3;
  filter: grayscale(0.15) contrast(1.02);
}

.author-card__photo:has(.author-card__photo-img)::after {
  display: none;
}

.author-card__label {
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 8px;
}

.author-card__name {
  font-family: var(--font-serif-jp);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin: 0 0 14px;
}

.author-card__role {
  font-family: var(--font-sans-jp);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}

.author-card__bio {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.95;
  margin: 0;
}

@media (max-width: 768px) {
  .author-card { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
  .author-card__photo { width: 80px; height: 80px; }
  .author-card__initials { font-size: 40px; padding: 0 10px 8px; }
}

/* Related */

.article__related { padding-bottom: 80px; }

.related__label {
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin: 0 0 32px;
  display: flex;
  align-items: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 32px;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.related-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  color: inherit;
}

.related-card__date {
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.related-card__title {
  font-family: var(--font-serif-jp);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.5;
  margin: 0;
}

.related-card__excerpt {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0 0 auto;
}

.related-card__tags {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.related-card__tags li {
  font-family: var(--font-sans-jp);
  font-size: 11px;
  padding: 3px 9px;
  border: 1px solid var(--rule);
  color: var(--ink-mute);
  border-radius: 2px;
}

@media (max-width: 920px) {
  .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* page-foot link */

.page-foot__brand a {
  color: var(--paper);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-foot__brand a:hover { color: var(--accent); }

/* ============================================================
 * APPROACH (Mission + Process 統合版)
 * ============================================================ */

.section--approach {
  padding: clamp(120px, 16vh, 180px) 0;
}

.approach-head {
  margin-bottom: 96px;
}

.approach-process {
  border-top: 1px solid var(--rule);
  padding-top: 72px;
}

.approach-process__label {
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin: 0 0 56px;
  display: flex;
  align-items: center;
}

/* ---------- Capability (掛け合わせで解けるようになったこと) ---------- */

.capability-block {
  margin-bottom: 96px;
}

.capability-block__label {
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin: 0 0 40px;
  display: flex;
  align-items: center;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.capability-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-top: 3px solid transparent;
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.capability-card:hover {
  border-top-color: var(--accent);
  transform: translateY(-2px);
}

.capability-card__media {
  aspect-ratio: 4 / 3;
  background: var(--rule-soft);
  overflow: hidden;
}

.capability-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.capability-card__body {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 26px;
}

.capability-card__no {
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 0 0 12px;
}

.capability-card__title {
  font-family: var(--font-serif-jp);
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 0 0 18px;
}

.capability-card__compare {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.capability-card__row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
}

.capability-card__row dt {
  font-family: var(--font-sans-jp);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  padding-top: 3px;
}

.capability-card__row--after dt {
  color: var(--accent);
}

.capability-card__row dd {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .capability-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

/* ============================================================
 * SOLUTIONS preview (トップ)
 * ============================================================ */

.section--solutions {
  padding: 180px 0;
}

.solutions-intro {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.95;
  margin: 0 0 64px;
  max-width: 720px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.solution-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-top: 3px solid transparent;
  border-radius: 2px;
  color: inherit;
  text-decoration: none;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.solution-card:hover {
  border-top-color: var(--accent);
  transform: translateY(-2px);
  color: inherit;
}

.solution-card__no {
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 0 0 14px;
}

.solution-card__industry {
  font-family: var(--font-serif-jp);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  line-height: 1.4;
}

.solution-card__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.solution-card__list li {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}

.solution-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.solution-card__arrow {
  align-self: flex-end;
  font-family: var(--font-sans-en);
  font-size: 18px;
  color: var(--ink);
  transition: transform 0.3s ease, color 0.3s ease;
}

.solution-card:hover .solution-card__arrow {
  color: var(--accent);
  transform: translateX(4px);
}

.solutions-more {
  text-align: center;
}

@media (max-width: 1024px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .solutions-grid { grid-template-columns: 1fr; }
}

/* ============================================================
 * ABOUT セクション内サブブロック
 * ============================================================ */

.about-services {
  margin-bottom: 96px;
}

.about-services__label {
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin: 0 0 32px;
  display: flex;
  align-items: center;
}

.about-divider {
  height: 1px;
  background: var(--rule);
  margin: 0 0 64px;
}

.about-section-label {
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin: 0 0 40px;
  display: flex;
  align-items: center;
}

/* ============================================================
 * SOLUTIONS ページ (solutions_editorial.html)
 * ============================================================ */

.industry-nav {
  position: sticky;
  top: var(--bar-height);
  background: rgba(248, 252, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  z-index: 40;
  overflow-x: auto;
  scrollbar-width: thin;
}

.industry-nav .container { padding: 0; }

.industry-nav ul {
  list-style: none;
  margin: 0;
  padding: 0 var(--gutter-d);
  display: flex;
  gap: 0;
  min-width: 100%;
  white-space: nowrap;
}

.industry-nav li {
  display: inline-block;
}

.industry-nav a {
  display: inline-block;
  padding: 18px 22px;
  font-family: var(--font-sans-jp);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.2s ease;
}

.industry-nav a::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.industry-nav a:hover { color: var(--ink); }
.industry-nav a:hover::after { transform: scaleX(1); }

.industry {
  padding: 100px 0;
  scroll-margin-top: calc(var(--bar-height) + 60px);
}

.industry--alt {
  background-image: radial-gradient(rgba(58, 74, 82, 0.13) 1px, transparent 1px);
  background-size: 22px 22px;
  background-color: var(--paper);
}

.industry__head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 36px;
  align-items: baseline;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}

.industry__no {
  font-family: var(--font-serif-jp);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.industry__title {
  font-family: var(--font-serif-jp);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin: 0 0 16px;
}

.industry__lead {
  grid-column: 2 / 3;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.9;
  margin: 0;
  max-width: 720px;
}

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

.usecase {
  padding: 28px 28px 32px;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  transition: transform 0.3s ease, border-left-width 0.3s ease;
}

.usecase:hover {
  transform: translateY(-2px);
  border-left-width: 6px;
}

.usecase__title {
  font-family: var(--font-serif-jp);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  line-height: 1.45;
}

.usecase__desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0 0 16px;
}

.usecase__desc a {
  color: var(--accent);
  font-weight: 600;
  margin-left: 4px;
  border-bottom: 1px solid var(--accent);
}

.usecase__desc a:hover {
  background: var(--accent);
  color: #fff;
}

.usecase__tech {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.usecase__tech li {
  font-family: var(--font-sans-jp);
  font-size: 11px;
  padding: 3px 9px;
  border: 1px solid var(--rule);
  color: var(--ink-mute);
  border-radius: 2px;
}

@media (max-width: 920px) {
  .usecases { grid-template-columns: 1fr; }
  .industry__head { grid-template-columns: auto 1fr; gap: 20px; }
}

/* ============================================================
 * NEWS (トップ index)
 * ============================================================ */

.section--news { padding: 160px 0; }

.news-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 8px;
}

.news-filter__label {
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  margin-right: 8px;
}

.news-filter__chip {
  font-family: var(--font-sans-jp);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.news-filter__chip:hover { border-color: var(--ink); color: var(--ink); }
.news-filter__chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

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

.news-row {
  display: grid;
  grid-template-columns: 120px 160px 1fr 40px;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  color: inherit;
  text-decoration: none;
  transition: background 0.3s ease, padding-left 0.3s ease;
}

.news-row:hover { background: rgba(13, 26, 34, 0.02); padding-left: 16px; color: inherit; }

.news-row__date {
  font-family: var(--font-sans-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.news-row__cat {
  font-family: var(--font-sans-jp);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
  padding: 3px 8px;
  justify-self: start;
  letter-spacing: 0.04em;
}

.news-row__title {
  font-family: var(--font-serif-jp);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.news-row__arrow {
  font-family: var(--font-sans-en);
  font-size: 16px;
  color: var(--ink);
  justify-self: end;
  transition: transform 0.3s ease, color 0.3s ease;
}

.news-row:hover .news-row__arrow { color: var(--accent); transform: translateX(6px); }

.news-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 0;
}

.news-pagination__count {
  font-family: var(--font-sans-en);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}

.news-pagination__btns { display: flex; gap: 10px; }

.news-pagination__btn {
  font-family: var(--font-sans-jp);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.news-pagination__btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.news-pagination__btn:disabled { color: var(--ink-mute); border-color: var(--rule); cursor: not-allowed; }

@media (max-width: 768px) {
  .news-row { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 18px 0; }
  .news-row__date { grid-column: 1; grid-row: 1; }
  .news-row__cat { grid-column: 2; grid-row: 1; justify-self: end; }
  .news-row__title { grid-column: 1 / -1; grid-row: 2; }
  .news-row__arrow { display: none; }
  .news-row:hover { padding-left: 0; }
}

/* ============================================================
 * Contact フォーム追加分（honeypot / select / status）
 * ============================================================ */

/* Honeypot: 通常ユーザーには見せない（bot のみ入力する罠） */
.contact-website {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .form-row select {
  font: inherit;
  font-size: 15px;
  color: var(--paper);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  padding: 10px 0;
  transition: border-color 0.2s ease;
}

.contact-form .form-row select:focus {
  outline: none;
  border-bottom-color: var(--accent);
  box-shadow: none;
}

.contact-form .form-row select option { color: #0D1A22; }

.contact-form__status {
  font-size: 13px;
  margin: 8px 0 0;
  color: rgba(248, 252, 255, 0.8);
  min-height: 1em;
}

/* 記事一覧: 検索/タグ結果が空のとき */
.articles-empty {
  text-align: center;
  font-size: 14px;
  color: var(--ink-mute);
  padding: 80px 0;
  line-height: 1.9;
}

.articles-empty a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  margin-left: 6px;
}

.articles-empty a:hover {
  background: var(--accent);
  color: #fff;
}

/* ============================================================
 * 記事詳細: TOC 有無のレイアウト切替 / toc_html / シェアバー
 * ============================================================ */

/* TOC 無し: 1 カラム中央寄せ。TOC 有り: 本文 + sticky TOC の 2 カラム */
.article__layout {
  display: block;
  max-width: 820px;
  margin: 0 auto;
}

.article__layout--with-toc {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 80px;
  max-width: var(--container);
}

@media (max-width: 1024px) {
  .article__layout--with-toc { display: block; max-width: 820px; }
}

/* 本体 toc_html (<div class="toc"><ul><li><a>) のスタイル */
.article__toc .toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article__toc .toc ul ul {
  margin-top: 8px;
  padding-left: 14px;
  gap: 8px;
}

.article__toc .toc li {
  font-size: 13px;
  line-height: 1.6;
}

.article__toc .toc a {
  display: block;
  color: var(--ink-soft);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 12px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.article__toc .toc a:hover { color: var(--accent); }

.article__toc .toc a.is-active {
  color: var(--ink);
  font-weight: 600;
  border-left-color: var(--accent);
}

/* シェアバー */
.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.article-share__label {
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  margin-right: 8px;
}

.article-share__btn {
  font-family: var(--font-sans-jp);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 8px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.article-share__btn:hover { background: var(--ink); color: var(--paper); }

/* ============================================================
 * モバイルメニュー（920px 以下でハンバーガー表示）
 * ============================================================ */

.edit-bar__menu-btn {
  display: none;
  justify-self: end;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.edit-bar__menu-icon,
.edit-bar__menu-icon::before,
.edit-bar__menu-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, background 0.3s ease;
}

.edit-bar__menu-icon { position: relative; }
.edit-bar__menu-icon::before { content: ""; position: absolute; left: 0; top: -7px; }
.edit-bar__menu-icon::after { content: ""; position: absolute; left: 0; top: 7px; }

/* 開いている間はアイコンを × に変形 */
.edit-bar__menu-btn[aria-expanded="true"] .edit-bar__menu-icon { background: transparent; }
.edit-bar__menu-btn[aria-expanded="true"] .edit-bar__menu-icon::before { transform: translateY(7px) rotate(45deg); }
.edit-bar__menu-btn[aria-expanded="true"] .edit-bar__menu-icon::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(58, 74, 82, 0.13) 1px, transparent 1px);
  background-size: 22px 22px;
  padding: calc(var(--bar-height) + 32px) var(--gutter-m) 40px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu__nav { display: flex; flex-direction: column; }

.mobile-menu__nav a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-sans-en);
  font-size: clamp(26px, 8vw, 38px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.mobile-menu__nav a:hover { color: var(--accent); }

.mobile-menu__jp {
  font-family: var(--font-sans-jp);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}

.mobile-menu__foot {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-sans-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}

body.menu-open { overflow: hidden; }

@media (max-width: 920px) {
  .edit-bar--header .edit-bar__inner { grid-template-columns: 1fr auto; }
  .edit-bar__menu-btn { display: inline-flex; }
}

@media (min-width: 921px) {
  .mobile-menu { display: none; }
}
