main {
  background-image: 
    url('/sumikkogurashi-movie/image/top_back_ue2.webp'),
    url('/sumikkogurashi-movie/image/top_back_pattern.webp');
  background-repeat: 
    no-repeat,
    repeat;
  background-position: 
    top left,
    top left;
  background-size: 
    contain,
    contain;
}

@supports not (background-image: url('image.webp')) {
  main {
    background-image: 
      url('/sumikkogurashi-movie/image/top_back_ue2.png'),
      url('/sumikkogurashi-movie/image/top_back_pattern.png');
  }
}

.kv-icon-switch {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 30;
  width: 9%;
  height: auto;
}
@media (max-width: 768px) {
  .kv-icon-switch {
    width: 14%;
  }
}

.kv-icon-switch__img {
  width: 100%;
  height: auto;
  display: block;
}
.kv-bg {
  width: 100%;
  pointer-events: none;
}
.kv-bg__img {
  width: 100%;
  height: auto;
  display: block;

  aspect-ratio: 1921/1120;
}
@media (max-width: 768px) {
  .kv-bg__img {
    aspect-ratio: 751/1335;
  }
}
.kv-catchphrase {
  position: absolute;
  top: 16%;
  left: 9%;
  z-index: 2;
  width: 7%;
  pointer-events: none;
}
@media (max-width: 768px) {
  .kv-catchphrase {
    top: 10%;
    left: 3%;
    width: 14%;
  }
}

.kv-catchphrase__img {
  width: 100%;
  height: auto;
  display: block;
}
.side-btn {
  position: fixed;
  z-index: 10;
  width: 16%;
  pointer-events: auto;
  right: -2.5%; /* -25px; */
  transition: right 0.3s cubic-bezier(.68,-0.55,.27,1.55);
}
.side-btn:hover {
  right: -1%; /* -5px; */
}
.side-btn__img {
  width: 100%;
  height: auto;
  display: block;
}

.side-btn--x {
  top: 120px;
  /* width: 150px; */
}

.side-btn--yoyaku {
  top: 180px;
  /* width: 150px; */
}

.kv-logo {
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  pointer-events: none;
}
@media (max-width: 768px) {
  .kv-logo {
    top: 44%;
    width: 80%;
  }
}
.kv-logo__img {
  width: 100%;
  height: auto;
  display: block;
}

.kv-movie {
  position: absolute;
  top: 45%;
  right: 2%;
  width: 18%;
  pointer-events: auto;
}
.kv-movie__img {
  width: 100%;
  height: auto;
  display: block;
}
.kv-hatubai {
  position: absolute;
  top: 80%;
  left: 57%;
  transform: translateX(-50%);
  width: 50%;
  pointer-events: none;
}
@media (max-width: 768px) {
  .kv-hatubai {
    top: 62.5%;
    left: 50%;
    width: 67%;
  }
}
.kv-hatubai__img {
  width: 100%;
  height: auto;
  display: block;
}

/* cloud section styles */
.cloud {
  position: absolute;
  bottom: -13%;
  left: 0;
  width: 100%;
  height: 24%;
  z-index: 2;
}
@media (max-width: 768px) {
  .cloud {
    top: 83%;
    bottom: -16%;
    height: 19.5%;
  }
}
.cloud__inner {
  position: relative;
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
  .cloud__inner {
    /* height: 62%; */
    height: 100%;
  }
}
.cloud__bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 2;
}
.cloud__bg-img {
  width: 100%;
  display: block;
}
.cloud__dotto {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

/* CSS animation */
.cloud__dotto-inner {
  display: flex;
  width: 200%;
  height: 100%;
  animation: dotto-scroll 20s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}
@keyframes dotto-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.cloud__dotto-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
}
@media (max-width: 768px) {
  .cloud__dotto-inner .cloud__dotto-img {
    aspect-ratio: 692/235;
  }
}


.subheader {
  padding-top: 21px;
  z-index: 30;
}
@media (max-width: 768px) {
  .subheader {
    padding-top: 30px;
  }
}
.subheader__inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.subheader__btn {
  width: 47%;
  pointer-events: auto;
}


