/*==================================================
sp pc
==================================================*/
@media all and (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
}

@media all and (min-width: 769px) {
  .sp-only {
    display: none !important;
  }
}
@media all and (max-width: 768px) {
  .sp-only {
    display: block;
  }
}

/*==================================================
slide
==================================================*/
@media all and (max-width: 768px) {
  .splide {
    overflow: hidden;
  }
}
@media all and (max-width: 768px) {
  .splide__track {
    overflow: visible;
  }
}
.splide__arrows {
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 1;
}
.splide__arrow {
  background-color: rgba(83, 74, 74, 0.9);
  border-radius: 50%;
  bottom: 0;
  box-shadow: 0 0 1.6rem rgba(142, 126, 102, 0.2);
  display: grid;
  height: 6rem;
  margin: auto;
  place-content: center;
  position: absolute;
  top: 0;
  width: 6rem;
  z-index: 1;
}
@media all and (max-width: 768px) {
  .splide__arrow {
    height: 4rem;
    width: 4rem;
  }
}
.splide__arrow::before {
  background: url(/assets/img/slider-arrow.svg) center/100% no-repeat;
  content: "";
  display: block;
  height: 2rem;
  width: 2rem;
}
@media all and (max-width: 768px) {
  .splide__arrow::before {
    height: 1.4rem;
    width: 1.4rem;
  }
}
.splide__arrow--prev {
  left: 1.5rem;
}
.splide__arrow--next {
  right: 1.5rem;
}
.splide__arrow--next::before {
  transform: scale(-1, 1);
}
.splide__arrow:disabled {
  opacity: 0.5;
}
.splide__pagination {
  gap: 0.6rem;
  margin-top: 0.8rem;
}
.splide__pagination__page {
  background-color: var(--body-color);
  display: block;
  height: 0.4rem;
  width: 2rem;
}
.splide__pagination__page.is-active {
  background-color: var(--main-color);
}

/*--------------------
event
--------------------*/
.slide-event {
  margin: -3.6rem auto 0;
  max-width: 115.6rem;
  padding-inline: 5rem;
}
@media all and (max-width: 768px) {
  .slide-event {
    margin-top: -2.6rem;
    padding-inline: 4.6rem;
  }
}
.slide-event__item {
  padding: 1.6rem;
}
.slide-event__link {
  aspect-ratio: 4/3;
  background-color: #fff;
  box-shadow: 0 0 1.6rem rgba(142, 126, 102, 0.3);
  display: block;
  position: relative;
}
.slide-event__img {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}
@media all and (max-width: 768px) {
  .slide-event .splide__arrow {
    height: 6rem;
    width: 6rem;
  }
}
@media all and (max-width: 768px) {
  .slide-event .splide__arrow::before {
    height: 2rem;
    width: 2rem;
  }
}

/*--------------------
car
--------------------*/
.slide-car {
  margin: -2.4rem auto 0;
  max-width: 121rem;
  padding-inline: 5rem;
}
@media all and (max-width: 768px) {
  .slide-car {
    margin-top: -1.6rem;
    padding-inline: 3rem;
  }
}
.slide-car__item {
  padding: 2.4rem 1.6rem 1.6rem;
  position: relative;
  z-index: -1;
}
@media all and (max-width: 768px) {
  .slide-car__item {
    padding-inline: 1rem;
  }
}
.slide-car__link {
  background-color: #fff;
  border-radius: 0.8rem;
  box-shadow: 0 0 1.6rem rgba(142, 126, 102, 0.3);
  display: block;
}
.slide-car__head {
  position: relative;
}
.slide-car__new {
  animation: flashNewUpdate 1s linear infinite;
  background: url(/assets/img/new-update.svg) center/contain no-repeat;
  height: 1.5rem;
  left: 50%;
  position: absolute;
  top: -2.4rem;
  transform: translateX(-50%);
  width: 14.8rem;
  z-index: 1;
}
.slide-car__img {
  border-radius: 0.8rem 0.8rem 0 0;
  height: 18rem;
  object-fit: cover;
  width: 100%;
}
.slide-car__body {
  padding: 1.5rem 2rem 2rem;
}
.slide-car__info {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
}
.slide-car__info-type {
  align-items: center;
  display: grid;
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  gap: 0.4rem;
  grid-template-columns: 3rem 1fr;
}
.slide-car__ttl {
  line-height: 1.5;
  margin-top: 1rem;
  height: 4.5em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-clamp: 3;
  -webkit-line-clamp: 3;
}
.slide-car__detail {
  margin-top: 1rem;
}
.slide-car__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}
@media all and (max-width: 768px) {
  .slide-car__tags {
    gap: 0.2rem;
  }
}
.slide-car__tag {
  border-radius: 0.8rem;
  display: inline-flex;
  font-size: 1.4rem;
  font-weight: var(--font-weight-bold);
  justify-content: center;
  line-height: 1.4;
  min-width: 6rem;
  padding: 0.4rem 1rem;
}
@media all and (max-width: 768px) {
  .slide-car__tag {
    border-radius: 0.4rem;
    font-size: 1.2rem;
    min-width: 5.2rem;
    padding: 0.5rem 0.8rem;
  }
}
.slide-car__tag.-new {
  background-color: var(--gray-lt);
}
.slide-car__tag.-used {
  background-color: var(--dark-color);
  color: #fff;
}
.slide-car__tag.-main {
  background-color: var(--main-color);
  color: #fff;
}
.slide-car__tag.-red {
  background-color: var(--red);
  color: #fff;
}
.slide-car__tag.-second {
  min-width: 8.6rem;
  padding-inline: 0;
}
@media all and (max-width: 768px) {
  .slide-car__tag.-second {
    min-width: 7.6rem;
  }
}
.slide-car__tag.-last {
  min-width: 7.2rem;
  padding-inline: 0;
}
@media all and (max-width: 768px) {
  .slide-car__tag.-last {
    min-width: 6.4rem;
  }
}
.slide-car__price {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  line-height: 1.3;
}
.slide-car__price-ttl {
  font-size: 1.4rem;
  font-weight: var(--font-weight-bold);
}
.slide-car__price-num {
  color: var(--red);
  font-weight: var(--font-weight-bold);
  margin-left: auto;
}
.slide-car__price-yen {
  font-size: 2.2rem;
}
@media all and (max-width: 768px) {
  .slide-car__price-yen {
    font-size: 2rem;
  }
}
.slide-car__price-tax {
  font-size: 1.4rem;
}
.slide-car__more {
  background-color: var(--gray-lt);
  border-radius: 0.8rem;
  display: grid;
  font-size: 1.4rem;
  font-weight: var(--font-weight-bold);
  height: 3.2rem;
  margin: 2rem auto 0;
  max-width: 24rem;
  place-content: center;
  width: 100%;
  position: relative;
}
@media all and (max-width: 768px) {
  .slide-car__more {
    max-width: 21rem;
  }
}
.slide-car__more::after {
  background: url(/assets/img/ico-arrow-black.svg) center/100% no-repeat;
  content: "";
  height: 1.2rem;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
}

