/* ============================================================
   Tokens
   ============================================================ */
:root {
  --paper: #f3efe6;
  --paper-2: #ebe5d8;
  --card: #fbf9f4;
  --ink: #141414;
  --ink-2: #2b2b2b;
  --muted: #6b665c;
  --faint: #9a9488;
  --rule: rgba(20, 20, 20, 0.14);
  --rule-strong: rgba(20, 20, 20, 0.85);
  --shu: #d9381e;          /* 朱 */
  --shu-soft: #f6dcd3;
  --night: #121212;
  --max: 1200px;
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
/* 紙のざらつき */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.45 0 0 0 0 0.4 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--mono); letter-spacing: 0; }
::selection { background: var(--shu); color: #fff; }

/* ============================================================
   Notice bar
   ============================================================ */
.notice { background: var(--ink); color: #ece7dc; font-size: 0.8rem; }
.notice .container { display: flex; align-items: center; gap: 14px; min-height: 38px; padding-top: 6px; padding-bottom: 6px; }
.notice-tag { flex-shrink: 0; border: 1px solid rgba(236,231,220,0.4); padding: 0 8px; font-size: 0.72rem; letter-spacing: 0.1em; line-height: 1.8; }
.notice a { text-decoration: none; line-height: 1.6; }
.notice a:hover .notice-more { text-decoration: underline; }
.notice-more { margin-left: 12px; color: rgba(236,231,220,0.65); white-space: nowrap; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 239, 230, 0.86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-dot { width: 22px; height: 22px; background: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.brand-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--shu); transition: transform 0.5s var(--ease); }
.brand:hover .brand-dot::after { transform: scale(1.35); }
.brand-name { font-family: var(--serif); font-weight: 800; font-size: 1.1rem; letter-spacing: 0.1em; }
.brand-sub { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.12em; padding-left: 12px; border-left: 1px solid var(--rule); }
.nav { display: flex; align-items: center; gap: 32px; font-size: 0.88rem; }
.nav a:not(.btn) { text-decoration: none; position: relative; padding: 4px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform 0.3s var(--ease), opacity 0.2s; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em; line-height: 1;
  text-decoration: none; border: 1px solid var(--bg); cursor: pointer;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--shu);
  transform: translateY(101%); border-radius: inherit; transition: transform 0.5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--shu); color: #fff; }
.btn .arr { display: inline-block; width: 18px; height: 18px; position: relative; overflow: hidden; }
.btn .arr::before, .btn .arr::after {
  content: "→"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono);
  transition: transform 0.45s var(--ease);
}
.btn .arr::after { transform: translateX(-120%); }
.btn:hover .arr::before { transform: translateX(120%); }
.btn:hover .arr::after { transform: translateX(0); }
.btn-shu { --bg: var(--shu); --fg: #fff; }
.btn-shu::before { background: var(--ink); }
.btn-shu:hover { border-color: var(--ink); }
.btn-line { --bg: transparent; --fg: var(--ink); border-color: var(--rule-strong); }
.btn-line::before { background: var(--ink); }
.btn-line:hover { color: var(--paper); border-color: var(--ink); }
.btn-sm { padding: 11px 18px; font-size: 0.85rem; }
.btn-lg { padding: 20px 34px; font-size: 1.02rem; }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: 72px 0 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr); gap: 72px; align-items: start; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.1em; color: var(--shu);
}
.kicker::before { content: ""; width: 32px; height: 2px; background: var(--shu); }
.hero h1 {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.4; letter-spacing: 0;
  margin: 24px 0 32px;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; white-space: nowrap; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes rise { to { transform: translateY(0); } }
.hero h1 .hl { position: relative; color: var(--shu); white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 0.02em; height: 0.1em; background: var(--shu); opacity: 0.25;
  transform: scaleX(0); transform-origin: left; animation: mark 0.9s 0.9s var(--ease) forwards;
}
@keyframes mark { to { transform: scaleX(1); } }
.hero .lead { font-size: 1.1rem; line-height: 2; color: var(--ink-2); max-width: 34em; }
.hero .lead strong { background: linear-gradient(transparent 62%, var(--shu-soft) 62%); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-meta { margin-top: 28px; font-size: 0.85rem; color: var(--muted); display: flex; gap: 20px; flex-wrap: wrap; }
.hero-meta span::before { content: "■ "; color: var(--shu); font-size: 0.7em; vertical-align: 0.15em; }

.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 1s var(--ease) forwards; }
.d1 { animation-delay: 0.45s; } .d2 { animation-delay: 0.6s; } .d3 { animation-delay: 0.75s; } .d4 { animation-delay: 0.9s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* 首相の投稿 */
.post-frame {
  position: relative; background: var(--card); border: 1px solid var(--rule);
  padding: 22px 22px 18px; box-shadow: 0 30px 60px -30px rgba(40, 30, 10, 0.35);
}
.post-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.post-cap b { font-family: var(--serif); font-size: 1rem; letter-spacing: 0.06em; }
.post-cap .mono { font-size: 0.75rem; color: var(--muted); }
.post-frame .twitter-tweet { margin: 12px auto 0 !important; }
.post-frame iframe { max-width: 100% !important; }
.post-frame blockquote.twitter-tweet {
  font-family: var(--sans); font-size: 0.95rem; line-height: 1.9; border-left: 3px solid var(--ink); padding: 4px 0 4px 16px; margin: 16px 0 0;
}
.post-frame blockquote.twitter-tweet p { margin-bottom: 10px; }
.post-frame blockquote.twitter-tweet a { color: var(--muted); font-size: 0.85rem; }
.post-note { margin-top: 12px; font-size: 0.72rem; color: var(--faint); line-height: 1.7; }

/* 数字 */
.figures { margin-top: 96px; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: repeat(4, 1fr); }
.figure { padding: 28px 24px 30px; border-right: 1px solid var(--rule); }
.figure:first-child { padding-left: 0; }
.figure:last-child { border-right: 0; }
.figure .n { font-family: var(--serif); font-weight: 800; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: 0; }
.figure .n small { font-size: 0.42em; font-weight: 700; margin-left: 4px; }
.figure .n.shu { color: var(--shu); }
.figure .t { margin-top: 8px; font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 128px 0; position: relative; }
.section-head { display: grid; grid-template-columns: 220px 1fr; gap: 48px; margin-bottom: 64px; }
.section-no { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--rule-strong); display: flex; justify-content: space-between; align-self: start; }
.section-no b { color: var(--shu); font-weight: 500; }
.section-head h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.4; letter-spacing: 0.03em; }
.section-head p { margin-top: 20px; color: var(--ink-2); max-width: 40em; }
.on-dark { background: var(--night); color: #ece7dc; }
.on-dark .section-no { border-top-color: rgba(236,231,220,0.7); color: rgba(236,231,220,0.55); }
.on-dark .section-head p { color: rgba(236,231,220,0.75); }
.band { background: var(--paper-2); }
.indent { padding-left: 268px; }

/* ============================================================
   Explain (なにが問題か)
   ============================================================ */
.explain-body { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.analogy { position: relative; padding: 32px; background: var(--card); border: 1px solid var(--rule); }
.analogy svg { width: 100%; height: auto; display: block; }
.analogy .cap { margin-top: 16px; font-size: 0.85rem; color: var(--muted); }
.points li { padding: 24px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 48px 1fr; gap: 8px; }
.points li:last-child { border-bottom: 1px solid var(--rule); }
.points .k { font-family: var(--mono); color: var(--shu); font-size: 0.85rem; padding-top: 4px; }
.points h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; }
.points p { font-size: 0.95rem; color: var(--ink-2); }

.crack { stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.6s 0.4s var(--ease); }
.is-in .crack { stroke-dashoffset: 0; }
.house { transform-box: fill-box; transform-origin: 50% 100%; }
.is-in .house { animation: shake 0.45s 1.9s var(--ease) 3; }
@keyframes shake { 25% { transform: rotate(-0.8deg); } 75% { transform: rotate(0.8deg); } }

/* ============================================================
   Diagnose (かんたん診断)
   ============================================================ */
.diag { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(236,231,220,0.25); }
.diag-q { padding: 40px; border-right: 1px solid rgba(236,231,220,0.25); }
.diag-q + .diag-q { border-right: 0; }
.diag fieldset { border: 0; margin: 0; min-width: 0; }
.diag legend { float: left; width: 100%; font-family: var(--serif); font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; padding: 0; display: flex; gap: 14px; align-items: baseline; }
.diag legend .mono { color: var(--shu); font-size: 0.8rem; }
.opt { display: block; position: relative; cursor: pointer; margin-top: 10px; clear: both; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: block; padding: 16px 18px 16px 52px; border: 1px solid rgba(236,231,220,0.22);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  font-size: 0.98rem; line-height: 1.6; position: relative;
}
.opt span small { display: block; font-size: 0.78rem; color: rgba(236,231,220,0.55); margin-top: 2px; }
.opt span::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  border: 1px solid rgba(236,231,220,0.5); transition: border 0.25s var(--ease), background 0.25s;
}
.opt:hover span { border-color: rgba(236,231,220,0.55); }
.opt input:checked + span { border-color: var(--shu); background: rgba(217,56,30,0.1); }
.opt input:checked + span::before { border: 5px solid var(--shu); background: #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--shu); outline-offset: 2px; }
.diag-result {
  grid-column: 1 / -1; border-top: 1px solid rgba(236,231,220,0.25);
  display: grid; grid-template-columns: 1fr auto; gap: 10px 40px; align-items: center; padding: 36px 40px; min-height: 150px;
}
.diag-result .btn { grid-column: 2; grid-row: 1 / span 2; }
.diag-result p { max-width: 40em; }
.diag-result .badge { font-family: var(--serif); font-weight: 800; font-size: 1.4rem; line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; }
.diag-result .badge.is-ok { color: #9fd0a6; }
.diag-result .badge.is-alert { color: #ff7a5e; }
.diag-result .badge.is-warn { color: #f0c069; }
.diag-result .badge.is-idle { color: rgba(236,231,220,0.4); }
.diag-result p { color: rgba(236,231,220,0.85); font-size: 0.98rem; }
.swap { animation: swap 0.5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }
.on-dark .btn-line { --fg: #ece7dc; border-color: rgba(236,231,220,0.5); }
.on-dark .btn-line::before { background: #ece7dc; }
.on-dark .btn-line:hover { color: var(--night); border-color: #ece7dc; }
.diag-foot { margin-top: 18px; font-size: 0.8rem; color: rgba(236,231,220,0.5); }

/* ============================================================
   Services
   ============================================================ */
.svc { border-top: 1px solid var(--rule-strong); }
.svc li {
  display: grid; grid-template-columns: 220px 1fr 1.1fr 40px; gap: 48px; align-items: baseline;
  padding: 36px 0; border-bottom: 1px solid var(--rule); position: relative; isolation: isolate;
  transition: padding 0.5s var(--ease);
}
.svc li::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--card);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease);
}
.svc li:hover::before { transform: scaleY(1); }
.svc li:hover { padding-left: 20px; padding-right: 20px; }
.svc .no { font-family: var(--mono); font-size: 0.85rem; color: var(--muted); }
.svc h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; line-height: 1.45; }
.svc h3 small { display: block; font-family: var(--sans); font-size: 0.78rem; color: var(--shu); font-weight: 700; letter-spacing: 0.1em; margin-top: 6px; }
.svc p { font-size: 0.95rem; color: var(--ink-2); }
.svc .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.svc .tags span { font-family: var(--mono); font-size: 0.72rem; border: 1px solid var(--rule); padding: 2px 8px; color: var(--muted); }
.svc .go { font-family: var(--mono); font-size: 1.2rem; transition: transform 0.4s var(--ease), color 0.3s; justify-self: end; }
.svc li:hover .go { transform: translateX(6px); color: var(--shu); }
.partner-box { margin-top: 48px; border: 1px solid var(--rule-strong); padding: 32px 36px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; background: var(--card); }
.partner-box h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 8px; }
.partner-box p { font-size: 0.93rem; color: var(--ink-2); }
.stamp {
  width: 116px; height: 116px; border-radius: 50%; border: 2px solid var(--shu); color: var(--shu);
  display: grid; place-items: center; text-align: center; font-family: var(--serif); font-weight: 800; font-size: 0.92rem; line-height: 1.4;
  transform: rotate(-12deg) scale(1.6); opacity: 0; transition: transform 0.5s cubic-bezier(.5,1.8,.6,1), opacity 0.2s;
  box-shadow: inset 0 0 0 4px var(--card), inset 0 0 0 5px var(--shu);
}
.is-in .stamp { transform: rotate(-12deg) scale(1); opacity: 0.92; transition-delay: 0.4s; }

/* ============================================================
   Flow
   ============================================================ */
.flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.flow-line { position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--rule); }
.flow-line i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease); }
.is-in .flow-line i { transform: scaleX(1); }
.flow li { position: relative; }
.flow .dot {
  width: 47px; height: 47px; border-radius: 50%; display: grid; place-items: center; background: var(--paper);
  border: 1px solid var(--ink); font-family: var(--mono); font-size: 0.85rem; position: relative; z-index: 1;
}
.flow li.free .dot { background: var(--ink); color: var(--paper); }
.flow h3 { margin-top: 22px; font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.flow h3 em { font-style: normal; font-size: 0.7rem; letter-spacing: 0.1em; color: #fff; background: var(--shu); padding: 2px 8px; line-height: 1.6; }
.flow p { margin-top: 8px; font-size: 0.9rem; color: var(--ink-2); line-height: 1.85; }

/* ============================================================
   Pricing
   ============================================================ */
.price { border-top: 1px solid var(--rule-strong); }
.price li { display: grid; grid-template-columns: 220px 1fr 260px; gap: 48px; padding: 32px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.price .cat { font-size: 0.85rem; color: var(--muted); }
.price h3 { font-size: 1.15rem; font-weight: 700; }
.price p { margin-top: 6px; font-size: 0.92rem; color: var(--ink-2); }
.price .price-ex { margin-top: 12px; padding: 12px 14px; background: var(--card); border-left: 2px solid var(--shu); font-size: 0.85rem; line-height: 1.85; color: var(--ink-2); }
.price .price-ex b { font-weight: 700; color: var(--ink); }
.price .amt { font-family: var(--serif); font-weight: 800; font-size: 1.9rem; text-align: right; line-height: 1.2; }
.price .amt small { font-family: var(--sans); font-size: 0.85rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.price .amt.free { color: var(--shu); }
.price-note { margin-top: 28px; font-size: 0.9rem; color: var(--muted); }

/* ============================================================
   Promises (dark)
   ============================================================ */
.promise-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(236,231,220,0.7); }
.promise-list li { padding: 32px 32px 40px 0; border-bottom: 1px solid rgba(236,231,220,0.18); }
.promise-list li:not(:nth-child(3n)) { border-right: 1px solid rgba(236,231,220,0.18); }
.promise-list li:not(:nth-child(3n+1)) { padding-left: 32px; }
.promise-list .mono { font-size: 0.75rem; color: var(--shu); }
.promise-list h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; margin: 12px 0 10px; color: #f3efe6; }
.promise-list p { font-size: 0.92rem; color: rgba(236,231,220,0.72); }

/* ============================================================
   Articles
   ============================================================ */
.arts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule-strong); }
.art { display: block; padding: 36px 40px 40px 0; text-decoration: none; border-bottom: 1px solid var(--rule); }
.art + .art { padding-left: 40px; border-left: 1px solid var(--rule); }
.art .mono { font-size: 0.78rem; color: var(--muted); }
.art h3 { font-family: var(--serif); font-size: 1.35rem; line-height: 1.6; margin: 12px 0 14px; font-weight: 700; }
.art h3 span { background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1px no-repeat; transition: background-size 0.6s var(--ease); }
.art:hover h3 span { background-size: 100% 1px; }
.art p { font-size: 0.92rem; color: var(--ink-2); }
.art .more { display: inline-block; margin-top: 18px; font-size: 0.85rem; font-weight: 700; color: var(--shu); }

/* ============================================================
   Profile
   ============================================================ */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; padding-left: 268px; }
