@charset "UTF-8";
section#lottery {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 0 !important;
}
.container {
  padding: 0;
}

.contents {
  color: #000;
}

#lottery > div:not(.inner) {
  padding: 100px 0;
  border-bottom: 10px solid #89000d;
  background: #f9c509 url(../images/lottery/bg.png) no-repeat 0 0 / 100% auto;
}

#lottery > div#crane {
  padding-top: 0;
}

#lottery .inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 40px 0 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 1.2rem;
  line-height: 1.5;
}

#lottery #crane .titleWrap {
  width: 45%;
  position: relative;
  padding-top: 50px;
  z-index: 1;
}

#lottery #balloon .titleWrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

#lottery #balloon .titleWrap > img {
  width: 180px;
}

#lottery .intro {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  width: 300px;
  aspect-ratio: 1 / 1;
  text-align: center;
  color: #231916;
  line-height: 1.6;
  font-weight: bold;
  white-space: nowrap;
  background: url(../images/lottery/circle1.svg) no-repeat 100% 0 / 100% auto;
}
#lottery #balloon .intro {
  margin: 50px auto;
  width: 420px;
}

#lottery #balloon .intro > div {
  z-index: 10;
}

#lottery #crane .intro img {
  margin-right: -60px;
}

#lottery #balloon .intro img {
  position: relative;
  margin-bottom: 10px;
  z-index: 10;
}

#lottery .craneIntroWrap {
  display: flex;
  align-items: flex-start;
}

#lottery .titleWrap .photo1 {
  margin: -80px 0 0 50px;
}

#lottery .desc {
  width: 100%;
  margin: 10% 0 0 100px;
}

#lottery .desc small {
  display: block;
  font-size: 0.75em;
}

#lottery p {
  margin: 0.5em 0;
  padding: 20px 10px;
  border-radius: 40px;
  background: rgba(243, 295, 38, 0.5);
}
#lottery #gacha p {
  text-align: center;
  background: rgba(255, 241, 0, 0.5);
}

.animeWrap {
  width: 55%;
  display: flex;
  align-items: flex-start;
}

#crane .animeWrap > div {
  width: 80%;
}

#crane .animeWrap .txt {
  width: 50%;
  margin-left: -30%;
}

#crane .animeWrap {
  background: url(../images/lottery/pool.png) no-repeat 100% 100% / 100% auto;
}

#balloon .titleWrap > div {
  width: 60%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

#balloon .titleWrap > div.animeWrap {
  width: 50%;
  margin: 0 20px 0 -10%;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

#balloon .titleWrap > div.animeWrap .swing {
  margin-left: 5%;
}

#crane .animeWrap .linkBtn {
  margin-top: -50px;
}

#balloon .titleWrap .txt {
  position: relative;
  z-index: 10;
}

.animeWrap .txt {
  z-index: 11;
  pointer-events: none;
}
#balloon .animeWrap .txt {
  top: 0;
}

.swing {
  animation: swing 3s ease-in-out infinite;
}

@keyframes swing {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-10px);
  }
  100% {
    transform: translateX(0);
  }
}

.bounce {
  animation: bounce 4s ease-in-out infinite;
}
@keyframes bounce {
  0%,
  40% {
    transform: skew(0deg, 0deg);
  }
  5% {
    transform: skew(3deg, 3deg);
  }
  10% {
    transform: skew(-3deg, -3deg);
  }
  15% {
    transform: skew(3deg, 3deg);
  }
  20% {
    transform: skew(-1deg, -1deg);
  }
  25% {
    transform: skew(1deg, 1deg);
  }
  30% {
    transform: skew(-0.3deg, -0.3deg);
  }
  35% {
    transform: skew(0.3deg, 0.3deg);
  }
  41%,
  100% {
    transform: skew(0deg, 0deg);
  }
}

#balloon .animeWrap .linkBtn {
  margin: -30px auto -80px;
}

#balloon .animeWrap .linkBtn .btn {
  margin-top: -40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7em;
  padding: 1em;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

#balloon .animeWrap ul {
  display: flex;
  justify-content: space-between;
}

#balloon .animeWrap li {
  width: 48%;
}

#balloon {
  position: relative;
}

.balloonAnime {
  position: absolute;
  top: 20%;
  left: 5%;
  width: 90%;
  z-index: 0;
  display: flex;
  justify-content: space-between;
}

.balloonAnime img {
  animation: fuwafuwa 6s linear infinite;
}

.balloonAnime img:nth-of-type(2) {
  margin: 100px 0 0 -50vw;
  animation-delay: 1s;
}

.balloonAnime img:nth-of-type(3) {
  margin-top: 200px;
  animation-delay: 3s;
}

@keyframes fuwafuwa {
  0% {
    transform: translateY(50px);
  }
  50% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(50px);
  }
}

