@charset "utf-8";


/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");


/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=MonteCarlo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

/* Remove rounded corners from all images and boxes */
img,
.property-image,
.property-card,
.welcome-image-item,
.welcome-image-item img,
.step-image-item,
.step-image-item img,
.banner-image-item,
.banner-image-item img,
.truck-specs-box,
.truck-contact-box,
.blo2,
.body-type-item,
.property-card-scroll,
.bg-white,
.confirm-row,
.confirm-details,
.contact-form,
.contact-form-container {
  border-radius: 0 !important;
}



/*[ RESTYLE TAG ]
///////////////////////////////////////////////////////////
*/
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

/*[ CLIENT LOGO SECTION ]
///////////////////////////////////////////////////////////
*/
.client_logo {
  background-color: #f8f9fa;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.client_logo_slider {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  width: 100%;
}

.single_client_logo {
  flex-shrink: 0;
  margin: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}

.single_client_logo img {
  max-height: 60px;
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
  object-fit: contain;
}

.single_client_logo:hover img {
  filter: grayscale(0%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .client_logo_slider {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .single_client_logo {
    margin: 0;
    height: 50px;
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
    box-sizing: border-box;
  }

  .single_client_logo img {
    max-height: 50px !important;
    width: auto;
    height: auto;
    object-fit: contain;
  }
}

/*[ BANNER IMAGES SECTION ]
///////////////////////////////////////////////////////////
*/
.banner-images-section {
  background-color: #ffffff;
}

.banner-images-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 100%;
}

.banner-image-item {
  display: block;
  width: 100%;
  overflow: hidden;
}

.banner-image-item a {
  display: block;
  width: 100%;
}

.banner-image-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .banner-images-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/*[ BODY TYPE GRID - Gallery Filter ]
///////////////////////////////////////////////////////////
*/
.body-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.body-type-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 15px;
  background-color: #ffffff;
  border: 2px solid #e6e6e6;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.body-type-item:hover {
  border-color: #ec1d25;
  background-color: #fff5f5;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(236, 29, 37, 0.15);
}

.body-type-item.active {
  border-color: #ec1d25;
  background-color: #fff5f5;
  box-shadow: 0 4px 15px rgba(236, 29, 37, 0.2);
}

.body-type-image {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}

.body-type-image img {
  max-width: 80px;
  max-height: 60px;
  object-fit: contain;
}

.body-type-name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #222222;
  line-height: 1.4;
}

.body-type-item.active .body-type-name {
  color: #ec1d25;
  font-weight: 600;
}

@media (max-width: 768px) {
  .body-type-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
  }

  .body-type-item {
    padding: 15px 10px;
  }

  .body-type-image {
    height: 50px;
    margin-bottom: 8px;
  }

  .body-type-image img {
    max-width: 60px;
    max-height: 50px;
  }

  .body-type-name {
    font-size: 12px;
  }
}

/*[ FEATURED PROPERTIES SECTION ]
///////////////////////////////////////////////////////////
*/
.section-featured-properties {
  background-color: #f8f9fa;
}

.property-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.property-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.property-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.property-card-link:hover .property-card {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-color: #d0d0d0;
  background-color: #ffefcb;
}

.property-image {
  position: relative;
  overflow: hidden;
  height: 220px;
  width: 100%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.property-image img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  display: block;
  flex-shrink: 0;
}

/* Ensure property-image width in all-vehicles-section matches gallery.html exactly */
#all-vehicles-section .property-image {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  height: 200px;
}

#all-vehicles-section .property-image img {
  width: 100% !important;
  max-width: 100% !important;
  height: 200px;
  object-fit: contain;
  display: block;
  box-sizing: border-box;
}

/* Make vehicle cards 5 per row on PC using CSS Grid */
@media (min-width: 992px) {
  #all-vehicles-section .row {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }

  #all-vehicles-section .row>div {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
  }

  /* Also apply to gallery page if it has the same structure */
  #gallery-section .row,
  .gallery-vehicles .row {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }

  #gallery-section .row>div,
  .gallery-vehicles .row>div {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
  }

  #all-vehicles-section .property-card {
    max-width: 100%;
    margin: 0;
  }

  #all-vehicles-section .property-image {
    height: 160px;
  }

  #all-vehicles-section .property-image img {
    height: 160px;
  }

  #all-vehicles-section .property-content {
    padding: 10px 12px;
  }

  #all-vehicles-section .property-title {
    font-size: 15px;
    margin-bottom: 0;
  }

  #all-vehicles-section .property-price {
    font-size: 17px;
    margin-top: 0;
    margin-bottom: 8px;
  }

  #all-vehicles-section .property-details {
    margin-top: 5px;
    margin-bottom: 5px;
  }

  #all-vehicles-section .property-details .detail-item {
    font-size: 12px;
    margin-bottom: 3px;
  }

  #all-vehicles-section .property-agent {
    margin-bottom: 5px;
    font-size: 12px;
  }

  #all-vehicles-section .property-type {
    margin-bottom: 5px;
    font-size: 10px;
  }

  #all-vehicles-section .btn1 {
    margin-top: 10px;
    padding: 8px 15px;
    font-size: 13px;
  }
}

/* Vehicle detail button styling - box with #00002d background and white text */
#all-vehicles-section .vehicle-detail-btn {
  background: #00002d !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 45, 0.3) !important;
  color: #ffffff !important;
  padding: 10px 20px !important;
  margin-top: 8px !important;
  font-weight: 600;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  border-radius: 4px;
}

#all-vehicles-section .vehicle-detail-btn:hover {
  background: #000050 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 45, 0.5) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

#all-vehicles-section .vehicle-detail-btn i {
  margin-left: 8px;
  font-size: 12px;
  color: #ffffff !important;
}

/* General vehicle-detail-btn styling for gallery.html and other pages */
.vehicle-detail-btn {
  background: #00002d !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 45, 0.3) !important;
  color: #ffffff !important;
  padding: 10px 20px !important;
  margin-top: 8px !important;
  font-weight: 600;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  border-radius: 4px;
}

.vehicle-detail-btn:hover {
  background: #000050 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 45, 0.5) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.vehicle-detail-btn i {
  margin-left: 8px;
  font-size: 12px;
  color: #ffffff !important;
}

.property-card:hover .property-image img {
  transform: scale(1.03);
}

.property-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e60012;
  color: white;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.property-featured {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff6b00;
  color: white;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.property-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-agent {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.property-agent-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.property-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 0;
  line-height: 1.5;
  min-height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: "Noto Sans JP", sans-serif;
}

.property-type {
  display: inline-block;
  background: #f0f0f0;
  color: #666;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 12px;
  width: fit-content;
}

.property-price {
  font-size: 20px;
  font-weight: 700;
  color: #e60012;
  margin-bottom: 12px;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.5px;
}

.property-price::before {
  content: "";
  display: none;
}

/* Gallery specific styles */
.truck-count {
  font-weight: 700;
  color: #ec1d25;
  font-size: 18px;
}

/* Truck Detail Page Styles */
.truck-detail-header {
  border-bottom: 2px solid #eee;
  padding-bottom: 20px;
}

.truck-status-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status-badge {
  display: inline-block;
  padding: 5px 12px;
  background-color: #28a745;
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
}

.truck-main-image {
  border: 1px solid #e0e0e0;
  border-radius: 0;
  overflow: hidden;
  background-color: #f8f9fa;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.truck-main-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.truck-thumbnail-gallery {
  margin-top: 20px;
}

.truck-thumb {
  display: block;
  border: 2px solid #e0e0e0;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.truck-thumb:hover {
  border-color: #ec1d25;
  transform: scale(1.05);
}

.truck-thumb img {
  width: 100%;
  height: 80px;
  object-fit: cover;
}

.truck-specs-box,
.truck-contact-box {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.truck-specs-table th {
  background-color: #f8f9fa;
  font-weight: 600;
  width: 35%;
  padding: 12px 15px;
  vertical-align: top;
}

.truck-specs-table td {
  padding: 12px 15px;
  vertical-align: top;
}

.truck-specs-table tr:first-child td {
  color: #ec1d25;
  font-weight: bold;
}

@media (max-width: 768px) {
  .truck-main-image {
    min-height: 250px;
  }

  .truck-thumb img {
    height: 60px;
  }

  .truck-specs-table th,
  .truck-specs-table td {
    padding: 8px 10px;
    font-size: 13px;
  }

  .truck-specs-box {
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}

.property-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;


}

.detail-item {
  display: flex;
  align-items: flex-start;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.detail-item i {
  margin-right: 8px;
  color: #999;
  width: 18px;
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Detail label boxes with colored backgrounds */
.detail-label {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  color: #ffffff !important;
  font-weight: 600;
  margin-right: 6px;
  font-size: 11px;
  line-height: 1.4;
}

/* Blue background for calendar label (年式) */
.detail-label-calendar {
  background-color: #007bff !important;
}

/* Orange background for tag label (型式) */
.detail-label-tag {
  background-color: #ff9800 !important;
}

/* Green background for certificate label (車検) */
.detail-label-certificate {
  background-color: #28a745 !important;
}

/* Green color for certificate icon (車検) */
.detail-item .fa-certificate,
.detail-item i.fa-certificate {
  color: #28a745 !important;
}

/* Blue color for calendar icon (年式) */
.detail-item .fa-calendar,
.detail-item i.fa-calendar {
  color: #007bff !important;
}

/* Orange color for tag icon (型式) */
.detail-item .fa-tag,
.detail-item i.fa-tag {
  color: #ff9800 !important;
}

/* Responsive adjustments for properties */
@media (max-width: 768px) {
  .property-card {
    margin-bottom: 20px;
  }

  .property-image {
    height: 150px;
    width: 100%;
    min-width: 0;
  }

  .property-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
  }

  .property-content {
    padding: 12px;
  }

  .property-title {
    font-size: 14px;
    min-height: 40px;
    line-height: 1.4;
  }

  .property-price {
    font-size: 16px;
  }

  .property-details {
    gap: 4px;
    padding-top: 8px;
  }

  .detail-item {
    font-size: 11px;
  }

  /* Ensure property card and link don't exceed container */
  .property-card-link {
    display: block;
    width: 100%;
  }

  .property-card {
    width: 100%;
    max-width: 100%;
  }

  /* Adjust padding for 1-column layout on mobile */
  #all-vehicles-section .row>[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure property-image width matches gallery.html exactly */
  #all-vehicles-section .property-image {
    width: 100%;
    max-width: 100%;
    height: 150px;
    background: transparent;
  }

  #all-vehicles-section .property-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: 150px;
    object-fit: contain;
    display: block;
  }
}

/* Button styling in property cards */
.property-content .btn1 {
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 16px;
  font-size: 14px;
  margin-top: auto;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  box-sizing: border-box;
}

/* Mobile button fixes */
@media (max-width: 768px) {
  .property-content .btn1 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 20px;
    font-size: 15px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px;
  }

  .property-card .btn1.size2 {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Ensure vehicle-detail-btn matches on mobile for both index and gallery */
  #all-vehicles-section .vehicle-detail-btn,
  .vehicle-detail-btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    background: #00002d !important;
    color: #ffffff !important;
    border: none !important;
  }

  /* Ensure detail-label background colors show on mobile */
  .detail-label-calendar {
    background-color: #007bff !important;
    color: #ffffff !important;
  }

  .detail-label-tag {
    background-color: #ff9800 !important;
    color: #ffffff !important;
  }

  .detail-label-certificate {
    background-color: #28a745 !important;
    color: #ffffff !important;
  }

  .btn1 {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}

/*[ HORIZONTAL SCROLLING PROPERTIES ]
///////////////////////////////////////////////////////////
*/
.properties-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 0;
  margin: 0 -15px;
}

