:root {
  --bg: #0b0e14;
  --bg-alt: #10141d;
  --surface: #151a25;
  --border: #232a3a;
  --text: #e8ebf2;
  --text-muted: #9aa3b5;
  --accent: #e04646;
  --accent-soft: rgba(224, 70, 70, 0.12);
  --radius: 14px;
  --container: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(224, 70, 70, 0.3);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.brand-accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  transition: border-color 0.2s, background 0.2s;
}

.nav-cta:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 120px;
  background:
    radial-gradient(ellipse 60% 50% at 70% 10%, rgba(224, 70, 70, 0.08), transparent),
    var(--bg);
}

.hero-kanji {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(180px, 30vw, 340px);
  line-height: 0.9;
  color: rgba(232, 235, 242, 0.03);
  user-select: none;
  pointer-events: none;
  writing-mode: vertical-rl;
}

.hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #c93a3a;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(224, 70, 70, 0.4);
  transform: translateY(-3px);
}

.card-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.card > p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  color: var(--text);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 2px;
  background: var(--accent);
}

/* Approach */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 36px 32px;
}

.approach-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.approach-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 10px;
}

/* Contact */
.contact-inner {
  text-align: center;
  max-width: 640px;
}

.contact-inner .section-title {
  margin-bottom: 16px;
}

.contact-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 34px;
}

.contact-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-tag {
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 70px 0 80px;
  }

  .section {
    padding: 64px 0;
  }
}
