@charset "utf-8";



/*////////////////////////////////////////////////////////////////////////////////
モーダルウィンドウ
////////////////////////////////////////////////////////////////////////////////*/

* {-ms-touch-action: none;}

/*#modalWindow,
#modalWindowLoadingIcon,
#modalWindowContents,
#modalWindowClose {
  opacity: 0;
}*/


#modalWindow {
  /* background: #000; */
  bottom: 0;
  height: 100%;
  left: 0;
  opacity: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1000;
}

#modalWindow iframe {
  /* border: 2px solid aqua; */
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: 1;
}

#modalWindow svg {
  overflow: visible;
}

#modalWindow * {
  /* backdrop-filter: none; */
  box-sizing: border-box;
}

#modalWindowOverlay {
  /* background: rgba(255, 255, 255, .95); */
  background: #000;
  bottom: 0;
  height: 100%;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1;
}

@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {

  #modalWindowOverlay {
    /* background: rgba(255, 255, 255, 1); */
  }
}

@media (max-width: 750px) {

  #modalWindowOverlay {
    /* background: rgba(255, 255, 255, 1); */
  }
}

#modalWindowBody {
  background: transparent;
  height: 200px;
  /* height: auto !important; */
  /* border: 2px solid magenta; */
  left: 0;
  overflow: hidden;
  /* padding: 30px; */
  position: absolute;
  top: 0;
  /* min-width: 250px; */
  width: 200px;
  z-index: 2;
}

#modalWindowBody.text {
  height: 50%;
  width: 40%;
}

#modalWindowBody.images #modalWindowContents {
}



#modalWindowClose,
#modalWindowClose2 {
  /* border: 2px solid #00adee; */
  border-radius: 100%;
  color: #FFF;
  cursor: pointer;
  font-size: 12px;
  height: 40px;
  left: 50px;
  line-height: 46px;
  position: absolute;
  /* right: 0; */
  text-align: center;
  top: 51px;
  width: 40px;
  z-index: 3;
}

#modalWindowClose {
  display: none;
}

#modalWindowClose2 {
}

#modalWindowClose:before,
#modalWindowClose2:before,
#modalWindowClose:after,
#modalWindowClose2:after {
  background: #fff;
  content: "";
  display: block;
  height: 2px;
  left: 0;
  margin: 0px 10px;
  position: absolute;
  top: 50%;
  /* transform: rotate(-45deg) scaleX(0); */
  /* min-width: 25px; */
  width: 25px;
  z-index: 1;
}

#modalWindowClose:before,
#modalWindowClose2:before {
  /* top: 50px; */
  transform: rotate(45deg);
}

#modalWindowClose:after,
#modalWindowClose2:after {
  /* top: 50px; */
  transform: rotate(-45deg);
}

/*
#modalWindowClose svg,
#modalWindowClose2 svg {
  display: none;
  height: 17px;
  left: 50%;
  position: absolute;
  stroke-width: 3px;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 17px;
}

#modalWindowClose svg *,
#modalWindowClose2 svg * {
  stroke: #909090;
}
*/

#modalWindowClose svg,
#modalWindowClose2 svg {
  display: none;
}

@media (max-width: 750px) {

  #modalWindowClose2 {
    height: 36px;
    left: 15px;
    line-height: 36px;
    top: 25px;
    width: 36px;
  }

  #modalWindowClose:before,
  #modalWindowClose2:before,
  #modalWindowClose:after,
  #modalWindowClose2:after {
    width: 18px;
  }

  #modalWindowClose:before,
  #modalWindowClose2:before {
    transform: rotate(45deg) translate(-3px, 3px);
  }

  #modalWindowClose:after,
  #modalWindowClose2:after {
    transform: rotate(-45deg) translate(-3px, -3px);
  }
}



#modalWindowLoadingIcon {
  bottom: 0;
  height: 60px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 60px;
  z-index: 2;
}

#modalWindowLoadingIcon:after {
  bottom: 0;
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1;
}

