@charset 'UTF-8';

/* modal
----------------------------------------------------------------*/
/* PC設定
----------------------------------------------- */
@media (min-width: 768px) {
.modalArea{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    opacity: 0;
    animation-duration: 0.5s;
    animation-name: fade-in;
    -moz-animation-duration: 0.5s;
    -moz-animation-name: fade-in;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-name: fade-in;
    transition: all .3s ease;
}

.modalArea .modalClose{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
}

.modalWrapper{
    max-width: 800px;
    margin: 0 auto;
    padding: 0px 20px;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.modalOpen .modalArea {
    display: block;
    background: rgba(00,0,0,0.5);
    opacity: 1;
    z-index: 99999;
}

.modalContent{
    /* background: #fff; */
    /* margin: 50px 0; */
    position: relative;
    z-index: 9;
}

.modalContent .inner{
    padding: 0px 70px 50px;
    background: #fff;
}


.modalContent .img{
    text-align: center;
    margin-bottom: 0px;
}

.modalContent p{
    font-size: 13px;
    line-height: 1.5;
}

.photoButton{
    margin-top: 30px;
    overflow: hidden;
}

.photoButton img{
    margin-right: 6px;
    vertical-align: middle;
}

.photoButton a {
    width: 190px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    background: #c09c56;
    color: #fff;
    padding: 13px 0 12px;
    float: right;
}

.photoButton a:hover{
    background: #333;
}

.closeBtn {
    position: absolute;
    right: -35px;
    top: 0px;
    cursor: pointer;
}

.closeBtn:hover{
    opacity: 0.6;
}




.btn:hover {
  opacity: .8;
}

/* オーバーレイ */
.overlay {
  /* 位置を固定 */
  position: fixed;
  top: 0;
  left: 0;
  /* 画面いっぱいに広がるようにする */
  width: 100%;
  height: 100vh;
  /* rgbaを使って60%の黒いオーバーレイにする */
  background: rgba(0, 0, 0, 0.6);  
  /* デフォルトでは見えないようにする */
  opacity: 0;
  visibility: hidden;
  /* 表示する際の変化の所要時間 */
  transition: .3s;
}

/* activeクラスのついたオーバーレイ */
.overlay.active {
  /* activeクラスがついたときにオーバーレイを表示する */
  opacity: 1;
  visibility: visible;
}

/* モーダルウィンドウ */
.modal {

  transition: .3s;
}

/* activeクラスのついたモーダルウィンドウ */
.modal.active {
  opacity: 1;
  visibility: visible;
}

/* モーダルウィンドウ内の閉じるボタン */
.modal .close {
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  font-size: 20px;
}

.modal h2 {
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 10px;
}

.modal p {
  font-size: 13px;
}

}




@media screen and (max-width: 767px) {

	.modalOpen .modalArea{
		position: fixed;
		height: auto;
	}
	
	.modalWrapper{
		padding: 0;
	}
	
	.modalContent .inner{
		padding: 0px 20px 50px;
	}
	
	.modalContent{
		overflow-y: scroll;
		height: 100vh;
	}
	
	.closeBtn{
		position: relative;
		right: 0;
		text-align: center;
		padding: 30px 0;
	}
	
	.btn{
		display: inline-block;
	text-decoration: none;
	padding: 10px 20px;
	border-radius: 5px;
	color: #fff;
	margin: -3vw 18vw 0 -7vw;
	transition: 0.3s;
	width: 40vw;
	height: 26vw;
	}
	



  
  
  
  .btn:hover {

	transition: .3s;
  }
  
  /* activeクラスのついたオーバーレイ */
  .overlay.active {
	/* activeクラスがついたときにオーバーレイを表示する */
	opacity: 1;
	visibility: visible;
  }
  
  /* モーダルウィンドウ */
  .modal {

	transition: .3s;
  }
  
  /* activeクラスのついたモーダルウィンドウ */
  .modal.active {
	opacity: 1;
	visibility: visible;
  }
  
  /* モーダルウィンドウ内の閉じるボタン */
  .modal .close {
	position: absolute;
	top: 10px;
	right: 20px;
	cursor: pointer;
	font-size: 20px;
  }
  
  .modal h2 {
	font-size: 18px;
	font-weight: normal;
	margin-bottom: 10px;
  }
  
  .modal p {
	font-size: 13px;
  }
  .modaal-content-container > .scroll > .img > img{
    width: 66vw !important;
  }

  .photoButton{
    margin-top: 30px;
    overflow: hidden;
}

.photoButton img{
    margin-right: 6px;
    vertical-align: middle;
}

.photoButton a {
    width: 190px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    background: #c09c56;
    color: #fff;
    padding: 13px 0 12px;
    float: right;
}

.photoButton a:hover{
    background: #333;
}
	}