/* = reset
------------------------------------------------------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td,
small,
button,
time,
figure {
  border: 0;
  font: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

li,
dd {
  list-style-type: none;
}

header,
footer,
nav,
section,
article,
main,
aside,
figure,
figcaption {
  display: block;
}

img {
  display: block;
  border: none;
  max-width: 100%;
  height: auto;
}

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

button {
  background-color: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

/* = root
------------------------------------------------------------------------------------------*/
:root {
  /* color */
  --color-white: #ffffff;
  --color-black: #333333;
  --toggle-bg: #f0f0f0;

  --z-to-top-button: 10;
  --z-header: 20;
  --z-drawer: 30;
  --z-modal: 40;

  /* transition duration */
  --glitch-duration: 0.3s;
  --transition-base: 0.4s;
}

html[data-theme="dark"] {
  --color-white: #1a1a1a;
  --color-black: #f5f5f5;
  --toggle-bg: #333333;
}

/* = base
------------------------------------------------------------------------------------------*/
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  scrollbar-gutter: stable;

  @media (max-width: 768px) {
    scroll-padding-top: 100px;
  }
}

body {
  background-color: var(--color-white);
  color: var(--color-black);
  font-size: 16px;
  transition:
    background-color var(--transition-base),
    color var(--transition-base);
  line-height: 1.8;
  overflow-wrap: anywhere;
  overflow-x: hidden;
  letter-spacing: 0.04em;
  font-feature-settings: "palt";
  font-family: "Montserrat", "Noto Sans JP", sans-serif;

  &.is-fixed {
    overflow: hidden;

    .header__logo,
    main {
      pointer-events: none;
    }
  }

  &.is-loading {
    position: fixed;
    width: 100%;
    height: 100vh;
  }
}

/* = theme-toggle
------------------------------------------------------------------------------------------*/
.theme-toggle {
  background-color: transparent;
  color: var(--color-black);
  padding: 0.5em 0.9em;
  font-size: 14px;
  font-weight: 700;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    translate var(--transition-base),
    opacity var(--transition-base) !important;

  @media (max-width: 1200px) {
    color: var(--color-white);
    background-color: var(--color-black);
    opacity: 0;
    translate: -60px 0;
    transition-delay: var(--delay, 0s) !important;
  }

  @media (any-hover: hover) {
    &:hover {
      background-color: var(--color-black);
      color: var(--color-white);
    }
  }
}

.theme-toggle__text--light {
  display: block;
}

.theme-toggle__text--dark {
  display: none;
}

html[data-theme="dark"] .theme-toggle__text--light {
  display: none;
}
html[data-theme="dark"] .theme-toggle__text--dark {
  display: block;
}

.js-theme-flash {
  animation: theme-glitch var(--glitch-duration) steps(2, end);
}

/* = parts
------------------------------------------------------------------------------------------*/
/* section wrapper */
.section {
  margin-bottom: 96px;

  @media (max-width: 768px) {
    margin-bottom: 60px;
  }
}

.section:first-child {
  margin-top: 96px;

  @media (max-width: 768px) {
    margin-top: 60px;
  }
}

.section__inner {
  max-width: 1920px;
  margin-inline: auto;
  width: 92%;
}

.section__heading {
  position: relative;
  font-size: 56px;
  line-height: 1;
  margin-bottom: 1em;
  text-transform: uppercase;
  font-weight: bold;
  padding-bottom: 0.6em;

  @media (max-width: 768px) {
    font-size: 48px;
  }
}

.section__heading::after {
  position: absolute;
  content: attr(data-text);
  font-size: 0.4em;
  left: 0;
  bottom: 0;
}

/* border & shadow utility */
.border-and-shadow {
  border: 4px solid currentColor;
  border-radius: 8px;
  box-shadow: 6px 6px 6px 0px var(--color-black);
  transition: box-shadow var(--transition-base);
}

/* button */
.button {
  display: block;
  text-align: center;
  width: 100%;
  font-size: 24px;
  font-weight: bold;
  padding: 0.7em;
  transition:
    color var(--transition-base),
    background-color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    opacity var(--transition-base),
    translate var(--transition-base) !important;

  @media (max-width: 768px) {
    font-size: 20px;
  }

  @media (any-hover: hover) {
    &:hover:not(.is-disabled) {
      color: var(--color-white);
      background-color: var(--color-black);
      border-color: var(--color-black);
      translate: 6px 6px;
    }
  }

  &.border-and-shadow {
    @media (any-hover: hover) {
      &:hover:not(.is-disabled) {
        box-shadow: 0px 0px 0px 0px var(--color-black);
      }
    }
  }
}

/* focus outline */
* {
  outline: 4px solid transparent;
}

*:focus-visible {
  outline-color: #0066ff;
}

.border-and-shadow:focus-visible {
  border-color: transparent;
}

/* border-and-shadow（SP時のみ付与） */
.border-and-shadow-pc-none {
  border: none;
  box-shadow: none;

  @media (max-width: 768px) {
    border: 4px solid currentColor;
    border-radius: 8px;
    box-shadow: 6px 6px 6px 0px var(--color-black);
  }
}

.text-link {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;

  @media (any-hover: hover) {
    &:hover {
      text-decoration-color: transparent;
    }
  }
}

/* hover scale（リンク・ボタン共通） */
a:not(.button):not(.theme-toggle):not(.works__card-item):not(.contact__link) {
  transition: opacity var(--transition-base);

  @media (any-hover: hover) {
    &:hover {
      opacity: 0.6;
    }
  }
}

/* display utility */
.pc-only {
  display: block;
  @media (max-width: 768px) {
    display: none;
  }
}

