:root {
  --bg: #f7f7f4;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: #ffffff;
  --text: #111315;
  --muted: rgba(17, 19, 21, 0.62);
  --line: rgba(17, 19, 21, 0.1);
  --accent: #111315;
  --accent-text: #ffffff;
  --shadow: 0 24px 80px rgba(17, 19, 21, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Hiragino Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(17, 19, 21, 0.04), transparent 20%),
    radial-gradient(circle at 85% 10%, rgba(17, 19, 21, 0.03), transparent 18%),
    linear-gradient(180deg, #fcfcfa 0%, #f4f4f0 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(17, 19, 21, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 21, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 72%);
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 56px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.65, 0.2, 1);
}

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

.site-header,
.section,
.hero,
.site-footer {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
}

.brand-copy {
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.site-nav a:hover,
.button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: 24px;
  padding: 72px 32px 56px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 10vw, 6.3rem);
  line-height: 1;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.14;
}

.hero-lead,
.statement,
.service-card p,
.case-card p {
  color: var(--muted);
  line-height: 1.8;
}

.subcopy-ja,
.section-subcopy {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.section-subcopy-light {
  color: rgba(255, 255, 255, 0.72);
}

.hero-lead {
  max-width: 28rem;
  margin-bottom: 0;
  font-size: 1.02rem;
}

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

.hero-visual {
  position: relative;
  min-height: 420px;
  --pointer-x: 0px;
  --pointer-y: 0px;
  transform: translate3d(var(--pointer-x), var(--pointer-y), 0);
  transition: transform 0.25s ease-out;
}

.hero-visual-video,
.hero-visual-image,
.section-visual-image,
.case-visual-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-video,
.hero-visual-image,
.section-visual-image {
  position: absolute;
  inset: 0;
  border-radius: 26px;
}

.hero-visual-video {
  z-index: 0;
  object-fit: cover;
  opacity: 0.94;
  filter: saturate(0.9) contrast(1.01) brightness(1.015);
}

.hero-visual-image {
  z-index: -1;
  opacity: 0.78;
  filter: saturate(0.92) contrast(1.02);
}

.orbit,
.trust-core::before,
.trust-core::after {
  position: absolute;
  border-radius: 50%;
}

.orbit {
  inset: 50%;
  border: 1px solid rgba(17, 19, 21, 0.045);
  transform: translate(-50%, -50%);
}

.orbit-large {
  width: 380px;
  height: 380px;
  animation: rotate-slow 18s linear infinite;
}

.orbit-small {
  width: 280px;
  height: 280px;
  border-style: dashed;
  opacity: 0.65;
  animation: rotate-reverse 14s linear infinite;
}

.trust-core {
  position: absolute;
  inset: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
}

.trust-core::before {
  top: 50%;
  left: 50%;
  width: 220px;
  height: 220px;
  content: "";
  background: radial-gradient(circle, rgba(17, 19, 21, 0.035), rgba(17, 19, 21, 0));
  transform: translate(-50%, -50%);
}

.trust-core::after {
  top: calc(50% - 120px);
  left: calc(50% + 108px);
  width: 8px;
  height: 8px;
  content: "";
  background: rgba(17, 19, 21, 0.72);
  animation: pulse-dot 2.8s ease-in-out infinite;
}

.core-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 166px;
  height: 166px;
  border: 1px solid rgba(17, 19, 21, 0.08);
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(246, 246, 242, 0.64));
  transform: translate(-50%, -50%) rotate(12deg);
  box-shadow: 0 24px 56px rgba(17, 19, 21, 0.04);
}

.core-panel {
  position: absolute;
  border: 1px solid rgba(17, 19, 21, 0.06);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 40px rgba(17, 19, 21, 0.045);
  backdrop-filter: blur(8px);
}

.core-panel-main {
  top: 50%;
  left: 50%;
  display: grid;
  gap: 10px;
  width: 220px;
  padding: 26px 24px;
  border-radius: 28px;
  transform: translate(-50%, -50%);
  animation: float-main 6.5s ease-in-out infinite;
}

