@charset "utf-8";

/* Style as home.php */

/* header
*********************/

header {
  /* background: url(/wp/img/jcar_2023/home/mainimg-bg_new.jpg) #2467b3;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover; */
  /* background-color: #2467b3; */
}

#globalnav li.parent {
  border-color: rgba(255, 255, 255, 0.4);
}

#globalnav a {
  color: #fff;
}

#globalnav #spnav i {
  color: #fff;
}

#globalnav #spnav i:hover,
#globalnav #spnav i:active,
#globalnav #spnav i:focus {
  color: #000;
}

@media screen and (max-width: 800px) {
  #globalnav a {
    color: #000;
  }

  #globalnav.open #spnav i {
    color: #000;
  }
}
.head-wrap {
  background-color: #000;
}
.header-main .mainimg {
  height: 400px;
  width: 100%;
  max-width: 1000px;
  margin: auto;
  text-align: left;
  padding-bottom: 10px;
}
.bl_topMain {
  overflow: hidden;
  position: relative;
  &::before {
    content: "";
    display: none;
    position: absolute;
    background-color: #2467b3;
    height: 106%;
    width: 50%;
    z-index: 5;
    bottom: 50%;
    left: 0;
    transform: translateY(50%);
  }
}
.bl_topMain_inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.bl_topMain_carlist {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 6;
  /* background: url(/wp/img/jcar_2023/home/mainimg-bg_new.jpg) #2467b3; */
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
  background-color: #000;
  .section-inner {
    padding: 10px 40px;
    width: 100%;
  }
  .panel {
    margin: 0;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 0;
    h2,
    th {
      color: #fff;
    }
    .panel-heading {
      padding-bottom: 0;
    }
    th {
      text-align: left;
      width: 6em;
    }
    i.fa {
      display: none;
    }
    .s_clear {
      display: none;
    }
    .row-submit {
      td {
        padding-top: 2em;
      }
    }
    #searchsubmit {
      width: 100%;
    }
  }
  #anchor {
    display: none;
  }
  .year-range_inner {
    color: #fff;
  }
}
.bl_topMain_search {
  table-layout: auto;
}

.bl_topMain_search * {
  box-sizing: border-box;
}
.bl_topMain_search td select {
  max-width: none;
  width: 100%;
}