.portrait { margin: 0; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper); }
.portrait figcaption { margin-top: 10px; font-size: 0.75rem; color: var(--muted); font-family: var(--mono); }
.pname { font-family: var(--serif); font-size: 2.2rem; font-weight: 800; letter-spacing: 0.1em; line-height: 1.3; }
.profile .role { color: var(--shu); font-size: 0.92rem; font-weight: 700; margin-top: 8px; letter-spacing: 0.06em; }
.profile .bio { margin-top: 20px; font-size: 1rem; color: var(--ink-2); line-height: 2.05; }
.profile .bio strong { background: linear-gradient(transparent 62%, var(--shu-soft) 62%); }
.works { margin-top: 72px; padding-left: 268px; }
.works h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--rule-strong); }
.works h3 small { font-family: var(--sans); font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.works li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); transition: padding 0.4s var(--ease), background 0.4s var(--ease); }
.works li:hover { padding-left: 12px; padding-right: 12px; background: var(--card); }
.works .w { font-size: 0.98rem; }
.works .w::before { content: "—"; color: var(--shu); margin-right: 12px; }
.works .mono { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.profile-foot { margin-top: 40px; padding-left: 268px; }
.facts { margin: 0; border-top: 1px solid var(--rule); }
.facts > div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 0.92rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.facts a { text-underline-offset: 3px; }
.facts .links a { margin-right: 16px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 48px 1fr 24px; gap: 8px; align-items: baseline;
  padding: 26px 0; font-size: 1.08rem; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--serif); color: var(--shu); font-size: 1.2rem; }
