:root {
  --ink: #101820;
  --ink-2: #192637;
  --blue: #1f5f8b;
  --cyan: #21b7d3;
  --teal: #0f9b8e;
  --lime: #9ccf43;
  --amber: #d99b18;
  --red: #b85b4a;
  --white: #ffffff;
  --paper: #f6f8fb;
  --mist: #edf5f6;
  --warm: #fff7e8;
  --line: #dbe5ec;
  --line-dark: rgba(255, 255, 255, 0.16);
  --text: #102033;
  --text-soft: #42546b;
  --shadow: 0 18px 44px rgba(16, 32, 51, 0.14);
  --max: 1120px;
  --radius: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(16, 32, 51, 0.1);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.78rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo__mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}

.logo__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo__name {
  font-weight: 900;
  font-size: 0.94rem;
  line-height: 1.3;
}

.logo__tagline {
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1.35;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  padding: 0.55rem 0.9rem;
  font-family: inherit;
  font-weight: 800;
}

.nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem 0.95rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

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

.nav .btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

.nav .btn-nav:hover {
  background: var(--teal);
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  color: var(--text);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.hero__bg--robotic {
  opacity: 0;
  animation: hero-image-swap 9s ease-in-out infinite;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(246,251,254,.94) 0%, rgba(246,251,254,.72) 26%, rgba(246,251,254,.28) 46%, rgba(246,251,254,0) 62%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  padding: 3.6rem 0;
}

.hero__copy {
  max-width: 560px;
}

.hero__label,
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero__label {
  display: inline-flex;
  color: var(--blue);
  border: 1px solid rgba(31, 95, 139, 0.24);
  border-radius: 999px;
  padding: 0.44rem 0.9rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(31, 95, 139, 0.1);
}

.hero h1 {
  margin: 0.8rem 0 1rem;
  font-size: 3.6rem;
  line-height: 1.16;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}

.hero h1 span {
  display: block;
}

.hero__title-accent {
  color: var(--blue);
}

.hero__lead {
  max-width: 42rem;
  margin: 0;
  color: #2c3a48;
  font-size: 1.08rem;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
}

.hero__actions,
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0.72rem 1.3rem;
  font-weight: 900;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, #ffda6a, var(--amber));
  color: #17202b;
  box-shadow: 0 14px 34px rgba(217, 155, 24, 0.26);
}

.btn--ghost {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(31, 95, 139, 0.26);
}

.btn--ghost:hover {
  background: var(--white);
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
}

.hero__tags li {
  border-radius: 999px;
  padding: .32rem .65rem;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(31, 95, 139, .16);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
}

.hero__panel {
  position: absolute;
  right: 1.6rem;
  bottom: 1.4rem;
  z-index: 2;
  margin: 0;
  padding: .9rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(9, 19, 31, .78);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.hero__panel span {
  display: block;
  color: #d8fff6;
  font-size: .74rem;
  font-weight: 900;
}

.hero__panel strong {
  display: block;
  margin-top: .14rem;
  font-size: 1rem;
  line-height: 1.45;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--cyan), var(--lime), var(--amber), var(--red));
  z-index: 3;
}