img.circle {
  border-radius: 50%;
  border: 10px solid #fff;
}

#balloon .animeWrap li span {
  margin-top: -30px;
}

.swingFooter {
  width: 100%;
  margin-top: -55px;
  text-align: right;
}

#halloween .inner {
  max-width: 1480px;
  padding: 0 40px 0 20px;
}

.introWrap {
  width: 50%;
  margin-right: 20px;
  position: relative;
}

.introWrap .linkBtn {
  margin-top: -20px;
}

.halloweenAnime {
  position: absolute;
  top: 0;
  right: 0;
}

.halloweenAnime img {
  display: block;
  animation: swing 5s ease-in-out infinite;
  opacity: 1;
}

.halloweenAnime img:nth-of-type(2) {
  animation: swing2 5s ease-in-out infinite;
}

.halloweenAnime img:last-of-type {
  animation-delay: 2s;
}

@keyframes swing2 {
  0% {
    opacity: 0.1;
    transform: translate(0, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-10px, 10px);
  }
  100% {
    opacity: 0.1;
    transform: translate(0, 0);
  }
}

.seasonalWrap {
  flex: 1;
  position: relative;
}

#gacha .seasonalWrap {
  width: 500px;
  aspect-ratio: 1 / 1;
}

.seasonalWrap:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #fff100;
  z-index: 0;
}
#gacha .seasonalWrap:before {
  background: repeating-linear-gradient(-45deg, #faee00 0, #faee00 4px, #fcedbd 4px, #fcedbd 10px);
}

#kuji .seasonalWrap:before {
  background: repeating-linear-gradient(-45deg, #fadb98 0, #fadb98 4px, #fcedbd 4px, #fcedbd 10px);
}

.seasonalWrap > div {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 10;
}

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

.seasonalWrap li {
  width: 48%;
  margin: 0 1% 10px;
}

.seasonalWrap li img {
  border: 6px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.seasonalWrap li .btn {
  display: block;
  margin: -20px auto 0;
  font-size: 1em;
  padding: 0.5em 1em 0.5em 0.5em;
}

.seasonCat {
  display: flex;
}

.seasonCat > div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  margin: 0 2px 10px;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  font-weight: bold;
  color: #fff;
  background: #7d1284;
}
.seasonCat > div:nth-of-type(2) {
  background: #000;
}
.seasonCat > div:nth-of-type(3) {
  background: #fff;
  color: #e4007f;
}
.seasonCat > div:nth-of-type(4) {
  background: #7c5940;
}

#gacha .inner {
  align-items: flex-start;
  justify-content: center;
}

#gacha .inner > div:first-of-type {
  flex: 1;
}

.gacha2 {
  margin: -150px 0 0 320px;
}

#gacha .linkBtn {
  margin-top: -80px;
}

.gachaAnime {
  display: flex;
}

.gachaAnime img {
  width: 200px;
  animation: roll 10s linear infinite;
}

.gachaAnime img:nth-of-type(2) {
  animation-delay: 5s;
  animation: roll 7s linear infinite;
}

@keyframes roll {
  0% {
    transform: translateX(0) rotate(0deg);
  }
  25% {
    transform: translateX(50vw) rotate(360deg);
  }
  50% {
    transform: translateX(100vw) rotate(0deg);
  }
  75% {
    transform: translateX(50vw) rotate(360deg);
  }
  100% {
    transform: translateX(0) rotate(0deg);
  }
}

#gacha {
  position: relative;
  z-index: 1;
}

#kuji {
  position: relative;
  z-index: 0;
}

#kuji .inner {
  position: relative;
}

.kujiAnime {
  position: absolute;
  top: -100px;
  left: -5vw;
  display: flex;
  align-items: flex-start;
}

.kujiAnime img {
  margin: 0 -5px;
  animation: swing3 3s linear infinite;
}

.kujiAnime img:first-of-type {
  z-index: 0;
  animation: updown 10s linear infinite;
}

@keyframes updown {
  0% {
    transform: translateY(-120px);
  }
  50% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-120px);
  }
}

@keyframes swing3 {
  0% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-2deg);
  }
}

.contents .btn {
  display: block;
  position: relative;
  padding: 1em 2em 1em 1em;
  border-radius: 100vh;
  color: #fff;
  background: #ff7f00;
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  transition: 0.3s;
  border-bottom: 5px solid #b84c00;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  z-index: 10;
  min-width: initial;
}

.contents .btn:after {
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  content: "";
  width: 8px;
  height: 8px;
  margin: -4px 0 0 10px;
  border-top: solid 3px #fff;
  border-right: solid 3px #fff;
  transform: rotate(45deg);
}

.contents .btn:hover {
  border-bottom-color: transparent;
  color: #000;
  background: #f9c509;
}

.contents .btn:hover:after {
  border-color: #000;
}