.properties-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.properties-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.properties-scroll-container::-webkit-scrollbar-thumb {
  background: #007bff;
  border-radius: 4px;
}

.properties-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #0056b3;
}

.properties-scroll-wrapper {
  display: flex;
  gap: 20px;
  padding: 0 15px;
  width: max-content;
  animation: scroll-properties 30s linear infinite;
}

.properties-scroll-wrapper:hover {
  animation-play-state: paused;
}

.property-card-scroll {
  flex: 0 0 350px;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.properties-scroll-wrapper .property-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.property-card-scroll:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  background-color: #ffefcb;
}

@keyframes scroll-properties {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Responsive adjustments for scrolling properties */
@media (max-width: 768px) {
  .property-card-scroll {
    flex: 0 0 280px;
  }

  .properties-scroll-wrapper {
    gap: 15px;
  }

  .properties-scroll-container {
    margin: 0 -10px;
    padding: 15px 0;
  }
}

body,
html {

  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  /*フォント種類*/
  font-optical-sizing: auto;
  font-weight: 500;
  -webkit-text-size-adjust: none;
  background: var(--base-color);
  /*varは背景色のことで冒頭のbase-colorを読み込みます。*/
  color: var(--base-inverse-color);
  /*文字色。冒頭で指定しているbase-inverse-colorを読み込みます。*/
  line-height: 2;
  /*行間*/
}


/* White text for sections with bg4-pattern */
.bg4-pattern {
  color: #ffffff;
}

.bg4-pattern a,
.bg4-pattern h1,
.bg4-pattern h2,
.bg4-pattern h3,
.bg4-pattern h4,
.bg4-pattern h5,
.bg4-pattern h6,
.bg4-pattern p,
.bg4-pattern .size3 {
  color: #ffffff !important;
}

/* Contact button in bg4-pattern section */
.bg4-pattern .contact-btn {
  display: inline-block;
  background-color: #ffffff;
  color: #e60012 !important;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.bg4-pattern .contact-btn:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.bg4-pattern .contact-btn i {
  color: #e60012;
}

/* Repair section specific background color */
.repair-section.bg4-pattern {
  background-color: #00002d !important;
}

/* Center button on mobile */
@media (max-width: 768px) {
  .bg4-pattern .contact-btn {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
  }
}

/* Specific paragraph variant to force white text */
.t-left.m-b-22.size3.m-l-r-auto {
  color: #ffffff;
}

/* ------------------------------------ */
a {

  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: #666666;
  margin: 0px;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
}

/* Override fade-in-up for bodymanu button to ensure it's always visible on all devices */
.bodymanu-more-btn.fade-in-up,
.bodymanu-more-btn.fade-in-up-delay-3 {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

a:focus {
  outline: none !important;
}

a:hover {
  text-decoration: none;
  color: #242424;
}

/* ------------------------------------ */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0px;
}

p {

  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: #666666;
  margin: 0px;
}

ul,
li {
  margin: 0px;
  list-style-type: none;
}


/* ------------------------------------ */
input {
  outline: none;
  border: none !important;
}

textarea {
  outline: none;
}

textarea:focus,
input:focus {
  border-color: transparent !important;
  box-shadow: 0 0 0px 2px #ec1d25;
  -moz-box-shadow: 0 0 0px 2px #ec1d25;
  -webkit-box-shadow: 0 0 0px 2px #ec1d25;
  -o-box-shadow: 0 0 0px 2px #ec1d25;
  -ms-box-shadow: 0 0 0px 2px #ec1d25;
}

input:focus::-webkit-input-placeholder {
  color: transparent;
}

input:focus:-moz-placeholder {
  color: transparent;
}

input:focus::-moz-placeholder {
  color: transparent;
}

input:focus:-ms-input-placeholder {
  color: transparent;
}

textarea:focus::-webkit-input-placeholder {
  color: transparent;
}

textarea:focus:-moz-placeholder {
  color: transparent;
}

textarea:focus::-moz-placeholder {
  color: transparent;
}

textarea:focus:-ms-input-placeholder {
  color: transparent;
}

input::-webkit-input-placeholder {
  color: #aaaaaa;
}

input:-moz-placeholder {
  color: #aaaaaa;
}

input::-moz-placeholder {
  color: #aaaaaa;
}

input:-ms-input-placeholder {
  color: #aaaaaa;
}

textarea::-webkit-input-placeholder {
  color: #aaaaaa;
}

textarea:-moz-placeholder {
  color: #aaaaaa;
}

textarea::-moz-placeholder {
  color: #aaaaaa;
}

textarea:-ms-input-placeholder {
  color: #aaaaaa;
}

/* ------------------------------------ */
button {
  outline: none !important;
  border: none;
  background: transparent;
}

button:hover {
  cursor: pointer;
}

iframe {
  border: none !important;
}


/* ------------------------------------ */
.container {
  max-width: 1200px;
}

.slick-slide {
  outline: none !important;
}

/*[ LOADDING ]
///////////////////////////////////////////////////////////
*/

.animsition-loading-1 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loading-logo {
  width: 200px;
  height: auto;
  margin-bottom: 40px;
  opacity: 1;
}

.loading-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.loading-progress-container {
  width: 300px;
  height: 4px;
  background-color: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.loading-progress-bar {
  height: 100%;
  background-color: #ec1d25;
  width: 0%;
  border-radius: 2px;
  transition: width 0.3s ease;
  position: relative;
  overflow: hidden;
}

.loading-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  animation: progressShine 1.5s infinite;
}

@keyframes fadeInLogo {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes progressShine {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Responsive loading screen */
@media (max-width: 768px) {
  .loading-logo {
    width: 150px;
    margin-bottom: 30px;
  }

  .loading-progress-container {
    width: 250px;
  }
}

@media (max-width: 576px) {
  .loading-logo {
    width: 120px;
    margin-bottom: 25px;
  }

  .loading-progress-container {
    width: 200px;
    height: 3px;
  }
}

/* Legacy spinner (kept for compatibility) */
.cp-spinner {
  width: 40px;
  height: 40px;
  display: inline-block;
  box-sizing: border-box;
  position: relative
}

.cp-meter {
  border-radius: 50%;
  border-top: solid 6px #ec1d25;
  border-right: solid 6px #ec1d25;
  border-bottom: solid 6px #ec1d25;
  border-left: solid 6px #ec1d25;
  width: 48px;
  height: 48px;
  display: inline-block;
  box-sizing: border-box
}

.cp-meter:before {
  border-radius: 3px;
  content: " ";
  width: 6px;
  height: 12px;
  display: inline-block;
  box-sizing: border-box;
  background-color: #ec1d25;
  position: absolute;
  top: 5px;
  left: 16px;
  transform-origin: center bottom;
  animation: cp-meter-animate-before 1s linear infinite
}

@keyframes cp-meter-animate-before {
  0% {
    transform: rotate(-45deg)
  }

  100% {
    transform: rotate(315deg)
  }
}

/*[ BACK TO TOP ]
///////////////////////////////////////////////////////////
*/
.btn-back-to-top {
  display: none;
  position: fixed;
  width: 40px;
  height: 40px;
  bottom: 40px;
  right: 40px;
  background-color: black;
  opacity: 0.5;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  border-radius: 4px;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
}

.symbol-btn-back-to-top {
  font-size: 22px;
  color: white;
  line-height: 1em;
}

.btn-back-to-top:hover {
  opacity: 1;
  cursor: pointer;
}

@media (max-width: 576px) {
  .btn-back-to-top {
    bottom: 15px;
    right: 15px;
  }
}


/*[ Calendar ]
///////////////////////////////////////////////////////////
*/
td.active {
  background-color: #ec1d25 !important;
}

input[type="date" i] {
  padding: 14px;
}

.table-condensed td,
.table-condensed th {
  font-size: 14px;
  font-family: Montserrat;
  font-weight: 400;
}

.daterangepicker {
  width: 339px;
  box-shadow: 0px 3px 25px rgba(0, 0, 0, 0.1);
  border: none;
  margin-top: 10px;
}

.daterangepicker .calendar {
  max-width: inherit;
}

.daterangepicker thead tr th {
  padding: 10px 0;
}

.daterangepicker .table-condensed th select {
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 15px;
  padding: 5px;
}

.daterangepicker td {
  width: 60px;
  height: 35px;
}



/*[ Select2 ]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

/*[ width select ]
===========================================================*/
.select2-container {
  display: block;
  max-width: 100%;
  width: auto !important;
}

/*[ Select ]
===========================================================*/
.select2-container .select2-selection--single {
  display: flex;
  align-items: center;
  background-color: white;
  border: 0px solid transparent;
  border-radius: 10px !important;
  height: 46px;
  outline: none;
}

.select2-container--focus {
  border-radius: 10px;
  box-shadow: 0 0 0px 2px #ec1d25;
  -moz-box-shadow: 0 0 0px 2px #ec1d25;
  -webkit-box-shadow: 0 0 0px 2px #ec1d25;
  -o-box-shadow: 0 0 0px 2px #ec1d25;
  -ms-box-shadow: 0 0 0px 2px #ec1d25;
}

.select2-container--focus .select2-selection--single {
  border-color: transparent;
}

.select2-container--below.select2-container--open {
  border-radius: 10px;
  box-shadow: 0 0 0px 2px #ec1d25;
  -moz-box-shadow: 0 0 0px 2px #ec1d25;
  -webkit-box-shadow: 0 0 0px 2px #ec1d25;
  -o-box-shadow: 0 0 0px 2px #ec1d25;
  -ms-box-shadow: 0 0 0px 2px #ec1d25;
}

.select2-container--below.select2-container--open .select2-selection--single {
  border-color: transparent;
}

.select2-container--above.select2-container--open {
  border-radius: 10px;
  box-shadow: 0 0 0px 2px #ec1d25;
  -moz-box-shadow: 0 0 0px 2px #ec1d25;
  -webkit-box-shadow: 0 0 0px 2px #ec1d25;
  -o-box-shadow: 0 0 0px 2px #ec1d25;
  -ms-box-shadow: 0 0 0px 2px #ec1d25;
}

.select2-container--above.select2-container--open .select2-selection--single {
  border-color: transparent;
}


/*[ in select ]
===========================================================*/
.select2-selection__rendered {
  font-size: 14px;
  font-family: Montserrat;
  font-weight: 400;
  color: #666666 !important;
  padding-left: 20px !important;
}

.select2-selection__arrow {
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 12px !important;
}


/*[ dropdown option ]
===========================================================*/
.select2-dropdown {
  border: none !important;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0px 3px 25px rgba(0, 0, 0, 0.1);
  margin-top: 7px;
}

.select2-dropdown--above {
  top: -2px;
}

.select2-dropdown--below {
  top: 2px;
}

.select2-container--default .select2-results__option[aria-selected=true],
.select2-container .select2-results__option--highlighted[aria-selected] {
  background-color: #ec1d25;
  color: #fff;
}

.select2-results__options {
  font-size: 14px;
  font-family: Montserrat;
  font-weight: 400;
  color: #666666 !important;
}


.select2-search--dropdown .select2-search__field {
  border: 1px solid #aaa !important;
  outline: none;
  font-family: Montserrat;
  font-weight: 400;
  font-size: 14px;
  color: #666666;
}

.select2-search--dropdown .select2-search__field:focus {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  -o-box-shadow: none;
  -ms-box-shadow: none;
}



/*[ Header ]
///////////////////////////////////////////////////////////
*/

.wrap-menu-header {
  position: absolute;
  width: 100%;
  height: 70px;
  top: 0;
  left: 0;
  z-index: 100;
  border-top: 5px solid #ec1d25;
}

.wrap_header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
  background-color: transparent;
  justify-content: space-between;
  align-items: center;
}

/* Header container - wider max-width for navigation */
.wrap-menu-header .container {
  max-width: 1800px;
  padding-left: 0;
}

/* Navigation to right */
.wrap_menu {
  padding-left: 0 !important;
  margin-left: auto;
}

.header-fixed .wrap-menu-header {
  position: fixed;
  height: 70px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

/*[ Logo ]
-----------------------------------------------------------
*/
.logo {
  height: 50px;
  margin-left: 15px;
}

.logo>a {
  display: block;
  height: 100%;
}

.logo>a>img {
  width: auto;
  max-height: 100%;
  vertical-align: middle;
}


/*[ Menu ]
-----------------------------------------------------------
*/
.wrap_menu {
  height: 100%;
  margin-left: auto;
  padding-left: 0 !important;
}

.menu {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.main_menu {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.main_menu li {
  display: block;
  position: relative;
}

.main_menu>li {
  padding-top: 10px;
  padding-bottom: 10px;
  margin-left: 7.5px;
  margin-right: 7.5px;
}

.main_menu>li>a {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: white;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
}

.main_menu>li>a .nav-en {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.main_menu>li>a .nav-ja {
  font-size: 13px;
  font-weight: 400;
  font-family: "Noto Sans JP", sans-serif;
  text-transform: none;
  letter-spacing: 0.5px;
}

.header-fixed .main_menu>li>a {
  color: #222222;
}

.main_menu>li:hover>a {
  color: #ec1d25;
  text-decoration: none;
}

/* Contact button style (last item) */
.main_menu>li:last-child>a {
  background-color: #ec1d25;
  border-radius: 4px;
  padding: 12px 20px;
  margin-left: 15px;
  transition: all 0.3s ease;
}

.main_menu>li:last-child>a:hover {
  background-color: #c4171d;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(236, 29, 37, 0.3);
}

.header-fixed .main_menu>li:last-child>a {
  background-color: #ec1d25;
  color: white;
}

.header-fixed .main_menu>li:last-child>a:hover {
  background-color: #c4171d;
  color: white;
}

.main_menu>li:last-child>a .nav-en,
.main_menu>li:last-child>a .nav-ja {
  color: white;
}

/* News Page Styles */
.news-list {
  max-width: 900px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.news-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.news-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  margin-right: 20px;
  padding: 10px;
  background-color: #f5f5f5;
  border-radius: 4px;
}

.news-year {
  font-size: 12px;
  color: #666;
  font-weight: 400;
}

.news-month-day {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  font-family: "Montserrat", sans-serif;
}

.news-content {
  flex: 1;
}

.news-category {
  display: inline-block;
  font-size: 11px;
  color: #ec1d25;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.news-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.news-title a {
  color: #222;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-title a:hover {
  color: #ec1d25;
}

.news-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ------------------------------------ */
.sub_menu {
  position: absolute;
  top: 0;
  left: 100%;
  width: 225px;
  background-color: white;

  transform-origin: top left;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);

  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.34;
}

.main_menu>li>.sub_menu {
  top: 100%;
  left: 0;
  position: absolute;
}

.main_menu>li:hover .sub_menu {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.sub_menu li:hover>.sub_menu {
  display: block;
}

.sub_menu li {
  background-color: #f2f2f2;
  border-top: 1px solid #e0e0e0;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  -moz-transition: all 0.3s;
}

.sub_menu li:hover {
  background-color: white;
}

.sub_menu li,
.sub_menu a {
  padding: 10px;
  font-family: Montserrat;
  font-weight: 400;
  font-size: 14px;
  color: #808080;
}

.sub_menu>li:hover>a {
  color: #555555;
  text-decoration: none;
}


/*[ Social ]
-----------------------------------------------------------
*/
.social a {
  font-size: 15px;
  color: white;
}

.header-fixed .social a {
  color: #222222;
}

.social a:hover {
  color: #ec1d25;
}

.btn-show-sidebar {
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.btn-show-sidebar .hamburger-icon {
  width: 34px;
  height: 34px;
  color: #ec1d25;
  transition: all 0.3s ease;
}

.header-fixed .btn-show-sidebar .hamburger-icon {
  color: #ec1d25;
}

.btn-show-sidebar:hover .hamburger-icon {
  color: #ec1d25;
}

.hamburger-line {
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}

/* Hamburger to X animation when sidebar is open */
.sidebar-open .hamburger-line-top {
  transform: translateY(20px) rotate(45deg);
}

.sidebar-open .hamburger-line-middle {
  opacity: 0;
  transform: scaleX(0);
}

.sidebar-open .hamburger-line-bottom {
  transform: translateY(-20px) rotate(-45deg);
}

/* Show hamburger only on mobile/tablet */
@media (min-width: 993px) {
  .btn-show-sidebar {
    display: none;
  }
}

/* For 1800px screens and above - keep 20px spacing (10px each side) */
@media (min-width: 1800px) {
  .main_menu>li {
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (max-width: 1200px) {
  .main_menu>li {
    margin-left: 4px;
    margin-right: 4px;
  }

  .main_menu>li>a .nav-en {
    font-size: 15px;
  }

  .social {
    padding-right: 0px;
  }

  .logo {
    height: 45px;
  }
}

@media (max-width: 992px) {
  .wrap_menu {
    display: none;
  }

  .wrap_header {
    height: 100px;
  }

  /* Fixed header on mobile - always visible at top */
  .wrap-menu-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 60px;
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
    background: transparent !important;
    background-image: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 9999 !important;
    border-top: 2px solid #ec1d25;
    box-shadow: none;
  }

  /* Ensure logo and hamburger are on top */
  .wrap-menu-header .wrap_header {
    position: relative;
    z-index: 10000 !important;
  }

  .wrap-menu-header .logo,
  .wrap-menu-header .btn-show-sidebar,
  .wrap-menu-header .wrap_menu,
  .wrap-menu-header .social {
    position: relative;
    z-index: 10001 !important;
  }

  /* Override gradient1 class on mobile - transparent by default */
  .wrap-menu-header.gradient1 {
    background: transparent !important;
    background-image: none !important;
    -webkit-background-image: none !important;
    -moz-background-image: none !important;
    -o-background-image: none !important;
    -ms-background-image: none !important;
  }

  /* Show white background only when scrolled (header-fixed) - must override gradient1 */
  .header-fixed .wrap-menu-header,
  .header-fixed .wrap-menu-header.gradient1,
  html .header-fixed .wrap-menu-header.gradient1,
  body .header-fixed .wrap-menu-header.gradient1 {
    background: rgba(255, 255, 255, 0.30) !important;
    background-image: none !important;
    -webkit-background-image: none !important;
    -moz-background-image: none !important;
    -o-background-image: none !important;
    -ms-background-image: none !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
  }

  .wrap_header {
    height: 80px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    height: 40px;
    display: flex;
    align-items: center;
  }

  .logo>a {
    display: flex;
    align-items: center;
    height: 100%;
  }

  .logo>a>img {
    max-height: 50px;
    width: auto;
  }

  /* Hamburger button - white by default (visible on video), dark when scrolled */
  .btn-show-sidebar {
    width: 34px;
    height: 34px;
    background: transparent;
    border: none !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn-show-sidebar .hamburger-icon {
    width: 34px;
    height: 34px;
    color: white;
  }

  .social {
    display: flex;
    align-items: center;
  }

  .header-fixed .btn-show-sidebar {
    color: #222222;
  }

  .hamburger-icon {
    color: rgba(236, 29, 37, 0.7);
    ;
  }

  /* Adjust page title sections for fixed header on mobile */
  .bg-title-page {
    margin-top: 0;
    padding-top: 140px;
  }

  /* Adjust first content section if it's not a title page */
  section:first-of-type:not(.bg-title-page):not(.section-slide) {
    padding-top: 80px;
  }

  /* Video section should start from top on mobile */
  .section-slide {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .wrap-slick1 {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}




/*[ Sidebar ]
///////////////////////////////////////////////////////////
*/
.sidebar {
  position: fixed;
  z-index: 10000;
  width: 390px;
  height: 100%;
  overflow: auto;
  background-color: white;
  top: 0;
  right: -390px;
}

.show-sidebar {
  right: 0px;
}

.btn-hide-sidebar {
  position: absolute;
  font-size: 20px;
  color: #ec1d25;
  padding: 10px;
  top: 20px;
  right: 20px;
  z-index: 10001;
  pointer-events: auto;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
}

.overlay-sidebar {
  position: fixed;
  z-index: 9998;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  visibility: hidden;
}

.show-overlay-sidebar {
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.65);
}

/* Mobile full-screen menu (career.strust-inc style) */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    right: -100%;
    background-color: #00002d;
    color: #ffffff;
  }

  .show-sidebar {
    right: 0;
  }

  .sidebar-logo {
    text-align: left;
    padding: 15px 20px 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sidebar-logo a {
    display: inline-block;
  }

  .sidebar-logo img {
    max-width: 150px;
    height: auto;
  }

  .menu-sidebar {
    text-align: center;
    padding-top: 20px !important;
  }

  .menu-sidebar .txt19 {
    font-size: 18px;
    letter-spacing: 0;
    text-transform: none;
    color: #ffffff;
  }

  .menu-sidebar a {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 15px 40px 15px 20px;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .menu-sidebar a:hover {
    color: #ec1d25;
  }

  .menu-sidebar a::after {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
  }

  .menu-sidebar a:hover::after {
    color: #ec1d25;
  }

  .menu-label-ja {
    display: block;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: inherit;
    margin-bottom: 4px;
    line-height: 1.4;
  }

  .menu-label-en {
    display: block;
    font-family: "Oswald", "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.4;
    transition: color 0.3s ease;
  }

  .menu-sidebar a:hover .menu-label-en {
    color: rgba(236, 29, 37, 0.8);
  }

  .menu-sidebar li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0 !important;
  }

  .btn-hide-sidebar {
    color: #ffffff;
    font-size: 24px;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    z-index: 10001 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    border: none;
  }
}

/* ------------------------------------ */
.item-gallery-sidebar {
  display: block;
  position: relative;
  width: calc((100% - 30px) / 3);
  margin: 5px;
}

.item-gallery-sidebar::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.item-gallery-sidebar:hover:after {
  background-color: rgba(236, 29, 37, 0.7);
}

@media (max-width: 576px) {
  .wrap_header {
    height: 60px;
  }

  .gallery-sidebar {
    padding-left: 20px;
    padding-right: 20px;
  }
}



/*[ Slide1 ]
///////////////////////////////////////////////////////////
*/

/*[ Slick1 ]
-----------------------------------------------------------
*/
.wrap-slick1,
.wrap-slick2,
.wrap-slick3 {
  position: relative;
}

.item-slick1,
.item-slick2,
.item-slick3 {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.item-slick1 {
  height: 100vh;
}

.arrow-slick1,
.arrow-slick2,
.arrow-slick3 {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  font-size: 18px;
  color: white;
  position: absolute;
  background-color: black;
  opacity: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  border-radius: 50%;
  z-index: 200;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.wrap-slick1:hover .arrow-slick1,
.wrap-slick2:hover .arrow-slick2,
.wrap-slick3:hover .arrow-slick3 {
  opacity: 0.5;
}

.arrow-slick1:hover,
.arrow-slick2:hover,
.arrow-slick3:hover {
  background-color: #ec1d25;
}

.next-slick1,
.next-slick2,
.next-slick3 {
  right: 50px;
  left: auto;
}

.prev-slick1,
.prev-slick2,
.prev-slick3 {
  left: 50px;
  right: auto;
}

@media (max-width: 576px) {
  .next-slick1 {
    right: 15px;
  }

  .prev-slick1 {
    left: 15px;
  }
}

/* ------------------------------------ */
.wrap-slick1-dots {
  position: absolute;
  width: 100%;
  height: 65px;
  left: 0;
  bottom: 0;
}

.slick1-dots {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.slick1-dots li {
  padding-left: 3px;
  padding-right: 3px;
}

.slick1-dots li button {
  display: block;
  color: transparent;
  background-color: #958e88;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid transparent;
  background-clip: padding-box;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}


.slick1-dots li button:hover {
  border: 3px solid white;
  background-color: #d41b22;
}

.slick1-dots li.slick-active button {
  border: 3px solid white;
  background-color: #d41b22;
}

/*[ Caption ]
-----------------------------------------------------------
*/
/* Remove animation from buttons - always visible */
.wrap-btn-slide1 {
  visibility: visible !important;
  opacity: 1 !important;
  animation: none !important;
}

@media (max-width: 768px) {
  .wrap-content-slide1 .tit1 {
    font-size: 70px;
  }

  .wrap-content-slide1 .txt1 {
    font-size: 20px;
  }

  /* Increase button width on mobile */
  .wrap-btn-slide1 .btn a {
    width: 280px !important;
    max-width: 90%;
  }
}

@media (max-width: 576px) {
  .wrap-content-slide1 .tit1 {
    font-size: 60px;
  }

  .wrap-content-slide1 .txt1 {
    font-size: 12px;
  }
}


/*[ Button1 ]
///////////////////////////////////////////////////////////
*/
.btn1 {
  background: #e60012;
  border: 1px solid #e60012;
  border-radius: 0;
  color: white;
  transition: all 0.4s ease 0.1s;
  font-weight: 600;
  font-size: 14px !important;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 12px 16px;
}

.btn1:hover {
  background-color: white;
  border-color: #e60012;
  color: #e60012;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 0, 18, 0.4);
  transition: all 0.4s ease 0s;
}

/* View All button for news section */
.view-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #00002d;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: all 0.4s ease 0.1s;
  border: 2px solid #00002d;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.view-all-btn:hover {
  background-color: white;
  border-color: #00002d;
  color: #00002d;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  transition: all 0.4s ease 0s;
}

.view-all-btn i {
  color: #ffffff;
  margin-left: 8px;
  font-size: 14px;
  transition: color 0.4s ease 0s;
}

.view-all-btn:hover i {
  color: #00002d;
}

/* Center blog/news buttons on mobile */
@media (max-width: 768px) {

  /* News titles on mobile */
  .txt5 {
    font-size: 14px;
  }

  /* Footer copyright text on mobile */
  .end-footer .txt17 {
    font-size: 12px;
  }

  .section-blog .wrap-text-blo1,
  .blo1 .wrap-text-blo1 {
    text-align: center;
  }

  .section-blog .btn1,
  .blo1 .btn1 {
    display: inline-flex !important;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    min-width: 200px;
    min-height: 30px;
    padding: 7px 20px;
  }

  .view-all-btn {
    display: inline-flex;
    margin-left: auto;
    margin-right: 0;
    width: auto;
    min-width: 200px;
  }

  .text-right .view-all-btn,
  .t-right .view-all-btn {
    margin-left: auto;
    margin-right: 0;
  }
}

/* Ensure text-right class works for button alignment */
.text-right,
.t-right {
  text-align: right;
}

.text-right .view-all-btn,
.t-right .view-all-btn {
  display: inline-flex;
  margin-left: auto;
  margin-right: 0;
}

/* Ensure view-all-btn in news section aligns right */
.section-blog .text-right .view-all-btn,
.section-blog .t-right .view-all-btn {
  display: inline-flex;
  margin-left: auto;
  margin-right: 0;
  float: none;
}

/*[ Button3 ]
///////////////////////////////////////////////////////////
*/
.btn3 {
  background: #111111;
  border: 1px solid #111111;
  border-radius: 10px;
  color: white;
  transition: all 0.4s ease 0.1s;
}

.btn3:hover {
  background-color: white;
  border-color: #111111;
  color: #111111;
  transition: all 0.4s ease 0s;
}


/*[ Button2 ]
///////////////////////////////////////////////////////////
*/
.btn2 {
  background-color: white;
  border: 1px solid #ec1d25;
  border-radius: 10px;
  color: #ec1d25;
  opacity: 0.9;
  transition: all 0.4s ease 0.1s;
}

.btn2:hover {
  background-color: #ec1d25;
  border-color: #ec1d25;
  color: white;
  transition: all 0.4s ease 0s;
}




/*[ Intro ]
///////////////////////////////////////////////////////////
*/
.header-intro {
  background-attachment: fixed;
  background-position: center 0;
  background-repeat: no-repeat;
  background-size: cover;
}



/*[ Slide2 ]
///////////////////////////////////////////////////////////
*/

/*[ Slick2 ]
-----------------------------------------------------------
*/

.arrow-slick2 {
  top: 53%;
}


@media (max-width: 576px) {
  .next-slick2 {
    right: 15px;
  }

  .prev-slick2 {
    left: 15px;
  }
}

/* ------------------------------------ */
.wrap-slick2-dots {
  position: absolute;
  width: 100%;
  height: 128px;
  left: 0;
  bottom: 0;
}

.slick2-dots {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.slick2-dots li {
  padding-left: 5px;
  padding-right: 5px;
}

.slick2-dots li button {
  display: block;
  color: transparent;
  background-color: #cccccc;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid transparent;
  background-clip: padding-box;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}


.slick2-dots li button:hover {
  border: 1px solid #d41b22;
  background-color: #d41b22;
}

.slick2-dots li.slick-active button {
  border: 1px solid #d41b22;
  background-color: #d41b22;
}


/*[ Slide3 ]
///////////////////////////////////////////////////////////
*/

/*[ Slick3 ]
-----------------------------------------------------------
*/


.arrow-slick3 {
  top: 40%;
}


@media (max-width: 576px) {
  .next-slick3 {
    right: 15px;
  }

  .prev-slick3 {
    left: 15px;
  }
}

/* ------------------------------------ */
.wrap-slick3-dots {
  width: 100%;
  height: 128px;
}

.slick3-dots {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.slick3-dots li {
  padding-left: 5px;
  padding-right: 5px;
}

.slick3-dots li button {
  display: block;
  color: transparent;
  background-color: #cccccc;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid transparent;
  background-clip: padding-box;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}


.slick3-dots li button:hover {
  border: 1px solid #d41b22;
  background-color: #d41b22;
}

.slick3-dots li.slick-active button {
  border: 1px solid #d41b22;
  background-color: #d41b22;
}





/*[ Block2 ]
///////////////////////////////////////////////////////////
*/
.blo2 {
  border-radius: 10px;
  overflow: hidden;
}

.wrap-pic-blo2 {
  display: block;
  width: 50%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.wrap-text-blo2 {
  background-color: white;
  width: 50%;
  min-height: 390px;
}

/* ------------------------------------ */
.effect1 {
  background-color: #cf2227;
  opacity: 0.9;
  position: relative;
}

.effect1 .txt-effect1 {
  width: 390px;
  height: 50px;
  transform-origin: center center;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) rotateZ(90deg);
  -moz-transform: translate(-50%, -50%) rotateZ(90deg);
  -ms-transform: translate(-50%, -50%) rotateZ(90deg);
  -o-transform: translate(-50%, -50%) rotateZ(90deg);
  transform: translate(-50%, -50%) rotateZ(90deg);
}

@media (max-width: 992px) {
  .blo2 {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .wrap-pic-blo2 {
    width: 100%;
    height: 390px;
  }

  .wrap-text-blo2 {
    width: 100%;
    min-height: 390px;
  }

  .time-event {
    width: 100%;
    height: auto;
  }

  .effect1 .txt-effect1 {
    width: 100%;
    height: 50px;
    padding: 10px;
    transform-origin: center center;
    position: unset;
    -webkit-transform: rotateZ(0deg);
    -moz-transform: rotateZ(0deg);
    -ms-transform: rotateZ(0deg);
    -o-transform: rotateZ(0deg);
    transform: rotateZ(0deg);
  }
}

@media (max-width: 576px) {
  .blo2 {
    width: 100%;
  }

  .wrap-pic-blo2 {
    width: 100%;
    height: 364px;
  }

}


/*[ Video ]
///////////////////////////////////////////////////////////
*/
.section-video {
  background-attachment: fixed;
  background-position: center 0;
  background-repeat: no-repeat;
  background-size: cover;
}

.content-video {
  background-color: rgba(0, 0, 0, 0.5);
}

/*[ Modal video 01 ]
-----------------------------------------------------------
*/
body {
  padding-right: 0px !important;
}

.modal {
  padding: 0px !important;
  z-index: 1160;
  overflow-x: hidden;
  overflow-y: auto !important;
}

.modal-open {
  overflow-y: scroll;
}

/* ------------------------------------ */
.modal-backdrop {
  background-color: transparent;
}

#modal-video-01 {
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1250;

}

#modal-video-01 .modal-dialog {
  max-width: 100% !important;
  height: 100% !important;
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
}

.wrap-video-mo-01 {
  width: 854px;
  height: auto;
  position: relative;
  margin: 15px;
}

.video-mo-01 {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  -webkit-transition: all 2s;
  -o-transition: all 2s;
  -moz-transition: all 2s;
  transition: all 2s;
}

.video-mo-01 iframe {
  width: 100%;
  height: 100%;
}

.close-mo-video-01 {
  font-size: 50px;
  color: white;
  opacity: 0.6;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 1250;
  width: 60px;
  height: 60px;
  top: 0;
  right: 0;
}

.close-mo-video-01:hover {
  cursor: pointer;
  opacity: 1;
}



/*[ Blog ]
///////////////////////////////////////////////////////////
*/
.time-blog {
  position: absolute;
  left: 14px;
  bottom: 11px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 3px 15px;

  font-family: Montserrat;
  font-weight: 400;
  font-size: 12px;
  color: white;
  border-radius: 4px;

}


/*[ Gallery footer ]
///////////////////////////////////////////////////////////
*/
.item-gallery-footer {
  display: block;
  position: relative;
  width: calc((100% - 50px) / 4);
  margin-right: 10px;
  margin-bottom: 10px;
}

.item-gallery-footer::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.item-gallery-footer:hover:after {
  background-color: rgba(236, 29, 37, 0.7);
}


/*[ BG Title Page ]
///////////////////////////////////////////////////////////
*/
.bg-title-page {
  width: 100%;
  min-height: 270px;
  padding-left: 15px;
  padding-right: 15px;
  background-repeat: no-repeat;
  background-position: center 0;
  background-size: cover;
}

/* Decorated page header */
.bg-title-page-decorated {
  position: relative;
  overflow: hidden;
}

.bg-title-page-decorated::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 320px;
  height: 320px;
  background-image: none;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.9;
  pointer-events: none;
  transform-origin: center;
  animation: headerShapeFloat 28s ease-in-out infinite alternate;
}

@media (max-width: 768px) {
  .bg-title-page-decorated::after {
    right: -60px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    opacity: 0.8;
  }
}

@keyframes headerShapeFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-8px, -16px, 0) scale(1.03);
  }

  100% {
    transform: translate3d(0, -28px, 0) scale(1.05);
  }
}

/* Per-page header backgrounds (solid color, no images) */
.bg-title-company {
  background-color: #00002d;
}

.bg-title-bodymanu {
  background-color: #00002d;
}

.bg-title-contact {
  background-color: #00002d;
}

.bg-title-faq {
  background-color: #00002d;
}

.bg-title-gallery {
  background-color: #00002d;
}

/* COMPANY label animation in header */
.page-label-en {
  display: inline-block;
  font-family: "Oswald", "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  /* Match mobile hover accent color */
  color: #ec1d25;
  opacity: 0.9;
  transform-origin: center;
  animation: pageLabelFloat 26s ease-in-out infinite alternate;
}

/* Generic English heading accent (use on FAQ, etc.) */
.heading-en {
  color: #ec1d25;
}

@keyframes pageLabelFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -6px, 0);
  }

  100% {
    transform: translate3d(0, -12px, 0);
  }
}

@media (max-width: 576px) {
  .bg-title-page .tit6 {
    font-size: 30px;
  }

  .tit6.t-center.m-t-10 {
    font-size: 14px;
  }
}

/* Set font size for tit6 t-center m-t-10 titles */
.tit6.t-center.m-t-10 {
  font-size: 18px;
}

@media (max-width: 768px) {
  .tit6.t-center.m-t-10 {
    font-size: 14px;
  }
}

/* FAQ question font size */
.bg1-pattern .tit5,
section.bg1-pattern h4.tit5 {
  font-size: 14px;
  letter-spacing: 0;
  word-spacing: 0;
  text-transform: none;
}

@media (max-width: 768px) {

  .bg1-pattern .tit5,
  section.bg1-pattern h4.tit5 {
    font-size: 17px;
    letter-spacing: 0;
    word-spacing: 0;
    text-transform: none;
  }
}



/*[ Item mainmenu ]
///////////////////////////////////////////////////////////
*/

.line-item-mainmenu {
  flex-grow: 1;
  height: 2px;
  margin-bottom: 5px;
  margin-right: 10px;
  margin-left: 10px;
}

@media (max-width: 576px) {
  .line-item-mainmenu {
    display: none;
  }

  .price-item-mainmenu {
    padding-top: 5px;
  }

  .name-item-mainmenu {
    width: 100%;
  }
}


/*[ Block3 ]
///////////////////////////////////////////////////////////
*/

@media (max-width: 576px) {
  .text-blo3 {
    width: 100%;
  }
}



/*[ Gallery ]
///////////////////////////////////////////////////////////
*/

.label-gallery {
  border-radius: 10px;
  padding: 2px 11px;
  margin: 5px 0;
}

.label-gallery:hover {
  background-color: #111111;
  color: white;
}

.is-actived {
  background-color: #111111;
  color: white;
}

/* ------------------------------------ */
.wrap-gallery {
  width: 100%;
  box-sizing: border-box;
}

.item-gallery {
  width: calc((100% - 140px) / 3);
  margin: 30px 15px;
  position: relative;
}

.overlay-item-gallery {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(236, 29, 37, 0.8);
  opacity: 0;
}

.overlay-item-gallery:hover {
  opacity: 1;
}

.btn-show-gallery {
  font-size: 18px;
  color: #222222;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: white;
}

@media (max-width: 768px) {
  .item-gallery {
    width: calc((100% - 110px) / 2);
  }
}

@media (max-width: 576px) {
  .item-gallery {
    width: calc((100% - 30px) / 1);
  }

  .wrap-gallery {
    padding-left: 0;
    padding-right: 0;
  }
}


/*[ Pagination ]
///////////////////////////////////////////////////////////
*/
.item-pagination {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 13px;
  color: #808080;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e6e6e6;
  margin: 6px;
}

.item-pagination:hover {
  background-color: #333333;
  color: white;
}

.active-pagination {
  background-color: #333333;
  color: white;
}



/*[ Sidebar2 ]
///////////////////////////////////////////////////////////
*/

/*[ Search sidebar2 ]
-----------------------------------------------------------
*/
.btn-search-sidebar2 {
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  background-color: #333333;
  color: white;
  font-size: 18px;

  box-shadow: 0 0 0px 1px #333333;
  -moz-box-shadow: 0 0 0px 1px #333333;
  -webkit-box-shadow: 0 0 0px 1px #333333;
  -o-box-shadow: 0 0 0px 1px #333333;
  -ms-box-shadow: 0 0 0px 1px #333333;

  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.btn-search-sidebar2:hover {
  color: #ec1d25;
}

.input-search-sidebar2 {
  width: 100%;
  height: 100%;
}



/*[ Block4 ]
///////////////////////////////////////////////////////////
*/
.date-blo4 {
  width: 75px;
  height: 82px;
  position: absolute;
  top: 20px;
  left: 20px;
  border-radius: 10px;
  background-color: #ec1d25;
}


/*[ Step Navigation - Manufacturing Process ]
///////////////////////////////////////////////////////////
*/
.section-steps-nav {
  background-color: #f5f5f5;
}

/* Full-width intro text for bodymanu page */
.intro-text-full {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #666666;
  line-height: 1.8;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 768px) {
  .intro-text-full {
    font-size: 13px;
    line-height: 1.7;
  }
}

.steps-nav-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #222222;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Gallery page - Match tit5 font size with steps-nav-title for "ボディータイプで検索" */
.bg-white .tit5 {
  font-size: 32px;
  letter-spacing: 2px;
}

/* Remove letter-spacing for 新着車両 section */
.title-section-featured .tit5,
.section-featured-properties .tit5 {
  letter-spacing: 0;
  word-spacing: 0;
}

/* Remove spacing for all tit4 and tit5 in index.html */
.header-intro .tit4,
.content-video .tit4,
.title-section-featured .tit5,
.section-featured-properties .tit5,
.section-blog .tit5 {
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
}

/* Set specific font sizes for header-intro section */
.header-intro .tit2 {
  font-size: 20px !important;
}

.header-intro .tit4 {
  font-size: 30px !important;
}

@media (max-width: 768px) {
  .bg-white .tit5 {
    font-size: 20px;
    letter-spacing: 0 !important;
  }

  .header-intro .tit4,
  .content-video .tit4,
  .title-section-featured .tit5,
  .section-featured-properties .tit5,
  .section-blog .tit5 {
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
  }
}

@media (max-width: 576px) {
  .bg-white .tit5 {
    font-size: 16px;
    letter-spacing: 0 !important;
  }

  .header-intro .tit4,
  .content-video .tit4,
  .title-section-featured .tit5,
  .section-featured-properties .tit5,
  .section-blog .tit5 {
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
  }
}

.steps-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.step-nav-item {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px 20px;
  background-color: #ffffff;
  border: 2px solid #e6e6e6;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.step-nav-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(236, 29, 37, 0.1), transparent);
  transition: left 0.5s ease;
}

.step-nav-item:hover::before {
  left: 100%;
}

.step-nav-item:hover {
  border-color: #ec1d25;
  background-color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(236, 29, 37, 0.15);
}

.step-nav-item.active-step {
  border-color: #ec1d25;
  background-color: #fff5f5;
  box-shadow: 0 4px 15px rgba(236, 29, 37, 0.2);
}

.step-nav-item.active-step .step-number {
  color: #ec1d25;
  font-weight: 700;
}

.step-nav-item.active-step .step-label {
  color: #ec1d25;
  font-weight: 600;
}

.step-number {
  display: block;
  font-family: "Oswald", "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 36px;
  color: #ec1d25;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.step-label {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #222222;
  text-align: center;
  line-height: 1.4;
}

.step-section {
  scroll-margin-top: 100px;
  border-top: 1px solid #e6e6e6;
}

.step-section:first-of-type {
  border-top: none;
}

.step-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #222222;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.step-description {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #666666;
  line-height: 1.8;
}

/* Steps Grid Layout */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.step-image-item {
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.step-image-item.animated {
  opacity: 1;
  transform: translateY(0);
}

.step-image-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.step-image-item:hover img {
  transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .steps-nav-title {
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 30px;
  }

  .steps-navigation {
    flex-direction: column;
    gap: 12px;
  }

  .step-nav-item {
    width: 100%;
    min-width: auto;
    padding: 20px 15px;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

  .step-number {
    font-size: 28px;
    margin-bottom: 0;
    margin-right: 15px;
    min-width: 50px;
  }

  .step-label {
    font-size: 14px;
    text-align: left;
  }

  .step-title {
    font-size: 14px;
    letter-spacing: 0.5px;
  }

  .step-description {
    font-size: 13px;
    line-height: 1.7;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .steps-nav-title {
    font-size: 16px;
  }

  .step-nav-item {
    padding: 15px 12px;
  }

  .step-number {
    font-size: 24px;
    margin-right: 12px;
    min-width: 45px;
  }

  .step-label {
    font-size: 13px;
  }

  .step-title {
    font-size: 14px;
  }

  .step-description {
    font-size: 13px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Welcome section images grid */
.welcome-images-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.welcome-image-item {
  display: block;
  overflow: hidden;
  border-radius: 0;
}

.welcome-image-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  -webkit-transition: all 0.6s;
  -o-transition: all 0.6s;
  -moz-transition: all 0.6s;
  transition: all 0.6s;
}

.welcome-image-item:hover img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .welcome-images-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 20px;
  }

  .welcome-image-item img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .welcome-image-item:hover img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
  }
}

/* もっと見る button in トラックボディ製造 section */
.section-welcome .bodymanu-more-btn,
.wrap-text-welcome .bodymanu-more-btn,
.bodymanu-more-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #ec1d25 !important;
  color: #ffffff !important;
  padding: 3px 32px !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.05em !important;
  text-transform: none !important;
  transition: all 0.4s ease 0.1s !important;
  border: 2px solid #ec1d25 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  margin-top: 20px !important;
}

.bodymanu-more-btn:hover {
  background-color: white !important;
  border-color: #ec1d25 !important;
  color: #ec1d25 !important;
  text-decoration: none !important;
  transition: all 0.4s ease 0s !important;
  box-shadow: 0 4px 12px rgba(230, 0, 18, 0.4) !important;
  transform: translateY(-2px) !important;
}

.bodymanu-more-btn i {
  color: #ffffff !important;
  margin-left: 8px !important;
  font-size: 14px !important;
  transition: color 0.4s ease 0s !important;
}

.bodymanu-more-btn:hover i {
  color: #ec1d25 !important;
}


/*[ Mobile Text Size Fixes - All Pages ]
///////////////////////////////////////////////////////////
*/
@media (max-width: 768px) {

  /* Company Page */
  .table th,
  .table td {
    font-size: 13px;
    padding: 10px 8px;
  }

  .table th {
    font-weight: 600;
    white-space: nowrap;
  }

  .table td {
    word-break: break-word;
  }

  /* Contact Page */
  .section-contact .tit7 {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .section-contact .tit5 {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .section-contact p {
    font-size: 13px;
    line-height: 1.7;
  }

  /* FAQ Page */
  .section-faq .tit5 {
    font-size: 16px;
    letter-spacing: 1px;
  }

  .section-faq .txt14 {
    font-size: 13px;
    line-height: 1.7;
  }

  /* General Typography - All Pages */
  .tit3 {
    font-size: 14px;
    letter-spacing: 0;
  }

  .tit5 {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .tit7 {
    font-size: 18px;
    letter-spacing: 1px;
  }

  /* Paragraphs and body text */
  p {
    font-size: 13px;
    line-height: 1.7;
  }

  .txt14 {
    font-size: 13px;
  }

  .txt15 {
    font-size: 13px;
  }

  /* Table text */
  table th,
  table td {
    font-size: 13px;
  }

  /* Company page specific paragraphs */
  section p.m-b-20 {
    font-size: 13px;
    line-height: 1.7;
  }

  /* Company page table wrapper */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Index page and general content */
  .size3 {
    max-width: 100% !important;
    font-size: 13px;
    line-height: 1.7;
  }

  /* Section welcome and intro text */
  .section-welcome p,
  .content-intro p {
    font-size: 13px;
    line-height: 1.7;
  }
}

@media (max-width: 576px) {

  /* Extra small screens */
  .txt5 {
    font-size: 14px;
  }

  .tit3 {
    font-size: 14px;
  }

  /* Footer copyright text on mobile */
  .end-footer .txt17 {
    font-size: 12px;
  }

  .tit5 {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .tit7 {
    font-size: 16px;
    letter-spacing: 0.5px;
  }

  p {
    font-size: 12px;
  }

  .txt14 {
    font-size: 12px;
  }

  .table th,
  .table td {
    font-size: 12px;
    padding: 8px 6px;
  }

  .table th {
    font-size: 11px;
  }
}


/*[ Scroll Animation - Fade In & Slide Up ]
///////////////////////////////////////////////////////////
*/
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.animated {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.fade-in.animated {
  opacity: 1;
}

/* Stagger animation delays for multiple items */
.fade-in-up-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-up-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-up-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-up-delay-4 {
  transition-delay: 0.4s;
}

.fade-in-up-delay-5 {
  transition-delay: 0.5s;
}

.fade-in-up-delay-6 {
  transition-delay: 0.6s;
}

/* Image animation */
.wrap-pic-w,
.wrap-pic-w img {
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.wrap-pic-w.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
}

.wrap-pic-w.fade-in-up.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Section animation */
.step-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.step-section.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Step title and description animation */
.step-title,
.step-description {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.step-title.animated,
.step-description.animated {
  opacity: 1;
  transform: translateY(0);
}

.step-description {
  transition-delay: 0.2s;
}

/* Disable animation on mobile if preferred (optional) */
@media (prefers-reduced-motion: reduce) {

  .fade-in-up,
  .fade-in,
  .step-section,
  .step-title,
  .step-description,
  .wrap-pic-w {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* Disable fade-in animations on mobile to prevent flashing */
@media (max-width: 768px) {

  .fade-in-up,
  .fade-in,
  .step-section,
  .step-title,
  .step-description,
  .wrap-pic-w.fade-in-up,
  .step-image-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    visibility: visible !important;
  }

  .fade-in-up.animated,
  .fade-in.animated,
  .step-section.animated,
  .step-title.animated,
  .step-description.animated,
  .wrap-pic-w.fade-in-up.animated,
  .step-image-item.animated {
    opacity: 1 !important;
    transform: none !important;
  }
}

/*[ TRUCK DETAIL THUMBNAIL GALLERY ]
///////////////////////////////////////////////////////////
*/
.truck-main-image {
  position: relative;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.truck-main-image:hover {
  opacity: 0.9;
}

.truck-main-image a {
  display: block;
  width: 100%;
}

.truck-main-image img {
  width: 100%;
  height: auto;
  display: block;
}

.truck-thumbnail-gallery-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: nowrap;
  width: 100%;
}

.truck-thumbnail-gallery {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding: 5px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.truck-thumbnail-gallery::-webkit-scrollbar {
  height: 6px;
}

.truck-thumbnail-gallery::-webkit-scrollbar-track {
  background: transparent;
}

.truck-thumbnail-gallery::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}

.truck-thumbnail-gallery::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}

.truck-thumbnail-gallery .truck-thumb {
  flex: 0 0 auto;
  width: 100px;
  height: 75px;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.truck-thumbnail-gallery .truck-thumb:hover {
  opacity: 1;
  border-color: #ec1d25;
  transform: scale(1.05);
}

.truck-thumbnail-gallery .truck-thumb.active {
  opacity: 1;
  border-color: #ec1d25;
  box-shadow: 0 0 8px rgba(236, 29, 37, 0.3);
}

.truck-thumbnail-gallery .truck-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumbnail-nav-btn {
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.thumbnail-nav-btn:hover:not(.disabled) {
  background-color: #ec1d25;
  border-color: #ec1d25;
  color: #fff;
  box-shadow: 0 2px 8px rgba(236, 29, 37, 0.3);
}

.thumbnail-nav-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.thumbnail-nav-btn i {
  font-size: 16px;
  color: #333;
  transition: color 0.3s ease;
}

.thumbnail-nav-btn:hover:not(.disabled) i {
  color: #fff;
}

@media (max-width: 768px) {
  .truck-thumbnail-gallery-wrapper {
    gap: 5px;
    flex-wrap: nowrap !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: flex !important;
    align-items: center;
    box-sizing: border-box;
    position: relative;
  }

  .truck-thumbnail-gallery {
    min-width: 0;
    flex: 1 1 auto;
    flex-basis: auto;
    max-width: calc(100% - 75px);
    width: calc(100% - 75px);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .truck-thumbnail-gallery .truck-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    flex-grow: 0;
  }

  .thumbnail-nav-btn {
    width: 35px !important;
    height: 35px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    max-width: 35px !important;
    max-height: 35px !important;
  }

  .thumbnail-nav-btn i {
    font-size: 14px;
  }

  .thumbnail-nav-left,
  .thumbnail-nav-right {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: 35px !important;
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    max-width: 35px !important;
  }
}

/*===============================================================================================
[ Intro Highlight Box - Red box with white text ]
===============================================================================================*/
.intro-highlight-box {
  background-color: #00002d !important;
  padding: 40px 50px;
  margin: 30px auto;
  max-width: 1200px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.intro-highlight-box:hover {
  background-color: #000040 !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.intro-highlight-text {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.8;
  margin: 0;
  font-weight: 600;
  text-align: center;
}

.intro-highlight-text .highlight-yellow {
  color: #ffd700;
  font-weight: 700;
}

/* Mobile responsive for intro highlight box */
@media (max-width: 768px) {
  .intro-highlight-box {
    padding: 25px 20px;
    margin: 20px -15px;
    max-width: calc(100% + 30px);
    width: calc(100% + 30px);
  }

  .intro-highlight-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .intro-highlight-text .highlight-yellow {
    font-size: 14px;
  }
}

/*===============================================================================================
[ Repair Title Box - Red box for repair section titles ]
===============================================================================================*/
.repair-title-box {
  background-color: #ec1d25;
  color: #ffffff;
  padding: 10px 30px;
  display: block;
  width: 100%;
  font-size: 21px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(236, 29, 37, 0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  margin-top: 0;
  margin-bottom: 35px;
}

.repair-title-box:hover {
  background-color: #c0171f;
  box-shadow: 0 6px 16px rgba(236, 29, 37, 0.5);
}

/* Step number box styling */
.step-number-box {
  background-color: #ffffff;
  color: #ec1d25;
  padding: 8px 15px;
  display: inline-block;
  font-weight: bold;
  margin-right: 20px;
  border-radius: 5px;
}

.step-title-spacing {
  display: inline-block;
}

/* Mobile responsive for repair title box */
@media (max-width: 768px) {
  .repair-title-box {
    padding: 12px 10px;
    font-size: 13px;
    width: 100%;
    background-color: #ec1d25 !important;
    color: #ffffff !important;
    margin-bottom: 15px !important;
    /* Reduce space between title and text */
  }

  /* Step 1 paragraph text size on mobile */
  .repair-section .row:first-of-type .size3 {
    font-size: 14px !important;
  }

  /* Reduce space between paragraph text and images on mobile */
  .repair-section .size3.m-l-r-auto {
    margin-bottom: 5px !important;
  }

  /* Reduce spacing between Step 1 text and images on mobile */
  .repair-section .row:first-of-type .col-md-6:first-child {
    padding-bottom: 15px !important;
  }

  .repair-section .row:first-of-type .col-md-6:last-child {
    padding-top: 10px !important;
    padding-bottom: 15px !important;
    /* Reduce spacing between Step 1 images and Step 2 title */
  }

  /* Further reduce top padding for Step 2 row on mobile */
  .repair-section-step2 {
    padding-top: 5px !important;
  }

  /* Reduce spacing between images and next title for all steps on mobile */
  /* Reduce bottom padding for all columns in repair section rows */
  .repair-section .row .col-md-6 {
    padding-bottom: 15px !important;
  }

  /* Reduce top padding for Step 3 row on mobile */
  .repair-section .row.p-t-30:not(.repair-section-step2):not(.repair-section-step4) {
    padding-top: 5px !important;
  }

  /* Reduce top padding for Step 4 row on mobile */
  .repair-section-step4 {
    padding-top: 5px !important;
  }

  .step-number-box {
    padding: 6px 6px;
    margin-right: 15px;
    font-size: 16px;
    background-color: #ffffff !important;
    color: #ec1d25 !important;
    border-radius: 5px;
  }

  /* Reduce padding between repair steps on mobile - override general rule */
  .repair-section .row.p-t-30 {
    padding-top: 5px !important;
  }

  /* Reduce padding for all rows except first one */
  .repair-section .row:not(:first-of-type) {
    padding-top: 5px !important;
  }

  /* Reduce padding-top for repair text columns on mobile */
  .repair-text-col.p-t-45 {
    padding-top: 10px !important;
  }

  /* Ensure title appears first on mobile for STEP 2 and STEP 4 */
  .repair-section-step2,
  .repair-section-step4 {
    display: flex;
    flex-direction: column;
  }

  .repair-section-step2 .repair-images-col,
  .repair-section-step4 .repair-images-col {
    order: 2;
  }

  .repair-section-step2 .repair-text-col,
  .repair-section-step4 .repair-text-col {
    order: 1;
  }
}

/* Reduce padding-top for repair text columns on all screen sizes */
.repair-text-col.p-t-45 {
  padding-top: 10px !important;
}

/* Apply same card styling to featured properties section (新着車両) */
@media (min-width: 992px) {
  .section-featured-properties .property-card-scroll {
    flex: 0 0 280px;
    max-width: 280px;
    min-width: 280px;
  }

  .section-featured-properties .property-image {
    height: 201px;
  }

  .section-featured-properties .property-image img {
    height: 160px;
  }

  .section-featured-properties .property-content {
    padding: 10px 12px;
  }

  .section-featured-properties .property-title {
    font-size: 15px;
    margin-bottom: 0;
  }

  .section-featured-properties .property-price {
    font-size: 17px;
    margin-top: 0;
    margin-bottom: 8px;
  }

  .section-featured-properties .property-details {
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .section-featured-properties .property-details .detail-item {
    font-size: 12px;
    margin-bottom: 3px;
  }

  .section-featured-properties .property-agent {
    margin-bottom: 5px;
    font-size: 12px;
  }

  .section-featured-properties .property-type {
    margin-bottom: 5px;
    font-size: 13px;
  }

  .section-featured-properties .btn1 {
    margin-top: 10px;
    padding: 8px 15px;
    font-size: 13px;
  }
}

/* Apply same button styling to featured properties section */
.section-featured-properties .vehicle-detail-btn {
  background: #00002d !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 45, 0.3) !important;
  color: #ffffff !important;
  padding: 10px 20px !important;
  margin-top: 8px !important;
  font-weight: 600;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  border-radius: 4px;
}

.section-featured-properties .vehicle-detail-btn:hover {
  background: #000050 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 45, 0.5) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.section-featured-properties .vehicle-detail-btn i {
  margin-left: 8px;
  font-size: 12px;
  color: #ffffff !important;
}

/* Sold badge styling */
.sold-badge {
  background-color: #ffd158 !important;
  color: #ffffff !important;
}

/* Extracted inline styles - Hero Video Section */
.item-slick1 {
  position: relative;
}

#hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wrap-content-slide1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.wrap-btn-slide1 {
  margin-top: 150px;
}

.wrap-btn-slide1 .btn {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

.wrap-btn-slide1 .btn p {
  margin: 0;
}

.wrap-btn-slide1 .btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  width: 200px;
}

.wrap-btn-slide1 .btn p:first-child a {
  background: rgba(236, 29, 37, 0.8) !important;
}

.wrap-btn-slide1 .btn p:last-child a {
  background: rgba(0, 0, 45, 0.8) !important;
}

.wrap-btn-slide1 .btn a:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Background image inline style */
.header-intro {
  background-image: url(../images/banner2.png);
}

/* Body type icon styles */
.body-type-image i.fa-th-large {
  font-size: 40px;
  color: #ec1d25;
}

.body-type-image i.fa-check-circle {
  font-size: 40px;
  color: #28a745;
}

.body-type-image i.fa-times-circle {
  font-size: 40px;
  color: #dc3545;
}

/* No vehicles message */
#no-vehicles-message {
  display: none;
}

#no-vehicles-message .txt14 {
  font-size: 18px;
  color: #666;
}

#no-vehicles-message.show {
  display: block;
}

/* Video section styles */
.section-video {
  position: relative;
  background: #000;
  height: 400px;
}

#hikaru-video {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.content-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.content-video .tit2 {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.content-video .tit4 {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-size: 20px;
}

/* Banner images */
.banner-item img {
  width: 100%;
  height: auto;
  transition: filter 0.3s ease;
  cursor: pointer;
}

.banner-item img:hover {
  filter: brightness(0.7);
}

/* Gallery button max-width */
.btn1.max-width-auto {
  max-width: 300px;
  margin: 0 auto;
}

/* Mobile responsive styles - moved from index.html */
/* Hide scroll bar but keep scrolling functionality for all screen sizes */
.properties-scroll-container {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

.properties-scroll-container::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

/* Make Font Awesome icons red in property cards */
.property-details .fa {
  color: red !important;
}

.body-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.body-type-item {
  text-align: center;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}

.body-type-item:hover {
  border-color: #007bff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
  transform: translateY(-2px);
}

.body-type-image {
  margin-bottom: 10px;
}

.body-type-image img {
  object-fit: contain;
  border-radius: 4px;
}

.body-type-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  line-height: 1.2;
}

/* Property card image styling */
.property-image {
  width: 268px;
  height: 225px;
  overflow: hidden;
  position: relative;
}

.property-image img {
  width: 360px;
  height: 225px;
  object-fit: contain;
  object-position: center;
}

/* Fix video white flash during scroll */
.section-slide {
  background: #000;
}

.item-slick1 {
  background: #000;
}

#hero-video {
  background: #000;
}

/* Video loading state */
.video-loading {
  background: linear-gradient(45deg, #000, #333);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

/* Mobile responsive for body type grid */
@media (max-width: 768px) {
  .body-type-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
  }

  .body-type-item {
    padding: 10px;
  }

  .body-type-image img {
    width: 60px;
    height: 45px;
  }

  .body-type-name {
    font-size: 12px;
  }

  /* Mobile property card image adjustments */
  .property-image {
    width: 263px;
    height: auto;
    background: transparent;
    display: block;
  }

  .property-image img {
    width: 280px;
    height: auto;
    display: block;
  }

  /* Mobile adjustments for all-vehicles-section */
  #all-vehicles-section .property-image {
    height: 150px;
    background: transparent;
  }

  #all-vehicles-section .property-image img {
    height: 150px;
    object-fit: contain;
  }

}

@media (max-width: 767px) {

  /* Mobile layout: image left, details top right, name/price full width below image, button full width bottom */
  #all-vehicles-section .property-card {
    flex-direction: row !important;
    flex-wrap: wrap;
    padding: 0;
    display: flex;
    align-items: flex-start;
  }

  /* Position property-card as relative container */
  #all-vehicles-section .property-card {
    position: relative;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
  }

  /* Image on left - 40% width */
  #all-vehicles-section .property-image {
    width: 40% !important;
    flex-shrink: 0;
    margin-right: 12px;
    margin-bottom: 0 !important;
    margin-top: 0;
    height: auto;
    min-height: 108px;
    max-height: 180px;
    order: 1;
    align-self: flex-start;
    position: relative;
    padding: 0;
    border: none;
    border-radius: 3px;
    overflow: hidden;
    vertical-align: top;
  }

  #all-vehicles-section .property-image img {
    width: 100% !important;
    height: auto;
    min-height: 97px;
    max-height: 180px;
    object-fit: contain !important;
    display: block;
    margin: 0;
    padding: 0;
  }

  /* Show property-details on mobile - aligned with top of image, on right side */
  /* Top position matches card padding (12px) - fine-tuned for iPhone alignment */
  #all-vehicles-section .property-details {
    display: flex !important;
    flex-direction: column;
    gap: 4px !important;
    margin: 0 !important;
    position: absolute;
    top: 6px !important;
    left: calc(40% + 12px);
    width: calc(55% - 12px) !important;
    z-index: 2;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 0 5px 0 !important;
    align-self: flex-start;
    border-bottom: 1px solid #e0e0e0;
    padding-top: 8px !important;
    margin-top: 0 !important;
  }

  #all-vehicles-section .property-details .detail-item {
    display: flex;
    flex-direction: row;
    font-size: 9px;
    line-height: 1.4;
    margin-bottom: 0;
    align-items: flex-start;
    min-height: auto;
    margin-top: 0;
    padding: 0 8px;
    background: transparent;
    border-radius: 0;
  }

  /* First detail item should align with image top - remove all spacing */
  #all-vehicles-section .property-details .detail-item:first-child {
    padding-top: 0 !important;
    margin-top: 0 !important;
    padding-left: 8px;
    padding-right: 8px;
    line-height: 1.2;
  }

  #all-vehicles-section .property-details .detail-item:first-child .detail-label {
    padding-top: 3px !important;
    margin-top: 0 !important;
    padding-bottom: 3px !important;
    line-height: 1.2;
  }

  #all-vehicles-section .property-details .detail-label {
    font-weight: bold;
    margin-right: 6px;
    font-size: 9px;
    flex-shrink: 0;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 0;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
    color: #ffffff !important;
  }

  /* Ensure colored backgrounds show on mobile for detail labels */
  #all-vehicles-section .property-details .detail-label-calendar {
    background-color: #007bff !important;
    color: #ffffff !important;
  }

  #all-vehicles-section .property-details .detail-label-tag {
    background-color: #ff9800 !important;
    color: #ffffff !important;
  }

  #all-vehicles-section .property-details .detail-label-certificate {
    background-color: #28a745 !important;
    color: #ffffff !important;
  }


  /* Show property-agent on mobile - below details, on right side, one row */
  /* Position: card padding (12px) + details height (~76px) + spacing (12px) = 100px */
  #all-vehicles-section .property-agent {
    display: flex !important;
    flex-direction: row;
    gap: 8px;
    margin: 0 !important;
    position: absolute;
    top: 82px !important;
    left: calc(40% + 12px);
    width: calc(55% - 12px) !important;
    z-index: 2;
    align-items: center;
    justify-content: flex-start;
    padding: 4px 8px;
    font-size: 9px;
    line-height: 1.4;
    background: #f9f9f9;
    border-radius: 3px;
  }

  #all-vehicles-section .property-agent.property-agent-flex {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
  }

  #all-vehicles-section .property-agent span {
    font-size: 9px;
    line-height: 1.4;
    margin: 0;
  }

  #all-vehicles-section .property-agent .property-type {
    font-size: 9px;
    line-height: 1.4;
    margin: 0;
  }

  #all-vehicles-section .property-content {
    overflow: visible;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100% !important;
    min-width: 0;
    order: 3;
    flex-shrink: 0;
    align-items: flex-start;
    flex-basis: 100%;
    margin-top: 0;
    margin-bottom: 0;
    position: static;
    gap: 0;
  }

  /* Name and Price side by side - full width below image */
  #all-vehicles-section .property-content .property-title {
    order: 1;
    display: block !important;
    font-size: 12px;
    line-height: 1.2;
    margin: 0;
    width: auto;
    text-align: left;
    flex: 1;
    min-width: 0;
    padding-right: 12px;
    word-wrap: break-word;
    padding-bottom: 0;
    padding-top: 0;
    margin-bottom: 0;
    margin-top: 0;
  }

  #all-vehicles-section .property-content .property-price {
    order: 2;
    display: block !important;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
    color: #ec1d25;
    width: auto;
    text-align: right;
    flex-shrink: 0;
    white-space: nowrap;
    padding-bottom: 0;
    padding-top: 0;
    margin-bottom: 0;
    margin-top: 0;
  }

  /* Full width button at bottom */
  #all-vehicles-section .property-content .vehicle-detail-btn {
    order: 3;
    display: flex !important;
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 12px 16px !important;
    font-size: 12px !important;
    width: 100% !important;
    justify-content: center;
    flex-basis: 100%;
    border-radius: 4px;
  }

  /* Make buttons vertical on mobile */
  .wrap-btn-slide1 .btn {
    flex-direction: column !important;
  }

  /* Reduce text size by 20% for tit3 and tit4 classes only on mobile */
  .tit3,
  .tit4 {
    font-size: 1.2em !important;
  }

  /* Set font size for tit5 class on mobile */
  .tit5 {
    font-size: 1.2em !important;
  }

  /* Ensure properties scroll animation works on mobile */
  .properties-scroll-wrapper {
    animation: scroll-properties 20s linear infinite !important;
    width: 200% !important;
  }
}

