:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #425466;
  --subtle: #667085;
  --line: #d9dee7;
  --panel: #f7f9fb;
  --accent: #006b73;
  --footer: #101828;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family:
    Inter, "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, system-ui, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  height: 80px;
  padding: 0 clamp(28px, 6vw, 92px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand {
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 850;
}

.brand img {
  display: block;
  width: min(320px, 78vw);
  height: auto;
}

.footer-brand img {
  display: block;
  width: 220px;
  height: auto;
}

.brand-symbol {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 34px;
  border: 4px solid #101828;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.brand-symbol::before,
.brand-symbol::after {
  position: absolute;
  bottom: 0;
  width: 4px;
  border-radius: 999px;
  background: #159aa3;
  content: "";
}

.brand-symbol::before {
  left: 8px;
  height: 14px;
}

.brand-symbol::after {
  right: 8px;
  height: 22px;
}

.brand-symbol.light {
  border-color: #fff;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(26px, 4vw, 58px);
  color: var(--ink);
  font-size: 16px;
  font-weight: 750;
}

nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: clamp(180px, 24vw, 320px);
  padding: 0 clamp(28px, 6vw, 92px);
  overflow: hidden;
  overflow: clip;
  border-bottom: 1px solid #1f2937;
  background:
    linear-gradient(90deg, rgba(12, 18, 30, 0.98) 0%, rgba(12, 18, 30, 0.9) 42%, rgba(12, 18, 30, 0.55) 100%),
    #101828;
  color: #fff;
  isolation: isolate;
  contain: paint;
}

.hero::before {
  position: absolute;
  inset: -22%;
  z-index: -3;
  background-image:
    linear-gradient(118deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(28deg, rgba(0, 107, 115, 0.18) 1px, transparent 1px);
  background-position:
    0 0,
    0 0;
  background-size:
    96px 96px,
    138px 138px;
  content: "";
  opacity: 0.7;
  transform: rotate(-8deg);
  animation: hero-grid-drift 22s linear infinite;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 18, 30, 0.92) 0%, rgba(12, 18, 30, 0.76) 46%, rgba(12, 18, 30, 0.26) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  content: "";
}

.hero-motion {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.motion-line,
.motion-pulse {
  position: absolute;
  display: block;
  pointer-events: none;
}

.motion-line {
  right: 0;
  width: min(58vw, 760px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 178, 178, 0.16), rgba(255, 255, 255, 0.22), transparent);
  transform: rotate(-18deg);
  animation: hero-line-flow 9s ease-in-out infinite;
}

.motion-line-a {
  top: 28%;
}

.motion-line-b {
  top: 52%;
  width: min(64vw, 860px);
  animation-delay: -3s;
}

.motion-line-c {
  top: 74%;
  width: min(48vw, 660px);
  animation-delay: -6s;
}

.motion-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #72d6d0;
  box-shadow: 0 0 18px rgba(114, 214, 208, 0.55);
  opacity: 0.75;
  animation: hero-pulse-travel 12s ease-in-out infinite;
}

.motion-pulse-a {
  top: 24%;
  right: 24%;
}

.motion-pulse-b {
  top: 58%;
  right: 12%;
  animation-delay: -4s;
}

.motion-pulse-c {
  top: 72%;
  right: 36%;
  animation-delay: -8s;
}

@keyframes hero-grid-drift {
  0% {
    background-position:
      0 0,
      0 0;
  }

  100% {
    background-position:
      192px 96px,
      -138px 138px;
  }
}

@keyframes hero-line-flow {
  0%,
  100% {
    opacity: 0.16;
    transform: translateX(0) rotate(-18deg);
  }

  50% {
    opacity: 0.7;
    transform: translateX(-8%) rotate(-18deg);
  }
}