#modalWindowLoadingIcon {
  -webkit-animation: spin-1 10000ms linear infinite;
  -moz-animation: spin-1 10000ms linear infinite;
  -ms-animation: spin-1 10000ms linear infinite;
  -o-animation: spin-1 10000ms linear infinite;
  animation: spin-1 10000ms linear infinite;
}

#modalWindowLoadingIcon svg {
  height: 100%;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 100%;
}

#modalWindowLoadingIcon #preloaderObject-2 {
  -webkit-animation-delay: 75ms;
  -moz-animation-delay: 75ms;
  -ms-animation-delay: 75ms;
  -o-animation-delay: 75ms;
  animation-delay: 75ms;
}

#modalWindowLoadingIcon #preloaderObject-3 {
  -webkit-animation-delay: 150ms;
  -moz-animation-delay: 150ms;
  -ms-animation-delay: 150ms;
  -o-animation-delay: 150ms;
  animation-delay: 150ms;
}

#modalWindowLoadingIcon #preloaderObject-4 {
  -webkit-animation-delay: 225ms;
  -moz-animation-delay: 225ms;
  -ms-animation-delay: 225ms;
  -o-animation-delay: 225ms;
  animation-delay: 225ms;
}

#modalWindowLoadingIcon .obj {
  -webkit-animation: spin-1 1000ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
  -moz-animation: spin-1 1000ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
  -ms-animation: spin-1 1000ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
  -o-animation: spin-1 1000ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation: spin-1 1000ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

#modalWindowLoadingIcon .obj .st0 {
  fill: #DDD;
}

@-webkit-keyframes spin-1 {
  0% {-webkit-transform: rotate(0deg);}
  100% {-webkit-transform: rotate(360deg);}
}

@-moz-keyframes spin-1 {
  0% {-moz-transform: rotate(0deg);}
  100% {-moz-transform: rotate(360deg);}
}

@-ms-keyframes spin-1 {
  0% {-ms-transform: rotate(0deg);}
  100% {-ms-transform: rotate(360deg);}
}

@-o-keyframes spin-1 {
  0% {-o-transform: rotate(0deg);}
  100% {-o-transform: rotate(360deg);}
}

@keyframes spin-1 {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}

/*@-webkit-keyframes spin {
  0% {-webkit-transform: rotate(0deg);}
  100% {-webkit-transform: rotate(360deg);}
}

@-moz-keyframes spin {
  0% {-moz-transform: rotate(0deg);}
  100% {-moz-transform: rotate(360deg);}
}

@-ms-keyframes spin {
  0% {-ms-transform: rotate(0deg);}
  100% {-ms-transform: rotate(360deg);}
}

@-o-keyframes spin {
  0% {-o-transform: rotate(0deg);}
  100% {-o-transform: rotate(360deg);}
}

@keyframes spin {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}*/

.ajaxLoader-icon-loading {
  align-items: center;
  border-radius: 6px;
  display: flex;
  height: 60px;
  justify-content: center;
  left: calc(50% - 30px);
  opacity: 1;
  position: fixed;
  top: calc(50% - 30px);
  -webkit-transition: opacity .3s;
  transition: opacity .3s;
  width: 60px;
  z-index: 100;
}

.ajaxLoader-icon-loading-off {
  /* height: 0; */
  /* opacity: 0; */
  /* overflow: hidden; */
  /* width: 0; */
}

.ajaxLoader-icon-loading-inProgress {
  height: 60px;
  -webkit-transition-delay: 1s;
  transition-delay: 1s;
  width: 60px;
}

.ajaxLoader-icon-loading img {
  height: 24px;
  width: 24px;
}

.ajaxLoader-overlay {
  height: 100%;
  left: 0;
  opacity: 1;
  position: fixed;
  top: 0;
  -webkit-transition: opacity .5s;
  transition: opacity .5s;
  width: 100%;
  z-index: 100;
}

.ajaxLoader-overlay-off {
  height: 0;
  opacity: 0;
  overflow: hidden;
  width: 0;
}



/**
 * #preloader
 */

#preloader {
}

#preloader-icon {
  height: 60px;
  width: 60px;
}

