:root {
  color-scheme: light;
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  font-synthesis: none;
  --page-width: 1280px;
  --gutter: clamp(20px, 5.55vw, 80px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: #171717;
  background: #fff;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
}

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

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

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

.container {
  width: min(var(--page-width), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.section {
  padding-block: clamp(64px, 6vw, 88px);
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 24px;
  font-size: clamp(25px, 2.4vw, 38px);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.5;
}

.muted {
  color: #656565;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1px solid currentColor;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.4;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}

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

.button-dark {
  border-color: #20211f;
  color: #fff;
  background: #20211f;
}

.button-light {
  border-color: #fff;
  color: #171717;
  background: #fff;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: inherit;
  background: transparent;
}

.icon-button img {
  width: 20px;
  height: 20px;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 10px 16px;
  color: #fff;
  background: #10161d;
  transform: translateY(-140%);
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.mock-switcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  color: #fff;
  background: rgba(16,22,29,.86);
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
}

.mock-switcher > span {
  padding-inline: 10px 6px;
  font-size: 10px;
  letter-spacing: .1em;
}

.mock-switcher a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

.mock-switcher a:hover,
.mock-switcher a[aria-current="page"] {
  color: #10161d;
  background: #fff;
}

.modal,
.search-panel,
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s ease, visibility .25s ease;
}

.modal.is-open,
.search-panel.is-open,
.mobile-drawer.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop,
.search-backdrop,
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,12,16,.56);
  backdrop-filter: blur(5px);
}

.modal-card,
.search-card,
.drawer-card {
  position: relative;
  z-index: 1;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.18);
}

.modal-card {
  width: min(560px, calc(100% - 40px));
  margin: 10vh auto 0;
  padding: clamp(28px, 4vw, 48px);
}

.modal-close,
.search-close,
.drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  background: transparent;
  font-size: 24px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.search-card {
  width: min(760px, calc(100% - 40px));
  margin: 16vh auto 0;
  padding: 46px;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form input {
  min-width: 0;
  flex: 1;
  min-height: 52px;
  padding: 10px 16px;
  border: 1px solid #d9dee3;
}

.drawer-card {
  width: min(86vw, 380px);
  height: 100%;
  margin-left: auto;
  padding: 72px 28px 32px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}

.mobile-drawer.is-open .drawer-card {
  transform: translateX(0);
}

.drawer-links {
  display: grid;
  gap: 0;
}

.drawer-links a {
  padding: 18px 2px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 15px;
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 20px;
  background: #f5f7f8;
}

.error-card {
  width: min(600px, 100%);
  padding: 56px;
  background: #fff;
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 13px;
  }

  .section {
    padding-block: 60px;
  }

  .mock-switcher {
    position: static;
    width: max-content;
    margin: 18px auto;
    opacity: 1;
    transform: none;
  }

  .mock-switcher > span {
    display: none;
  }

  .search-card {
    margin-top: 10vh;
    padding: 58px 20px 24px;
  }

  .search-form {
    display: grid;
  }

  .modal-actions {
    display: grid;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
