/*
 * Retina Backgrounds for Compass
 * by:              Gaya Kessler
 * last update:     03/11/14
 *
 * Usage:
 * 1. create background image for pixel ratio 1 screens and put it somewhere in your images folder.
 * 2. create background image for pixel ratio 2 screens and put it somewhere in your images folder.
 * 3. include the background-image property in your Sass/Scss using: '@include background-retina(<ratio-1-imagefile>, <ratio-2-imagefile>)'
 */
.wrapper.index main {
  padding-top: 80px;
}
.wrapper.index main section .select2-container {
  background: #FFF;
  border: 2px solid rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 0 0 transparent;
  -webkit-box-shadow: 0 0 0 0 transparent;
  box-shadow: 0 0 0 0 transparent;
}
.wrapper.index main section .select2-container .select2-selection__rendered {
  padding: 0 20px 0 10px !important;
}
.wrapper.index main section {
  position: relative;
}
.wrapper.index main .animate-block {
  position: absolute;
  width: 100%;
  height: 180px;
  display: block;
  bottom: 0;
}
.wrapper.index main .red-car {
  position: absolute;
  width: 419px;
  height: 139px;
  display: block;
  z-index: 2;
  right: 10px;
  bottom: -15px;
  -moz-transform: rotate(1.8deg);
  -ms-transform: rotate(1.8deg);
  -webkit-transform: rotate(1.8deg);
  transform: rotate(1.8deg);
  background-image: url('../../img/../img/index/red-car.png?1536720740');
  background-repeat: no-repeat;
  background-position: center;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .wrapper.index main .red-car {
    background-image: url('../../img/../img/index/red-car@2x.png?1536720740');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
}
.wrapper.index main .white-car {
  position: absolute;
  width: 497px;
  height: 189px;
  display: block;
  z-index: 2;
  background-image: url('../../img/../img/index/white-car.png?1536720740');
  background-repeat: no-repeat;
  background-position: center;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .wrapper.index main .white-car {
    background-image: url('../../img/../img/index/white-car@2x.png?1536720740');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
}
.wrapper.index main .red-motor {
  position: absolute;
  width: 482px;
  height: 271px;
  display: block;
  z-index: 2;
  bottom: -55px;
  background-image: url('../../img/../img/index/red-motor.png?1536720739');
  background-repeat: no-repeat;
  background-position: center;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .wrapper.index main .red-motor {
    background-image: url('../../img/../img/index/red-motor@2x.png?1536720740');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
}
.wrapper.index main .money {
  position: absolute;
  width: 325px;
  height: 162px;
  display: block;
  z-index: 2;
  background-image: url('../../img/../img/index/money.png?1537263114');
  background-repeat: no-repeat;
  background-position: center;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .wrapper.index main .money {
    background-image: url('../../img/../img/index/money@2x.png?1537263114');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
}
.wrapper.index main .road {
  position: absolute;
  width: 110%;
  height: 64px;
  display: block;
  left: -100%;
  right: -100%;
  margin: auto;
  bottom: -30px;
  z-index: 1;
  background-image: url('../../img/../img/index/road.png?1536720740');
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 64px !important;
  background-repeat: repeat-x !important;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .wrapper.index main .road {
    background-image: url('../../img/../img/index/road@2x.png?1536720740');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1053px 64px;
  }
}
.wrapper.index main .road.up {
  -moz-transform: rotate(1.5deg);
  -ms-transform: rotate(1.5deg);
  -webkit-transform: rotate(1.5deg);
  transform: rotate(1.5deg);
}
.wrapper.index main .road.down {
  -moz-transform: rotate(-1.5deg);
  -ms-transform: rotate(-1.5deg);
  -webkit-transform: rotate(-1.5deg);
  transform: rotate(-1.5deg);
}
.wrapper.index main .road:before {
  content: "";
  position: absolute;
  display: block;
  width: 1847px;
  height: 40px;
  left: -100%;
  right: -100%;
  top: 5px;
  margin: auto;
  background-image: url('../../img/../img/index/road-line.png?1536720740');
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 40px !important;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .wrapper.index main .road:before {
    background-image: url('../../img/../img/index/road-line@2x.png?1536720740');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1827px 40px;
  }
}
.wrapper.index main #buy-car,
.wrapper.index main #why-taishin,
.wrapper.index main #finace {
  padding-bottom: 250px;
}
.wrapper.index main #buy-car + section,
.wrapper.index main #why-taishin + section,
.wrapper.index main #finace + section {
  padding-top: 44px;
}
.wrapper.index main #service .animate-block {
  bottom: auto;
  top: -180px;
}
.wrapper.index main #service .animate-block .white-car {
  right: 23%;
  bottom: 50px;
}
.wrapper.index main #service .animate-block .money.right {
  right: -20px;
}
.wrapper.index main #service .animate-block .money.left {
  width: 229px;
  height: 116px;
  background-size: 229px 116px;
  left: -20px;
  bottom: 130px;
  z-index: 0;
}
.wrapper.index main #service:before {
  content: "";
  display: block;
  position: absolute;
  top: -123px;
  width: 100%;
  height: 126px;
  background-image: url('../../img/../img/index/bg_S5.png?1536720825');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 126px !important;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .wrapper.index main #service:before {
    background-image: url('../../img/../img/index/bg_S5@2x.png?1536720825');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1024px 126px;
  }
}
.wrapper.index main .row.cards {
  margin-left: -5px;
  margin-right: -5px;
}
.wrapper.index main .row.cards > div[class*="col-"] {
  padding-left: 5px;
  padding-right: 5px;
}
.wrapper.index main .banner {
  position: relative;
  height: 56.25vh;
  max-height: 412px;
}
.wrapper.index main .banner .side-button {
  position: absolute;
  height: 144px;
  right: 0px;
  top: 0;
  bottom: 0;
  margin: auto;
  -moz-transform: translateX(0px);
  -ms-transform: translateX(0px);
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
  -moz-transition: -moz-transform 0.5s ease 0.5s;
  -o-transition: -o-transform 0.5s ease 0.5s;
  -webkit-transition: -webkit-transform 0.5s ease;
  -webkit-transition-delay: 0.5s;
  transition: transform 0.5s ease 0.5s;
}
.wrapper.index main .banner .side-button.out {
  -moz-transform: translateX(220px);
  -ms-transform: translateX(220px);
  -webkit-transform: translateX(220px);
  transform: translateX(220px);
}
.wrapper.index main .banner .side-button > .btn {
  display: block;
  width: 225px;
  height: 36px;
  font-size: 18px;
  line-height: 0;
  margin: 20px -20px 20px 0;
  padding: 4px 20px 4px 30px;
  -moz-border-radius: 20px 0 0 20px;
  -webkit-border-radius: 20px;
  border-radius: 20px 0 0 20px;
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
  -moz-transition: -moz-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  -webkit-transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
}
.wrapper.index main .banner .side-button > .btn > .icon, .wrapper.index main .banner .side-button > .btn .text {
  vertical-align: middle;
  display: inline-block;
}
.wrapper.index main .banner .side-button > .btn .text {
  margin-left: 15px;
  height: 28px;
  line-height: 28px;
}
.wrapper.index main .banner .side-button > .btn:hover, .wrapper.index main .banner .side-button > .btn:focus {
  -moz-transform: translateX(-20px);
  -ms-transform: translateX(-20px);
  -webkit-transform: translateX(-20px);
  transform: translateX(-20px);
}
.wrapper.index main .banner img {
  position: absolute;
  width: 100%;
  top: -100%;
  bottom: -100%;
  margin: auto;
}
.wrapper.index main .banner .caption {
  position: absolute;
  width: 80%;
  left: 0;
  right: 0;
  display: block;
  margin: 0 auto;
  top: 54px;
  text-align: center;
  font-weight: bold;
}
.wrapper.index main .category-link {
  position: relative;
  z-index: 9;
  margin-top: -100px;
  display: block;
  width: 100%;
  text-align: center;
}
.wrapper.index main .category-link > a,
.wrapper.index main .category-link > a:link {
  display: inline-block;
  width: 256px;
  height: 144px;
  background: #FFF;
  padding: 15px;
  margin: 0 26px;
  text-decoration: none;
  border: 4px solid transparent;
  -moz-border-radius: 78px;
  -webkit-border-radius: 78px;
  border-radius: 78px;
  -moz-box-shadow: 0 2px 2px 0px black;
  -webkit-box-shadow: 0 2px 2px 0px black;
  box-shadow: 0 2px 2px 0px black;
  opacity: 1;
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
  -moz-transition: -moz-transform 0.2s ease-out 0.3s, opacity 0.2s ease-out 0.3s;
  -o-transition: -o-transform 0.2s ease-out 0.3s, opacity 0.2s ease-out 0.3s;
  -webkit-transition: -webkit-transform 0.2s ease-out, opacity 0.2s ease-out;
  -webkit-transition-delay: 0.3s, 0.3s;
  transition: transform 0.2s ease-out 0.3s, opacity 0.2s ease-out 0.3s;
}
.wrapper.index main .category-link > a:first-child,
.wrapper.index main .category-link > a:link:first-child {
  -moz-transition: -moz-transform 0.2s ease-out 0s, opacity 0.2s ease-out 0s;
  -o-transition: -o-transform 0.2s ease-out 0s, opacity 0.2s ease-out 0s;
  -webkit-transition: -webkit-transform 0.2s ease-out, opacity 0.2s ease-out;
  -webkit-transition-delay: 0s, 0s;
  transition: transform 0.2s ease-out 0s, opacity 0.2s ease-out 0s;
}
.wrapper.index main .category-link > a:last-child,
.wrapper.index main .category-link > a:link:last-child {
  -moz-transition: -moz-transform 0.2s ease-out 0.6s, opacity 0.2s ease-out 0.6s;
  -o-transition: -o-transform 0.2s ease-out 0.6s, opacity 0.2s ease-out 0.6s;
  -webkit-transition: -webkit-transform 0.2s ease-out, opacity 0.2s ease-out;
  -webkit-transition-delay: 0.6s, 0.6s;
  transition: transform 0.2s ease-out 0.6s, opacity 0.2s ease-out 0.6s;
}
.wrapper.index main .category-link > a:hover, .wrapper.index main .category-link > a:focus,
.wrapper.index main .category-link > a:link:hover,
.wrapper.index main .category-link > a:link:focus {
  border-color: #D70C18;
}
.wrapper.index main .category-link > a img,
.wrapper.index main .category-link > a:link img {
  width: 210px;
  height: auto;
}
.wrapper.index main .category-link > a .text,
.wrapper.index main .category-link > a:link .text {
  font-size: 24px;
  font-weight: 500;
}
.wrapper.index main .category-link.out > a {
  opacity: 0;
  -moz-transform: translateY(100px);
  -ms-transform: translateY(100px);
  -webkit-transform: translateY(100px);
  transform: translateY(100px);
}
.wrapper.index main .square.card {
  position: relative;
  margin-bottom: 10px;
}
.wrapper.index main .square.card .image {
  position: relative;
  padding-bottom: 100%;
  display: block;
  overflow: hidden;
}
.wrapper.index main .square.card .image img {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
}
.wrapper.index main .square.card .caption {
  position: absolute;
  width: 100%;
  height: 44px;
  line-height: 44px;
  text-align: center;
  bottom: 0;
  color: #FFF;
  background: rgba(98, 104, 123, 0.7);
}
.wrapper.index main .desp-section {
  margin-bottom: 20px;
}
.wrapper.index main .desp-section .header {
  color: #D70C18;
  text-align: right;
  padding-right: 0;
}
.wrapper.index main .desp-section .content {
  color: #4a4a4a;
  padding-left: 0;
  font-size: 16px;
}
.wrapper.index main .desp-section .content ul > li {
  margin-bottom: 10px;
}
.wrapper.index main .desp-section .content ul > li small {
  font-size: 13px;
}
.wrapper.index main .static {
  margin-bottom: 30px;
  text-align: center;
}
.wrapper.index main .static p {
  font-size: 20px;
}
.wrapper.index main .static h1 {
  font-size: 56px;
  margin-top: 10px;
}
.wrapper.index main .static h1 small {
  font-size: 20px;
}
.wrapper.index main .static.blue > h1,
.wrapper.index main .static.blue > h1 > * {
  color: #4178AA;
}
.wrapper.index main .static.orange > h1,
.wrapper.index main .static.orange > h1 > * {
  color: #E66969;
}
.wrapper.index main .note-bordered {
  border: 1px solid #4a4a4a;
  margin-top: 20px;
}
.wrapper.index main .radio {
  padding-left: 52px;
}
.wrapper.index main .radio label {
  font-size: 18px;
}
.wrapper.index main section form.form .form-group label {
  text-align: right;
  font-size: 18px;
  line-height: 40px;
}
.wrapper.index main section form.form .form-group input {
  height: 40px;
  line-height: 40px;
  background: #FFF;
  border: 2px solid rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 0 0 transparent;
  -webkit-box-shadow: 0 0 0 0 transparent;
  box-shadow: 0 0 0 0 transparent;
}
@media screen and (max-width: 992px) {
  .wrapper.index main .category-link {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    overflow: hidden;
    -moz-border-radius: 23px;
    -webkit-border-radius: 23px;
    border-radius: 23px;
    -moz-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
  }
  .wrapper.index main .category-link > a {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    /* Rectangle 3: */
    background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSI1JSIgc3RvcC1jb2xvcj0iI2Y3ZjdmNyIvPjxzdG9wIG9mZnNldD0iOTIlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmFkKSIgLz48L3N2Zz4g');
    background-size: 100%;
    background-image: -moz-linear-gradient(270deg, #f7f7f7 5%, #ffffff 92%);
    background-image: -webkit-linear-gradient(270deg, #f7f7f7 5%, #ffffff 92%);
    background-image: linear-gradient(-180deg, #f7f7f7 5%, #ffffff 92%);
    -moz-box-shadow: 0 0 0 0 transparent;
    -webkit-box-shadow: 0 0 0 0 transparent;
    box-shadow: 0 0 0 0 transparent;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .wrapper.index main .category-link > a > img {
    float: left;
    height: 44px;
    width: auto;
    margin-right: 18px;
  }
  .wrapper.index main .category-link > a .text {
    line-height: 44px;
    text-align: left;
  }
}
@media screen and (max-width: 768px) {
  .wrapper.index main {
    padding-top: 52px;
  }
  .wrapper.index main #service:before {
    height: 139px;
    background-size: 1024px 126px !important;
  }
  .wrapper.index main #buy-car,
  .wrapper.index main #why-taishin {
    padding-bottom: 100px;
  }
  .wrapper.index main #finace {
    padding-bottom: 170px;
  }
  .wrapper.index main #service .animate-block .money {
    width: 164px;
    height: 81px;
    background-size: 164px auto;
  }
  .wrapper.index main #service .animate-block .money.right {
    right: -85px;
    bottom: 40px;
  }
  .wrapper.index main #service .animate-block .money.left {
    width: 118px;
    height: 60px;
    left: -70px;
    bottom: 110px;
    background-size: 118px auto;
  }
  .wrapper.index main .animate-block .red-motor {
    width: 223px;
    height: 119px;
    bottom: -35px;
    background-size: 232px auto;
  }
  .wrapper.index main .animate-block .white-car {
    width: 256px;
    height: 98px;
    right: 8%;
    bottom: 55px;
  }
  .wrapper.index main .animate-block .red-car {
    width: 245px;
    height: 81px;
    right: -30px;
    background-size: 245px 81px;
  }
  .wrapper.index main .banner {
    width: 100%;
    height: 378px !important;
  }
  .wrapper.index main .banner img {
    height: 100%;
    width: auto;
  }
  .wrapper.index main .banner .caption {
    top: 30px;
    left: 10%;
    width: 80%;
    right: auto;
  }
  .wrapper.index main .banner .caption h1 {
    font-size: 32px;
    text-align: left !important;
  }
  .wrapper.index main .banner .side-button {
    bottom: -40px;
  }
  .wrapper.index main .banner .side-button .btn {
    width: 195px;
    text-align: left;
    padding: 0 10px;
  }
  .wrapper.index main .banner .side-button .btn .text {
    margin-left: 7px;
  }
  .wrapper.index main .static p {
    font-size: 16px;
  }
  .wrapper.index main .static h1 {
    font-size: 36px;
    margin-top: 0;
  }
  .wrapper.index main .static h1 small {
    font-size: 16px;
  }
  .wrapper.index main form.form .form-group > label {
    line-height: 1.2;
    font-size: 16px;
  }
  .wrapper.index main section .header {
    font-size: 32px;
  }
  .wrapper.index main section .road {
    height: 38px;
    background-size: auto 38px !important;
  }
  .wrapper.index main section .road:before {
    top: 2px;
    height: 24px;
    background-size: auto 24px !important;
  }
  .wrapper.index main .desp-section .header {
    text-align: left;
    font-size: 20px;
  }
  .wrapper.index main .desp-section .content {
    font-size: 14px;
  }
  .wrapper.index main .desp-section .content small {
    font-size: 11px;
  }
}
@media screen and (max-width: 375px) {
  .wrapper.index main .banner .caption h1 {
    font-size: 28px;
  }
  .wrapper.index main .category-link > a,
  .wrapper.index main .category-link > a:link {
    padding: 10px;
  }
  .wrapper.index main .category-link > a img,
  .wrapper.index main .category-link > a:link img {
    height: 36px;
  }
  .wrapper.index main .category-link > a .text,
  .wrapper.index main .category-link > a:link .text {
    font-size: 18px;
  }
}
