@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;600;800&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

:root {
  --navy: #1c2b45;
  --paper: #edefea;
  --paper-alt: #e3e6de;
  --ink: #22242a;
  --ink-soft: #4a4d55;
  --seal: #b7301c;
  --line: #c7c9be;
  --max: 720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  font-size: 17px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap--wide {
  max-width: 960px;
}

a {
  color: inherit;
}

/* ---------- header ---------- */

.site-header {
  padding: 28px 0;
}

.site-header .wrap--wide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-logo {
  height: 26px;
  width: auto;
  display: block;
}

.firm-name {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.status-pill {
  font-size: 0.8rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 4px 12px;
  white-space: nowrap;
  text-decoration: none;
}

.status-pill:hover {
  background: var(--paper-alt);
}

/* ---------- hero ---------- */

.hero {
  padding: 40px 0 88px;
  border-top: none;
}

.hero-logo {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  margin: 0 0 36px;
}

h1 {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw + 0.6rem, 3.2rem);
  line-height: 1.45;
  margin: 4px 0 28px;
  max-width: 16ch;
}

.hero-sub {
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin: 0 0 32px;
}

.cta {
  display: inline-block;
  padding: 14px 28px;
  background: var(--navy);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background 0.15s ease;
}

.cta:hover {
  background: #14213a;
}

.cta:focus-visible {
  outline: 2px solid var(--seal);
  outline-offset: 3px;
}

/* ---------- sections ---------- */

section {
  border-top: 1px solid var(--line);
  padding: 72px 0;
}

h2 {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 1.8vw + 0.8rem, 1.9rem);
  line-height: 1.6;
  margin: 0 0 36px;
  max-width: 18ch;
}

/* about / profile */

.about p,
.profile p {
  max-width: 52ch;
  color: var(--ink-soft);
}

.features .facts {
  margin-top: 0;
}

.features .facts dd {
  color: var(--ink-soft);
}

.profile {
  background: var(--paper-alt);
}

.profile h2 {
  max-width: none;
}

.person-name {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: -24px 0 28px;
}

.facts {
  margin: 32px 0 0;
  padding: 0;
  max-width: 52ch;
  border-top: 1px solid var(--line);
}

.facts div {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.facts dd {
  margin: 0;
  font-size: 0.98rem;
}

/* footer / signup */

footer {
  background: var(--navy);
  color: var(--paper);
  border-top: none;
}

footer h2 {
  color: var(--paper);
}

footer p {
  max-width: 44ch;
  color: #c3cad9;
}

footer .cta {
  background: var(--paper);
  color: var(--navy);
  margin-top: 18px;
}

footer .cta:hover {
  background: #ffffff;
}

.fine-print {
  margin-top: 56px;
  font-size: 0.8rem;
  color: #7d879e;
}

/* ---------- responsive ---------- */

@media (max-width: 640px) {
  .hero-logo {
    max-width: 260px;
    margin-bottom: 28px;
  }

  h1 {
    max-width: none;
  }

  section {
    padding: 56px 0;
  }
}

/* ログイン／ご案内のボタン、フッターのリンク・運営者情報（2026-10-02） */
.cta--sub {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
  margin-left: 12px;
}

.cta--sub:hover {
  background: var(--paper-alt);
}

.links {
  margin-top: 28px;
  font-size: 0.92rem;
}

.links a {
  color: #c3cad9;
  margin-right: 16px;
}

.operator {
  max-width: none;
  margin-top: 28px;
  font-size: 0.85rem;
  line-height: 1.8;
  color: #9aa5bd;
}

.operator a {
  color: inherit;
}

/* recent updates（入口ページ。他のセクションと同じ罫線・余白） */

.recent {
  padding: 48px 0;
}

.recent[hidden] {
  display: none;
}

.recent h2 {
  max-width: none;
  margin-bottom: 20px;
}

.recent .recent-checked {
  margin: -12px 0 14px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--ink-soft);
  white-space: nowrap;
}

.recent ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--ink-soft);
}

/* ---------- beta badge ---------- */
.beta-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 14px;
  border: 1px solid var(--seal);
  border-radius: 999px;
  color: var(--seal);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
