@import url("https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap");
body {
  background-color: #000000;
}

.chijo {
  background-image: url(../../../img/kmp20th/yariman_chijyo/img/bg.jpg);
  background-size: contain;
}

.chijo p, .chijo span, .chijo h2, .chijo a {
  color: #333333;
  font-family: "Hiragino Kaku Gothic Pro";
}

.chijo .title {
  margin: 0 auto 60px;
  font-size: clamp(73px, calc(4.5625rem + ((1vw - 7.69px) * 8.9701)), 100px);
  line-height: 1em;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .chijo .title {
    margin: 0 auto 9vw;
    font-size: 10vw;
  }
}

.chijo .title p {
  color: #ff66bc;
  font-family: 'Fredoka One', cursive;
  position: relative;
}

.chijo .title p:first-letter {
  color: #ff1e9e;
}

.chijo img {
  width: 100%;
  image-rendering: -webkit-optimize-contrast;
}

.content {
  max-width: 1070px;
  padding: 0 15px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .content {
    padding: 0 6vw;
  }
}

.fadeInSlow {
  opacity: 0;
  transform: translate(0);
  transition: all 2.5s;
}

.fadeNow {
  opacity: 1;
  transform: translate(0, 0);
}

.fadeIn {
  opacity: 0;
  transform: translate(0, 100px);
  transition: all 1.5s;
}

.bounce {
  animation: bounds 1000ms linear;
  animation-fill-mode: forwards;
}

@keyframes bounds {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  8% {
    opacity: 1;
    transform: scale(1.3);
  }
  17% {
    opacity: 1;
    transform: scale(1);
  }
  34% {
    opacity: 1;
    transform: scale(1.2);
  }
  51% {
    opacity: 1;
    transform: scale(1);
  }
  68% {
    opacity: 1;
    transform: scale(1.1);
  }
  84% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

img.lg-image {
  max-width: 90% !important;
}

@media screen and (min-width: 769px) {
  img.lg-image {
    max-width: 850px !important;
  }
}

#lg-download {
  display: none;
}

#lg-counter span {
  color: #fff;
}

#google_translate_element img {
  width: auto;
}

#modal img {
  width: auto;
}

.back20th {
  width: 40%;
  max-width: 450px;
  margin: 160px auto 0;
}

@media screen and (max-width: 768px) {
  .back20th {
    width: 60%;
    max-width: 450px;
    margin: 25% auto 0;
  }
}

.topImageWrap {
  position: relative;
}

.topImageWrap__logo {
  max-width: 1070px;
  width: 43%;
  position: absolute;
  top: 16%;
  left: 7%;
}

@media screen and (max-width: 768px) {
  .topImageWrap__logo {
    width: 94%;
    bottom: 3vw;
    left: 3%;
    top: auto;
  }
}

.topMovie {
  padding: 120px 0;
}

@media screen and (max-width: 768px) {
  .topMovie {
    padding: 10vw 0;
  }
}

.topMovie p.topTitle:after {
  content: "";
  background-image: url(../../../img/kmp20th/yariman_chijyo/img/pink.png);
  height: 121%;
  width: 11%;
  background-repeat: no-repeat;
  bottom: 5%;
  position: absolute;
  background-position: bottom;
  background-size: contain;
  right: 27%;
  z-index: -4;
}

.topMovie p.subTitle {
  font-size: 17px;
  color: #aaa;
  line-height: initial;
  font-family: auto;
}

.topMovie p.subTitle:first-letter {
  color: #aaa;
}

@media screen and (max-width: 768px) {
  .topMovie p.subTitle {
    font-size: 2.7vw;
  }
}

.topMovie__wrap {
  position: relative;
  width: 85%;
  margin: 0 auto;
  border: 3px solid #ffffff;
  border-radius: 5px;
  padding-top: 56%;
  box-shadow: 0 0 0.1rem #fff, 0 0 1rem #fff, 0 0 0.2rem #fff, 0 0 0.8rem #888, 0 0 1rem #888, inset 0 0 0.2rem #888;
}

.topMovie__wrap iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.storyWrap {
  padding: 120px 0;
}

@media screen and (max-width: 768px) {
  .storyWrap {
    padding: 10vw 0;
  }
}

.storyWrap p:after {
  content: "";
  background-image: url(../../../img/kmp20th/yariman_chijyo/img/red.png);
  height: 126%;
  width: 12%;
  background-repeat: no-repeat;
  bottom: -11%;
  position: absolute;
  background-position: bottom;
  background-size: contain;
  left: 27%;
  z-index: -1;
}

.storyWrap .content {
  position: relative;
}

.storyWrap .storyContent {
  display: block;
  max-width: 977px;
  max-height: 605px;
  overflow-y: scroll;
  margin: 0 auto;
}

.storyWrap .storyContent::-webkit-scrollbar {
  width: 12px;
}

.storyWrap .storyContent::-webkit-scrollbar-track {
  background-color: #e4e4e4;
  border-radius: 100px;
}

.storyWrap .storyContent::-webkit-scrollbar-thumb {
  background-color: #ff9bd4;
  border-radius: 100px;
}

.storyWrap .storyContent img {
  margin-bottom: 15px;
}

@media screen and (max-width: 768px) {
  .storyWrap .storyContent {
    max-height: 350px;
  }
}

.storyWrap .scroll {
  position: absolute;
  right: 45%;
  bottom: -40px;
  width: 50px;
  animation: move-y 1s infinite alternate ease-in-out;
}