#preloader.preloader-animation-paused {
  z-index: -1;
}

#preloader.preloader-animation-paused [id*=spinner-] svg,
#preloader.preloader-animation-paused [id*=spinner-] svg * {
  animation-play-state: paused;
}

#preloader-spinner-2 {
  height: 60px;
  /* transform: scale(.5); */
  width: 60px;
}

#preloader-spinner-2 > svg {
  /* -webkit-animation: modalWindow-spin-rotate-1 3s linear infinite; */
  animation: modalWindow-spin-rotate-1 3s linear infinite;
  height: 60px;
  width: 60px;
}

#preloader-spinner-2 > svg > circle {
  /* -webkit-animation: spin-dash-1 1.5s ease-in-out infinite; */
  animation: modalWindow-spin-dash-1 1.5s ease-in-out infinite;
  fill: none;
  stroke: #fff;
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: square;
  stroke-width: 3px;
}

@keyframes modalWindow-spin-rotate-1 {

  from {
    transform: rotate(0deg);
  }
  
  to {
    transform: rotate(360deg);
  }
}

@keyframes modalWindow-spin-dash-1 {

  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: square;
  }
  
  50% {
    stroke-dasharray: 108.1, 200;
    stroke-dashoffset: -40.3;
    stroke-linecap: square;
  }
  
  100% {
    stroke-dasharray: 108.1, 200;
    stroke-dashoffset: -143.3;
    stroke-linecap: square;
  }
}

#modalWindowContents {
  /* margin: 30px; */
  /* overflow: hidden; */
  /* z-index: 1; */
  /* background: #999; */
}

/*#modalWindowContentsInner {
  padding: 0 10px 0 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}*/

#modalWindowContentsInner {
  -webkit-overflow-scrolling: touch;
  /* align-items: center; */
  /* border: 2px solid magenta; */
  /* display: flex; */
  /* justify-content: center; */
  /* margin: 30px; */
  /* padding: 30px; */
  position: relative;
  z-index: 1;
}

#modalWindowContentsInner.modalWindow-scroll-off {
  /* overflow: hidden; */
  /* padding: 0; */
}

#modalWindowContentsInner::-webkit-scrollbar {
  background: #E9E9E9;
  width: 5px;
}

#modalWindowContentsInner::-webkit-scrollbar-thumb {
  background: #666;
}

#modalWindowContentsInner img {
  display: block;
  height: 100%;
  width: auto;
}

#modalWindowContentsInnerTitle {
  border-bottom: 1px solid #DDD;
  margin: 0 0 10px;
  padding: 0 0 10px;
}

#modalWindowDocumentTitle {
  border-bottom: 1px dotted #003451;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

#modalWindowMeta,
#modalWindowConsole {
  /* overflow: hidden; */
}

#modalWindowMeta {
  /*padding-top: 10px;*/
}

#modalWindowConsole {
  padding: 0;
}

/*#modalWindowConsole:before {
  content: '';
  border-top: 1px solid #DDD;
  height: 0;
  left: 0;
  position: absolute;
  width: 100%;
}*/

/*#modalWindowContentsIndex,
#modalWindowToggleCaption,
#modalWindowPrev,
#modalWindowNext {
  border-radius: 2px;
  display: inline-block;
  font-size: 12px;
  height: 30px;
  line-height: 30px;
  margin: 0 0 0 1px;
  padding: 0 20px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}*/

#modalWindowOneLineCaption,
#modalWindowOneLineCaption2,
#modalWindowContentsIndex,
#modalWindowContentsIndex2 {
  font-family: "Noto Sans Japanese", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}

#modalWindowContentsIndex,
#modalWindowToggleCaption,
#modalWindowPrev,
#modalWindowNext,
#modalWindowPrev2,
#modalWindowNext2 {
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

#modalWindowContentsIndex,
#modalWindowContentsIndex2 {
  /* display: none; */
}

#modalWindowContentsIndex {
  display: none;
}

#modalWindowContentsIndex2 {
  /* display: none; */
}

