@import url('https://fonts.googleapis.com/css2?family=Geist:ital,wght@0,100..900;1,100..900&family=Gothic+A1&display=swap');

@font-face {
  font-family: 'AOT Serial Mono';
  src: url('../fonts/AOTSerialMono-Bold.woff2') format('woff2'),
  url('../fonts/AOTSerialMono-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AOT Serial Mono';
  src: url('../fonts/AOTSerialMono-SemiBold.woff2') format('woff2'),
  url('../fonts/AOTSerialMono-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bk: #090909;
  --wh: #f3f3f3;

  --theme-light-bk: var(--bk);
  --theme-light-wh: var(--wh);
  --theme-light-gr: #565656;

  --theme-dark-bk: var(--wh);
  --theme-dark-wh: var(--bk);
  --theme-dark-gr: #dedede;

  --theme-light-gr-40: #a2a2a2;
  --theme-light-gr-70: #777777;
  --theme-dark-gr-40: #9f9f9f;
  --theme-dark-gr-70: #c5c5c5;

  --theme-bk: var(--theme-light-bk);
  --theme-wh: var(--theme-light-wh);
  --theme-gr: var(--theme-light-gr);
  --theme-gr-40: var(--theme-light-gr-40);
  --theme-gr-70: var(--theme-light-gr-70);

  --red: #e94242;
  --orange: #f8912c;
  --yellow: #f7db4e;
  --green: #4be673;
  --blue: #3568f8;
  --sky: #57e8f2;

  --keyColor: var(--green);

  --dice-x: 0deg;
  --dice-y: 0deg;

  --fz: 16px;
  --fz-s: 14px;
  --fz-xs: 12px;

  --fz-h1: 30px;
  --fz-h2: 24px;
  --fz-h3: 18px;

  --fz-title: 52px;

  --g-xs: 12px;
  --g-s: 16px;
  --g-m: 24px;
  --g: 32px;
  --g-l: 48px;
  --g-xl: 64px;

  --max-w: 1440px;

  --v: 128px;
  --h: 140px;
  --h-lg: 260px;
}

:root[data-theme="dark"] {
  --theme-bk: var(--theme-dark-bk);
  --theme-wh: var(--theme-dark-wh);
  --theme-gr: var(--theme-dark-gr);
  --theme-gr-40: var(--theme-dark-gr-40);
  --theme-gr-70: var(--theme-dark-gr-70);
}

@media screen and (max-width: 1080px) {
  :root {
    --fz: 14px;
    --fz-s: 12px;
    --fz-xs: 12px;

    --fz-h1: 24px;
    --fz-h2: 20px;
    --fz-h3: 16px;

    --fz-title: 36px;
    --max-w: 100%;

    --g-xs: 8px;
    --g-s: 12px;
    --g-m: 20px;
    --g: 24px;
    --g-l: 32px;
    --g-xl: 48px;

    --v: 64px;
    --h: 24px;
    --h-lg: 30px;
  }
}

html,
body {
  background: var(--theme-wh);
  font-family: 'Inclusive Sans', 'Gothic A1', sans-serif;
  color: var(--theme-bk);
  font-size: var(--fz);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.02rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

::selection {
  background: var(--keyColor);
  color: var(--bk);
}

.e-item,
.m-btn,
.d-scene {
  -webkit-user-select: none;
  user-select: none;
}

body.s-p {
  height: 100%;
  overflow: hidden;
}

h1,
.h1 {
  font-size: var(--fz-h1);
  line-height: 140%;
}

h2,
.h2 {
  font-size: var(--fz-h2);
  line-height: 150%;
}

h3,
.h3 {
  font-size: var(--fz-h3);
  line-height: 150%;
}

.main-title {
  font-size: var(--fz-title);
  line-height: 100%;
}

p,
.cont p {
  font-size: var(--fz);
  line-height: 175%;
}

p + p,
.cont p + p {
  margin-top: var(--g);
}

.caption {
  font-size: var(--fz-s);
  line-height: 170%;
}

a,
.link {
  font-family: 'AOT Serial Mono', 'Gothic A1', sans-serif;
  color: var(--theme-bk);
  font-size: var(--fz-s);
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.003rem;
  text-transform: uppercase;
}

.link:hover {
  color: var(--keyColor);
}

.pc {
  display: block;
}

.m {
  display: none;
}

@media screen and (max-width: 1080px) {
  .pc {
    display: none;
  }

  .m {
    display: block;
  }
}

.logo-normal {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--g-m) var(--g);
  width: fit-content;
  cursor: pointer;
}

.logo-normal svg * {
  fill: var(--theme-bk);
  transition: fill 0.3s ease;
}

.logo-normal .logo-pc {
  display: block;
}

.logo-normal .logo-m {
  display: none;
}

@media screen and (max-width: 1080px) {
  .logo-normal .logo-pc {
    display: none;
  }

  .logo-normal .logo-m {
    display: block;
  }
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.category-item a,
.category-item span {
  position: relative;
  padding-left: 14px;
  display: inline-flex;
  font-family: 'AOT Serial Mono', 'Gothic A1', sans-serif;
  color: var(--theme-gr);
  font-size: var(--fz-s);
  text-transform: uppercase;
  cursor: pointer;
}

.category-item a:before,
.category-item span:before {
  content: '';
  position: absolute;
  top: 3px;
  left: 0;
  display: block;
  width: 6px;
  height: 6px;
  background: var(--theme-gr);
}

.category-item.is-active a:before,
.category-item.is-active span:before {
  background: var(--keyColor);
}

.btn-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: var(--g);
}

.btn-text {
  width: fit-content;
  font-family: 'AOT Serial Mono', 'Gothic A1', sans-serif;
  color: var(--theme-gr);
  font-size: var(--fz-xs);
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.003rem;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-text:hover {
  color: var(--keyColor);
}

.btn {
  width: fit-content;
  min-width: 175px;
  height: 50px;
  line-height: 50px;
  padding: 0 var(--g-s);
  text-align: center;
  border: 1px solid var(--theme-gr);
  background: transparent;
  font-family: 'AOT Serial Mono', 'Gothic A1', sans-serif;
  color: var(--theme-bk);
  font-size: var(--fz-s);
  font-weight: 600;
  letter-spacing: -0.05rem;
  text-transform: uppercase;
  transition: all 0.4s ease;
  cursor: pointer;
}

.btn:hover {
  border: 1px solid var(--keyColor);
  background: var(--keyColor);
  color: var(--bk);
}

.roll {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  height: 1.2em;
  line-height: 1.2em;
}

.roll-line {
  display: block;
  transition: transform 450ms cubic-bezier(0.65, 0.05, 0.36, 1);
}

.roll:hover .roll-line,
.roll:focus-visible .roll-line {
  transform: translateY(-100%);
}

.roll-line + .roll-line {
  color: var(--keyColor);
}

.btn-box {
  padding: 6px 4px;
  width: fit-content;
  background: var(--keyColor);
  font-family: 'AOT Serial Mono', 'Gothic A1', sans-serif;
  color: var(--bk);
  font-size: var(--fz-xs);
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.003rem;
  text-transform: uppercase;
  cursor: pointer;
}
