@charset "UTF-8";
/* CSS Document */

/* モーダルと背景の指定 */
.js-modal{display:none;
  position: fixed;z-index:999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(102,102,102,85%);
  padding: 40px 0;
  overflow: auto;
  /*opacity: 0;*/
  /*visibility: hidden;*/
  transition: .3s ease;
  box-sizing: border-box;
}

@media screen and (max-width:980px){
	.js-modal{padding:8.16vw 0 4.08vw;}
}

/* モーダルの擬似要素の指定 
.modal:before{
  content: "";
  display: inline-block;
  vertical-align: top;
  height: 100%;
  margin-left: -0.2em;
}*/

/* クラスが追加された時の指定 
.modal.is-active{
  opacity: 1;
  visibility: visible;
}*/

/* モーダル内側の指定 */
.modal-container{
	width:475px;
	position: relative;
	display: inline-block;
	vertical-align:top;
	/*
  max-width: 600px;
  width: 90%;*/
}

@media screen and (max-width:1400px){
	.modal-container{width:33.92vw;}
}
@media screen and (max-width:980px){
	.modal-container{width:92%;}
}


/* モーダルを閉じるボタンの指定 */
.js-modalClose{
  position: absolute;
  display:flex;
  align-items: center;
  justify-content: center;
  top: -30px;
  right:0px;
  width:25px;
  height:25px;
  color: #fff;
  background:none;
  cursor: pointer;
}

@media screen and (max-width:980px){
	.js-modalClose{
		top: -6.12vw;width:5.10vw;height:5.10vw;}
}

.js-modalClose2 {padding-bottom:30px;cursor: pointer;}
@media screen and (max-width:980px){
	.js-modalClose2 {padding-bottom:6.12vw;}
}

/* モーダルのコンテンツ部分の指定 */
.modal-content{
	margin:0 auto;
	background: #fff;
	display:block;
}