#modalWindowContentsIndex {
  bottom: 0;
  color: #fff;
  font-family: 'Lato';
  font-size: 12px;
  letter-spacing: .1rem;
  position: absolute;
  position: fixed;
  right: 50%;
  text-align: center;
  /* text-align: right; */
  transform: translate(50%, 0);
  width: 60px;
  white-space: nowrap;
}

#modalWindowContentsIndex span {
  color: #00adee;
}

#modalWindowContentsIndex span:not(:nth-child(1)) {
  color: #444;
}

#modalWindowContentsIndex2 {
  bottom: 70px;
  color: #fff;
  display: none;
  font-size: 12px;
  line-height: 12px;
  position: absolute;
  right: 50%;
  text-align: center;
  /* text-align: right; */
  transform: translate(50%, 0);
  width: 60px;
  white-space: nowrap;
  z-index: 3;
}

#modalWindowContentsIndex2 span {
  color: #00adee;
}

#modalWindowContentsIndex2 span:not(:nth-child(1)) {
  color: #444;
}

#modalWindowPrev,
#modalWindowNext,
#modalWindowPrev2,
#modalWindowNext2,
#modalWindowToggleCaption {
  color: #FFF;
  color: #000;
  cursor: default;
  -webkit-transition : border 250ms, background 250ms, color 250ms;
  -moz-transition : border 250ms, background 250ms, color 250ms;
  -o-transition : border 250ms, background 250ms, color 250ms;
  transition : border 250ms, background 250ms, color 250ms;
}

#modalWindowPrev.modalWindow-on,
#modalWindowPrev2.modalWindow-on,
#modalWindowNext.modalWindow-on,
#modalWindowNext2.modalWindow-on,
#modalWindowClose.modalWindow-on,
#modalWindowClose2.modalWindow-on,
#modalWindowToggleCaption.modalWindow-on {
  /* cursor: none; */
}

.inProgress #modalWindowPrev,
.inProgress #modalWindowPrev2,
.inProgress #modalWindowNext,
.inProgress #modalWindowNext2,
.inProgress #modalWindowClose,
.inProgress #modalWindowClose2,
.inProgress #modalWindowToggleCaption {
  /* cursor: default; */
}

#modalWindowPrev.modalWindow-off,
#modalWindowNext.modalWindow-off,
#modalWindowToggleCaption.modalWindow-off {
  background: #ddd;
}

#modalWindowPrev,
#modalWindowNext,
#modalWindowPrev2,
#modalWindowNext2 {
  border: 2px solid #0f0;
  display: block;
  font-size: 13px;
  height: 66px;
  position: fixed;
  top: calc(50%);
  transform: translateY(-50%);
  width: 34px;
  z-index: 3;
}

#modalWindowPrev,
#modalWindowNext {
  /* display: none; */
  height: 65%;
  /* top: 0; */
  /* transform: none; */
  width: 35%;
}

#modalWindowPrev *,
#modalWindowNext *,
#modalWindowPrev2 *,
#modalWindowNext2 * {
  display: block;
  stroke: #00adee;
  stroke-width: 2;
}

#modalWindowPrev svg,
#modalWindowNext svg,
#modalWindowPrev2 svg,
#modalWindowNext2 svg {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

#modalWindowPrev svg,
#modalWindowNext svg {
  display: none;
}

#modalWindowPrev polyline,
#modalWindowNext polyline,
#modalWindowPrev2 polyline,
#modalWindowNext2 polyline {
}

#modalWindowPrev:before,
#modalWindowPrev2:before,
#modalWindowNext:before,
#modalWindowNext2:before {
  content: "";
  display:block;
  height: 100%;
  width: 100%;
}

#modalWindowPrev {
  /* display: none; */
  left: 0;
}

#modalWindowPrev2 {
  bottom: 10px;
  left: 50px;
  /* top: auto !important; */
}

#modalWindowNext {
  /* display: none; */
  right: 0;
}

#modalWindowNext2 {
  bottom: 10px;
  right: 50px;
  /* top: auto !important; */
}

@media (min-width: 751px) {


  #modalWindowPrev2,
  #modalWindowNext2 {
    display: none;
  }
}

