@charset "UTF-8";
/* ============================================================
   nzw.jp APPS — 「捨てた判断」からアプリを説明するページ
   ------------------------------------------------------------
   軸: 残っている機能ではなく、やめた判断のほうがアプリを説明する。
   だから朱書き（訂正線）が主役で、そこから線が伸びた先が「今」。

   夜の製図台。紙 + インクの言語を反転させた関係にあり、
   goods / book の紙色ページと兄弟に見えるよう、
   角丸・線の太さ・余白の作法だけは揃えている。

   色は 2 つしか使わない。増やすと「やめた / 今」の対比が濁る。
     --strike  朱  やめた判断・中止したもの
     --live    翠  今も動いているもの
   ============================================================ */

:root {
  --void:       #0D0E0C;   /* 製図台の天板。paper #F5F3EE の反転側 */
  --void-2:     #141512;
  --surface:    #16170F00;
  --panel:      rgba(255, 255, 255, 0.028);
  --line:       rgba(255, 255, 255, 0.10);
  --line-soft:  rgba(255, 255, 255, 0.055);
  --grid:       rgba(255, 255, 255, 0.030);
  --grid-major: rgba(255, 255, 255, 0.055);

  --text:       rgba(255, 255, 255, 0.92);
  --text-mid:   rgba(255, 255, 255, 0.72);
  --sub:        rgba(255, 255, 255, 0.46);
  --faint:      rgba(255, 255, 255, 0.28);

  --strike:     #E0603F;   /* 朱書き。やめた判断 */
  --strike-dim: rgba(224, 96, 63, 0.55);
  --live:       #7FD8CB;   /* 今も動いているもの */
  --live-dim:   rgba(127, 216, 203, 0.28);

  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--void);
  /* 製図台。細方眼 32px の上に太い罫を 160px ごと（本物の方眼紙と同じ入れ子）、
     さらに手元灯の光だまりを 3 つ置いて、平らな黒板にしない */
  background-image:
    radial-gradient(900px 620px at 12% -6%, rgba(255, 233, 200, 0.055), transparent 62%),
    radial-gradient(760px 560px at 92% 34%, rgba(127, 216, 203, 0.032), transparent 60%),
    radial-gradient(680px 520px at 30% 96%, rgba(224, 96, 63, 0.026), transparent 60%),
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size:
    100% 100%, 100% 100%, 100% 100%,
    160px 160px, 160px 160px,
    32px 32px, 32px 32px;
  background-attachment: fixed, fixed, fixed, scroll, scroll, scroll, scroll;
  color: var(--text);
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  word-break: auto-phrase;
  overflow-wrap: break-word;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, li, dl, dd, dt { margin: 0; }
ul { padding: 0; list-style: none; }

.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.section { padding-top: 76px; padding-bottom: 76px; }
/* セクションが続くときは上下の余白を重ねない */
.section + .section { padding-top: 0; }

.label {
  display: inline-block; font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 14px;
}
.section-title { font-size: clamp(22px, 4vw, 30px); font-weight: 900; line-height: 1.35; margin-bottom: 12px; }
.section-sub { font-size: 15px; color: var(--sub); max-width: 620px; line-height: 1.9; }

/* ── 訂正線。このページの主役 ──────────────────────────── */
/* text-decoration ではなく擬似要素。色と太さを朱書きに寄せ、
   線が「引かれる」動きを見せられるようにする */
.strike {
  position: relative;
  color: var(--sub);
  white-space: normal;
}
.strike::after {
  content: "";
  position: absolute; left: -2px; right: -2px; top: 52%;
  height: 2px;
  background: var(--strike);
  transform: scaleX(var(--sx, 1));
  transform-origin: left center;
  border-radius: 2px;
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── ヒーロー ──────────────────────────────────────────── */
.hero { padding: 84px 0 64px; position: relative; }
.hero h1 {
  font-size: clamp(30px, 6.4vw, 56px);
  font-weight: 900; line-height: 1.28; letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.hero h1 .off { color: var(--faint); }
.hero h1 .on  { color: var(--text); }
.hero-lead { font-size: 16px; color: var(--sub); max-width: 640px; line-height: 2; }

/* ヒーローの実演。捨てた judgement に線が引かれ、下へ落ちる */
/* 「捨てた → 今」をページの入口で 1 度だけ実演する。ここが看板になるので、
   本文のカードより一段大きい文字で組む */
.demo {
  position: relative;
  margin: 40px 0 0;
  padding: 30px 32px 28px;
  border: 1px solid var(--line);
  border-radius: 5px 18px 7px 16px;
  background:
    linear-gradient(180deg, rgba(224, 96, 63, 0.05), transparent 46%),
    rgba(255, 255, 255, 0.022);
  max-width: 600px;
}
/* 左肩に朱の見出し。図面の訂正欄の見立て */
.demo::before {
  content: "DROPPED";
  position: absolute; top: -8px; left: 26px;
  padding: 0 8px;
  background: var(--void);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  color: var(--strike-dim);
}
.demo-row { font-size: 19px; font-weight: 900; line-height: 1.55; }
.demo-arrow {
  display: block; margin: 16px 0 16px 7px;
  width: 1px; height: 30px;
  background: linear-gradient(180deg, var(--strike-dim), var(--live-dim));
  position: relative;
}
.demo-arrow::after {
  content: ""; position: absolute; left: -3px; bottom: 0;
  width: 7px; height: 7px;
  border-right: 1px solid var(--live-dim); border-bottom: 1px solid var(--live-dim);
  transform: rotate(45deg);
}
.demo-now { font-size: 19px; font-weight: 900; line-height: 1.55; color: var(--live); }
.demo-cap {
  margin-top: 20px; padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px; color: var(--faint); font-family: var(--mono); letter-spacing: 0.02em;
}

/* ── 系譜 ──────────────────────────────────────────────── */
.lineage { display: grid; gap: 18px; margin-top: 36px; }

.lin {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: stretch;
  border: 1px solid var(--line-soft);
  border-radius: 4px 16px 6px 14px;
  background: var(--panel);
  overflow: hidden;
}

.lin-side { padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; }
.lin-side--from { background: rgba(224, 96, 63, 0.045); }

.lin-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 8px;
}
.lin-side--from .lin-tag { color: var(--strike-dim); }
.lin-side--to   .lin-tag { color: var(--live-dim); }

.lin-name { font-size: 17px; font-weight: 900; line-height: 1.4; margin-bottom: 6px; }
.lin-side--from .lin-name { color: var(--sub); }
.lin-why { font-size: 13px; color: var(--faint); line-height: 1.85; }
.lin-side--to .lin-why { color: var(--text-mid); }

.lin-to-head { display: flex; align-items: center; gap: 11px; margin-bottom: 6px; }
.lin-to-head img { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; }
.lin-ver { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-left: auto; }

/* 中央の継ぎ手。捨てた側から今へ渡る 1 本の線 */
.lin-join { position: relative; }
.lin-join::before {
  content: ""; position: absolute; top: 50%; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--strike-dim), var(--live-dim));
}
.lin-join::after {
  content: ""; position: absolute; top: 50%; right: 16px;
  width: 6px; height: 6px; margin-top: -3px;
  border-top: 1px solid var(--live); border-right: 1px solid var(--live);
  transform: rotate(45deg);
}

