/* ============================================================
   鋸歯生物図鑑 — style.css
   共通スタイル + index + about
   ============================================================ */

/* BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --bg: #ffffff;
  --bg2: #f7f7f5;
  --bg3: #efefeb;
  --ink: #111110;
  --ink2: #444441;
  --ink3: #888780;
  --g: #3b6d11;
  --g2: #639922;
  --gp: #eaf3de;
  --red: #d85a30;
  --redp: #faece7;
  --amb: #ba7517;
  --ambp: #faeeda;
  --br: rgba(17, 17, 16, 0.1);
  --br2: rgba(17, 17, 16, 0.18);
  --mono: "Share Tech Mono", monospace;
  --disp: "Playfair Display", serif;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  overflow-x: hidden;
  cursor: crosshair;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.012) 3px,
    rgba(0, 0, 0, 0.012) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg);
  border-bottom: 1px solid var(--br2);
  padding: 0 40px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sys-badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--g);
  background: var(--gp);
  border: 1px solid var(--g);
  padding: 3px 8px;
}
.logo {
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-left: 16px;
  text-decoration: none;
  color: var(--ink);
}
.header-left {
  display: flex;
  align-items: center;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink3);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-a:hover,
.nav-a.current {
  color: var(--g);
}
.entry-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink3);
  border: 1px solid var(--br2);
  padding: 4px 12px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--br2);
  padding: 22px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg2);
}
.ft-logo {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink3);
}
.ft-copy {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink3);
  opacity: 0.45;
}

/* ============================================================
   COMMON COMPONENTS
   ============================================================ */

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Pulse dot */
.pulse {
  width: 7px;
  height: 7px;
  background: var(--g2);
  border-radius: 50%;
  animation: pulseA 2s ease-in-out infinite;
  display: inline-block;
}
@keyframes pulseA {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.75);
  }
}

/* Rarity badges */
.rarity {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  padding: 4px 10px;
  border: 1px solid;
}
.rar-l {
  color: #f5c542;
  border-color: #f5c542;
  background: rgba(245, 197, 66, 0.14);
}
.rar-e {
  color: #a855f7;
  border-color: #a855f7;
  background: rgba(168, 85, 247, 0.14);
}
.rar-r {
  color: var(--red);
  border-color: var(--red);
  background: var(--redp);
}
.rar-uc {
  color: var(--amb);
  border-color: var(--amb);
  background: var(--ambp);
}
.rar-c {
  color: var(--g);
  border-color: var(--g);
  background: var(--gp);
}

/* Buttons */
.btn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 13px 26px;
  text-decoration: none;
  cursor: crosshair;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.btn-p {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}
.btn-p:hover {
  background: var(--g);
  border-color: var(--g);
}
.btn-o {
  background: transparent;
  color: var(--ink2);
  border: 1px solid var(--br2);
}
.btn-o:hover {
  border-color: var(--ink2);
  color: var(--ink);
}

/* Section header */
.sec-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--br2);
}
.sec-no {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--ink3);
  margin-bottom: 7px;
}
.sec-title {
  font-family: "Shippori Mincho", serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Sys divider */
.sys-div {
  display: flex;
  border-top: 1px solid var(--br2);
  border-bottom: 1px solid var(--br2);
  background: var(--bg2);
}
.sys-dc {
  flex: 1;
  padding: 11px 36px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--ink3);
  border-right: 1px solid var(--br2);
}
.sys-dc:last-child {
  border-right: none;
}
.sys-dc span {
  color: var(--g);
}

/* Status bars */
.bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 170px;
}
.bar-row {
  display: flex;
  align-items: center;
  gap: 7px;
}
.bar-k {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--ink3);
  width: 48px;
}
.bar-t {
  flex: 1;
  height: 4px;
  background: var(--bg3);
}
.bar-f {
  height: 100%;
  background: var(--g);
}
.bar-f.d {
  background: var(--red);
}
.bar-f.a {
  background: var(--amb);
}

/* ============================================================
   INDEX — HERO
   ============================================================ */