@media (max-width: 750px) {

  #modalWindowPrev,
  #modalWindowNext,
  #modalWindowPrev2,
  #modalWindowNext2 {
    display: none;
    height: 80px;
    width: 50px;
  }

  #modalWindowPrev2 {
    bottom: -3px;
    left: 10px;
    top: auto !important;
  }

  #modalWindowNext2 {
    bottom: -3px;
    right: 10px;
    top: auto !important;
  }

  #modalWindowPrev2 svg,
  #modalWindowNext2 svg {
    display: block;
    /* height: 150px; */
    stroke-width: 2;
    width: 17px;
  }

  #modalWindowPrev2 svg {
    /* transform: translate(-50%, 0); */
  }

  #modalWindowNext2 svg {
    /* transform: translate(50%, 0); */
  }
}

#modalWindowToggleCaption {
  border-radius: 100%;
  bottom: 0;
  display: none;
  font-size: 14px;
  height: 40px;
  line-height: 40px;
  position: absolute;
  right: -65px;
  width: 40px;
}

#modalWindowToggleCaption:before {
  bottom: 0;
  display: block;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
}

#modalWindowCaption {
  /*opacity: 1;*/
  overflow: hidden;
  padding: 10px 0 0;
  width: 100%;
}

#modalWindowCaption.modalWindow-off {
  /*height: 0;*/
  /*opacity: 0;*/
  padding: 0;
}

#modalWindowCaptionText {
  font-size: .9em;
  line-height: 1.8;
  /*margin: 10px 0 0;*/
  /*margin: 0 20px 20px;*/
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /*padding: 15px;*/
}

#modalWindowCaptionText.modalWindow-off {
  padding-right: 0;
}

#modalWindowCaptionText::-webkit-scrollbar {
  width: 5px;
  background: #E9E9E9;
}

#modalWindowCaptionText::-webkit-scrollbar-thumb {
  background: #666;
}

#modalWindowCaptionText span {
  display: block;
}

/*#modalWindow .modalWindow-hide {
  display: none;
}

#modalWindow .modalWindow-show {
  display: block;
}*/

#modalWindowOneLineCaption {
  bottom: -30px;
  color: #000;
  font-size: 12px;
  line-height: 100%;
  position: absolute;
  right: 50%;
  text-align: center;
  text-align: right;
  transform: translateX(50%);
  white-space: nowrap;
}

#modalWindowOneLineCaption2 {
  color: #000;
  display: none;
  font-size: 12px;
  height: 12px;
  left: 20px;
  line-height: 100%;
  position: absolute;
  top: 20px;
  white-space: nowrap;
  z-index: 2;
}



/*////////////////////////////////////////////////////////////////////////////////
モーダルウィンドウ スマートフォン&タブレット
////////////////////////////////////////////////////////////////////////////////*/

