@charset "utf-8";


/*開くボタン*/
.modal-open{

}
/*モーダルの指定 + モーダル外側の背景 */
/* アーカイブ時に更新 */
.modal-cnt,
.modal-cnt02,
.modal-cnt03,
.modal-cnt04,
.modal-cnt05,
.modal-cnt06{
z-index: 100;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,50%);
  padding: 40px 20px;
overflow:hidden;
overflow-y:scroll;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
}
/*擬似要素の指定*/
.modal-cnt:before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}
.modal-cnt02:before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}
.modal-cnt03:before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}
.modal-cnt04:before,
.modal-cnt05:before,
.modal-cnt06:before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

/* モーダルにactiveクラスを付与した時 */
/* アーカイブ時に更新 */
.modal-cnt.active,
.modal-cnt02.active,
.modal-cnt03.active,
.modal-cnt04.active,
.modal-cnt05.active,
.modal-cnt06.active{
  opacity: 1;
  visibility: visible;
}

/*モーダル枠*/
.modal-body{
margin-top: 100px;
margin-bottom: 50px;
  position: relative;
  display: inline-block;
  vertical-align:middle;
  max-width: 1000px;
  width: 93%;
}
/*閉じるボタン*/
.modal-close{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
	top: -50px;
  right: -8px;
  width: 40px;
  height: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}
/*モーダル内*/
.modal-content{
  background: #fff;
  text-align: left;
  padding:25px 15px 15px 15px;
}