.sp-only {
  display: none;
  @media (max-width: 768px) {
    display: block;
  }
}

/* = header
------------------------------------------------------------------------------------------*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: var(--z-header);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  max-width: 1920px;
  margin-inline: auto;
  background-color: var(--color-white);
  gap: 32px;

  @media (max-width: 1200px) {
    gap: 0;
  }
}

.header__logo {
  flex-shrink: 0;
}

.header__logo-link {
  display: flex;
  gap: 4px;
  align-items: center;
}

.header__logo-image {
  width: auto;
  height: 1lh;
}

.header__logo-text {
  font-size: 28px;
  text-transform: capitalize;
  font-weight: bold;
}

.header__nav {
  flex: 1;
  transition:
    translate var(--transition-base),
    opacity var(--transition-base);

  @media (max-width: 1200px) {
    position: fixed;
    inset: 0;
    width: 80vw;
    height: 100dvh;
    overflow-y: auto;
    translate: 125% 0;
    background-color: color-mix(in srgb, var(--color-black) 70%, transparent);
    padding-block: 16px;
  }
}

.header__nav-inner {
  width: 100%;
  margin-inline: 0;
  display: flex;
  justify-content: flex-end;
  gap: 32px;

  @media (max-width: 1200px) {
    width: 92%;
    margin-inline: auto;
    display: block;
  }
}

.header__nav-lists {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  padding-top: 0;
  margin-inline: 0;

  @media (max-width: 1200px) {
    flex-direction: column;
    align-items: normal;
    padding-top: 32px;
    margin-inline: auto;
  }
}

.header__nav-item {
  @media (max-width: 1200px) {
    opacity: 0;
    translate: -60px 0;
    transition:
      translate var(--transition-base),
      opacity var(--transition-base);
    transition-delay: var(--delay, 0s);
  }
}

.header__nav-link {
  display: block;
  font-size: 24px;
  font-weight: bold;
  color: var(--color-black);
  text-transform: uppercase;

  @media (max-width: 1200px) {
    font-size: 32px;
    color: var(--color-white);
  }
}

.header__drawer {
  display: none;

  @media (max-width: 1200px) {
    display: block;
    position: relative;
    width: 24px;
    height: 16px;
    z-index: var(--z-drawer);

    &.is-checked {
      .header__drawer-icon {
        background-color: var(--color-white);

        &:nth-of-type(1),
        &:nth-of-type(3) {
          top: 50%;
          translate: 0 -50%;
        }

        &:nth-of-type(1) {
          rotate: 135deg;
        }

        &:nth-of-type(2) {
          opacity: 0;
        }

        &:nth-of-type(3) {
          rotate: -135deg;
        }
      }

      + .header__nav {
        translate: 25% 0;
        opacity: 1;
        z-index: calc(var(--z-drawer) - 1);

        .theme-toggle {
          @media (max-width: 1200px) {
            translate: 0;
            opacity: 1;
            --delay: 0.3s;
          }
        }

        .header__nav-item {
          @media (max-width: 1200px) {
            translate: 0;
            opacity: 1;

            &:nth-child(1) {
              --delay: 0.4s;
            }
            &:nth-child(2) {
              --delay: 0.5s;
            }
            &:nth-child(3) {
              --delay: 0.6s;
            }
            &:nth-child(4) {
              --delay: 0.7s;
            }
            &:nth-child(5) {
              --delay: 0.8s;
            }
            &:nth-child(6) {
              --delay: 0.9s;
            }
          }
        }

        + .header__drawer {
          .header__drawer-icon {
            background-color: var(--color-white);
          }
        }
      }
    }
  }
}

.header__drawer-icon {
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: var(--color-black);
  left: 0;
  transition:
    opacity var(--transition-base),
    top var(--transition-base),
    rotate var(--transition-base);

  &:nth-of-type(1) {
    top: 0;
  }

  &:nth-of-type(2) {
    top: 50%;
  }

  &:nth-of-type(3) {
    top: 100%;
  }
}

/* = MV
------------------------------------------------------------------------------------------*/
.mv {
  position: relative;
  height: 100dvh;
  overflow: hidden;
  max-width: 1920px;
  margin-inline: auto;
}

.mv__typography {
  text-align: center;
  width: 100%;
  user-select: none;
}

.mv__main-title {
  font-size: 60px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.4em;
  line-height: 1;
  @media (max-width: 768px) {
    font-size: 32px;
  }
}

.mv__sub-title {
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1;
  @media (max-width: 768px) {
    font-size: 14px;
  }
}

.mv__base {
  position: absolute;
  inset: 0;
  background-color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color var(--transition-base);
}
.mv__base .mv__typography {
  color: var(--color-black);
  transition: color var(--transition-base);
}

.mv__bg-slit {
  position: absolute;
  inset: 0;
  background-color: var(--color-black);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color var(--transition-base);

  clip-path: polygon(0 0, 45% 0, 55% 100%, 0 100%);
  animation: shiftSlit 10s ease-in-out infinite alternate;
}
.mv__bg-slit .mv__typography {
  color: var(--color-white);
  transition: color var(--transition-base);
}

@keyframes shiftSlit {
  0% {
    clip-path: polygon(0 0, 30% 0, 45% 100%, 0 100%);
  }
  50% {
    clip-path: polygon(0 0, 65% 0, 75% 100%, 0 100%);
  }
  100% {
    clip-path: polygon(0 0, 48% 0, 52% 100%, 0 100%);
  }
}

/* = main
------------------------------------------------------------------------------------------*/
.main {
  overflow: hidden;
}

