@charset "utf-8";

/* -----reset----- */

*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #fdfdfd;
  font-family: "M PLUS 2", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 24px;
  line-height: 2.4rem;
}

rt {
  font-size: 14px;
}

ul li {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* -----syling from here!!!!----- */

/* -----common----- */

.for-adult,
.for-adult p {
  font-size: 18px;
  line-height: 1.8rem;
}

.img-circle {
  display: block;
  border-radius: 100%;
}

main {
  background-color: #052544;
}

/* -----header----- */
header {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  z-index: 99999;
}

h1 {
  display: none;
}

/* -----menu----- */
#menu-btn {
  display: none;
}

.btn span img {
  width: 120px;
  position: fixed;
  top: 40px;
  right: 40px;
  z-index: 999;
}

.g-nav {
  position: fixed;
  top: 0;
  right: -200%;
  width: 100%;
  height: 100vh;
  background-color: #052544f9;
  z-index: 100;
  transition: 0.5s;
}

.g-nav li img {
  width: 120px;
}

#menu-btn:checked ~ .g-nav {
  right: 0;
}

.menu-area {
  position: relative;
}

.g-nav::before {
  content: "";
  border: solid 1px #f2f2f2;
  display: block;
  width: 400px;
  height: 400px;
  border-radius: 100%;
  position: absolute;
  top: -140px;
  right: -140px;
}

.g-nav::after {
  content: "";
  border: solid 1px #f2f2f2;
  display: block;
  width: 600px;
  height: 600px;
  border-radius: 100%;
  position: absolute;
  top: -240px;
  right: -240px;
}

.menu-area::before {
  content: "";
  border: solid 1px #f2f2f2;
  display: block;
  width: 900px;
  height: 900px;
  border-radius: 100%;
  position: absolute;
  top: -390px;
  right: -390px;
}

.menu-area::after {
  content: "";
  border: solid 1px #f2f2f2;
  display: block;
  width: 1200px;
  height: 1200px;
  border-radius: 100%;
  position: absolute;
  top: -540px;
  right: -540px;
}

.g-nav li:first-of-type {
  position: absolute;
  top: 80px;
  right: 180px;
  z-index: 600;
}

.g-nav li:nth-of-type(2) {
  position: absolute;
  top: 280px;
  right: 80px;
  z-index: 600;
}

.g-nav li:nth-of-type(3) {
  position: absolute;
  top: 280px;
  right: 350px;
  z-index: 600;
}

.g-nav li:nth-of-type(4) {
  position: absolute;
  top: 450px;
  right: 400px;
  z-index: 600;
}