@keyframes hero-image-swap {
  0%, 42% { opacity: 0; }
  50%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg--robotic {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .hero {
    min-height: 0;
    background: linear-gradient(180deg, #eaf4fb, #f6fbfd);
  }

  .hero__bg,
  .hero__shade,
  .hero__panel {
    position: static;
  }

  .hero__shade {
    display: none;
  }

  .hero__bg {
    height: auto;
    object-fit: contain;
  }

  .hero__bg--robotic {
    display: none;
  }

  .hero .wrap {
    padding: 2.6rem 0 1.6rem;
  }

  .hero__copy {
    max-width: none;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero__panel {
    margin: .8rem 1rem 1.2rem;
    display: inline-block;
  }
}

.nav .is-current {
  color: var(--blue);
}

.topline {
  background: var(--warm);
  border-bottom: 1px solid #eedcb6;
  padding: 3rem 0;
}

.topline__layout {
  display: grid;
  grid-template-columns: 0.55fr 1fr 1fr;
  gap: 1.4rem;
  align-items: start;
}

.topline h2,
.dark-section h2,
.process-section h2,
.company-strip h2,
.cta-band h2 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.topline p:last-child,
.dark-section p,
.process-section p,
.company-strip p {
  margin: 0;
  color: var(--text-soft);
}

.page-section {
  padding: 5rem 0;
}

.page-section--muted {
  background: var(--paper);
}

.section-head {
  max-width: 46rem;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

.section-title {
  margin: 0;
  color: var(--text);
  font-size: 2.2rem;
  line-height: 1.34;
  letter-spacing: 0;
}

.section-desc {
  margin: 0.7rem 0 0;
  color: var(--text-soft);
}

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

.shift-card,
.service-item,
.core-card,
.process-list li {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.06);
}

.shift-card {
  min-height: 230px;
  padding: 1.3rem;
  border-top: 5px solid var(--cyan);
}

.shift-card:nth-child(2) {
  border-top-color: var(--lime);
}

.shift-card:nth-child(3) {
  border-top-color: var(--red);
}

.shift-card span,
.service-item__num,
.core-card__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0.1rem 0.65rem;
  background: #e6f7fb;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
}

.shift-card h3,
.service-item h3 {
  margin: 0.85rem 0 0.45rem;
  font-size: 1.08rem;
  line-height: 1.45;
  letter-spacing: 0;
}

.shift-card p,
.service-item p,
.core-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.dark-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  padding: 5rem 0;
}

.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 72px),
    linear-gradient(120deg, rgba(33, 183, 211, 0.18), transparent 48%, rgba(217, 155, 24, 0.12));
  pointer-events: none;
}

.engine-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.engine-copy p {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 1rem;
}

.eyebrow--light {
  color: #d8fff6;
}

.engine-image,
.company-strip__figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.engine-image {
  border-color: var(--line-dark);
}

.engine-image img,
.company-strip__figure img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.core-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
}

.core-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--teal);
}

.core-card--security::before {
  background: var(--red);
}

.core-card__label {
  background: #e8faf6;
  color: var(--teal);
}

.core-card--security .core-card__label {
  background: #fff0ec;
  color: var(--red);
}

.core-card h3 {
  margin: 0.8rem 0 0.7rem;
  font-size: 1.45rem;
  line-height: 1.38;
  letter-spacing: 0;
}

.core-card ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--text);
}

.core-card li {
  margin: 0.35rem 0;
}

.service-grid {
  margin-top: 1.2rem;
}

.service-item {
  min-height: 215px;
  padding: 1.25rem;
}

.service-item__num {
  min-width: 42px;
  background: #e6f7fb;
  color: var(--blue);
}

.service-item:nth-child(2n) .service-item__num {
  background: #e8faf6;
  color: var(--teal);
}

.service-item:nth-child(3n) .service-item__num {
  background: #fff4d8;
  color: var(--amber);
}

.process-section {
  background: linear-gradient(180deg, #ffffff 0%, #f5faf8 100%);
  padding: 5rem 0;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 3rem;
  align-items: start;
}

.process-layout > div > p:last-child {
  margin-top: 0.9rem;
}

.process-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding: 1.1rem 1.15rem;
  border-left: 5px solid var(--cyan);
}

.process-list li:nth-child(2) {
  border-left-color: var(--lime);
}

.process-list li:nth-child(3) {
  border-left-color: var(--amber);
}

.process-list li:nth-child(4) {
  border-left-color: var(--red);
}

.process-list span {
  color: var(--teal);
}

.process-list strong {
  display: block;
  margin-top: 0.18rem;
  font-size: 1rem;
}

.process-list p {
  margin: 0.35rem 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.build-showcase {
  margin-top: 3.4rem;
}

.build-showcase__head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 3rem;
  align-items: end;
}

