@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,248,220,0.98);
  cursor: pointer;
  opacity: 1;
}


.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: 70px;
  height: 70px;
  background-image: url("../images/menu/b_close.png");
  background-size: 100% auto;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 15px 10px auto auto;
}
   @media screen and (max-width: 1200px) {
      .close_modal{
         width: 60px;
         height: 60px;
         margin: 10px 10px auto auto;
      } 
   }



.close_modal:hover{
  background-image: url("../images/menu/b_close.png");
  background-size: 100% auto;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 15px 10px auto auto;
}
   @media screen and (max-width: 1200px) {
      .close_modal:hover{
         width: 60px;
         height: 60px;
         margin: 10px 10px auto auto;
      } 
   }


/* -----------------------------------------
   モーダル内部スタイル
   -----------------------------------------*/
.modal_top_wrap{
   width: 95%;
   max-width: 900px;
   margin: 80px auto 80px auto;
   background-color: rgba(255,255,255,1.00);
   border: rgba(126,76,65,1.00) 2px solid;
   padding: 50px 30px;
   box-shadow: 10px 10px rgba(126,76,65,1.00);
}

.modal_top_wrap.bg01{
   background-image: url("../images/special/comment_001/bg_001.png");
   background-position: bottom center;
   background-repeat: no-repeat;
   background-size: 100% auto;
}

.modal_top_wrap.bg02{
   background-image: url("../images/special/comment_001/bg_002.png");
   background-position: bottom center;
   background-repeat: no-repeat;
   background-size: 100% auto;
}

.modal_top_wrap.bg03{
   background-image: url("../images/special/comment_001/bg_003.png");
   background-position: bottom center;
   background-repeat: no-repeat;
   background-size: 100% auto;
}

.modal_top_wrap.bg04{
   background-image: url("../images/special/comment_002/bg_004.png");
   background-position: bottom center;
   background-repeat: no-repeat;
   background-size: 100% auto;
}

.modal_top_wrap.bg05{
   background-image: url("../images/special/comment_002/bg_005.png");
   background-position: bottom center;
   background-repeat: no-repeat;
   background-size: 100% auto;
}

.modal_top_wrap.bg06{
   background-image: url("../images/special/comment_002/bg_006.png");
   background-position: bottom center;
   background-repeat: no-repeat;
   background-size: 100% auto;
}

.modal_top_wrap.bg10{
   background-image: url("../images/special/comment_002/bg_007.png");
   background-position: bottom center;
   background-repeat: no-repeat;
   background-size: 100% auto;
}




.modal_top_wrap2{
   width: 100%;
   max-width: 900px;
   margin: 80px auto 80px auto;
   background-color: rgba(255,255,255,1.00);
   border: rgba(126,76,65,1.00) 2px solid;
   padding: 50px 30px;
   box-shadow: 10px 10px rgba(126,76,65,1.00);
}
   @media screen and (max-width: 600px) {
      .modal_top_wrap2{
         width: 95%;
         margin: 60px auto 10px auto;
         padding: 10px 0px;
         box-shadow: 5px 5px rgba(126,76,65,1.00);
      } 
   }


.modal_top_wrap3{
   width: 100%;
   max-width: 1300px;
   margin: 80px auto 80px auto;
   background-color: rgba(255,255,255,1.00);
   border: rgba(126,76,65,1.00) 2px solid;
   padding: 50px 30px;
   box-shadow: 10px 10px rgba(126,76,65,1.00);
}
   @media screen and (max-width: 600px) {
      .modal_top_wrap3{
         width: 95%;
         margin: 60px auto 10px auto;
         padding: 10px 0px;
         box-shadow: 5px 5px rgba(126,76,65,1.00);
      } 
   }





.modal_inner{
   position: relative;
   overflow: hidden;
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
}

.modal_pic_wrap{
   position: relative;
   width: 100%;
   display: flex;
   justify-content: center;
   margin-bottom: 50px;
   padding-bottom: 30px;
   border-bottom: rgba(126,76,67,1.00) 3px dotted;
   gap: 0 30px;
}

.modal_pic_left{
   width: 30%;
   border: rgba(126,76,67,1.00) 1px solid;
}

.modal_pic_right{
   width: 30%;
   border: rgba(126,76,67,1.00) 1px solid;
}

.modal_txt_wrap{
   position: relative;
   width: 100%;
   font-family: 'Zen Maru Gothic', sans-serif;
   font-size: 120%;
   font-weight: 700;
  line-height: 2.5;
         text-align: left;
   margin-bottom: 60px;
  background-image: linear-gradient(#ccc 1px, transparent 1px);
  background-size: 100% 2.5em;
  padding-bottom: 1px;
}
   @media screen and (max-width: 480px) {
      .modal_txt_wrap{
         text-align: left;
         font-size: 100%;
         background-image: none;
      } 
   }


.modal_bar{
   position: relative;
   width: 100%;
   border-bottom: rgba(126,76,65,1.00) 4px dotted;
   margin: 0 auto 30px auto;
  }

.modal_credit{
   position: relative;
   width: 100%;
   text-align: center;
   display: grid;
   place-content: center;
}

.modal_credit .position{
   font-size: 120%;
   line-height: 1.4;
   letter-spacing: 2px;
   font-weight: 700;
   color: rgba(255,255,255,1.00);
   text-align: center;
   border-radius: 30px;
   padding: 3px 20px;
   font-family: 'Zen Maru Gothic', serif;
}

.modal_credit .position.chara01{
   background-color: rgba(87,214,171,1.00);
}

.modal_credit .position.chara02{
   background-color: rgba(136,163,212,1.00);
}

.modal_credit .position.chara03{
   background-color: rgba(243,165,171,1.00);
}

.modal_credit .position.chara04{
   background-color: rgba(197,127,242,1.00);
}

.modal_credit .position.chara05{
   background-color: rgba(253,169,78,1.00);
}

.modal_credit .position.chara06{
   background-color: rgba(71,176,191,1.00);
}

.modal_credit .position.chara10{
   background-color: rgba(193,176,55,1.00);
}



.modal_cv_name{
   width: 100%;
   font-size: 200%;
   line-height: 1.4;
   letter-spacing: 2px;
   font-weight: 900;
   color: rgba(126,76,65,1.00);
   text-align: center;
}


/* -----------------------------------------
   モーダル内部
   -----------------------------------------*/

.modal_wrap{
  width: 100%;
  margin: auto;
}




/* 〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
   タブレット版
   〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓 */

@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: 30px 18px;
}


.modal_pic_wrap{
   position: relative;
   width: 100%;
   display: flex;
   justify-content: center;
   margin-bottom: 30px;
}

.modal_pic_left{
   width: 40%;
   padding: 0 1%;
}

.modal_pic_right{
   width: 40%;
   padding: 0 1%;
}


}
