/*! Lity - v2.3.1 - 2018-04-20
* http://sorgalla.com/lity/
* Copyright (c) 2015-2018 Jan Sorgalla; Licensed MIT */


.lity {
  z-index: 9990;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  white-space: nowrap;
  background: #0b0b0b;
  background: rgba(0, 0, 0, 0.55);
  outline: none !important;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.lity.lity-opened {
  opacity: 1;
}
.lity.lity-closed {
  opacity: 0;
}
.lity * {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.lity-wrap {
  z-index: 9990;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
  outline: none !important;
}
.lity-wrap:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em;
}
.lity-loader {
  z-index: 9991;
  color: #fff;
  position: absolute;
  top: 50%;
  margin-top: -0.8em;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.lity-loading .lity-loader {
  opacity: 1;
}
.lity-container {
  z-index: 9992;
  position: relative;
  text-align: left;
  vertical-align: middle;
  display: inline-block;
  white-space: normal;
  max-width: 100%;
  max-height: 100%;
  outline: none !important;
}
.lity-content {
	z-index: 9993;
	width: 100%;
	-webkit-transform: scale(1);
	  -ms-transform: scale(1);
	   -o-transform: scale(1);
		  transform: scale(1);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: -o-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease, -o-transform 0.3s ease;
}
.lity-loading .lity-content,
.lity-closed .lity-content {
  -webkit-transform: scale(0.8);
      -ms-transform: scale(0.8);
       -o-transform: scale(0.8);
          transform: scale(0.8);
}
.lity-content:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
          box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}


/*///// lity-close /////*/
.lity-close {
	z-index: 9994;
	position: fixed;
	top: 10px;
	right: 15px;
}
.lity-close {
	display:block;
	overflow:hidden;
	height:60px;
	width:60px;
	-webkit-transform:rotate(45deg);
	-moz-transform:rotate(45deg);
	-ms-transform:rotate(45deg);
	-o-transform:rotate(45deg);
	transform:rotate(45deg);
}
.lity-close:before {
	content:'';
	display:block;
	position:absolute;
	height:0px;
	width:2px;
	left:30px;
	top:0;
	background:#aaa;
	border-radius:2px;
}
.lity-close:after {
	content:'';
	display:block;
	position:absolute;
	width:0px;
	height:2px;
	top:30px;
	left:0;
	background:#aaa;
	border-radius:2px;
}
.lity-close:after {
	width:60px;
}
.lity-close:before {
	height:60px;
}
.lity-close::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.lity-close,
.lity-close:hover,
.lity-close:focus,
.lity-close:active,
.lity-close:visited {
	-webkit-appearance: none;
	cursor: pointer;
	text-decoration: none;
	border: 0;
	background: none;
	outline: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

/*
.lity-close {
  z-index: 9994;
  width: 35px;
  height: 35px;
  position: fixed;
  right: 0;
  top: 0;
  -webkit-appearance: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  padding: 0;
  color: #fff;
  font-style: normal;
  font-size: 35px;
  font-family: Arial, Baskerville, monospace;
  line-height: 35px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  border: 0;
  background: none;
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.lity-close::-moz-focus-inner {
  border: 0;
  padding: 0;
}
.lity-close:hover,
.lity-close:focus,
.lity-close:active,
.lity-close:visited {
  text-decoration: none;
  text-align: center;
  padding: 0;
  color: #fff;
  font-style: normal;
  font-size: 35px;
  font-family: Arial, Baskerville, monospace;
  line-height: 35px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  border: 0;
  background: none;
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.lity-close:active {
  top: 1px;
}
*/


/* Image */
.lity-image img {
  max-width: 100%;
  display: block;
  line-height: 0;
  border: 0;
}


/* iFrame */
.lity-iframe .lity-container,
.lity-youtube .lity-container,
.lity-vimeo .lity-container,
.lity-facebookvideo .lity-container,
.lity-googlemaps .lity-container {
  width: 90%;
  max-width: 900px;
}
.lity-iframe-container {
  width: 100%;
  height: 80vh;
  /*padding-top: 56.25%;*/
  overflow: auto;
  pointer-events: auto;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  -webkit-overflow-scrolling: touch;
}
.lity-iframe-container iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
          box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #000;
}
.lity-hide {
  display: none;
}


/*   pop-sch
******************************************/
.pop-sch {
	position: relative;
	width: 800px;
    max-height: 86vh;
	/*height: 86vh;*/
	margin: auto;
	border-radius: 6px;
	overflow-y: scroll;
}
.pop-sch-in {
	width: 100%;
	height: 100%;
	padding: 0 35px;
	padding-top: 10px;
	padding-bottom: 50px;
	border-radius: 6px;
	background-color: #ffffff;
	overflow-y: scroll;
	-webkit-overflow-scrolling:touch;
    min-height: 500px;
}

/* scrollbar */
.pop-sch-in::-webkit-scrollbar {
    width: 9px;
}
.pop-sch-in::-webkit-scrollbar-track {
	background-color: #d6d6d6;
    border-radius: 0 6px 6px 0;
}
.pop-sch-in::-webkit-scrollbar-thumb {
	background-color: #666666;
}


/* close-btn（popup）*/
.close-btn {
	position: relative;
	cursor: pointer;
	contain: paint;
    touch-action: manipulation;
	pointer-events: auto;
	/*-webkit-backface-visibility:hidden;*/
	outline: none;
    z-index: 999999;
}
.close-btn:hover,
.close-btn:active {
	outline: none;
}
.close-btn.icon-close {
	width: 35px;
    height: 35px;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    border: 2px solid #d5d5d5;
	background-color: #ffffff;
    border-radius: 50%;
	font: initial;
    padding: 0;
	margin-left: auto;
    margin-right: -25px;
    margin-bottom: -15px;
}
.close-btn.icon-close:before {
    content: "\e5cd";
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    position: relative;
    top: 0;
    left: 0;  
}

.close-btn.icon-close:hover {
	border: 2px solid #444444;
	background-color: #656565;
    color: #ffffff;
}


/*///// display none /////
.lity-close i {
    display: none;
}
*/


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

	.lity-container {
		vertical-align: middle;
		padding-top: initial;
	}
	.lity-close:before,
	.lity-close:after {
		display: none;
	}
	#kanri {
		margin-top: 0;
	}
	
	.lity-close {
        font-weight: normal;
        transform: rotate(0deg);
        height: auto;
        width: auto;
        top: 10px;
        right: 10px;
	}
	.lity-close i {
        display: block;
        color: #fff;
        text-shadow: 0 0 3px #000000;
        font-size: 3.5rem;
	}
    
    

}










