:root {
  color-scheme: light;
  --ink: #111916;
  --muted: #5a6963;
  --line: #dce5e0;
  --paper: #f7faf8;
  --white: #ffffff;
  --green: #154a3a;
  --green-2: #0f332b;
  --blue: #2c5f7f;
  --yellow: #e2b84a;
  --cyan: #62d5c8;
  --shadow: 0 18px 50px rgba(17, 25, 22, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(17, 25, 22, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 25, 22, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px, 36px 36px, auto;
  letter-spacing: 0;
  line-height: 1.7;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(247, 250, 248, 0.88);
  border-bottom: 1px solid rgba(220, 229, 224, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.25;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #24332e;
  font-size: 14px;
  font-weight: 650;
}

.nav a {
  padding: 9px 12px;
  border-radius: 8px;
}

.nav a:hover {
  background: rgba(21, 74, 58, 0.08);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(18px, 5vw, 64px) 56px;
  color: var(--white);
  background: var(--green-2);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 74px 0 0;
  z-index: 1;
  opacity: 0.22;
  background:
    linear-gradient(rgba(98, 213, 200, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 213, 200, 0.22) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(90deg, black, transparent 68%);
  pointer-events: none;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 23, 20, 0.92) 0%, rgba(9, 23, 20, 0.76) 38%, rgba(9, 23, 20, 0.28) 70%, rgba(9, 23, 20, 0.16) 100%),
    linear-gradient(180deg, rgba(9, 23, 20, 0.38) 0%, rgba(9, 23, 20, 0.04) 48%, rgba(9, 23, 20, 0.68) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-top: 20px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.08;
  font-weight: 850;
}

.hero-copy {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  color: #101713;
  background: var(--yellow);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, 100%);
  margin: 48px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-facts div {
  padding: 18px 20px 0 0;
}

.hero-facts dt {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.64);
}

.hero-facts dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.hero-system {
  width: min(560px, 100%);
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(98, 213, 200, 0.28);
  border-radius: 8px;
  background: rgba(6, 18, 16, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.system-header,
.system-steps {
  display: flex;
  align-items: center;
}

.system-header {
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(98, 213, 200, 0.56);
  animation: pulse 1.8s ease-out infinite;
}

.system-steps {
  gap: 10px;
  margin-top: 10px;
  color: var(--white);
  font-size: 14px;
  font-weight: 850;
}

.system-steps span {
  white-space: nowrap;
}

.system-steps i {
  display: block;
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(98, 213, 200, 0.08));
}

.section {
  padding: 88px clamp(18px, 5vw, 64px);
  background: var(--paper);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.intro {
  padding-top: 70px;
}

.intro-grid,
.message-grid,
.process-grid,
.contact-inner,
.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.section h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.intro-grid > p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

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

.service-card,
.example-item,
.contact-panel,
.entry-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(17, 25, 22, 0.03);
}

.service-card {
  min-height: 250px;
  padding: 26px;
}

.service-number {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--blue);
  font-weight: 850;
}

.service-card h3,
.example-item h3,
.steps h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
}

.service-card p,
.example-item p,
.entry-grid p,
.steps p {
  margin: 14px 0 0;
  color: var(--muted);
}

.message {
  background: #edf4f0;
}

.message-grid {
  align-items: center;
}

.portrait-wrap {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.portrait-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.message-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
}

.signature {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #cbd9d2;
}

.signature span,
.signature strong {
  display: block;
}

.signature span {
  color: var(--muted);
  font-size: 13px;
}

.signature strong {
  margin-top: 2px;
  font-size: 18px;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.entry-grid article {
  padding: 20px;
  background: #fbfcfb;
}

.entry-grid h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.ai-flow {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 51, 43, 0.98), rgba(13, 38, 43, 0.96)),
    var(--green-2);
}

.ai-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background:
    linear-gradient(rgba(98, 213, 200, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 213, 200, 0.14) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.ai-flow-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
}

.ai-flow h2 {
  color: var(--white);
}

.ai-flow p:not(.eyebrow) {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.workflow-panel {
  padding: 10px;
  border: 1px solid rgba(98, 213, 200, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.workflow-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.workflow-row:last-child {
  border-bottom: 0;
}

.workflow-row span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #09231d;
  background: var(--cyan);
  border-radius: 8px;
  font-weight: 900;
}

.workflow-row strong {
  color: var(--white);
  font-size: 18px;
}

.workflow-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.band {
  background: #edf4f0;
}

.example-list {
  display: grid;
  gap: 14px;
}

.example-item {
  display: grid;
  grid-template-columns: 150px minmax(210px, 0.7fr) minmax(280px, 1fr);
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
}

.example-label {
  width: fit-content;
  padding: 7px 10px;
  color: var(--green);
  background: #e6f0ea;
  border: 1px solid #c9dbd1;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 850;
}

.sticky-heading {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

.sticky-heading p:not(.eyebrow) {
  margin-top: 18px;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-weight: 850;
}

.contact {
  color: var(--white);
  background: var(--green-2);
}

.contact .eyebrow {
  color: var(--yellow);
}

.contact p {
  color: rgba(255, 255, 255, 0.76);
  margin-top: 22px;
}

.contact-panel {
  padding: 24px 28px 28px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-panel .panel-title {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 850;
}

.contact-panel ul {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.contact-panel li {
  position: relative;
  padding-left: 22px;
}

.contact-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
}

.company {
  background: var(--white);
}

.company h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}

.company p {
  margin: 18px 0 0;
  color: var(--muted);
}

.company-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  color: var(--muted);
  font-weight: 750;
}

.company-list dd {
  margin: 0;
  font-weight: 750;
}

.company-list a,
.footer a {
  color: inherit;
  text-decoration-color: rgba(25, 96, 83, 0.32);
  text-underline-offset: 4px;
}

.wide {
  width: 100%;
}

.footer {
  padding: 34px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.7);
  background: #091713;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.footer strong {
  color: var(--white);
}

.footer p {
  margin: 4px 0 0;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(98, 213, 200, 0.52);
  }
  72% {
    box-shadow: 0 0 0 12px rgba(98, 213, 200, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(98, 213, 200, 0);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    min-height: auto;
    flex-wrap: wrap;
    padding: 12px 16px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav a {
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding: 78px 18px 42px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 23, 20, 0.92), rgba(9, 23, 20, 0.7)),
      linear-gradient(180deg, rgba(9, 23, 20, 0.18), rgba(9, 23, 20, 0.74));
  }

  .hero::before {
    inset: 132px 0 0;
    background-size: 46px 46px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-facts,
  .service-grid,
  .entry-grid,
  .intro-grid,
  .message-grid,
  .ai-flow-grid,
  .process-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    gap: 0;
  }

  .example-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sticky-heading {
    position: static;
  }

  .footer-inner {
    flex-direction: column;
  }

  .workflow-row {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .workflow-row p {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

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

  .hero h1 {
    font-size: 34px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    border-top: 0;
  }

  .hero-facts div {
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .hero-system {
    padding: 12px;
  }

  .system-steps {
    gap: 7px;
    font-size: 13px;
  }

  .system-steps i {
    width: 18px;
  }

  .section {
    padding: 62px 18px;
  }

  .service-card,
  .contact-panel {
    padding: 22px;
  }

  .contact-panel {
    padding-top: 16px;
  }

  .panel-title {
    margin-bottom: 8px;
  }

  .workflow-row {
    padding: 16px 12px;
  }
}