.core-panel-main strong {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.core-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.core-panel-side {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 18px;
  font-size: 0.88rem;
  font-weight: 700;
  opacity: 0.86;
}

.panel-top {
  top: 60px;
  left: 98px;
  animation: float-soft 5.4s ease-in-out infinite;
}

.panel-right {
  top: 154px;
  right: 32px;
  animation: float-soft 6.2s ease-in-out infinite 0.4s;
}

.panel-bottom {
  bottom: 74px;
  left: 128px;
  animation: float-soft 5.8s ease-in-out infinite 0.8s;
}

.mini-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
}

.icon-grid::before,
.icon-grid::after,
.icon-chart::before,
.icon-chart::after,
.icon-shield::before,
.icon-shield::after {
  position: absolute;
  content: "";
}

.icon-grid::before {
  inset: 2px;
  border: 1.5px solid #111315;
  border-radius: 4px;
}

.icon-grid::after {
  top: 8px;
  left: 2px;
  width: 14px;
  height: 1.5px;
  background: #111315;
  box-shadow: 0 -5px 0 #111315;
}

.icon-chart::before {
  bottom: 2px;
  left: 2px;
  width: 14px;
  height: 12px;
  border-left: 1.5px solid #111315;
  border-bottom: 1.5px solid #111315;
}

.icon-chart::after {
  right: 3px;
  bottom: 5px;
  width: 9px;
  height: 9px;
  border-top: 1.5px solid #111315;
  border-right: 1.5px solid #111315;
  transform: skew(-25deg) rotate(12deg);
}

.icon-shield::before {
  top: 1px;
  left: 3px;
  width: 12px;
  height: 15px;
  border: 1.5px solid #111315;
  border-radius: 6px 6px 8px 8px;
  clip-path: polygon(50% 0%, 100% 18%, 100% 55%, 50% 100%, 0% 55%, 0% 18%);
}

.icon-shield::after {
  top: 6px;
  left: 7px;
  width: 4px;
  height: 7px;
  border-right: 1.5px solid #111315;
  border-bottom: 1.5px solid #111315;
  transform: rotate(40deg);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button-primary {
  color: var(--accent-text);
  background: var(--accent);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
}

.button-block {
  width: 100%;
}

.section {
  margin-top: 18px;
  padding: 28px;
}

.statement-section {
  padding-top: 34px;
  padding-bottom: 34px;
  background: var(--panel-strong);
}

.statement {
  max-width: 42rem;
  margin-bottom: 0;
  font-size: clamp(1.02rem, 2vw, 1.24rem);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.narrow-heading {
  max-width: 34rem;
}

.ai-transition-section {
  overflow: hidden;
}

.ai-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.9fr);
  gap: 20px;
  align-items: center;
}

.ai-stage-copy {
  display: grid;
  gap: 14px;
}

.ai-step {
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
}

.ai-step-index {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ai-step h3 {
  margin-bottom: 10px;
  font-size: 1.36rem;
}

.ai-step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.ai-step .subcopy-ja {
  margin-top: 8px;
}

.ai-stage-visual {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(17, 19, 21, 0.08), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 246, 242, 0.88));
  overflow: hidden;
  transform: translateY(var(--scroll-shift, 0px));
}

.section-visual-image {
  opacity: 0.52;
}

.ai-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 19, 21, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 21, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.9), transparent 80%);
}