.bl_mainNews {
  width: 100%;
  order: 2;
  overflow: hidden;
  background: #111 url(/wp/img/jcar_2023/home/movie-bg.jpg) no-repeat center top;
  background-size: cover;
  .slick-list,
  .slick-track {
    height: 100%;
  }
  .slick-list {
    overflow: visible;
  }
  .slick-dots {
    bottom: 5px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 5px;
    right: 50%;
    transform: translateX(50%);
    li {
      margin: 0;
      button {
        padding: 0;
        &:before {
          opacity: 1;
          color: #fff;
        }
      }
    }
    li.slick-active button:before {
      opacity: 1;
      color: #2467b3;
    }
  }
}
.bl_mainNews_body.slick-dotted.slick-slider {
  height: 100%;
  margin: 0;
}
.bl_mainNews_link {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bl_mainNews_item {
  position: relative;
  height: 100%;
  -webkit-backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  &.slick-active {
    .bl_mainNews_media {
      &::after {
        backdrop-filter: blur(0px);
        background-color: rgba(0, 0, 0, 0.1);
      }
    }
  }
}
.bl_mainNews_media {
  width: 100%;
  inset: 0;
  padding: 0 10px;
  &::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    transition: all ease 1s;
  }
}
.bl_mainNews_media img {
  object-fit: contain;
  width: 100%;
  height: auto;
}
.bl_mainNews_media-video {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.bl_mainNews_media video,
.bl_mainNews_media iframe,
.bl_mainNews_media embed,
.bl_mainNews_media object {
  display: block;
  width: 100%;
  height: 100%;
}
.bl_mainNews_media-video::after {
  pointer-events: none;
}
.bl_mainNews_meta {
  position: absolute;
  bottom: 30px;
  width: 92%;
  right: 50%;
  transform: translateX(50%);
  display: flex;
  align-items: flex-start;
  font-size: 16px;
  background-color: #000;
  border-radius: 5em;
  padding: 1em 2em;
  color: #fff;
  text-align: center;
  a {
    color: inherit;
  }
}

.bl_selects {
  display: grid;
  grid-template-columns: 1fr 1em 1fr;
  column-gap: 0.5em;
  align-items: center;
}
.bl_selects_from {
  margin-bottom: 0;
}
.header-main .mainimg img {
  max-width: 350px;
}
.bl_topNews {
  padding: 20px;
  background-color: #fff;
  filter: drop-shadow(1px 3px 5px rgba(0, 0, 0, 0.3));
  border-radius: 10px;
}
.bl_topNews_item {
  font-size: 16px;
  text-align: center;
}
.bl_topNews_item + .bl_topNews_item {
  border-top: 1px solid #ddd;
}
.bl_topNews_link {
  display: grid;
  grid-template-columns: 8em 1fr;
  padding: 1em;
  column-gap: 1em;
}
.bl_topNews_ttl,
.bl_topNews_time {
  font-size: 100%;
  margin: 0;
  text-align: left;
}
.info {
  #related_cars h2 {
    margin-bottom: 1.5em;
  }
}
@media screen and (max-width: 800px) {
  .bl_topMain::before {
    display: none;
  }
  .bl_topMain_inner {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
  .bl_topMain_carlist .section-inner {
    padding: 10px;
  }
  .bl_mainNews,
  .bl_topMain_carlist {
    width: 100%;
  }
  .bl_mainNews {
    order: 0;
  }
  .bl_mainNews_item {
    height: auto;
    width: 100%;
  }
  .bl_mainNews_meta {
    font-size: 12px;
    width: calc(100% - 20px);
    bottom: 10px;
  }
  .bl_topNews_item {
    font-size: 14px;
  }
  .bl_topNews_link {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 0.25em;
  }
}

.mainmov {
  width: 100%;
  text-align: left;
  /* background: var(--d-blue) url(/wp/img/jcar_2023/home/mainmov-bg.jpg) no-repeat center; */
  background-size: cover;
  background: var(--blue-surface);
}

.mainmov .inner {
  margin: auto;
  padding: 20px;
  overflow: hidden;
  text-align: center;
}

.mainmov .inner h2 {
  font-size: 30px;
  color: #fff;
  font-weight: bold;
}

.mainmov video {
  max-width: 640px;
  width: 100%;
  height: auto;
  box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.1s linear 0s;
  border-radius: 10px;
  overflow: hidden;
}

.mainmov video:hover {
  transform: scale(1.02);
}

.mainmov .inner p {
  margin: 10px 0 0 0;
  /*font-size: 24px;*/
  color: #fff;
  font-family: Roboto, sans-serif;
  font-weight: normal;
}

.mainmov .inner .come {
  font-size: 12px;
  color: #fff;
  display: block;
}

@media screen and (max-width: 640px) {
  .header-main .mainimg {
    padding: 10px;
    height: auto;
    text-align: left;
  }

  .header-main .mainimg img {
    width: 50%;
  }

  .mainmov .inner {
    text-align: center;
  }

  .mainmov .inner .come {
    font-size: 10px;
  }
}

/* #slide-main
*********************/

.main_slide {
  overflow: hidden;
  background: #111;
  padding: 10px 0;
  height: auto;
  text-align: center;
}

#slide-main .slide {
  text-align: center;
  max-width: 980px;
  max-height: 350px;
  margin: 0 5px;
}

@media screen and (max-width: 640px) {
  #slide-main .slide {
    margin: 0 5px;
  }
}

/* #slide-sub
*********************/

.sub_slide {
  overflow: hidden;
  background: #fff;
  padding: 20px 0;
  height: auto;
  text-align: center;
}

#slide-sub .slide {
  text-align: center;
  /*max-width: 400px;*/
  margin: 0 20px;
}

#slide-sub .slide img {
  transition: all 0.1s linear 0s;
}

#slide-sub .slide a:hover img {
  filter: brightness(0.5);
}