/* = strengths
------------------------------------------------------------------------------------------*/
.strengths__content {
  padding: 40px;
  max-width: 1200px;
  margin-inline: auto;
  @media (max-width: 768px) {
    padding: 20px;
  }
}

.strengths__title {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 1em;
  @media (max-width: 768px) {
    font-size: 22px;
    text-align: left;
  }
}

.strengths__text {
  text-align: center;
  font-size: 20px;
  @media (max-width: 768px) {
    text-align: left;
  }
}

.strengths__text:not(:last-of-type) {
  margin-bottom: 1em;
}

.highlight {
  background-image: -webkit-linear-gradient(
    left,
    transparent 50%,
    #13ffc46e 50%
  );
  background-repeat: repeat-x;
  background-size: 200% 2em;
  line-height: 1.6em;
  transition: background 2s;
}

.highlight.is-in-view {
  background-position: -100% 0;
}

/* = about
------------------------------------------------------------------------------------------*/
.about__body {
  display: flex;
  flex-direction: row;
  gap: 24px;
  @media (max-width: 768px) {
    flex-direction: column;
  }
}

.about__image {
  width: 30%;
  @media (max-width: 768px) {
    width: 100%;
  }
}

.about__content {
  width: 70%;
  padding: 2%;
  @media (max-width: 768px) {
    width: 100%;
    padding: 5% 4%;
  }
}

.about__detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;

  @media (max-width: 768px) {
    gap: 8px;
  }
}

.about__detail-list:not(:last-of-type) {
  margin-bottom: 24px;
}

.about__detail-list:last-of-type {
  margin-bottom: 32px;
}

.about__detail-term {
  font-size: 20px;
  font-weight: bold;
  width: 100px;

  @media (max-width: 768px) {
    width: 100%;
  }
}

.about__detail-desc {
  width: calc((100% - 16px) - 100px);
  font-size: 20px;

  @media (max-width: 768px) {
    width: 100%;
  }
}

.about__button {
  .button {
    max-width: 600px;
    margin-inline: auto;
  }
}

/* = modal
------------------------------------------------------------------------------------------*/
dialog {
  max-width: 100%;
  width: 100%;
  max-height: 100%;
  height: 100%;
  padding: 0;
  inset: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
dialog::backdrop {
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.35s ease;
}

dialog[open]::backdrop {
  background-color: rgba(0, 0, 0, 0.6);
}
dialog.modal[open] .modal__inner {
  opacity: 1;
  filter: invert(0);
  transform: translate(0, 0) scale(1);
  clip-path: inset(0 0 0 0);
  animation: modal-glitch-in var(--glitch-duration) steps(10, end);
}

dialog.modal.is-closing .modal__inner {
  animation: modal-glitch-out var(--glitch-duration) steps(10, end);
}

.modal p:not(:last-of-type) {
  margin-bottom: 1.5em;
}

.modal__inner {
  position: fixed;
  inset: 0;
  margin: auto;
  width: 90vw;
  height: 90dvh;
  background-color: var(--color-white);
  color: var(--color-black);
  cursor: auto;
  opacity: 0;
  filter: invert(0);
  transform: translate(-8px, 0) scale(0.98);
  clip-path: inset(0 0 40% 0);
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  aspect-ratio: 1;
  padding: 0;
  border-radius: 50%;
  border: 4px solid var(--color-black);
  background-color: var(--color-white);
  transition: background-color var(--transition-base);

  @media (max-width: 768px) {
    width: 40px;
  }

  &::before,
  &::after {
    content: "";
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 60%;
    height: 4px;
    background-color: var(--color-black);
    transition: background-color var(--transition-base);
  }

  &::before {
    rotate: 45deg;
  }

  &::after {
    rotate: -45deg;
  }

  @media (any-hover: hover) {
    &:hover {
      background-color: var(--color-black);
      &::before,
      &::after {
        background-color: var(--color-white);
      }
    }
  }
}

.modal__body {
  overflow: auto;
  width: 100%;
  height: 100%;
  padding: 4%;

  @media (max-width: 768px) {
    padding: 50px 4% 4%;
  }
}

.modal__body::-webkit-scrollbar {
  display: none;
}

.modal__title {
  font-size: 32px;
  line-height: 1;
  font-weight: bold;
  margin-bottom: 2em;

  @media (max-width: 768px) {
    font-size: 24px;
  }
}

.modal__detail-list:not(:last-of-type) {
  margin-bottom: 48px;
}

.modal__detail-term {
  position: relative;
  padding-left: 1.4em;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 1em;
  line-height: 1;

  @media (max-width: 768px) {
    font-size: 20px;
  }

  &::before {
    position: absolute;
    content: "■";
    top: 50%;
    left: 0;
    translate: 0 -50%;
  }
}

.modal__detail-desc {
  font-size: 20px;

  @media (max-width: 768px) {
    font-size: 16px;
  }
}

/* = works
------------------------------------------------------------------------------------------*/
#works {
  margin-bottom: 130px;
}

.works__card-lists {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 80px 24px;
  margin-bottom: 120px;

  @media (max-width: 768px) {
    grid-template-columns: 1fr;

    margin-bottom: 80px;
  }
}

.works-card {
  display: block;
  position: relative;
  height: 100%;

  &.link-off {
    opacity: 0.5;
    pointer-events: none;
  }

  @media (any-hover: hover) {
    &:hover {
      .works-card__image img {
        scale: 1.1;
        filter: invert(1);
      }

      .works-card__button-label {
        color: var(--color-white);

        &::before {
          left: 0;
        }

        &::after {
          right: 2%;
          background-color: var(--color-white);
        }
      }
    }
  }
}

