:root {
  --ink: #11223a;
  --ink-2: #1c3658;
  --text: #303846;
  --muted: #667184;
  --line: #dbe2ea;
  --paper: #f5f7fa;
  --white: #ffffff;
  --cyan: #00a6d6;
  --magenta: #d94b83;
  --yellow: #f1c84b;
  --green: #2b8a66;
  --shadow: 0 24px 70px rgba(16, 34, 58, 0.13);
}

.brand__logo {
  display: block;
  flex: 0 0 auto;
  width: 84px;
  line-height: 0;
}

.brand__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header .brand__logo {
  width: 84px;
}

.brand--footer .brand__logo {
  width: 92px;
}

@media (max-width: 720px) {
  .site-header .brand__logo {
    width: 52px;
  }

  .brand--footer .brand__logo {
    width: 72px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0;
  background: var(--white);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

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

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.16;
  font-weight: 800;
  text-wrap: balance;
}

h1 {
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(48px, 7vw, 94px);
}

.hero h1 span {
  display: inline;
}

.hero h1 span + span {
  margin-left: 0.14em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 4vw, 58px);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(20px, 1.7vw, 25px);
}

p {
  overflow-wrap: anywhere;
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  text-decoration: none;
  background: var(--ink);
  border-radius: 4px;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 54px rgba(16, 34, 58, 0.15);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: top 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  top: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 38px rgba(16, 34, 58, 0.18);
}

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

.brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
  background:
    linear-gradient(135deg, var(--cyan) 0 30%, var(--magenta) 30% 61%, var(--yellow) 61% 100%);
  border-radius: 8px;
}

.brand__text {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.brand__name {
  overflow: hidden;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand__sub,
.section-kicker,
.flow-list span,
.trust-strip__label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand__sub {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 13px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--ink);
  background: #edf3f8;
  outline: none;
}

.site-nav .site-nav__contact {
  color: var(--white);
  background: var(--ink);
}

.site-nav .site-nav__contact:hover,
.site-nav .site-nav__contact:focus-visible {
  color: var(--white);
  background: var(--ink-2);
}

.menu-button {
  display: none;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--white);
  border: 0;
  border-radius: 6px;
  background: var(--ink);
}

.menu-button__line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
  transition: rotate 0.2s ease, translate 0.2s ease;
}

.menu-open .menu-button__line:first-child {
  translate: 0 4px;
  rotate: 45deg;
}

.menu-open .menu-button__line:nth-child(2) {
  translate: 0 -4px;
  rotate: -45deg;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 78svh;
  padding: 136px 5vw 68px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__stream {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #dde5eb;
  pointer-events: none;
}

.hero__photo-track {
  position: absolute;
  top: 98px;
  left: 0;
  display: flex;
  width: max-content;
  height: clamp(420px, 54vw, 650px);
  opacity: 0.84;
  filter: saturate(0.9) contrast(0.96);
  animation: heroPhotoFlow 34s linear infinite;
  will-change: transform;
}

.hero__photo-track img {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  height: 100%;
}

.hero__shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 28, 50, 0.9) 0%, rgba(13, 28, 50, 0.7) 45%, rgba(13, 28, 50, 0.28) 100%),
    linear-gradient(180deg, rgba(13, 28, 50, 0.1), rgba(13, 28, 50, 0.42));
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
}

@keyframes heroPhotoFlow {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--cyan);
}

.hero .section-kicker {
  color: var(--yellow);
}

.hero__copy {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.87);
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 700;
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(16, 34, 58, 0.18);
  outline: none;
}

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

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

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

.trust-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  width: min(1180px, calc(100% - 32px));
  margin: -20px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.trust-strip div {
  padding: 28px 24px 24px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip__label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
}

.trust-strip strong {
  display: block;
  color: var(--ink);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.35;
}

.trust-strip strong a {
  text-decoration: none;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}

.section__heading {
  max-width: 840px;
  margin-bottom: 44px;
}

.section__heading--split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.58fr);
  gap: 54px;
  max-width: none;
  align-items: end;
}

.section__heading--split p:last-child {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 17px;
}

.design-support {
  padding-bottom: 88px;
}

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

.design-card {
  min-height: 230px;
  padding: 28px;
  color: var(--white);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 14px 44px rgba(16, 34, 58, 0.12);
}