/*
#modalWindow.mobile,
#modalWindow.tablet {
  height: 100%;
  position: fixed;
  width: 100%;
}

#modalWindow.mobile #modalWindowOverlay,
#modalWindow.tablet #modalWindowOverlay {
}

#modalWindow.mobile #modalWindowBody,
#modalWindow.tablet #modalWindowBody {
  background: #000;
  height: 100%;
  padding: 10px;
  position: fixed !important;
  width: 100%;
}

#modalWindow.mobile #modalWindowClose,
#modalWindow.tablet #modalWindowClose {
  background: none;
  border-radius: 0;
  color: #366DE0;
  height: 40px;
  line-height: 40px;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 40px;
  z-index: 1;
}

#modalWindow.mobile #modalWindowContents,
#modalWindow.tablet #modalWindowContents {
  height: 100%;
  width: 100%;
}

#modalWindow.mobile #modalWindowContentsInner,
#modalWindow.tablet #modalWindowContentsInner {
  color: #EEE;
  margin: auto;
}

#modalWindow.mobile #modalWindowContentsInner,
#modalWindow.tablet #modalWindowContentsInner img {
  border: none;
}

#modalWindow.mobile #modalWindowContentsInnerTitle,
#modalWindow.tablet #modalWindowContentsInnerTitle {
  border-bottom: 1px solid #333;
}

#modalWindow.mobile #modalWindowMeta,
#modalWindow.tablet #modalWindowMeta,
#modalWindow.mobile #modalWindowConsole,
#modalWindow.tablet #modalWindowConsole {
  background: #000;
  height: 70px;
}

#modalWindow.mobile #modalWindowMeta,
#modalWindow.tablet #modalWindowMeta {
  border-top: 1px solid #333;
  background: #000;
  bottom: 0;
  height: 70px;
  left: 0;
  overflow: visible;
  position: absolute;
  width: 100%;
  z-index: 1;
}

#modalWindow.mobile #modalWindowConsole,
#modalWindow.tablet #modalWindowConsole,
#modalWindow.mobile #modalWindowCaption,
#modalWindow.tablet #modalWindowCaption {
}

#modalWindow.mobile #modalWindowContentsIndex,
#modalWindow.tablet #modalWindowContentsIndex {
  background: none;
  bottom: initial;
  color: #366DE0;
  height: 40px;
  left: calc(50% - 55px);
  line-height: 40px;
  right: initial;
  text-align: center;
  top: -60px;
  width: 110px;
}

#modalWindow.mobile #modalWindowPrev,
#modalWindow.tablet #modalWindowPrev,
#modalWindow.mobile #modalWindowNext,
#modalWindow.tablet #modalWindowNext,
#modalWindow.mobile #modalWindowToggleCaption,
#modalWindow.tablet #modalWindowToggleCaption {
  background: #000;
  border: 2px solid #366DE0;
  color: #366DE0;
}

#modalWindow.mobile #modalWindowPrev.modalWindow-on,
#modalWindow.tablet #modalWindowPrev.modalWindow-on,
#modalWindow.mobile #modalWindowNext.modalWindow-on,
#modalWindow.tablet #modalWindowNext.modalWindow-on,
#modalWindow.mobile #modalWindowToggleCaption.modalWindow-on,
#modalWindow.tablet #modalWindowToggleCaption.modalWindow-on {
  cursor: pointer;
}

#modalWindow.mobile #modalWindowPrev.modalWindow-off,
#modalWindow.tablet #modalWindowPrev.modalWindow-off,
#modalWindow.mobile #modalWindowNext.modalWindow-off,
#modalWindow.tablet #modalWindowNext.modalWindow-off,
#modalWindow.mobile #modalWindowToggleCaption.modalWindow-off,
#modalWindow.tablet #modalWindowToggleCaption.modalWindow-off {
  border: 2px solid #333;
  color: #333;
}

#modalWindow.mobile #modalWindowPrev,
#modalWindow.tablet #modalWindowPrev {
  bottom: initial;
  left: 8%;
  right: initial;
  top: 10px;
}

#modalWindow.mobile #modalWindowPrev:before,
#modalWindow.tablet #modalWindowPrev:before {
  margin: -1px 0 0 -1px;
}

#modalWindow.mobile #modalWindowNext,
#modalWindow.tablet #modalWindowNext {
  bottom: initial;
  left: initial;
  right: 8%;
  top: 10px;
}

#modalWindow.mobile #modalWindowNext:before,
#modalWindow.tablet #modalWindowNext:before {
  margin: -1px 0 0 1px;
}

#modalWindow.mobile #modalWindowToggleCaption,
#modalWindow.tablet #modalWindowToggleCaption {
  bottom: initial;
  left: calc(50% - 20px);
  right: initial;
  top: 15px;
}

#modalWindow.mobile #modalWindowToggleCaption:before,
#modalWindow.tablet #modalWindowToggleCaption:before {
  margin: -2px 0 0;
}

#modalWindow.mobile #modalWindowCaption,
#modalWindow.tablet #modalWindowCaption {
  background: rgba(0, 0, 0, .9);
  color: #EEE;
  left: 0;
  padding: 0;
  position: absolute;
  z-index: -1;
}

#modalWindow.mobile #modalWindowCaptionText,
#modalWindow.tablet #modalWindowCaptionText {
  margin: 0;
  padding: 10px;
}

#modalWindow.mobile #modalWindowCaptionText::-webkit-scrollbar,
#modalWindow.tablet #modalWindowCaptionText::-webkit-scrollbar {
  background: #666;
}

#modalWindow.mobile #modalWindowCaptionText::-webkit-scrollbar-thumb,
#modalWindow.tablet #modalWindowCaptionText::-webkit-scrollbar-thumb {
  background: #FFF;
}

#modalWindow.mobile #modalWindowCaptionText.modalWindow-off,
#modalWindow.tablet #modalWindowCaptionText.modalWindow-off {
}
*/

