@charset "UTF-8";
img {
  width: 100%;
}
button {
  padding: 0;
  border: 0;
  outline: 0;
  background-color: transparent;
}
/* 図鑑 */
#zukan_container {
  font-family: "M PLUS Rounded 1c", sans-serif;
  padding: 20px 0px;
  background-color: #e40057;
  width: 100%;
  position: relative;
  margin: 0 auto;
}
.ex_container {
  position: fixed;
  z-index: 1000;
  animation: SlideIn 1.5s;
  height: 100%;
  width: 100%;
}
@keyframes SlideIn {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.ex {
  position: relative;
  width: 90%;
  height: 90%;
  margin: 0 auto;
  background-color: white;
  box-sizing: border-box;

  border-radius: 30px;
  border: 5px solid black;
  padding: 50px 20px;
  box-shadow: 0px 10px rgba(0, 0, 0, 0.25);
}
.paging_animation {
  animation: Paging 0.5s;
}
@keyframes Paging {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.close {
  position: absolute;
  background-color: #ffa9d0;

  right: 10px;
  top: 10px;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  border: 2.5px solid black;
  box-shadow: 0px 5px rgba(0, 0, 0, 0.25);
}
.batu {
  position: relative;
  width: 100%;
  height: 100%;
}
.batu::before,
.batu::after {
  position: absolute;
  transform: translate(-50%, -50%) rotate(45deg);
  top: 50%;
  content: "";
  display: inline-block;
  width: 80%;
  background-color: black;
  transform-origin: center;
  border-radius: 100px;

  height: 3px;
}
.batu::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.close:active {
  box-shadow: none;

  transform: translateY(5px);
}
.ex_title {
  text-align: center;
  -webkit-text-stroke-color: black;
  -webkit-text-fill-color: #fff000;

  font-size: 25px;
  -webkit-text-stroke-width: 1.5px;
}
.ex_txt {
  padding: 20px 0;
  font-size: 16px;
}
.ex_next_btn {
  position: absolute;
  background-color: #fff000;
  font-family: "M PLUS Rounded 1c", sans-serif;

  bottom: 15px;
  right: 10px;
  font-size: 16px;
  padding: 8px;
  border-radius: 15px;
  border: solid 2.5px black;
  box-shadow: 0px 5px rgba(0, 0, 0, 0.25);
}
.ex_next_btn:active {
  box-shadow: none;

  transform: translateY(5px);
}
.totop_container {
  width: 100%;
  text-align: center;
}
.totop {
  display: inline-block;
  text-decoration: none;
  font-size: 16px;
  color: black;
  padding: 8px;
  border-radius: 15px;
  border: solid 2.5px black;
  font-family: "M PLUS Rounded 1c", sans-serif;
  background-color: #fff000;
  box-shadow: 0px 5px rgba(0, 0, 0, 0.25);
  margin: 10px;
}
.totop:active {
  transform: translateY(5px);
  box-shadow: none;
}
.scroll {
  width: 100%;
  text-align: right;
  position: sticky;
  bottom: 20px;
}
.scroll > img {
  width: 50px;
  height: 50px;
  margin-right: 20px;
}
.zukan-title {
  width: 90%;
  margin: 0 auto;
}
.lets_complete {
  width: 90%;
  margin: 0 auto;
  margin-bottom: 10px;
  text-align: left;
  color: white;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  justify-content: center;
}
.cong_img_container {
  width: 25%;
}
.cong_container {
  width: 50%;
}
.cong {
  text-align: center;
  font-size: 26px;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
  -webkit-text-fill-color: #fff000;
}
#animals_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 90%;
  margin: 0 auto;
  position: relative;
  /* display: none; */
}
.animal_container {
  position: relative;
  width: 32%;
  height: 32%;
  padding: 15px 15px 5px 15px;
  background-color: white;
  border-radius: 15px;
  margin: 5px 0;
  box-sizing: border-box;
}
.number {
  position: absolute;
  font-size: 10px;
  top: 10px;
  left: 10px;
  color: #e40057;
}
.animal_btn {
  width: 100%;
  height: 100%;
  padding: 0px;
  border: 0;
  outline: 0;
  background-color: transparent;
}
.animal_btn:active {
  background-color: #e40057;
  border-radius: 20px;
}
.animal_img {
  width: 100%;
  filter: brightness(0%);
}
.animal_name {
  text-align: center;
  font-size: 14px;
  -webkit-text-stroke-width: 0.5px;
  -webkit-text-stroke-color: black;
  -webkit-text-fill-color: #fff000;
}
.animal_name:nth-child(20) {
  font-size: 12px;
}
.animal_name:nth-child(32) {
  font-size: 0.9em;
}
/* ゲーム */
#game_container {
  width: 90%;
  margin: 0px auto;
  padding: 20px 20px;
  border-radius: 20px;
  background-color: white;
  box-sizing: border-box;
  text-align: center;
  display: none;
  z-index: 3000;
}
.silhouette_img {
  width: 60%;
  filter: brightness(0%);
}
.who {
  font-size: 26px;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
  -webkit-text-fill-color: #fff000;
}
/* 選択肢 */
.random {
  width: 100%;
  height: 100px;
  margin: 0 auto;
}
.animal {
  cursor: move;
  z-index: 1000;
  width: 30%;
  margin: 5px;
}
.operation {
  padding-top: 20px;
}
.btn {
  font-size: 16px;
  padding: 8px;
  border-radius: 15px;
  border: solid 2.5px black;
  font-family: "M PLUS Rounded 1c", sans-serif;
  outline: 0;
}
.btn:active {
  transform: translateY(5px);
  box-shadow: none;
}
.before,
.after {
  background-color: #ffa9d0;
  box-shadow: 0px 5px rgba(0, 0, 0, 0.25);
}
.back {
  background-color: #fff000;
  box-shadow: 0px 5px rgba(0, 0, 0, 0.25);
  margin: 3px;
}