.signal-card {
  position: absolute;
  display: grid;
  gap: 6px;
  min-width: 148px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(17, 19, 21, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 50px rgba(17, 19, 21, 0.08);
}

.signal-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal-card strong {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.signal-primary {
  top: 64px;
  left: 58px;
  animation: drift-card 7s ease-in-out infinite;
}

.signal-secondary {
  top: 172px;
  right: 42px;
  animation: drift-card 8.2s ease-in-out infinite 0.5s;
}

.signal-tertiary {
  bottom: 54px;
  left: 112px;
  animation: drift-card 7.6s ease-in-out infinite 1s;
}

.signal-beam {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(17, 19, 21, 0), rgba(17, 19, 21, 0.28), rgba(17, 19, 21, 0));
  transform-origin: left center;
}

.beam-one {
  top: 148px;
  left: 140px;
  width: 178px;
  transform: rotate(18deg);
}

.beam-two {
  bottom: 118px;
  left: 160px;
  width: 140px;
  transform: rotate(-26deg);
}

.service-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.case-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.case-card {
  position: relative;
  overflow: hidden;
  padding-top: 148px;
}

.case-visual-image {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  height: 102px;
  border-radius: 16px;
  border: 1px solid rgba(17, 19, 21, 0.06);
  object-fit: cover;
}

.service-kicker,
.case-metric {
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-metric {
  color: var(--text);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: 1.28rem;
}

.service-card p,
.case-card p {
  margin-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  align-items: start;
}

.showcase-section {
  padding: 0;
  overflow: hidden;
}

.showcase-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: 20px;
  align-items: center;
  padding: 32px 28px;
  background:
    linear-gradient(120deg, rgba(17, 19, 21, 0.96), rgba(44, 50, 58, 0.96)),
    radial-gradient(circle at right top, rgba(255, 255, 255, 0.08), transparent 30%);
  transform: translateY(var(--scroll-shift, 0px));
}

.showcase-copy h2 {
  color: #fff;
}

.showcase-copy .eyebrow {
  color: rgba(255, 255, 255, 0.58);
}

.showcase-track {
  position: relative;
  min-height: 180px;
}

.track-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.2));
  transform: translateY(-50%);
}

.track-node {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: #0f1114;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.06);
  transform: translateY(-50%);
  animation: pulse-node 3.4s ease-in-out infinite;
}

.node-one {
  left: 8%;
}

.node-two {
  left: 48%;
  animation-delay: 0.5s;
}

.node-three {
  right: 10%;
  animation-delay: 1s;
}

.contact-lead,
.form-note,
.field span,
input,
textarea {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.field small {
  font-size: 0.8em;
  font-weight: 600;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
  background: #fff;
  font: inherit;
  color: var(--text);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(17, 19, 21, 0.34);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(17, 19, 21, 0.24);
}

.field textarea {
  resize: vertical;
  min-height: 144px;
}

.form-note {
  margin-bottom: 0;
  font-size: 0.84rem;
  line-height: 1.7;
}

.form-status {
  min-height: 1.6em;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text);
}

.form-status.is-error {
  color: #a33a2b;
}

.contact-form.is-submitting .button-primary {
  opacity: 0.7;
  pointer-events: none;
}

.site-footer {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: 24px 28px;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.footer-brand p,
.footer-copy {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 900px) {
  .ai-stage,
  .service-grid,
  .case-grid,
  .contact-section,
  .showcase-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 48px 22px 42px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .ai-stage-visual {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 18px, 1120px);
    padding-top: 10px;
  }

  .site-header,
  .hero,
  .section {
    border-radius: 22px;
  }

  .site-header,
  .section {
    padding: 18px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1 1 calc(50% - 10px);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 300px;
  }

  .ai-stage-visual {
    min-height: 300px;
  }

  .orbit-large {
    width: 290px;
    height: 290px;
  }

  .orbit-small {
    width: 220px;
    height: 220px;
  }

  .core-panel-main {
    width: 190px;
    padding: 22px 20px;
  }

  .core-panel-main strong {
    font-size: 1.6rem;
  }

  .panel-top {
    top: 42px;
    left: 26px;
  }

  .panel-right {
    top: 128px;
    right: 6px;
  }

  .panel-bottom {
    bottom: 46px;
    left: 48px;
  }

  .signal-primary {
    top: 28px;
    left: 20px;
  }

  .signal-secondary {
    top: 128px;
    right: 20px;
  }

  .signal-tertiary {
    bottom: 26px;
    left: 42px;
  }
}

@keyframes rotate-slow {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes rotate-reverse {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes float-main {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-50%, calc(-50% - 10px));
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.6);
    opacity: 0.35;
  }
}

@keyframes drift-card {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-node {
  0%,
  100% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.06);
  }

  50% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.02);
  }
}