.faq summary .pm { position: relative; width: 14px; height: 14px; justify-self: end; align-self: center; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--ink); transition: transform 0.4s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .ans { overflow: hidden; }
.faq .ans p { padding: 0 32px 28px 56px; color: var(--ink-2); font-size: 0.97rem; }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding: 140px 0; position: relative; overflow: hidden; }
.cta h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(2.1rem, 4.8vw, 4rem); line-height: 1.35; letter-spacing: 0.02em; color: #f3efe6; position: relative; }
.cta h2 em { font-style: normal; color: var(--shu); }
.cta p { margin-top: 28px; color: rgba(236,231,220,0.78); max-width: 38em; font-size: 1.05rem; position: relative; }
.cta .actions { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; position: relative; }
.cta .mail { color: rgba(236,231,220,0.7); font-size: 0.92rem; }
.cta .mail a { color: #f3efe6; text-underline-offset: 4px; }
.cta-bg {
  position: absolute; right: -1vw; bottom: -5vw; font-family: var(--serif); font-weight: 800; font-size: 24vw; line-height: 1;
  color: rgba(236,231,220,0.035); pointer-events: none; user-select: none;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--night); color: rgba(236,231,220,0.6); border-top: 1px solid rgba(236,231,220,0.12); padding: 32px 0 40px; font-size: 0.8rem; }
