/**
 * Allows you to use retina images at various pixel densities.
 * Examples:
 *
 *   @include retina(/images/mypic.jpg, 2);
 *   @include retina(/images/mypic.jpg, 3, 100px 100px, left top no-repeat transparent);
 *
 * @param  {Value}  $path               The path to the file name minus extension.
 * @param  {Number} $cap:    2          The highest pixel density level images exist for.
 * @param  {Value}  $size:   auto auto  The intended width of the rendered image.
 * @param  {Value}  $extras: null       Any other `background` values to be added.
 */
body {
  font-size: 16px;
  line-height: 2.2;
  text-align: justify;
  letter-spacing: .08em;
  color: #fff;
  background: #000;
  -webkit-font-feature-settings: 'palt';
  font-feature-settings: 'palt';
}

h1 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 140px;
  font-weight: bold;
  line-height: 1;
  overflow: hidden;
  padding-bottom: 20px;
  letter-spacing: 0;
  color: #fff;
}

h1 span {
  display: block;
  -webkit-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1) 0.1s;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1) 0.1s;
}

.anim-item.hide h1 span {
  -webkit-transition: all 0s ease 0s !important;
  transition: all 0s ease 0s !important;
  -webkit-transform: translateY(110%);
  -ms-transform: translateY(110%);
  transform: translateY(110%);
}

section > .inner {
  position: relative;
}

section > .inner > .v {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: opacity 1s ease .5s;
  transition: opacity 1s ease .5s;
  opacity: .4;
}

section > .inner .main {
  -webkit-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1) 0.6s;
  transition: all 1s cubic-bezier(0.19, 1, 0.22, 1) 0.6s;
}

.anim-item.hide .main {
  -webkit-transition: all 0s ease 0s !important;
  transition: all 0s ease 0s !important;
  -webkit-transform: translateY(50px) !important;
  -ms-transform: translateY(50px) !important;
  transform: translateY(50px) !important;
  opacity: 0 !important;
}

.anim-item.hide > .inner > .v {
  -webkit-transition: all 0s ease 0s !important;
  transition: all 0s ease 0s !important;
  opacity: 1 !important;
}

.content p,
.content dd {
  color: #fff;
}

.imgs ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.imgs li {
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.imgs li img {
  display: block;
  width: 100%;
}

.left {
  float: left;
  padding-right: 30px;
}

.right {
  float: right;
  padding-left: 30px;
}

.bottomv {
  position: relative;
}

.bottomv .v {
  display: block;
  width: 100%;
}

.bottomv .logo2 {
  position: absolute;
  top: 5%;
  left: 50%;
  height: 90%;
  -webkit-transition: all 0s ease 0.5s !important;
  transition: all 0s ease 0.5s !important;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

footer {
  font-size: 10px;
  padding: 10px 0;
  text-align: center;
}

.anim-item.hide .logo2 {
  -webkit-transition: all 0s ease 0s !important;
  transition: all 0s ease 0s !important;
  opacity: 0;
}

/**
 * Allows you to use retina images at various pixel densities.
 * Examples:
 *
 *   @include retina(/images/mypic.jpg, 2);
 *   @include retina(/images/mypic.jpg, 3, 100px 100px, left top no-repeat transparent);
 *
 * @param  {Value}  $path               The path to the file name minus extension.
 * @param  {Number} $cap:    2          The highest pixel density level images exist for.
 * @param  {Value}  $size:   auto auto  The intended width of the rendered image.
 * @param  {Value}  $extras: null       Any other `background` values to be added.
 */
#introduction {
  padding-top: 44px;
}

#introduction .txt {
  width: 1100px;
  margin: 0 auto;
  margin-top: -60px;
  padding-bottom: 100px;
}

#introduction .txt h1 {
  line-height: 1;
}

#introduction .txt h2 {
  padding-bottom: 30px;
}

#introduction .main {
  -webkit-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1) 0.6s;
  transition: all 1s cubic-bezier(0.19, 1, 0.22, 1) 0.6s;
}

body.def #introduction h1 span {
  -webkit-transform: translateY(110%);
  -ms-transform: translateY(110%);
  transform: translateY(110%);
  -webkit-transition: all 0s ease 0s !important;
  transition: all 0s ease 0s !important;
}

body.def #introduction .main {
  opacity: 0 !important;
  -webkit-transform: translateY(50px) !important;
  -ms-transform: translateY(50px) !important;
  transform: translateY(50px) !important;
  -webkit-transition: all 0s ease 0s !important;
  transition: all 0s ease 0s !important;
}

/**
 * Allows you to use retina images at various pixel densities.
 * Examples:
 *
 *   @include retina(/images/mypic.jpg, 2);
 *   @include retina(/images/mypic.jpg, 3, 100px 100px, left top no-repeat transparent);
 *
 * @param  {Value}  $path               The path to the file name minus extension.
 * @param  {Number} $cap:    2          The highest pixel density level images exist for.
 * @param  {Value}  $size:   auto auto  The intended width of the rendered image.
 * @param  {Value}  $extras: null       Any other `background` values to be added.
 */