.build-showcase__head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.build-showcase__head p:last-child {
  margin: 0;
  color: var(--text-soft);
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.12);
}

.product-card__thumb {
  margin: 0;
  overflow: hidden;
  background: #0c1218;
  border-bottom: 1px solid rgba(16, 32, 51, 0.12);
}

.product-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.product-card__body {
  padding: 1.3rem;
}

.product-card__tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  background: #e8faf6;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
}

.product-card--security .product-card__tag {
  background: #e6f7fb;
  color: var(--blue);
}

.product-card--ai .product-card__tag {
  background: #fff4d8;
  color: var(--amber);
}

.product-card h4 {
  margin: 0.72rem 0 0.55rem;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.product-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.product-card ul {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.6;
}

.product-card li {
  position: relative;
  padding-left: 1rem;
}

.product-card li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--cyan);
}

.product-card--ai li::before {
  background: var(--amber);
}

.product-card__link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 900;
}

.company-strip {
  background: #f7f2ea;
  padding: 5rem 0;
  border-top: 1px solid #eee0ce;
  border-bottom: 1px solid #eee0ce;
}

.company-strip__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: center;
}

.company-strip__figure img {
  aspect-ratio: 4 / 3;
  object-position: center top;
}

.company-strip p {
  margin-top: 0.9rem;
}


.training-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.6rem;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius);
  background: var(--mist);
  border: 1px solid #d8e8ea;
}

.training-strip p {
  margin: 0;
  flex: 1 1 16rem;
}

.service-item .text-link {
  margin-top: 0.85rem;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--blue);
  font-weight: 900;
}

.cta-band {
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(120deg, rgba(9, 19, 31, 0.96), rgba(31, 95, 139, 0.9)),
    url("../images/team-three-studio.png");
  background-size: cover;
  background-position: center 28%;
  padding: 5rem 0;
}

.cta-band .wrap {
  max-width: 780px;
}

.cta-band p {
  margin: 0.85rem auto 0;
  color: rgba(255, 255, 255, 0.88);
}

.cta-band__actions {
  justify-content: center;
}

.site-footer {
  background: #0c1218;
  color: #b9c6d3;
  padding: 2.2rem 0 1.8rem;
  font-size: 0.84rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.footer-nav a,
.site-footer a {
  color: #d4dde8;
}

.site-footer p {
  margin: 0;
}

.site-footer__brand {
  margin: 0;
}

.site-footer__logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-version {
  color: #8796a5;
  font-size: 0.75rem;
}



@media (max-width: 980px) {
  .site-header__inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav.is-open {
    max-height: 460px;
  }

  .nav ul {
    align-items: stretch;
    flex-direction: column;
    padding: 0.5rem 0 1rem;
  }

  .nav .btn-nav {
    width: 100%;
  }

  .topline__layout,
  .shift-grid,
  .engine-layout,
  .core-grid,
  .company-strip__grid,
  .process-layout,
  .build-showcase__head {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topline h2,
  .dark-section h2,
  .process-section h2,
  .build-showcase__head h3,
  .company-strip h2,
  .cta-band h2,
  .section-title {
    font-size: 1.85rem;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 1.25rem, var(--max));
  }

  .site-header__inner {
    gap: 0.75rem;
  }

  .logo__mark {
    width: 36px;
    height: 36px;
  }

  .logo__name {
    font-size: 0.82rem;
  }

  .logo__tagline {
    font-size: 0.66rem;
  }

  .hero__actions,
  .cta-band__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .build-showcase__head {
    gap: 1rem;
  }

  .topline,
  .page-section,
  .dark-section,
  .process-section,
  .company-strip,
  .cta-band {
    padding: 3.4rem 0;
  }

  .topline h2,
  .dark-section h2,
  .process-section h2,
  .company-strip h2,
  .cta-band h2,
  .section-title {
    font-size: 1.55rem;
  }

  .service-item,
  .shift-card {
    min-height: auto;
  }
}
