/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */
/*
  Styles for basic PhotoSwipe functionality (sliding area, open/close transitions)
*/
/* pswp = photoswipe */
.pswp {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  overflow: hidden;
  -ms-touch-action: none;
  touch-action: none;
  z-index: 1500;
  -webkit-text-size-adjust: 100%;
  /* create separate layer, to avoid paint on window.onscroll in webkit/blink */
  -webkit-backface-visibility: hidden;
  outline: none; }
  .pswp * {
    -webkit-box-sizing: border-box;
            box-sizing: border-box; }
  .pswp img {
    max-width: none; }

/* style is added when JS option showHideOpacity is set to true */
.pswp--animate_opacity {
  /* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */
  opacity: 0.001;
  will-change: opacity;
  /* for open/close transition */
  -webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
          transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }

.pswp--open {
  display: block; }

.pswp--zoom-allowed .pswp__img {
  /* autoprefixer: off */
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.pswp--zoomed-in .pswp__img {
  /* autoprefixer: off */
  cursor: -webkit-grab;
  cursor: -moz-grab;
  cursor: grab; }

.pswp--dragging .pswp__img {
  /* autoprefixer: off */
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing; }

/*
  Background is added as a separate element.
  As animating opacity is much faster than animating rgba() background-color.
*/
.pswp__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  -webkit-backface-visibility: hidden;
  will-change: opacity; }

.pswp__scroll-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  will-change: transform; }

.pswp__container, .pswp__zoom-wrap {
  -ms-touch-action: none;
  touch-action: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0; }

/* Prevent selection and tap highlights */
.pswp__container, .pswp__img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
      user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none; }

.pswp__zoom-wrap {
  position: absolute;
  width: 100%;
  -webkit-transform-origin: left top;
  -ms-transform-origin: left top;
  transform-origin: left top;
  /* for open/close transition */
  -webkit-transition: -webkit-transform 333ms cubic-bezier(0.4, 0, 0.22, 1);
          transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1); }

.pswp__bg {
  will-change: opacity;
  /* for open/close transition */
  -webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
          transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }

.pswp--animated-in .pswp__bg, .pswp--animated-in .pswp__zoom-wrap {
  -webkit-transition: none;
  transition: none; }

.pswp__container, .pswp__zoom-wrap {
  -webkit-backface-visibility: hidden;
  will-change: transform; }

.pswp__item {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: hidden; }

.pswp__img {
  position: absolute;
  width: auto;
  height: auto;
  top: 0;
  left: 0;
  -webkit-transition: opacity 0.15s;
          transition: opacity 0.15s; }

/*
  stretched thumbnail or div placeholder element (see below)
  style is added to avoid flickering in webkit/blink when layers overlap
*/
.pswp__img--placeholder {
  -webkit-backface-visibility: hidden; }

