/*
 *  Remodal - v1.0.5
 *  Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
 *  http://vodkabears.github.io/remodal/
 *
 *  Made by Ilya Makarov
 *  Under MIT License
 */

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

/* Hide scroll bar */

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

/* Anti FOUC */

.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 {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Necessary styles of the modal dialog */

.remodal {
  position: relative;

  outline: none;

  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

/* 20160628追加 */
.remodal{
  font-size:14px;
  line-height:1.3em;
}

/* モーダル閉じるボタンCSS*/
@media screen and (min-width: 100px) and (max-width: 699px){

.modal-close {width: 30px;height: 30px;position: fixed;top: -7.5px;right: -7.5px;z-index: 105;background: #ffffff;border-radius: 100%;cursor: pointer;display: block;overflow: hidden;padding: 0;text-indent: 200%;white-space: nowrap;}
.modal-close:before {position: absolute;top: 0;right: 0;bottom: 0;left: 0;color: #333333;content: "\00d7";display: block;font-size: 22px;font-weight: 700;line-height: 30px;margin: auto;text-align: center;text-indent: 0;-webkit-transition: color 0.15s linear;transition: color 0.15s linear;}
.modal-close {text-indent: -999px;}
.modal-close {height: 40px;width: 40px;top: 0;right: 0;background: #111111;border-radius: 0; position: fixed;}
.modal-close:before,
.modal-close:hover:before {color: #cccccc;font-size: 28px;font-weight: 700;line-height: 40px;}

}

@media screen and (min-width: 700px) and (max-width: 1024px){

.modal-close {width: 30px;height: 30px;position: absolute;top: -7.5px;right: -7.5px;z-index: 105;background: #ffffff;border-radius: 100%;cursor: pointer;display: block;overflow: hidden;padding: 0;text-indent: 200%;white-space: nowrap;}
.modal-close:before {position: absolute;top: 0;right: 0;bottom: 0;left: 0;color: #333333;content: "\00d7";display: block;font-size: 22px;font-weight: 700;line-height: 30px;margin: auto;text-align: center;text-indent: 0;-webkit-transition: color 0.15s linear;transition: color 0.15s linear;}
.modal-close {text-indent: -999px;}

}

@media screen and (min-width: 1025px) and (max-width: 3000px){

.modal-close {width: 30px;height: 30px;position: absolute;top: -7.5px;right: -7.5px;z-index: 105;background: #ffffff;border-radius: 100%;cursor: pointer;display: block;overflow: hidden;padding: 0;text-indent: 200%;white-space: nowrap;}
.modal-close:before {position: absolute;top: 0;right: 0;bottom: 0;left: 0;color: #333333;content: "\00d7";display: block;font-size: 22px;font-weight: 700;line-height: 30px;margin: auto;text-align: center;text-indent: 0;-webkit-transition: color 0.15s linear;transition: color 0.15s linear;}
.modal-close {text-indent: -999px;}

}
