* {
  box-sizing: border-box;
}
html {
  scrollbar-gutter: stable;
  scroll-padding-top: var(--header-height);
}
body {
  margin: 0;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-japanese);
  font-weight: 300;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
body.menu-open {
  overflow: hidden;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* Give linked artwork the same native link actions as its surrounding link. */
a[href] :is(img, svg) {
  pointer-events: none;
}

:is(img, svg, video, .ai-lab-engineering__icon) {
  -webkit-touch-callout: none;
}

img {
  -webkit-user-drag: none;
}

button {
  font: inherit;
}
button:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
img,
video {
  display: block;
  max-width: 100%;
}
svg {
  flex: none;
}
figure {
  margin: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 700;
}
p {
  white-space: pre-line;
}
[hidden] {
  display: none !important;
}
[lang="en"],
.section-label {
  font-family: var(--font-english);
}
a:focus-visible,
button:focus-visible,
video:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-link);
  outline-offset: 5px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  background: var(--color-white);
  color: var(--color-black);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
.section-gutter {
  padding-inline: var(--content-inset);
}
.section-label {
  color: var(--color-accent);
  font-size: 21px;
  font-weight: 300;
  line-height: 1.65;
}
.text-link {
  display: inline-block;
  font-size: 18px;
  min-height: 44px;
  padding-block: 4px;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}
.text-link:hover {
  text-decoration: underline;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  padding: 32px var(--gutter);
  font-family: var(--font-english);
  font-weight: 300;
  font-size: 16px;
  background: var(--color-black);
}
.contact-section {
  padding: 120px var(--content-inset);
  background: var(--color-black);
}
.contact-section__title {
  font-family: Sriracha, cursive;
  font-weight: 500;
  font-size: 86px;
  line-height: 1.5;
  margin-top: 24px;
}
.contact-section__action {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 12px 0;
  font-size: 18px;
  color: var(--color-white);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .contact-section__action {
    transition: transform var(--motion-hover) var(--ease-fluid);
  }
  .contact-section__action:hover {
    transform: translateY(-3px);
  }
}
.arrow-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  max-width: 100%;
  font-size: 24px;
  line-height: 1.4;
  color: var(--color-link);
  position: relative;
}
.arrow-link > a,
.arrow-link > span {
  display: flex;
  align-items: baseline;
  gap: 18px;
  max-width: 100%;
  flex-wrap: wrap;
  min-height: 44px;
  padding-top: 8px;
}
.arrow-link__english {
  font: 300 42px/1.2 var(--font-japanese);
}
.arrow-link__line {
  color: var(--color-link);
  max-width: 100%;
  width: 100%;
  min-width: min(100%, 274px);
  margin-top: -4px;
  transition: transform var(--motion-hover) var(--ease-fluid);
}
.arrow-link--light {
  color: var(--color-link);
}
.arrow-link a:focus-visible ~ svg {
  transform: translateX(6px);
}
.not-found {
  min-height: 60vh;
  padding-block: 96px;
}
.not-found h1 {
  font-size: 40px;
  margin-bottom: 48px;
}
@media (hover: hover) and (pointer: fine) {
  .arrow-link:has(a:hover) .arrow-link__line {
    transform: translateX(6px);
  }
}
@media (max-width: 1199px) {
  .site-footer {
    min-height: 92px;
  }
}
@media (max-width: 767px) {
  .section-label {
    font-size: 18px;
  }
  .text-link {
    font-size: 18px;
  }
  .site-footer {
    min-height: 88px;
    font-size: 14px;
  }
  .contact-section {
    padding: 64px var(--gutter);
  }
  .contact-section__title {
    font-size: clamp(38px, 11.6vw, 52px);
    line-height: 1.8;
  }
  .contact-section__action {
    font-size: 18px;
  }
  .arrow-link {
    font-size: 18px;
  }
  .arrow-link__english {
    font-size: 32px;
  }
  .arrow-link > a,
  .arrow-link > span {
    gap: 5px;
  }
  .arrow-link > a,
  .arrow-link > span {
    max-width: 85%;
  }
}

.contact-section__title {
  text-align: center;
}
.contact-section__action {
  border: 1px solid var(--color-muted);
  min-height: 60px;
  justify-content: center;
  width: 350px;
  max-width: 100%;
  margin: 24px auto 0;
}
.contact-section__action img {
  width: 30px;
  height: 30px;
}
.contact-section > .section-label {
  color: var(--color-accent);
}

@media (min-width: 768px) and (max-width: 1199px) {
  .contact-section {
    padding-block: 80px;
  }
  .contact-section__title {
    font-size: 72px;
    line-height: 108px;
  }
}
@media (max-width: 767px) {
  .contact-section {
    padding-block: 72px;
  }
  .contact-section__title {
    font-size: 36px;
    line-height: 66px;
  }
  .contact-section__action {
    font-size: 15px;
  }
}