.works-card__image {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 4px solid var(--color-black);

  &::before {
    position: absolute;
    content: "";
    inset: 0;
    background: var(--bg) no-repeat center center/ cover;
    filter: blur(5px);
    transform: scale(1.1);
  }

  img {
    position: relative;
    aspect-ratio: 750 / 500;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    transition:
      scale var(--transition-base),
      filter var(--transition-base);
  }
}

.works-card__body {
  padding: 3%;
}

.works-card__title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.works-card__button {
  overflow: hidden;
  position: absolute;
  max-width: 80%;
  top: calc(100% - 10px);
  right: 0;
}

.works-card__button-label {
  position: relative;
  display: block;
  padding: 0.4em 2.5em;
  font-size: 18px;
  font-weight: bold;
  color: var(--color-black);
  background-color: var(--color-white);
  overflow-x: hidden;
  transition:
    color var(--transition-base),
    background-color var(--transition-base);
  z-index: 1;

  &::before,
  &::after {
    position: absolute;
    content: "";
  }

  &::before {
    background-color: var(--color-black);
    width: 100%;
    height: 100%;
    top: 0;
    left: -94%;
    transition:
      left var(--transition-base),
      background-color var(--transition-base);
    z-index: -1;
  }

  &::after {
    background-color: var(--color-black);
    width: 16px;
    aspect-ratio: 1;
    top: 50%;
    right: 7%;
    translate: 0 -50%;
    clip-path: polygon(
      0% 20%,
      60% 20%,
      60% 0%,
      100% 50%,
      60% 100%,
      60% 80%,
      0% 80%
    );
    transition:
      right var(--transition-base),
      background-color var(--transition-base);
    z-index: 2;
  }
}

.works__button {
  .button {
    max-width: 600px;
    margin-inline: auto;
  }
}

/* = faq
------------------------------------------------------------------------------------------*/
.faq__heading::after {
  white-space: nowrap;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.faq__item {
  &.is-open {
    .faq__answer {
      grid-template-rows: 1fr;
    }

    .faq__question {
      background-color: var(--color-black);

      &::before {
        color: var(--color-white);
      }

      .faq__question-text {
        color: var(--color-white);
      }

      @media (any-hover: hover) {
        &:hover {
          background-color: var(--color-white);

          &::before {
            color: var(--color-black);
          }

          .faq__question-text {
            color: var(--color-black);
          }

          .faq__icon {
            &::before,
            &::after {
              background-color: var(--color-black);
            }
          }
        }
      }
    }

    .faq__icon {
      &::before,
      &::after {
        background-color: var(--color-white);
      }

      &::after {
        translate: -50% -50%;
        rotate: 90deg;
        opacity: 0;
      }
    }
  }
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 24px;
  font-size: 22px;
  font-weight: bold;
  border-bottom: 4px solid currentColor;
  transition:
    color var(--transition-base),
    background-color var(--transition-base);
  background-color: var(--color-white);

  @media (max-width: 767px) {
    gap: 12px;
    font-size: 16px;
    padding: 16px;
  }

  &::before {
    content: "Q.";
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
    color: var(--color-black);
    translate: 0 -2px;
    transition: color var(--transition-base);

    @media (max-width: 767px) {
      font-size: 20px;
    }
  }

  @media (any-hover: hover) {
    &:hover {
      background-color: var(--color-black);

      &::before {
        color: var(--color-white);
      }

      .faq__question-text {
        color: var(--color-white);
      }

      .faq__icon {
        &::before,
        &::after {
          background-color: var(--color-white);
        }
      }
    }
  }
}

.faq__question-text {
  flex-grow: 1;
  color: var(--color-black);
  transition: color var(--transition-base);
}

.faq__icon {
  position: relative;
  width: 20px;
  aspect-ratio: 1;
  flex-shrink: 0;

  @media (max-width: 767px) {
    width: 16px;
  }

  &::before,
  &::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: var(--color-black);
    translate: -50% -50%;
    transition:
      translate var(--transition-base),
      rotate var(--transition-base),
      opacity var(--transition-base);
  }

  &::before {
    width: 100%;
    height: 4px;
  }

  &::after {
    width: 4px;
    height: 100%;
  }
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-base);
  overflow: hidden;
}

.faq__answer-inner {
  display: flex;
  gap: 20px;
  padding: 0 24px;
  min-height: 0;

  @media (max-width: 767px) {
    gap: 12px;
    padding: 0 16px;
  }

  &::before {
    content: "A.";
    font-size: 22px;
    font-weight: bold;
    flex-shrink: 0;
    padding-top: 24px;
    padding-bottom: 24px;

    @media (max-width: 767px) {
      font-size: 18px;
      padding-top: 16px;
      padding-bottom: 16px;
    }
  }
}

.faq__answer-text {
  padding-top: 24px;
  padding-bottom: 24px;
  line-height: 1.6;

  @media (max-width: 767px) {
    padding-top: 16px;
    padding-bottom: 16px;
  }
}

/* = contact
------------------------------------------------------------------------------------------*/
.contact__body {
  max-width: 1000px;
  margin-inline: auto;
}

.contact__button-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}

.contact__form {
}

.contact__note-text {
  text-align: right;
  font-size: 14px;
  margin-bottom: 1em;

  .required {
    color: red;
  }
}

.form__fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.form__radio-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  @media (max-width: 768px) {
    flex-direction: column;
    align-items: flex-start;
  }
}

.form__label {
  display: block;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 0.4em;
}

.form__required {
  display: inline-block;
  margin-left: 0.2em;
  color: red;
}