@media only screen and (min-width: 1141px) {
  body {
    overflow-x: hidden;
  }
  .container {
    width: 100vw;
    max-width: initial;
    margin: 0 calc(50% - 50vw);
    background: none;
  }
  section.contents {
    position: relative;
    margin: 0;
    padding: 0;
    z-index: 100;
  }
  #lottery .craneIntroWrap {
    padding-top: 30px;
  }
}

@media only screen and (min-width: 1301px) {
  .seasonHead {
    display: flex;
  }
  .seasonHead .seasonCat {
    margin-left: 10px;
    order: 1;
  }
}

@media only screen and (max-width: 1400px) {
  .kujiAnime {
    left: 0;
  }
  .kujiAnime img {
    width: 80px;
  }
}

@media only screen and (max-width: 1300px) {
  .seasonalWrap {
    padding-right: 20px;
  }

  #balloon .titleWrap > div.animeWrap {
    width: 45%;
    margin: 0 0 0 -5%;
  }
  .balloonAnime {
    top: 0%;
  }
  .balloonAnime img:nth-of-type(2) {
    margin: 50px 0 0;
  }
  .balloonAnime img:nth-of-type(3) {
    margin-top: 20px;
  }
  .gacha2 {
    position: relative;
    margin: -50px 0 0;
    z-index: 10;
  }
}

@media only screen and (max-width: 1140px) {
  .btn {
    padding: 1em 2em 1em 1em;
    font-size: 1em;
    line-height: 1.2;
  }
  #lottery .desc {
    margin: 0 0 0 50px;
  }

  #crane .animeWrap .linkBtn {
    margin-top: 0;
  }

  .introWrap {
    margin-right: 0;
  }

  #balloon .titleWrap > div.animeWrap {
    width: 40%;
    margin: 0;
  }
  #balloon .titleWrap .txt {
    width: 30%;
  }
}

@media only screen and (max-width: 840px) {
  #lottery > div {
    padding: 80px 2%;
    background-size: auto 100%;
  }
  #lottery .inner {
    padding: 0 10px;
  }
  #crane .inner {
    flex-direction: column;
  }
  #lottery > div .inner > * {
    width: 100% !important;
  }
  #crane .animeWrap {
    order: 0;
  }
  #crane .titleWrap {
    order: 1;
    display: flex;
    align-items: flex-start;
  }
  .craneIntroWrap .txt1 {
    width: 20%;
  }
  .craneIntroWrap > div {
    width: 80%;
  }
  #lottery #crane .intro {
    width: 100%;
  }
  #lottery #crane .intro img {
    margin: auto;
  }
  #lottery #crane .titleWrap {
    padding: 0 0 100px;
    flex-direction: column;
    align-items: center;
  }
  #lottery .desc {
    width: 100%;
    margin: 10px auto;
  }

  #halloween .introWrap > img {
    width: 80%;
  }

  .halloweenAnime {
    width: 25%;
  }

  .seasonalWrap {
    padding: 50px 0;
    text-align: center;
  }
  .seasonCat {
    justify-content: center;
  }
  .seasonalWrap p {
    text-align: left;
  }
  #balloon .titleWrap {
    flex-wrap: wrap;
  }
  #lottery #balloon .intro {
    margin: auto;
    width: 100%;
    max-width: 420px;
  }
  #balloon .titleWrap > * {
    width: 100% !important;
  }
  #balloon .titleWrap > div.animeWrap {
    margin-top: -10%;
  }

  #gacha .inner,
  #kuji .inner {
    flex-direction: column;
    text-align: center;
  }
  .gachaImg,
  #kuji .introWrap {
    order: 2;
  }
  .gachaTxt,
  #kuji .seasonalWrap {
    order: 1;
  }
  #gacha .seasonalWrap {
    width: 90%;
    padding: 0;
    max-width: 500px;
    margin: auto;
  }
  #gacha .seasonalWrap:before {
    width: 80%;
    left: 10%;
  }
  .gachaAnime img {
    width: 120px;
  }
  #lottery > div#kuji .inner .seasonalWrap {
    width: 90% !important;
    margin: auto;
  }
  .kujiAnime img {
    width: 60px;
    margin: 0 -20px;
  }
  .kujiAnime img:last-of-type {
    position: absolute;
    right: 0;
  }
}

@media only screen and (max-width: 640px) {
  #lottery .inner,
  #lottery .btn {
    font-size: 1rem;
  }
  #balloon .titleWrap > div.animeWrap {
    margin: auto;
  }
  #balloon .animeWrap .linkBtn {
    margin: auto auto -30px;
  }
  img.circle {
    border-width: 5px;
  }
}
#lottery .inner.lottery-cat {
  margin-top: 5rem;
  padding: 1rem;
  display: flex;
  justify-content: center;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 100vh;
  .btn {
    width: 100%;
  }
}
