* {
  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-family: "游明朝",serif;
  font-size: 108%;
  line-height: 240%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  }

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

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

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

a { text-decoration: none; transition: .5s; }
a:link { color: #000; }
a:visited { color: #999; }
a:hover { color: #ccc; }
.active { color: #000; }

/* --------------------------------------------------------- ★ 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); }

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

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

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

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

p { margin: 0; }

.text { line-height: 300%; }
.text p { margin-bottom: 30px; }

.center { text-align: center; }
.left { text-align: left; }
.right { text-align: right; }

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

@media screen and (max-width: 840px) {
.r { width: 100%; }
}

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

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

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

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

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

h1 { font-size: 150%; padding: 120px 0; letter-spacing: 0.2em; text-align: center; }
h2 { font-size: 120%; padding: 40px 0; text-align: center; }
h3 { font-size: 110%; padding: 20px 0; }
h4 { font-size: 120%; padding: 40px 0; text-align: center; }
h5 { font-size: 110%; padding: 0; }
.border { border: solid 1px #ccc; }

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

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

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

.logo { z-index: 10; }
.logo-main { position: fixed; top: 60px; left: 40px; }
.logo-main img { width: 40px; }

@media screen and (min-width: 1200px) {
.logo { position: fixed; top: 60px; left: 40px; }
.logo img { width: 40px; }
.logo_sp { display: none; }
}

@media screen and (max-width: 1200px) {
.logo { margin-top: 40px; text-align: center; }
.logo img { height: 30px; }
.logo_pc,
.logo-main { display: none; }
}

/* --------------------------------------------------------- ★ loading */

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOut 1.5s 2.5s forwards;
  }

@keyframes fadeOut {
      0% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

.loading img { width: 240px; opacity: 0; animation: logo_fade 3s 0.5s forwards; }
@media screen and (max-width: 640px) {
.loading img { width: 200px; }
}

@keyframes logo_fade {
      0% { opacity: 0; transform: translateY(20px); }
    60% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}

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

.head,
.head_pc,
.head_sp { width: 100%; height: 100%; } /* 画像ファイルは各ページに直接記述 */
.header { position: relative; height: 100vh; margin-bottom: 100px; overflow: hidden; z-index: 110; }

.header p {
  position: fixed;
  top: 60px;
  right: 70px;
  color: #000;
  font-size: 25px;
  text-align: right;
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
  z-index: 10;
  }

.shutter2 {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 180px;
  background: rgba(255, 255, 255, 0.7);
  z-index: 1;
  animation: shutter2 1.5s forwards;
  }


@keyframes shutter2 { 
     0% { transform-origin: top; transform: scaleY(0); } 
  100% { transform-origin: top; transform: scaleY(1); } 
  }

@media screen and (max-width: 840px) {
.header p { right: 30px; font-size: 20px; }
.shutter2 { width: 90px; }
}

.header2 p {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  color: #000;
  line-height: 1.2em;
  font-size: 280%;
  text-align: center;
  text-transform: uppercase;
  }

.header p span { border-top: solid 1px #000; animation: horizon 2s forwards; }
.header .m-name { letter-spacing: 0.2em; }

@keyframes horizon {
      0% { margin: 0; padding: 0; }
  100% { margin: 40px 0; padding: 0 20px; }
  }

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

footer { 
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: 80px;
    padding: 100px 0;
    background: #000;
    color: #fff;
    text-align: center;
    z-index: 1;
    overflow: hidden;
    }

footer a:link { padding: 10px; }
footer a:link,
footer a:visited { color: #fff; }
footer a:hover { border-bottom: solid 1px #fff; letter-spacing: 0.3em; }

.f-menu { margin-bottom: 60px; letter-spacing: 0.1em; }
.f-menu li { margin: 0 30px; }

.copy { font-size: small; }

@media screen and (max-width: 840px) {
footer { margin-top: 0; padding: 60px 0; }
.f-menu li { display: block; margin: 20px 0; }
.soondesign { padding: 20px 0 0 0; text-align: center; }
}

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

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

/* --------------------------------------------------------- ★ new */

#new span { display: inline-block; width: 100px; text-align: center; }
#new a { display: block; }
#new li { display: block; }
#new p { display: inline-block; margin: 0 30px; }
#new .l { width: 200px; }
#new .model { text-align: center; }
#new .model p { display: block; }

/* --------------------------------------------------------------------------------- ★ models */

#models ul,
#models2 {
  max-width: 1200px; 
  display: grid;
 grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 40px;
  margin: auto;
  padding: 40px;
  text-align: center;
  }
#models ul img { margin-bottom: 20px; }

#models ul p,
#models2 p { display: block; letter-spacing: .1em; }
#models2 p { margin-top: 40px; font-size: 200%; }

.comment { margin-bottom: 60px; text-align: center; }
.profile .l { width: 200px; }

@media screen and (max-width: 840px) {
#models ul { grid-template-columns: 1fr 1fr; grid-gap: 20px; padding: 20px; }
}

/* --------------------------------------------------------------------------------- ★ モデル募集 apply */

#apply h1 { padding: 60px 0; }
#apply .l { width: 100px; font-weight: bold; }

,model_1 { margin-top: 60px; font-size: 120%; text-align: center; }

/* --------------------------------------------------------------------------------- ★ gallery */

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  max-width: 1200px; 
  margin: auto;
  padding: 80px 20px;
  text-align: center;
  }
.gallery li { display: table-cell; padding: 10px; }
.gallery img { max-height: 300px; }
.gallery a { display: table-cell; vertical-align: middle; width: 300px; height: 300px; }

@media screen and (max-width: 840px) {
.gallery { padding: 0 20px; grid-template-columns: 1fr 1fr; }
}


/* --------------------------------------------------------- ★ button */

.btn { margin: 40px 0; text-align: center; }

.btn a { 
  padding: 20px 30px;
  border: solid 1px #999;
  background: #f4f4f4;
  }

.btn a:visited { color: #333; }
.btn a:hover { text-decoration: none; color: #fff; background: #069; border: solid 1px #069; }

.map-btn { padding-bottom: 100px; }

.reservation { font-size: 150%; letter-spacing: 0.5em; }

/* --------------------------------------------------------- ★ join */

.joinbox { position: relative; margin-top: 60px; height: 160px; font-size: 110%; text-align: center; }

@media screen and (max-width: 840px) {
.joinbox { margin: 30px 0 60px 0; font-size: 130%; }
}

.join {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -80px;
  margin-top: -80px;
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  }

.join:hover:before { animation: pop 0.5s; animation-fill-mode: forwards; }
.join:hover:after { animation: pulse 0.5s; animation-fill-mode: forwards; }
.join:before,
.join:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 160px;
  height: 160px;
  border: 2px solid #000;
  border-radius: 100%;
  }
.join:after { background: #000; transform: scale(0.1); opacity: 0; }
.join span { margin-top: 10px; color: #000; transition: 0.5s; z-index: 1; }
.join:hover span { color: #fff; animation: bounce 0.5s ease-out; }
.join-stock:hover span { color: #fff; transform: translateY(-10px); }

@keyframes pop {
      0% { -webkit-transform: scale(1); transform: scale(1); }
    50% { -webkit-transform: scale(1.2); transform: scale(1.2); }
    90% { -webkit-transform: scale(0.9); transform: scale(0.9); }
  100% { -webkit-transform: scale(1); transform: scale(1); }
  }

@keyframes pulse {
    50% { -webkit-transform: scale(1.2); transform: scale(1.2); opacity: 1; }
    70% { -webkit-transform: scale(0.9); transform: scale(0.9); opacity: 1; }
  100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
  }

@keyframes bounce {
     0% { transform: translateY(0); }
   25% { transform: translateY(-20px); animation-timing-function: ease-in; }
   50% { transform: translateY(0); }
   75% { transform: translateY(-10px); animation-timing-function: ease-in; }
  100% { transform: translateY(0); }
  }

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

.slideshow { position: relative; left: 0; top: 0; height: 100%; overflow: hidden; background: #000; 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 30s linear infinite 0s;
    -webkit-animation: imageAnimation 30s 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(5) span { animation-delay: 24s; -webkit-animation-delay: 24s; }

.slideshow li:nth-child(1) span { background-image: url('../img/top_1.jpg'); }
.slideshow li:nth-child(2) span { background-image: url('../img/top_2.jpg'); }
.slideshow li:nth-child(3) span { background-image: url('../img/top_3.jpg'); }
.slideshow li:nth-child(4) span { background-image: url('../img/top_4.jpg'); }
.slideshow li:nth-child(5) span { background-image: url('../img/top_5.jpg'); }

@media screen and (max-width: 840px) {
.slideshow li:nth-child(1) span { background-image: url('../img/top_s1.jpg'); }
.slideshow li:nth-child(2) span { background-image: url('../img/top_s2.jpg'); }
.slideshow li:nth-child(3) span { background-image: url('../img/top_s3.jpg'); }
.slideshow li:nth-child(4) span { background-image: url('../img/top_s4.jpg'); }
.slideshow li:nth-child(5) span { background-image: url('../img/top_s5.jpg'); }
}

/* Animation for the slideshow images */

@keyframes imageAnimation { 
    0% { opacity: 0; }
    10% { opacity: 1; }
    20% { opacity: 1; }
    30% { opacity: 0; }
    100% { opacity: 0; }
}

@-webkit-keyframes imageAnimation { 
    0% { opacity: 0; }
    10% { opacity: 1; }
    20% { opacity: 1; }
    30% { 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: #000;
    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: #fff; }
.gnav li a:hover { text-decoration: none; background: #777; color: #ccc; }
.gnav li a.active { color: #069; }
.gnav .active a { color: #066; }

@media screen and (max-width: 840px) {
.gnav ul { padding-top: 50px; }
.gnav li a { padding: 20px 0; }
}

.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: #777;
    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 { display: block; margin-left: 30px; padding: 60px 0; }

.back div {
  width: 40px;
  height: 40px;
  margin: auto;
  border-left: 1px solid #252540;
  border-bottom: 1px solid #252540;
  -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: 840px) {
#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: 840px) { 
#accordion { width: 100%; }
#accordion div { margin: 0; }
}

/* --------------------------------------------------------- ★ foam */

form { margin-top: 40px; }
#foam { margin-top: 60px; }
#foam input { font-size: 100%; }
#foam div { font-weight: bold; }
#foam hr { background-image: none; height: 10px; margin: 0; padding: 0; }
#foam .files input[type="file"] { display: block; margin-bottom: 20px; }

#foam .buttons { margin: 30px 0; text-align: center; }
#foam input[type="text"],
#foam textarea,
#foam label span {
  display: block;
  margin-bottom: 15px;
  border: 1px solid #aaa;
  border-radius: 3px;
  line-height: 150%;
  }

#foam input[type="text"] { width: 100%; }
#foam textarea { width: 100%; height: 12em; }

#foam select,
#foam input[type="text"],
#foam textarea { padding: .7rem; }

#foam select { -webkit-appearance: none; }
#foam label span { padding: 20px; text-align: center; }

#foam input[type="file"] { padding: 20px; }

#foam input[type="button"],
#foam input[type="submit"] { 
  margin: 20px 10px; 
  padding: 15px 80px; 
  border: 1px solid #aaa;
  border-radius: 3px;
  -webkit-appearance: none;
  transition: 0.4s;
  }

#foam input[type="button"]:hover,
#foam input[type="submit"]:hover { 
  color: #fff;
  background: #000;
  border: 1px solid #000;
  cursor: pointer;
  cursor: hand;
  }

/* ファイル送信ボタン */

input[type="file"]:focus { outline: 0; }

.upload {
  position: relative;
  .upload_input {
    &::before {
      position: absolute;
      top: 10px;
      margin: -5px 0 0 -20px;
      padding: 15px;
      background: #000;
      color: #fff;
      content: 'ファイルを選択';
    }
  }
  input[type="file"]::-webkit-file-upload-button {
    background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));
    background-color: transparent;
    border: 0;
    margin: 0 15px 0 0;
  }
}

/* tmpl 用 */

.formbox { max-width: 900px; margin: auto; padding: 40px 20px; }
.form-p { margin-bottom: 40px; text-align: center; }
#foam form span { color: #f99; font-size: small; font-weight: normal; }

/* チェックボタン & ラジオボタン */

#foam input[type="checkbox"],
#foam input[type="radio"] { transform: scale(1.5); margin: 1em; }

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

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

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

.shutter {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 1;
  animation: shutter .9s forwards;
  }

@keyframes shutter { 100% { transform: translateX(100%); } }

.shutter3 {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 1;
  animation: shutter .9s forwards;
  }

@keyframes shutter { 100% { transform: translateX(100%); } }

/* -------------------------------------------------------- ★ スクロールを促すアニメーション */

.scroll {
  position: absolute;
  right: 30px;
  bottom: 30px;
  z-index: 100;
  }

.scroll-center {
  position: absolute;
  right: 50px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  }

.scroll div {
  width: 18px;
  height: 64px;
  position: relative;
  border-radius: 100px;
  animation: colorSlide 10s linear infinite,
  nudgeMouse 10s ease-out infinite;
  }
.scroll div:before,
.scroll div:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  }
.scroll div:before {
  width: 12px;
  height: 60px;
  border-radius: 100px;
  }
.scroll div:after {
  background: #000;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  animation: trackBallSlide 10s linear infinite;
  }

@keyframes colorSlide {
  0% { background: #fff; background-position: 0 100%; }
  20% { background-position: 0 0; }
  29.99% { background-position: 0 0; }
  30% { background-position: 0 100%; }
  50% { background-position: 0 0; }
  59% { background-position: 0 0; }
  60% { background-position: 0 100%; }
  80% { background-position: 0 0; }
}

@keyframes trackBallSlide{
  0% { opacity: 1; transform: scale(1) translateY(-20px); }
  6% { opacity: 1; transform: scale(0.9) translateY(5px); }
  14% { opacity: 0; transform: scale(0.4) translateY(40px); }
  15%, 19% { opacity: 0; transform: scale(0.4) translateY(-20px); }
  28%, 29.99% { opacity: 1; transform: scale(1) translateY(-20px); }
  30% { opacity: 1; transform: scale(1) translateY(-20px); }
  36% { opacity: 1; transform: scale(0.9) translateY(5px); }
  44% { opacity: 0; transform: scale(0.4) translateY(40px); }
  45%, 49% { opacity: 0; transform: scale(0.4) translateY(-20px); }
  58%, 59.99% { opacity: 1; transform: scale(1) translateY(-20px); }
  60% { opacity: 1; transform: scale(0.9) translateY(-20px); }
  66% { opacity: 1; transform: scale(0.9) translateY(5px); }
  74% { opacity: 0; transform: scale(0.4) translateY(40px); }
  75%, 79% { opacity: 0; transform: scale(0.4) translateY(-20px); }
  88%, 100% { opacity: 1; transform: scale(1) translateY(-20px); }
  }
@keyframes nudgeMouse{
  0% { transform: translateY(0); }
  20% { transform: translateY(8px); }
  30% { transform: translateY(0); }
  50% { transform: translateY(8px); }
  60% { transform: translateY(0); }
  80% { transform: translateY(8px); }
  90% { transform: translateY(0); }
}

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

.extend::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: #000;
  animation-name: extend;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  }

@keyframes extend {
  0% { transform-origin: left; transform: scaleX(0); }
  50% { transform-origin: left; transform:scaleX(1); }
  50.001% { transform-origin: right; }
  100% { transform-origin: right; transform: scaleX(0); }
}

/* --------------------------------------------------------- ★ 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); transform: translateX(-20px); }
  100% { opacity: 1; -webkit-transform: translateX(0); transform: translateX(0); }
}

@media screen and (max-width: 840px) {
@keyframes fadeInLeft {
    0% { opacity: 0; -webkit-transform: translateX(-10px); transform: translateX(-10px); }
}
}

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

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

@keyframes fadeInRight {
      0% { opacity: 0; -webkit-transform: translateX(50px); transform: translateX(50px); }
  100% { opacity: 1; -webkit-transform: translateX(0); transform: translateX(0); }
}
@media screen and (max-width: 840px) {
@keyframes fadeInRight {
      0% { opacity: 0; -webkit-transform: translateX(20px); transform: translateX(20px); }
}
}

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

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

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

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

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

@keyframes fadeInDown {
      0% { opacity: 0; -webkit-transform: translateY(-20px); transform: translateY(-20px); }
  100% { opacity: 1; -webkit-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; }