.form__text {
  font: inherit;
  color: inherit;
  vertical-align: top;
  width: 100%;
  border-radius: 5px;
  background-color: var(--color-white);
  padding: 12px 13px 11px;
}

.form__radio {
  line-height: 1.4375;
}

.form__radio-input {
  width: 1px;
  height: 1px;
  position: absolute;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}

.form__radio-input:checked + .form__radio-text::after {
  opacity: 1;
}

.form__radio-text {
  font-weight: 700;
  padding-left: 28px;
  position: relative;
}

.form__radio-text::before,
.form__radio-text::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}

.form__radio-text::before {
  width: 24px;
  aspect-ratio: 1;
  border: 4px solid currentColor;
  left: 0;
}

.form__radio-text::after {
  width: 10px;
  height: 10px;
  background-color: var(--color-black);
  left: 7px;
  opacity: 0;
}

.form__select-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.form__select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 13px;
  height: 10px;
  background-color: var(--color-black, #333);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateY(-50%) rotate(0deg);
  transform-origin: center;
  transition: transform 0.25s ease;
  pointer-events: none;
}

.form__select-wrap:has(.form__select:open)::after {
  transform: translateY(-50%) rotate(180deg);
}

.form__select {
  font: inherit;
  color: inherit;
  vertical-align: top;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  border-radius: 5px;
  background-color: var(--color-white);
  font-weight: 700;
  padding: 12px 43px 11px 13px;
}

.form__textarea {
  font: inherit;
  color: inherit;
  vertical-align: top;
  border-radius: 5px;
  background: var(--color-white);
  width: 100%;
  min-height: 200px;
  padding: 13px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-black);
}

.contact__button {
  margin-bottom: 24px;

  .button {
    max-width: 600px;
    margin-inline: auto;

    &.is-disabled {
      opacity: 0.5;
      pointer-events: none;
    }
  }
}

.contact__list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.contact__item {
  width: 60px;
}

.contact__link {
  display: grid;
  place-items: center;
  padding: 14px;
  height: 100%;

  @media (any-hover: hover) {
    &:hover {
      background-color: var(--color-black);
      img {
        filter: brightness(0) invert(1);
      }
    }
  }
}

.contact__link img {
  filter: brightness(0);
  transition: filter var(--transition-base);
}

html[data-theme="dark"] .contact__link img {
  filter: brightness(0) invert(1);
}

@media (any-hover: hover) {
  .contact__link:hover img {
    filter: brightness(0) invert(1);
  }
}

@media (any-hover: hover) {
  html[data-theme="dark"] .contact__link:hover img {
    filter: brightness(0);
  }
}

/* = footer
------------------------------------------------------------------------------------------*/
.footer {
  padding-block: 16px;
}

.footer__inner {
  width: 92%;
  margin-inline: auto;
}

.footer__text {
  text-align: center;
}

.copy {
  font-size: 12px;
}

/* = to-top
------------------------------------------------------------------------------------------*/
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: var(--color-white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(1);
  transition:
    opacity var(--transition-base) ease,
    transform var(--transition-base) ease,
    visibility var(--transition-base);
  z-index: var(--z-to-top-button);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.to-top__ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

.to-top__ring-bg {
  fill: none;
  stroke: var(--color-black);
  stroke-opacity: 0.15;
  stroke-width: 3;
  transition: stroke-width 0.25s ease;
}

.to-top__ring-progress {
  fill: none;
  stroke: var(--color-black);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 150.8;
  stroke-dashoffset: 150.8;
  transition:
    stroke-dashoffset 0.1s linear,
    stroke-width 0.25s ease;
}

.to-top__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 20px;
  color: var(--color-black);
  line-height: 1;
  transition: transform 0.25s ease;
}

@media (any-hover: hover) {
  .to-top:hover {
    transform: translateY(0) scale(1.06);
  }

  .to-top:hover .to-top__ring-bg,
  .to-top:hover .to-top__ring-progress {
    stroke-width: 4;
  }

  .to-top:hover .to-top__icon {
    transform: translateY(-3px);
  }
}

.to-top:active {
  transform: translateY(0) scale(0.96);
}