/* ── アプリ ────────────────────────────────────────────── */
.app-list { display: grid; gap: 14px; margin-top: 36px; }

.app {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px 26px;
  border: 1px solid var(--line-soft);
  border-radius: 4px 16px 6px 14px;
  background: var(--panel);
  transition: border-color 0.2s, background 0.2s;
}
.app:hover { border-color: var(--line); background: rgba(255, 255, 255, 0.045); }

.app-icon { width: 52px; height: 52px; border-radius: 13px; overflow: hidden; }
.app-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-icon--text {
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--sub);
}

.app-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 4px; }
.app-head h3 { font-size: 19px; font-weight: 900; letter-spacing: -0.01em; }
.app-kind { font-size: 12px; color: var(--faint); }
.app-state {
  margin-left: auto; font-family: var(--mono); font-size: 11px;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
}
/* 色だけに意味を持たせない。必ず文字を添える */
.app-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.app-state--live { color: var(--live); }
.app-state--beta { color: #E0A03F; }
.app-state--stopped { color: var(--strike-dim); }

/* やめたこと → 今。1 枚のカードの中でも同じ構造を繰り返す */
/* 字下げを「引用」として読ませる。罫は朱から翠へ渡す（系譜の継ぎ手と同じ約束） */
.app-turn {
  margin: 14px 0 16px; padding-left: 16px;
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, var(--strike-dim), var(--live-dim)) 1;
}
.app-dropped { font-size: 13.5px; line-height: 1.9; margin-bottom: 7px; }
.app-dropped .strike { font-weight: 700; }
.app-now { font-size: 13.5px; color: var(--text-mid); line-height: 1.9; }
.app-now b { color: var(--live); font-weight: 700; }

.app-meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  font-family: var(--mono); font-size: 11px; color: var(--faint);
  margin-bottom: 14px;
}

.app-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 11px; }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; font-size: 12px; font-weight: 700; white-space: nowrap;
  border-radius: 3px 10px 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.92); color: var(--void);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { background: #fff; transform: translate(-1px, -1px); box-shadow: 3px 3px 0 rgba(255,255,255,0.16); }
.btn--quiet {
  background: transparent; color: var(--sub); border-color: var(--line);
}
.btn--quiet:hover { background: rgba(255,255,255,0.06); color: var(--text); border-color: var(--faint); }

.app-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; }
.app-foot a { color: var(--live); font-weight: 700; }
.app-foot a:hover { text-decoration: underline; }

/* 中止したものは沈める。消さずに残すのがこのページの趣旨 */
.app--stopped { background: transparent; border-style: dashed; }
.app--stopped .app-icon--text { opacity: 0.5; }
.app--stopped .app-head h3 { color: var(--sub); }

/* ── 開発ノートへ ──────────────────────────────────────── */
.cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 5px 18px 7px 16px;
  background: var(--panel);
}
.cta h2 { font-size: 19px; font-weight: 900; margin-bottom: 6px; }
.cta p { font-size: 14px; color: var(--sub); max-width: 540px; }
.btn-lg { padding: 12px 24px; font-size: 14px; border-radius: 3px 12px 5px 10px; }

/* ── フッター ──────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line-soft); padding: 36px 0; font-size: 12.5px; color: var(--faint); }
.foot .container { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; }
.foot a { color: var(--sub); }
.foot a:hover { color: var(--live); text-decoration: underline; }

/* ── 狭い画面 ──────────────────────────────────────────── */
@media (max-width: 720px) {
  .section { padding-top: 60px; padding-bottom: 60px; }
  .hero { padding: 60px 0 48px; }
  /* 系譜は横に並べず、縦に落として矢印を下向きにする */
  .lin { grid-template-columns: 1fr; }
  .lin-join { height: 44px; }
  .lin-join::before {
    top: 0; bottom: 0; left: 50%; right: auto; width: 1px; height: auto;
    background: linear-gradient(180deg, var(--strike-dim), var(--live-dim));
  }
  .lin-join::after { top: auto; bottom: 12px; right: auto; left: 50%; margin-left: -3px; transform: rotate(135deg); }
  .app { grid-template-columns: 1fr; gap: 14px; }
  .app-state { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
  .strike::after { transform: none !important; }
}