/* 正解 */
#correct_container {
  width: 90%;
  margin: 0px auto;
  padding: 20px 20px;
  border-radius: 20px;
  background-color: white;
  box-sizing: border-box;
  text-align: center;
  display: none;
  z-index: 5000;
}
/* .correct {
  width: 100%;
} */
.correct_txt {
  width: 80%;
}
#correct_img {
  width: 60%;
}
.correct_animal_name_rb {
  font-size: 14px;
}
.correct_animal_name_eng {
  line-height: 80%;
  font-size: 50px;
}
.correct_animal_name_jp {
  font-size: 25px;
}

.footer_container {
  display: flex;
  width: 100%;
  background-color: #d40010;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;

  padding: 0px 20px;
  height: 80px;
}
.follow {
  font-family: "M PLUS Rounded 1c", sans-serif;
  color: white;

  font-size: 14px;
  padding: 0px 10px;
}
.official_accounts {
  display: flex;
  align-items: center;
}
.twitter {
  display: inline-block;

  width: 40px;
  height: 40px;
  padding: 0px 3px;
}
.instagram {
  display: inline-block;

  width: 40px;
  height: 40px;
  padding: 0px 3px;
}

@media (min-width: 500px) {
  /* 図鑑 */
  #zukan_container {
    padding: 30px 0px;
  }
  .ex {
    border-radius: 30px;
    border: 5px solid black;
    padding: 50px 20px;
    box-shadow: 0px 10px rgba(0, 0, 0, 0.25);
  }
  .close {
    right: 20px;
    top: 20px;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    border: 3px solid black;
    box-shadow: 0px 8px rgba(0, 0, 0, 0.25);
  }
  .batu::before,
  .batu::after {
    height: 5px;
  }
  .close:active {
    transform: translateY(8px);
  }
  .ex_title {
    font-size: 30px;
    -webkit-text-stroke-width: 2px;
  }
  .ex_txt {
    padding: 20px 0;
    font-size: 18px;
  }
  .ex_next_btn {
    bottom: 28px;
    right: 20px;
    font-size: 18px;
    padding: 15px;
    border-radius: 15px;
    border: solid 3px black;
    box-shadow: 0px 8px rgba(0, 0, 0, 0.25);
  }
  .ex_next_btn:active {
    transform: translateY(8px);
  }
  .totop {
    bottom: 15px;
    left: 15px;
    font-size: 18px;
    padding: 15px;
    border-radius: 15px;
    border: solid 3px black;
    box-shadow: 0px 8px rgba(0, 0, 0, 0.25);
  }
  .totop:active {
    transform: translateY(8px);
  }

  .scroll {
    width: 100%;
    text-align: right;
    position: sticky;
    bottom: 20px;
  }
  .scroll > img {
    width: 80px;
    height: 80px;
    margin-right: 20px;
  }
  .lets_complete {
    font-size: 20px;
  }
  .cong {
    font-size: 36px;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: black;
    -webkit-text-fill-color: #fff000;
  }
  .animal_container {
    padding: 20px 20px 8px 20px;
    margin: 10px 0;
  }
  .number {
    font-size: 14px;
    top: 12px;
    left: 12px;
  }
  .animal_name {
    font-size: 18px;
    -webkit-text-stroke-width: 1px;
  }

  /* ゲーム */
  #game_container {
    padding: 20px 30px;
  }
  .who {
    font-size: 36px;
    -webkit-text-stroke-width: 2px;
  }
  /* 選択肢 */
  .random {
    height: 150px;
  }
  .animal {
    margin: 8px;
  }
  .btn {
    font-size: 18px;
    padding: 15px;
    border: solid 3px black;
  }
  .back {
    box-shadow: 0px 5px rgba(0, 0, 0, 0.25);
    margin: 10px;
  }

  /* 正解 */
  #correct_container {
    padding: 20px 30px;
  }
  .correct_animal_name_rb {
    font-size: 20px;
  }
  .correct_animal_name_eng {
    font-size: 80px;
  }
  .correct_animal_name_jp {
    font-size: 35px;
  }
}