.hero {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 52px);
  border-bottom: 1px solid var(--br2);
}
.hero-l {
  padding: 72px 56px;
  border-right: 1px solid var(--br2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero-l::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--br) 1px, transparent 1px),
    linear-gradient(90deg, var(--br) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-l > * {
  position: relative;
  z-index: 1;
}
.entry-lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--g);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.entry-lbl::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--g);
}
.h-title {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(52px, 5.5vw, 82px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.h-en {
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--ink3);
  margin-bottom: 44px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--br2);
  border: 1px solid var(--br2);
  margin-bottom: 44px;
}
.stat-c {
  background: var(--bg);
  padding: 14px 18px;
}
.stat-lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink3);
  margin-bottom: 5px;
}
.stat-v {
  font-family: var(--mono);
  font-size: 20px;
  color: var(--ink);
}
.stat-u {
  font-size: 10px;
  color: var(--ink3);
  margin-left: 2px;
}
.h-desc {
  font-size: 13px;
  line-height: 2.2;
  color: var(--ink2);
  max-width: 400px;
  margin-bottom: 44px;
}
.cta-row {
  display: flex;
  gap: 12px;
}

/* Hero right — specimen viewer */
.hero-r {
  background: var(--bg2);
  display: flex;
  flex-direction: column;
}
.sp-hd {
  padding: 20px 28px;
  border-bottom: 1px solid var(--br2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
}
.sp-id {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink3);
}
.sp-view {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.reticle {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.reticle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(99, 153, 34, 0.18);
  border-radius: 50%;
}
.reticle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(99, 153, 34, 0.12);
  border-radius: 50%;
}
.cm {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--g2);
  border-style: solid;
  opacity: 0.5;
}
.cm-tl {
  top: 28px;
  left: 28px;
  border-width: 1px 0 0 1px;
}
.cm-tr {
  top: 28px;
  right: 28px;
  border-width: 1px 1px 0 0;
}
.cm-bl {
  bottom: 72px;
  left: 28px;
  border-width: 0 0 1px 1px;
}
.cm-br {
  bottom: 72px;
  right: 28px;
  border-width: 0 1px 1px 0;
}
.sp-float {
  animation: flt 5s ease-in-out infinite;
}
@keyframes flt {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.sp-float img {
  max-height: 320px;
  max-width: 100%;
  object-fit: contain;
}
.sp-ft {
  padding: 14px 28px;
  border-top: 1px solid var(--br2);
  background: var(--bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sp-nm-jp {
  font-family: "Shippori Mincho", serif;
  font-size: 17px;
  font-weight: 700;
}
.sp-nm-en {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--ink3);
  margin-top: 2px;
}

/* ============================================================
   INDEX — CATALOG
   ============================================================ */
.cat-sec {
  padding: 72px 40px;
}
.flt-row {
  display: flex;
  gap: 8px;
}
.flt-btn {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  padding: 5px 13px;
  border: 1px solid var(--br2);
  background: transparent;
  color: var(--ink3);
  cursor: crosshair;
  transition: all 0.2s;
}
.flt-btn:hover,
.flt-btn.active {
  border-color: var(--g);
  color: var(--g);
  background: var(--gp);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--br2);
  border: 1px solid var(--br2);
}
.ecard {
  background: var(--bg);
  transition: background 0.2s;
  cursor: crosshair;
  display: flex;
  flex-direction: column;
}
.ecard:hover {
  background: var(--bg2);
}
.ct {
  padding: 14px 18px 11px;
  border-bottom: 1px solid var(--br);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f5f5f5;
}
.cno {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink3);
}
.cillus {
  width: 100%;
  height: 300px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--br);
}
.cillus::before,
.cillus::after {
  content: "";
  position: absolute;
  background: var(--br);
}
.cillus::before {
  width: 1px;
  height: 100%;
  left: 50%;
}
.cillus::after {
  height: 1px;
  width: 100%;
  top: 50%;
}
.cillus img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  z-index: 10;
  padding: 18px;
}
.cbody {
  padding: 15px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ctag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--g);
  background: var(--gp);
  border: 1px solid var(--g);
  padding: 2px 7px;
  margin-bottom: 9px;
}
.cnm-jp {
  font-family: "Shippori Mincho", serif;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 2px;
}
.cnm-en {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink3);
  margin-bottom: 12px;
}
.cdesc {
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink2);
  margin-bottom: 14px;
  flex: 1;
}
.cdata {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--br);
  border-top: 1px solid var(--br2);
  margin: 0 -18px -15px;
}
.dc {
  background: var(--bg);
  padding: 9px 13px;
}
.dc:hover {
  background: var(--bg2);
}
.dk {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  color: var(--ink3);
  margin-bottom: 2px;
}
.dv {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
}

/* ============================================================
   INDEX — ABILITY
   ============================================================ */