/* = scroll animations
------------------------------------------------------------------------------------------*/
.fade-in-up {
  opacity: 0;
  transform: translateY(60px);
  transition:
    transform 0.6s,
    opacity 0.6s;

  &.is-in-view {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-in-left {
  opacity: 0;
  transform: translateX(60px);
  transition:
    transform 0.6s,
    opacity 0.6s;

  &.is-in-view {
    transform: translateX(0);
    opacity: 1;
  }
}

.fade-in-right {
  opacity: 0;
  transform: translateX(-60px);
  transition:
    transform 0.6s,
    opacity 0.6s;

  &.is-in-view {
    transform: translateX(0);
    opacity: 1;
  }
}

/* = curtain-in-out
------------------------------------------------------------------------------------------*/
.curtain-in-out {
  display: inline-block;
  position: relative;
  overflow: hidden;
  clip-path: inset(0% 100% 0% 0%);
}

.curtain-in-out::before {
  position: absolute;
  content: "";
  inset: 0;
  background-color: var(--color-black);
  translate: -100% 0;
}

.curtain-in-out.is-in-view {
  animation: curtainReveal var(--transition-base) forwards;
}

.curtain-in-out.is-in-view::before {
  animation: curtainSlide calc(var(--transition-base) * 2) forwards;
}

@keyframes curtainReveal {
  to {
    clip-path: inset(0);
  }
}

@keyframes curtainSlide {
  0% {
    translate: -100% 0;
  }
  50% {
    translate: 0;
  }
  100% {
    translate: 105% 0;
  }
}

/* = keyframes
------------------------------------------------------------------------------------------*/
@keyframes theme-glitch {
  0% {
    filter: invert(1);
    transform: translate(0);
    clip-path: inset(0 0 0 0);
  }
  10% {
    filter: invert(1) hue-rotate(90deg) saturate(3);
    transform: translate(-6px, 2px);
    clip-path: inset(10% 0 40% 0);
  }
  20% {
    filter: invert(1) hue-rotate(-90deg) saturate(3);
    transform: translate(6px, -3px);
    clip-path: inset(60% 0 5% 0);
  }
  30% {
    filter: invert(1) hue-rotate(180deg);
    transform: translate(-8px, 0);
    clip-path: inset(20% 0 60% 0);
  }
  40% {
    filter: invert(1) saturate(4);
    transform: translate(8px, 4px);
    clip-path: inset(70% 0 2% 0);
  }
  50% {
    filter: invert(1) hue-rotate(90deg);
    transform: translate(-4px, -4px);
    clip-path: inset(5% 0 75% 0);
  }
  60% {
    filter: invert(1);
    transform: translate(5px, 3px);
    clip-path: inset(45% 0 15% 0);
  }
  70% {
    filter: invert(1) hue-rotate(-45deg);
    transform: translate(-3px, 2px);
    clip-path: inset(0 0 0 0);
  }
  100% {
    filter: invert(1);
    transform: translate(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes modal-glitch-in {
  0% {
    opacity: 0;
    filter: invert(0);
    transform: translate(-8px, 0) scale(0.98);
    clip-path: inset(0 0 40% 0);
  }
  10% {
    opacity: 1;
    filter: invert(1) hue-rotate(90deg) saturate(3);
    transform: translate(-6px, 2px) scale(0.98);
    clip-path: inset(10% 0 40% 0);
  }
  20% {
    filter: invert(1) hue-rotate(-90deg) saturate(3);
    transform: translate(6px, -3px) scale(0.99);
    clip-path: inset(60% 0 5% 0);
  }
  30% {
    filter: invert(1) hue-rotate(180deg);
    transform: translate(-8px, 0) scale(0.99);
    clip-path: inset(20% 0 60% 0);
  }
  40% {
    filter: invert(1) saturate(4);
    transform: translate(8px, 4px) scale(1);
    clip-path: inset(70% 0 2% 0);
  }
  50% {
    filter: invert(1) hue-rotate(90deg);
    transform: translate(-4px, -4px) scale(1);
    clip-path: inset(5% 0 75% 0);
  }
  60% {
    filter: invert(1);
    transform: translate(5px, 3px) scale(1);
    clip-path: inset(45% 0 15% 0);
  }
  70% {
    filter: invert(1) hue-rotate(-45deg);
    transform: translate(-3px, 2px) scale(1);
    clip-path: inset(0 0 0 0);
  }
  100% {
    opacity: 1;
    filter: invert(0);
    transform: translate(0, 0) scale(1);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes modal-glitch-out {
  0% {
    opacity: 1;
    filter: invert(0);
    transform: translate(0, 0) scale(1);
    clip-path: inset(0 0 0 0);
  }
  30% {
    filter: invert(1) hue-rotate(-45deg);
    transform: translate(-3px, 2px) scale(1);
    clip-path: inset(0 0 0 0);
  }
  40% {
    filter: invert(1);
    transform: translate(5px, 3px) scale(1);
    clip-path: inset(45% 0 15% 0);
  }
  50% {
    filter: invert(1) hue-rotate(90deg);
    transform: translate(-4px, -4px) scale(1);
    clip-path: inset(5% 0 75% 0);
  }
  60% {
    filter: invert(1) saturate(4);
    transform: translate(8px, 4px) scale(0.99);
    clip-path: inset(70% 0 2% 0);
  }
  70% {
    filter: invert(1) hue-rotate(180deg);
    transform: translate(-8px, 0) scale(0.99);
    clip-path: inset(20% 0 60% 0);
  }
  80% {
    filter: invert(1) hue-rotate(-90deg) saturate(3);
    transform: translate(6px, -3px) scale(0.98);
    clip-path: inset(60% 0 5% 0);
  }
  90% {
    opacity: 1;
    filter: invert(1) hue-rotate(90deg) saturate(3);
    transform: translate(-6px, 2px) scale(0.98);
    clip-path: inset(10% 0 40% 0);
  }
  100% {
    opacity: 0;
    filter: invert(0);
    transform: translate(-8px, 0) scale(0.98);
    clip-path: inset(0 0 40% 0);
  }
}

/* = reCAPTCHA
------------------------------------------------------------------------------------------*/
.grecaptcha-badge {
  visibility: hidden;
}

.form__recaptcha-text {
  font-size: 12px;
  color: var(--color-black);
  margin-bottom: 2em;
  text-align: center;
  @media (max-width: 768px) {
    text-align: left;
  }
}

/* = animations
------------------------------------------------------------------------------------------*/
.animations__card-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 80px 24px;

  @media (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.animations__card-list {
  min-width: 0;
}

.animations__card-item {
  padding: 20px;
}

.animations-card__body {
  display: grid;
  place-items: center;
  position: relative;
  min-height: 160px;
  border-radius: 8px;
  background-color: var(--color-black);
  padding: 10px;

  @media (max-width: 768px) {
    min-height: 120px;
  }
}

.animations-card__text {
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--color-white);
  text-transform: uppercase;
}

.animations__button {
  .button {
    max-width: 600px;
    margin-inline: auto;
  }
}

/* = curtain-in-out-loop
------------------------------------------------------------------------------------------*/
.curtain-in-out-loop {
  display: inline-block;
  position: relative;
  overflow: hidden;
  clip-path: inset(0% 100% 0% 0%);
}

.curtain-in-out-loop::before {
  position: absolute;
  content: "";
  inset: 0;
  background-color: var(--color-white);
  translate: -100% 0;
}

.curtain-in-out-loop.is-in-view {
  animation: curtainRevealLoop 2.5s infinite;
}

.curtain-in-out-loop.is-in-view::before {
  animation: curtainSlideLoop 2.5s infinite;
}

@keyframes curtainRevealLoop {
  0% {
    clip-path: inset(0% 100% 0% 0%);
  }
  18%,
  82% {
    clip-path: inset(0%);
  }
  100% {
    clip-path: inset(0% 100% 0% 0%);
  }
}

@keyframes curtainSlideLoop {
  0% {
    translate: -100% 0;
  }
  18%,
  38% {
    translate: 0 0;
  }
  56%,
  85% {
    translate: 105% 0;
  }
  100% {
    translate: -100% 0;
  }
}

/* = glitch-effect
------------------------------------------------------------------------------------------*/
.glitch-effect {
  position: relative;
  display: inline-block;
}

.glitch-effect.is-in-view::before,
.glitch-effect.is-in-view::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-black);
}

.glitch-effect.is-in-view::before {
  left: 3px;
  text-shadow: -2px 0 #00ffaa;
  animation: glitch-anim-1 3s infinite linear alternate-reverse;
}

.glitch-effect.is-in-view::after {
  left: -3px;
  text-shadow: 2px 0 #00fff9;
  animation: glitch-anim-2 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% {
    clip-path: inset(20% 0 80% 0);
  }
  20% {
    clip-path: inset(60% 0 10% 0);
  }
  40% {
    clip-path: inset(40% 0 50% 0);
  }
  60% {
    clip-path: inset(80% 0 5% 0);
  }
  80% {
    clip-path: inset(10% 0 70% 0);
  }
  100% {
    clip-path: inset(30% 0 20% 0);
  }
}

@keyframes glitch-anim-2 {
  0% {
    clip-path: inset(10% 0 60% 0);
  }
  20% {
    clip-path: inset(30% 0 20% 0);
  }
  40% {
    clip-path: inset(70% 0 10% 0);
  }
  60% {
    clip-path: inset(20% 0 50% 0);
  }
  80% {
    clip-path: inset(50% 0 30% 0);
  }
  100% {
    clip-path: inset(5% 0 80% 0);
  }
}

/* = neon-flicker
------------------------------------------------------------------------------------------*/
.neon-flicker {
  color: color-mix(in srgb, var(--color-white) 25%, transparent);
  text-shadow: none;
  transition:
    color 0.5s ease,
    text-shadow 0.5s ease;
}

.js-in-view .neon-flicker {
  animation: flicker-anim 3s infinite alternate;
}

@keyframes flicker-anim {
  0%,
  18%,
  22%,
  25%,
  53%,
  57%,
  100% {
    color: var(--color-white);
    text-shadow:
      0 0 4px var(--color-white),
      0 0 11px var(--color-white),
      0 0 19px var(--color-white),
      0 0 40px #00ffaa,
      0 0 80px #00ffaa,
      0 0 90px #00ffaa,
      0 0 100px #00ffaa,
      0 0 150px #00ffaa;
  }
  20%,
  24%,
  55% {
    color: color-mix(in srgb, var(--color-white) 20%, transparent);
    text-shadow: none;
  }
}

/* = cyber-scan
------------------------------------------------------------------------------------------*/
.cyber-scan {
  position: relative;
  color: color-mix(in srgb, #00ffaa 15%, transparent);
  overflow: hidden;
  transition: color 0.3s ease;
}

.cyber-scan::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #00ffaa;
  text-shadow:
    0 0 12px #00ffaa,
    0 0 30px #00ffaa;
  clip-path: inset(0 0 100% 0);
}

.cyber-scan::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #00ffaa, transparent);
  box-shadow:
    0 0 10px #00ffaa,
    0 0 20px #00ffaa;
  opacity: 0;
}

.js-in-view .cyber-scan {
  color: color-mix(in srgb, #00ffaa 30%, transparent);
}

.js-in-view .cyber-scan::before {
  animation: scan-text-anim 2s infinite linear;
}

.js-in-view .cyber-scan::after {
  opacity: 1;
  animation: scan-line-anim 2s infinite linear;
}

@keyframes scan-line-anim {
  0% {
    top: -10px;
  }
  100% {
    top: calc(100% + 10px);
  }
}

@keyframes scan-text-anim {
  0% {
    clip-path: inset(0 0 100% 0);
  }
  20% {
    clip-path: inset(0 0 80% 0);
  }
  40% {
    clip-path: inset(20% 0 60% 0);
  }
  60% {
    clip-path: inset(50% 0 30% 0);
  }
  80% {
    clip-path: inset(70% 0 10% 0);
  }
  100% {
    clip-path: inset(100% 0 0 0);
  }
}

/* = typing-text
------------------------------------------------------------------------------------------*/
.typing-text {
  --text-length: 4;
  color: #00ffaa;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid currentColor;
  letter-spacing: 0;
  box-sizing: content-box;
  width: 0;
  animation:
    typing-anim 1.6s steps(calc(var(--text-length) + 1)) infinite alternate,
    cursor-anim 0.8s steps(2) infinite;
}

@keyframes typing-anim {
  0% {
    width: 0;
  }
  100% {
    width: calc((var(--text-length) + 1) * 1ch);
  }
}

@keyframes cursor-anim {
  50% {
    border-color: transparent;
  }
}

/* = impact-text
------------------------------------------------------------------------------------------*/
.impact-text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.impact-text__char {
  display: inline-block;
  font-size: 54px;
  font-weight: bold;
  color: var(--color-white);
  text-transform: uppercase;
  opacity: 0;
}

.js-in-view {
  & .impact-text__char:nth-child(1) {
    animation: boom-anim 4s infinite 0s ease-in-out;
  }
  & .impact-text__char:nth-child(2) {
    animation: boom-anim 4s infinite 0.15s ease-in-out;
  }
  & .impact-text__char:nth-child(3) {
    animation: boom-anim 4s infinite 0.3s ease-in-out;
  }
  & .impact-text__char:nth-child(4) {
    animation: boom-anim 4s infinite 0.45s ease-in-out;
  }
}

@keyframes boom-anim {
  0% {
    opacity: 0;
    transform: scale(4);
    filter: blur(8px);
  }
  4% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    text-shadow:
      0 0 10px #00ffaa,
      0 0 30px #00ffaa,
      0 0 50px #00ffaa;
  }
  6% {
    transform: scale(1.05);
    text-shadow: -4px 2px 0 #00fff9;
  }
  8% {
    transform: scale(0.98);
    text-shadow: 4px -2px 0 #00ffaa;
  }
  10% {
    transform: scale(1);
    text-shadow: none;
  }
  65% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(4px);
  }
}

/* = window-opening
------------------------------------------------------------------------------------------*/
.window-body {
  position: relative;
  overflow: hidden;
  background-color: #001108;
}

.window-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--color-black);
  z-index: 2;
  transform-origin: top;
  border-bottom: 0px solid #00ffaa;
}

.window-body::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--color-black);
  z-index: 2;
  transform-origin: bottom;
}