#story > .inner {
  position: relative;
}

#story .txt {
  width: 1100px;
  margin: 0 auto;
  padding: 100px 0;
}

#story .txt h1 {
  line-height: 1;
  display: block;
  text-align: right;
}

#story .txt h2 {
  padding-bottom: 30px;
}

#story .txt > .inner {
  padding-left: 50%;
}

#story .v {
  background: url(../images/atm/story/v.jpg) no-repeat center 0%;
  background-size: cover;
  background-attachment: fixed;
  opacity: 0.7;
}

/**
 * Allows you to use retina images at various pixel densities.
 * Examples:
 *
 *   @include retina(/images/mypic.jpg, 2);
 *   @include retina(/images/mypic.jpg, 3, 100px 100px, left top no-repeat transparent);
 *
 * @param  {Value}  $path               The path to the file name minus extension.
 * @param  {Number} $cap:    2          The highest pixel density level images exist for.
 * @param  {Value}  $size:   auto auto  The intended width of the rendered image.
 * @param  {Value}  $extras: null       Any other `background` values to be added.
 */
#cast nav ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 1100px;
  padding-bottom: 42px;
}

#cast nav ul a {
  position: relative;
  display: block;
}

#cast nav ul a.cur {
  pointer-events: none;
}

#cast nav ul a.cur:after {
  position: absolute;
  top: -4px;
  left: -4px;
  content: " ";
  display: block;
  width: 116px;
  height: 77px;
  background: url(../images/atm/cast/cur.png) no-repeat center center;
}

#cast .v {
  background: url(../images/atm/cast/v.jpg) no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  opacity: 0.6;
}

#cast .txt {
  width: 1100px;
  margin: 0 auto;
  padding: 100px 0;
}

#cast .btn-next {
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -40px;
  display: block;
  background: rgba(230, 24, 116, 0.8);
  -webkit-transition: background 0.2s ease 0s;
  transition: background 0.2s ease 0s;
}

#cast .btn-next:hover {
  background: #e61874;
}

#cast .btn-prev {
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -40px;
  display: block;
  background: rgba(230, 24, 116, 0.8);
}

#cast .btn-prev:hover {
  background: #e61874;
}

#cast .detail {
  width: 1150px;
  height: 340px;
  overflow: hidden;
}

#cast .detail ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 900%;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

#cast .detail li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 1100px;
  margin-right: 50px;
}

#cast .detail li figure {
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  padding-right: 50px;
}

#cast .detail li dl {
  font-size: 16px;
  line-height: 1.8;
}

#cast .detail li dl dt {
  padding-bottom: 20px;
}

#cast .detail li dl dd {
  line-height: 1.8;
}

/**
 * Allows you to use retina images at various pixel densities.
 * Examples:
 *
 *   @include retina(/images/mypic.jpg, 2);
 *   @include retina(/images/mypic.jpg, 3, 100px 100px, left top no-repeat transparent);
 *
 * @param  {Value}  $path               The path to the file name minus extension.
 * @param  {Number} $cap:    2          The highest pixel density level images exist for.
 * @param  {Value}  $size:   auto auto  The intended width of the rendered image.
 * @param  {Value}  $extras: null       Any other `background` values to be added.
 */
#staff .txt {
  width: 1100px;
  margin: 0 auto;
  padding: 100px 0;
}

#staff .txt h1 {
  line-height: 1;
  display: block;
  text-align: right;
}

#staff .txt h2 {
  padding-bottom: 30px;
}

#staff .txt > .inner {
  padding-left: 50%;
}

#staff .txt dl dt {
  padding-bottom: 1em;
}

#staff .txt dl dd {
  padding-bottom: 2em;
}

#staff .v {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: url(../images/atm/staff/v.jpg) no-repeat center 0%;
  background-size: cover;
  background-attachment: fixed;
}

/**
 * Allows you to use retina images at various pixel densities.
 * Examples:
 *
 *   @include retina(/images/mypic.jpg, 2);
 *   @include retina(/images/mypic.jpg, 3, 100px 100px, left top no-repeat transparent);
 *
 * @param  {Value}  $path               The path to the file name minus extension.
 * @param  {Number} $cap:    2          The highest pixel density level images exist for.
 * @param  {Value}  $size:   auto auto  The intended width of the rendered image.
 * @param  {Value}  $extras: null       Any other `background` values to be added.
 */
#productionnote .txt {
  width: 1100px;
  margin: 0 auto;
  padding: 100px 0;
}

#productionnote .txt h1 {
  line-height: 1;
  display: block;
}

#productionnote .txt h2 {
  padding-bottom: 30px;
}

#productionnote .txt > .inner {
  padding-left: 50%;
}

#productionnote .txt p {
  padding-bottom: 2.5em;
}

#productionnote .v {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: url(../images/atm/pn/v.jpg) no-repeat center 0%;
  background-size: cover;
  background-attachment: fixed;
}