/* souki section styles */
.souki {
  position: relative;
  margin-top: 15%;
}
@media (max-width: 768px) {
  .souki {
    margin-top: 2%;
  }
}
.souki__bg {
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.souki__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.souki__container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 5%;
}
@media (max-width: 768px) {
  .souki__container {
    flex-direction: column;
  }
}
.souki__image {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
}
@media (max-width: 768px) {
  .souki__image {
    text-align: center;
    align-items: flex-end;
    padding-bottom: 20px;
  }
  .souki__image img {
    width: 85%;
  }
}
.souki__image picture,
.souki__image img {
  width: 90%;
  height: auto;
}
.souki__content {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.souki__mozi {
  height: auto;
  margin-bottom: 10px;
}
.souki__mozi--00 { width: 85%; }
.souki__mozi--01 { width: 85%; }
.souki__mozi--02 { width: 70%; }
.souki__mozi--03 { width: 85%; }
.souki__mozi--04 { width: 40%; }

@media (max-width: 768px) {
  .souki__mozi--00 { width: 75%; }
  .souki__mozi--01 { width: 75%; }
  .souki__mozi--02 { width: 60%; }
  .souki__mozi--03 { width: 75%; }
  .souki__mozi--04 { width: 45%; }
}
.souki__btn--img img {
  width: 80%;
  height: auto;
}
@media (max-width: 768px) {
  .souki__btn--img img {
    width: 90%;
  }
}
.souki__mozi,
.souki__btn--img {
  margin-left: auto;
  margin-right: auto;
}
.souki__btn_wrap {
  position: absolute;
  bottom: 14%;
  right: 7%;
  width: 45%;
}

@media (max-width: 768px) {
  .souki__btn_wrap {
    position: initial;
    width: 100%;
    margin: 0 auto;
  }
}

.souki__btn--img {
  position: relative;
  display: inline-block;
}
.souki__btn--img picture {
  display: block;
  width: 100%;
  height: auto;
}
.souki__btn--img .souki-btn-on {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 2;
}
.souki__btn--img:hover .souki-btn-on {
  opacity: 1;
}

.game {
  position: relative;
  text-align: center;
}
.game__bg {
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.game__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game__container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.game__container picture {
  width: 100%;
}

.game__img-title {
  position: absolute;
  top: 4%;
  left: 0;
  width: 100%;
}
@media (max-width: 768px) {
  .game__img-title {
    top: 2%;
  }
}

.game__img-01 {
  position: absolute;
  top: 10%;
  left: 0%;
}
@media (max-width: 768px) {
  .game__img-01 {
    top: 5.5%; /* 6%; */
  }
}

.game__img-02 {
  position: absolute;
  top: 38%;
  left: 0%;
}

@media (max-width: 768px) {
  .game__img-02 {
    top: 32%; /* 30%; */
  }
}

.game__img-03 {
  position: absolute;
  top: 56%;
  left: 0%;
}

@media (max-width: 768px) {
  .game__img-03 {
    top: 53%; /* 50%; */
  }
}

.game__img-04 {
  position: absolute;
  top: 68%;
  left: 0%;
}

@media (max-width: 768px) {
  .game__img-04 {
    top: 69%; /* 65%; */
  }
}

.game__img-05 {
  position: absolute;
  top: 85%;
  left: 0%;
}

@media (max-width: 768px) {
  .game__img-05 {
    top: 87.5%; /* 82%; */
  }
}


a.game__btn {
  position: absolute;
  top: 92%;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
}

.game__btn--img picture {
  position: relative;
  display: inline-block;
}

.game__img {
  width: 85%;
}
.game__img0 {
  width: 60%;
}
.game__img1 {
    aspect-ratio: 1570/1435;
}
@media (max-width: 768px) {
  .game__img0 {
    width: 80%;
  }
  .game__img1 {
    width: 95%!important;
    aspect-ratio: 661/1156;
  }
  .game__img2 {
    width: 91%!important;
    aspect-ratio: 661/867;
  }
  .game__img3 {
    width: 92%!important;
    aspect-ratio: 661/668;
  }
  .game__img4 {
    width: 91%!important;
    aspect-ratio: 661/751;
  }
  .game__img5 {
    width: 90%!important;
    aspect-ratio: 661/438;
  }
}

.game__btn {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.game__btn .btn-default {
  display: block;
}

.game__btn .btn-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.game__btn:hover .btn-default {
  opacity: 0;
}

.game__btn:hover .btn-hover {
  opacity: 1;
}

/* top shin section styles */
.topseihin {
  position: relative;
}
.topseihin__main {
  width: 100%;
  height: auto;
}
.topseihin__img {
  width: 100%;
  height: auto;
  display: block;
}

.topseihin__btn {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 1;
  width: 31.5%;
}
@media (max-width: 768px) {
  .topseihin__btn {
    bottom: 5%;
    width: 50%;
  }
}

.topseihin__btn--img {
  position: relative;
  display: inline-block;
  text-decoration: none;
  /* max-width: 200px; */
}
.topseihin__btn--img picture {
  display: block;
  width: 100%;
  height: auto;
}
.topseihin__btn--img .topseihin-btn-on {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 2;
}
.topseihin__btn--img:hover .topseihin-btn-on {
  opacity: 1;
}

@media (max-width: 768px) {
  .topseihin {
    padding: 1% 0;
  }
}

/* sns section styles */
.sns {
  width: 100%;
  margin: 50px 0 0 0;
  padding: 0 0 50px;
  display: flex;
  justify-content: center;
}
@media (max-width: 768px) {
  .sns {
    margin-top: 0px;
  }
}
.sns__container {
  display: flex;
  width: 100%;
  max-width: 100%;
  justify-content: center;
  align-items: flex-end;
  gap: 6vw;
  box-sizing: border-box;
}
.sns__item {
  flex: 0 0 30%;
  display: flex;
  justify-content: center;
}
.sns__img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .sns__container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .sns__item {
    flex: 0 0 auto;
    width: 80%;
  }
  .sns__img {
    min-width: auto;
  }
}

.souki,
.game,
.topseihin,
.sns {
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}
.souki,
.game,
.topseihin {
  margin-bottom: 50px;
}
@media (max-width: 768px) {
  .game {
    width: 87%;
  }
  .topseihin {
    width: 94%;
    margin-bottom: 30px;
  }
}

/* subheader-bottom section SP */
.subheader-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background-image: url('/sumikkogurashi-movie/image/menu/menu_sita_back.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

@supports not (background-image: url('/sumikkogurashi-movie/image/menu/menu_sita_back.webp')) {
  .subheader-bottom {
    background-image: url('/sumikkogurashi-movie/image/menu/menu_sita_back.png');
  }
}

.subheader-bottom.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.subheader-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.subheader-bottom__btn {
  width: 47%;
  pointer-events: auto;
}

