@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;
  }
}

/* JCAR TOP MAIN WIDTH TUNE 2026-09-27 */
@media screen and (min-width: 801px) {
  .bl_topMain_inner {
    width: min(1360px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (max-width: 800px) {
  .bl_topMain_inner {
    width: 100%;
  }
}

/* JCAR TOP MAIN SIDE GRADIENT 2026-09-27 */
@media screen and (min-width: 801px) {
  .bl_topMain {
    background: var(--contact-gradient);
  }
}

/* JCAR TOP HEADER ALIGN + CONTACT BUTTON 2026-09-27 */
@media screen and (min-width: 901px) {
  .header-main .section-inner {
    width: min(1360px, calc(100% - 48px));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .header-main #globalnav {
    width: auto;
    flex: 1 1 auto;
    margin-left: 32px;
  }

  .header-main #globalnav > ul {
    justify-content: flex-end;
  }

  .header-main #globalnav > ul > li.nav-contact {
    margin-left: 10px;
    border-right: 0;
  }

  .header-main #globalnav > ul > li.nav-contact > a {
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--contact-gradient);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(21, 91, 168, .20);
  }

  .header-main #globalnav > ul > li.nav-contact > a:hover,
  .header-main #globalnav > ul > li.nav-contact > a:focus {
    color: #fff;
    filter: brightness(1.08);
    text-decoration: none;
  }
}


/* JCAR TOP H1 ALIGN + CM SLIDER UI 2026-09-27 */
.headline-text {
  box-sizing: border-box;
}

@media screen and (min-width: 901px) {
  .headline-text {
    width: min(1360px, calc(100% - 48px));
    max-width: none;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.bl_mainNews_body.slick-dotted.slick-slider {
  box-sizing: border-box;
  padding-bottom: 30px;
}

.bl_mainNews_body.slick-dotted .slick-list {
  height: calc(100% - 30px);
}

.bl_mainNews_body .slick-track {
  height: 100%;
}

.bl_mainNews_body .slick-slide {
  opacity: .32;
  transition: opacity .35s ease;
}

.bl_mainNews_body .slick-slide.slick-current {
  opacity: 1;
}

.bl_mainNews_body .slick-slide .bl_mainNews_link,
.bl_mainNews_body .slick-slide .bl_mainNews_media {
  height: 100%;
}

.bl_mainNews .slick-dots {
  bottom: 3px;
  z-index: 5;
}

.bl_mainNews .slick-dots li button:before {
  font-size: 9px;
}

@media screen and (max-width: 800px) {
  .bl_mainNews_body.slick-dotted.slick-slider {
    padding-bottom: 28px;
  }

  .bl_mainNews_body.slick-dotted .slick-list {
    height: auto;
  }

  .bl_mainNews_body .slick-track {
    height: auto;
  }
}


/* JCAR TOP CM NATIVE SLIDER UI 2026-09-27 */
.bl_mainNews {
  position: relative;
  overflow: hidden;
}

.bl_mainNews_body {
  display: flex !important;
  gap: 12px;
  width: 100%;
  height: auto !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 34px;
}

.bl_mainNews_body::-webkit-scrollbar {
  display: none;
}

.bl_mainNews_body > .bl_mainNews_item {
  display: block !important;
  flex: 0 0 92%;
  width: 92%;
  height: auto !important;
  min-height: 0 !important;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  opacity: .34;
  transition: opacity .3s ease;
}

.bl_mainNews_body > .bl_mainNews_item:first-child {
  opacity: 1;
}

.bl_mainNews_item .bl_mainNews_link,
.bl_mainNews_item .bl_mainNews_media {
  height: auto !important;
  min-height: 0 !important;
}

.bl_mainNews_item .bl_mainNews_media-video {
  aspect-ratio: 16 / 9;
  height: auto !important;
}

.duxy-cm-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  z-index: 8;
}

.duxy-cm-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}

.duxy-cm-dot.is-active {
  background: #2467b3;
  transform: scale(1.15);
}

@media screen and (max-width: 800px) {
  .bl_mainNews_body {
    gap: 10px;
    padding-bottom: 32px;
  }

  .bl_mainNews_body > .bl_mainNews_item {
    flex-basis: 94%;
    width: 94%;
  }
}


