:root {
  --paper: #f2f0e9;
  --paper-2: #e7e3d8;
  --ink: #151515;
  --muted: #6d6a62;
  --line: rgba(21, 21, 21, 0.18);
  --accent: #ff5a36;
  --lime: #c8ff56;
  --dark: #151515;
  --white: #fffef8;
  --shell: min(1440px, calc(100vw - 64px));
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body::selection {
  color: var(--ink);
  background: var(--lime);
}

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

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 50%;
  width: var(--shell);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  transition: padding 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  padding: 12px 18px;
  top: 10px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 999px;
  background: rgba(242, 240, 233, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand-mark {
  width: 17px;
  aspect-ratio: 1;
  border: 5px solid var(--ink);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-35deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.site-nav > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 11px 16px;
  color: var(--white);
  background: var(--dark);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: 32px;
  padding-top: 110px;
  padding-bottom: 54px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 28px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero-title {
  margin: 0;
  font-size: clamp(56px, 7vw, 118px);
  line-height: 0.98;
  letter-spacing: -0.075em;
  font-weight: 800;
}

.hero-title span {
  display: block;
}

.hero-lead {
  max-width: 650px;
  margin: 38px 0 0;
  color: #45433e;
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1.9;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 230px;
  padding: 16px 18px 16px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease;
}

.button span {
  font-size: 18px;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--white);
  background: var(--dark);
}

.button-primary:hover {
  color: var(--ink);
  background: var(--lime);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
}

.hero-visual > img {
  width: min(100%, 660px);
  animation: orbitFloat 8s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  width: min(250px, 45%);
  padding: 18px;
  border: 1px solid rgba(21, 21, 21, 0.15);
  background: rgba(255, 254, 248, 0.74);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  box-shadow: 0 22px 45px rgba(21, 21, 21, 0.08);
}

.floating-card-a {
  top: 16%;
  right: -2%;
  transform: rotate(4deg);
}

.floating-card-b {
  left: 2%;
  bottom: 14%;
  transform: rotate(-5deg);
}

.mini-label {
  display: block;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.floating-card strong {
  font-size: 14px;
  line-height: 1.5;
}

.hero-index {
  position: absolute;
  right: 0;
  bottom: 24px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 18px 0;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 24s linear infinite;
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.ticker-track i {
  color: var(--accent);
  font-size: 0.38em;
  font-style: normal;
}

.section-kicker {
  display: grid;
  grid-template-columns: 80px 1fr;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.section-kicker p {
  margin: 0;
}

.method {
  padding-block: 150px 120px;
}

.method-row {
  display: grid;
  grid-template-columns: 80px minmax(220px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: 24px;
  padding: 50px 0 58px;
  border-bottom: 1px solid var(--line);
}

.method-number {
  padding-top: 9px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.method-word {
  font-size: clamp(28px, 4vw, 68px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.method-row:nth-of-type(2) .method-word {
  color: var(--accent);
}

.method-row:nth-of-type(3) .method-word {
  color: #66702e;
}

.method-copy h2,
.review-copy h2,
.confidence-head h2,
.insight-copy h2,
.subjects-heading h2,
.closing h2 {
  margin: 0;
  font-size: clamp(32px, 4.1vw, 68px);
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.method-copy p,
.body-copy,
.confidence-head > div > p,
.insight-copy > p,
.subjects-heading > p {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 600;
}

.review-section {
  padding: 130px 0;
  background: var(--dark);
  color: var(--white);
}

.review-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.review-copy .body-copy {
  color: rgba(255, 254, 248, 0.62);
}

.review-timeline {
  position: relative;
  padding: 100px 0 42px;
}

.timeline-line {
  position: absolute;
  top: 133px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: rgba(255, 254, 248, 0.22);
}

.timeline-line span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--lime);
  transition: width 1.4s var(--ease);
}

.review-timeline.is-visible .timeline-line span {
  width: 100%;
}

.review-timeline ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-timeline li {
  text-align: center;
}

.dot {
  display: block;
  width: 14px;
  aspect-ratio: 1;
  margin: 0 auto 42px;
  border: 3px solid var(--dark);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px rgba(255, 254, 248, 0.5);
}

.review-timeline strong {
  display: block;
  font-size: clamp(26px, 3vw, 48px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.review-timeline small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 254, 248, 0.5);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.timeline-note {
  margin: 58px 0 0;
  text-align: center;
  color: rgba(255, 254, 248, 0.55);
  font-size: 12px;
}

.confidence {
  padding-block: 150px;
}

.confidence-head {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 70px;
  align-items: end;
  padding-top: 54px;
}

.oversize-copy {
  margin: 0;
  font-size: clamp(52px, 8.2vw, 142px);
  line-height: 0.78;
  font-weight: 900;
  letter-spacing: -0.085em;
}

.oversize-copy em {
  color: var(--accent);
  font-style: normal;
}

.confidence-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 90px;
}

.confidence-cards article {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: transform 0.3s var(--ease), background 0.3s ease;
}

.confidence-cards article:hover {
  transform: translateY(-6px);
  background: var(--white);
}

.confidence-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 44px;
  filter: grayscale(0.1);
}

.confidence-cards p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.confidence-cards strong {
  font-size: 24px;
}

.insight-section {
  padding: 120px 0;
  background: var(--paper-2);
}

.insight-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 80px;
  align-items: center;
}

.insight-art {
  padding: 28px;
  border: 1px solid rgba(21, 21, 21, 0.14);
  border-radius: 28px;
  background: rgba(255, 254, 248, 0.42);
}

.insight-art img {
  width: 100%;
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.signal-list span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.subjects {
  padding-block: 150px;
}

.subjects-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  padding-top: 52px;
}

.subjects-heading > p {
  max-width: 330px;
  margin: 0 0 8px;
}

.subject-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
  margin-top: 70px;
}

.subject-card {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
}

.subject-card-active {
  color: var(--white);
  background: var(--dark);
  transition: transform 0.35s var(--ease), background 0.35s ease, color 0.35s ease;
}

.subject-card-active::before {
  position: absolute;
  content: "";
  width: 420px;
  aspect-ratio: 1;
  right: -100px;
  top: -120px;
  border: 1px solid rgba(255, 254, 248, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 254, 248, 0.025), 0 0 0 140px rgba(255, 254, 248, 0.018);
}

.subject-card-active:hover {
  transform: translateY(-7px);
  color: var(--ink);
  background: var(--lime);
}

.subject-card-soon {
  background: transparent;
}

.subject-state {
  position: relative;
  z-index: 1;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.subject-card > div {
  position: relative;
  z-index: 1;
}

.subject-code {
  margin: 0 0 12px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
  opacity: 0.58;
}

.subject-card h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.subject-card > div > p:last-child {
  max-width: 540px;
  margin: 22px 0 0;
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.68;
}

.subject-arrow,
.subject-plus {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 34px;
}

.closing {
  padding: 140px 0;
  color: var(--white);
  background: var(--accent);
}

.closing-inner {
  display: grid;
  grid-template-columns: 0.38fr 1fr auto;
  gap: 42px;
  align-items: end;
}

.closing-small {
  margin: 0 0 8px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.button-light {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: var(--dark);
  border-color: var(--dark);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 60px;
  align-items: end;
  padding-block: 60px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer > div:first-child > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.copyright {
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal-line {
  transform: translateY(55px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes orbitFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 900px); }

  .site-nav > a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 150px; }
  .hero-visual { min-height: 520px; margin-top: -20px; }
  .method-row { grid-template-columns: 50px 0.7fr 1.3fr; }
  .review-grid,
  .insight-grid { grid-template-columns: 1fr; }
  .confidence-head { grid-template-columns: 1fr; }
  .closing-inner { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr auto; }
  .copyright { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100vw - 28px); }

  .site-header { padding-top: 16px; }
  .site-header.is-scrolled { width: calc(100vw - 20px); }
  .brand { font-size: 11px; }
  .nav-cta { padding: 9px 13px; }

  .hero {
    min-height: auto;
    padding-top: 128px;
    padding-bottom: 70px;
  }

  .hero-title { font-size: clamp(49px, 15vw, 78px); }
  .hero-lead { margin-top: 28px; font-size: 14px; }
  .hero-lead br { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 390px; }
  .hero-visual > img { width: 95%; }
  .floating-card { width: 52%; padding: 14px; border-radius: 14px; }
  .floating-card strong { font-size: 11px; }
  .floating-card-a { right: 0; }
  .floating-card-b { left: 0; }

  .method { padding-block: 100px 80px; }
  .section-kicker { grid-template-columns: 50px 1fr; }
  .method-row {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 38px 0;
  }
  .method-word { font-size: 36px; }
  .method-copy { grid-column: 2; }
  .method-copy h2,
  .review-copy h2,
  .confidence-head h2,
  .insight-copy h2,
  .subjects-heading h2,
  .closing h2 { font-size: 38px; }

  .review-section { padding: 95px 0; }
  .review-grid { gap: 44px; }
  .review-timeline { overflow-x: auto; padding-top: 76px; padding-bottom: 20px; }
  .review-timeline ol { min-width: 620px; }
  .timeline-line { left: 52px; width: 516px; right: auto; top: 109px; }
  .timeline-note { text-align: left; }

  .confidence { padding-block: 100px; }
  .oversize-copy { font-size: 18vw; }
  .confidence-cards { grid-template-columns: 1fr; margin-top: 54px; }
  .confidence-cards article { min-height: 190px; }

  .insight-section { padding: 90px 0; }
  .insight-grid { gap: 48px; }
  .insight-art { padding: 16px; border-radius: 20px; }

  .subjects { padding-block: 100px; }
  .subjects-heading { align-items: start; flex-direction: column; gap: 18px; }
  .subjects-heading > p { margin: 0; }
  .subject-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .subject-card { min-height: 340px; border-radius: 22px; }

  .closing { padding: 90px 0; }
  .button { width: 100%; }

  .site-footer { grid-template-columns: 1fr; gap: 36px; padding-block: 46px; }
  .footer-links { flex-wrap: wrap; }
  .copyright { grid-column: auto; }
}

@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;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Brand name: Japanese first, English as a small supporting label. */
.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand-name {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.055em;
  white-space: nowrap;
}

.brand-en {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.22em;
  opacity: 0.58;
}

.service-name {
  display: inline-flex;
  align-items: baseline;
  gap: 13px;
  margin: 0 0 20px;
  padding: 10px 17px 11px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 900;
  letter-spacing: 0.055em;
}

.service-name small {
  font-size: 8px;
  letter-spacing: 0.22em;
  opacity: 0.62;
}

.footer-brand .brand-name {
  font-size: 18px;
}

@media (max-width: 720px) {
  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 15px;
    border-width: 4px;
  }

  .brand-name {
    font-size: 14px;
  }

  .brand-en {
    font-size: 7px;
  }

  .service-name {
    gap: 9px;
    margin-bottom: 18px;
    padding: 9px 14px 10px;
    box-shadow: 3px 3px 0 var(--ink);
  }
}
