/*
Theme Name: Shirotocode
Theme URI: https://shirotocode.com
Author: 白河於徒弥
Author URI: https://shirotocode.com
Description: シロートコード公式テーマ。Claude Codeの導入個別対応サービス。「玄人になるな、白いままで来い。」Claude Codeの反転コンセプト（白背景・黒文字・余白こそコンテンツ）を体現した独自テーマ。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shirotocode
Tags: minimal, custom-theme, landing-page, white-background
*/

/* シロートコード／Claude Codeの反転：白背景・黒文字・余白こそコンテンツ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: #ffffff;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "ヒラギノ角ゴシック", "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 16px;
  line-height: 2;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

::selection { background: #111; color: #fff; }

/* ===== スクロール進捗バー ===== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: #111;
  z-index: 9999;
  transition: width 0.08s ease-out;
}

/* ===== フェードイン ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}
.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ロゴ（Press Start 2P でCSSタイポ表現） ===== */
.logo-text,
.card-logo-text,
.foot-logo {
  font-family: "Press Start 2P", monospace;
  line-height: 1;
  letter-spacing: 0.02em;
  font-weight: normal;
  text-align: center;
}

.logo-text {
  display: inline-flex;
  flex-direction: column;
  gap: 1.2rem;
  font-size: clamp(2.2rem, 8vw, 4.5rem);
}

.logo-line {
  display: block;
  color: #111;
  text-shadow:
    3px 3px 0 rgba(0,0,0,0.08),
    6px 6px 0 rgba(0,0,0,0.04);
}

.logo-code {
  letter-spacing: 0.04em;
}

.card-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.logo-mini-shirouto,
.logo-mini-code {
  display: block;
}

/* ===== セクションタイトル ===== */
.section-title {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(1.125rem, 3vw, 1.625rem);
  font-weight: normal;
  text-align: center;
  letter-spacing: 0.04em;
  margin-bottom: 3.5rem;
  line-height: 1.8;
}

/* ===== ピクセルアイコン（絵文字置き換え） ===== */
.pixel-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  color: #0a0a0a;
  line-height: 0;
}

.pixel-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pixel-icon-large {
  width: 72px;
  height: 72px;
  margin-bottom: 2rem;
}

/* クラウド側（黒背景の中）のアイコンは白に */
.diagram-box:last-of-type .pixel-icon {
  color: #fff;
}

.diagram-box:last-of-type .pixel-icon svg rect[fill="#fff"] {
  fill: #0a0a0a;
}

/* 日本語タイトルは Press Start 2P が効かないので別フォント */
@font-face {
  font-family: "ShiroFont";
  src: local("DotGothic16");
}

.section-title {
  font-family: "DotGothic16", "Press Start 2P", monospace;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  position: relative;
}

.hero-logo-wrap {
  margin-bottom: 4rem;
}

.tagline {
  font-family: "DotGothic16", "Hiragino Sans", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  color: #888;
  text-align: center;
  margin-bottom: 5rem;
}