.design-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 32px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  background: var(--yellow);
  border-radius: 6px;
}

.design-card h3 {
  color: var(--white);
}

.design-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.message__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: start;
}

.message__body {
  max-width: 760px;
  font-size: 18px;
}

.message__body p:last-child {
  margin-bottom: 0;
}

.message__facts {
  margin: 0;
  border-top: 3px solid var(--ink);
  background: var(--paper);
}

.message__facts div {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.message__facts dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 800;
}

.message__facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  min-height: 640px;
  color: var(--white);
  background: var(--ink);
}

.feature-band__image {
  min-height: 420px;
}

.feature-band__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-band__content {
  align-self: center;
  padding: clamp(36px, 5vw, 82px);
}

.feature-band h2 {
  color: var(--white);
  font-size: clamp(30px, 3.6vw, 52px);
}

.feature-band h2 .heading-line {
  display: block;
  white-space: nowrap;
}

.feature-band p,
.feature-band li {
  color: rgba(255, 255, 255, 0.82);
}

.check-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 1.25em minmax(0, 1fr);
  gap: 0.55em;
  align-items: baseline;
  padding: 0;
}

.check-list li::before {
  content: "○";
  color: var(--yellow);
  font-size: 1.05em;
  font-weight: 800;
  line-height: inherit;
}

.work {
  background: linear-gradient(180deg, var(--white), #f7fafc);
}

.work-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-auto-rows: minmax(260px, auto);
  gap: 18px;
}

.work-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 16px 48px rgba(16, 34, 58, 0.12);
}

.work-card--large {
  grid-row: span 2;
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 34, 58, 0.08), rgba(17, 34, 58, 0.82));
}

.work-card div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
}

.work-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.work-card h3 {
  color: var(--white);
}

.work-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.work-card:hover img,
.work-card:focus-within img {
  transform: scale(1.05);
}

.flow {
  padding-top: 0;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-list li {
  position: relative;
  min-height: 282px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.flow-list span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 38px;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
}

.flow-list p {
  margin-bottom: 0;
}

.flow-summary {
  color: var(--text);
}

.flow-note {
  margin-top: 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
}

.flow-list .flow-note span {
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  color: inherit;
  background: transparent;
  border-radius: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
}

.data-info {
  padding-top: 0;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.data-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.data-grid span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 38px;
  margin-bottom: 28px;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--ink);
  border-radius: 6px;
}

.data-grid p {
  margin-bottom: 0;
}

.consultation {
  position: relative;
  display: grid;
  min-height: 620px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.consultation img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consultation::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 28, 50, 0.88), rgba(13, 28, 50, 0.58) 48%, rgba(13, 28, 50, 0.16)),
    linear-gradient(180deg, rgba(13, 28, 50, 0.12), rgba(13, 28, 50, 0.56));
}

.consultation__body {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.consultation h2 {
  max-width: 980px;
  color: var(--white);
}

.consultation p:not(.section-kicker) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.company {
  padding-bottom: 70px;
}

.company-table {
  margin: 0;
  border-top: 3px solid var(--ink);
}

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

.company-table dt {
  color: var(--muted);
  font-weight: 800;
}

.company-table dd {
  margin: 0;
  color: var(--text);
}

.company-table a {
  color: var(--ink);
  font-weight: 800;
}

.news {
  padding: 78px 0;
  background: var(--paper);
}

.news__inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 46px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.news__heading h2 {
  margin-bottom: 0;
}

.news-list {
  display: grid;
  gap: 12px;
}

.news-list article {
  display: grid;
  grid-template-columns: 118px 86px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.news-list time {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.news-list span {
  display: inline-flex;
  justify-content: center;
  padding: 3px 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.news-list h3 {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.6;
}

.contact {
  width: min(1180px, calc(100% - 40px));
  margin: 110px auto;
  color: var(--white);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 34, 58, 0.98), rgba(28, 54, 88, 0.94)),
    var(--ink);
  overflow: hidden;
}

.contact__inner {
  position: relative;
  padding: clamp(34px, 6vw, 76px);
}

.contact__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--yellow), var(--green));
}

.contact h2 {
  max-width: 850px;
  color: var(--white);
}

.contact__content p:not(.section-kicker) {
  max-width: 980px;
  color: rgba(255, 255, 255, 0.82);
}