/*////////////////////////////////////////////////////////////////////////////////
モーダルウィンドウ スマートフォン&タブレット 600px以上
////////////////////////////////////////////////////////////////////////////////*/

@media screen and (min-width: 600px) {
  
  #modalWindow.mobile #modalWindowClose,
  #modalWindow.tablet #modalWindowClose {
    font-size: 1.2em;
    height: 64px;
    line-height: 64px;
    width: 64px;
  }
  
  #modalWindow.mobile #modalWindowContentsIndex,
  #modalWindow.tablet #modalWindowContentsIndex,
  #modalWindow.mobile #modalWindowToggleCaption,
  #modalWindow.tablet #modalWindowToggleCaption,
  #modalWindow.mobile #modalWindowPrev,
  #modalWindow.tablet #modalWindowPrev,
  #modalWindow.mobile #modalWindowNext,
  #modalWindow.tablet #modalWindowNext {
    font-size: 1.2em;
  }

  #modalWindow.mobile #modalWindowContentsIndex,
  #modalWindow.tablet #modalWindowContentsIndex,
  #modalWindow.mobile #modalWindowToggleCaption,
  #modalWindow.tablet #modalWindowToggleCaption {
  }
  
  #modalWindow.mobile #modalWindowToggleCaption,
  #modalWindow.tablet #modalWindowToggleCaption {
  }
}



/*////////////////////////////////////////////////////////////////////////////////
インライン
////////////////////////////////////////////////////////////////////////////////*/

#modalWindow:not(.mobile):not(.tablet) #modalWindowBody.type-inline #modalWindowMeta {
  height: 0;
}



/*////////////////////////////////////////////////////////////////////////////////
グループが指定されていない時
////////////////////////////////////////////////////////////////////////////////*/

#modalWindow:not(.mobile):not(.tablet) #modalWindowBody[data-isGroup=false] #modalWindowPrev,
#modalWindow:not(.mobile):not(.tablet) #modalWindowBody[data-isGroup=false] #modalWindowNext,
#modalWindow:not(.mobile):not(.tablet) #modalWindowBody[data-isGroup=false] #modalWindowContentsIndex {
  display: none;
}



/*////////////////////////////////////////////////////////////////////////////////
グループが指定されていない & キャプションが指定されていない時
////////////////////////////////////////////////////////////////////////////////*/

#modalWindow:not(.mobile):not(.tablet) #modalWindowBody[data-isGroup=false][data-hasCaption=false] #modalWindowToggleCaption {
  display: none;
}



/*////////////////////////////////////////////////////////////////////////////////
モーダルウィンドウ エラー
////////////////////////////////////////////////////////////////////////////////*/

#modalWindowBody.error #modalWindowContentsInner {
  display: table;
  /* text-align: center; */
}

#modalWindowBody.error #modalWindowContentsInner > div {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  min-width: 250px;
}



/*////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////////*/

#modalWindow.use-escobar #modalWindowBody,
#modalWindow.use-escobar #modalWindowContentsInner {
  /* background: red; */
  height: auto !important;
  /* width: 100% !important; */
  /* left: 0 !important; */
}

#modalWindow.use-escobar .slider-01 {
  width: 100vw;
}

#modalWindow.use-escobar .slider-01 .slider--row {
  width: 100%;
}

#modalWindow.use-escobar .slider-01 .slider--item {
  height: auto;
  min-height: auto;
}