@charset "UTF-8";
/* CSS Document */
.SPCH-ctvHeader{
	z-index: 5555!important;
}


/*背景固定用*/
.fixed-body{
	position: fixed;
	width: 100%;
}

.modal_open{
	cursor: pointer;
}
 
.modal_box {
    position: fixed;
    z-index: 7777;
    display: none;
    width: 90%;
    max-width: 800px;
	height: 80vh;
    margin: 0;
    padding: 0 0vw 0 2vw;
	background-color: #fffbec;
	background-image: url(../img/bg-modal.png);
	background-size: 200px auto;
	background-repeat: repeat;
	border-radius: 3px;
  overflow: hidden;
/*	border: solid 5px #eea72b;*/
}

.scroll-wrap{
	overflow-y: scroll;
	overflow-x: hidden;
	height: 100%;
	padding: 0 1vw 0 0;
}

.scroll-wrap::-webkit-scrollbar {
  	background-color: #aaa;
  	width:10px;
/*  	border-radius: 1em;*/
}

.scroll-wrap::-webkit-scrollbar-thumb {
  	background-color: #eea72b;
/*  	border-radius: 1em;*/
}	
 
.modal_close {
  position: absolute;
  top: 10px;
  right: 15px;
  display: block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
  border: solid 3px rgba(255,255,255,.5);
	background-color: #eea800;
	cursor: pointer;
	content: " ";
	background-image: url(../img/close.png);
	background-position: center center;
	background-size: 100% auto;
	background-repeat: no-repeat;
	transform: rotateZ(45deg);
	transition: all 0.3s;
}

.modal_close:hover{
	transform: rotateZ(135deg);
}

.modal_prev {
    position: absolute;
    top: 45%;
    left: -60px;
    display: block;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: #eea800;
	cursor: pointer;
	content: " ";
	background-image: url(../img/prev.png);
	background-position: center center;
	background-size: 100% auto;
	background-repeat: no-repeat;
}

.modal_next {
    position: absolute;
    top: 45%;
    right: -60px;
    display: block;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: #eea800;
	cursor: pointer;
	content: " ";
	background-image: url(../img/next.png);
	background-position: center center;
	background-size: 100% auto;
	background-repeat: no-repeat;
}
 
.modal_close i {
    line-height: 62px;
    vertical-align: bottom;
}
 
.modal_bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 6666;
    display: none;
    width: 100%;
    height: 120%;
    background-color: rgba(0,0,0,0.8);
}
 
.link_area {
	position: absolute;
	bottom: 10px;
    overflow: hidden;
/*    max-width: 410px;*/
	width: 100%;
/*    margin: 60px auto 0;*/
    text-align: center;
}
 
.link_area .modal_link {
    display: inline;
}
 
.link_area .modal_link a {
    display: inline-block;
    width: 120px;
    color: #fff;
    line-height: 2;
    text-decoration: none;
    margin: 0px 10px;
    background-color: #eea800;
	cursor: pointer;
}
 
.link-area ul li.modal_link:first-child a {
    float: left;
}
 
.link-area ul li.modal_link:last-child a {
    float: right;
}
 
 
@media screen and (max-width: 959px) {
 
/*  ウィンドウサイズ959px以下の時のスタイル  */
	
.modal_box {
	padding: 0 0vw 0 2vw;
	height: 70vh;
}
	
.scroll-wrap{
	overflow-y: scroll;
	overflow-x: hidden;
	height: 100%;
	padding: 0 1vw 0 0;
}
 
.scroll-wrap::-webkit-scrollbar {
  	background-color: #aaa;
  	width:10px;
/*  	border-radius: 1em;*/
}

.scroll-wrap::-webkit-scrollbar-thumb {
  	background-color: #eea72b;
/*  	border-radius: 1em;*/
}	

  .modal_close {
    width: 40px;
	  height: 40px;
	  top: 5px;
	  right: 15px;
	  background-color: rgba(238,169,0,1);
    border: solid 3px rgba(255,255,255,.5);
  }
	
  .modal_next {
      width: 40px;
	  height: 40px;
	  top: 45%;
	  right: -20px;
	  box-shadow: 0 0 3px 1px rgba(0,0,0,0.3);
	  background-color: rgba(238,169,0,0.8);
  }
	
  .modal_prev {
      width: 40px;
	  height: 40px;
	  top: 45%;
	  left: -20px;
	  box-shadow: 0 0 3px 1px rgba(0,0,0,0.3);
	  background-color: rgba(238,169,0,0.8);
  }
 
  .modal_close i {
      line-height: 44px;
  }
 
  .link_area {
      margin: 25px auto 0;
  }
 
  .link_area .modal_link a {
      margin: 0 auto;
  }
 
  .link_area ul li.modal_link:first-child a {
      float: none;
      margin-top: 0;
  }
 
  .link_area ul li.modal_link:last-child a {
      float: none;
  }
 
}
