* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  width: 100%;
  background-color: #fff;
  color: #191919;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Noto Sans Japanese", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
  font-size: 62.5%;
}

body.is-subpage {
  --page-bottom-pad: 72px;
}

@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor [role="button"],
  body.has-custom-cursor input,
  body.has-custom-cursor textarea,
  body.has-custom-cursor select,
  body.has-custom-cursor label {
    cursor: none !important;
  }

  .CursorDot {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.22), 0 0 8px rgba(0, 0, 0, 0.18);
    mix-blend-mode: difference;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(1);
    transition: opacity 180ms ease, transform 240ms ease, background 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
    will-change: transform, opacity;
  }

  .CursorDot.is-visible {
    opacity: 1;
  }

  .CursorDot.is-hover {
    transform: translate3d(-50%, -50%, 0) scale(1.45);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.22);
  }

  .CursorDot.is-over-look-button {
    mix-blend-mode: normal;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 0 6px rgba(0, 0, 0, 0.12);
  }
}

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

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

.Hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  /* スライドが全面を覆うため背景画像は画面に出ない。読み込むだけ無駄なので色のみ。 */
  background: #0f1114;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.Hero__slides {
  position: fixed;
  inset: 0;
  z-index: 0;
  transition: opacity 420ms ease;
}

.Hero__video {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.Hero__video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.Hero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.78) contrast(1.08) saturate(0.9);
}

.Hero[data-background-mode="video"] .Hero__video {
  opacity: 1;
  visibility: visible;
}

.Hero[data-background-mode="video"] .Hero__slides {
  opacity: 0;
  visibility: hidden;
}

.Hero__slide {
  position: fixed;
  inset: 0;
  z-index: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 2400ms cubic-bezier(0.45, 0, 0.18, 1);
  will-change: opacity;
}

.Hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.Hero__slide.is-active {
  z-index: 2;
  opacity: 1;
}

.Hero__slide.is-leaving {
  z-index: 1;
}

.Hero__picture {
  display: block;
  width: 100%;
  height: 100%;
}

.Hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.78) contrast(1.08) saturate(0.9);
  transform: scale(1.035);
  transition: transform 2400ms cubic-bezier(0.45, 0, 0.18, 1);
  will-change: transform;
}

.Hero__slide.is-leaving .Hero__bg {
  transform: scale(1.005);
}

.Hero__scrollmark {
  position: fixed;
  left: 56px;
  bottom: 31px;
  z-index: 4;
  width: 72px;
  height: 1px;
  background: rgba(255, 255, 255, 0.36);
  transition: opacity 360ms ease;
}

.Hero__scrollmarkFill {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  transform-origin: left center;
  transform: scaleX(0);
}

body.is-content-ready .Hero__scrollmark {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#page_top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}

#page_top.is-show {
  opacity: 1;
  visibility: visible;
}

.topBtn {
  display: inline-block;
  padding: 11px 14px;
  background: rgba(12, 12, 12, 0.9);
  color: #fff;
  font-size: 12px;
}

.footer {
  position: fixed;
  right: 0;
  bottom: 24px;
  left: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  background: transparent;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transition: none;
}

.copylight {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  font-weight: 200;
  text-align: center;
  text-shadow: none;
  transition: opacity 280ms ease;
}

body.is-subpage .copylight {
  color: rgba(25, 25, 25, 0.82);
}

/* Keep fixed footer, but center the text inside each subpage's bottom padding area. */
body.is-subpage .footer {
  bottom: 0;
  min-height: var(--page-bottom-pad, 72px);
  height: var(--page-bottom-pad, 72px);
  align-items: center;
  justify-content: center;
  padding: 0;
}

body.is-subpage .copylight {
  margin: 0;
}

@media (min-width: 1281px) and (max-width: 1366px) {
  .Hero__scrollmark {
    top: 50svh;
    right: var(--sp-side-pad, 16px);
    bottom: auto;
    left: auto;
    width: 56px;
    transform: translateY(-50%);
  }
}

@media (max-width: 1280px) {
  body.is-subpage {
    --page-bottom-pad: 56px;
  }

  .Hero__scrollmark {
    top: 50svh;
    right: var(--sp-side-pad, 16px);
    bottom: auto;
    left: auto;
    width: 56px;
    transform: translateY(-50%);
  }

  .Hero__scrollmarkFill {
    transform-origin: left center;
    transform: scaleX(0);
  }

  .footer {
    right: 0;
    bottom: 12px;
    left: 0;
    justify-content: center;
    min-height: 0;
    padding: 0;
  }

  .copylight {
    font-size: 11px;
    font-weight: 200;
    letter-spacing: 0.01em;
    text-align: center;
  }
}

@media (max-width: 767px) {
  body.is-subpage {
    --page-bottom-pad: 46px;
  }
}
