:root {
  --font-ja: "Noto Sans JP", sans-serif;
  --font-en: "Inter", sans-serif;
}
body {
  background-image: url(../img/background.jpg);
  background-size: cover;
  background-position: center center;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  line-height: 1.5;
  font-family: var(--font-ja);
}
.sp {
  display: none;
}
.container {
  max-width: 1280px;
  padding: 0 15px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-screen {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #000;
}
.video-screen video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.01);
}
.whiteout {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  transition: opacity 0.5s ease;
}
.whiteout.active {
  opacity: 1;
  pointer-events: none;
}
.whiteout.hide {
  opacity: 0;
  pointer-events: none;
}
.whiteout.show {
  opacity: 1;
  pointer-events: none;
}
.result-screen {
  width: 100%;
  padding: 90px 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.8s forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.whiteout-result {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 1;
  z-index: 1000;
  animation: fadeOutWhite 0.8s ease forwards;
}
@keyframes fadeOutWhite {
  to {
    opacity: 0;
    pointer-events: none;
  }
}
.result-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  max-width: 95%;
  width: 100%;
  margin-inline: auto;
  padding: 0 15px;
}
.campaign-info {
  padding-right: 2%;
}
.campaign-header {
  text-align: center;
  line-height: 1.7;
}
.campaign-title {
  font-size: 24px;
  font-weight: 700;
  margin-top: 10px;
}
.participation-box {
  border: 1px solid #000;
  padding: 24px;
  margin-top: 32px;
  width: 365px;
  max-width: 90%;
  margin-inline: auto;
}
.participation-title {
  text-align: center;
}
.participation-title span {
  border-bottom: 1px solid #000;
  display: inline-block;
  padding-bottom: 8px;
  font-size: 14px;
}
.participation-steps {
  list-style: none;
}
.participation-step {
  margin-top: 16px;
  text-indent: -1em;
  margin-left: 1em;
  font-size: 14px;
}
.participation-step__num {
}
.participation-step__text {
}
.campaign-period {
  background: #000;
  color: #fff;
  padding: 16px 40px;
  text-align: center;
  font-size: 14px;
  margin-top: 24px;
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0% 100%);
  font-weight: 700;
  width: 371px;
  max-width: 100%;
  margin-inline: auto;
}
.campaign-etc {
  font-size: 14px;
  font-weight: 400;
  margin-top: 24px;
  text-align: center;
}
.character-image {
  aspect-ratio: 448 / 796;
  flex-shrink: 0;
  max-width: 448px;
  width: 32%;
}
.character-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.result-info {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 33%;
  flex-shrink: 0;
  padding-left: 5%;
}
.result-text {
  text-align: center;
}
.result-subtitle {
}
.result-main-text {
  font-size: 24px;
  margin-top: 10px;
  font-weight: 700;
}
.character-name {
  position: relative;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  padding: 19px 10px;
  margin-top: 28px;
  width: 318px;
  max-width: 100%;
  margin-inline: auto;
}
.charater-name__deco {
  position: absolute;
  width: 100%;
  height: 24px;
  left: 0;
  right: 0;
}
.charater-name__deco--top {
  top: 0;
}
.charater-name__deco--bottom {
  bottom: 0;
}
.charater-name__deco--top::before,
.charater-name__deco--top::after,
.charater-name__deco--bottom::before,
.charater-name__deco--bottom::after {
  position: absolute;
  content: "";
  width: 100%;
  background-image: url(../img/character-deco--righttop.svg);
  width: 24px;
  height: 24px;
}
.charater-name__deco--top::before {
  left: 0;
  transform: rotate(270deg);
}
.charater-name__deco--top::after {
  right: 0;
}
.charater-name__deco--bottom::before {
  left: 0;
  transform: rotate(180deg);
}
.charater-name__deco--bottom::after {
  right: 0;
  transform: rotate(90deg);
}
.result-buttons {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.btn {
  padding: 16px 24px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}
.btn-twitter {
  border: 1px solid transparent;
  background-color: #fff;
}
.btn-twitter:hover {
  background-color: #f0f0f0;
}
.btn-reset {
  border: 1px solid #000;
  background-color: transparent;
}
.btn-reset:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
.btn-icon {
  width: 21px;
  height: 22px;
}
.btn-icon img {
  width: 100%;
  height: 100%;
}
.btn-text {
  color: #000;
  font-size: 18px;
  font-weight: 700;
  display: inline-block;
  line-height: 1.5;
}
@media (max-width: 990px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  body {
    background-image: url(../img/background--sp.jpg);
    align-items: flex-start;
  }
  .container {
    width: 82%;
    padding: 0;
    max-width: none;
  }
  .video-screen {
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    max-width: none;
  }
  .video-screen video {
    height: 100dvh;
    object-fit: cover;
  }
  .result-screen {
    padding: 24px 0 32px;
  }
  .result-content {
    flex-direction: column;
    flex-wrap: wrap;
    padding: 0;
    max-width: inherit;
  }
  .campaign-info {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    padding-right: 0;
  }
  .campaign-title {
    font-size: 20px;
    margin-top: 4px;
    text-align: center;
  }
  .participation-box {
    margin-top: 24px;
    max-width: 96%;
    padding: 20px;
  }
  .campaign-period {
    padding: 8px 10px;
    clip-path: none;
    width: 100%;
  }
  .campaign-etc {
    margin-top: 16px;
  }
  .character-image {
    width: 83%;
    max-width: 100%;
    margin-top: 24px;
  }
  .result-info {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    margin-top: 24px;
    padding-left: 0;
    gap: 40px;
  }
  .result-main-text {
    font-size: 20px;
  }
  .character-name {
    margin-top: 24px;
    font-size: 32px;
    padding: 21px 10px;
    width: 280px;
  }
  .result-buttons {
    gap: 16px;
    align-items: center;
  }
  .btn {
    align-self: center;
  }
}
