/**
 * Swiper 4.1.6
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * http://www.idangero.us/swiper/
 *
 * Copyright 2014-2018 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: February 11, 2018
 */

.mo_br {
  display: none;
}

.visual {
  height: 600px;
}

.visual .swiper {
  height: 100%;
}

.visual-swiper {
  width: 100%;
  position: relative;
}

.visual .swiper_inner {
  position: relative;
  height: 100%;
}

.visual .swiper_inner .swiper_bg img {
  width: 100vw;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.swiper_bg {
  height: 100%;
}

.swiper_bg img {
  height: 100%;
  object-fit: cover;
}

.visual .swiper_txt {
  position: absolute;
  top: 20%;
  left: 14.7%;
}

.visual .swiper_txt h1 {
  font-size: 56px;
  font-weight: 700;
}

.visual .swiper_txt p {
  margin-top: 32px;
  font-size: 22px;
  font-weight: 400;
}

.visual .swiperbutton_box {
  position: absolute;
  top: 350px;
  left: 14.7%;
  width: 100%;
  max-width: 1360px;
  border: 2px solid red;
}

.visual .swiper-pagination {
  width: auto;

  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #fad2d5;
    border-radius: 100px;
    transition: all 0.3s;
    opacity: 1;

    &.swiper-pagination-bullet-active {
      width: 30px;
      background-color: #e60012;
    }
  }
}

.visual .swiper-button-group {
  position: absolute;
  left: 140px;
  width: 124px;
  height: 36px;
  z-index: 10;
  transition: all 0.3s;
}

.main_ctn .swiper-button-group {
  position: absolute;
  top: 350px;
  left: 22%;
  width: 124px;
  height: 36px;
  z-index: 10;
  transition: all 0.3s;
}

.visual .swiper-button {
}

.swiper-button-group .swiper-button::after {
  content: '';
}

.visual .swiper-button-prev {
  position: absolute;
  top: 0;
  left: -10px;
  transform: translateY(-50%);
  background: url(../images/swiper_arrow_prev.svg) no-repeat left top;
  width: 36px;
  height: 36px;
}

.visual .swiper-button-group .swiper-button-next {
  top: 0;
  right: 50px;
  transform: translateY(-50%);
  background: url(../images/swiper_arrow_next.svg) no-repeat left top;
  width: 36px;
  height: 36px;
}

.main_ctn .swiper-button-prev {
  position: absolute;
  left: -18px;
  background: url(../images/swiper_arrow_prev.svg) no-repeat left top;
  background-size: contain;
  width: 36px;
  height: 36px;
}

.main_ctn .swiper-button-next {
  right: -18px;
  background: url(../images/swiper_arrow_next.svg) no-repeat left top;
  background-size: contain;
  width: 36px;
  height: 36px;
}

.main_ctn .swiper-button-prev:after,
.main_ctn .swiper-button-next:after {
	font-size: 0;
}

.visual .swiper-button-toggle {
  position: absolute;
  top: -21px;
  right: 3px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: url(../images/swiper_arrow_stop.svg) no-repeat center center;
  background-size: contain;
}

.visual .swiper-button-toggle.paused {
  background: url(../images/swiper_arrow_start.svg) no-repeat center center;
  background-size: contain;
}

.main_ctn .swiper-button-group {
  z-index: 100;
}

.main_ctn .swiper-button-group {
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.main_ctn .swiper-button-group .swiper-button-prev {
  left: -20px;
}

.main_ctn .swiper-button-group .swiper-button-next {
  right: -20px;
}

@media screen and (max-width: 1150px) {
  .visual .swiper_txt,
  .visual .swiperbutton_box {
    left: 7.7%;
  }
}

@media screen and (max-width: 768px) {
  .visual {
    margin-top: 92px !important;
    height: 100%;
  }
  .visual .swiper {
    height: auto;
  }

  .visual-swiper {
    width: auto;
    position: relative;
  }

  .visual .swiper_inner {
    position: relative;
    height: auto;
    margin-bottom: 120px;
  }
  .visual .pc_bg {
    display: none !important;
  }
  .visual .mo_bg {
    display: block;
  }
  .visual .swiper_txt,
  .visual .swiperbutton_box {
    left: 60px;
  }
  .visual .swiper_txt {
    top: 100px;
  }
  .visual .swiper_txt h1 {
    font-size: 34px;
  }
  .visual .swiper_txt p {
    margin-top: 16px;
    font-size: 16px;
  }
  .visual .swiperbutton_box {
    top: 360px;
  }
  .visual .swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;

    &.swiper-pagination-bullet-active {
      width: 24px;
    }
  }
  .visual .swiper-button-group {
    top: 2px;
    left: 115px;
    width: 90px;
  }
  .visual .swiper-button-group .swiper-button-toggle {
    top: -22px;
    right: 12px;
  }
  .visual .swiper-button-group .swiper-button-prev,
  .visual .swiper-button-group .swiper-button-next,
  .visual .swiper-button-group .swiper-button-toggle {
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
  }
  .visual .swiper-button-group .swiper-button-next {
    right: 45px;
  }
  .main_ctn .swiper-button-group .swiper-button-prev,
  .main_ctn .swiper-button-group .swiper-button-next {
    width: 30px;
	height: 30px;
  }
}

@media screen and (max-width: 520px) {
   .visual .swiper_txt,
  .visual .swiperbutton_box {
    left: 20px;
  }
  .visual .swiper_txt {
    top: 40px;
  }
  .visual .swiperbutton_box {
    top: 300px;
  }
}
}
