/* ==========================================================================
   Remodal's necessary styles
   ========================================================================== */

/* Hide scroll bar */

html.remodal-is-locked {
  overflow: hidden;
  touch-action: none;
}

.remodal,
[data-remodal-id] {
  display: none;
}

/* Necessary styles of the overlay */

.remodal-overlay {
  position: fixed;
  z-index: 9999;
  top: -5000px;
  right: -5000px;
  bottom: -5000px;
  left: -5000px;

  display: none;
}

/* Necessary styles of the wrapper */

.remodal-wrapper {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  overflow: auto;
  text-align: center;
  -webkit-overflow-scrolling: touch;
}

.remodal-wrapper:after {
  display: inline-block;
  height: 100%;
  margin-left: -0.05em;
  content: "";
}

/* Fix iPad, iPhone glitches */

.remodal-overlay,
.remodal-wrapper {
  backface-visibility: hidden;
}

/* Necessary styles of the modal dialog */

.remodal {
  position: relative;
  outline: none;
  text-size-adjust: 100%;
}

.remodal-is-initialized {
  /* Disable Anti-FOUC */
  display: inline-block;
}


/* ==============================

CUSTOM

============================== */
.remodal{
    border: 1px solid #fff;
}
.remodal #AboutBox{
    text-align: left;
    line-height: 1.8;
    font-size: 14px;
    letter-spacing: 0.1em;
}
.remodal #AboutBox h1,
.remodal #MapBox h1{
    font-size: 34px;
    text-align: center;
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}
.remodal #AboutBox p:nth-of-type(1){margin-bottom: 10px;}
.remodal #AboutBox a{
    color: #fa9900;
    text-decoration: underline;
}
.remodal_custom{
    max-width: 1200px;
    border: 0;
    padding: 0;
}
.remodal #MapBox{
height: 0;
/*overflow: hidden;*/
padding-bottom: 56.25%;
position: relative;
}
.remodal #MapBox iframe{
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
border: 0;
}
.remodal #MapBox .remodal-close{top: -35px;}
.remodal #MapBox .remodal-close::before{}

/* remodal時の調整
========================= */

html.remodal-is-locked {
    overflow-y: scroll;
}








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

/* ==============================

SP_CUSTOM

============================== */

.remodal{
    /*border: 1px solid #fff;*/
    width: 90%;
    margin: 0;
    padding: 25px;
}
.remodal #AboutBox{
    font-size: 13.5px;
    /*text-align: left;
    line-height: 1.8;
    letter-spacing: 0.1em;*/
}
.remodal #AboutBox h1,
.remodal #MapBox h1{
    font-size: 30px;
    /*text-align: center;
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: 0.1em;
    margin-bottom: 20px;*/
}
.remodal #AboutBox p:nth-of-type(1){margin-bottom: 20px;}
/*.remodal #AboutBox a{
    color: #fa9900;
    text-decoration: underline;
}*/
.remodal_custom{
    max-width: inherit;
    border: 0;
    padding: 0;
}
.remodal #MapBox{
padding-bottom: 150%;
/*height: 0;
overflow: hidden;
position: relative;*/
}
/*.remodal #MapBox iframe{
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}*/


}