/*--------------------
column
--------------------*/
@media all and (min-width: 769px) {
  .slide-column .splide__track {
    overflow: visible;
  }
  .slide-column.splide.is-initialized:not(.is-active) .splide__list {
    display: grid;
    gap: 3.2rem;
    grid-template-columns: repeat(3, 1fr);
  }
  .slide-column .splide__arrows {
    display: none;
  }
}
@media all and (max-width: 768px) {
  .slide-column {
    margin-top: -1.6rem;
    padding-inline: 4.7rem;
  }
  .slide-column .splide__arrow--prev {
    left: 2rem;
  }
  .slide-column .splide__arrow--next {
    right: 2rem;
  }
}
@media all and (max-width: 768px) {
  .slide-column__item {
    padding: 1.6rem 0.8rem;
  }
}
.slide-column__link {
  background-color: #fff;
  border-radius: 0.8rem;
  box-shadow: 0 0 1.6rem rgba(142, 126, 102, 0.3);
  display: grid;
  grid-template-columns: 14rem 1fr;
  line-height: 1.5;
  height: 18rem;
  overflow: hidden;
}
@media all and (max-width: 1080px) {
  .slide-column__link {
    grid-template-columns: 1fr;
    grid-template-rows: 12rem 1fr;
    height: 26rem;
  }
}
.slide-column__img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
@media all and (max-width: 1080px) {
  .slide-column__img {
    height: 12rem;
  }
}
.slide-column__body {
  padding: 1.6rem 1.6rem 3rem;
  position: relative;
}
@media all and (max-width: 1080px) {
  .slide-column__body {
    padding: 1rem 1.6rem 2.5rem;
  }
}
.slide-column__body::after {
  background: url(/assets/img/ico-arrow-black.svg) center/100% no-repeat;
  content: "";
  height: 1.2rem;
  position: absolute;
  right: 2rem;
  bottom: 1rem;
  width: 1.2rem;
}
.slide-column__ttl {
  margin-top: 0.5rem;
  max-height: 6em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-clamp: 4;
  -webkit-line-clamp: 4;
}
@media all and (max-width: 1080px) {
  .slide-column__ttl {
    max-height: 4.5em;
    line-clamp: 3;
    -webkit-line-clamp: 3;
  }
}

/*--------------------
photo
--------------------*/
@media all and (min-width: 769px) {
  .slide-photo .splide__track {
    overflow: visible;
  }
  .slide-photo.splide.is-initialized:not(.is-active) .splide__list {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
  }
  .slide-photo .splide__arrows {
    display: none;
  }
}
@media all and (min-width: 1081px) {
  .slide-photo.splide.is-initialized:not(.is-active) .splide__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media all and (max-width: 768px) {
  .slide-photo {
    padding-inline: 3.5rem;
  }
  .slide-photo .splide__arrow--prev {
    left: 2rem;
  }
  .slide-photo .splide__arrow--next {
    right: 2rem;
  }
}
@media all and (max-width: 768px) {
  .slide-photo__item {
    padding-inline: 1rem;
  }
}
.slide-photo__img {
  border-radius: 0.8rem;
  height: 24rem;
  object-fit: cover;
  width: 100%;
}
@media all and (max-width: 1080px) {
  .slide-photo__img {
    height: 20.5rem;
  }
}

/*--------------------
find
--------------------*/
.slide-find__img {
  aspect-ratio: 640/480;
  border-radius: 0.8rem;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
@media all and (max-width: 1080px) {
  .slide-find__img {
    aspect-ratio: 330/206;
  }
}

.slide-find-thumb {
  display: grid;
  gap: 0.4rem;
  grid-template-columns: repeat(10, 1fr);
  margin-top: 1rem;
}
@media all and (max-width: 768px) {
  .slide-find-thumb {
    grid-template-columns: repeat(5, 1fr);
    margin-top: 1.5rem;
    padding-inline: 0.7rem;
  }
}
.slide-find-thumb__item {
  aspect-ratio: 60/40;
  background-color: var(--body-color);
  border-radius: 0.4rem;
  cursor: pointer;
  height: 100%;
  overflow: hidden;
}
.slide-find-thumb__img {
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  width: 100%;
}
.slide-find-thumb__item.is-active .slide-find-thumb__img {
  opacity: 0.6;
}