@charset "UTF-8";
/* ----- 画像一覧 モーダル表示 -----*/
#s-photo-modal-scroll {
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  overflow: auto;
  position: fixed;
  padding: 0 0 1px;
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 2007;
}

#s-photo-modal-popover {
  width: 980px;
  position: absolute;
  min-width: 0;
  max-width: 90%;
  padding: 0;
  z-index: 2008;
  height: auto;
  margin: 40px 0;
  opacity: 1;
  display: inline-block;
  top: 0;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}

#syohin-photo-wrapper {
  overflow: visible;
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #fff;
  z-index: 2009;
}

#syohin-photo-container {
  width: 940px;
  height: auto;
  margin: 0;
  padding: 15px 20px 30px;
  text-align: left;
  background-color: #fff;
  z-index: 2010;
}

#syohin-photo-container h1.syohin-photo-ttl {
  margin: 0 0 10px;
  padding: 0 0 0 20px;
  font-size: 1.05em;
  position: relative;
  border: 0;
  font-weight: bold;
  font-weight: 600;
}

#syohin-photo-container h1.syohin-photo-ttl > span {
  display: inline-block;
  vertical-align: middle;
  width: calc(100% - 60px);
}

#syohin-photo-container h1.syohin-photo-ttl a {
  position: absolute;
  right: 0;
  top: 0;
}

#syohin-photo-container #gallery {
  padding: 0;
}

#syohin-photo-container #main-photo-inner {
  padding: 0 176px;
}

#syohin-photo-container #main-photo-left,
#syohin-photo-container #main-photo-mid,
#syohin-photo-container #main-photo-right {
  float: left;
}

#syohin-photo-container #main-photo-left {
  padding-right: 20px;
}

#syohin-photo-container #main-photo-right {
  padding-left: 20px;
}

#syohin-photo-container #main-photo-left,
#syohin-photo-container #main-photo-right {
  min-height: 270px;
  /* for modern browser */
  height: auto !important;
  /* for modern browser */
  height: 270px;
  /* for IE */
  padding-top: 230px;
}

#syohin-photo-container #main-photo-mid {
  width: 500px;
  min-height: 500px;
  /* for modern browser */
  height: auto !important;
  /* for modern browser */
  height: 500px;
  /* for IE */
  margin: 0 auto;
  vertical-align: middle;
}

#syohin-photo-container #main-photo-mid img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

#syohin-photo-container #main-photo-mid .item {
  margin: 0 auto;
}

#syohin-photo-container #main-photo-mid .photo {
  margin: 0;
  width: 500px;
  height: 500px;
  position: relative;
}

#syohin-photo-container #main-photo-mid .text {
  margin: 10px 0 20px;
  font-size: 1em;
  line-height: 1.2;
  min-height: 2.4em;
}

#syohin-photo-container #thumbs {
  padding: 20px 15px 0;
}

#syohin-photo-container #thumbs li {
  float: left;
  margin: 0;
  padding: 0 0 8px 8px;
  letter-spacing: normal;
  vertical-align: top;
}

#syohin-photo-container #thumbs li img {
  vertical-align: bottom;
}

#syohin-photo-container #thumbs li a {
  outline: none;
}

#syohin-photo-container #thumbs li a img {
  width: 50px;
  height: 50px;
}

#syohin-photo-container #thumbs li a:link img,
#syohin-photo-container #thumbs li a:visited img {
  border: 1px solid #d1d1d1;
  vertical-align: bottom;
}

#syohin-photo-container #thumbs li a:hover img,
#syohin-photo-container #thumbs li a:active img {
  border: 3px solid #01aef0;
  vertical-align: bottom;
  margin: -2px;
}

#syohin-photo-container #thumbs li.active a img {
  border: 3px solid #01aef0;
  vertical-align: bottom;
  margin: -2px;
}

#syohin-photo-container .photo-comment {
  margin: 15px 0 0;
  font-size: 0.9em;
  text-align: center;
}

#syohin-photo-container .close {
  margin: 20px 0 0;
  text-align: center;
}

#syohin-photo-container .sp-v {
  display: none;
}