.ab-sec {
  padding: 0 40px 72px;
}
.ab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--br2);
  border: 1px solid var(--br2);
}
.ab-c {
  background: var(--bg);
  padding: 22px 26px;
}
.ab-ic {
  width: 34px;
  height: 34px;
  border: 1px solid var(--br2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 15px;
}
.ab-nm {
  font-family: "Shippori Mincho", serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 7px;
}
.ab-desc {
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink2);
}

/* ============================================================
   INDEX — WORLD LOG
   ============================================================ */
.log-sec {
  background: var(--ink);
  color: #e0e0d8;
  padding: 72px 40px;
  position: relative;
  overflow: hidden;
}
.log-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}
.log-sec > * {
  position: relative;
  z-index: 1;
}
.log-hd {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
}
.log-ttl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--g2);
}
.log-q {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(20px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.85;
  color: #f0f0e8;
  max-width: 660px;
  margin-bottom: 36px;
}
.log-b {
  font-size: 13px;
  line-height: 2.4;
  color: rgba(224, 224, 216, 0.58);
  max-width: 520px;
}
.log-dr {
  display: flex;
  gap: 1px;
  margin-top: 56px;
  background: rgba(255, 255, 255, 0.055);
}
.log-dc {
  flex: 1;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.02);
}
.log-dk {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(224, 224, 216, 0.38);
  margin-bottom: 5px;
}
.log-dv {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--g2);
}
/* ============================================================
   WORLD ACTIONS
   ============================================================ */

.world-actions {
  display: flex;
  gap: 14px;
  margin-top: 42px;
  flex-wrap: wrap;
}

.world-btn {
  position: relative;

  display: inline-flex;
  flex-direction: column;
  gap: 4px;

  min-width: 220px;

  padding: 16px 18px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.015)
  );

  text-decoration: none;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;

  overflow: hidden;
}

.world-btn::before {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(99, 153, 34, 0.12),
    transparent
  );

  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.world-btn:hover::before {
  transform: translateX(100%);
}

.world-btn:hover {
  transform: translateY(-2px);

  border-color: rgba(99, 153, 34, 0.35);

  background: linear-gradient(
    180deg,
    rgba(99, 153, 34, 0.12),
    rgba(255, 255, 255, 0.03)
  );
}

.world-btn-jp {
  font-size: 13px;
  color: #f0f0e8;
  letter-spacing: 0.08em;
}

.world-btn-en {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: rgba(224, 224, 216, 0.4);
}

.world-btn.ghost:hover {
  border-color: rgba(216, 90, 48, 0.35);

  background: linear-gradient(
    180deg,
    rgba(216, 90, 48, 0.1),
    rgba(255, 255, 255, 0.02)
  );
}

/* ============================================================
   INDEX — MAKER
   ============================================================ */
.mkr-sec {
  padding: 72px 40px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  border-top: 1px solid var(--br2);
}
.mkr-div {
  background: var(--br2);
}
.mkr-l {
  padding-right: 56px;
}
.mkr-r {
  padding-left: 56px;
}
.mkr-lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--ink3);
  margin-bottom: 18px;
}
.mkr-nm {
  font-family: "Shippori Mincho", serif;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 5px;
}
.mkr-st {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink3);
  margin-bottom: 24px;
}
.mkr-desc {
  font-size: 13px;
  line-height: 2.2;
  color: var(--ink2);
}
.prof-tbl {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
}
.prof-tbl tr {
  border-bottom: 1px solid var(--br);
}
.prof-tbl td {
  padding: 11px 0;
  font-size: 12px;
}
.prof-tbl td:first-child {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink3);
  width: 96px;
}
.ig-lnk {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--br2);
  padding: 11px 18px;
  margin-top: 28px;
  transition: all 0.2s;
}
.ig-lnk:hover {
  border-color: var(--g);
  color: var(--g);
  background: var(--gp);
}

/* ============================================================
   ABOUT — PAGE HERO
   ============================================================ */
.page-hero {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
  border-bottom: 1px solid var(--br2);
}
.ph-left {
  padding: 72px 56px;
  border-right: 1px solid var(--br2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
.ph-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--br) 1px, transparent 1px),
    linear-gradient(90deg, var(--br) 1px, transparent 1px);
  background-size: 40px 40px;
}
.ph-left > * {
  position: relative;
  z-index: 1;
}
.breadcrumb {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink3);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.breadcrumb a {
  color: var(--ink3);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--g);
}
.breadcrumb-sep {
  opacity: 0.4;
}
.ph-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--g);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ph-label::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--g);
}
.ph-title {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.ph-en {
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--ink3);
}
.ph-right {
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.ph-quote {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.9;
  color: var(--ink);
  border-left: 2px solid var(--g);
  padding-left: 28px;
  margin-bottom: 28px;
}
.ph-quote-src {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink3);
  padding-left: 28px;
}

