@charset "utf-8";

.btn-modal,
.btn-shoes{
    text-decoration: none;
    color: inherit;
    display: block;
    height: auto;
}

/*
.btn-modal:hover{
    opacity: 0.75;
}
*/

html.modal-on,
html.modal-on body{
/*
    width: 100%;
    height: 100%;
    min-height: 100%;
    position: relative;
*/
    overflow: hidden;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

#modal{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    z-index: 1001;
}

#modal .modal-bg{
    background: #2e2e2e;
    opacity: 0.9;
    filter: alpha(opacity=90);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#modal .modal-contents{
    position: absolute;
    max-width: 1200px;
    padding: 0px 60px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    top: 30px;
    right: 0;
    bottom: 30px;
    left: 0;
}

.modal-main{
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
    height: 84%;
    background: #000;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}
.ios .modal-main{
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

#detail{
  height: 100%;
}

#detail iframe{
  width: 100%;
  height: 100%;
}
#detail .modal-inner{
    line-height: 25px;
    font-size: 13px;
}

/*****中身*****/
#detail .modal-inner{
	padding: 60px;
}
#detail .modal-inner h3{
  text-align: center;
  font-size: 150%;
}
#detail .modal-inner dl{
  color: #ecdeff;
}
#detail .modal-inner dl dt{
  padding: 1em 0;
  font-weight: bold;
  text-indent: -1em;
  padding-left: 1em;
  border-top: 1px solid #412f3e;
  margin-top: 2em;
}
#detail .modal-inner dl dd{
  text-indent: -2em;
  padding-left: 2em;
}
#detail .modal-inner dl dd li{
  padding-left: 0;
  text-indent: 0;
  margin-bottom: 1em;
  line-height: 1.5em;
}
.modal-close{
    position: absolute;
    width: 30px;
    height: 30px;
    top: 15px;
    right: 100px;
}

.modal-close img{
    width: 100%;
    height: auto;
}

@media screen and (max-width: 1060px){
  .modal-close{
    right: 10px;
  }
}
@media screen and (max-width: 1000px){
	#modal .modal-contents{
		max-width: 900px;
	}
	.modal-close{
		right: 0;
	}
}

@media screen and (max-width: 768px){
	.modal-close{
		right: 40px;
	}
	.modal-main{
		width: 90%;
	}
	#detail .modal-inner{
		padding: 40px;
	}
	#detail .box{
		padding-top: 40px;
	}
	#detail .box .image{
		float: none;
		width: 80%;
		margin: 0 auto;
	}
	#detail .box .text{
		margin-left: 0;
		padding: 0;
		padding-top: 30px;
	}
	#detail h1{
		padding-bottom: 10px;
	}
}

@media screen and (max-width: 640px){
    
    #modal .modal-contents{
        top: 10px;
        bottom: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }
    #modal .modal-main{
      height: 90%;
      height: calc(100% - 100px);
    }
    .modal-close{
        top:  10px;
        right: 30px;
        height: 30px;
        width: 30px;
    }
}

@media screen and (max-width: 480px){
/*
    .modal-main{
        padding: 20px 15px;
    }
*/
    .modal-close{
	    right: 20px;
    }
    #detail .box{
	    padding-top: 20px;
    }
    #detail .modal-inner{
	    padding: 30px 15px;
    }
    #detail .modal-inner p{
	    font-size: 12px;
    }
    #detail h1{
	    font-size: 38px;
	    padding-bottom: 5px;
    }
    #detail .box .text{
	    padding: 0;
	    padding-top: 20px;
    }
    #detail .box .image{
	    line-height: 0;
	    width: 100%;
    }
}