@keyframes move-y {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(10px);
  }
}

.packageDetail {
  padding: 120px 0;
}

@media screen and (max-width: 768px) {
  .packageDetail {
    padding: 10vw 0;
  }
}

.packageDetail .title p:after {
  content: "";
  background-image: url(../../../img/kmp20th/yariman_chijyo/img/pink.png);
  height: 156%;
  width: 50%;
  background-repeat: no-repeat;
  bottom: -16%;
  position: absolute;
  background-position: bottom;
  background-size: contain;
  left: -32%;
  z-index: -1;
}

@media screen and (max-width: 768px) {
  .packageDetail .title p:after {
    left: 6%;
  }
}

.packageDetail .content {
  display: flex;
}

@media screen and (max-width: 768px) {
  .packageDetail .content {
    display: block;
  }
}

.packageDetail__packageImgWrap {
  max-width: 330px;
  margin-right: 6%;
  position: relative;
  z-index: 0;
}

@media screen and (max-width: 768px) {
  .packageDetail__packageImgWrap {
    width: 60%;
    margin: 0 auto 10vw;
  }
}

.packageDetail__packageImgWrap img {
  box-shadow: 0 0 0.1rem #fff, 0 0 1rem #fff, 0 0 0.2rem #fff, 0 0 0.8rem #888, 0 0 1rem #888, inset 0 0 0.2rem #888;
}

.packageDetail__packageText h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #ff66bc;
  line-height: 1.5em;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .packageDetail__packageText h2 {
    font-size: 5.3vw;
    text-align: center;
    margin-bottom: 4vw;
  }
}

.packageDetail__packageText p.detail {
  font-size: 16px;
  line-height: 2.5rem;
}

@media screen and (max-width: 768px) {
  .packageDetail__packageText p.detail {
    font-size: 3.5vw;
    width: 80%;
    margin: 0 auto;
  }
}

.packageDetail__packagelink {
  width: 80%;
  margin: 30px auto 0;
}

.packageDetail__packagelink a {
  border: 3px solid #ff66bc;
  display: block;
  text-align: center;
  padding: 10px 0;
  font-weight: bold;
  font-size: 35px;
  border-radius: 15px;
  transition: 1s;
  color: #ff66bc !important;
  background-color: #ffffff;
}

.packageDetail__packagelink a:hover {
  transition: 1s;
  background-color: white;
  color: #fff !important;
  background-color: #ff66bc;
}

@media screen and (max-width: 768px) {
  .packageDetail__packagelink a {
    font-size: 5vw;
  }
}

.galleryWrap {
  padding: 120px 0;
}

@media screen and (max-width: 768px) {
  .galleryWrap {
    padding: 10vw 0;
  }
}

.galleryWrap p:after {
  content: "";
  background-image: url(../../../img/kmp20th/yariman_chijyo/img/red.png);
  height: 126%;
  width: 12%;
  background-repeat: no-repeat;
  bottom: 9%;
  position: absolute;
  background-position: bottom;
  background-size: contain;
  right: 26%;
  z-index: -1;
}

.galleryWrap ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.galleryWrap li {
  margin: 0 0.5%;
  margin-bottom: 0.5%;
  width: 24%;
}

@media screen and (max-width: 768px) {
  .galleryWrap li {
    width: 30%;
    margin: 0 1%;
    margin-bottom: 2%;
  }
}

.galleryWrap li img {
  transition: all 0.5s;
}

.galleryWrap li img:hover {
  opacity: 0.5;
}

@media screen and (max-width: 768px) {
  .galleryWrap li img:hover {
    opacity: 1;
  }
}

.movieWrap {
  padding: 120px 0;
}

@media screen and (max-width: 768px) {
  .movieWrap {
    padding: 16vw 0;
  }
}

.movieWrap .title {
  margin: 0 auto 60px;
  font-size: 100px;
  line-height: 1em;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .movieWrap .title {
    margin: 0 auto 9vw;
    font-size: 10vw;
  }
}

.movieWrap .title p:after {
  content: "";
  background-image: url(../../../img/kmp20th/yariman_chijyo/img/pink.png);
  height: 156%;
  width: 50%;
  background-repeat: no-repeat;
  bottom: -16%;
  position: absolute;
  background-position: bottom;
  background-size: contain;
  left: -32%;
  z-index: -1;
}

@media screen and (max-width: 768px) {
  .movieWrap .title p:after {
    left: 6%;
  }
}

.movieWrap .content {
  display: flex;
  justify-content: space-between;
  width: 930px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .movieWrap .content {
    display: block;
    width: auto;
  }
}

.movieWrap__content {
  display: flex;
  max-width: 435px;
  width: 47%;
  border: 2px solid #ffffff;
  border-radius: 5px;
  z-index: 1;
  box-shadow: 0 0 0.1rem #fff, 0 0 1rem #fff, 0 0 0.2rem #fff, 0 0 0.8rem #888, 0 0 1rem #888, inset 0 0 0.2rem #888;
}

@media screen and (max-width: 768px) {
  .movieWrap__content {
    max-width: 290px;
    width: auto;
    margin: 0 auto;
  }
}

.movieWrap__content video {
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .movieWrap .top {
    margin-bottom: 5vw;
  }
}

@media screen and (min-width: 769px) {
  .spOnly {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  .pcOnly {
    display: none !important;
  }
}

#main {
  margin-bottom: -100px;
}

@media screen and (max-width: 768px) {
  #main {
    margin-bottom: -6vh;
  }
}
