@charset "utf-8";
/* CSS Document */

/* =============================================================================
   トップモーダル
   ========================================================================== */

.modal_btn{
	cursor: pointer;
}

/* 開く時の.bodyのアニメーション */
@keyframes modalwindow_body_in {
  0% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes modalwindow_body_out {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-20px);
  }
}
.modalwindow {
  /* オーバーレイ＆スクロール領域になるレイヤー */
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  overflow: auto;
  z-index: 9999999;
  width: 100%;
  /* スマホでスワイプして指を離すまでの間下部の背景が無くなるため余分に指定 */
  height: 100%;
  background-color: rgba(255,240,0,0.98);
   background-position: top center;
   background-size: 5% auto;
   background-repeat: repeat;
  cursor: pointer;
  opacity: 1;
}
   @media screen and (max-width: 600px) {
      .modalwindow{
         background-color: rgba(255,240,0,1.00);
      } 
   }



.modalwindow.no_overlay_close {
  cursor: default;
}
.modalwindow.lock .close_modal {
  background: #ccc;
}
.modalwindow .body {
  /* ウィンドウ自体 アニメーションなどで装飾 */
  position: relative;
  top: 0;
  width: 100%;
  margin: auto;
  cursor: default;
  /*transform: translateY(-20px);
  animation: 200ms modalwindow_body_out;*/
}
.modalwindow .body .modal_content {
  padding: 0;
}
.modalwindow .body > footer {
  border-radius: 0 0 4px 4px;
}
.modalwindow.is_visible .body {
  /*transform: translateY(0px);
  animation: 400ms modalwindow_body_in;*/
}
.modalwindow_header_close {
  /* 右上に表示する×ボタン 面倒なので動的に追加してます */
  position: absolute;
  right: 0;
  top: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.modalwindow_header_close:before {
  content: "\D7";
  font-size: 24px;
  font-family: serif;
  color: #ccc;
}

.close_modal{
  position: fixed;
  top: 0;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 99999999;
  width: 90px;
  height: 90px;
  background-image: url("../images/shadowbox/close.png");
  background-size: 100% auto;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 20px 10px auto auto;
}
   @media screen and (max-width: 1200px) {
      .close_modal{
         width: 80px;
         height: 80px;
         margin: 10px 10px auto auto;
      } 
   }
   @media screen and (max-width: 1024px) {
      .close_modal{
         width: 60px;
         height: 60px;
         margin: 10px 10px auto auto;
      } 
   }
   @media screen and (max-width: 600px) {
      .close_modal{
         width: 60px;
         height: 60px;
         margin: 5px 5px auto auto;
      } 
   }




.close_modal:hover{
  background-image: url("../images/shadowbox/close_on.png");
  background-size: 100% auto;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 20px 10px auto auto;
}
   @media screen and (max-width: 1200px) {
      .close_modal:hover{
         width: 90px;
         height: 90px;
         margin: 20px 10px auto auto;
      } 
   }

   @media screen and (max-width: 1024px) {
      .close_modal:hover{
         width: 60px;
         height: 60px;
         margin: 10px 10px auto auto;
      } 
   }
   @media screen and (max-width: 600px) {
      .close_modal:hover{
         width: 60px;
         height: 60px;
         margin: 5px 5px auto auto;
      } 
   }



/* -----------------------------------------
   モーダル内部スタイル
   -----------------------------------------*/
.modal_top_wrap{
   width: 95%;
   max-width: 1200px;
   margin: 0 auto 0px auto;
   padding: 120px 30px;
}


.modal_inner{
   position: relative;
   overflow: hidden;
   padding: 10px 20px;
   box-sizing: border-box;
   width: 96%;
   margin: auto;
}
   @media screen and (max-width: 600px) {
      .modal_inner{
         padding: 10px 10px;
      } 
   }


.modal_txt_wrap{
   position: relative;
   width: 100%;
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
   font-family: "Noto Serif JP", serif;
   font-weight: 500;
   line-height: 1.8;
   margin-bottom: 60px;
}

.modal_txt_wrap .modal_txt{
   position: relative;
   width: 45%;
}
   @media screen and (max-width: 1024px) {
      .modal_txt_wrap .modal_txt{
         width: 90%;
         margin: auto;
         margin-bottom: 30px;
      } 
   }
   @media screen and (max-width: 600px) {
      .modal_txt_wrap .modal_txt{
         width: 100%;
         margin: auto;
         margin-bottom: 30px;
      } 
   }
   @media screen and (max-width: 600px) {
      .modal_txt_wrap .modal_txt{
         font-size: 3.8vw;
         line-height: 2.0;
         margin-bottom: 30px;
      } 
   }




.modal_credit{
   position: relative;
   width: 100%;
   display: flex;
   justify-content: flex-start;
   align-items: center;
   margin-bottom: 30px;
   font-family: "Zen Kaku Gothic New", sans-serif;
}

.modal_credit .position{
   font-size: 100%;
   line-height: 1.4;
   letter-spacing: 2px;
   font-weight: 700;
}

.modal_name{
   font-size: 140%;
   font-weight: 900;
   padding-left: 12px;
}


/* 〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
   タブレット版
   〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓 */

@media screen and (max-width: 1024px) {


}

/* 〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
   スマホ版
   〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓 */

@media screen and (max-width: 480px) {

.modalwindow .body .modal_content{
	position: relative;
}

.modal_wrapper{
	position: relative;
	height: 100vh;
}

.close_modal{
  width: 50px;
  height: 50px;
  background-size: 100% auto;
  margin: 5px 5px auto auto;
}

.close_modal:hover{
  width: 50px;
  height: 50px;
  background-size: 100% auto;
  margin: 5px 5px auto auto;
}

.modal_top_wrap{
   width: 95%;
   margin: 60px auto 60px auto;
   border-radius: 20px;
   padding: 0;
}


.modal_pic_wrap{
   position: relative;
   width: 100%;
   display: flex;
   justify-content: center;
   margin-bottom: 30px;
   padding: 90px 10px;
}


.modal_pic_kaijin{
   position: relative;
   width: 100%;
}



}
