*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

li {
  list-style: none;
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

html,
body {
  overflow: hidden;
}

:root {
  /* bold:700  extraBold:800 */
  --chathura: "Chathura", sans-serif;
  --noto: "Noto Sans JP", sans-serif;
  --inter: "Inter", sans-serif;
}

/* @property --color {
  syntax: "<color>";
  initial-value: #c32f8b;
  inherits: false;
}

@keyframes colorChange {
  0% {
    --color: #c32f8b;
  }
  100% {
    --color: #2c4198;
  }
} */

.l-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  width: 100%;
  height: 100vh;
}

.l-bg > video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
}

.fallBack-image {
  width: 100%;
  height: 100dvh;
}

.l-container {
  position: fixed;
  width: 100%;
  height: 100svh;
  margin-inline: auto;
  padding: 20px;
  top: 0;
  left: 50%;
  transform: translate(-50%);
}

.p-ftLogo-sub {
  position: relative;
  z-index: 999;
}

.p-mainView {
  position: absolute;
  top: 20%;
  left: 20px;
}

.p-ftMainLogo-pc {
  display: none;
}

.navContainer {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 32px;
}

.l-footerContainer {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.p-spContainer {
  width: calc(100vw - 40px);
}

.navItem {
  /* color: var(--color);
  animation: colorChange 3s infinite alternate; */
  display: inline-block;
  overflow: hidden;
  position: relative;
  line-height: 1;
}

.navItem span {
  display: inline-block;
  line-height: 1.1em;
  transition: transform 0.4s ease-out;
}

.navItem svg {
  transition: transform 0.4s ease-out;
}

.navItem span:nth-child(1) {
  position: relative;
  transform: translateY(0);
}

.navItem span:nth-child(2) {
  position: absolute;
  left: 0;
  top: 100%;
}

.navLink {
  /* color: inherit; */
  font-family: var(--inter);
  font-weight: 600;
  font-size: 15px;
  color: #c32f8b;
  animation: colorPulse 6s infinite;
}

.navItem:hover span:nth-child(1) {
  transform: translateY(-100%);
}

.navItem:hover span:nth-child(2) {
  transform: translateY(-100%);
}

.arrowItem--2 {
  transform: translate(-10px, 10px);
}

.navItem:hover .arrowItem--1 {
  transform: translate(10px, -10px);
}

.navItem:hover .arrowItem--2 {
  transform: translate(0);
}

.p-ddLogo svg {
  display: block;
  width: 160px;
}

svg #dia path {
  fill: #c32f8b;
  animation: colorPulse2 6s infinite;
}

@keyframes colorPulse2 {
  0%,
  100% {
    fill: #c32f8b;
  }
  50% {
    fill: #2c4198;
  }
}

svg #arrow path {
  stroke: #c32f8b;
  animation: colorPulse3 6s infinite;
}

@keyframes colorPulse3 {
  0%,
  100% {
    stroke: #c32f8b;
  }
  50% {
    stroke: #2c4198;
  }
}

.p-copyRight {
  font-family: var(--inter);
  color: #c32f8b;
  font-size: 0.625rem;
  display: block;
  animation: colorPulse 6s infinite;
}

.p-textArea {
  max-width: 246px;
}

.p-message {
  font-family: var(--chathura);
  font-size: 28px;
  line-height: 1em;
  margin-bottom: 24px;
  color: #c32f8b;
  animation: colorPulse 6s infinite;
}

::selection {
  color: #fff;
  background-color: #c32f8b;
}

@keyframes colorPulse {
  0%,
  100% {
    color: #c32f8b;
  }
  50% {
    color: #2c4198;
  }
}

.p-comingSoon {
  font-family: var(--chathura);
  /* color: var(--color); */
  font-size: 33px;
  display: inline;
  display: flex;
  flex-direction: column;
  /* animation: colorChange 3s infinite alternate; */
}

.p-comingSoon span {
  margin-top: -1.5rem;
  color: #c32f8b;
  animation: colorPulse 6s infinite;
}

.p-comingSoon > .dotText {
  display: inline-block;
  min-width: 117px;
}

.p-comingSoon > .dotText::after {
  content: "...";
  font-family: var(--chathura);
  width: 0;
  /* color: var(--color); */
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  animation: ellipsis steps(4, end) 3s infinite, colorPulse 6s infinite;
  /* colorChange 3s infinite alternate; */
  color: #c32f8b;
}

@keyframes ellipsis {
  to {
    width: 16px;
  }
}

/* フェードインアニメーション */

.p-mainView {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1.5s forwards;
}

.l-footerContainer {
  opacity: 0;
  transform: translateX(30px);
  animation: slideRight 1.5s forwards;
  animation-delay: 1.5s;
}

@media screen and (width >= 768px) {
  .l-footerContainer {
    animation: none;
    opacity: 1;
    transform: translateX(0);
  }
  .p-textWrap,
  .p-copyRigthContainer {
    opacity: 0;
    transform: translateX(30px);
    animation: slideRight 1.5s forwards;
    animation-delay: 1.5s;
  }

  .p-ddLogo {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideLeft 1.5s forwards;
    animation-delay: 2s;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* メディアクエリ */

@media screen and (width >= 768px) {
  .l-container {
    padding: 40px;
  }

  .p-mainView {
    left: 40px;
    top: 40%;
  }

  .p-spContainer {
    width: calc(100vw - 80px);
  }

  .p-ftMainLogo-sp {
    display: none;
  }

  .p-ftMainLogo-pc {
    display: block;
  }

  .l-footerContainer {
    right: 40px;
    bottom: 40px;
  }

  .p-textArea {
    margin-right: 0;
    margin-left: auto;
  }

  .p-comingSoon {
    display: flex;
    align-items: center;
    flex-direction: row;
  }

  .p-ddLogo svg {
    width: 100%;
  }

  .p-logoArea {
    width: calc(100vw - 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 67px;
  }
}
