@charset "UTF-8";

/*************共通項目など*************/
/* Windows 用 Medium 指定の游ゴシック */
/* font-weight: bold の時は通常どおり Bold 書体を使わせる */
body {
  /* ゴシック体指定 */
  font-optical-sizing: auto;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "slnt"0;
  color: #2B2726;
  margin: 0 auto;
  background-color: #EFEFEF;
  line-height: 1.5;
}

a {
  text-decoration: none;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

ol,
ul {
  list-style: none;
}

a:after,
a:before {
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

.f_font {
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

@media screen and (max-width: 1920px) {

  .main_text {
    p {
      font-size: 17px;
    }

    h1 {
      font-size: 38px;

      span {
        font-size: 47px;
      }
    }
  }


}



/*  共通項目 > デバイス別出し分け
------------------------*/
.sp {
  display: none;
}

.pc_tab {
  display: block;
}

.s_sp {
  display: none;
}

@media screen and (max-width: 768px) {

  .sp,
  .pc_tab {
    display: block;
  }

  .pc {
    display: none;
  }
}

@media screen and (max-width: 425px) {
  .s_sp {
    display: block;
  }

  .pc_tab,
  .pc {
    display: none;
  }

  .main_img {
      width: 90%;
      max-width: 350px;
  }
  
  .detail {
    padding: 8px 10px;
    font-size: 14px;
    width: 130px;
    right: 20px;
    bottom: 20px;
  }

  .Flyable .detail {
    position: absolute;
    right: auto;
    left: 30px;
  }

}




/*************TOPページ*************/

.main_text {
  display: block;
  padding: 100px 0 30px;
  text-align: center;

  h1 {
    color: #0096F1;
    margin-bottom: 20px;
    font-weight: 900;
  }
  p{
    a{
      color: #0096F1;
    }
  }
}

.main_img {
  position: relative;
  width: 588px;
  margin: auto 0;
  max-width: 1440px;
  justify-self: center;

  img {
    width: 100%;
  }
}

.maker {
  display: flex;
  list-style-type: none;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  max-width: 1440px;
  justify-self: center;

  p {
    font-size: 13px;
    padding: 10px;
  }

  .icon {
    justify-self: center;
    flex-direction: column;
    height: 80px;
    display: flex;
    margin: 5px;
    margin-top: 10px;

    p {
      padding: 0.2em 0.5em;
      width: fit-content;
      font-size: 10px;
      background-color: #CDD2D5;
      text-align: center;
      border-radius: 8px;
      margin-inline: auto;
    }

    img {
      margin-top: 5px;
      width: 58px;
      height: 58px;
    }
  }
}


footer {
  margin-top: 50px;
  margin-bottom: 20px;

  p {
    justify-content: center;
    text-align: center;
    font-size: 12px;
  }
}









.box {
  background-color: #fff;
width: 351px;
font-size: 12px;
padding: 30px;
position: relative;
border: 1px solid #0096F1;
padding-top: 40px;
}

.neko {
width: 160px;
}

.duck {
  width: 250px;
  padding-left: 60px;
  padding-top: 10px;
}

.alligator {
  width: 160px;
  height: auto;
  align-self: center;
}

.eng {
  font-size: 28px;
  color: #0096F1;
  font-family: "Figtree", sans-serif;
  position: absolute;
  top: -70px;
  left: -1px;
}

.possible {
background-color: #0096F1;
color: #fff;
font-size: 32px;
padding: 5px;
width: 153px;
text-align: center;
  position: absolute;
 top: -30px;
   left: -1px;
}

.detail {
  background-color: #0096F1;
  font-size: 16px;
  width: 150px;
  color: #fff;
  padding: 10px;
  border-radius: 24px;
  position: absolute;
  right: 30px;
  bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.detail_icon {
  width: 20px; 
  height: auto;
}

.Live_on_land {
  position: absolute;
  top: 20px;
  left: 78px;
  display: flex;
  svg {
    stroke: #0096F1;
    stroke-width: 0.5;
    stroke-dashoffset: 0;
        fill: none;
}
}

.Flyable {
  position: absolute;
  top: 10px;
  left: 880px;
  display: flex;
 align-items: center;
  img {
    left: 10px;
  }

.box {
  width: 315px;
}
.detail {
left: 20px;
}

}

.Swimmable {
  position: absolute;
  top: 400px;
  left: 895px;
  display: flex;

  .box {
    width: 370px;
    display: flex;
  }
  .detail {
  left: 20px;
}
}

.main_block {
  width: 1440px;
  position: relative;
  margin: auto;
}

@media screen and (max-width: 768px) {

.PC {
  display: none;
}

.main_block {
  width: 100%;
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;

  p {
    font-size: 16px;
  }
}


.main_img {
  width: 100%;
  max-width: 600px;
  padding: 30px;
  padding-top: 0px;
  box-sizing: border-box;
}

svg {
  display: none;
}

.box {
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
}

 .Live_on_land,
  .Flyable,
  .Swimmable {
    position: static;
    width: 100%;
    max-width: 680px;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
  }

  .Live_on_land {
    padding-top: 10px;
  }
  .Flyable, .Swimmable {
    padding-top: 10px;
  }
  
  .Flyable .box,
  .Swimmable .box {
    width: 100%;
    max-width: 600px;
  }

  .Swimmable {
    display: flex;
    justify-content: center;
  }
  .Swimmable .box {
      display: block;
      height: auto;
  }
  .Swimmable .detail {
      position: absolute;
      left: auto;
      right: 30px;
  }
    .Flyable .detail {
      position: absolute;
      left: 30px;
      right: auto;
  }

.alligator {
  position: relative;
  left: -15px;
  top: 10px;
}

}

@media screen and (max-width: 425px) {
.main_img {
    width: 400px;
}
.detail {
  background-color: #0096F1;
  font-size: 16px;
  width: 150px;
  color: #fff;
  padding: 4px;
  border-radius: 20px;
  right: 30px;
  bottom: 30px;
  text-align: center;
}

.Flyable {
  position: static;
    
  img {
    left: 10px;
  }

}


.Live_on_land {
  display: flex;
  gap: -1px;
}

.line-drawing {
  flex-shrink: 0;
}

.Swimmable {
  display: block;
}
}

/* --- ポップアップ --- */
.popup-overlay {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1001;
  cursor: pointer;
}

.popup-content {
  display: none; 
  position: fixed;
  top: 54%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 920px;
  padding: 35px 35px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 1002;
  text-align: left; 
  color: #2B2726; 
  padding-top: 14px;
}

.popup-content h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #0096F1; 
}

.popup-content p {
  line-height: 1.7;
}

.popup-close {
  position: absolute;
  top: -100px;
  right: 5px;
  font-size: 72px;
  font-weight: bold;
  color: #FFF;
  cursor: pointer;
  transition: color 0.2s;
}

.popup-close:hover {
  color: #333;
}

/* ポップアップ表示時に背面のスクロールを禁止 */
body.is-popup-open {
  overflow: hidden;
}

.popup-content .eng {
  position: sticky;
  font-size: 26px;
  top: -20px;
}

.popup-content .possible {
  position: static;
  top: 30px;
  left: 10px;
  font-size: 32px;
  width: 142px;
  margin-bottom: 20px;
  padding: 0px;
}

.pop-up-layout {
  display: flex;
}

.pop-up-layout .text{
  width: 420px;
  font-size: 14px;
}

.popup-animal {
  position: absolute;
  top: 280px;
}

.photo_01 {
  max-width: 486px;
  margin-top: -74px ;
}

.photo_02 {
 max-width:273px;
 margin-top: -172px;
 margin-left: 318px;
}

  .link-text {
  float: right;
 font-size: 16px;
}

@media screen and (max-width: 768px) {

  .PC {
    display: none;
  }

  /* --- キメラ周りのレイアウト (モバイル) --- */
  .main_block {
    position: static; 
    width: 100%;
    display: flex;
    flex-direction: column; 
    align-items: center; 
    gap: 30px; 
    margin-top: 30px;
  }

  .main_img {
    width: 100%;
    max-width: 500px; 
    padding: 0;
    order: -1; 
  }

  .main_block svg {
    display: none; 
  }

  .Live_on_land,
  .Flyable,
  .Swimmable {
    position: static;
    width: 100%;
    max-width: 550px; 
    box-sizing: border-box;
    display: flex; 
    justify-content: center;
  }
  
  .box {
      width: 100%;
      max-width: 100%;
  }

  /* 各ボックスで異なる幅指定をリセット */
  .Flyable .box,
  .Swimmable .box {
    width: 100%;
  }
  
  /* detailボタンの位置を統一 */
  .Swimmable .detail {
    position: absolute;
    left: auto; 
    right: 30px;
  }

  .Swimmable .box {
      display: block; 
      height: auto;
  }

  /* --- ポップアップ (モバイル) --- */
  .pop-up-layout {
    display: block; 
  }

  .pop-up-layout .text {
    width: 100%; 
  }

  .photo_01 {
    width: 100%; 
    max-width: 486px; 
    margin-top: 20px; 
  }

  .photo_02 {
    width: 60%; 
    max-width: 273px;
    margin-top: -20%; 
    margin-left: 0;
    margin-bottom: 40px;
  }

  .popup-content .photo_01 img,
  .popup-content .photo_02 img {
    width: 100%;
    height: auto;
    display: block;
  }

  .popup-animal {
    width: 45%;
    max-width: 200px; 
    position: absolute;
  top: auto;
    left: auto; 
    bottom: 20px;
    right: 20px;
  }

  .popup-animal img {
      width: 100%;
  }

  .link-text {
float: left; 
  }
  
}

@media screen and (max-width: 425px) {

  .photo_02 {
    margin-bottom: 10px;
  }

  .popup-animal{
width: 35%;
  }

}