.site-footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .disc { max-width: 46em; line-height: 1.8; }

/* ============================================================
   Mobile sticky CTA
   ============================================================ */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none;
  transform: translateY(140%); transition: transform 0.5s var(--ease);
}
.sticky-cta.is-shown { transform: none; }
.sticky-cta .btn { width: 100%; justify-content: center; box-shadow: 0 16px 30px -12px rgba(0,0,0,0.45); }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }

/* ============================================================
   Article pages
   ============================================================ */
.article-hero { padding: 72px 0 48px; border-bottom: 1px solid var(--rule-strong); }
.article-hero .back { font-size: 0.85rem; text-decoration: none; color: var(--muted); }
.article-hero .back:hover { color: var(--shu); }
.article-hero h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.5; margin-top: 24px; max-width: 24em; }
.article-hero .meta { margin-top: 16px; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.article { max-width: 760px; margin: 0 auto; padding: 64px 32px 120px; }
.article h2 { font-family: var(--serif); font-size: 1.55rem; font-weight: 800; margin: 2.6em 0 0.9em; padding-top: 0.8em; border-top: 1px solid var(--rule-strong); }
.article h3 { font-size: 1.1rem; margin: 2em 0 0.6em; }
.article p { margin: 0 0 1em; }
.article ul, .article ol { margin: 0.6em 0 1.2em; padding-left: 1.4em; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li + li { margin-top: 0.4em; }
.article pre { background: var(--ink); color: #ece7dc; padding: 18px 20px; overflow-x: auto; font-size: 0.86rem; line-height: 1.7; margin: 1em 0 1.4em; }
.article code { font-family: var(--mono); font-size: 0.88em; letter-spacing: 0; }
.article p code, .article li code { background: var(--paper-2); padding: 1px 6px; }
.article table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 1em 0; }
.article th, .article td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.article thead th { border-bottom: 1px solid var(--rule-strong); font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.article .callout { background: var(--card); border-left: 3px solid var(--shu); padding: 22px 24px; margin-bottom: 2em; }
.article .muted { color: var(--muted); }
.article .small { font-size: 0.85rem; }
.article .cta-box { margin-top: 80px; padding: 40px; background: var(--night); color: #ece7dc; }
.article .cta-box p { margin-bottom: 24px; color: rgba(236,231,220,0.85); }
.article .cta-box .btn { --bg: var(--shu); --fg: #fff; }
.article .cta-box .btn::before { background: #ece7dc; }
.article .cta-box .btn:hover { color: var(--ink); border-color: #ece7dc; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .post-frame { max-width: 560px; }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(2) { border-right: 0; }
  .figure:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .figure:nth-child(3) { padding-left: 0; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section-no { max-width: 220px; }
  .indent { padding-left: 0; }
  .explain-body { grid-template-columns: 1fr; gap: 40px; }
  .svc li { grid-template-columns: 1fr; gap: 12px; }
  .svc .go { display: none; }
  .flow { grid-template-columns: 1fr; gap: 36px; padding-left: 72px; }
  .flow-line { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .flow-line i { transform: scaleY(0); transform-origin: top; }
  .is-in .flow-line i { transform: scaleY(1); }
  .flow .dot { position: absolute; left: -72px; top: -6px; }
  .flow h3 { margin-top: 0; }
  .price li { grid-template-columns: 1fr; gap: 6px; }
  .price .amt { text-align: left; margin-top: 8px; }
  .promise-list { grid-template-columns: 1fr 1fr; }
  .promise-list li, .promise-list li:not(:nth-child(3n+1)) { padding: 28px 24px 32px 0; border-right: 0 !important; }
  .promise-list li:nth-child(2n) { padding-left: 24px; border-left: 1px solid rgba(236,231,220,0.18); }
  .profile { grid-template-columns: 260px 1fr; gap: 36px; padding-left: 0; }
  .works, .profile-foot { padding-left: 0; }
  .diag { grid-template-columns: 1fr; }
  .diag-q { border-right: 0; border-bottom: 1px solid rgba(236,231,220,0.25); }
  .diag-result { grid-template-columns: 1fr; gap: 14px; border-top: 0; }
  .diag-result .btn { grid-column: 1; grid-row: auto; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .container { padding: 0 20px; }
  .notice { font-size: 0.75rem; }
  .notice-tag { display: none; }
  .notice-more { display: block; margin-left: 0; }
  .site-header .container { height: 60px; }
  .brand-sub { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule-strong); padding: 8px 20px 24px;
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 0.5s var(--ease), visibility 0s 0.5s; font-size: 1rem;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.5s var(--ease); }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .nav-toggle { display: block; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: clamp(1.5rem, 6.9vw, 2.2rem); }
  .hero h1 .hl { white-space: nowrap; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .figures { margin-top: 64px; }
  .figure { padding: 22px 12px 24px 0; }
  .figure:nth-child(even) { padding-left: 16px; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 1.6rem; }
  .analogy { padding: 20px; }
  .diag-q { padding: 28px 20px; }
  .diag-result { padding: 28px 20px; }
  .diag-result .btn { width: 100%; justify-content: center; }
  .partner-box { grid-template-columns: 1fr; padding: 28px 24px; }
  .stamp { width: 96px; height: 96px; font-size: 0.8rem; }
  .promise-list { grid-template-columns: 1fr; }
  .promise-list li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .profile { grid-template-columns: 1fr; gap: 28px; }
  .portrait { max-width: 260px; }
  .pname { font-size: 1.8rem; }
    .works li { flex-direction: column; gap: 2px; }
  .works .mono { padding-left: 28px; }
  .arts { grid-template-columns: 1fr; }
  .art, .art + .art { padding: 28px 0 32px; border-left: 0; }
  .faq summary { grid-template-columns: 36px 1fr 20px; font-size: 1rem; }
  .faq .ans p { padding: 0 0 24px 44px; }
  .cta { padding: 96px 0 120px; }
  .cta .actions .btn { width: 100%; justify-content: center; }
  .sticky-cta { display: block; }
  .site-footer { padding-bottom: 96px; }
  .article { padding: 48px 20px 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .rv, .fade-up { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
}