.window-text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 1;
}

.window-text__char {
  display: inline-block;
  font-size: 50px;
  font-weight: 900;
  color: #00ffaa;
  text-shadow: 0 0 10px rgba(0, 255, 170, 0.5);
  text-transform: uppercase;
  opacity: 0;
  transform: scale(0.9);
}

.animations__card-list.is-in-view {
  & .window-body::before {
    animation: window-open-top 5s infinite ease-in-out;
  }
  & .window-body::after {
    animation: window-open-bottom 5s infinite ease-in-out;
  }

  & .window-text__char:nth-child(1) {
    animation: window-text-in 5s infinite 0.6s ease-out;
  }
  & .window-text__char:nth-child(2) {
    animation: window-text-in 5s infinite 0.7s ease-out;
  }
  & .window-text__char:nth-child(3) {
    animation: window-text-in 5s infinite 0.8s ease-out;
  }
  & .window-text__char:nth-child(4) {
    animation: window-text-in 5s infinite 0.9s ease-out;
  }
}

@keyframes window-open-top {
  0% {
    transform: scaleY(1);
    border-bottom-width: 0;
  }
  4% {
    transform: scaleY(1);
    border-bottom-width: 2px;
  }
  12% {
    transform: scaleY(0);
    border-bottom-width: 0;
  }
  75% {
    transform: scaleY(0);
  }
  82% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(1);
  }
}