@media (min-width: 700px) {
  #zukan_container {
    padding: 35px 0px;
  }
  .ex {
    border-radius: 30px;
    border: 5px solid black;
    padding: 60px 30px;
    box-shadow: 0px 10px rgba(0, 0, 0, 0.25);
  }
  .close {
    right: 20px;
    top: 20px;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    border: 3px solid black;
    box-shadow: 0px 10px rgba(0, 0, 0, 0.25);
  }
  .batu::before,
  .batu::after {
    height: 5px;
  }
  .close:active {
    transform: translateY(10px);
  }
  .ex_title {
    font-size: 40px;
    -webkit-text-stroke-width: 3px;
  }
  .ex_txt {
    padding: 30px 0;
    font-size: 20px;
  }
  .ex_next_btn {
    bottom: 30px;
    right: 20px;
    font-size: 22px;
    padding: 22px;
    border-radius: 15px;
    border: solid 4px black;
    box-shadow: 0px 10px rgba(0, 0, 0, 0.25);
  }
  .ex_next_btn:active {
    transform: translateY(10px);
  }
  .totop {
    bottom: 20px;
    left: 20px;
    font-size: 22px;
    padding: 22px;
    border-radius: 25px;
    border: solid 4px black;
    box-shadow: 0px 10px rgba(0, 0, 0, 0.25);
  }
  .totop:active {
    transform: translateY(10px);
  }
  .scroll {
    width: 100%;
    text-align: right;
    position: sticky;
    bottom: 20px;
  }
  .scroll > img {
    width: 80px;
    height: 80px;
    margin-right: 20px;
  }
  .lets_complete {
    color: white;
    font-size: 20px;
    font-weight: bold;
  }
  .cong {
    font-size: 46px;
    -webkit-text-stroke-width: 2.5px;
    -webkit-text-stroke-color: black;
    -webkit-text-fill-color: #fff000;
  }
  .animal_container {
    padding: 25px 25px 10px 25px;
    border-radius: 25px;
  }
  .number {
    font-size: 20px;
    top: 15px;
    left: 15px;
  }
  .animal_btn:active {
    border-radius: 25px;
  }
  .animal_name {
    text-align: center;
    font-size: 28px;
    -webkit-text-stroke-width: 2px;
  }

  /* ゲーム */
  #game_container {
    width: 90%;
    margin: 20px auto;
    padding: 30px 50px;
    border-radius: 50px;
    background-color: white;
    box-sizing: border-box;
    text-align: center;
    display: none;
    z-index: 3000;
  }
  .who {
    font-size: 46px;
    -webkit-text-stroke-width: 2px;
  }
  /* 選択肢 */
  .random {
    width: 100%;
    height: 200px;
    margin: 0 auto;
  }
  .animal {
    margin: 12px;
  }
  .operation {
    padding-top: 30px;
  }
  .btn {
    font-size: 22px;
    padding: 22px;
    border-radius: 25px;
    border: solid 4px black;
  }
  .btn:active {
    transform: translateY(10px);
  }
  .before,
  .after {
    background-color: #ffa9d0;
    box-shadow: 0px 10px rgba(0, 0, 0, 0.25);
  }
  .back {
    background-color: #fff000;
    box-shadow: 0px 10px rgba(0, 0, 0, 0.25);
    margin: 15px;
  }

  /* 正解 */
  #correct_container {
    width: 90%;
    margin: 20px auto;
    padding: 30px 50px;
    border-radius: 50px;
    background-color: white;
    box-sizing: border-box;
    text-align: center;
    display: none;
    z-index: 5000;
  }
  .correct_animal_name_rb {
    font-size: 30px;
  }
  .correct_animal_name_eng {
    line-height: 80%;
    font-size: 100px;
  }
  .correct_animal_name_jp {
    font-size: 50px;
  }
}

@media (min-width: 768px) {
  #zukan_container {
    width: 768px;
    margin: 0 auto;
  }
  .ex_container {
    width: 768px;
    margin: 0 auto;
  }
  .footer_container {
    padding: 0px 20px;
    height: 100px;
  }
  .follow {
    font-size: 18px;
    padding: 0px 10px;
  }
  .official_accounts {
    display: flex;
    align-items: center;
  }
  .twitter {
    display: inline-block;

    width: 50px;
    height: 50px;
    padding: 0px 5px;
  }
  .instagram {
    display: inline-block;

    width: 50px;
    height: 50px;
    padding: 0px 5px;
  }
  footer {
    width: 768px;
    margin: 0 auto;
  }
}