/* ============================================================
   ABOUT — STATEMENT
   ============================================================ */
.stmt-sec {
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  border-bottom: 1px solid var(--br2);
}
.stmt-no {
  font-family: var(--mono);
  font-size: 72px;
  font-weight: 400;
  color: var(--bg3);
  line-height: 1;
  user-select: none;
  letter-spacing: -0.04em;
}
.stmt-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--ink3);
  margin-bottom: 20px;
}
.stmt-heading {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 28px;
}
.stmt-text {
  font-size: 14px;
  line-height: 2.5;
  color: var(--ink2);
  max-width: 620px;
}
.stmt-text + .stmt-text {
  margin-top: 20px;
}

/* ============================================================
   ABOUT — TAXONOMY
   ============================================================ */
.tax-sec {
  padding: 80px 40px;
  border-bottom: 1px solid var(--br2);
  background: var(--bg2);
}
.tax-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--br2);
  border: 1px solid var(--br2);
  margin-top: 40px;
}
.tax-cell {
  background: var(--bg);
  padding: 28px 28px 32px;
  position: relative;
  overflow: hidden;
}
.tax-cell::before {
  content: attr(data-num);
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--disp);
  font-size: 40px;
  color: var(--bg3);
  line-height: 1;
  user-select: none;
}
.tax-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  padding: 2px 8px;
  border: 1px solid;
  margin-bottom: 16px;
}
.tax-tag.plant {
  color: var(--g);
  border-color: var(--g);
  background: var(--gp);
}
.tax-tag.animal {
  color: var(--red);
  border-color: var(--red);
  background: var(--redp);
}
.tax-tag.balanced {
  color: var(--amb);
  border-color: var(--amb);
  background: var(--ambp);
}
.tax-name {
  font-family: "Shippori Mincho", serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.tax-name-en {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--ink3);
  margin-bottom: 16px;
}
.tax-desc {
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink2);
}
.tax-bar-wrap {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tax-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tax-bar-k {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--ink3);
  width: 46px;
}
.tax-bar-t {
  flex: 1;
  height: 3px;
  background: var(--bg3);
}
.tax-bar-f {
  height: 100%;
}
.tf-g {
  background: var(--g);
}
.tf-r {
  background: var(--red);
}
.tf-a {
  background: var(--amb);
}

/* ============================================================
   ABOUT — ECOLOGY
   ============================================================ */
.eco-sec {
  padding: 80px 40px;
  border-bottom: 1px solid var(--br2);
}
.eco-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--br2);
  border: 1px solid var(--br2);
  margin-top: 40px;
}
.eco-cell {
  background: var(--bg);
  padding: 36px 32px;
}
.eco-cell-full {
  grid-column: 1 / -1;
  background: var(--ink);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.eco-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--ink3);
  margin-bottom: 14px;
}
.eco-cell-full .eco-num {
  color: rgba(255, 255, 255, 0.3);
}
.eco-heading {
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}
.eco-cell-full .eco-heading {
  color: #f0f0e8;
  font-size: 24px;
}
.eco-text {
  font-size: 13px;
  line-height: 2.1;
  color: var(--ink2);
}
.eco-cell-full .eco-text {
  color: rgba(224, 224, 216, 0.6);
  line-height: 2.3;
}
.eco-data {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.eco-data-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
}
.eco-dk {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(224, 224, 216, 0.35);
  width: 110px;
  flex-shrink: 0;
}
.eco-dv {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--g2);
}

/* ============================================================
   ABOUT — ARTIST STATEMENT
   ============================================================ */
.artist-sec {
  padding: 80px 40px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.artist-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}
.artist-sec > * {
  position: relative;
  z-index: 1;
}
.artist-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.artist-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(224, 224, 216, 0.35);
  margin-bottom: 20px;
}
.artist-name {
  font-family: "Shippori Mincho", serif;
  font-size: 36px;
  font-weight: 700;
  color: #f0f0e8;
  margin-bottom: 6px;
}
.artist-studio {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(224, 224, 216, 0.4);
  margin-bottom: 36px;
}
.artist-stmt {
  font-family: "Shippori Mincho", serif;
  font-size: 15px;
  line-height: 2.6;
  color: rgba(224, 224, 216, 0.75);
}
.artist-stmt-en {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 2.2;
  color: rgba(224, 224, 216, 0.3);
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.process-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255, 255, 255, 0.055);
}
.process-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.02);
  align-items: start;
}
.proc-step {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--g2);
  padding-top: 2px;
}
.proc-title {
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  font-weight: 600;
  color: #f0f0e8;
  margin-bottom: 6px;
}
.proc-desc {
  font-size: 12px;
  line-height: 1.9;
  color: rgba(224, 224, 216, 0.45);
}