/* SNS Banner Styles */
.banners-row-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px !important;
  margin-bottom: 0;
  padding-bottom: 10px;
  max-width: 100%;
}

.sns-banner-wrapper {
  margin: 0;
  padding: 0;
  flex: 0 1 auto;
}

.sns-banner-img {
  display: block;
  max-width: 300px;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 1;
  object-fit: contain;
  margin: 0;
  transition: filter 0.3s ease;
  cursor: pointer;
}

.sns-banner-img:hover {
  filter: brightness(0.7);
}

.tb-banner-wrapper {
  margin: 0;
  padding: 0;
  flex: 0 1 auto;
}

.tb-banner-img {
  display: block;
  max-width: 300px;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 1;
  object-fit: contain;
  margin: 0;
  transition: filter 0.3s ease;
  cursor: pointer;
}

.tb-banner-img:hover {
  filter: brightness(0.7);
}

/* Responsive Banners Row - Desktop scaling */
@media (max-width: 1200px) {

  .sns-banner-img,
  .tb-banner-img {
    max-width: 280px;
  }
}

@media (max-width: 992px) {

  .sns-banner-img,
  .tb-banner-img {
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  .banners-row-wrapper {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    margin-top: 10px !important;
  }

  .sns-banner-img,
  .tb-banner-img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
}

@media (max-width: 576px) {
  .banners-row-wrapper {
    flex-direction: column;
    gap: 10px;
    padding: 0 10px;
    margin-top: 10px !important;
  }

  .sns-banner-img,
  .tb-banner-img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
}