/* biotope-inspired tone & manner — translated to the amber palette of
   筧裕介『システミックデザイン』(年輪の琥珀).
   Class names preserved so the existing HTML continues to work; the visual
   language is replaced. */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Open+Sans:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;600;700&family=Noto+Serif+JP:wght@300;400;500;600&display=swap");

:root {
  --bg: #ffffff;            /* 純白ヒーロー */
  --bg-deep: #f5f1ea;
  --bg-soft: #faf7f2;
  --ink: #1a140c;           /* near-black with warm cast */
  --ink-soft: #4a3f33;
  --ink-muted: #8a7d6e;
  --paper: #ffffff;
  --paper-cream: #f3ece0;
  --paper-soft: rgba(255,255,255,0.82);
  --paper-muted: rgba(255,255,255,0.6);
  --hairline-light: rgba(0,0,0,0.08);
  --hairline-dark: rgba(0,0,0,0.18);

  /* Subpages (light theme) — same family as hero now */
  --light-bg: #ffffff;
  --light-bg-soft: #f7f3eb;
  --light-fg: #1a140c;
  --light-fg-soft: #4a3f33;
  --light-fg-muted: #8a7d6e;
  --light-hairline: #ece4d4;
  /* Accent is intentionally neutral — interaction relies on a soft "ふわっ" lift,
     not on color. Re-introduce a hue here if a brand color is desired. */
  --accent: #4a3f33;
  --accent-deep: #1a140c;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--paper); }
body {
  font-family: "Open Sans", "Noto Sans JP", "Yu Gothic", "游ゴシック",
    "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
body:has(> main.hero) { overflow: hidden; height: 100%; }

a { color: inherit; text-decoration: none; }

/* ---- Neutralize legacy cosmic ambience layers ---- */
.cosmic-bg { background: var(--bg); }
.cosmic-noise::before,
.starfield::after { display: none; }
.nebulae, .stardust, .twinkles, .shooting-stars { display: none; }
.center-glow { display: none; }

/* ---- Animations ---- */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: var(--target-opacity, 1); }
}
@keyframes planet-fade-in-inner {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
/* たゆたう・弛む — gentle, slow, almost imperceptible drift */
@keyframes planet-float-inner {
  0%   { transform: translate(0, 0) scale(1); }
  35%  { transform: translate(2px, 4px) scale(1.012); }
  60%  { transform: translate(-2px, 6px) scale(1.018); }
  85%  { transform: translate(-1px, 2px) scale(1.008); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes earth-sway {
  /* 仕様通り「重力で少し弛む」 — ゆっくり下へ垂れて戻る。translateY 14px / scale 1.022 */
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(0, 14px) scale(1.022); }
  100% { transform: translate(0, 0) scale(1); }
}
/* 中央惑星専用の border-radius モーフ — 45-58% の幅で有機的に歪む。
   slack-blob-a/b/c は細線の衛星用にタイトなまま残し、こちらは中央だけに適用。 */
@keyframes earth-blob {
  0%   { border-radius: 49% 51% 54% 46% / 45% 48% 52% 55%; }
  50%  { border-radius: 54% 46% 50% 50% / 48% 44% 58% 50%; }
  100% { border-radius: 49% 51% 54% 46% / 45% 48% 52% 55%; }
}
@keyframes wicked-breath {
  0%, 100% { opacity: 0.97; transform: scale(0.997); }
  50%      { opacity: 1;    transform: scale(1.012); }
}
@keyframes orb-breath {
  0%, 100% { transform: scale(0.995); }
  50%      { transform: scale(1.012); }
}

/* 弛んだ膜 — 円を保ったまま、ごく僅かに歪む。
   卵型にならないよう各値は 49〜51% に収め、最大でも±2%の振れに抑える。 */
@keyframes slack-blob-a {
  0%   { border-radius: 50% 50% 51% 49% / 49% 50% 51% 50%; }
  33%  { border-radius: 51% 49% 50% 50% / 50% 49% 51% 50%; }
  66%  { border-radius: 49% 51% 50% 50% / 51% 50% 49% 50%; }
  100% { border-radius: 50% 50% 51% 49% / 49% 50% 51% 50%; }
}
@keyframes slack-blob-b {
  0%   { border-radius: 51% 49% 50% 50% / 50% 51% 49% 50%; }
  33%  { border-radius: 49% 51% 51% 49% / 51% 49% 50% 50%; }
  66%  { border-radius: 50% 50% 49% 51% / 49% 50% 51% 50%; }
  100% { border-radius: 51% 49% 50% 50% / 50% 51% 49% 50%; }
}
@keyframes slack-blob-c {
  0%   { border-radius: 50% 50% 50% 50% / 51% 49% 51% 49%; }
  33%  { border-radius: 51% 49% 50% 50% / 50% 51% 49% 50%; }
  66%  { border-radius: 49% 51% 51% 49% / 50% 50% 51% 49%; }
  100% { border-radius: 50% 50% 50% 50% / 51% 49% 51% 49%; }
}
@keyframes atmos-breathe { 0%,100%{opacity:0}50%{opacity:0} }
@keyframes halo-drift { 0%,100%{opacity:0}50%{opacity:0} }
@keyframes orbit-fade-in { from{opacity:0}to{opacity:1} }

.animate-fade-in-up { animation: fade-in-up 1.1s ease-out both; }

/* ---- Hero ---- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  background: var(--bg);
}

.hero-top {
  position: absolute;
  z-index: 4;
  top: 1.75rem;
  left: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}
@media (min-width: 768px) {
  .hero-top { top: 2.25rem; left: 3rem; }
}
.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink);
  font-style: italic;
}
.title-block { text-align: left; max-width: 17rem; }
.kicker {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--ink-muted);
  margin: 0;
}
.hero h1 {
  margin: 0.5rem 0 0;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  font-size: 0.88rem;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック", sans-serif;
  /* 3行とも右端を揃える両端揃え。和文は文字間に余白を分散。 */
  text-align: justify;
  text-align-last: justify;
  text-justify: inter-character;
  letter-spacing: 0;
}
.hero h1 .sub {
  color: var(--ink);
  display: block;
  margin-top: 4px;
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 0;
  text-align: justify;
  text-align-last: justify;
  text-justify: inter-character;
}
@media (min-width: 768px) { .hero h1 { font-size: 0.98rem; } }
@media (min-width: 1100px) { .hero h1 { font-size: 1.1rem; } }

.hero-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* ---- Planetary system ---- */
.system {
  position: relative;
  width: min(94vw, 86vh, 880px);
  aspect-ratio: 1 / 1;
}

/* Hide hexagon/orbit SVG — biotope keeps it clean without scaffolding */
.orbit-svg { display: none; }

.planet {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.planet > .anim { width: 100%; height: 100%; will-change: transform, opacity; position: relative; }
.planet .body {
  position: relative;
  width: 100%; height: 100%;
  /* 弛んだ膜の起点形状(完全な円ではない) */
  border-radius: 50% 50% 51% 49% / 49% 50% 51% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink) !important;
  background-image: none !important;
  border: none;
  box-shadow: none !important;
  transition: background-color .4s ease;
  will-change: border-radius;
}
.planet .texture,
.planet .rim,
.planet .atmos { display: none !important; }

/* ---- Center: solid black orb (biotope-style) ---- */
.planet.center { width: 50%; height: 50%; }
/* ---- Center: 生命が宿った未完成の惑星。
   深い青緑をベースに、淡いグレー・生成り・わずかな土色が混ざる。
   雲・海流・大気の流れを思わせる淡い模様。粒子のざらつき。 */
.planet.center .body {
  background: #2c4a4c !important;
  background-image:
    /* 太陽光のような淡いhighlight (左上) — 生成り寄りの白 */
    radial-gradient(circle at 35% 30%, rgba(245,238,224,0.42) 0%, transparent 30%),
    /* 大気・雲のかすかなまとまり */
    radial-gradient(ellipse 36% 22% at 56% 38%, rgba(232,222,202,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 28% 16% at 36% 62%, rgba(232,222,202,0.16) 0%, transparent 60%),
    /* 海溝のような深い陰 (右下) */
    radial-gradient(circle at 76% 80%, rgba(8,24,30,0.55) 0%, transparent 55%),
    /* 土色のにじみ — 大陸ではなく、ただの色温度の揺らぎ */
    radial-gradient(ellipse 28% 20% at 46% 70%, rgba(178,134,86,0.22) 0%, transparent 50%),
    radial-gradient(ellipse 18% 14% at 64% 28%, rgba(178,134,86,0.14) 0%, transparent 55%),
    /* 球体のベースグラデーション (淡いグレー → 中間ティール → 深い青緑) */
    linear-gradient(135deg, #c5d0cb 0%, #6c9d97 30%, #366767 60%, #1a4549 100%) !important;
  filter: contrast(1.04) saturate(0.9);
  /* 仕様通りの非対称な弛みモーフ。slack-blob-a より幅広く 45-58% を行き来する。 */
  border-radius: 49% 51% 54% 46% / 45% 48% 52% 55%;
  animation: earth-blob 14s ease-in-out infinite;
}
/* 粒子層 — 紙・砂・鉱物のざらつき。ゆっくり流れる。 */
.planet.center .body::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    radial-gradient(rgba(255,250,238,0.55) 0.7px, transparent 0.8px),
    radial-gradient(rgba(0,0,0,0.4) 0.5px, transparent 0.6px),
    radial-gradient(rgba(255,250,238,0.35) 0.4px, transparent 0.5px);
  background-size: 3px 3px, 5px 5px, 7px 7px;
  background-position: 0 0, 1.6px 1.6px, 2.2px 0.9px;
  mix-blend-mode: overlay;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
  animation: surface-drift 28s linear infinite;
}
/* 大気・海流の淡いストリーク */
.planet.center .body::after {
  content: "";
  position: absolute;
  inset: -2%;
  border-radius: inherit;
  background-image:
    radial-gradient(ellipse 58% 7% at 30% 32%, rgba(255,248,232,0.2), transparent 60%),
    radial-gradient(ellipse 48% 5% at 64% 50%, rgba(255,248,232,0.15), transparent 60%),
    radial-gradient(ellipse 42% 6% at 48% 72%, rgba(255,248,232,0.1), transparent 60%);
  filter: blur(7px);
  mix-blend-mode: screen;
  opacity: 0.65;
  pointer-events: none;
  z-index: 1;
  animation: cloud-drift 30s ease-in-out infinite;
}
.planet.center .surface-keywords { border-radius: inherit; z-index: 2; }

@keyframes surface-drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(-4px, 3px) rotate(0.4deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes cloud-drift {
  0%   { transform: translateX(0) translateY(0); opacity: 0.55; }
  50%  { transform: translateX(2.5%) translateY(-1%); opacity: 0.7; }
  100% { transform: translateX(0) translateY(0); opacity: 0.55; }
}
.planet.center .anim {
  animation:
    planet-fade-in-inner 1.4s ease-out 0ms both,
    earth-sway 14s ease-in-out 1600ms infinite;
  transform-origin: 50% 50%;
}

/* Wicked-issue keywords floating on the dark orb */
.planet.center .surface-keywords {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.planet.center .surface-keywords .kw {
  position: absolute;
  white-space: nowrap;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: rgba(248,242,228,0.92);
  text-shadow:
    0 0 6px rgba(8,24,30,0.6),
    0 0 14px rgba(8,24,30,0.45);
  animation: fade-in 1.4s ease-out both;
  --target-opacity: 0.85;
  filter: none;
}
.planet.center .surface-keywords .kw.s { font-size: 0.58rem; opacity: 0.5; }
.planet.center .surface-keywords .kw.m { font-size: 0.82rem; opacity: 0.78; }
.planet.center .surface-keywords .kw.l {
  font-size: 1.12rem;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック", sans-serif;
  font-weight: 600;
  opacity: 1;
  color: rgba(250,243,226,0.98);
}
@media (min-width: 1100px) {
  .planet.center .surface-keywords .kw.s { font-size: 0.66rem; }
  .planet.center .surface-keywords .kw.m { font-size: 0.92rem; }
  .planet.center .surface-keywords .kw.l { font-size: 1.3rem; }
}

/* Center label — large serif, biotope-style */
.wicked-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  cursor: pointer;
  text-decoration: none;
  outline: none;
  transition: transform .4s ease;
  animation: fade-in 1.8s ease-out 400ms both;
  --target-opacity: 1;
}
.wicked-label {
  animation:
    fade-in 1.8s ease-out 400ms both,
    wicked-breath 9s ease-in-out 2200ms infinite;
}
.wicked-label:hover,
.wicked-label:focus-visible { transform: scale(1.04); transition: transform .4s ease; }
.wicked-label .l1 {
  display: block;
  color: #faf3e2;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック", sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.3;
  font-size: clamp(1.9rem, 5.8vmin, 3.4rem);
  text-shadow:
    0 1px 2px rgba(8,24,30,0.6),
    0 0 16px rgba(8,24,30,0.5);
}
.wicked-label .l2 {
  display: block;
  margin-top: 0.95em;
  color: #ffffff;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: clamp(0.85rem, 2vmin, 1.25rem);
  text-shadow: 0 1px 3px rgba(8,24,30,0.85), 0 0 18px rgba(8,24,30,0.7);
}

/* ===== カラートーンバリエーション(?c=N で切替) =====
   biotope.co.jp の感じを念頭に、背景・テキスト・衛星アウトラインのトーンを切替。 */

/* 共通: ナビの中身が読めるように常に固定の暗ピル */
body[class*="color-v"] .top-nav a:not(.contact-pill) { color: #1a140c; }
body[class*="color-v"] .top-nav .contact-pill { background: #1a140c; color: #ffffff; }
body[class*="color-v"] .top-nav .wicked-link { border-right-color: rgba(26,20,16,0.25); }

/* C1: アイボリー(生成り) — 推奨デフォルト --------------------------- */
body.color-v1, body.color-v1 .hero { background: #f5efe2; }
body.color-v1 .hero h1,
body.color-v1 .hero h1 .sub { color: #1a4549; }
body.color-v1 .planet.orbit .body { border-color: rgba(26,69,73,0.65); }
body.color-v1 .planet.orbit .orbit-label .ttl { color: #1a4549; text-shadow: none; }
body.color-v1 .planet.orbit .orbit-label .sub { color: rgba(26,69,73,0.6); }

/* C2: ダークティール ----------------------------------------------- */
body.color-v2, body.color-v2 .hero { background: #143838; }
body.color-v2 .hero h1,
body.color-v2 .hero h1 .sub { color: rgba(248,243,228,0.95); }
body.color-v2 .planet.orbit .body { border-color: rgba(248,243,228,0.85); }
body.color-v2 .planet.orbit .orbit-label .ttl { color: rgba(248,243,228,0.95); text-shadow: none; }
body.color-v2 .planet.orbit .orbit-label .sub { color: rgba(248,243,228,0.6); }
body.color-v2 .top-nav { background: rgba(255,255,255,0.85); }

/* C3: Biotope忠実エメラルド ----------------------------------------- */
body.color-v3, body.color-v3 .hero { background: #3e9384; }
body.color-v3 .hero h1,
body.color-v3 .hero h1 .sub { color: #ffffff; }
body.color-v3 .planet.orbit .body { border-color: rgba(255,255,255,0.92); }
body.color-v3 .planet.orbit .orbit-label .ttl { color: #ffffff; text-shadow: none; }
body.color-v3 .planet.orbit .orbit-label .sub { color: rgba(255,255,255,0.7); }
body.color-v3 .top-nav { background: rgba(255,255,255,0.85); }

/* C4: チャコール(墨) --------------------------------------------- */
body.color-v4, body.color-v4 .hero { background: #1f1d19; }
body.color-v4 .hero h1,
body.color-v4 .hero h1 .sub { color: rgba(248,243,228,0.95); }
body.color-v4 .planet.orbit .body { border-color: rgba(248,243,228,0.85); }
body.color-v4 .planet.orbit .orbit-label .ttl { color: rgba(248,243,228,0.95); text-shadow: none; }
body.color-v4 .planet.orbit .orbit-label .sub { color: rgba(248,243,228,0.6); }
body.color-v4 .top-nav { background: rgba(255,255,255,0.85); }

/* C5: モス(苔色) ----------------------------------------------- */
body.color-v5, body.color-v5 .hero { background: #6b7d5a; }
body.color-v5 .hero h1,
body.color-v5 .hero h1 .sub { color: rgba(248,243,228,0.95); }
body.color-v5 .planet.orbit .body { border-color: rgba(248,243,228,0.85); }
body.color-v5 .planet.orbit .orbit-label .ttl { color: rgba(248,243,228,0.95); text-shadow: none; }
body.color-v5 .planet.orbit .orbit-label .sub { color: rgba(248,243,228,0.6); }
body.color-v5 .top-nav { background: rgba(255,255,255,0.85); }

/* C6: テラコッタ(暖琥珀) ---------------------------------------- */
body.color-v6, body.color-v6 .hero { background: #b86a2a; }
body.color-v6 .hero h1,
body.color-v6 .hero h1 .sub { color: #1a140c; }
body.color-v6 .planet.orbit .body { border-color: rgba(26,20,12,0.7); }
body.color-v6 .planet.orbit .orbit-label .ttl { color: #1a140c; text-shadow: none; }
body.color-v6 .planet.orbit .orbit-label .sub { color: rgba(26,20,12,0.6); }

/* ===== タイトル組みバリエーション(T5方向 = 小ぶりで右端を揃える)(?t=N で切替) =====
   全パターン T5ベース(font-size 0.88〜1.1rem、weight 400、均一サイズ)。
   違いは「右端をどう揃えるか」のアプローチ。 */

/* 共通: 小ぶりのサイズ */
body.title-v1 .hero h1,
body.title-v2 .hero h1,
body.title-v3 .hero h1,
body.title-v4 .hero h1,
body.title-v5 .hero h1,
body.title-v6 .hero h1 {
  font-size: 0.88rem;
}
@media (min-width: 768px) {
  body.title-v1 .hero h1, body.title-v2 .hero h1, body.title-v3 .hero h1,
  body.title-v4 .hero h1, body.title-v5 .hero h1, body.title-v6 .hero h1 { font-size: 0.98rem; }
}
@media (min-width: 1100px) {
  body.title-v1 .hero h1, body.title-v2 .hero h1, body.title-v3 .hero h1,
  body.title-v4 .hero h1, body.title-v5 .hero h1, body.title-v6 .hero h1 { font-size: 1.1rem; }
}

/* 共通: 均一サイズ・色のサブ */
body[class*="title-v"] .hero h1 .sub {
  font-size: 1em;
  font-weight: 400;
  color: var(--ink);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* T1: 基準 — そのまま(右端は揃わない) */
/* (共通設定で完了) */

/* T2: 全行を両端揃え(text-align: justify + 文字間 justify) — h1 自体に幅を持たせて分散 */
body.title-v2 .title-block { max-width: 17rem; }
body.title-v2 .hero h1 {
  text-align: justify;
  text-align-last: justify;
  text-justify: inter-character;
}
body.title-v2 .hero h1 .sub {
  display: block;
  text-align: justify;
  text-align-last: justify;
  text-justify: inter-character;
  letter-spacing: 0;
}

/* T3: 右揃え(text-align: right、コンテナを最長行ピッタリに収める) */
body.title-v3 .title-block { max-width: 14rem; }
body.title-v3 .hero h1 { text-align: right; }
body.title-v3 .hero h1 .sub { text-align: right; }

/* T4: 個別 letter-spacing で右端を視覚的に揃える(手動チューン) */
body.title-v4 .hero h1 { letter-spacing: 0.06em; }
body.title-v4 .hero h1 .sub:nth-of-type(1) { letter-spacing: 0.18em; } /* "issue+design の" を広く */
body.title-v4 .hero h1 .sub:nth-of-type(2) { letter-spacing: 0.13em; } /* "6 つのアプローチ" を中庸に */

/* T5: サブ2行を1行に統合 + 両端揃え(2行構成にして揃えやすく) */
body.title-v5 .title-block { max-width: 17rem; }
body.title-v5 .hero h1 .sub:first-of-type::after { content: " 6 つのアプローチ"; }
body.title-v5 .hero h1 .sub:last-of-type { display: none; }
body.title-v5 .hero h1 {
  text-align: justify;
  text-align-last: justify;
  text-justify: inter-character;
}
body.title-v5 .hero h1 .sub {
  display: block;
  text-align: justify;
  text-align-last: justify;
  text-justify: inter-character;
  letter-spacing: 0;
}

/* T6: 縦書き(writing-mode: vertical-rl)— 右端問題そのものを回避 */
body.title-v6 .hero h1 {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.16em;
  line-height: 1.6;
  height: 15rem;
  margin: 0;
}
@media (min-width: 1100px) { body.title-v6 .hero h1 { height: 17rem; } }
body.title-v6 .hero h1 .sub {
  display: inline-block;
  margin-top: 1.2em;
  margin-left: 0;
  letter-spacing: 0.16em;
}

/* ===== 社会課題キーワード(A方向)バリエーション(?k=N で切替) ===== */
/* A1: 基準(現在) — 何もオーバーライドしない */

/* A2: 字間を詰めて端切れを防ぐ */
body.kw-v2 .planet.center .surface-keywords .kw { letter-spacing: 0.06em; }

/* A3: 全体的に少し小さく */
body.kw-v3 .planet.center .surface-keywords .kw.s { font-size: 0.6rem; }
body.kw-v3 .planet.center .surface-keywords .kw.m { font-size: 0.72rem; }
body.kw-v3 .planet.center .surface-keywords .kw.l { font-size: 0.86rem; }
@media (min-width: 1100px) {
  body.kw-v3 .planet.center .surface-keywords .kw.s { font-size: 0.66rem; }
  body.kw-v3 .planet.center .surface-keywords .kw.m { font-size: 0.78rem; }
  body.kw-v3 .planet.center .surface-keywords .kw.l { font-size: 0.94rem; }
}

/* A4: サイズ差を大きく(メリハリ強め) */
body.kw-v4 .planet.center .surface-keywords .kw.s { font-size: 0.58rem; opacity: 0.5; }
body.kw-v4 .planet.center .surface-keywords .kw.m { font-size: 0.82rem; opacity: 0.78; }
body.kw-v4 .planet.center .surface-keywords .kw.l { font-size: 1.12rem; opacity: 1; font-weight: 600; }
@media (min-width: 1100px) {
  body.kw-v4 .planet.center .surface-keywords .kw.s { font-size: 0.66rem; }
  body.kw-v4 .planet.center .surface-keywords .kw.m { font-size: 0.92rem; }
  body.kw-v4 .planet.center .surface-keywords .kw.l { font-size: 1.3rem; }
}

/* A5: サイズ差を控えめ(穏やか・近い大きさ) */
body.kw-v5 .planet.center .surface-keywords .kw.s { font-size: 0.7rem; opacity: 0.68; }
body.kw-v5 .planet.center .surface-keywords .kw.m { font-size: 0.78rem; opacity: 0.78; }
body.kw-v5 .planet.center .surface-keywords .kw.l { font-size: 0.86rem; opacity: 0.88; font-weight: 400; }

/* A6: 位置を内側に集約(端切れ防止) */
body.kw-v6 .planet.center .surface-keywords .kw:nth-child(1) { left: 22% !important; top: 18% !important; }
body.kw-v6 .planet.center .surface-keywords .kw:nth-child(2) { left: 60% !important; top: 14% !important; }
body.kw-v6 .planet.center .surface-keywords .kw:nth-child(3) { left: 14% !important; top: 36% !important; }
body.kw-v6 .planet.center .surface-keywords .kw:nth-child(4) { left: 72% !important; top: 32% !important; }
body.kw-v6 .planet.center .surface-keywords .kw:nth-child(5) { left: 12% !important; top: 64% !important; }
body.kw-v6 .planet.center .surface-keywords .kw:nth-child(6) { left: 64% !important; top: 70% !important; }
body.kw-v6 .planet.center .surface-keywords .kw:nth-child(7) { left: 24% !important; top: 84% !important; }
body.kw-v6 .planet.center .surface-keywords .kw:nth-child(8) { left: 58% !important; top: 88% !important; }

/* ===== WICKED PROBLEM サイズ・字間バリエーション(?w=N で切替) ===== */
body.wicked-v1 .wicked-label .l2 {
  font-size: clamp(1.15rem, 3.4vmin, 2rem);
  font-weight: 600; font-style: italic; letter-spacing: 0.18em;
}
body.wicked-v2 .wicked-label .l2 {
  font-size: clamp(1rem, 2.8vmin, 1.7rem);
  font-weight: 600; font-style: italic; letter-spacing: 0.18em;
}
body.wicked-v3 .wicked-label .l2 {
  font-size: clamp(0.92rem, 2.4vmin, 1.45rem);
  font-weight: 600; font-style: italic; letter-spacing: 0.18em;
}
body.wicked-v4 .wicked-label .l2 {
  font-size: clamp(0.85rem, 2vmin, 1.25rem);
  font-weight: 600; font-style: italic; letter-spacing: 0.18em;
}
body.wicked-v5 .wicked-label .l2 {
  font-size: clamp(0.85rem, 2vmin, 1.25rem);
  font-weight: 500; font-style: italic; letter-spacing: 0.28em;
}
body.wicked-v6 .wicked-label .l2 {
  font-size: clamp(0.85rem, 2vmin, 1.25rem);
  font-weight: 700; font-style: italic; letter-spacing: 0.1em;
}
/* ---- Orbiting planets: small solid black circles, label below ---- */
.planet.orbit { width: 14%; height: 14%; }
/* 軌道の6つ — 黒い線だけの空のオブジェクト。中は何もない。 */
.planet.orbit .body {
  background: transparent !important;
  background-image: none !important;
  border: 1px solid var(--ink);
  box-shadow: none;
  filter: none;
  animation: slack-blob-b 11s ease-in-out infinite;
}
.planet.orbit .body::before { display: none; }
/* Stagger each orbit's morph so they don't pulse in unison */
.planet.orbit:nth-of-type(2) .body { animation: slack-blob-c 13s ease-in-out infinite; animation-delay: -2.1s; }
.planet.orbit:nth-of-type(3) .body { animation-name: slack-blob-a; animation-duration: 12.5s; animation-delay: -4.4s; }
.planet.orbit:nth-of-type(4) .body { animation-name: slack-blob-b; animation-duration: 13.8s; animation-delay: -6.7s; }
.planet.orbit:nth-of-type(5) .body { animation-name: slack-blob-c; animation-duration: 11.4s; animation-delay: -1.5s; }
.planet.orbit:nth-of-type(6) .body { animation-name: slack-blob-a; animation-duration: 12.2s; animation-delay: -8.2s; }
.planet.orbit .orbit-label {
  position: absolute;
  /* 既定: 円の真下に置く(下側軌道用) */
  left: 50%;
  top: calc(100% + 0.8rem);
  transform: translateX(-50%);
  inset: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  z-index: 3;
  line-height: 1.35;
  white-space: nowrap;
}

/* ラベルは斜め(対角)に配置 — 真横を避け、各軌道の外側斜めに置く。
   .system 内の DOM 順: center(1), 左上(2), 右上(3), 右(4), 右下(5), 左下(6), 左(7)
   配置パターン: 平天六角形(flat-top hex) */

/* 左上(リサーチ) → 左下の対角(タイトルを避けて下方向へ) */
.planet.orbit:nth-of-type(2) .orbit-label {
  right: calc(100% + 0.1rem);
  top: calc(100% + 0.1rem);
  bottom: auto;
  left: auto;
  transform: none;
  text-align: right;
  align-items: flex-end;
}

/* 右上(構造化) → 右下の対角(トップナビを避けて下方向へ) */
.planet.orbit:nth-of-type(3) .orbit-label {
  left: calc(100% + 0.1rem);
  top: calc(100% + 0.1rem);
  bottom: auto;
  right: auto;
  transform: none;
  text-align: left;
  align-items: flex-start;
}

/* 右(ビジョンデザイン) → 右下の対角(真横を避けて下方向へ) */
.planet.orbit:nth-of-type(4) .orbit-label {
  left: calc(100% + 0.1rem);
  top: calc(100% + 0.1rem);
  bottom: auto;
  right: auto;
  transform: none;
  text-align: left;
  align-items: flex-start;
}

/* 右下(事業デザイン) → 右下の対角 */
.planet.orbit:nth-of-type(5) .orbit-label {
  left: calc(100% + 0.1rem);
  top: calc(100% + 0.1rem);
  bottom: auto;
  right: auto;
  transform: none;
  text-align: left;
  align-items: flex-start;
}

/* 左下(人材開発) → 左下の対角 */
.planet.orbit:nth-of-type(6) .orbit-label {
  right: calc(100% + 0.1rem);
  top: calc(100% + 0.1rem);
  bottom: auto;
  left: auto;
  transform: none;
  text-align: right;
  align-items: flex-end;
}

/* 左(共創エコシステム) → 左下の対角(真横を避けて下方向へ) */
.planet.orbit:nth-of-type(7) .orbit-label {
  right: calc(100% + 0.1rem);
  top: calc(100% + 0.1rem);
  bottom: auto;
  left: auto;
  transform: none;
  text-align: right;
  align-items: flex-end;
}
.planet.orbit .orbit-label .ttl {
  display: block;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック", sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-shadow: 0 1px 2px rgba(255,250,238,0.35);
  transition: color .3s ease;
}
.planet.orbit .orbit-label .sub {
  display: block;
  margin-top: 0.35em;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(26,20,16,0.65);
  text-shadow: none;
  transition: color .3s ease;
}
@media (min-width: 1100px) {
  .planet.orbit .orbit-label .ttl { font-size: 1.2rem; }
  .planet.orbit .orbit-label .sub { font-size: 0.72rem; }
}

.planet.orbit a { display: block; width: 100%; height: 100%; position: relative; cursor: pointer; outline: none; overflow: visible; }
.planet.orbit .hover-glow { display: none; }
.planet.orbit .scale-on-hover {
  width: 100%; height: 100%;
  transition: transform .35s ease;
}
.planet.orbit a:hover .scale-on-hover,
.planet.orbit a:focus-visible .scale-on-hover {
  transform: scale(1.08);
  filter: none;
}
.planet.orbit a:hover .body,
.planet.orbit a:focus-visible .body {
  background: transparent !important;
  background-image: none !important;
  border-color: var(--accent-deep);
  border-width: 1.5px;
  box-shadow: none;
}
.planet.orbit a:hover .orbit-label .ttl,
.planet.orbit a:focus-visible .orbit-label .ttl { color: var(--accent-deep); }
.planet.orbit a:hover .orbit-label .sub,
.planet.orbit a:focus-visible .orbit-label .sub { color: rgba(26,20,16,0.8); }

/* ---- Mobile ---- */
@media (max-width: 640px) {
  .hero { padding: 1rem; }
  .hero-top { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .title-block { text-align: left; }
  .hero h1 { font-size: 0.9rem; }
  .system { width: min(96vw, 70vh); }
  .planet.center { width: 56%; height: 56%; }
  .planet.orbit { width: 16%; height: 16%; }
  .planet.center .surface-keywords .kw.l { font-size: 0.7rem; }
  .planet.center .surface-keywords .kw.m { font-size: 0.6rem; }
  .planet.center .surface-keywords .kw.s { font-size: 0.54rem; }
  .wicked-label .l1 { font-size: 1.4rem; letter-spacing: 0.08em; }
  .wicked-label .l2 { font-size: 0.65rem; letter-spacing: 0.15em; margin-top: 0.7em; }
  .planet.orbit .orbit-label .sub { font-size: 0.55rem; }
  .planet.orbit .orbit-label .ttl { font-size: 0.78rem; }
  .planet.orbit .orbit-label { top: calc(100% + 0.4rem); }
  /* モバイルでは斜め配置をやめて全て下に */
  .planet.orbit:nth-of-type(2) .orbit-label,
  .planet.orbit:nth-of-type(3) .orbit-label,
  .planet.orbit:nth-of-type(4) .orbit-label,
  .planet.orbit:nth-of-type(5) .orbit-label,
  .planet.orbit:nth-of-type(6) .orbit-label,
  .planet.orbit:nth-of-type(7) .orbit-label {
    top: calc(100% + 0.4rem);
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: center;
    align-items: center;
  }
}

/* ===== Top-right global navigation (sticky to viewport) ===== */
.top-nav {
  position: fixed;
  top: 1.75rem;
  right: 1.5rem;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 9999px;
  animation: fade-in 1.4s ease-out 200ms both;
  --target-opacity: 1;
  max-width: calc(100vw - 3rem);
  flex-wrap: nowrap;
}
@media (min-width: 768px) {
  .top-nav { top: 2.25rem; right: 2.5rem; gap: 1.4rem; }
}
@media (min-width: 1280px) {
  .top-nav { gap: 1.7rem; right: 3rem; }
}
.top-nav a {
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: opacity .25s ease, color .25s ease;
  white-space: nowrap;
  position: relative;
  padding-bottom: 3px;
}
/* 「厄介な課題とは」は approach 群と意味的に分けるため、右に細い縦線 */
.top-nav .wicked-link {
  padding-right: 1.1rem;
  margin-right: 0.1rem;
  border-right: 1px solid rgba(26, 20, 16, 0.25);
}
@media (min-width: 1280px) {
  .top-nav a { font-size: 0.82rem; }
}
.top-nav a:hover,
.top-nav a:focus-visible { opacity: 0.65; outline: none; }
.top-nav a[aria-current="page"] {
  opacity: 1;
}
.top-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
}
.top-nav .contact-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 9999px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  transition: background-color .3s ease, transform .3s ease;
  padding-bottom: 0.5rem;
}
.top-nav .contact-pill::after { display: none !important; }
@media (min-width: 1280px) {
  .top-nav .contact-pill { font-size: 0.82rem; padding: 0.55rem 1.3rem; }
}
.top-nav .contact-pill:hover,
.top-nav .contact-pill:focus-visible {
  background: #000;
  opacity: 1;
  transform: translateY(-1px);
}

/* Light-page variant — used on approach/case subpages */
.light-page .top-nav a,
body:has(main.approach) .top-nav a { color: var(--light-fg); }
.light-page .top-nav .contact-pill,
body:has(main.approach) .top-nav .contact-pill { background: var(--ink); color: var(--paper); }
.light-page .top-nav .contact-pill:hover,
body:has(main.approach) .top-nav .contact-pill:hover { background: #000; }

@media (max-width: 900px) {
  .top-nav { gap: 0.7rem; }
  .top-nav a:not(.contact-pill) { display: none; }
  .top-nav .contact-pill { padding: 0.45rem 1rem; font-size: 0.7rem; }
}

/* ===== Floating contact button (kept for pages without top-nav, but hidden when nav exists) ===== */
body:has(.top-nav) .contact-fab { display: none; }
.contact-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.2rem 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: background-color .3s ease, transform .3s ease;
}
.contact-fab:hover,
.contact-fab:focus-visible {
  background: #000;
  transform: translateY(-1px);
  outline: none;
}
.contact-fab .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  font-size: 0.78rem;
  line-height: 1;
}
.contact-fab .arrow {
  margin-left: 0.2rem;
  font-size: 0.7rem;
  opacity: 0.7;
  transition: transform .3s ease;
}
.contact-fab:hover .arrow,
.contact-fab:focus-visible .arrow { transform: translateX(3px); opacity: 1; }
@media (min-width: 768px) {
  .contact-fab { right: 2rem; bottom: 2rem; font-size: 0.74rem; }
}

/* ===== Approach subpages — light theme with amber accents ===== */
.light-page {
  background: var(--light-bg);
  color: var(--light-fg);
}
.light-page::before,
.light-page::after { display: none !important; }

.light-page .back-link { color: var(--light-fg-muted); }
.light-page .back-link:hover { color: var(--accent); }

.approach {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 4rem 1.5rem;
  background: var(--light-bg);
  color: var(--light-fg);
}
@media (min-width: 768px) { .approach { padding: 5.5rem 3rem; } }
.approach .wrap { position: relative; z-index: 10; max-width: 64rem; margin: 0 auto; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  color: var(--light-fg-muted);
  transition: color .3s ease;
}
.back-link:hover { color: var(--accent); }

.header-section {
  position: relative;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .header-section { margin-top: 4rem; gap: 3.5rem; }
  /* Only allocate orb column when a .hero-planet exists in the header */
  .header-section:has(.hero-planet) { grid-template-columns: 160px 1fr; }
}
.hero-planet {
  position: relative;
  margin: 0 auto;
  width: 6rem;
  height: 6rem;
}
@media (min-width: 768px) { .hero-planet { width: 8rem; height: 8rem; } }
.hero-planet .glow { display: none; }
.hero-planet .ball {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 49% 51% 54% 46% / 45% 48% 52% 55%;
  background: var(--ink) !important;
  background-image:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.05) 0%, transparent 45%) !important;
  border: none;
  box-shadow: none !important;
  animation:
    planet-fade-in-inner 1.2s ease-out both,
    earth-blob 13s ease-in-out infinite,
    orb-breath 9s ease-in-out 1600ms infinite;
  will-change: border-radius;
}
.hero-planet .tx { display: none; }
.hero-planet .lab {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.hero-planet .lab .num {
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.55);
}
.hero-planet .lab .ttl {
  margin-top: 0.5rem;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--paper);
}
@media (min-width: 768px) { .hero-planet .lab .ttl { font-size: 1.05rem; } }

.header-text .eyebrow {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0;
  font-weight: 400;
}
.header-text h1 {
  margin: 0.85rem 0 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--light-fg);
  line-height: 1.45;
}
@media (min-width: 768px) { .header-text h1 { font-size: 3rem; } }
.header-text .sub {
  margin-top: 1.25rem;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 1.2rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
}

@media (min-width: 768px) {
  .header-text { position: relative; padding-top: 1.2rem; }
  .header-text .eyebrow { position: absolute; top: 0; left: 0; }
  .header-text h1 { margin-top: 0; }
  .hero-planet { margin-top: 1.2rem; }
}
.header-text .desc {
  margin: 1.6rem 0 0;
  max-width: 38rem;
  font-size: 0.95rem;
  line-height: 2.1;
  color: var(--light-fg-soft);
}
.header-text .desc + .desc { margin-top: 1.2rem; }

.cases-section { margin-top: 5rem; }
@media (min-width: 768px) { .cases-section { margin-top: 7rem; } }
.cases-head {
  display: flex;
  align-items: end;
  justify-content: flex-start;
  border-bottom: 1px solid var(--light-hairline);
  padding-bottom: 1.6rem;
}
.cases-head h2 {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--light-fg);
  line-height: 1.2;
}
@media (min-width: 768px) { .cases-head h2 { font-size: 1.85rem; } }
.cases-head h2 .en {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}
@media (min-width: 768px) { .cases-head h2 .en { font-size: 1.25rem; } }

.cases-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 768px) { .cases-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (min-width: 1024px) { .cases-grid { grid-template-columns: repeat(3, 1fr); } }

.case {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0;
  border: none;
  background: transparent;
  text-decoration: none;
  color: inherit;
  box-shadow: none;
  transition: transform .4s ease;
}
.case:hover { transform: none; }
.case .photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--light-bg-soft);
  border-radius: 0;
}
.case .photo .placeholder,
.case .photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.case:hover .photo .placeholder,
.case:hover .photo img { transform: scale(1.03); }
.case .placeholder {
  display: flex; align-items: center; justify-content: center;
  font-family: "Open Sans", sans-serif;
  font-size: 0.6rem; letter-spacing: 0.35em;
  color: rgba(255,255,255,0.7); text-transform: uppercase;
  background: var(--ink) !important;
}
.case .placeholder.c1,
.case .placeholder.c2,
.case .placeholder.c3,
.case .placeholder.c4,
.case .placeholder.c5,
.case .placeholder.c6 { background: var(--ink) !important; }

.case .theme { display: none; }

.case .body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.4rem 0 0;
  gap: 0.7rem;
  background: transparent;
}
.case .ttl {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--light-fg);
  order: 1;
}
.case .ttl .name {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.55rem;
}
.case .ttl .summary {
  display: block;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--light-fg);
  letter-spacing: 0.04em;
  line-height: 1.7;
}
@media (min-width: 768px) { .case .ttl .summary { font-size: 1.08rem; } }
@media (min-width: 768px) { .case .ttl { font-size: 1.08rem; } }

.case .partner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.55rem 0;
  align-items: center;
  margin-top: auto;
  padding-top: 1.1rem;
  padding-bottom: 0.2rem;
  border-top: 1px solid var(--light-hairline);
  order: 3;
}
.case .partner::before {
  content: "Partner";
  grid-column: 1 / -1; grid-row: 1;
  justify-self: start;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--light-fg-muted);
}
.case .partner .logo {
  height: 48px; width: auto;
  min-width: 48px; max-width: 140px;
  padding: 6px 10px;
  border-radius: 0;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Open Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--light-fg);
  flex: none;
}
.case .partner .logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; object-fit: contain; }
.case .partner .logo {
  grid-column: 2; grid-row: 2;
}
.case .partner .logo-group {
  grid-column: 2; grid-row: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.case .partner .logo-group .logo {
  grid-column: auto; grid-row: auto;
}
.case .partner .meta {
  grid-column: 1 / -1; grid-row: 3;
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}
.case .partner .meta .label { display: none; }
.case .partner .meta .name {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--light-fg-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.case .partner:has(.logo img) .meta { display: none; }
.case .arrow {
  grid-column: 3; grid-row: 2;
  justify-self: end;
  color: var(--light-fg-muted);
  transition: transform .35s ease, color .35s ease;
}
.case:hover .arrow { color: var(--accent); transform: translateX(3px); }

.approach-foot {
  margin-top: 3rem;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--light-fg-muted);
}
@media (min-width: 768px) { .approach-foot { margin-top: 4rem; } }
.approach-foot a { transition: color .3s ease; }
.approach-foot a:hover { color: var(--accent); }

/* ===== Other approaches navigation ===== */
.other-approaches {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--light-hairline);
}
@media (min-width: 768px) { .other-approaches { margin-top: 7rem; } }
.other-approaches > .head { margin-bottom: 2rem; }
.other-approaches > .head h2 {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--light-fg);
  line-height: 1.2;
}
@media (min-width: 768px) { .other-approaches > .head h2 { font-size: 1.4rem; } }
.other-approaches > .head h2 .en {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}
@media (min-width: 768px) { .other-approaches > .head h2 .en { font-size: 1.05rem; } }

.other-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 1rem;
}
@media (min-width: 720px) { .other-grid { grid-template-columns: repeat(5, 1fr); gap: 0.8rem; } }

.other-item {
  text-decoration: none;
  color: var(--light-fg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.2rem 0.6rem;
  border-radius: 0;
  border: none;
  background: transparent;
  transition: color .3s ease;
}
.other-item:hover {
  background: transparent;
  color: var(--accent);
  transform: none;
  box-shadow: none;
}
.other-item .orb {
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 51% 49% / 49% 50% 51% 50%;
  background: var(--paper-cream) !important;
  background-image:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,1) 0%, transparent 50%),
    radial-gradient(circle at 72% 78%, rgba(178,140,96,0.18) 0%, transparent 60%),
    linear-gradient(135deg, #ffffff 0%, #f3e5cc 100%) !important;
  border: none;
  box-shadow: 0 3px 10px rgba(80,46,12,0.1);
  animation: slack-blob-b 12s ease-in-out infinite;
}
.other-item:hover .orb { box-shadow: 0 6px 16px rgba(80,46,12,0.18); }
.other-item .num { display: none; }
.other-item .ttl {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: inherit;
}
.other-item .sub {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--light-fg-muted);
  font-weight: 400;
  line-height: 1.5;
}