.scroll-hint {
  position: absolute;
  bottom: 3rem;
  font-size: 1.5rem;
  color: #999;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== ロゴホバー（ピクセルが揺れる） ===== */
.logo-text {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.logo-text:hover {
  transform: translateY(-4px);
}

/* ===== ヒーローのロード演出 ===== */
.hero-logo-wrap,
.tagline,
.hero-sub,
.scroll-hint {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
body.loaded .hero-logo-wrap { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
body.loaded .tagline { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }
body.loaded .hero-sub { opacity: 1; transform: translateY(0); transition-delay: 1.0s; }
body.loaded .scroll-hint { opacity: 1; transform: translateY(0); transition-delay: 1.6s; }

/* ===== ロゴクリックで一瞬反転 ===== */
body {
  transition: background 0.5s ease, color 0.5s ease;
}
body.inverted {
  background: #0a0a0a;
  color: #fff;
}
body.inverted .logo-line {
  color: #fff;
  text-shadow:
    3px 3px 0 rgba(255,255,255,0.08),
    6px 6px 0 rgba(255,255,255,0.04);
}

/* ===== CORE COPY（マニフェスト6章） ===== */
.copy {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.block {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem;
  position: relative;
  text-align: center;
  border-bottom: 1px solid #eee;
}

/* ブロック番号（左上に小さく刻印） */
.block-num {
  position: absolute;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Press Start 2P", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.4em;
  color: #ccc;
}

.block-num::before {
  content: '#';
  margin-right: 0.5rem;
  color: #ddd;
}

/* 章タイトル（巨大に） */
.block-head {
  font-family: "DotGothic16", "Hiragino Sans", sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #0a0a0a;
  margin-bottom: 3rem;
  position: relative;
}

/* 章タイトルの下の細い水平線 */
.block-head::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: #111;
  margin: 2rem auto 0;
}

/* 本文 */
.block-body {
  max-width: 720px;
}

.block-body p {
  font-size: clamp(1.0625rem, 2.5vw, 1.375rem);
  line-height: 2.4;
  letter-spacing: 0.06em;
  color: #222;
  margin-bottom: 0.25rem;
}

/* 「と」で並列する章は段落間に空行の呼吸を入れる */
.block-body-spaced p {
  margin-bottom: 2.5rem;
}

.block-body-spaced p:last-child {
  margin-bottom: 0;
}

/* キーワードはマーカーを引かない。コピーの言葉の力に任せる */
.kw {
  font-style: normal;
  font-weight: inherit;
}

/* 「苦労」「心労」のみ書体差で重みを出す（マーカーではない） */
.kw-big {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 1.5em;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: inline-block;
  padding: 0 0.2em;
}

/* アクション強調（チャレンジしよう） */
.kw-action {
  font-family: "DotGothic16", sans-serif;
  font-size: 1.4em;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 2px solid #0a0a0a;
  padding: 0.3em 1em;
  display: inline-block;
  margin-top: 0.5em;
  background: #0a0a0a;
  color: #fff;
}

.kw-action::after {
  display: none;
}

/* 章ごとに背景の微差を出す（雑誌特集ページのリズム） */
.block:nth-child(odd) {
  background: #fafafa;
}

.block:nth-child(even) {
  background: #fff;
}

/* 03（警告）は特別扱い：黒背景でハッとさせる */
.block[data-num="03"] {
  background: #0a0a0a;
}

.block[data-num="03"] .block-num {
  color: #555;
}

.block[data-num="03"] .block-num::before {
  color: #444;
}

.block[data-num="03"] .block-head {
  color: #fff;
}

.block[data-num="03"] .block-head::after {
  background: #fff;
}

.block[data-num="03"] .block-body p {
  color: #fff;
}

.block[data-num="03"] .kw-big {
  color: #fff;
}

/* 06（最後の章・チャレンジ）も特別 */
.block[data-num="06"] .block-head {
  color: #0a0a0a;
}

/* ===== MANIFESTO ===== */
.manifesto {
  background: #fff;
  padding: 8rem 2rem;
}

.manifesto-list {
  max-width: 640px;
  margin: 0 auto;
  list-style: none;
}

.manifesto-list li {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px dashed #ddd;
}

.manifesto-list li:last-child {
  border-bottom: none;
}

.m-num {
  font-family: "Press Start 2P", monospace;
  font-size: 0.875rem;
  color: #999;
  flex-shrink: 0;
}

.m-text {
  font-size: 1.0625rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

/* ===== INVERSION ===== */
.inversion {
  padding: 8rem 2rem;
  background: #fafafa;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.inversion-lead {
  text-align: center;
  font-size: 1rem;
  line-height: 2.2;
  margin-bottom: 3rem;
  color: #555;
}

.inversion-axis {
  max-width: 480px;
  margin: 0 auto 4rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.axis-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 0.5rem 0;
}

.axis-left {
  text-align: right;
  font-family: "Press Start 2P", "DotGothic16", monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: #999;
}

.axis-right {
  text-align: left;
  font-family: "DotGothic16", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #111;
  font-weight: 700;
}

.axis-mid {
  font-size: 1.25rem;
  color: #ccc;
  font-family: "Press Start 2P", monospace;
}

.card-meta {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  opacity: 0.7;
  text-align: center;
}

.inversion-foot {
  max-width: 600px;
  margin: 4rem auto 0;
  text-align: center;
  font-size: 1rem;
  line-height: 2.2;
  color: #333;
}

/* === 音声モック（白カードの中身） === */
.voice-mock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  width: 100%;
}

.voice-mock-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.voice-mock-line {
  font-size: 0.875rem;
  line-height: 1.7;
  letter-spacing: 0.03em;
  background: #f5f5f5;
  border-radius: 18px;
  padding: 0.625rem 1rem;
  max-width: 100%;
  text-align: left;
  align-self: flex-start;
}

.voice-mock-reply {
  background: #111;
  color: #fff;
  align-self: flex-end;
  text-align: left;
}

.voice-wave-mini {
  height: 24px;
  margin-top: 0.5rem;
}

.voice-wave-mini span {
  width: 3px;
}

.inversion-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.card {
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 380px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-black {
  background: #0a0a0a;
  color: #fff;
}

.card-white {
  background: #fff;
  color: #111;
  border: 1.5px solid #111;
  box-shadow: 8px 8px 0 #0a0a0a;
}

.card-black:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.card-white:hover {
  transform: translate(-2px, -2px);
  box-shadow: 12px 12px 0 #0a0a0a;
}

.card-label {
  font-family: "Press Start 2P", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.card-note {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.9375rem;
  text-align: center;
  opacity: 0.85;
  line-height: 1.9;
}

.card-illust {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 0;
}

.card-logo-text .logo-mini-shirouto,
.card-logo-text .logo-mini-code {
  color: #111;
}

/* ===== TERMINAL ===== */
.terminal {
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  font-family: "VT323", "SF Mono", "Menlo", monospace;
  font-size: 1rem;
  line-height: 1.6;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.terminal-bar {
  background: #2a2a2a;
  padding: 0.625rem 0.875rem;
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-body {
  padding: 1.25rem 1.25rem 1.5rem;
  color: #e6e6e6;
  min-height: 140px;
}

.terminal-body p {
  margin: 0;
}

.prompt {
  color: #27c93f;
  margin-right: 0.5rem;
}

.terminal-out {
  color: #aaa;
  padding-left: 1.25rem;
  margin: 0.25rem 0 0.5rem;
}

.user-input {
  color: #fff;
}

.cursor {
  display: inline-block;
  background: #e6e6e6;
  color: #1a1a1a;
  width: 0.5rem;
  animation: blink 1.1s steps(2, start) infinite;
  vertical-align: middle;
}

@keyframes blink {
  to { visibility: hidden; }
}

/* ===== DIAGRAM (Cloud × Local) ===== */
.diagram {
  background: #fff;
  padding: 8rem 2rem;
}

.diagram-lead {
  text-align: center;
  font-size: 1rem;
  line-height: 2.2;
  margin-bottom: 4rem;
  color: #555;
}

.diagram-grid {
  max-width: 880px;
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.diagram-box {
  background: #fff;
  border: 1.5px solid #111;
  border-radius: 12px;
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  box-shadow: 6px 6px 0 #0a0a0a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diagram-box:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 #0a0a0a;
}

/* 右側（クラウド＝クロード＝黒の世界）を反転 */
.diagram-box:last-of-type {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
  box-shadow: 6px 6px 0 #ccc;
}

.diagram-box:last-of-type:hover {
  box-shadow: 10px 10px 0 #ccc;
}

.diagram-box:last-of-type .diagram-title {
  color: #fff;
}

.diagram-box:last-of-type .diagram-body {
  color: #bbb;
}

.diagram-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.diagram-title {
  font-family: "Press Start 2P", monospace;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  font-weight: normal;
}

.diagram-body {
  font-size: 0.9375rem;
  line-height: 2;
  color: #444;
}

.diagram-arrow {
  font-family: "Press Start 2P", monospace;
  font-size: 1.5rem;
  color: #999;
  text-align: center;
}

.diagram-foot {
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.0625rem;
  line-height: 2.2;
  color: #333;
  letter-spacing: 0.04em;
}

.diagram-foot strong {
  font-weight: 700;
}

/* コピー正本リフレイン */
.diagram-quote {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.diagram-quote p {
  font-family: "DotGothic16", sans-serif;
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 2.2;
  color: #0a0a0a;
}

/* ===== SHIROTO QUEST ===== */
.quest {
  padding: 8rem 2rem;
  margin: 0 auto;
  background: #fafafa;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.quest > * {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.quest-lead {
  text-align: center;
  font-size: 1.0625rem;
  margin-bottom: 4rem;
  line-height: 2.2;
}

.level-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 5rem;
  flex-wrap: nowrap;
}

.level-node {
  text-align: center;
  flex-shrink: 0;
  width: 120px;
}

.level-num {
  font-family: "Press Start 2P", monospace;
  font-size: 1.125rem;
  font-weight: normal;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  transition: color 0.4s ease;
}

.level-name {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: #666;
}

.level-start .level-num { color: #111; }
.level-mid .level-num { color: #999; }
.level-end .level-num { color: #111; }

.level-line {
  flex: 1;
  height: 1px;
  background: #ddd;
  max-width: 120px;
}

.quest-note {
  max-width: 580px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.0625rem;
  line-height: 2;
  color: #333;
  padding: 1.75rem 2rem;
  border: 1.5px dashed #bbb;
  border-radius: 8px;
  background: #fafafa;
}

.quest-sample-label {
  text-align: center;
  font-family: "Press Start 2P", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  color: #999;
  margin-bottom: 1.5rem;
}

.quest-mission {
  max-width: 580px;
  margin: 3.5rem auto 0;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 2;
  color: #444;
  padding-top: 2.5rem;
  border-top: 1px solid #ddd;
}

.quest-mission strong {
  font-family: "DotGothic16", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0a0a0a;
  display: inline-block;
  margin: 0.5rem 0;
}

.quest-list {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
}

.quest-list li {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.125rem 0;
  border-bottom: 1px dashed #e5e5e5;
}

.q-tag {
  font-family: "Press Start 2P", monospace;
  font-size: 0.6875rem;
  color: #999;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  min-width: 90px;
}

.q-title {
  font-size: 1rem;
  letter-spacing: 0.04em;
  flex: 1;
}

.q-meta {
  font-family: "VT323", monospace;
  font-size: 0.9375rem;
  color: #999;
  letter-spacing: 0.05em;
}

/* ===== TODAY ===== */
.today {
  padding: 8rem 2rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.today-label {
  font-family: "Press Start 2P", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #999;
  margin-bottom: 1.5rem;
}

.today-card {
  background: #0a0a0a;
  color: #fff;
  border-radius: 12px;
  padding: 3rem 2.5rem;
  margin-bottom: 2rem;
}

.today-tag {
  font-family: "VT323", monospace;
  font-size: 1rem;
  color: #27c93f;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.today-quest {
  font-size: 1.125rem;
  line-height: 2;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.today-meta {
  font-size: 0.875rem;
  color: #888;
  letter-spacing: 0.08em;
}

.today-foot {
  font-size: 0.9375rem;
  line-height: 2;
  color: #666;
}

/* ===== DEMO ===== */
.demo {
  background: #fff;
  padding: 8rem 2rem;
}

.demo-lead {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 3rem;
  line-height: 2.2;
}

.terminal-large {
  max-width: 720px;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
}

.terminal-large .terminal-body {
  padding: 1.75rem 1.5rem 2rem;
  min-height: 320px;
}

.terminal-large .terminal-body p {
  margin-bottom: 0.5rem;
}

.demo-foot {
  text-align: center;
  font-size: 0.9375rem;
  line-height: 2.2;
  color: #444;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== WARNING ===== */
.warning {
  padding: 8rem 2rem;
  max-width: 880px;
  margin: 0 auto;
}

.warning-rhyme {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  text-align: center;
  letter-spacing: 0.15em;
  color: #111;
  margin-bottom: 3rem;
  font-weight: 400;
}

.warning-lead {
  text-align: center;
  font-size: 1rem;
  line-height: 2.2;
  color: #555;
  margin-bottom: 3rem;
}

.warning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.warning-card {
  border: 1.5px solid #111;
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  border-radius: 8px;
  background: #fff;
  box-shadow: 6px 6px 0 #0a0a0a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.warning-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 #0a0a0a;
}

/* 左カード（苦＝玄人＝クロート＝黒の世界） */
.warning-card:first-child {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
  box-shadow: 6px 6px 0 #ccc;
}

.warning-card:first-child:hover {
  box-shadow: 10px 10px 0 #ccc;
}

.warning-card:first-child .warning-kanji {
  color: #fff;
}

.warning-card:first-child .warning-context {
  color: #fff;
  border-bottom-color: #444;
}

.warning-card:first-child .warning-name {
  color: #fff;
}

.warning-card:first-child .warning-note {
  color: #bbb;
}

.warning-kanji {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 4rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.warning-context {
  font-family: "DotGothic16", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #111;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ddd;
  display: inline-block;
}

.warning-name {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  color: #0a0a0a;
}

.warning-note {
  font-size: 0.875rem;
  line-height: 1.9;
  color: #555;
}

.warning-foot {
  text-align: center;
  font-size: 0.9375rem;
  line-height: 2.2;
  color: #444;
  max-width: 500px;
  margin: 0 auto;
}

/* ===== LETTER ===== */
.letter {
  padding: 8rem 2rem;
  margin: 0 auto;
  background: #fafafa;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.letter > * {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.letter-body {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 1.0625rem;
  line-height: 2.2;
  color: #222;
}

.letter-body p {
  margin-bottom: 1.5rem;
}

.letter-greet {
  font-size: 1.25rem;
  margin-bottom: 2rem !important;
}

.letter-body strong {
  font-weight: 700;
  border-bottom: 1px solid #111;
  padding-bottom: 2px;
}

.letter-sign {
  text-align: right;
  margin-top: 3rem !important;
  color: #555;
  font-size: 0.9375rem;
  letter-spacing: 0.1em;
}

/* ===== PRICING ===== */
.pricing {
  padding: 10rem 2rem;
  margin: 0 auto;
  background: #fff;
}

.pricing > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-lead {
  text-align: center;
  font-size: 1.0625rem;
  line-height: 2.2;
  margin-bottom: 5rem;
  color: #444;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1.5px solid #111;
  border-radius: 12px;
  padding: 3rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 8px 8px 0 #0a0a0a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.price-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 12px 12px 0 #0a0a0a;
}

/* 中央のおすすめプランは黒背景で強調 */
.price-card-featured {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
  box-shadow: 8px 8px 0 #ccc;
  transform: scale(1.04);
}

.price-card-featured:hover {
  box-shadow: 12px 12px 0 #ccc;
  transform: scale(1.04) translate(-3px, -3px);
}

/* おすすめバッジ */
.price-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #0a0a0a;
  font-family: "DotGothic16", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.4rem 1.25rem;
  border: 1.5px solid #fff;
  border-radius: 100px;
  box-shadow: 4px 4px 0 #ccc;
}

/* プランタグ（SINGLE/MONTHLY/3 MONTHS） */
.price-tag {
  font-family: "Press Start 2P", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  color: #999;
  margin-bottom: 1.25rem;
}

.price-card-featured .price-tag {
  color: #888;
}

/* プラン名 */
.price-name {
  font-family: "DotGothic16", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: inherit;
}

.price-period {
  font-size: 0.8125rem;
  color: #888;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed #ddd;
}

.price-card-featured .price-period {
  color: #aaa;
  border-bottom-color: #444;
}

/* 価格本体 */
.price-amount {
  font-family: "Press Start 2P", monospace;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.price-num {
  font-size: 2.25rem;
  margin-left: 0.05em;
}

.price-unit {
  font-size: 0.8125rem;
  color: #888;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.price-card-featured .price-unit {
  color: #aaa;
}

/* 機能リスト */
.price-features {
  list-style: none;
  margin-bottom: 2.5rem;
  flex: 1;
}

.price-features li {
  font-size: 0.875rem;
  line-height: 1.9;
  letter-spacing: 0.03em;
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  border-bottom: 1px dashed #eee;
}

.price-card-featured .price-features li {
  border-bottom-color: #333;
}

.price-features li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: #0a0a0a;
  font-size: 0.625rem;
}

.price-card-featured .price-features li::before {
  color: #fff;
}

.price-features li:last-child {
  border-bottom: none;
}

/* CTA */
.price-cta {
  display: block;
  text-align: center;
  background: #fff;
  color: #0a0a0a;
  border: 1.5px solid #0a0a0a;
  padding: 1rem 1.5rem;
  font-family: "DotGothic16", sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 6px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.price-cta:hover {
  background: #0a0a0a;
  color: #fff;
  transform: translateY(-2px);
}

.price-cta-featured {
  background: #fff;
  color: #0a0a0a;
}

.price-cta-featured:hover {
  background: #ffe88a;
  color: #0a0a0a;
}

/* 4610→9610 イースターエッグ */
.pricing-easter {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem 1rem;
}

.pricing-easter p {
  font-family: "Press Start 2P", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #999;
}

.pricing-note {
  text-align: center;
  font-size: 0.8125rem;
  color: #aaa;
  letter-spacing: 0.05em;
}

/* ===== FAQ ===== */
.faq {
  background: #fafafa;
  padding: 8rem 2rem;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1.5px solid #111;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  box-shadow: 4px 4px 0 #0a0a0a;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 #0a0a0a;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  list-style: none;
  transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '＋';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: #888;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item[open] summary {
  background: #f5f5f5;
}

.faq-item p {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 2;
  color: #444;
}

/* ===== JOIN ===== */
.join {
  background: #0a0a0a;
  color: #fff;
  padding: 10rem 2rem;
  text-align: center;
}

.join .section-title {
  color: #fff;
}

.join-lead {
  font-size: 1.125rem;
  line-height: 2.2;
  margin-bottom: 3rem;
  letter-spacing: 0.04em;
}

.join-cta-wrap {
  margin-bottom: 1.5rem;
}

.join-cta {
  display: inline-block;
  background: #fff;
  color: #0a0a0a;
  padding: 1.25rem 3rem;
  font-size: 1rem;
  letter-spacing: 0.1em;
  border-radius: 4px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}

.join-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.06), transparent);
  transition: left 0.6s ease;
}

.join-cta:hover {
  transform: translateY(-2px);
}

.join-cta:hover::after {
  left: 100%;
}

.join-note {
  font-size: 0.8125rem;
  color: #888;
  letter-spacing: 0.08em;
}

/* ===== FOOTER ===== */
.foot {
  padding: 5rem 2rem 4rem;
  text-align: center;
  background: #fff;
}

.foot-logo {
  display: inline-flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.foot-logo .logo-mini-shirouto,
.foot-logo .logo-mini-code {
  color: #111;
}

.foot-domain {
  font-family: "VT323", monospace;
  font-size: 1rem;
  color: #555;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.foot-copy {
  font-family: "Press Start 2P", monospace;
  font-size: 0.625rem;
  color: #999;
  letter-spacing: 0.2em;
}

/* ===== HOW TO（コードを書かない宣言） ===== */
.howto {
  padding: 10rem 2rem;
  margin: 0 auto;
  text-align: center;
  background: #fafafa;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.howto .section-title,
.howto-denials,
.howto-do,
.howto-quote,
.howto-voice {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.howto-denials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 5rem auto 6rem;
}

.denial-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 1rem;
}

.denial-x {
  font-family: "Press Start 2P", monospace;
  font-size: 2.5rem;
  color: #ccc;
  line-height: 1;
  margin-bottom: 1rem;
}

.denial-text {
  font-family: "DotGothic16", sans-serif;
  font-size: 1.125rem;
  letter-spacing: 0.08em;
}

.denial-sub {
  font-size: 0.8125rem;
  color: #888;
  letter-spacing: 0.05em;
}

.howto-do {
  background: #fff;
  border: 1.5px solid #111;
  border-radius: 16px;
  padding: 5rem 2rem;
  margin-bottom: 6rem;
  box-shadow: 8px 8px 0 #0a0a0a;
}

.do-tagline {
  font-family: "DotGothic16", sans-serif;
  font-size: 0.9375rem;
  letter-spacing: 0.15em;
  color: #666;
  margin-bottom: 2rem;
}

.do-main {
  font-family: "DotGothic16", "Hiragino Sans", sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: #0a0a0a;
}

.howto-quote {
  background: #0a0a0a;
  color: #fff;
  padding: 4rem 2rem;
  border-radius: 12px;
  margin-bottom: 6rem;
  position: relative;
}

.howto-quote::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: "Noto Serif JP", serif;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
}

.quote-q {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: #ddd;
}

.quote-a {
  font-family: "DotGothic16", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: 0.08em;
  color: #fff;
  font-weight: 700;
}

.howto-voice {
  margin-bottom: 5rem;
  padding: 3rem 1rem;
}

.voice-icon,
.voice-emoji {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 2rem;
}

.voice-lead {
  font-size: 1.0625rem;
  letter-spacing: 0.1em;
  color: #555;
  margin-bottom: 1rem;
}

.voice-main {
  font-family: "DotGothic16", sans-serif;
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0a0a0a;
  margin-bottom: 2.5rem;
}

.voice-wave {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 40px;
}

.voice-brag {
  margin-top: 2rem;
  font-family: "DotGothic16", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: #444;
}

.voice-wave span {
  display: block;
  width: 4px;
  background: #0a0a0a;
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}

.voice-wave span:nth-child(1) { height: 20%; animation-delay: 0.0s; }
.voice-wave span:nth-child(2) { height: 40%; animation-delay: 0.1s; }
.voice-wave span:nth-child(3) { height: 70%; animation-delay: 0.2s; }
.voice-wave span:nth-child(4) { height: 50%; animation-delay: 0.3s; }
.voice-wave span:nth-child(5) { height: 90%; animation-delay: 0.4s; }
.voice-wave span:nth-child(6) { height: 60%; animation-delay: 0.5s; }
.voice-wave span:nth-child(7) { height: 100%; animation-delay: 0.6s; }
.voice-wave span:nth-child(8) { height: 70%; animation-delay: 0.5s; }
.voice-wave span:nth-child(9) { height: 80%; animation-delay: 0.4s; }
.voice-wave span:nth-child(10) { height: 40%; animation-delay: 0.3s; }
.voice-wave span:nth-child(11) { height: 60%; animation-delay: 0.2s; }
.voice-wave span:nth-child(12) { height: 30%; animation-delay: 0.1s; }
.voice-wave span:nth-child(13) { height: 50%; animation-delay: 0.2s; }
.voice-wave span:nth-child(14) { height: 20%; animation-delay: 0.3s; }
.voice-wave span:nth-child(15) { height: 35%; animation-delay: 0.4s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

.howto-foot {
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  color: #444;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  max-width: 400px;
  margin: 0 auto;
}

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .hero { padding: 4rem 1.5rem; }
  .hero-logo-wrap { margin-bottom: 3rem; }
  .tagline { font-size: 1rem; margin-bottom: 1rem; }
  .hero-sub { font-size: 0.75rem; margin-bottom: 3rem; }

  .copy { padding: 0; }
  .block {
    min-height: 80vh;
    padding: 5rem 1.5rem 4rem;
  }
  .block-num { top: 2rem; font-size: 0.625rem; letter-spacing: 0.3em; }
  .block-head { font-size: 1.75rem; line-height: 1.5; margin-bottom: 2rem; }
  .block-head::after { width: 36px; margin-top: 1.25rem; }
  .block-body p { font-size: 1.0625rem; line-height: 2.1; }
  .kw-big { font-size: 1.35em; }
  .kw-action { font-size: 1.2em; padding: 0.3em 0.8em; }

  .section-title { font-size: 1.125rem; margin-bottom: 2rem; }

  .howto { padding: 5rem 1.5rem; }
  .howto-denials {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin: 3rem auto 4rem;
  }
  .denial-item { padding: 1.25rem 1rem; }
  .denial-x { font-size: 2rem; margin-bottom: 0.5rem; }
  .denial-text { font-size: 1rem; }
  .howto-do { padding: 3rem 1.5rem; margin-bottom: 4rem; }
  .do-main { font-size: 1.5rem; line-height: 1.7; }
  .howto-quote { padding: 3rem 1.5rem; margin-bottom: 4rem; }
  .quote-q { font-size: 1.25rem; }
  .howto-voice { padding: 2rem 1rem; margin-bottom: 3rem; }
  .voice-icon { font-size: 3rem; margin-bottom: 1.5rem; }
  .voice-main { font-size: 2rem; margin-bottom: 1.5rem; }
  .howto-foot { font-size: 1rem; padding-top: 1.5rem; }

  .manifesto { padding: 5rem 1.5rem; }
  .manifesto-list li { gap: 1.25rem; padding: 1.25rem 0; }
  .m-text { font-size: 1rem; }

  .inversion { padding: 5rem 1.25rem; }
  .inversion-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .card { padding: 2rem 1.5rem; min-height: 320px; }

  .diagram { padding: 5rem 1.5rem; }
  .diagram-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .diagram-arrow { transform: rotate(90deg); }
  .diagram-box { padding: 2rem 1.5rem; }

  .quest { padding: 5rem 1.5rem; }
  .level-bar { gap: 0.5rem; }
  .level-node { width: 80px; }
  .level-num { font-size: 0.875rem; }
  .level-line { max-width: 40px; }
  .q-tag { min-width: 70px; font-size: 0.625rem; }
  .q-title { font-size: 0.9375rem; }
  .q-meta { font-size: 0.875rem; }

  .today { padding: 5rem 1.5rem; }
  .today-card { padding: 2rem 1.5rem; }
  .today-quest { font-size: 1rem; }

  .demo { padding: 5rem 1.25rem; }

  .warning { padding: 5rem 1.5rem; }
  .warning-grid { grid-template-columns: 1fr; }

  .letter { padding: 5rem 1.5rem; }
  .letter-body { font-size: 1rem; line-height: 2.1; }

  .pricing { padding: 5rem 1rem; }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .price-card { padding: 2.5rem 1.5rem 2rem; }
  .price-card-featured { transform: none; }
  .price-card-featured:hover { transform: translate(-3px, -3px); }
  .price-name { font-size: 1.25rem; }
  .price-num { font-size: 2rem; }
  .pricing-easter p { font-size: 0.625rem; }

  .faq { padding: 5rem 1.5rem; }
  .faq-item summary { font-size: 0.9375rem; padding: 1rem 1.25rem; }

  .join { padding: 6rem 1.5rem; }
  .join-cta { padding: 1rem 2rem; font-size: 0.9375rem; }
}
