
@media screen and (min-width :995px) and (max-width: 1304px) {
	.OptionWideRWD #Contents .modal img {
		height: 275px;
	}
}

map area {
  border:none;
  outline:none;
}

#PopUpContents {
  padding: 0;
}

.OriginBack {
	width:100%;
	min-height:calc(100vh - 50px - 61px - 106px - 50px);
  background: linear-gradient(#000, rgba(0,0,0,.7));
}

.OriginBack > #Contents {
	background-color:inherit;
	padding-top:23px;
	position:relative;
}

.mapWrap {
  margin-top: -60px;
  text-align: center;
}
.mapWrapInner {
  display: inline-block;
  position: relative;
  width: 100%;
  max-width: 591px;
}
.mapWrapInner2 {
  display: block;
  position: relative;
  width: 100%;
  max-width: 275px;
  margin: auto;
}

.modal {
  position:fixed;
  width:100%;
  height:100vh;
  top:0;
  left:0;
  display: none;
  z-index: 3;
}
.overLay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(11, 11, 11, 0.8);
}
.modal .modalInner {
  position:absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
}
.modal .modalClose {
  top: -19px !important;
  right: -17px !important;
  opacity: 0.65;
}
.modal .modalClose:hover, 
.modal .modalClos:focus {
  opacity: 1;
}

.noteWrap .mfp-content {
  z-index: 1046;
}
.mapListBox {
  margin: 0 0 15px;
  position: relative;
  padding: 12px 12px 10px;
  background-color: #fff;
  border: 2px solid #CB1410;
  border-radius: 5px;
  text-align: left;
  z-index: 1045;
}
.mapListBox:after{
  content: "";
  position: absolute;
  right: 0;
  bottom: -15px;
  left: 0;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-color: #CB1410 transparent transparent transparent;
  border-width: 15px 8px 0 8px;
}
.mapListBox .LinkListStyle1 a:link,
.mapListBox .LinkListStyle1 a:visited,
.mapListBox .LinkListStyle1 a:hover,
.mapListBox .LinkListStyle1 a:active {
  color: #606060;
}

.mapListWrap {
  position: absolute;
  display: none;
}

.mapListWrap ul {
  margin-bottom: 0 !important;
}
.mapListWrap ul li {
  white-space: nowrap;
}

.boxContent {
  max-width: 900px;
  /*width: 90%;*/
  margin: 0 auto;
  background: #fff url("../image/trailmap/note_bg_l.png") center top repeat-y;
  background-size: 100%;
}
.boxContent .Inner {
  padding: 8% 0 28px;
}
.boxContent .Inner:after {
	content: "";
	display: block;
	clear: both;
}
.boxContent .colL,
.boxContent .colR {
  float: left;
  width: calc(50% - 2.2%);
  padding: 0 20px;
  -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
  overflow-y: auto;
  height: 390px;
}
.boxContent .colL {
  margin-right: 2.2%;
}
.boxContent .colL p,
.boxContent .colL ul {
  background-color: #F6F2EF;
}
.boxContent .colR {
  margin-left: 2.2%;
}
.boxContent .colR .ImgOnlyStyle {
  margin-bottom: 0;
}
.boxContent .Title {
  margin:  0 0 15px;
  font-size: 100%;
  font-weight: bold;
}
.boxContent img {
  max-width: 100%;
  height: auto;
}

.Lead {
  color:#fff;
  font-size: 12px;
}

.OriginBack .Title img {
  margin-left:40px;
  margin-bottom:15px;
  width:186px;
  height:90px;
}


.modalClose {
	position:absolute;
	top:2%!important;
	right:2%!important;
	width:60px!important;
	height:60px!important;
	cursor:pointer!important;
	z-index: 10;
}
.modalClose:before {
	position: absolute;
	top: 50%;
	left: 25%;
	width: 50%;
	height: 2px;
	content: "";
	background-color: #fff;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transition: background-color .3s;
}
.modalClose:after {
	position: absolute;
	top: 50%;
	left: 25%;
	width: 50%;
	height: 2px;
	content: "";
	background-color: #fff;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	transition: background-color .3s;
}



.mfp-wrap {
  max-width: 1275px;
  padding: 0 15px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
@media screen and (min-width :995px) and (max-width: 1304px) {
  .OptionWideRWD .mfp-wrap  {
    max-width: 1275px;
  }
}
@media screen and (max-width: 994px) {
  .JS .mfp-wrap  {
    max-width: 965px;
  }
}
@media screen and (max-width: 767px) {
}

.mfp-container {
  padding: 0 50px;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  max-width: 100%;
  width: auto;
}


/*
.mfp-close {
	top:-60px !important;
	right:0 !important;
}
html:not(.SP) div[id^="note"] .mfp-close {
  position: fixed;
  top: 0 !important;
  right: 1% !important;
}
@media all and (-ms-high-contrast: none) {
  html:not(.SP) div[id^="note"] .mfp-close {
    position: absolute;
    top: -43px !important;
    right: 1% !important;
  }
}*/

.mfp-close {
  font-size: 30px;
}

.mfp-arrow {
  left:50%;
	width:50px;
	height:50px;
	margin-top: 0;
  opacity: 1;
}
.mfp-arrow:active {
  margin-top: 0px;
}
.mfp-arrow:before,
.mfp-arrow:after {
  border: 0;
  content: none;
  margin-top: 8px;
  /*margin-left: 8px;*/
}


.mfp-arrow-left {
	/*left:3%;*/

}
.mfp-arrow-left:before {
  margin-left: 25px;
/*	position: absolute;
  top: 20%;
  left:4%;
  right: 4%;*/
  width: 60%;
  height: 60%;
  content: "";
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(-45deg);
}

.mfp-arrow-right {
  /*right: 3%;*/

}
.mfp-arrow-right:before {
  margin-left: -6px;
/*  position: absolute;
    top: 20%;
    right: 4%;
    left: 4%;*/
    width: 60%;
    height: 60%;
    content: "";
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

@media screen and (max-width: 767px) {
  .boxContent {
    width: 100%;
    height: 77vh;
    overflow-y: auto;
    background: #fff url("../image/trailmap/note_bg_sp.png") left top repeat-y;
    background-size: 100%;
  }
  .boxContent .Inner {
    padding-top: 63px;
  }

  .boxContent .colL,
  .boxContent .colR {
    float: none;
    width: auto;
    height: auto;
    padding: 0 20px 0 15px;
    margin-left: 6.2%;
    margin-right: 0;
  }
  .mCSB_inside > .mCSB_container {
    margin-right: 0px;
  }
  .mfp-arrow {
    width: 72px;
  }

  .OriginBack .Title img {
    margin-left: 60px;
    width:93px;
    height:45px;
  }

  .Lead {
    font-size: 10px;
  }

  .mfp-container {
    padding: 0;
  }
  .mfp-arrow-right {
		top: 45%;
    left: auto;
		right: 0;
		width: 40px;
		height: 40px;
    border-color:#000;
	}
	.mfp-arrow-left {
		top: 45%;
		left: 5%;
		width: 40px;
    height: 40px;
  }
  
	.mfp-arrow-left:before,
  .mfp-arrow-right:before {
      border-color:#000;
      margin-left: 0;
  }
}

@media screen and (max-width: 579px) {
  .OriginBack .Title img {
    margin-left: 0;
  }
}

@media screen and (max-width: 399px) {
  .Lead {
    width: 64%;
  }
}