@keyframes hero-pulse-travel {
  0%,
  100% {
    opacity: 0.1;
    transform: translate(0, 0);
  }

  42% {
    opacity: 0.85;
  }

  70% {
    opacity: 0.35;
    transform: translate(-160px, 42px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .motion-line,
  .motion-pulse {
    animation: none;
  }
}

.vision-section,
.business-section,
.company-contact {
  padding-inline: clamp(28px, 6vw, 92px);
}

.vision-section {
  padding-block: 76px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.section-label {
  margin: 0 0 28px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-label::after {
  display: block;
  width: 30px;
  height: 3px;
  margin-top: 12px;
  background: var(--accent);
  content: "";
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.28;
  letter-spacing: 0;
}

.vision-copy h2 span {
  display: inline-block;
}

.vision-copy p:not(.section-label) {
  max-width: 720px;
  margin: 26px 0 0;
  color: #344054;
  font-size: 16px;
  line-height: 1.9;
}

.business-section {
  padding-block: 52px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.service-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(500px, 1.3fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: stretch;
}

.service-overview {
  max-width: 390px;
}

.business-logo {
  width: min(205px, 100%);
  margin: 0 0 22px;
}

.business-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.service-overview h2 {
  max-width: 390px;
  font-size: clamp(23px, 1.9vw, 30px);
  line-height: 1.48;
}

.service-overview p {
  margin: 18px 0 0;
  color: #344054;
  font-size: 14px;
  line-height: 1.85;
}

.business-feature-list {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: #fff;
}

.business-feature-list article {
  display: grid;
  grid-template-columns: 96px 154px 1fr;
  align-items: center;
  min-height: 110px;
  border-bottom: 1px solid var(--line);
}

.business-feature-list article:last-child {
  border-bottom: 0;
}

.business-feature-list h3,
.business-feature-list p {
  margin: 0;
}

.feature-icon {
  display: grid;
  place-items: center;
  align-self: stretch;
  border-right: 1px solid var(--line);
}

.feature-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.8;
}

.business-feature-list h3 {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 26px;
  border-left: 1px solid var(--line);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.business-feature-list p {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 30px;
  border-left: 1px solid var(--line);
  color: #344054;
  font-size: 14px;
  line-height: 1.75;
}

.company-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 40px;
  padding-block: 72px;
  background: var(--panel);
}

table {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: #fff;
  table-layout: fixed;
}

th,
td {
  padding: 15px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
  vertical-align: top;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

th {
  width: 160px;
  background: #f8fafc;
  font-weight: 850;
}

td {
  color: #344054;
}

.contact-card {
  align-self: end;
  padding: 42px 46px;
  border: 1px solid var(--line);
  background: #fff;
}

.contact-card h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.contact-card p {
  margin: 22px 0 28px;
  color: #344054;
  line-height: 1.8;
}

.contact-card a {
  display: block;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 850;
  overflow-wrap: anywhere;
  text-decoration: none;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 34px clamp(28px, 6vw, 92px);
  background: var(--footer);
  color: #fff;
}

footer nav {
  gap: 42px;
  color: #fff;
  font-size: 14px;
}

footer small {
  justify-self: end;
  color: #cbd5e1;
}

.legal-page {
  max-width: 940px;
  padding: 74px clamp(28px, 6vw, 92px) 110px;
}

.legal-page h1 {
  margin: 0 0 30px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
}

.legal-page h2 {
  margin-top: 44px;
  font-size: 24px;
  line-height: 1.25;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.support-box {
  margin: 34px 0;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.note {
  margin-top: 50px;
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header,
  footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
    height: auto;
  }

  .site-header {
    flex-direction: column;
    padding-block: 20px;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px 20px;
    overflow-x: visible;
    padding-bottom: 4px;
    font-size: 14px;
  }

  .hero {
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    min-height: 160px;
  }

  @supports (width: 100dvw) {
    .hero {
      width: 100dvw;
      margin-left: -50dvw;
    }
  }

  .service-intro,
  .company-contact {
    grid-template-columns: 1fr;
  }

  .company-section,
  .contact-card {
    min-width: 0;
  }

  .business-feature-list {
    display: block;
  }

  .business-feature-list article {
    grid-template-columns: 84px 1fr;
    grid-template-rows: auto auto;
    align-items: stretch;
    min-height: auto;
  }

  .feature-icon {
    grid-row: 1 / 3;
  }

  .business-feature-list p {
    grid-column: 2;
    display: block;
    align-self: auto;
    padding: 0 28px 28px;
    border-left: 0;
  }

  .business-feature-list h3 {
    align-self: auto;
    display: block;
    padding: 28px 28px 10px;
    border-left: 0;
  }

  .business-logo {
    width: min(235px, 60vw);
    margin: 0 auto 26px;
  }

  .service-overview h2 {
    max-width: 480px;
    font-size: 26px;
  }

  .service-overview p {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.85;
  }

  footer small {
    justify-self: start;
  }

  footer nav {
    flex-wrap: wrap;
    gap: 18px 28px;
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 20px;
  }

  .brand-symbol {
    width: 22px;
    height: 28px;
    border-width: 3px;
  }

  .brand img {
    width: min(260px, 82vw);
  }

  .footer-brand img {
    width: 180px;
  }

  .business-feature-list article {
    grid-template-columns: 58px 1fr;
    min-height: auto;
  }

  .feature-icon svg {
    width: 34px;
    height: 34px;
  }

  .business-logo {
    width: min(200px, 70vw);
  }

  .service-overview {
    display: block;
  }

  .service-overview .business-logo {
    width: min(200px, 70vw);
    margin: 0 0 22px;
  }

  .service-overview h2 {
    font-size: 23px;
  }

  .service-overview p {
    font-size: 15px;
    line-height: 1.9;
  }

  .business-feature-list h3 {
    padding: 18px 18px 8px;
    font-size: 19px;
  }

  .business-feature-list p {
    padding: 0 18px 18px;
    font-size: 14px;
    line-height: 1.75;
  }

  .contact-card {
    padding: 32px 28px;
  }

  .contact-card a {
    font-size: 16px;
    line-height: 1.45;
  }

  th,
  td {
    display: block;
    width: 100%;
    overflow-wrap: anywhere;
  }
}