/* JCAR TOP CM OUTER PREVIEW RAIL 2026-09-27 */
.bl_mainNews_body > .bl_mainNews_item {
  opacity: .28;
}

.bl_mainNews_body > .bl_mainNews_item.is-current {
  opacity: 1;
}

.duxy-cm-dots {
  left: 50%;
  right: auto;
  bottom: 6px;
  transform: translateX(-50%);
  width: max-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
}

@media screen and (min-width: 1409px) {
  .duxy-cm-edge-rail {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: calc(50% + 680px);
    z-index: 4;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    overflow: hidden;
    background: rgba(6, 17, 35, .12);
  }

  .duxy-cm-edge-item {
    flex: 0 0 clamp(118px, 8.5vw, 156px);
    min-width: 0;
    padding: 0;
    border: 0;
    border-left: 1px solid rgba(255,255,255,.10);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: .34;
    cursor: pointer;
    transition: opacity .25s ease, filter .25s ease;
    filter: saturate(.72);
  }

  .duxy-cm-edge-item:hover,
  .duxy-cm-edge-item:focus {
    opacity: .52;
    filter: saturate(.92);
  }

  .duxy-cm-edge-item.is-past {
    display: none;
  }
}

@media screen and (max-width: 1408px) {
  .duxy-cm-edge-rail {
    display: none;
  }
}

/* JCAR TOP GLOBAL NAV VERTICAL CENTER 2026-09-27 */
@media screen and (min-width: 901px) {
  .header-main #globalnav > ul {
    align-items: center;
  }

  .header-main #globalnav > ul > li.parent:not(.nav-contact) {
    display: flex;
    align-items: center;
    min-height: 38px;
  }

  .header-main #globalnav > ul > li.parent:not(.nav-contact) > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .header-main #globalnav > ul > li.nav-contact {
    display: flex;
    align-items: center;
  }
}


/* JCAR TOP SERVICE BANNERS 2026-09-27 */
.home-service-banners {
  background: #fff;
}

.home-service-banners .section-inner {
  padding-top: 0;
  padding-bottom: 40px;
}

.home-service-banners__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.home-service-banners__item {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 0;
}

.home-service-banners__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 3;
  object-fit: cover;
  transition: opacity .2s ease;
}

.home-service-banners__item:hover img,
.home-service-banners__item:focus img {
  opacity: .9;
}

@media screen and (max-width: 800px) {
  .home-service-banners .section-inner {
    padding-top: 0;
    padding-bottom: 24px;
  }

  .home-service-banners__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}


/* JCAR SPECIAL CARD TITLE STRUCTURE 2026-09-28 */
.special .post-single .post-cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #123b86;
  border-radius: 2px;
  font-weight: 700;
}
.special .post-maker {
  margin: 8px 0 2px;
  color: #78c4ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.special .post-single .post-title {
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.5;
}
.special .special-card-features {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  min-height: 59px;
  margin: 8px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  line-height: 1.8;
}
@media screen and (max-width: 480px) {
  .special .special-card-features {
    min-height: 0;
    -webkit-line-clamp: 2;
  }
}

/* 2026-09-29: special vehicle source status */
.special .car-single .stock-check{
  position:absolute;
  z-index:3;
  top:8px;
  right:8px;
  padding:7px 9px;
  background:#b36a12;
  color:#fff;
  font-size:11px;
  font-weight:700;
  line-height:1;
}


/* JCAR TOP CM NAV R45 2026-09-30 */
.duxy-cm-nav {
  position: absolute;
  z-index: 9;
  left: 50%;
  bottom: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateX(-50%);
  padding: 3px 5px;
  border-radius: 999px;
  background: rgba(0,0,0,.34);
  white-space: nowrap;
}

.duxy-cm-nav .duxy-cm-dots {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  width: auto;
  padding: 0 2px;
  transform: none;
  background: transparent;
}

.duxy-cm-nav__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0 0 2px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: #1f4f96;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.duxy-cm-nav__button:hover,
.duxy-cm-nav__button:focus {
  background: #fff;
  transform: scale(1.06);
}

.duxy-cm-nav__button:disabled {
  opacity: .32;
  cursor: default;
  transform: none;
}

@media screen and (max-width: 800px) {
  .duxy-cm-nav {
    gap: 6px;
  }

  .duxy-cm-nav__button {
    width: 28px;
    height: 28px;
    font-size: 22px;
  }
}
