* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  }

html { scroll-behavior: smooth; }
html, body { height: 100%; }

body {
  margin: 0;
  padding: 0;
  color: #000;
  font-size: 110%;
  font-family: "游明朝",serif;
  line-height: 200%;
  letter-spacing: .05em;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  }

@media screen and (max-width: 640px) {
body { font-size: 90%; }
}

/* ロード中一瞬表示される要素を消す 該当ページにscript追記 */
#show { display: none; }

/* --------------------------------------------------------- ★ a */

a { text-decoration: none; transition: 1s; }
a:link { color: #000; }
a:visited { color: #444; }
a:hover { color: #f03; }
.active { color: #f03; }
.active a { color: #f03; }

.link a { display: inline-block; margin: 20px 0; padding: 20px; border: solid 1px #aaa; }
.link a:hover { border: solid 1px #069; background: #069; color: #fff; }

.links a:link { color: #f03; }
.links a:hover { margin-left: 5px; text-decoration-line: underline; color: #f03; }

@media screen and (max-width: 680px) {
.link { text-align: center; }
}

/* --------------------------------------------------------- ★ img */

img { max-width: 100%; height: auto; border: none; vertical-align: bottom; transition: 0.4s; }
a:img { max-width: 100%; }
a:hover img { opacity: 0.7; filter: alpha(opacity=70); }

/* --------------------------------------------------------- ★ メニュー */

.menu { margin: 80px 0; font-weight: bold; text-align: center; }
.menu li { width: 240px; margin: 5px; }
.menu a { display: block; padding: 20px 0; border: solid 1px #ccc; color: #000; }
.menu a:visited { color: #000; }
.menu a:hover { border: solid 1px #069; background: #069; color: #fff; }

/* --------------------------------------------------------- ★ pc sp */

@media screen and (max-width: 640px) {
.pc { display: none; }
}

@media screen and (min-width: 640px) {
.sp { display: none; }
}

/* --------------------------------------------------------- ★ p */

p { margin: 0; }
.text { line-height: 300%; }
.text p { margin-bottom: 30px; }
.en .text { line-height: 200%; }
.center { text-align: center; }
.left { text-align: left; }
.right { text-align: right; }


/* --------------------------------------------------------- ★ li */

ol, ul { margin: 0; padding: 0; }

li { display: inline-block; max-width: 100%; vertical-align: top; }

.list li {
  display: list-item;
  list-style-position: inside;
  padding-left: 2em;
  text-indent: -1.2em;
  margin-bottom: 5px;
  text-align: left;
  }

.list2 li {
  width: 50%;
  display: inline-block;
  list-style-position: inside;
  padding-left: 2em;
  text-indent: -1.2em;
  margin-bottom: 5px;
  text-align: left;
  }

.list2 a:hover { text-decoration: underline }

/* --------------------------------------------------------- ★ h */

h2 { font-size: 130%; margin: 80px 0; letter-spacing: 0.2em; text-align: center; }
h3 { font-size: 120%; margin: 40px 0; text-align: center; }
h4 { font-size: 130%; margin: 40px 0 60px 0; letter-spacing: 0.2em; text-align: center; } /* pilates */
.border { border: solid 1px #ccc; }

/* --------------------------------------------------------- ★ hr */

hr { margin: 25px 0; border: 0; height: 1px; background-image: url('../img/line.gif'); clear: both; }

#item hr { margin: 30px 0; height: 0; clear: both; }


/* --------------------------------------------------------- ★ logo */

.logo { position: absolute; top: 30px; left: 40px; font-size: 90%; z-index: 3; }
.logo img { height: 80px; }

.Instagram { height: 21px; vertical-align: middle; }

@media screen and (max-width: 640px) {
.logo { top: 20px; left: 20px; }
.logo img { height: 60px; }
}

/* --------------------------------------------------------- ★ LR */

.center,
.center2 { text-align: center; }

.l { float: left; }
.r { overflow: hidden; }

@media screen and (max-width: 640px) {
.center2 { text-align: left; }
.l { display: block; }
.r { width: 100%; }
}

/* --------------------------------------------------------- ★ footer */

footer { margin-top: 100px; padding: 30px 0; background: #f4f4f4; }
footer a,
footer a:visited { color: #000; }
footer a:hover { color: #039; }

.f-menu { margin: 40px 0; text-align: center; }
.f-menu li { margin: 20px; }

.manage { text-align: center; }
.manage p { display: inline-block; text-align: left; }

.copy { font-size: small; text-align: center; }

@media screen and (max-width: 640px) {
footer li { display: block; }
.soondesign { padding: 20px 0 0 0; text-align: center; }
}

/* --------------------------------------------------------- ★ section box */

.box { max-width: 900px; margin: auto; padding: 40px 20px; }

.box2 { max-width: 900px; margin: auto; }

.wrap { width: 100%; }

.gray { background: #f8f8f8; }


/* --------------------------------------------------------- ★ intro */

.intro { margin-top: 100px; font-size: 120%; line-height:300%; text-align: center; }
@media screen and (max-width: 640px) {
.intro { margin-top: 40px; }
}

/* --------------------------------------------------------- ★ header philosophy */

.header { height: 90vh; position: relative; left: 0; top: 0;  overflow: hidden; }
.header img { width: 100%; }
.header a:hover img { opacity: 1; filter: alpha(opacity=100); }

.philosophy {
  position: absolute;
  top: 50%;
  right: 5%;
  font-size: 200%;
  letter-spacing: 0.1em;
  text-align: center;
  z-index: 10;
  }

.white { color: #fff; }
.black { color: #000; }
.red { color: #f06; }

@media screen and (max-width: 640px) {
.header { height: 80vh; }
.philosophy { display: none; }
}

/* --------------------------------------------------------- ★ item */

#item { max-width: 980px; margin: auto; padding: 120px 20px 0 20px; }
#item .l { margin-right: 20px; text-align: center; }
#item .l img { height: 280px; }

#item .name { margin: 60px 0 20px 0; font-size: 120%; color: #f03; }
#item hr { margin: 20px 0; }

.item2 { margin-bottom: 60px;  text-align: center; }
.item2 li { margin: 0 40px 40px 40px; }
.item2 img { width: 200px; margin-bottom: 15px; }

.item3 { margin-bottom: 60px; }
.item3 img { width: 200px; margin: 0 40px 15px 0; }
.item3 .name { margin-bottom: 20px; font-size: 120%; }
.item3 hr { border: 0; margin: 40px 0; }

.itemlist { margin: 60px 0 120px 0; text-align: center; }
.itemlist img { margin: 0 15px; height: 160px; }

.exp { margin-bottom: 80px; font-size: 120%; line-height: 300%; letter-spacing: 0.1em;  text-align: center; }

#item .buy { margin: 30px 0; }
#item .buy a { 
  padding: 15px 30px;
  border: solid 1px #ccc;
  background: #f4f4f4;
  }
#item .buy a:visited { color: #333; }
#item .buy a:hover { color: #fff; background: #f03; border: solid 1px #f03; }

.buy2 { 
  margin-top: 10px;
  padding: 5px;
  border: solid 1px #ccc;
  }

.buy3 { 
  display: inline-block;
  margin-top: 10px;
  padding: 5px 20px;
  border: solid 1px #ccc;
  }

@media screen and (max-width: 640px) {
#item { padding: 40px 20px 0 20px; }
#item .l img { height: 200px; }
#item .l,
#item .r,
.item3 .l { width: 100%; }
#item .name { margin: 0 0 20px 0; text-align: center; }
#item hr { margin: 0; }
.itemlist img { height: 120px; }
.item3,
.buy { text-align: center; }
.item3 img { width: 200px; margin: 0 0 30px 0; }
.item3 .memo { display: inline-block; text-align: left; }
}

/* --------------------------------------------------------- ★ company */

#company .l { width: 200px; }

/* --------------------------------------------------------- ★ contact */

#contact { padding-top: 100px; }

#contact input,
#contact textarea { margin-bottom: 20px; padding: 10px; }

#contact h7 { font-size: 100%; }
#contact h7 span { margin-left: 10px; color: #f06; }

#contact input[type="submit"] {
  appearance: none; /* iOS submitボタンのスタイルをリセット */
  -webkit-appearance: none;
  }

#contact .button { margin: 60px 0; text-align: center; }

#contact .button input {
  padding: 20px 30px;
  background: #f0f0f0;
  border: solid 1px #ccc;
  font-family: "游明朝",serif;
  font-size: 100%;
  font-weight: bold;
  cursor: pointer;
  transition: 1s;
  -webkit-transition: 1s;
  }

#contact .button input:hover {
  background: #f03;
  border: solid 1px #f03;
  color: #fff;
  }

#contact .privacy { margin-bottom: 60px; }

#contact .centerbox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  pading: 20px;
  text-align: center;
  }

#contact .check { margin-bottom: 40px; }

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

#contact input { width: 100%; }

}

/* --------------------------------------------------------- ★ Slide Show */

.slideshow { position: relative; left: 0; top: 0; height: 100%; overflow: hidden; background: #fff; z-index: 2; }

.slideshow li span { 
    width: 100%;
    height: 100%;
    position: absolute;
    background: center center / cover no-repeat;
    opacity: 0;
    z-index: 0;
    animation: imageAnimation 24s linear infinite 0s;
    -webkit-animation: imageAnimation 24s linear infinite 0s;
    }

.slideshow li:nth-child(2) span { animation-delay: 6s; -webkit-animation-delay: 6s; }
.slideshow li:nth-child(3) span { animation-delay: 12s; -webkit-animation-delay: 12s; }
.slideshow li:nth-child(4) span { animation-delay: 18s; -webkit-animation-delay: 18s; }

.slideshow li:nth-child(1) span { background-image: url('../img/01.jpg'); }
.slideshow li:nth-child(2) span { background-image: url('../img/02.jpg'); }
.slideshow li:nth-child(3) span { background-image: url('../img/03.jpg'); }
.slideshow li:nth-child(4) span { background-image: url('../img/04.jpg'); }

@media screen and (max-width: 640px) {
.slideshow li:nth-child(1) span { background-image: url('../img/s01.jpg') }
.slideshow li:nth-child(2) span { background-image: url('../img/s02.jpg'); }
.slideshow li:nth-child(3) span { background-image: url('../img/s03.jpg'); }
.slideshow li:nth-child(4) span { background-image: url('../img/s04.jpg'); }
}

/* Animation for the slideshow images */

@keyframes imageAnimation { 
    0% { opacity: 0; }
    15% { opacity: 1; }
    25% { opacity: 1; }
    40% { opacity: 0; }
    100% { opacity: 0; }
}

@-webkit-keyframes imageAnimation { 
    0% { opacity: 0; }
    15% { opacity: 1; }
    25% { opacity: 1; }
    40% { opacity: 0; }
    100% { opacity: 0; }
    }

/* 
値	　画像２枚　画像３枚　画像４枚　画像５枚
opacity: 0;　　０％	　０％　　０％　　　０％
opacity: 1;　　25 ％　　　20 ％　　15 ％　　　10 ％
opacity: 1;　　50 ％　　　33 ％　　25 ％　　　20 ％
opacity: 0;　　75 ％　　　63 ％　　40 ％　　　30 ％
opacity: 0;　　100 ％　　100 ％　　100 ％　　100 ％
 */

/* --------------------------------------------------------- ★ gnav */

.gnav {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    text-align: center;
    font-weight: bold;
    text-transform: lowercase;
    letter-spacing: 0.2em;
    z-index: 100;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
    visibility: hidden;
    opacity: 0;
    }
 
.gnav ul { width: 80%; margin: auto; padding-top: 70px; }
.gnav li { display: block; border-bottom: 1px solid #ccc; text-align: }
.gnav li a { display: block; padding: 30px 0; color: #333; }
.gnav li a:hover,
.gnav li a.active { color: #cc9; }
.gnav .active a { color: #066; }

.gnav.on { visibility: visible; opacity: 1; }

.icon-animation {
    position: fixed;
    display: block;
    right: 20px;
    top: 15px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 110;
    }

.icon-animation span {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    margin-left: -20px;
    width: 40px;
    height: 1px;
    background: #2d281e;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    }

.icon-animation .top { transform: translateY(-13px); -webkit-transform: translateY(-13px); }
.icon-animation .bottom { transform: translateY(13px); -webkit-transform: translateY(13px) }

.is-open .top { transform: rotate(-45deg) translateY(0px); -webkit-transform: rotate(-45deg) translateY(0px); }
.is-open .middle { background: rgba(51, 51, 51, 0)!important; }
.is-open .bottom { transform: rotate(45deg) translateY(0px); -webkit-transform: rotate(45deg) translateY(0px); }

/* --------------------------------------------------------- ★ back */

.back { padding: 40px 0; }

.back :hover { opacity: 0.5; filter: alpha(opacity=50); }

.back div {
  width: 40px;
  height: 40px;
  margin: auto;
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transition: 0.4s;
  }

.back:hover > div { border-left: 1px solid #ccc; border-bottom: 1px solid #ccc; }

/* -------------------------------------------------------- ★ page-top */

#page-top {
  position: fixed;
  right: 40px;
  margin-bottom: 20px;
  width: 25px;
  height: 25px; 
  border-left: 1px solid #444;
  border-bottom: 1px solid #444;
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  z-index: 99;
  }

#page-top:hover { opacity: 0.3; filter: alpha(opacity=30); transition: 0.4s; }

@media screen and (max-width: 640px) {
#page-top { display: none; }
}

/* --------------------------------------------------------- ★ アコーディオンボタン */

#accordion { margin: 40px 0; text-align: center; }

#accordion div { margin: 0 20px; }

#accordion label {
 display: inline-block;
 padding: 20px 40px;
 margin: auto;
 text-align: center;
 cursor: pointer;
 transition: 0.4s;
 }

.gray label { background: #eee; border: solid 1px #bbb; }
.gray label:hover { color: #fff; background: #069; border: solid 1px #069; }

#accordion input[type="checkbox"].on-off { display: none; }
#accordion input[type="checkbox"].on-off + div { height: 0; overflow: hidden; transition: .3s ease; }
#accordion input[type="checkbox"].on-off:checked + div { height: auto; padding: 30px 0; }
#accordion-in input[type="text"] { margin-bottom: 10px; padding: 5px; }
#accordion-in input[type="submit"],
#accordion-in input[type="button"] { margin: 10px; padding: 10px 20px; }

/* ラジオボタン */

#accordion-in input[type="radio"],
#accordion-in input[type="checkbox"] {
   -webkit-transform: scale(1.5);
   transform: scale(1.5);
   margin-right: 0.5em;
   }

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

#accordion { width: 100%; }
#accordion div { margin: 0; }

}

/* --------------------------------------------------------- ★ wow */

.animated {
    -webkit-animation-duration: 2s; 
    animation-duration: 2s; 
    -webkit-animation-fill-mode: both; 
    animation-fill-mode: both;
    }

/* --------------------------------------------------------- ★ wow blur */

.blur { -webkit-animation-name: blur; animation-name: blur; }

@keyframes blur {
    0% { opacity: 0; filter: blur(1.5rem); }
  100% { opacity: 1; filter: blur(0); }
}

/* --------------------------------------------------------- ★ wow fadeInLeft */

.fadeInLeft { -webkit-animation-name: fadeInLeft; animation-name: fadeInLeft; }

@keyframes fadeInLeft {
    0% { opacity: 0; -webkit-transform: translateX(-20px); -ms-transform: translateX(-20px); transform: translateX(-20px); }
  100% { opacity: 1; -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); }
}

/* --------------------------------------------------------- ★ wow fadeInRight */

.fadeInRight { -webkit-animation-name: fadeInRight; animation-name: fadeInRight; }

@keyframes fadeInRight {
      0% { opacity: 0; -webkit-transform: translateX(50px); -ms-transform: translateX(50px); transform: translateX(50px); }
  100% { opacity: 1; -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); }
}

/* --------------------------------------------------------- ★ wow fadeInUp */

.fadeInUp { -webkit-animation-name: fadeInUp; animation-name: fadeInUp; }

@keyframes fadeInUp {
      0% { opacity: 0; -webkit-transform: translateY(20px); -ms-transform: translateY(20px); transform: translateY(20px); }
  100% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }
}

/* --------------------------------------------------------- ★ wow fadeInDown */

.fadeInDown { -webkit-animation-name: fadeInDown; animation-name: fadeInDown; 15s }

@keyframes fadeInDown {
      0% { opacity: 0; -webkit-transform: translateY(-20px); -ms-transform: translateY(-20px); transform: translateY(-20px); }
  100% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }
}

/* --------------------------------------------------------- ★ wow horizon */

.horizon { position: relative; padding-bottom: 40px; -webkit-animation-name: horizon; animation-name: horizon; }

.horizon-l,
.horizon-r { position: absolute; height: 1px; background-color: #1c2651; }

.horizon-l { animation: horizon-l 1.5s forwards; }
.horizon-r { animation: horizon-r 1.5s forwards; }

@keyframes horizon-l {
    0% { opacity: 0; width: 0; left: 50%; }
  100% { opacity: 1; width: 50%; left: 0; }
  }

@keyframes horizon-r {
    0% { opacity: 0; width: 0; right: 50%; }
  100% { opacity: 1; width: 50%; right: 0; }
  }

/* -------------------------------------------------------- ★ 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%;
  -webkit-backface-visibility: hidden;
  outline: none; }

.pswp * { box-sizing: border-box; -webkit-box-sizing: border-box; }

.pswp img { max-width: none; }

.pswp--animate_opacity {
  opacity: 0.001;
  will-change: opacity;
  -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 {
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.pswp--zoomed-in .pswp__img {
  cursor: -webkit-grab;
  cursor: -moz-grab;
  cursor: grab; }

.pswp--dragging .pswp__img {
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing; }

.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%;
  overflow: hidden; 
  }

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

.pswp__container,
.pswp__img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
      user-select: none;
  -webkit-tap-highlight-color: transparent;
  -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;
  -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;
  -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; 
  }

.pswp__img--placeholder { -webkit-backface-visibility: hidden; }
.pswp__img--placeholder--blank { background: #222; }

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

.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__button {
  width: 44px;
  height: 44px;
  position: relative;
  background: none;
  cursor: pointer;
  overflow: visible;
  -webkit-appearance: none;
  display: block;
  border: 0px none;
  padding: 0;
  margin: 0;
  float: right;
  opacity: 0.5;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
  -webkit-box-shadow: none;
  box-shadow: none;
  }

.pswp__button:focus,
.pswp__button:hover { opacity: 1; }
.pswp__button:active { outline: none; opacity: 0.9; }
.pswp__button::-moz-focus-inner { padding: 0; border: 0; }

.pswp__ui--over-close .pswp__button--close { opacity: 1; }

.pswp__button,
.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
  background: url('../js/photoswipe/skin/default-skin.png') no-repeat 0 0;
  background-size: 264px 88px;
  width: 44px;
  height: 44px;
  }

@media (-webkit-min-device-pixel-ratio: 1.1), (-webkit-min-device-pixel-ratio: 1.09375), (min-resolution: 105dpi), (min-resolution: 1.1dppx) {
  .pswp--svg .pswp__button,
  .pswp--svg .pswp__button--arrow--left:before,
  .pswp--svg .pswp__button--arrow--right:before { background-image: url('../js/photoswipe/skin/default-skin.svg'); }
  .pswp--svg .pswp__button--arrow--left,
  .pswp--svg .pswp__button--arrow--right { background: none; }
  }

.pswp__button--close { background-position: 0 -44px; }
.pswp__button--share { background-position:  -44px; }
.pswp__button--fs { display: none; }
.pswp--supports-fs .pswp__button--fs { display: block; }
.pswp--fs .pswp__button--fs { background-position: -44px 0; }
.pswp__button--zoom { display: none; background-position: -88px 0; }
.pswp--zoom-allowed .pswp__button--zoom { display: block; }
.pswp--zoomed-in .pswp__button--zoom { background-position: -132px 0; }
.pswp--touch .pswp__button--arrow--left,
.pswp--touch .pswp__button--arrow--right { visibility: hidden; }
.pswp__button--arrow--left,
.pswp__button--arrow--right {
  background: none;
  top: 50%;
  margin-top: -50px;
  width: 20%;
  height: 50%;
  position: absolute;
  }

.pswp__button--arrow--left { left: 0; }
.pswp__button--arrow--right { right: 0; }
.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
  content: '';
  top: 35px;
  background-color: rgba(0, 0, 0, 0);
  height: 30px;
  width: 32px;
  position: absolute;
  }

.pswp__button--arrow--left:before { left: 6px; background-position: -138px -44px; }
.pswp__button--arrow--right:before { right: 6px; background-position: -94px -44px; }

.pswp__counter {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  height: 44px;
  font-size: 13px;
  line-height: 44px;
  padding: 0 10px;
  }

.pswp__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  min-height: 44px;
  }

.pswp__caption small { font-size: 11px; color: #bbb; }
.pswp__caption__center {
  text-align: left;
  max-width: 420px;
  margin: 0 auto;
  font-size: 13px;
  padding: 10px;
  line-height: 20px;
  color: #ccc;
  }

.pswp__caption--empty { display: none; }
.pswp__caption--fake { visibility: hidden; }
.pswp__preloader {
  width: 44px;
  height: 44px;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -22px;
  opacity: 0;
  -webkit-transition: opacity 0.25s ease-out;
  transition: opacity 0.25s ease-out;
  will-change: opacity;
  direction: ltr;
  }

.pswp__preloader__icn {
  width: 20px;
  height: 20px;
  margin: 12px;
  }

.pswp__preloader--active { opacity: 1; }
.pswp__preloader--active .pswp__preloader__icn { background: url('../js/photoswipe/skin/preloader.gif') no-repeat 0 0; }
.pswp--css_animation .pswp__preloader--active { opacity: 1; }
.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn {
  -webkit-animation: clockwise 500ms linear infinite;
  animation: clockwise 500ms linear infinite; }

.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut {
  -webkit-animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;
  animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite; 
  }

.pswp--css_animation .pswp__preloader__icn {
  background: none;
  opacity: 0.75;
  width: 14px;
  height: 14px;
  position: absolute;
  left: 15px;
  top: 15px;
  margin: 0;
  }

.pswp--css_animation .pswp__preloader__cut {
  position: relative;
  width: 7px;
  height: 14px;
  overflow: hidden; 
  }

.pswp--css_animation .pswp__preloader__donut {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  background: none;
  margin: 0;
  }

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

.pswp__preloader {
  position: relative;
  left: auto;
  top: auto;
  margin: 0;
  float: right;
  } 

}

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

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

@-webkit-keyframes donut-rotate {
  0% { -webkit-transform: rotate(0); transform: rotate(0); }
  50% { -webkit-transform: rotate(-140deg); transform: rotate(-140deg); }
  100% { -webkit-transform: rotate(0); transform: rotate(0); }
  }

@keyframes donut-rotate {
  0% { -webkit-transform: rotate(0); transform: rotate(0); }
  50% { -webkit-transform: rotate(-140deg); transform: rotate(-140deg); }
  100% { -webkit-transform: rotate(0); transform: rotate(0); }
  }

.pswp__ui {
  -webkit-font-smoothing: auto;
  visibility: visible;
  opacity: 1;
  z-index: 1550; 
  }

.pswp__top-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 44px;
  width: 100%; 
  }

.pswp__caption,
.pswp__top-bar,
.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
  -webkit-backface-visibility: hidden;
  will-change: opacity;
  -webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
  transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); 
  }

.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right { visibility: visible; }
.pswp__top-bar,
.pswp__caption { background-color: rgba(0, 0, 0, 0); }

.pswp__ui--fit .pswp__top-bar,
.pswp__ui--fit .pswp__caption { background-color: rgba(0, 0, 0, 0); }

.pswp__ui--idle .pswp__top-bar { opacity: 0; }
.pswp__ui--idle .pswp__button--arrow--left,
.pswp__ui--idle .pswp__button--arrow--right { opacity: 0; }

.pswp__ui--hidden .pswp__top-bar,
.pswp__ui--hidden .pswp__caption,
.pswp__ui--hidden .pswp__button--arrow--left,
.pswp__ui--hidden .pswp__button--arrow--right { opacity: 0.001; }

.pswp__ui--one-slide .pswp__button--arrow--left,
.pswp__ui--one-slide .pswp__button--arrow--right,
.pswp__ui--one-slide .pswp__counter { display: none; }

.pswp__element--disabled { display: none !important; }

.pswp--minimal--dark .pswp__top-bar { background: none; }

