@charset "UTF-8";
#top {
  position: relative;
}

/* =====================
  メインビジュアル
===================== */
.mainvis-title {
  font-size: 4vw;
  top: 43%;
  overflow: hidden;
}

.swiper-container {
  height: calc(100vw * 1000 /1920);
}

.mainvis_01 {
  background: url("../images/top/mv-pc_01.jpg") top center no-repeat;
  background-size: 100% auto,cover;
}

.mainvis_02 {
  background: url("../images/top/mv-pc_02.jpg") top center no-repeat;
  background-size: 100% auto,cover;
}

.mainvis_03 {
  background: url("../images/top/mv-pc_03.jpg") top center no-repeat;
  background-size: 100% auto,cover;
}

.mainvis_04 {
  background: url("../images/top/mv-pc_04.jpg") top center no-repeat;
  background-size: 100% auto,cover;
}

.mainvis_05 {
  background: url("../images/top/mv-pc_05.jpg") top center no-repeat;
  background-size: 100% auto,cover;
}

.swiper-slide a {
  font-size: 2vw;
  width: 20vw;
  height: 5vw;
  bottom: 28%;
  overflow: hidden;
}
.swiper-slide a:before {
  content: "";
  width: 200%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(-45deg);
  position: absolute;
  top: -10%;
  right: -120%;
  transition: .3s ease-in-out;
}
.swiper-slide a:hover:before {
  right: 10%;
}

/* =====================
  コンテンツタイトル共通
===================== */
#top .content-title {
  font-size: 55px;
  margin-bottom: 25px;
}
#top .content-title p {
  font-size: 24px;
  margin-top: 15px;
}

/* =====================
  お知らせ
===================== */
#top .news {
  max-width: 1240px;
  margin: -90px auto 0 auto;
  padding: 30px 0;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#top .news-content-title-wrapper {
  width: 25%;
}
#top .news .content-title {
  font-size: 36px;
}
#top .news .content-title p {
  margin-top: 5px;
}
#top .news-list {
  width: 75%;
  margin: 0;
  padding: 30px 4%;
  border-left: 1px solid #ccc;
}
#top .news-list-item {
  display: flex;
  margin-bottom: 10px;
  padding: 0 2em;
}
#top .news-list-item a {
  display: block;
  padding: 0.5em;
}
#top .news-list-item:hover {
  background: #f4f4f4;
}
#top .news-list-item time {
  margin: 5px 30px 0 0;
}
#top .news-tag {
  width: 10em;
  height: 25px;
  padding: 2px 0;
  margin: 10px 30px 0 0;
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#top .news-title {
  transition: 0.2s ease-in-out;
  width: 80%;
  font-size: inherit;
  font-weight: bold;
  margin: 0;
}
#top .news-all-btn {
  display: none;
}
#top .news-campaign {
  border: 1px solid #ed6d0f;
  color: #ed6d0f;
}
#top .news-recruit {
  border: 1px solid #0e6eb8;
  color: #0e6eb8;
}

#top .news-all-btn-pc {
  display: block;
  width: 120px;
  height: 40px;
  margin: 0 auto;
  padding: 0;
  font-size: 18px;
  text-align: center;
  color: #009438;
  border: 2px solid #009438;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
#top .news-all-btn-pc a {
  transition: .2s ease-in-out;
}
#top .news-all-btn-pc a:active {
  background: rgba(255, 255, 255, 0.5);
}
#top .news-all-btn-pc:before {
  content: "";
  width: 200%;
  height: 100%;
  background: rgba(0, 0, 0, 0.05);
  transform: rotate(-45deg);
  position: absolute;
  top: -10%;
  right: -130%;
  transition: .3s ease-in-out;
}
#top .news-all-btn-pc:hover:before {
  right: 10%;
}

/* =====================
  車のこと、すべて解決
===================== */
#top .service {
  background: #222;
  padding: 70px 0 70px 0;
}
#top .service-item {
  width: inherit;
  max-width: 1300px;
  padding: 0 30px;
  flex-wrap: nowrap;
}
#top .service-item a {
  display: block;
  position: relative;
  transition: .2s ease-in-out;
}
#top .service-item li a {
  height: 186px;
  padding: 15px;
}
#top .service-item li a:after {
  content: none;
}
#top .service-item li {
  width: 16%;
  font-size: 22px;
  line-height: 1.3;
  position: relative;
  overflow: hidden;
}
#top .service-item li:first-child {
  width: 31%;
}
#top .service-item li:before {
  content: "";
  width: 500%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(-45deg);
  position: absolute;
  top: 30%;
  right: -320%;
  transition: .3s ease-in-out;
}
#top .service-item li:hover:before {
  right: -10%;
}
#top .service-item li:first-child:before {
  right: -285%;
}
#top .service-item li:first-child:hover:before {
  right: -80%;
}

