/* ===============================
   OEM Introduction block
   =============================== */

.oem-intro-block {
  max-width: 800px;
  margin: -50px auto;
  text-align: left;
}

.oem-intro-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 26px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  text-align: center;
  color: #333;
}

.oem-intro-description {
  font-size: 14.5px;
  line-height: 1.9;
  margin-bottom: 60px;
  color: #555;
}

/* ===============================
   OEM Flow Section
   =============================== */

.oem-flow {
  background-color: #f0f0f0;
  margin-top: 10px;
  margin-bottom: 100px;
  padding: 50px 0;
}

.oem-flow-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.oem-flow-fixed {

    text-align: center;
  }

.oem-flow-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 30px;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
  color: #333;
}

.oem-flow-subtitle {
  font-size: 9.5px;
  color: #777;
  margin-top: -17px;
}

.oem-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 6px;
}

.oem-flow-step-label {
  font-size: 15px;
  color: #b3c1f0;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: -2px;
}

.oem-flow-step-number {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  line-height: 1;
}


/* flow-scroll */
  .oem-flow-scroll {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .oem-flow-scroll::-webkit-scrollbar { display: none; }


/* flow-list */
.oem-flow-list {
  display: flex;
  gap: 24px;
  padding: 10px;
  min-width: max-content; 
}

/* flow-item */
.oem-flow-item {
  flex: 0 0 300px;        
  height: 300px;         
  border: 2px solid #b3c1f0;
  border-radius: 50%;
  background-size: 60%;
  background-position: center 180%;
  background-repeat: no-repeat;
  background-color: #ecedf1;
  padding: 20px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

/* oem-flow-item:hover */
.oem-flow-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.07);
}



/* flow-item-title */
.oem-flow-item-title {
  font-size: 17px;
  font-weight: 600;
  margin: 6px 0;
  margin-bottom: 10px;
  color: #333;
}

/* caption */
.oem-flow-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

.oem-flow-arrow-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  margin-right: 20px;
  margin-bottom: 8px;
  opacity: 0.8;
  animation: hintFade 2.4s infinite ease-in-out;
  pointer-events: none;
}

.arrow-icon {
  font-size: 20px;
  color: #b3c1f0;
  animation: arrowMove 2.4s infinite ease-in-out;
}

.arrow-text {
  font-size: 12px;
  color: #999;
  letter-spacing: 0.05em;
}

@keyframes arrowMove {
  0% { transform: translateX(0); opacity: 0.4; }
  50% { transform: translateX(10px); opacity: 1; }
  100% { transform: translateX(0); opacity: 0.4; }
}

@keyframes hintFade {
  0% { opacity: 0.4; }
  50% { opacity: 0.9; }
  100% { opacity: 0.4; }
}

/* PC non */
@media (min-width: 769px) {
  .oem-flow-arrow-hint {
    display: none;
  }
}

/* ===== SP ===== */
@media (max-width: 768px) {

  .oem-flow-item {
    flex: 0 0 300px;
    height: 300px;
    padding: 16px;
    background-size: 55%;
    background-position: center 150%;
  }

}
  .oem-flow-item-title {
    font-size: 14px;
    margin-top: -5px;
  }

  .oem-flow-item p {
    font-size: 13px;
  }

  /* ===================================================
   PCflow-layout
   =================================================== */
@media (min-width: 1025px) {

  .oem-flow-layout {
    display: flex;
    align-items: flex-start;
    position: relative;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 30px;
  }

  /* flow-fixed */
  .oem-flow-fixed {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 140px; 
    text-align: center;
  }

  /* flow-scroll */
  .oem-flow-scroll {
    position: relative;
    flex-grow: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }
  .oem-flow-scroll::-webkit-scrollbar {
    display: none;
  }

  .oem-flow-nav {
    position: absolute;
    top: 50%;
    right: 0;
    left: 260px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
  }

  .oem-flow-nav-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid #b3c1f0;
    color: #b3c1f0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(179, 193, 240, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
  }

  .oem-flow-nav-btn:hover {
    background: #b3c1f0;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(179, 193, 240, 0.4);
  }

.oem-flow-nav-icon {
    width: 22px;
    height: 22px;
    display: block;
  }

  .oem-flow-nav-btn.left {
    margin-left: 12px;
  }

  .oem-flow-nav-btn.right {
    margin-right: 12px;
  }

.oem-flow-nav-btn.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

}

/* smartphon snap  scroll */
@media (max-width: 768px) {
  .oem-flow-scroll {
    scroll-snap-type: x mandatory;
  }
  .oem-flow-item {
    scroll-snap-align: center;
  }
}



/* ===============================
   OEM Flow Contact Button
   =============================== */
.oem-flow-contact-btn {
  margin-top: 20px;
  text-align: center;
}

.oem-flow-contact-btn .header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 40px;
  font-size: 15px;
  border: 1.5px solid var(--brand-700);
  border-radius: 9999px;
  color: var(--brand-700);
  background: transparent;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.oem-flow-contact-btn .header-contact:hover {
  background: var(--brand-700);
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.page-hero__handwriting_c {
  height: 130px;
  max-width: 70%;
  opacity: 0.95;
  margin: 00 auto 4px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  }

/* smartphon */
@media (max-width: 768px) {
  .oem-flow-contact-btn {
    margin-top: 24px;
    margin-bottom: 25px;
    text-align: center;
  }

  .oem-flow-contact-btn .header-contact {
    width: auto;
    height: 44px;
    padding: 0 34px;
    font-size: 14.5px;
    border: 1.5px solid var(--brand-700);
    border-radius: 9999px;
    color: var(--brand-700);
    background: transparent;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }

  .oem-flow-contact-btn .header-contact:hover {
    background: var(--brand-700);
    color: #fff;
  }

  
}

/* ============================================
   OEM FLOW – SP Arrow Navigation (Final Version)
   ============================================ */


.sp-only {
  display: none;
}

/* smartphone */
@media (max-width: 768px) {
  .page-hero__handwriting_c {
  height: 130px;
  max-width: 110%;

  opacity: 0.95;
  margin: 00 auto 4px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  }

}

/* ===============================
   OEM Coming Soon
=============================== */

.oem-content {
  display: none;
}

.coming-soon {
  padding: 120px 20px 160px;
  text-align: center;
}

.coming-soon__en {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 36px;
  letter-spacing: 0.2em;
  color: #b3c1f0;
  margin-bottom: 24px;
}

.coming-soon__jp {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}