/*
  div element that matches size of large image
  large image loads on top of it
*/
.pswp__img--placeholder--blank {
  background: #222; }

.pswp--ie .pswp__img {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0; }

/*
  Error message appears when image is not loaded
  (JS option errorMsg controls markup)
*/
.pswp__error-msg {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  font-size: 14px;
  line-height: 16px;
  margin-top: -8px;
  color: #CCC; }

.pswp__error-msg a {
  color: #CCC;
  text-decoration: underline; }

/* //////////////////////////////////////////////////
[キャプション]
////////////////////////////////////////////////// */
.pswp__caption-top,
.pswp__caption-bottom{
  position: absolute;
  width: 100%;
  padding: 10px;
  /*width: -webkit-calc(100% - 30px);
  width: calc(100% - 30px);
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  transform: translateX(-50%);*/
  text-align: left;
}
.pswp__caption-top{
  top: 44px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.pswp__caption-top.is-open{
  height: -webkit-calc(100% - 110px);
  height: calc(100% - 110px);
  overflow-y: scroll;
  padding-bottom: 50px;
  border-bottom: none;
}
.pswp__caption-top:not(.is-open) .caption-top{
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  height: 17px;
}
.pswp__caption-top p{
  width: 100%;
  /*overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;*/
}
.pswp__caption-top.is-open p{
  /*white-space: normal;
  text-overflow: clip;
  overflow: visible;*/
}
.pswp__caption-top.is-open::before{
  opacity: 0.9;
  content: "";
  color: #fff;
  font-size: 1rem;
  text-align: center;
  display: block;
  width: 100%;
  height: 44px;
  line-height: 44px;
  top: auto;
  bottom: 66px;
  right: 0px;
  border-top: 1px solid #42403f;
  background-color: #000;
}
.pswp__caption-top::before{
  content: " ";
  position: fixed;
  height: 1px;
  width: 100%;
  left: 0px;
  top: 81px;
  background-color: #42403f;
  width: -webkit-calc(100% - 104px);
  width: calc(100% - 104px);
}
.pswp__caption-top::after{
  content: "すべて読む";
  font-size: 0.7rem;
  font-weight: bold;
  color: #fff;
  display: block;
  width: 60px;
  text-align: center;
  background-image: url(/images/sp_s/common/svg/chevron-down-radius.png);
  background-image: url(/images/sp_s/common/svg/chevron-down-radius.svg);
  -webkit-background-size: 16px;
  -o-background-size: 16px;
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: right 15px center;
  border-bottom: 1px solid #42403f;
  border-left: 1px solid #42403f;
  padding: 7px 32px 7px 12px;
  height: 20px;
  line-height: 20px;
  border-radius: 0 0 0 10px;
  position: fixed;
  right: 0px;
  top: 81px;
  background-color: rgba(0, 0, 0, 0.7);
}
.pswp__caption-top.has-no-continuation::before{
  width: 100%;
}
.pswp__caption-top.has-no-continuation::after{
  display: none;
  content: none;
}
.pswp__caption-top.is-open::after{
  content: "閉じる";
  top: auto;
  padding-right: 20px;
  border: 1px solid #42403f;
  border-top: none;
  border-right: none;
  bottom: 76px;
  background-image: url(/images/sp_s/common/svg/chevron-up-radius.png);
  background-image: url(/images/sp_s/common/svg/chevron-up-radius.svg);
}
.pswp__caption-bottom{
  bottom: 75px;
  display: none;
}
.pswp__caption-top p,
.pswp__caption-bottom p{
  color: #fff;
  font-size: 0.7rem;
  line-height: 1.6;
}
.pswp__caption-top p > span,
.pswp__caption-bottom p > span{
  margin-right: 8px;
  margin-bottom: 2px;
}
.pswp__caption-top p > span:last-child{
  border-bottom: 1px dotted #42403f;
  margin-bottom: 5px;
  padding-bottom: 5px;
}
/*photoswipe内に掲出するデータ*/
.pswp__caption-top .roomLayoutName,
.pswp__caption-bottom .roomLayoutName,
.pswp__caption-top .roomLayoutDisplay,
.pswp__caption-bottom .roomLayoutDisplay,
.pswp__caption-top .priceDisplay,
.pswp__caption-bottom .priceDisplay,
.pswp__caption-top .monopolyAreaDisplay,
.pswp__caption-bottom .monopolyAreaDisplay{
  display: block;
  /*overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 200px;
  max-width: -webkit-calc(100% - 30px);
  max-width: calc(100% - 30px);*/
}
.pswp__caption-top .roomLayoutName::before,
.pswp__caption-bottom .roomLayoutName::before,
.pswp__caption-top .roomLayoutDisplay::before,
.pswp__caption-bottom .roomLayoutDisplay::before,
.pswp__caption-top .priceDisplay::before,
.pswp__caption-bottom .priceDisplay::before,
.pswp__caption-top .monopolyAreaDisplay::before,
.pswp__caption-bottom .monopolyAreaDisplay::before{
  display: inline-block;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  font-size: 0.6rem;
  font-weight: bold;
  color: #fff;
  padding: 2px 4px;
  margin-right: 4px;
  line-height: 1.2;
}
.pswp__caption-top .roomLayoutName::before,
.pswp__caption-bottom .roomLayoutName::before{
  content: "間取りタイプ";
}
.pswp__caption-top .roomLayoutDisplay::before,
.pswp__caption-bottom .roomLayoutDisplay::before{
  content: "間取り";
}
.pswp__caption-top .priceDisplay::before,
.pswp__caption-bottom .priceDisplay::before{
  content: "価格";
}
.pswp__caption-top .monopolyAreaDisplay::before,
.pswp__caption-bottom .monopolyAreaDisplay::before{
  content: "専有面積";
}
/*tutorial*/
.pswp__tutorial{
  display: none;
  opacity: 0;
  position: fixed;
  bottom: -9999px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 200px;
  height: 120px;
  background-color: #000;
  background-color: rgba(0,0,0,0.8);
  -webkit-border-radius: 10px;
  border-radius: 10px;
  will-change: opacity;
  -webkit-animation-name: tutorial;
  -moz-animation-name: tutorial;
  animation-name: tutorial;
  -webkit-animation-duration: 4.0s;
  -moz-animation-duration: 4.0s;
  animation-duration: 4.0s;
}
.pswp__tutorial::after{
  content: "画像をスライドして移動";
  position: absolute;
  bottom: 10px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  transform: translateX(-50%);
  color: #FFF;
  font-size: 0.7rem;
  font-weight: bold;
  width: 100%;
  text-align: center;
}
@-webkit-keyframes tutorial {
  0%{opacity: 0;
    bottom: 90px;}
  30%{opacity: 1;
    bottom: 90px;}
  80%{opacity: 1;
    bottom: 90px;}
  95%{opacity: 0;
    bottom: 90px;}
  100%{opacity: 0;
  bottom: -9999px;}
}
@-moz-keyframes tutorial {
  0%{opacity: 0;
    bottom: 90px;}
  30%{opacity: 1;
    bottom: 90px;}
  80%{opacity: 1;
    bottom: 90px;}
  95%{opacity: 0;
    bottom: 90px;}
  100%{opacity: 0;
  bottom: -9999px;}
}
@keyframes tutorial {
  0%{opacity: 0;
    bottom: 90px;}
  30%{opacity: 1;
    bottom: 90px;}
  80%{opacity: 1;
    bottom: 90px;}
  95%{opacity: 0;
    bottom: 90px;}
  100%{opacity: 0;
  bottom: -9999px;}
}
.pswp__tutorial-particles{
  position: absolute;
  top: 20px;
  left: 44px;
  display: block;
  width: 26px;
  height: 26px;
  -webkit-border-radius: 50px;
  border-radius: 50px;
  background-color: #FFF;
  will-change: transform, opacity;
  -moz-animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -moz-animation-direction: normal;
  -webkit-animation-direction: normal;
  animation-direction: normal;
}
.pswp__tutorial-particles.particleA{
  z-index: 1;
  background-color: rgba(255,255,255,0.9);
  -webkit-animation-name: particleA;
  -moz-animation-name: particleA;
  animation-name: particleA;
  -webkit-animation-duration: 1.3s;
  -moz-animation-duration: 1.3s;
  animation-duration: 1.3s;
}
.pswp__tutorial-particles.particleA::after{
  position: absolute;
  width: 65px;
  height: 65px;
  top: 8px;
  left: -18px;
  content: " ";
  background-image: url(/images/sp_s/common/svg/swipe-right_gray.png);
  background-image: url(/images/sp_s/common/svg/swipe-right_gray.svg);
  -webkit-background-size: 65px;
  -o-background-size: 65px;
  background-size: 65px;
  background-position: center;
}
.pswp__tutorial-particles.particleB{
  opacity: 0;
  -webkit-animation-name: particleB;
  -moz-animation-name: particleB;
  animation-name: particleB;
  -webkit-animation-duration: 1.3s;
     -moz-animation-duration: 1.3s;
          animation-duration: 1.3s;
}
.pswp__tutorial-particles.particleC{
  opacity: 0;
  -webkit-animation-name: particleC;
  -moz-animation-name: particleC;
  animation-name: particleC;
  -webkit-animation-duration: 1.3s;
     -moz-animation-duration: 1.3s;
          animation-duration: 1.3s;
}
.pswp__tutorial-particles.particleD{
  opacity: 0;
  -webkit-animation-name: particleD;
  -moz-animation-name: particleD;
  animation-name: particleD;
  -webkit-animation-duration: 1.3s;
     -moz-animation-duration: 1.3s;
          animation-duration: 1.3s;
}
@-webkit-keyframes particleA {
  0%{-webkit-transform: translateX(100px);
     -moz-transform: translateX(100px);
          transform: translateX(100px);}
  100%{-webkit-transform: translateX(0px);
     -moz-transform: translateX(0px);
          transform: translateX(0px);}
}
@-moz-keyframes particleA {
  0%{-webkit-transform: translateX(100px);
     -moz-transform: translateX(100px);
          transform: translateX(100px);}
  100%{-webkit-transform: translateX(0px);
     -moz-transform: translateX(0px);
          transform: translateX(0px);}
}
@keyframes particleA {
  0%{-webkit-transform: translateX(100px);
     -moz-transform: translateX(100px);
          transform: translateX(100px);}
  100%{-webkit-transform: translateX(0px);
     -moz-transform: translateX(0px);
          transform: translateX(0px);}
}
@-webkit-keyframes particleB {
  0%{-webkit-transform: translateX(100px);
     -moz-transform: translateX(100px);
          transform: translateX(100px);
      opacity: 0.7;}
  100%{-webkit-transform: translateX(25px);
     -moz-transform: translateX(25px);
          transform: translateX(25px);
      opacity: 0;}
}
@-moz-keyframes particleB {
  0%{-webkit-transform: translateX(100px);
     -moz-transform: translateX(100px);
          transform: translateX(100px);
      opacity: 0.7;}
  100%{-webkit-transform: translateX(25px);
     -moz-transform: translateX(25px);
          transform: translateX(25px);
      opacity: 0;}
}
@keyframes particleB {
  0%{-webkit-transform: translateX(100px);
     -moz-transform: translateX(100px);
          transform: translateX(100px);
      opacity: 0.7;}
  100%{-webkit-transform: translateX(25px);
     -moz-transform: translateX(25px);
          transform: translateX(25px);
      opacity: 0;}
}
@-webkit-keyframes particleC {
  0%{-webkit-transform: translateX(100px);
     -moz-transform: translateX(100px);
          transform: translateX(100px);
      opacity: 0.5;}
  100%{-webkit-transform: translateX(50px);
     -moz-transform: translateX(50px);
          transform: translateX(50px);
      opacity: 0;}
}
@-moz-keyframes particleC {
  0%{-webkit-transform: translateX(100px);
     -moz-transform: translateX(100px);
          transform: translateX(100px);
      opacity: 0.5;}
  100%{-webkit-transform: translateX(50px);
     -moz-transform: translateX(50px);
          transform: translateX(50px);
      opacity: 0;}
}
@keyframes particleC {
  0%{-webkit-transform: translateX(100px);
     -moz-transform: translateX(100px);
          transform: translateX(100px);
      opacity: 0.5;}
  100%{-webkit-transform: translateX(50px);
     -moz-transform: translateX(50px);
          transform: translateX(50px);
      opacity: 0;}
}
@-webkit-keyframes particleD {
  0%{-webkit-transform: translateX(100px);
     -moz-transform: translateX(100px);
          transform: translateX(100px);
      opacity: 0.3;}
  100%{-webkit-transform: translateX(75px);
     -moz-transform: translateX(75px);
          transform: translateX(75px);
      opacity: 0;}
}
@-moz-keyframes particleD {
  0%{-webkit-transform: translateX(100px);
     -moz-transform: translateX(100px);
          transform: translateX(100px);
      opacity: 0.3;}
  100%{-webkit-transform: translateX(75px);
     -moz-transform: translateX(75px);
          transform: translateX(75px);
      opacity: 0;}
}
@keyframes particleD {
  0%{-webkit-transform: translateX(100px);
     -moz-transform: translateX(100px);
          transform: translateX(100px);
      opacity: 0.3;}
  100%{-webkit-transform: translateX(75px);
     -moz-transform: translateX(75px);
          transform: translateX(75px);
      opacity: 0;}
}