/* =====================
  採用情報
===================== */
#top .recruit {
  margin: 100px 0 80px 0;
}
#top .recruit-inner {
  background: url("../images/top/bg-recruit.jpg") center center;
  background-size: 100% auto,cover;
  height: 420px;
  padding-top: 180px;
  position: relative;
  z-index: 0;
}
#top .recruit-inner:before {
  content: "";
  background: url("../images/top/deco-tire-gray.png") center center no-repeat;
  background-size: 100% auto,cover;
  width: 100%;
  height: 179px;
  position: absolute;
  top: -160px;
  z-index: -1;
}
#top .recruit-inner-link p {
  font-size: 48px;
}
#top .recruit-inner-link span {
  font-size: 30px;
}
#top .recruit a {
  transition: .2s ease-in-out;
}
#top .recruit a:active {
  background: rgba(255, 255, 255, 0.5);
}
#top .recruit-inner-link {
  width: 600px;
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}
#top .recruit-inner-link:before {
  content: "";
  width: 300%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(-45deg);
  position: absolute;
  top: -10%;
  right: -180%;
  transition: .3s ease-in-out;
}
#top .recruit-inner-link:hover:before {
  right: 0%;
}

/* =====================
  中古車販売
===================== */
#top .sale {
  background: url("../images/top/bg-sale.jpg") center bottom;
  background-size: 100% auto,cover;
  height: 420px;
  padding-top: 60px;
  overflow: hidden;
}
#top .sale a {
  display: block;
  position: relative;
  /*transition: .2s ease-in-out;*/
  pointer-events: none;
}
#top .sale a:active {
  background: rgba(255, 255, 255, 0.5);
  opacity: inherit;
}
#top .sale-inner {
  width: inherit;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
}
#top .sale-link {
  width: 44%;
  height: 3vw;
  overflow: hidden;
  margin-bottom: 0;
}
/*#top .sale-link:before {
  content: "";
  width: 300%;
  height: 200%;
  background: rgba(0, 0, 0, 0.05);
  transform: rotate(-45deg);
  position: absolute;
  top: -10%;
  right: -180%;
  transition: .3s ease-in-out;
}*/
/*#top .sale-link:hover:before {
  right: 0%;
}*/

.carsensor {
  background: #fff url("../images/common/logo_carsensor.png") center center no-repeat;
}

.goonet {
  background: #fff url("../images/common/logo-goonet.png") center center no-repeat;
}

.sale-link-close {
  width: 44%;
  height: inherit;
}
.sale-link-close:after {
  font-size: 40px;
}
.sale-link-car-close:after {
  font-size: 40px;
}

/* =====================
  会社情報
===================== */
#top .companyinfo {
  background: url("../images/top/bg-company.jpg") center center;
  background-size: 100%;
  height: 420px;
  margin-bottom: 100px;
  padding: 0;
  padding-top: 130px;
  overflow: hidden;
}
#top .companyinfo a {
  transition: .2s ease-in-out;
}
#top .companyinfo a:active {
  background: rgba(255, 255, 255, 0.5);
}
#top .companyinfo-inner {
  width: inherit;
  max-width: 1300px;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
}
#top .companyinfo-link-wrapper {
  width: 46%;
  height: 160px;
}
#top .companyinfo-link:before {
  content: "";
  width: 300%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(-45deg);
  position: absolute;
  top: -10%;
  right: -180%;
  transition: .3s ease-in-out;
}
#top .companyinfo-link:hover:before {
  right: 0%;
}
#top .companyinfo-title {
  font-size: 48px;
}
#top .companyinfo-title p {
  font-size: 20px;
}

#top .deco-company:after {
  bottom: -5px;
}

#top .deco-office:after {
  background: url("../images/top/deco-office.png") no-repeat;
  background-size: 100% auto,cover;
  width: 239px;
  height: 178px;
  position: absolute;
  right: 5px;
  bottom: -5px;
}

/* iPadPro用 */
@media screen and (max-width: 1300px) {
  .mainvis_imgbox {
    height: 500px;
  }
  .mainvis_imgbox-title {
    font-size: 50px;
    margin-top: -25px;
  }

  .main_img {
    height: 500px;
  }
}