/* ============================================================
   ABOUT — NEXT LINKS
   ============================================================ */
.next-sec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--br2);
}
.next-cell {
  padding: 40px;
  text-decoration: none;
  border-right: 1px solid var(--br2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.2s;
  cursor: crosshair;
}
.next-cell:last-child {
  border-right: none;
}
.next-cell:hover {
  background: var(--bg2);
}
.next-dir {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--ink3);
}
.next-title {
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.next-en {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--ink3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  /* Header / Footer */
  header {
    padding: 0 18px;
  }
  .header-right {
    display: none;
  }
  footer {
    padding: 18px 22px;
    flex-direction: column;
    gap: 7px;
  }
  .sys-div {
    display: none;
  }

  /* Index */
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-r {
    display: none;
  }
  .hero-l {
    padding: 44px 22px;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .cat-sec,
  .ab-sec,
  .mkr-sec,
  .log-sec {
    padding: 44px 22px;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .ab-grid {
    grid-template-columns: 1fr;
  }
  .mkr-sec {
    grid-template-columns: 1fr;
  }
  .mkr-div {
    display: none;
  }
  .mkr-l {
    padding-right: 0;
    padding-bottom: 44px;
    border-bottom: 1px solid var(--br2);
  }
  .mkr-r {
    padding-left: 0;
    padding-top: 44px;
  }
  .log-dr {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  /* About */
  .page-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .ph-left {
    padding: 44px 22px 32px;
    border-right: none;
    border-bottom: 1px solid var(--br2);
  }
  .ph-right {
    padding: 32px 22px 44px;
  }
  .stmt-sec {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 48px 22px;
  }
  .stmt-no {
    font-size: 48px;
  }
  .tax-sec,
  .eco-sec,
  .artist-sec {
    padding: 48px 22px;
  }
  .tax-grid {
    grid-template-columns: 1fr;
  }
  .tax-cell[style*="grid-column"] {
    grid-column: 1 / -1 !important;
  }
  .eco-grid {
    grid-template-columns: 1fr;
  }
  .eco-cell-full {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .artist-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .next-sec {
    grid-template-columns: 1fr;
  }
  .next-cell {
    border-right: none;
    border-bottom: 1px solid var(--br2);
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .tax-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tax-cell[style*="grid-column"] {
    grid-column: 1 / -1 !important;
  }
}

/* ============================================================
   ENTRY — WORLD CONSISTENT UI
   ============================================================ */

.entry-wrap {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 40px;
}

/* HERO */
.entry-hero {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--br2);
  margin-bottom: 40px;
}

.entry-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--ink3);
  margin-bottom: 14px;
}

.entry-tag {
  color: var(--g);
}

.entry-title-jp {
  font-family: "Shippori Mincho", serif;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 6px;
}

.entry-title-en {
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink3);
}

/* BODY */
.entry-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.entry-image {
  background: var(--bg2);
  border: 1px solid var(--br2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
}

.entry-image img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  z-index: 10;
}

.entry-image::before,
.entry-image::after {
  content: "";
  position: absolute;
  background: var(--br);
}

.entry-image::before {
  width: 1px;
  height: 100%;
  left: 50%;
}

.entry-image::after {
  height: 1px;
  width: 100%;
  top: 50%;
}

/* INFO */
.entry-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.entry-section-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--g);
  border-bottom: 1px solid var(--br2);
  padding-bottom: 10px;
}

.entry-desc {
  font-size: 13px;
  line-height: 2.2;
  color: var(--ink2);
}

/* TABLE */
.entry-table {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--br2);
}

.entry-row {
  display: flex;
  background: var(--bg);
  padding: 12px 14px;
}

.entry-row .k {
  width: 110px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink3);
}

.entry-row .v {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
}

/* MOBILE */
@media (max-width: 900px) {
  .entry-body {
    grid-template-columns: 1fr;
  }

  .entry-wrap {
    padding: 0 22px;
  }

  .entry-title-jp {
    font-size: 30px;
  }
}
