/* ====== GLOBAL SETTINGS ====== */
body {
  font-family: "Noto Sans JP", sans-serif;
}

/* ====== ACCESS PAGE STYLES ====== */

.access-main {
  padding-top: 50px;
  padding-bottom: 50px;
}
.access-title {
  font-size: 36px;
  color: #daa520;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
}
.access-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.map-container {
  width: 100%;
  max-width: 800px;
  margin-bottom: 20px;
  position: relative;
}
.map-title {
  font-size: 20px;
  color: #daa520;
  font-weight: bold;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}
.map-iframe-wrapper {
  position: relative;
  z-index: 1;
}
.address-info {
  width: 100%;
  max-width: 400px;
  text-align: center;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.address-info p {
  margin-bottom: 10px;
}
.address-info strong {
  font-size: 20px;
  color: #004a8f;
}
.contact-details {
  margin-top: 15px;
}
.contact-details p {
  font-size: 14px;
  color: #666;
}
@media (min-width: 768px) {
  .access-content {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }
  .map-container {
    margin-right: 40px;
    margin-bottom: 0;
  }
  .address-info {
    text-align: left;
  }
}
/* Responsive map iframe  */
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 40%;
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 450px;
  border: 0;
}
/* ====== COMPANY PAGE STYLES ====== */

.company-profile {
  margin-top: 60px;
  margin-bottom: 80px;
}
.main-title {
  font-size: 28px;
  text-align: center;
  color: #f9a825;
  font-weight: bold;
  border-bottom: 4px solid #f9a825;
  padding-top: 40px;
  padding-bottom: 10px;
  display: inline-block;
  margin-bottom: 50px;
}
.company-table th {
  width: 150px;
  font-weight: bold;
  padding-right: 10px;
  vertical-align: top;
  white-space: nowrap;
}
.company-table td {
  color: #333;
}
.gallery-section h2 {
  font-size: 20px;
  font-weight: bold;
  color: #f9a825;
  margin-top: 60px;
  margin-bottom: 20px;
}

/* ====== CONTACT PAGE STYLES ====== */