@keyframes window-open-bottom {
  0%,
  4% {
    transform: scaleY(1);
  }
  12% {
    transform: scaleY(0);
  }
  75% {
    transform: scaleY(0);
  }
  82% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(1);
  }
}

@keyframes window-text-in {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    filter: blur(4px);
  }
  6%,
  68% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
  73%,
  100% {
    opacity: 0;
    transform: scale(0.9) translateY(-10px);
  }
}

/* = marquee-animation
------------------------------------------------------------------------------------------*/
.marquee-body {
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: var(--color-black);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 10s linear infinite;
}

.marquee-text {
  display: flex;
  gap: 16px;
  padding-right: 16px;
  font-size: 40px;
  font-weight: 900;
  color: #00ffaa;
  white-space: nowrap;
}

.marquee-text__outline {
  color: transparent;
  -webkit-text-stroke: 1px #00ffaa;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* = ripple-pulse
------------------------------------------------------------------------------------------*/
.ripple-body {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-black);
  overflow: hidden;
}

.ripple-center {
  position: relative;
  width: 16px;
  height: 16px;
  background-color: #00ffaa;
  border-radius: 50%;
  box-shadow:
    0 0 10px #00ffaa,
    0 0 20px #00ffaa;
}

.ripple-center::before,
.ripple-center::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid #00ffaa;
  animation: ripple-expand 3s infinite ease-out;
}

.ripple-center::after {
  animation-delay: 1.5s;
}

@keyframes ripple-expand {
  0% {
    width: 16px;
    height: 16px;
    opacity: 1;
  }
  100% {
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

/* = loading
------------------------------------------------------------------------------------------*/
#js-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  background-color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

#js-loading.is-fadeout {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

main {
  opacity: 0;
  transition: opacity 0.8s ease;
}
main.is-fadein {
  opacity: 1;
}

.loading__logo-wrapper {
  width: 80px;
  height: auto;
  transform-origin: center center;
  will-change: transform;
}

.loading__logo-wrapper.is-shaking {
  animation: shake 0.6s linear;
}

.loading__logo-wrapper.is-moving {
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translate(var(--move-x), var(--move-y)) scale(var(--scale));
}

@keyframes shake {
  0%,
  100% {
    transform: translate(0, 0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translate(-3px, 2px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translate(3px, -2px);
  }
}
