@charset "UTF-8";

.modal_wrapper {
 width: 50% ;
 max-height: 90%;
 margin: 50px 0;
 padding: 10px 20px ;
 background: #fff ;
 position: fixed ;
 display: none ;
 z-index: 101 ;
 left: 23%!important;
 top: 0!important;
 box-shadow: 0 0 30px #ddd;
 overflow-y: scroll;
}

#modal-overlay {
 z-index: 100 ;
 display: none ;
 position: fixed ;
 top: 0 ;
 left: 0 ;
 width: 100% ;
 height: 120% ;
 background-color: rgba(255,255,255,0.9);
}

.button-modal {

}

.button-modal a {
   color: #000000;
   text-decoration: none;
   width: 40px;
   height: 40px;
   display: inline-block;
   border-radius: 50%;
   font-size: 33px;
   margin: 0;
   text-align: center;
   background: #fff;
   cursor:pointer;
   position:fixed;
  right:20px !important;
   top:10px !important;
   line-height: 133%;
}

.button-link:hover {
 cursor: pointer ;
 opacity: 0.7;
}
a#modal-close.button-modal{
 font-size: 55px;
 width: 80px;
 height: 80px;
}
@media only screen and (max-width:768px){
 .modal_wrapper {
   width: 85% ;
   max-height: 80%;
   margin: 0;
   padding: 10px 10px ;
   left: 4%!important;
   top: 70px!important;
 }
 .button-modal {
   line-height: 30px;
   width: auto;
   margin: auto;
   z-index: 99;
 }
}

@media only screen and (max-width:430px){
.button-modal a {
     width: 30px;
     box-shadow: 0 0 20px #ddd;
     height: 30px;
     border-radius: 50%;
     font-size: 20px;
top:-75px !important;
right:10px !important;
 }
}
/* ｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｓｐグローバルナビモーダル ｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰ*/
@media only screen and (max-width:768px){
	.lock {
    overflow:hidden;
}
.modal-content{
	display:none;
}
.modal-content ul{
  width: 100%;
  height: auto;
	margin: 30px 0 0 0;
  padding: 0;
  float: none;
}
.modal-content ul li{
  float: none;
  padding: 15px 0px;
  display: block;
}

.modal-content ul li a{
  color: #4d4d4d;
  display: block;
}
.modal-overlay {
    z-index: 9999998;
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:120%;
    background-color:rgba(0,0,0,0.8);
}
.modal-wrap {
    z-index: 9999999;
    display:none;
    position:fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
	overflow-x:hidden;
	-webkit-overflow-scrolling: touch;
  transition: 0.5s;
    background-color: rgba(255,255,255,0.8);
}

.modal-wrap_filter {
    /* z-index: 9999999;
    display:none;
    position:fixed;
    bottom: 0;
    left:0;
    width:100%;
    height:100%;
	overflow-x:hidden;
	-webkit-overflow-scrolling: touch; */
  z-index: 9999998;
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:120%;
  background-color:rgba(0,0,0,0.8);
}

.modal-open {
    color:#00f;
    text-decoration:underline;
}
.modal_btn{
		position: fixed;
	  z-index: 99;
	  right: 0;
	  top: 0;
}
.modal_btn:hover {
  cursor:pointer;
}

.modal-close {
	position:fixed;
	top: 30px;
	right: 30px;
	/* padding:20px !important; */
	transform: translate3d(0, 0, 0);
	z-index:9999;
  color: #4d4d4d;
  font-size: 30px;
  line-height: 1;
  font-weight: bold;
}

.modal-close:hover{
  color: #fff!important;
  opacity: 0.7;
  cursor: pointer;
}

.MDL_window_wrap {
	max-width:auto;
	position:absolute;
	padding: 30px;
	box-sizing: border-box;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	/* position: relative; */
	text-align: left;
	width: 60vw;
  height: 100vh;
	/* margin: 30px auto; */
	top: 0;
	right: 0;
  background: rgba(242,237,240,0.9);
  /* transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%); */
}
}
