/* service-oem.css */

/* Service Intro Section */
.service-intro .image-text-section {
  align-items: flex-start;
}
.service-intro .image-text-section .text-content p {
  margin-bottom: 20px;
}
.service-intro .image-text-section .image-wrapper img {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Item Examples Section (original goods) */
.item-examples {
  background-color: var(--bg-light);
}
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
}
.example-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 280px;
}
.example-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.example-item img {
  width: 280px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 20px;
}
.example-item h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.example-item p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

/* Service Features Section (OEM/ODM & common) */
.service-features {
  background-color: #fdfdfd;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.feature-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.feature-item img {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  object-fit: contain;
}
.feature-item h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.feature-item p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

/* Service Process Section (OEM/ODM & original goods) */
.service-process {
  background-color: var(--bg-light);
}
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 20px;
  margin-top: 40px;
}
.step-item {
  flex: 0 0 calc(33.33% - 20px);
  max-width: 300px;
  text-align: center;
  position: relative;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}
/* ステップ間の矢印 */
.step-item::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -25px;
  width: 50px;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
  transform: translateY(-50%);
}
.step-item:nth-child(3n)::before,
.step-item:last-child::before {
  display: none;
}
.step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--text-color-light);
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}
.step-item h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}
.step-item p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* Contact CTA Section */
.contact-cta .section-subtitle {
  margin-bottom: 10px;
}
.contact-cta p {
  margin-bottom: 20px;
}

/* Responsive Adjustments for combined page */
@media (max-width: 992px) {
  .service-intro .image-text-section {
    flex-direction: column;
    text-align: center;
  }
  .service-intro .image-text-section .text-content,
  .service-intro .image-text-section .image-wrapper {
    width: 100%;
    min-width: unset;
  }
  .service-intro .image-text-section .text-content p {
    text-align: center;
  }
  .examples-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .example-item {
    min-height: unset;
  }
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .service-process .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .service-process .step-item {
    flex: 0 0 100%;
    max-width: 350px;
  }
  .service-process .step-item::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .service-intro .image-text-section .image-wrapper img {
    max-width: 80%;
    margin: 0 auto;
  }
  .examples-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .examples-grid .example-item {
    padding: 20px;
  }
  .examples-grid .example-item img {
    width: 70px;
    height: 70px;
  }
  .examples-grid .example-item h3 {
    font-size: 20px;
  }
  .features-grid .feature-item {
    padding: 20px;
  }
  .features-grid .feature-item h3 {
    font-size: 20px;
  }
  .service-process .step-number {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  .service-process .step-item h3 {
    font-size: 18px;
  }
  .service-process .step-item p {
    font-size: 14px;
  }
}