@media screen and (max-width: 640px) {
  #slide-sub .slide {
    margin: 0 10px;
  }
}

/* #slide-info
*********************/

#slide-info {
  padding: 20px 20px 10px;
  border: solid 1px #111;
  margin-bottom: 50px;
}

#slide-info .slide {
  display: flex;
  flex-wrap: wrap;
}

#slide-info .img {
  width: 35%;
  margin-right: 2%;
}

#slide-info .text {
  width: 63%;
}

#slide-info .img {
  border: solid 2px #111;
  margin-bottom: 7px;
  max-width: 100%;
  overflow: hidden;
}

#slide-info .img iframe {
  height: 180px;
  width: 100%;
}

#slide-info .img > * {
  width: 100%;
  height: 100%;
}

#slide-info .text {
  text-align: left;
  line-height: 1.6;
  text-align: left;
}

#slide-info .text h3 {
  font-size: 16px;
  color: #000;
  margin: 0 0 10px;
  padding-bottom: 7px;
}

#slide-info .text p {
  font-size: 14px;
}

#slide-info .slick-dots {
  bottom: -30px;
  left: 0;
}

@media screen and (max-width: 640px) {
  #slide-info .img,
  #slide-info .text {
    width: 100%;
    margin-right: 0;
  }

  #slide-info .img {
    margin-bottom: 10px;
  }

  #slide-info .text p {
    font-size: 12px;
  }
}

/* section.info
*********************/
.info {
  background: #fff;
}

.info-title.section-title .en {
  color: #000;
}

.info-title.section-title .jp {
  color: #000;
}

#slide-info {
  background: #fff;
  border-radius: 10px;
  border: 2px solid #000;
}

.info .post-single {
  background: #fff;
  box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.3);
  overflow: hidden;
  border-radius: 5px;
}

.info .post-date {
  color: var(--d-blue);
  padding: 0 10px;
}

.info .post-title {
  padding: 10px;
}

.info .post-single .post-thumb .thumb {
}

.info-shop {
  background: var(--l-blue);
}

.info-shop .section-title {
  margin-bottom: 30px;
}

.info-shop .section-title .en {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.info-shop .section-title .jp {
  color: beige;
}

@media screen and (max-width: 900px) {
  .info-title.section-title .en {
    font-size: 36px;
  }
}

@media screen and (max-width: 480px) {
  .info-shop .section-title {
    margin-top: 0;
  }

  .info .post-single {
    padding: 0;
  }

  .info .post-single > a {
    padding: 10px;
  }

  .info .post-date,
  .info .post-title {
    padding: 0;
  }

  .info .post-title {
    margin-top: 5px;
  }
}

/* section.special
*********************/

.special {
  background: var(--black);
  color: #fff;
}

.special .post-single .post-title,
.special .post-single .post-title-special {
  color: #fff;
}
.post-maker {
  color: #fff;
  margin-top: 0.5em;
  margin-bottom: 0;
  font-size: 12px;
}
.car-option {
  margin-bottom: 0;
  padding: 0.5em 1em;
  border: 1px solid #fff;
  font-size: 12px;
  color: #fff;
}
@media screen and (max-width: 480px) {
  .special .car-single.is_sold {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    overflow: hidden;
  }

  .special .car-single .soldout {
    width: auto;
    transform: none;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 0 6px;
  }
}

/* section.review
*********************/

.review {
  background: var(--contact-gradient);
  color: #fff;
  padding-bottom: 60px;
}

.review .post-single .post-title {
  color: #fff;
}

.review .post-single .post-date {
  color: #fff;
}

@media screen and (max-width: 640px) {
  .review {
    padding-bottom: 0;
  }
}

/* section.shop
*********************/

.shop .section-title {
  width: 70%;
  margin: -80px auto 20px;
  padding-top: 20px;
  background: #fff;
}

@media screen and (max-width: 640px) {
  .shop .section-title {
    width: 100%;
    margin: 20px auto;
    padding-top: 0;
  }

  .shop-link {
    width: 60%;
  }

  .shop-single .shop-link a {
    font-size: 10px;
  }
}
