/* service-wholesale.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);
}

/* Service Features Section (common style, but specific to this page content) */
.service-features {
  background-color: var(--bg-light); /* 背景色を他のコンテンツと変える場合 */
}

.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 (specific to this page content, re-used from previous retail) */
.service-process {
  background-color: #fdfdfd;
}

.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); /* 3列表示の基本幅 */
  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, /* 3つ目のアイテムの矢印は不要（次の行に行くため） */
.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;
}

/* Responsive Adjustments for service-wholesale.html */
@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;
  }
  .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;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .features-grid .feature-item {
    /* ここに feature-item を含める */
    padding: 20px;
  }
  .features-grid .feature-item h3 {
    /* ここに 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;
  }
}