.contact__actions {
  margin-top: 28px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 38px 5vw;
  color: rgba(255, 255, 255, 0.72);
  background: #0c1728;
}

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

.brand--footer {
  gap: 18px;
}

.brand--footer .brand__mark {
  grid-template-rows: auto auto;
  align-content: center;
  row-gap: 1px;
  width: 70px;
  height: 70px;
  color: var(--white);
  border: 2px solid currentColor;
  border-radius: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
}

.brand--footer .brand__copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.brand--footer .brand__sub,
.site-footer p,
.site-footer small {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer p {
  margin: 16px 0 0;
}

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

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.9, 0.2, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__photo-track {
    animation: none !important;
    transform: translate3d(-12%, 0, 0);
  }
}

@media (max-width: 1040px) {
  .site-header {
    top: 10px;
    left: 10px;
    right: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 10px;
    width: auto;
    transform: none;
  }

  .menu-button {
    display: grid;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    inset: 84px 10px auto;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 48px;
  }

  .trust-strip,
  .message__grid,
  .section__heading--split,
  .feature-band,
  .news__inner,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .flow-list,
  .design-grid,
  .data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-gallery {
    grid-template-columns: 1fr;
  }

  .work-card--large {
    grid-row: auto;
  }

  .feature-band__content {
    padding-top: 66px;
    padding-bottom: 76px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 66px;
    padding: 10px;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand__name {
    max-width: 190px;
    font-size: 15px;
  }

  .brand__sub {
    font-size: 9px;
  }

  .hero {
    min-height: 76svh;
    padding: 116px 24px 54px;
  }

  .hero__photo-track {
    top: 84px;
    height: clamp(360px, 92vw, 500px);
    animation-duration: 30s;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(13, 28, 50, 0.94), rgba(13, 28, 50, 0.72)),
      linear-gradient(180deg, rgba(13, 28, 50, 0.08), rgba(13, 28, 50, 0.36));
  }

  h1 {
    max-width: 8em;
    font-size: clamp(39px, 11.2vw, 48px);
  }

  .hero h1 span {
    display: block;
  }

  .hero h1 span + span {
    margin-left: 0;
  }

  h2 {
    font-size: clamp(29px, 9.5vw, 42px);
  }

  .hero__actions,
  .contact__actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 54px;
  }

  .trust-strip {
    width: calc(100% - 24px);
    margin-top: -14px;
  }

  .trust-strip div {
    padding: 24px 18px 20px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 80px 0;
  }

  .section__heading,
  .section__heading--split {
    gap: 16px;
    margin-bottom: 30px;
  }

  .section__heading--split p:last-child {
    margin-bottom: 0;
  }

  .flow-list,
  .design-grid,
  .data-grid {
    grid-template-columns: 1fr;
  }

  .work-gallery {
    grid-template-columns: 1fr;
  }

  .flow-list li {
    min-height: auto;
    padding: 24px;
  }

  .flow-list span {
    margin-bottom: 24px;
  }

  .feature-band {
    min-height: auto;
  }

  .feature-band__image {
    min-height: 320px;
  }

  .consultation {
    min-height: 560px;
  }

  .consultation__body {
    width: calc(100% - 32px);
  }

  .company-table div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 18px 0;
  }

  .news {
    padding: 62px 0;
  }

  .news__inner {
    width: calc(100% - 32px);
    gap: 24px;
  }

  .news-list article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }

  .news-list span {
    width: fit-content;
  }

  .contact {
    width: calc(100% - 32px);
    margin: 80px auto;
  }
}

/* Page top: based on the second proposal */
.site-header {
  top: 34px;
  gap: 18px;
  width: min(1760px, calc(100% - 76px));
  min-height: 86px;
  padding: 0 30px;
  color: #10222c;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: top 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  top: 14px;
  border-color: rgba(16, 34, 44, 0.1);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(16, 34, 44, 0.12);
}

.site-header .brand {
  gap: 18px;
  color: #10222c;
}

.site-header .brand__mark {
  display: grid;
  place-items: center;
  grid-template-rows: auto auto;
  align-content: center;
  row-gap: 1px;
  width: 70px;
  height: 70px;
  color: #10222c;
  border: 2px solid currentColor;
  border-radius: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
}

.site-header .brand__copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.site-header .brand__name {
  max-width: 17em;
  color: #10222c;
  font-size: 16px;
}

.site-header .brand__sub {
  color: #657981;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
}