.contact-content {
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: gold;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}
.contact-section {
  background: white;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 850px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.form-group {
  margin-bottom: 30px;
  width: 100%;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}
textarea {
  resize: vertical;
  min-height: 150px;
}
button[type="submit"] {
  background: linear-gradient(to right, #ff9800, #ff5722);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  display: block;
  width: 100%;
  margin-top: 20px;
  transition: box-shadow 0.3s ease-in-out;
}
button[type="submit"]:hover {
  background: linear-gradient(to right, #ff5722, #e65100);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* ====== GOOGLE FORM STYLES ====== */

.google-form {
  margin-top: 50px;
  padding: 40px;
  text-align: center;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 850px;
}
.google-form-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}
.google-form iframe {
  width: 100%;
  height: 750px;
  border-radius: 5px;
}
/* ====== NAVBAR CUSTOM STYLES ====== */
#nav {
  background-color: #0a0a0a;
}

.navbar-nav .nav-link {
  color: white;
  font-weight: bold;
  font-size: 16px;
}

.navbar-nav .nav-link:hover {
  color: gold;
}

.navbar-nav .nav-item {
  margin: 0 10px;
}

/* ====== FOOTER ====== */
footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* ====== FAQ PAGE STYLES ====== */

.faq-content * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.faq-content {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.faq-content .faq-title {
  color: gold;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
  margin-top: 30px;
}
.faq-section-title {
  border-radius: 10px;
  background: linear-gradient(to bottom, #6b86c4, #2a3f6b);
  color: white;
  padding: 15px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}
.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  text-align: left;
}
.faq-question {
  font-weight: bold;
  margin-bottom: 5px;
  text-align: left;
}
.faq-answer {
  color: #333;
  text-align: left;
}
.faq-answer ul {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #333;
  list-style-type: disc;
  margin-left: 20px;
  text-align: left;
}

/* ====== SELL PAGE STYLES ====== */

.section-title {
  font-size: 28px;
  font-weight: bold;
  color: #f9a825;
  border-bottom: 3px solid #f9a825;
  display: inline-block;
  padding-bottom: 5px;
  margin: 0 auto 30px;
  text-align: center;
}
.step-flow {
  gap: 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.step-box {
  position: relative;
  padding: 15px 20px;
  font-weight: bold;
  color: #333;
  border-radius: 4px;
  text-align: center;
  min-width: 180px;
  flex: 1;
}

/* ====== PRIVACY PAGE STYLES ====== */

.privacy-content {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px 80px;
  background-color: #fff;
}
.privacy-content h2 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 50px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
}
.privacy-content p {
  margin-bottom: 30px;
}
.privacy-content ul {
  padding-left: 20px;
  margin-bottom: 30px;
}
.privacy-content ul li {
  margin-bottom: 8px;
}

@media screen and (max-width: 768px) {
  .main-title {
    font-size: 22px;
  }

  .privacy-content h2 {
    font-size: 16px;
  }
}

/* ====== GLOBAL SETTINGS ====== */

/* ====== COMPANY PAGE STYLES ====== */
.company-profile {
  margin-top: 60px;
  margin-bottom: 80px;
}

.main-title {
  font-size: 28px;
  text-align: center;
  color: #f9a825;
  font-weight: bold;
  border-bottom: 4px solid #f9a825;
  padding-bottom: 10px;
  display: inline-block;
  margin-bottom: 50px;
}

.company-table th {
  width: 150px;
  font-weight: bold;
  padding-right: 10px;
  vertical-align: top;
  white-space: nowrap;
}

.company-table td {
  color: #333;
}

.gallery-section h2 {
  font-size: 20px;
  font-weight: bold;
  color: #f9a825;
  margin-top: 60px;
  margin-bottom: 20px;
}

/* ====== CONTACT PAGE STYLES ====== */
.contact-content {
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: gold;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.contact-section {
  background: white;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 850px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-group {
  margin-bottom: 30px;
  width: 100%;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

textarea {
  resize: vertical;
  min-height: 150px;
}

button[type="submit"] {
  background: linear-gradient(to right, #ff9800, #ff5722);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  display: block;
  width: 100%;
  margin-top: 20px;
  transition: box-shadow 0.3s ease-in-out;
}

button[type="submit"]:hover {
  background: linear-gradient(to right, #ff5722, #e65100);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* ====== GOOGLE FORM SECTION ====== */
.google-form {
  margin-top: 50px;
  padding: 40px;
  text-align: center;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 850px;
}

.google-form-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.google-form iframe {
  width: 100%;
  height: 750px;
  border-radius: 5px;
}

/* ====== NAVBAR STYLES ====== */
#nav {
  background-color: #0a0a0a;
}

.navbar-nav .nav-link {
  color: white;
  font-weight: bold;
  font-size: 16px;
}

.navbar-nav .nav-link:hover {
  color: gold;
}

.navbar-nav .nav-item {
  margin: 0 10px;
}

/* ====== FOOTER STYLES ====== */
footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* ====== STOCK HIGHLIGHT SECTION ====== */
.stock-highlight-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f4f4f4;
  overflow: hidden;
  padding: 60px 20px;
  flex-wrap: wrap;
}

.left-image img {
  width: 600px;
  height: auto;
  transition: transform 0.6s ease;
}

.right-text {
  background-color: rgba(255, 0, 0, 0.9);
  color: white;
  padding: 40px;
  margin-left: -100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: transform 0.6s ease;
  z-index: 10;
}

.highlight-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.highlight-left h2 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 10px;
}

.highlight-left span {
  font-size: 42px;
  font-weight: bold;
  display: block;
}

.highlight-divider {
  width: 2px;
  height: 80px;
  background-color: #ffffff90;
}

.highlight-right {
  text-align: center;
}

.highlight-right p {
  margin-bottom: 20px;
}

.highlight-right .btn {
  background-color: #222;
  color: white;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.highlight-right .btn:hover {
  background-color: #444;
}

.stock-highlight-section:hover .left-image img,
.stock-highlight-section:hover .right-text {
  transform: scale(1.01);
}

/* ====== ABOUT US SECTION ====== */
.about-us-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f4f4f4;
  overflow: hidden;
  padding: 0px 20px;
  flex-wrap: wrap;
}

.about-left-image img {
  width: 600px;
  height: auto;
  transition: transform 0.6s ease;
}

.about-right-text {
  background-color: rgba(255, 0, 0, 0.9);
  color: white;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: transform 0.6s ease;
  z-index: 10;
  max-width: 675px;
}

.leftd {
  margin-left: -100px;
}
.rightd {
  margin-right: -100px;
}
.about-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.about-left h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.about-left span {
  font-size: 36px;
  font-weight: bold;
  display: block;
}

.about-right {
  text-align: center;
}

.about-right p {
  margin-bottom: 20px;
}

.about-right .btn {
  background-color: #222;
  color: white;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.about-right .btn:hover {
  background-color: #444;
}

.about-us-section:hover .about-left-image img,
.about-us-section:hover .about-right-text {
  transform: scale(1.01);
}

/* ====== WHY CHOOSE US SECTION ====== */
.why-choose-us {
  background: linear-gradient(to right, #fff, #f0f0f0);
  padding: 60px 20px;
  text-align: center;
}

.why-choose-us h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #222;
  font-weight: bold;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 220px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 18px;
  color: #6d5d5d;
  margin-bottom: 10px;
}

.feature p {
  font-size: 14px;
  color: #555;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 991px) {
  .navbar-nav {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .contact-section,
  .google-form {
    padding: 30px;
    max-width: 95%;
  }

  .google-form iframe {
    height: 700px;
  }
}

@media (max-width: 767px) {
  .header-left,
  .header-right {
    text-align: center;
    margin-bottom: 15px;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .email-hours-container {
    text-align: center;
    margin-top: 10px;
  }

  .company-profile .row.align-items-center {
    flex-direction: column;
  }

  .company-profile img {
    margin-bottom: 20px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 5px 0;
    text-align: left;
  }

  .gallery-section h2 {
    text-align: center;
  }

  .gallery-section .row {
    flex-direction: column;
  }

  .gallery-section img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  footer .footer-top {
    flex-direction: column;
    text-align: center;
  }

  footer .footer-left,
  footer .footer-center,
  footer .footer-right {
    margin-bottom: 20px;
  }

  .globalMenuSp ul {
    flex-direction: column;
    align-items: center;
    padding-left: 0;
  }

  .globalMenuSp li {
    margin-bottom: 10px;
  }

  .globalMenuSp a {
    display: block;
    width: 100%;
    /* text-align: center; */
  }
}

/* ---- General Stock Section Styling ---- */
.stock-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;
  max-width: 1300px;
  margin: auto;
}

.stock-containerr {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;
  max-width: 1300px;
  margin: auto;
  flex-direction: column;
}
.stock-heading {
  display: flex;
  justify-content: center;
  margin: 10px 0;
  font-weight: bold;
  color: #333;
}
/* ---- REMOVE Ad Buttons ---- */
.side-banner {
  display: none !important;
}

/* ---- Stock Grid Layout ---- */
.stock-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px; /* Goldilocks spacing — not too close, not too far */
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 1220px; /* Slightly more space for 4 cards */
  margin: auto;
}

/* ---- Stock Card Styling ---- */
.stock-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
  text-align: left;
  padding: 8px;
  height: 100%;
  min-height: 370px;
  width: 100%;
  max-width: 300px; /* Slightly slimmer than 270px */
  margin: auto;
}

/* ---- Stock Image Styling ---- */
.stock-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  cursor: pointer;
}

/* ---- Stock Info Padding ---- */
.stock-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 9px; /* Smoothed padding to match layout */
  flex-grow: 1;
  min-height: 220px;
}

/* ---- Inquiry Box Styling ---- */
.stock-id-box {
  font-size: 14px; /* Slightly increased from 12px */
  font-weight: bold;
  color: orange;
  text-align: center;
  background: rgba(0, 0, 0, 0.05);
  padding: 3px 6px;
  border-radius: 5px;
  display: block;
  align-self: center;
  width: fit-content;
  margin: 0 auto;
}

/* ---- Manufacturer & Model Styling ---- */
.machine-maker {
  font-size: 14px;
  font-weight: bold;
  display: block;
  text-align: left;
  margin-left: 5px;
}

.machine-model {
  font-size: 20px;
  font-weight: bold;
  display: block;
  text-align: left;
  margin-left: 5px;
}

.machine-year {
  font-size: 14px;
  font-weight: bold;
  display: block;
  text-align: left;
  margin-left: 5px;
}

/* ---- Yellow Box Styling ---- */
.stock-details {
  background: linear-gradient(to bottom, #a2dcef, #c3dde6);
  padding: 6px;
  border-radius: 5px;
  margin: 5px 0;
  font-size: 10px;
  text-align: left;
  min-height: 50px;
}

.stock-details p {
  margin: 2px 0;
  font-size: 10px;
}

/* ---- Hour Meter Styling ---- */
.stock-hours {
  color: green;
  font-weight: bold;
  font-size: 12px;
  display: block;
  margin: 5px 0;
  text-align: left;
}

/* ---- Divider Line ---- */
.divider {
  height: 1px;
  background: #ddd;
  margin: 5px 0;
}

/* ---- Price Styling ---- */
.price {
  color: red;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  min-height: 25px;
  margin-bottom: 8px;
}

/* ---- Buttons Section ---- */
.buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 5px;
  margin-top: auto;
  min-height: 40px;
}

/* ---- Individual Button Styling ---- */
.details-btn,
.inquiry-btn {
  padding: 6px 12px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  width: 48%;
  height: 35px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.details-btn {
  background: rgb(111, 138, 214);
  color: white;
}

.inquiry-btn {
  background: orange;
  color: white;
}

/* ---- Email Icon Inside Button ---- */
.inquiry-btn img {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

/* --------------------------------------------
   お問い合わせNo box design (stock-id-line)
-------------------------------------------- */
.stock-id-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  width: fit-content;
}

/* Label styling */
.inquiry-label {
  color: #333;
}

/* Inquiry number in orange */
.inquiry-number {
  color: #f47c00;
  font-size: 15px;
  font-weight: bold;
}

.price-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 5px;
  margin-bottom: 8px;
  min-height: 50px;
}

.price-left {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-weight: bold;
  font-size: 14px;
  color: #000;
  margin-bottom: 2px;
}

.price-amount {
  color: red;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.1;
}

.price-tax {
  color: #e86a00;
  font-size: 12px;
  margin-left: 4px;
}

.new-tag {
  background-color: red;
  color: white;
  font-weight: bold;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 2px;
}

.new-tag {
  background-color: #ff3c2a;
  color: #fff;
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
}

.blink {
  animation: blinkAnim 1s infinite;
}

@keyframes blinkAnim {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

/* ---- Responsive Design ---- */
@media (max-width: 1024px) {
  .stock-grid {
    grid-template-columns: repeat(3, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .stock-grid {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .stock-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
/* =============================
   SELL PAGE STYLING (sell.css)
   ============================= */

/* Section Title */
.section-title {
  font-size: 28px;
  font-weight: bold;
  color: #f9a825;
  border-bottom: 3px solid #f9a825;
  display: inline-block;
  padding-bottom: 5px;
  margin: 0 auto 30px;
  text-align: center;
}

/* Step Flow */
.step-flow {
  gap: 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.step-box {
  position: relative;
  padding: 15px 20px;
  font-weight: bold;
  color: #333;
  border-radius: 4px;
  text-align: center;
  min-width: 180px;
  flex: 1;
}

.step-box:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -10px;
  width: 0;
  height: 0;
  border-top: 45px solid transparent;
  border-bottom: 45px solid transparent;
  border-left: 10px solid white;
}

/* Green Theme Replacements */
.bg-light-orange {
  background-color: #d6f5e3;
}

.bg-orange {
  background-color: #a2e3c4;
}

.bg-dark-orange {
  background-color: #69c79c;
  color: #111;
}

/* Step Sections */
.step-detail {
  margin-bottom: 50px;
  border-top: 2px solid #111;
  padding-top: 30px;
}

.step-detail h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.step-number {
  color: orange;
  font-weight: bold;
  margin-right: 8px;
}

.step-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.step-text {
  flex: 1 1 50%;
  font-size: 16px;
  line-height: 1.8;
}

.step-image {
  flex: 1 1 40%;
  text-align: center;
}

.step-image img {
  max-width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Button */
.btn-orange {
  background-color: #f57c00;
  color: #fff;
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  transition: 0.3s ease;
}

.btn-orange:hover {
  background-color: #ef6c00;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .step-content {
    flex-direction: column;
  }

  .step-image,
  .step-text {
    flex: 1 1 100%;
  }
}
/* access.css */

.access-main {
  padding-top: 50px;
  padding-bottom: 50px;
}

.access-title {
  font-size: 36px;
  color: #daa520;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
}

.access-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-container {
  width: 100%;
  max-width: 800px;
  margin-bottom: 20px;
  position: relative; /* Make map container relative */
}

.map-title {
  font-size: 20px;
  color: #daa520;
  font-weight: bold;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2; /* Ensure the title is above the iframe */
}

.map-iframe-wrapper {
  /* Style the wrapper */
  position: relative;
  z-index: 1;
}

.address-info {
  width: 100%;
  max-width: 400px;
  text-align: center;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.address-info p {
  margin-bottom: 10px;
}

.address-info strong {
  font-size: 20px;
  color: #004a8f;
}

.contact-details {
  margin-top: 15px;
}

.contact-details p {
  font-size: 14px;
  color: #666;
}

@media (min-width: 768px) {
  .access-content {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }

  .map-container {
    margin-right: 40px;
    margin-bottom: 0;
  }

  .address-info {
    text-align: left;
  }
}
/* Basic CSS Reset */
.faq-content * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Style the content */
.faq-content {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-content .faq-title {
  color: gold;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em; /* Adjusted font size */
}

/* Style the section titles */
.faq-section-title {
  border-radius: 10px;
  background: linear-gradient(to bottom, #6b86c4, #2a3f6b);
  color: white;
  padding: 15px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-family: "Noto Sans JP", sans-serif;
}

/* Style each FAQ item */
.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  text-align: left;
  font-family: "Montserrat", sans-serif;
  font-family: "Noto Sans JP", sans-serif;
}

/* Style the question text */
.faq-question {
  font-weight: bold;
  margin-bottom: 5px;
  text-align: left;
  font-family: "Montserrat", sans-serif;
  font-family: "Noto Sans JP", sans-serif;
}

/* Style the answer text */
.faq-answer {
  color: #333;
  text-align: left;
  font-family: "Montserrat", sans-serif;
  font-family: "Noto Sans JP", sans-serif;
}

/* Style unordered lists */
.faq-answer ul {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #333;
  list-style-type: disc;
  margin-left: 20px;
  text-align: left;
  font-family: "Montserrat", sans-serif;
  font-family: "Noto Sans JP", sans-serif;
}

/* Initial styling for "保証について" */
.faq-section:nth-child(1) .faq-section-title {
  background-color: transparent;
  color: #000;
  padding: 0;
  margin-bottom: 20px;
  font-weight: bold;
  font-family: "Noto Sans JP", sans-serif;
}

/* Styling for "保証について" when scrolled */
.faq-section:nth-child(1).scrolled .faq-section-title {
  background: linear-gradient(to bottom, #060005, #2a3f6b);
  border-radius: 10px;
  color: white;
  padding: 15px;
}

/* Remove existing background and border for "ご購入に関するご質問" */
.faq-section:nth-child(2) .faq-section-title {
  background-color: transparent;
  border: none;
}

/* Apply gradient and rounded corners to "ご購入に関するご質問" when scrolled */
.faq-section:nth-child(2).scrolled .faq-section-title {
  background: linear-gradient(to bottom, #6b86c4, #2a3f6b);
  border-radius: 10px;
  color: white;
}

/* Remove existing background and border for "売却に関するご質問" */
.faq-section:nth-child(3) .faq-section-title {
  background-color: transparent;
  border: none;
}

/* Apply gradient and rounded corners to "売却に関するご質問" when scrolled */
.faq-section:nth-child(3).scrolled .faq-section-title {
  background: linear-gradient(to bottom, #6b86c4, #2a3f6b);
  border-radius: 10px;
  color: white;
}

/* Text size adjustment */
.faq-item,
.faq-question,
.faq-answer,
.faq-answer ul {
  font-size: 1.15em;
}

.faq-section-heading {
  color: gold;
  font-weight: bold;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

.q-mark {
  color: gold;
  font-weight: bold;
}
/* ====== GLOBAL SETTINGS ====== */
body {
  font-family: "Noto Sans JP", sans-serif;
}

/* ====== COMPANY PAGE STYLES ====== */
.company-profile {
  margin-top: 60px;
  margin-bottom: 80px;
}

.main-title {
  font-size: 28px;
  text-align: center;
  color: #f9a825;
  font-weight: bold;
  border-bottom: 4px solid #f9a825;
  padding-bottom: 10px;
  display: inline-block;
  margin-bottom: 50px;
  margin-top: 30px;
}

.company-table th {
  width: 150px;
  font-weight: bold;
  padding-right: 10px;
  vertical-align: top;
  white-space: nowrap;
}

.company-table td {
  color: #333;
}

.gallery-section h2 {
  font-size: 20px;
  font-weight: bold;
  color: #f9a825;
  margin-top: 60px;
  margin-bottom: 20px;
}

/* ====== CONTACT PAGE STYLES ====== */
.contact-content {
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: gold;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.contact-section {
  background: white;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 850px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-group {
  margin-bottom: 30px;
  width: 100%;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

textarea {
  resize: vertical;
  min-height: 150px;
}

button[type="submit"] {
  background: linear-gradient(to right, #ff9800, #ff5722);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  display: block;
  width: 100%;
  margin-top: 20px;
  transition: box-shadow 0.3s ease-in-out;
}

button[type="submit"]:hover {
  background: linear-gradient(to right, #ff5722, #e65100);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* ====== GOOGLE FORM SECTION ====== */
.google-form {
  margin-top: 50px;
  padding: 40px;
  text-align: center;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 850px;
}

.google-form-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.google-form iframe {
  width: 100%;
  height: 750px;
  border-radius: 5px;
}

/* ====== NAVBAR CUSTOM STYLES ====== */
#nav {
  background-color: #0a0a0a;
}

.navbar-nav .nav-link {
  color: white;
  font-weight: bold;
  font-size: 16px;
}

.navbar-nav .nav-link:hover {
  color: gold;
}

.navbar-nav .nav-item {
  margin: 0 10px;
}

/* ====== FOOTER ====== */
footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* machine category section style start */
.machine-categories {
  background: #6b86c4; /* Light blue background */
  padding: 40px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.category-item {
  background-color: #fff;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  transition: transform 0.3s ease; /* Smooth hover effect */
  cursor: pointer;
}

.category-item:hover {
  transform: translateY(-5px); /* Slight lift on hover */
}

.category-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.category-text {
  font-weight: bold;
}

.category-text span {
  display: block;
}

.category-text .english {
  color: #888;
}
/* machine category section style stop */
/* ============================ */
/* ======= SEARCH FILTER START ======= */

/* ============================ */
body.dark-mode {
  background: #1a1a1a;
  color: #f5f5f5;
}

body.dark-mode .top-bar {
  background: #333;
  color: #f5f5f5;
}

body.dark-mode .top-bar a {
  color: #f5f5f5;
}

/* ============================ */
/* ======= MEDIA QUERIES ======= */
/* ============================ */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    text-align: center;
  }

  .main-header {
    flex-direction: column;
    text-align: center;
  }

  .globalMenuSp ul {
    flex-direction: column;
    text-align: center;
  }

  .globalMenuSp ul li {
    margin: 10px 0;
  }

  .search-filter .filter-container {
    flex-direction: column;
  }

  .inventory-count {
    width: 100%;
  }

  .filter-options {
    width: 100%;
  }

  .search-button {
    width: 100%;
  }

  .main-footer {
    flex-direction: column;
    text-align: center;
  }
}
/* backup css style stop */
/* Add more dark mode styles as needed */
/* Small Phones: 320px–375px (iPhone SE, older Androids) */
@media (max-width: 375px) {
  .highlight-left h2,
  .highlight-left span,
  .about-left h2,
  .about-left span {
    font-size: 18px;
  }

  .stock-card {
    max-width: 90%;
    margin: auto;
  }

  .contact-title,
  .section-title {
    font-size: 1.5rem;
  }

  .navbar-nav .nav-link {
    font-size: 14px;
  }
}

/* Medium Phones: 376px–414px (iPhone X, Pixel 5) */
@media (min-width: 376px) and (max-width: 414px) {
  .stock-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .highlight-inner,
  .about-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
  }
}

/* Large Phones: 415px–480px (iPhone 12 Pro Max) */
@media (min-width: 415px) and (max-width: 480px) {
  .stock-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .faq-section-title {
    font-size: 1.2em;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Tablets: 600px–768px (iPad Mini) */
@media (min-width: 600px) and (max-width: 768px) {
  .stock-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-content {
    flex-direction: column;
  }

  .filter-container {
    flex-direction: column;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large Tablets: 769px–1024px (iPad, iPad Air) */
@media (min-width: 769px) and (max-width: 1024px) {
  .stock-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .highlight-inner,
  .about-inner {
    flex-direction: row;
    text-align: left;
  }
}

/* Promo Section Wrapper */
.stock-highlight-section,
.about-us-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  background-color: #fff;
}

/* Image Side */
.stock-highlight-section .left-image,
.about-us-section .about-left-image {
  flex: 1 1 400px;
  min-width: 300px;
  max-width: 600px;
  padding: 10px;
}

.stock-highlight-section .left-image img,
.about-us-section .about-left-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

/* Text Overlay Section */
.stock-highlight-section .right-text,
.about-us-section .about-right-text {
  flex: 1 1 400px;
  background-color: #e30000;
  color: #fff;
  padding: 30px;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-inner,
.about-inner {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.highlight-left h2,
.about-left h2 {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.5;
}

.highlight-left span,
.about-left span {
  font-size: 36px;
  display: block;
}

.highlight-right p,
.about-right p {
  margin: 15px 0;
}

.highlight-right .btn,
.about-right .btn {
  background-color: #000;
  color: #fff;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
}

/* Divider */
.highlight-divider {
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.3);
  margin: 20px 0;
}

/* Responsive Fixes */
@media (min-width: 768px) and (max-width: 1023px) {
  .stock-highlight-section,
  .about-us-section {
    flex-direction: column;
  }

  .highlight-left h2,
  .about-left h2 {
    font-size: 20px;
  }

  .highlight-left span,
  .about-left span {
    font-size: 28px;
  }

  .highlight-right .btn,
  .about-right .btn {
    font-size: 14px;
    padding: 6px 16px;
  }
}

.promo-box {
  background-color: #e60000;
  border-radius: 10px;
  padding: 40px 30px;
}

.promo-box h3,
.promo-box h2 {
  color: #fff;
}

.promo-box p {
  font-size: 16px;
  color: #fff;
}

.promo-box .btn {
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

/* Responsive Tweak */
@media (max-width: 767.98px) {
  .promo-box {
    padding: 30px 20px;
  }

  .promo-box h2 {
    font-size: 26px;
  }

  .promo-box h3 {
    font-size: 18px;
  }

  .promo-box p {
    font-size: 14px;
  }
}
.promo-box {
  background-color: #e60000; /* Bright red */
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
  .promo-box h2 {
    font-size: 1.75rem;
  }
  .leftd {
    margin-left: 0px;
  }
  .rightd {
    margin-right: 0px;
  }
  .promo-box h3 {
    font-size: 1rem;
  }

  .promo-box p {
    font-size: 0.9rem;
  }

  .promo-box .btn {
    font-size: 0.9rem;
    padding: 10px 16px;
  }
  .about-right-text {
    margin-left: 0px;
  }
  .about-us-section .about-left-image {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0px;
  }
}

/* ============================== */
/* ==== STOCK DETAIL STYLING ==== */
/* ============================== */

.stock-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 15px;
  font-family: "Helvetica Neue", sans-serif;
  color: #222;
}

.stock-header h1 {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  border-left: 5px solid orange;
  padding-left: 15px;
  margin-bottom: 10px;
  margin-top: 20px;
}

.spec-top {
  margin-bottom: 20px;
  font-size: 15px;
}

.spec-top .tag {
  font-weight: bold;
  background: #f0f0f0;
  padding: 4px 8px;
  border-radius: 4px;
  margin-right: 5px;
  color: #333;
}

/* MAIN FLEX LAYOUT */
.stock-main {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.main-image-column {
  flex: 2;
}

.main-image-column img {
  width: 100%;
  /* max-height: 400px; */
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.thumbnail-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.thumbnail-gallery img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.2s;
}

.thumbnail-gallery img:hover,
.thumbnail-gallery img.active {
  border-color: orange;
}

/* RIGHT COLUMN */
.info-column {
  flex: 1;
  text-align: center;
}

.orange-header {
  background: orange;
  color: white;
  font-weight: bold;
  padding: 6px 0;
  font-size: 14px;
  border-radius: 4px 4px 0 0;
}

.stock-id {
  background: #f1f1f1;
  font-size: 28px;
  font-weight: bold;
  padding: 10px 0;
  margin-bottom: 10px;
}

.price-block {
  font-size: 18px;
  margin: 10px 0;
}

.price-block .price {
  color: #d32f2f;
  font-size: 22px;
  font-weight: bold;
}

.tax-label {
  font-size: 13px;
  color: #888;
}

/* CONTACT BUTTON */
.contact-btn {
  background: #d32f2f;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  font-size: 16px;
  border-radius: 4px;
  margin: 10px 0;
  cursor: pointer;
  transition: 0.3s;
}

.contact-btn:hover {
  background: #c62828;
}

/* PHONE INFO */
.tel-info {
  background: #f5f5f5;
  padding: 10px 0;
  border-radius: 4px;
  margin-bottom: 10px;
}

.tel-info .tel-num {
  font-size: 22px;
  font-weight: bold;
  margin: 5px 0;
}

.tel-info .open-hours {
  font-size: 12px;
  color: #555;
}

/* FLOW BUTTON */
.flow-btn {
  background: #e0e0e0;
  border: none;
  padding: 10px;
  font-size: 14px;
  width: 100%;
  border-radius: 4px;
  margin-bottom: 15px;
  cursor: pointer;
}

/* QR SECTION */
.qr-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.qr-box {
  text-align: center;
}

.qr-section img {
  width: 100%;
  max-width: 140px;
  margin-bottom: 10px;
}

@media (max-width: 1024px) and (min-width: 767px) {
  .qr-section img {
    max-width: 110px;
  }
}

.line-info p {
  font-size: 12px;
  margin: 3px 0;
}

.line-info strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: green;
}

/* TABLE SECTION */
.machine-specs h3,
.extra-notes h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  border-left: 4px solid black;
  padding-left: 10px;
  color: #222;
}

.machine-specs .sub,
.extra-notes .sub {
  font-size: 13px;
  color: #999;
  margin-left: 5px;
}

.extra-notes .sub.orange {
  color: orange;
}

.machine-specs table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.machine-specs td {
  border: 1px solid #ddd;
  padding: 10px;
  font-size: 14px;
}

/* Extra Notes */
.extra-notes {
  margin-bottom: 50px;
}

#extra-details {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 6px;
  font-size: 14px;
}

.back-to-list {
  text-align: center;
  margin: 40px 0 60px;
}

.back-button {
  display: inline-block;
  padding: 14px 40px;
  background-color: #2d2321;
  color: white;
  border-radius: 6px;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease;
}

.back-button:hover {
  background-color: #1b1614;
}

.back-button {
  display: inline-block;
  padding: 14px 40px;
  background-color: #2d2321; /* Kenki-style dark brown */
  color: white;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.back-button:hover {
  background-color: #1b1614; /* Slightly darker on hover */
  text-decoration: none;
}

.machine-specs td:first-child,
.machine-specs td:nth-child(3) {
  font-weight: bold;
  background-color: #f2f2f2;
  color: #333;
}

.machine-specs td:nth-child(1),
.machine-specs td:nth-child(3) {
  background-color: #f2f2f2;
  font-weight: bold;
  color: #333;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .stock-main {
    flex-direction: column;
  }

  .main-image-column img {
    max-height: auto;
  }

  .thumbnail-gallery img {
    width: 70px;
    height: 50px;
  }
}

/* kathori form style start */
.kaitori-form {
  padding: 50px 0;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.form-title {
  color: #f9a825;
  font-size: 28px;
  font-weight: bold;
  border-bottom: 3px solid #f9a825;
  display: inline-block;
  padding-bottom: 5px;
  margin: 0 auto 25px;
}

.form-subtitle {
  text-align: center;
  margin-bottom: 40px;
  font-size: 16px;
  color: #444;
}

section h2 {
  font-size: 22px;
  margin: 30px 0 20px;
  font-weight: bold;
  text-align: left;
}

table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
}

th {
  background: #eee;
  width: 25%;
  padding: 15px;
  border: 1px dotted #ccc;
  text-align: left;
  vertical-align: middle;
  font-size: 16px;
}

td {
  border: 1px dotted #ccc;
  padding: 10px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

textarea {
  resize: vertical;
}

input[type="file"] {
  padding: 5px;
}

.required,
.optional {
  font-size: 13px;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 6px;
}

.required {
  background-color: #e74c3c;
}

.optional {
  background-color: #aaa;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

.form-submit button {
  background-color: #ff8c1a;
  color: white;
  padding: 14px 50px;
  font-size: 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.form-submit button:hover {
  background-color: #e67e00;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white url("../assets/icons/loader.gif") no-repeat center center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  th,
  td {
    display: block;
    width: 100%;
  }

  th {
    border-bottom: none;
  }

  td {
    border-top: none;
  }

  table tr {
    margin-bottom: 20px;
    display: block;
  }
}
/* kathori form style stop */

/* home page style start */
.hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2.5rem;
  text-align: center;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* Search Module */
.search-module {
  background: #fff;
  padding: 2rem 1rem;
  text-align: center;
  border-bottom: 5px solid #e0e0e0;
}

.search-input-group label {
  font-size: 1.2rem;
  font-weight: bold;
}

.highlight-red {
  color: #d92a2a;
}

.search-box {
  margin: 1rem auto;
  max-width: 600px;
  display: flex;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}

.search-box input {
  flex: 1;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.search-box button {
  background: #fff;
  border: none;
  padding: 0.75rem 1rem;
  cursor: pointer;
}

.search-box button img {
  width: 20px;
  height: 20px;
}

.search-buttons-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.search-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: bold;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  transition: 0.3s ease;
}

.search-btn.red {
  background-color: #e61f1f;
  color: #fff;
}

.search-btn.red:hover {
  background-color: #c20f0f;
}

.search-btn.white {
  background-color: #f4f4f4;
  color: #000;
  border: 1px solid #ccc;
}

.search-btn.white:hover {
  background-color: #ddd;
}

.btn-icon {
  width: 24px;
  height: 24px;
}

.arrow {
  font-size: 1.25rem;
  margin-left: 0.5rem;
}

/* Highlight Sections */
.highlight-section {
  position: relative;
  margin-top: 2rem;
}

.highlight-section img {
  width: 100%;
  display: block;
}

.highlight-box {
  position: absolute;
  top: 20%;
  left: 5%;
  background-color: rgba(234, 31, 31, 0.9);
  padding: 2rem;
  color: #fff;
  max-width: 500px;
}

.highlight-box h2 {
  font-size: 2rem;
  font-weight: bold;
}

.highlight-box a {
  display: inline-block;
  margin-top: 1rem;
  background: #000;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
}

.promo-banner img {
  width: 100%;
  display: block;
}

/* header style start */

.top-header {
  background-color: #f9a825;
  padding: 8px 0;
  text-align: left;
  font-size: 14px;
}

.welcome-text {
  color: #fff;
  font-weight: bold;
}

.language-select {
  padding: 4px 8px;
  border: none;
  font-weight: bold;
  color: #000;
  background-color: #fff;
  text-decoration: none;
  outline: none; /* Removes default blue border */
  appearance: none; /* Remove default OS styling */
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Optional: Add a custom background on focus or active */
.language-select:focus,
.language-select:active {
  background-color: #fff;
  border: none;
  outline: none;
}

.search-form {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto;
}

.search-input {
  height: 43px;
  padding-right: 40px;
}

.search-icon-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 35px;
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.search-icon-btn:hover {
  background-color: #6b86c4;
}
.search-icon-btn:focus,
.search-icon-btn:active {
  background-color: #6b86c4;
  box-shadow: 0 0 5px rgba(107, 134, 196, 0.5);
  border-radius: 4px;
}

.search-icon {
  width: 25px;
  height: 25px;
  pointer-events: none;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* header style stop */

/* stock list style start */

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #333;
}

.stock-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;
  max-width: 1300px;
  margin: auto;
}

.side-banner {
  width: 180px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.05);
}

.stock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(250px, 1fr));
  gap: 10px;
  justify-content: center;
  align-items: stretch;
  max-width: 1000px;
  width: 100%;
}

/* Global box-sizing for layout stability */
* {
  box-sizing: border-box;
}

/* STOCK GRID: Responsive grid layout */
.stock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  padding: 10px;
}

/* STOCK CARD: Each item */
.stock-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
  padding: 12px;
  max-width: 400px;
}

.stock-card:hover {
  transform: scale(1.02);
}

/* Stock image */
.stock-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

/* Stock info section */
.stock-info {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stock-id-line {
  font-size: 13px;
  color: #555;
  display: flex;
  justify-content: space-between;
}

.machine-maker,
.machine-model,
.machine-year {
  font-size: 15px;
  margin: 0;
  color: #333;
}

.stock-details p {
  font-size: 12px;
  margin: 0;
  line-height: 1.4;
}

.stock-hours {
  font-size: 13px;
  color: #666;
}

.price-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.price-left {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 12px;
  color: #777;
}

.price-amount {
  font-size: 18px;
  color: #d32f2f;
  font-weight: bold;
}

.price-tax {
  font-size: 12px;
  color: #777;
}

/* NEW tag */
.new-tag {
  background: #ff4081;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
}

/* BUTTONS */
.buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.details-btn,
.inquiry-btn {
  flex: 1;
  font-size: 14px;
  padding: 8px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.details-btn {
  background-color: #3949ab;
  color: #fff;
}

.inquiry-btn {
  background-color: #f9a825;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.inquiry-btn img {
  height: 16px;
}

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
  .stock-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .stock-card {
    padding: 10px;
  }

  .stock-image {
    height: auto;
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .stock-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .stock-card {
    padding: 10px;
  }

  .stock-image {
    height: auto;
  }
}

/* Fix outer container to allow grid centering */
.stock-container {
  display: flex;
  justify-content: center;
  padding: 10px 0;
  width: 100%;
}

/* Make the grid responsive and centered */
.stock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  padding: 0 10px;
  /* side padding for desktop */
  margin: 0 auto;
}

/* Stock card styling */
.stock-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

/* Mobile full-width fix */
@media (max-width: 576px) {
  .category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Exactly 3 per row */
    gap: 10px;
    padding: 10px;
  }

  /* Optional styling for items */
  .category-item {
    text-align: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    transition: transform 0.2s ease;
  }

  .category-item:hover {
    transform: scale(1.03);
  }

  .stock-grid {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }

  .stock-card {
    border-radius: 0 !important;
    margin: 0 !important;
    border-left: none !important;
    border-right: none !important;
  }

  .buttons {
    flex-direction: row !important;
  }

  .details-btn,
  .inquiry-btn {
    flex: 1;
    width: auto;
  }
}

@media (max-width: 576px) {
  .stock-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* ⬅️ this centers child cards horizontally */
    gap: 16px;
    padding: 0 10px;
  }

  .stock-card {
    width: 95%;
    /* ⬅️ or fixed width like 300px */
    max-width: 400px;
    margin: 0 auto;
  }
}
/* stock list style stop */

/* Custom Header Styles start*/
.custom-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
}

.header-left {
  flex: 1;
}

.header-center {
  flex: 2;
  justify-content: center;
}

.header-right {
  flex: 1;
  justify-content: flex-end;
}

.email-button {
  margin-left: auto;
}

.operating-hours {
  text-align: right;
  margin-top: 5px;
}
.hotline-text {
  margin-left: 15px;
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
  .custom-header .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Center the logo */
  .header-left {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }

  .header-center {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 10px;
  }
  .header-center .tel {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .header-center .links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .header-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 10px;
  }

  .email-button {
    display: block;
    margin: 10px auto;
    font-size: 14px;
    padding: 8px 12px;
  }

  .operating-hours {
    font-size: 12px;
    text-align: center;
  }

  .top-header-left {
    display: flex;
    flex-direction: column;
  }

  .hotline-text {
    margin-left: 0;
    margin-top: 3px;
  }
}
.navbar-collapse {
  text-align: center;
}

.search-form {
  justify-content: center;
}
/* Custom Header Styles stop*/

#stock-count {
  margin-top: 0;
  color: #111111;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: bold;
}

#stock-name {
  margin-top: 0;
  color: #ff4704;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: bold;
}

/* ======= Search Style start ======= */
.refined-search {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 1150px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  gap: 20px;
}

.refined-search h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

/* Refined Container */
.refined-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* Refined Group */
.refined-group {
  flex: 1 1 calc(25% - 20px);
  min-width: 200px;
  max-width: 300px;
  text-align: center;
}

.refined-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  color: #555;
}

.refined-group select,
.refined-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.refined-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.inventory-count {
  flex: 1;
  text-align: center;
  background: #004a8f;
  color: white;
  padding: 10px;
  border-radius: 4px;
}

.inventory-count span {
  display: block;
  font-size: 14px;
}

.inventory-count strong {
  font-size: 24px;
}

.refined-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.refined-buttons button {
  background: linear-gradient(to right, #004a8f, #0066cc);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  min-width: 120px;
}

/* .refined-buttons button:hover {
  background: linear-gradient(to right, #0066cc, #004a8f);
} */

@media (max-width: 800px) {
  .refined-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .refined-group {
    width: 100%;
  }

  .refined-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

.search-btn:hover {
  background: linear-gradient(to right, #0066cc, #004a8f) !important;
}
.search-btn:active {
  background: linear-gradient(to right, #003d66, #004477) !important;
  transform: scale(0.98);
}

.reset-btn:hover {
  background: linear-gradient(to right, #ff0000, rgb(241, 80, 80)) !important;
}
.reset-btn:active {
  background: linear-gradient(to right, #cc3300, #552200) !important;
  transform: scale(0.98);
}
.search-iconn {
  width: 25px;
  height: 25px;
  margin-right: 8px;
  vertical-align: middle;
  filter: invert(100%);
}
/* Enter active */
.search-icon-btn.enter-active {
  background: linear-gradient(to right, #003d66, #004477) !important;
}
/* ======= Search Style stop ======= */
/* Active navigation link styling start*/
.navbar-nav .nav-item.active .nav-link {
  background-color: white !important;
  color: rgb(53, 44, 211) !important;
  border-radius: 4px;
  font-weight: bold;
  padding: 10px 10px;
}

.navbar-nav .nav-link:hover {
  background-color: #e6e6e6;
  color: rgb(53, 44, 211) !important;
}

/* Mobile view active styling start */
@media (max-width: 991.98px) {
  .navbar-nav .nav-item {
    width: 100%;
    margin: 5px 0 !important;
  }

  .navbar-nav .nav-link {
    width: 100%;
    background-color: #445987;
    color: white !important;
    padding: 12px 0;
    text-align: center;
    font-size: 16px;
    border-radius: 6px;
    font-weight: bold;
  }

  .navbar-nav .nav-link:hover {
    background-color: #5d74ab;
    color: white !important;
  }

  /* Home icon link style match */
  .navbar-nav .nav-item .home-link {
    background-color: #445987;
    padding: 12px 0;
    text-align: center;
    display: block;
    width: 100%;
    border-radius: 6px;
    margin-top: 25px;
  }

  .navbar-nav .nav-item .home-link svg {
    margin: 0 auto;
    display: block;
  }

  .navbar-nav .nav-item.active .nav-link,
  .navbar-nav .nav-item.active .home-link {
    background-color: white !important;
    color: rgb(53, 44, 211) !important;
  }
}
.navbar-nav .nav-item .home-link svg {
  color: white;
  fill: white;
}
.navbar-nav .nav-item.active .home-link svg {
  color: rgb(53, 44, 211);
  fill: rgb(53, 44, 211);
}
/* Mobile view active styling stop */

/* Qr section style start */
.qr-contact-section {
  text-align: center;
  margin-top: 40px;
}

.qr-img {
  width: 200px;
  margin: 10px;
}
/* Qr section style stop */

/* stock image detail section style start */
.image-nav-button {
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  padding: 10px 10px;
  font-size: 20px;
  cursor: pointer;
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  z-index: 10;
}

#prev-image {
  left: 10px;
}

#next-image {
  right: 10px;
}

.main-image-column {
  position: relative;
}
#download-button {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: #8a968b;
  color: white;
  padding: 8px 12px;
  text-decoration: none;
  font-size: 14px;
  border-radius: 5px;
  z-index: 10;
}
.download-button i {
  margin-right: 6px;
}
#download-button:hover {
  background-color: #555f5e;
}

/* desktop only display style start */
@media (max-width: 767px) {
  .download-button {
    display: none !important;
  }
}
/* desktop only display style start */
@media (max-width: 600px) {
  .image-nav-button {
    top: 25%;
    padding: 5px 5px;
  }
}
/* stock image detail section style stop */
/* mobile navbar style start*/
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background: linear-gradient(to bottom, #6b86c4, #2a3f6b);
    padding-top: 25px;
    transition: right 0.3s ease;
    z-index: 9999;
  }

  .navbar-collapse.show {
    right: 0;
  }

  .navbar-nav .nav-link {
    color: white;
    padding: 12px 20px;
  }

  .navbar-nav .nav-link:hover {
    background-color: #5d74ab;
    outline-color: #000;
  }

  .navbar-toggler {
    z-index: 10000;
  }
  .navbar-collapse.show .close-sidebar {
    display: block;
  }

  body.menu-open {
    overflow: hidden;
  }

  .mobile-navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 15px;
    position: relative;
    z-index: 10001;
    gap: 12px;
  }

  .mobile-branding-text {
    font-size: 20px;
    color: white;
    font-weight: bold;
    text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black,
      1px 1px 0 black;
  }
  .mobile-logo {
    height: 40px;
    filter: brightness(0) invert(1);
    margin-right: 12px;
  }
  .close-sidebar {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
  }

  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.5);
    z-index: 9998;
    display: none;
  }

  body.menu-open .mobile-overlay {
    display: block;
  }

  /* Contact Icons Styling in Mobile Navbar start*/
  .mobile-contact-info {
    margin-top: 100px;
    text-align: left;
  }

  .mobile-contact-info .contact-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
    filter: brightness(0) invert(1);
    font-family: "Noto Sans JP", sans-serif;
  }

  .mobile-contact-info a {
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    justify-content: flex-start;
    gap: 6px;
    padding: 10px;
    transition: 0.3s;
    color: rgb(11, 72, 163);
  }

  .mobile-contact-info p {
    margin: 0;
    font-size: 16px;
    color: white;
    padding: 10px;
  }

  .toggle-mobile-logo {
    height: 40px;
    filter: brightness(0) invert(1);
  }
  .nav-header-mobile {
    padding: 8px 8px; /* Small padding */
  }
  /* Contact Icons Styling in Mobile Navbar stop*/

  /* toggle icons style start */
  .navbar-toggler {
    border: 1px solid white !important;
    background-color: transparent !important;
  }

  .navbar-toggler-icon {
    filter: brightness(0) invert(1) !important;
  }
  /* toggle icons style stop */
}
/* mobile navbar style stop*/

/* Fixed header start */
#nav.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background-color: #0a0a0a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.nav-placeholder {
  height: 0;
  display: none;
}

.nav-placeholder.active {
  display: block;
  height: 60px; /* or match actual height of navbar */
}

/* Fixed header stop */

/* view more button style start */
#see-more-btn {
  display: block;
  margin: 30px auto 0 auto;
  padding: 10px 40px;
  font-size: 1.2em;
  background: #3949ab;
  color: #fff;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s;
}
#see-more-btn:hover {
  background: #1e187a;
}

.see-more-btn-area {
  text-align: center;
  margin: 20px 0;
}
.see-more-loading {
  font-size: 1.2em;
  color: #444;
  margin: 30px auto 0 auto;
}
.see-more-spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 3px solid #eee;
  border-top: 3px solid #352cd3;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
/* view more button style stop */