/* -----game----- */
.game-area {
  background-color: #061349;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.game-openning {
  position: fixed;
  top: 5%;
  left: 10%;
  right: 10%;
  bottom: 5%;
  background-color: #a37fd3;
  opacity: 95%;
  border: #0dedfa 5px solid;
  border-radius: 50px;
  padding: 50px;
  z-index: 1000000;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.game-openning h2 img {
  height: 30vh;
}

.instruction {
  position: fixed;
  width: 100%;
  top: 0;
  bottom: 0;
  z-index: 99999;
}

.instructions {
  display: none;
  margin: 30px 70px;
  background-color: #052544;
  width: 45%;
  height: 80px;
}

.show {
  display: block;
}

.point {
  border: #ff2c2c solid 10px;
  border-radius: 30px;
  filter: drop-shadow(0px 0px 10px #fff);
  width: 10%;
  height: 200px;
  position: absolute;
  animation: 1.5s ease-in-out infinite normal blink;
}

.intro02 .point {
  left: 38%;
  bottom: 2%;
}

.intro03 .point {
  left: 53%;
  bottom: 2%;
}

.intro04 .point {
  width: 4%;
  bottom: 13%;
  left: 71%;
}

.intro05 .point {
  top: 15px;
  left: 2%;
  width: 53%;
}

.intro08 img {
  position: absolute;
  filter: drop-shadow(1px 1px 10px #fff);
  width: 90%;
  top: 45%;
  left: 5%;
}

@keyframes blink {
  0% {
    opacity: 100%;
  }
  25% {
    opacity: 0%;
  }
  75% {
    opacity: 100%;
  }
}

.button02-area {
  display: block;
  width: 100%;
  display: flex;
  justify-content: center;
}

.prev:hover,
.next:hover,
#decideBtn:hover {
  filter: drop-shadow(1px 1px 10px #fff);
}

.button02 {
  width: 90%;
  border: #0dedfa solid 5px;
  background-color: #df87b7;
  border-radius: 80px;
  margin-top: 45px;
  padding: 30px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.button02-area .button02 img {
  width: 40%;
}

.button02:hover {
  background-color: #0dedfa;
  border: #ffd700 5px solid;
}

.slider {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  /* 300px × 3枚 */
  height: 80%;
  overflow: hidden;
  margin: 5% auto 0;
  border: 2px solid #fff;
  border-radius: 10px;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.star-container {
  min-width: 33%;
  width: 33%;
  text-align: center;
  transition: transform 0.1s ease;
  opacity: 0.6;
}

.star-container img {
  width: 250px;
  margin-top: 40%;
  transition: transform 0.1s ease;
  transform: scale(0.6);
}

.star-container:nth-child(1) img {
  margin-top: 0;
  width: 1000px;
}
.star-container:nth-child(2) img {
  margin-top: 45%;
  width: 100px;
}
.star-container:nth-child(3) img {
  width: 150px;
}
.star-container:nth-child(4) img {
  width: 150px;
}
.star-container:nth-child(5) img {
  width: 130px;
}
.star-container:nth-child(6) img {
  margin-top: 30%;
  width: 400px;
}
.star-container:nth-child(7) img {
  margin-top: 40%;
  width: 500px;
}
.star-container:nth-child(8) img {
  margin-top: 42%;
  width: 170px;
}
.star-container:nth-child(9) img {
  margin-top: 42%;
  width: 170px;
}
.star-container.active {
  opacity: 1;
}

.star-container.active img {
  transition: transform 0.5s ease, filter 0.5s ease;
  transform: scale(1.3);
  filter: drop-shadow(0 0 15px #ffd700);
}

.cockpit-button {
  width: 100%;
  height: 100%;
  position: relative;
}

.cockpit-button button {
  background-color: transparent;
  border: none;
  appearance: none;
}

.prev,
.next {
  background-color: transparent;
  position: absolute;
  border: none;
  cursor: pointer;
  z-index: 1;
}



.prev img,
.next img,
#decideBtn img{
width: 100%;
}

.prev {
  width: 10%;
  bottom: 2%;
  left: 38%;
}

.next {
  width: 10%;
  bottom: 2%;
  left: 53%;
}

.prev:disabled,
.next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background-color: transparent;
}

#decideBtn {
  width: 4%;
  background-color: transparent;
  border: none;
  cursor: pointer;
  position: absolute;
  bottom: 13%;
  left: 71%;
  transform-origin: bottom left;
  transition: rotateAnimation 0.3s ease-in-out;
}

#resultModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0%;
  z-index: 10;
  justify-content: center;
  align-items: center;
}

#resultModal div {
  padding: 30px;
  border-radius: 10px;
  width: 60%;
  height: 50%;
  text-align: center;
  margin: auto;
}

#resultModal div p {
  color: #fdfdfd;
  font-size: 100px;
  font-weight: 800;
  text-shadow: 1px 1px 40px #052544;
}

.cockpit {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: url(../img/cockpit/cockpit.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
}

.fukidashi {
  position: fixed;
  top: 0;
  left: 0;
  right: 10%;
  display: flex;
  justify-content: space-around;
  height: 20%;
  padding: 15px;
}

.fukidashi-main {
  background-color: #052544;
  border: #9df464 solid 3px;
  border-radius: 30px;
  width: 60%;
  padding-left: 50px;
  display: flex;
  align-items: center;
}

.fukidashi-character {
  background-color: #052544;
  border: #9df464 solid 3px;
  border-radius: 30px;
  width: 15%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fukidashi-character img {
  height: 90%;
}

.fukiddashi-info {
  background-color: #052544;
  border: #9df464 solid 3px;
  border-radius: 30px;
  width: 15%;
  padding: 10px 30px;
}

.fukiddashi-info p {
  text-align: end;
}

.fukiddashi-info span {
  font-size: 60px;
  color: #ffe863;
  margin-right: 15px;
}