.site-header .site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.45vw, 28px);
  margin-left: auto;
  color: #10222c;
  font-family: "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: 14px;
}

.site-header .site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: initial;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.site-header .site-nav .site-nav__contact {
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid rgba(17, 34, 58, 0.18);
  border-radius: 10px;
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(17, 34, 58, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header .site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

.site-header .site-nav .site-nav__contact::after {
  content: none;
}

.site-header .site-nav a:hover::after,
.site-header .site-nav a:focus-visible::after,
.site-header .site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header .site-nav .site-nav__contact:hover,
.site-header .site-nav .site-nav__contact:focus-visible {
  color: var(--white);
  background: #0c1728;
  box-shadow: 0 18px 40px rgba(17, 34, 58, 0.3);
  transform: translateY(-1px);
}

.header-contact {
  display: grid;
  flex: 0 0 auto;
  gap: 2px;
  min-width: 154px;
  color: #10222c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
  letter-spacing: 0.04em;
}

.header-contact a {
  text-decoration: none;
}

.header-contact a:last-child {
  color: #657981;
  font-size: 11px;
}

.header-contact a:hover,
.header-contact a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-header .menu-button {
  display: none;
  position: relative;
  width: 74px;
  height: 48px;
  padding: 0;
  color: #10222c;
  border: 0;
  background: transparent;
}

.site-header .menu-button__line {
  display: block;
  width: 58px;
  height: 2px;
  margin: 7px auto;
  background: currentColor;
  transition: translate 0.22s ease, rotate 0.22s ease, opacity 0.22s ease;
}

.menu-open .site-header .menu-button__line:first-child {
  translate: 0 9px;
  rotate: 18deg;
}

.menu-open .site-header .menu-button__line:nth-child(2) {
  opacity: 0;
}

.menu-open .site-header .menu-button__line:nth-child(3) {
  translate: 0 -9px;
  rotate: -18deg;
}

.hero {
  position: relative;
  display: block;
  min-height: 100svh;
  padding: 142px max(5vw, calc((100vw - 1760px) / 2)) 118px;
  overflow: hidden;
  color: #263b43;
  background:
    linear-gradient(90deg, rgba(246, 251, 251, 0.97) 0%, rgba(246, 251, 251, 0.88) 42%, rgba(246, 251, 251, 0.7) 100%),
    url("assets/hero-design.png") center / cover no-repeat,
    #f6fbfb;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 6;
  height: clamp(180px, 28vh, 320px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 92%);
}

.message {
  position: relative;
  z-index: 7;
  margin-top: -1px;
  background: #fff;
}

.side-note {
  position: absolute;
  top: 170px;
  left: max(28px, calc((100vw - 1760px) / 2 + 36px));
  color: rgba(16, 34, 44, 0.72);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
}

.hero .hero__copy {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: end;
  width: min(720px, 54vw);
  max-width: none;
  margin: 0 0 0 auto;
  padding-top: clamp(32px, 5vh, 82px);
  color: #10222c;
  font-size: 16px;
}

.hero h1 {
  max-width: none;
  margin-bottom: 28px;
  color: #10222c;
  font-size: clamp(48px, 5.7vw, 96px);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.hero__vertical {
  position: relative;
  display: block;
  width: clamp(330px, 27vw, 400px);
  height: 330px;
  margin: 6px 0 0;
  color: #10222c;
}

.hero__vertical span {
  position: absolute;
  top: 0;
  width: 1.45em;
  font-size: clamp(21px, 2.1vw, 31px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.08em;
  white-space: nowrap;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.hero__vertical span:nth-child(1) { left: 0; }
.hero__vertical span:nth-child(2) { left: 24%; }
.hero__vertical span:nth-child(3) { left: 48%; }
.hero__vertical span:nth-child(4) { left: 72%; }
.hero__vertical span:nth-child(5) { right: 0; }

.work-marquee {
  position: absolute;
  top: 41vh;
  left: 0;
  z-index: 5;
  width: min(72vw, 1180px);
  padding: 26px 0 40px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.work-track {
  --work-gap: 12px;
  --work-gap-half: 6px;
  display: flex;
  width: max-content;
  gap: var(--work-gap);
  background: transparent;
  animation: work-scroll 68s linear infinite;
}

.work-slide {
  position: relative;
  flex: 0 0 clamp(230px, 21vw, 340px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.work-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
  transform: scale(1.01);
}

.work-slide span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 5px 10px;
  color: #fff;
  background: rgba(16, 34, 44, 0.82);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes work-scroll {
  to { transform: translateX(calc(-50% - var(--work-gap-half))); }
}

/* Services: second proposal's categories in the first proposal's tone */
.service-board {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
  overflow: visible;
  background: transparent;
}

.service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: 26px;
  overflow: hidden;
  color: #fff;
  border: 0;
  border-radius: 0;
  background: #11223a;
  box-shadow: none;
  isolation: isolate;
}

.service-tile::before,
.service-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.service-tile::before {
  inset: -1px;
  background: var(--photo) center / cover no-repeat;
  transform: scale(1.01);
  transition: transform 0.5s ease;
}

.service-tile::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(17, 34, 58, 0.04) 10%, rgba(17, 34, 58, 0.88) 94%);
}

.service-tile:hover::before,
.service-tile:focus-within::before {
  transform: scale(1.06);
}

.service-tile h3 {
  margin-bottom: 5px;
  color: #fff;
  font-size: clamp(22px, 2vw, 29px);
}

.service-tile p {
  margin-bottom: 14px;
  color: #f1c84b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-tile > span {
  width: fit-content;
  padding-top: 10px;
  color: rgba(255, 255, 255, 0.84);
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 14px;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .work-track {
    animation: none !important;
  }
}

@media (max-width: 1180px) {
  .site-header {
    top: 14px;
    right: 14px;
    left: 14px;
    width: auto;
    min-height: 72px;
    padding: 0 16px;
    border-color: rgba(16, 34, 44, 0.1);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 70px rgba(16, 34, 44, 0.12);
    transform: none;
  }

  .site-header .menu-button {
    display: block;
    margin-left: auto;
  }

  .site-header .site-nav {
    position: fixed;
    inset: 92px 14px auto;
    display: grid;
    gap: 2px;
    padding: 12px;
    border: 1px solid #dbe2ea;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 70px rgba(16, 34, 44, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .menu-open .site-header .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header .site-nav a {
    min-height: 48px;
    padding: 0 8px;
  }

  .site-header .site-nav .site-nav__contact {
    min-height: 52px;
    margin-top: 6px;
    padding: 0 16px;
  }

  .header-contact {
    position: fixed;
    inset: 420px 14px auto;
    z-index: 150;
    min-width: 0;
    padding: 16px 20px;
    border: 1px solid #dbe2ea;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 70px rgba(16, 34, 44, 0.12);
    text-align: left;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .menu-open .header-contact {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    min-height: 860px;
  }

  .hero .hero__copy {
    width: min(680px, 78vw);
  }

  .work-marquee {
    top: 50vh;
    width: 100vw;
  }
}

@media (max-width: 1040px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    right: 10px;
    left: 10px;
    min-height: 66px;
    padding: 0 12px;
  }

  .site-header .brand {
    gap: 10px;
  }

  .site-header .brand__mark {
    width: 46px;
    height: 46px;
    font-size: 15px;
  }

  .site-header .brand__name {
    max-width: 13em;
    font-size: 14px;
  }

  .site-header .brand__sub {
    font-size: 9px;
  }

  .site-header .menu-button {
    width: 52px;
  }

  .site-header .menu-button__line {
    width: 38px;
  }

  .hero {
    min-height: 760px;
    padding: 100px 20px 76px;
  }

  .side-note {
    display: none;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(36px, 10.8vw, 44px);
    letter-spacing: 0.06em;
  }

  .hero .hero__copy {
    justify-items: start;
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    margin-left: 0;
    padding-top: 12px;
  }

  .hero__vertical {
    justify-self: end;
    width: 190px;
    height: 176px;
    max-width: 100%;
    transform: translateX(clamp(-125px, -27vw, -78px));
  }

  .hero__vertical span {
    width: 1.25em;
    font-size: 16px;
    line-height: 1.25;
  }

  .work-marquee {
    top: 46vh;
    padding: 20px 0 30px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  }

  .work-slide {
    flex-basis: 230px;
  }

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

  .service-tile {
    min-height: 250px;
  }
}

/* Contact form page */
.contact-page {
  background: #f6f9fa;
}

.contact-page-main {
  padding-top: 160px;
}

.contact-page-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 100px) clamp(24px, 6vw, 76px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 34, 58, 0.98), rgba(28, 54, 88, 0.94)),
    var(--ink);
}

.contact-page-hero .section-kicker {
  color: var(--yellow);
}

.contact-page-hero h1 {
  max-width: none;
  margin-bottom: 24px;
  font-size: clamp(38px, 6vw, 72px);
}

.contact-page-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-form-section {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0 120px;
}

.contact-form-intro {
  margin-bottom: 42px;
}

.contact-form-intro h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.contact-form-intro p {
  max-width: none;
  margin-bottom: 0;
}

.contact-form {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(16, 34, 58, 0.08);
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.form-row > label,
.form-row > .form-label {
  margin: 0;
  padding: 28px 26px;
  color: var(--ink);
  font-weight: 800;
  background: var(--paper);
}

.form-label-text {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.required-badge,
.optional-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  color: var(--white);
  font-family: "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: 11px;
  line-height: 1;
  background: var(--magenta);
}

.optional-badge {
  color: var(--muted);
  background: #e7ecf1;
}

.form-control {
  padding: 24px 28px;
}

.form-control input,
.form-control select,
.form-control textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  font-family: "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  line-height: 1.5;
  border: 1px solid #bdc8d3;
  border-radius: 2px;
  background: var(--white);
}

.form-control textarea {
  min-height: 220px;
  resize: vertical;
}

.form-control input:focus,
.form-control select:focus,
.form-control textarea:focus {
  border-color: var(--cyan);
  outline: 3px solid rgba(0, 166, 214, 0.16);
}

.form-control small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

.form-control-group {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px;
}

.privacy-box {
  margin: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.privacy-box h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.privacy-box p {
  margin-bottom: 18px;
  font-size: 14px;
}

.privacy-agreement {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: center;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.privacy-agreement input {
  width: 20px;
  height: 20px;
  margin: 5px 0 0;
  accent-color: var(--cyan);
}

.form-submit-area {
  padding: 0 34px 38px;
  text-align: center;
}

.form-submit-button {
  min-width: min(360px, 100%);
  min-height: 62px;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  border: 0;
  border-radius: 4px;
  background: var(--yellow);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-submit-button:hover,
.form-submit-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(16, 34, 58, 0.18);
  outline: none;
}

.form-status {
  min-height: 1.7em;
  margin: 14px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.contact-confirm-panel,
.contact-complete-panel {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(16, 34, 58, 0.08);
}

.contact-confirm-heading,
.contact-complete-panel {
  padding: 34px;
}

.contact-confirm-heading h2,
.contact-complete-panel h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.confirm-list {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
}

.confirm-list dt,
.confirm-list dd {
  min-height: 72px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}

.confirm-list dt {
  color: var(--ink);
  font-weight: 800;
  background: var(--paper);
}

.confirm-list dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.form-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding-top: 34px;
}

.form-back-button {
  min-width: min(220px, 100%);
  min-height: 62px;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-back-button:hover,
.form-back-button:focus-visible,
.form-submit-button:disabled {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(16, 34, 58, 0.18);
  outline: none;
}

.form-submit-button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.contact-complete-panel {
  text-align: center;
}

.contact-complete-panel .button {
  margin-top: 12px;
}

.form-alternative {
  margin: 26px 0 0;
  color: var(--muted);
  text-align: center;
}

.form-alternative a {
  color: var(--ink);
  font-weight: 800;
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .contact-page-main {
    padding-top: 100px;
  }

  .contact-page-hero,
  .contact-form-section {
    width: calc(100% - 24px);
  }

  .contact-form-section {
    padding: 64px 0 80px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-row > label,
  .form-row > .form-label {
    padding: 18px 18px 12px;
  }

  .form-control {
    padding: 12px 18px 22px;
  }

  .form-control-group {
    grid-template-columns: 1fr;
  }

  .confirm-list {
    grid-template-columns: 1fr;
  }

  .confirm-list dt {
    padding: 18px 18px 8px;
    border-bottom: 0;
  }

  .confirm-list dd {
    padding: 0 18px 18px;
  }

  .contact-confirm-heading,
  .contact-complete-panel {
    padding: 24px 18px;
  }

  .privacy-box {
    margin: 24px 18px;
    padding: 20px;
  }

  .form-submit-area {
    padding: 0 18px 28px;
  }
}
