/* =========================
   approach (UI only)
========================= */

#approach {
  padding: 110px 0 90px;
  background: #fff;
}

#approach .approach-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ===== heading ===== */
#approach .approach-head {
  text-align: center;
  margin-bottom: 54px;
}

#approach .approach-title {
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: 0.04em;
  margin: 0 0 18px;
  line-height: 1.2;
}

#approach .approach-lead {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(0,0,0,0.72);
}

#approach .approach-en {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: rgba(0,0,0,0.72);
}

/* ===== cards ===== */
#approach .approach-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(40, 40, 60, 0.14);
  background: #fff;
  /* min-height: 360px; */

  padding: 26px 22px 80px;
  box-shadow: 0 10px 30px rgba(15, 20, 40, 0.06);
}

.approach-card {
  flex: 0 0 300px; /* 固定幅 */
}

#approach .approach-card.is-active {
  background: rgba(160, 140, 255, 0.18);
  border-color: rgba(120, 90, 255, 0.22);
}

#approach .approach-card-title {
  margin: 0 0 16px;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

#approach .approach-card-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(0,0,0,0.70);
}

/* active card foot note */
#approach .approach-card-foot {
  margin: 18px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: rgba(0,0,0,0.70);
}

/* ===== plus button (decorative) ===== */
#approach .approach-plus {
  position: absolute;
  right: 18px;
  bottom: 18px;

  width: 44px;
  height: 44px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(40, 40, 60, 0.12);
  background: rgba(120, 120, 140, 0.06);
  color: rgba(0,0,0,0.45);
}

#approach .approach-card.is-active .approach-plus {
  border-color: rgba(120, 90, 255, 0.22);
  background: rgba(160, 140, 255, 0.18);
  color: rgba(50, 35, 170, 0.80);
}

#approach .approach-plus span {
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  transform: translateY(-1px);
}

/* ===== scroll ===== */
.approach-track {
  display: flex;
  gap: 24px;
  width: max-content; /* これ大事ぽよん */
}

.approach-scroll::-webkit-scrollbar {
  display: none;
}

.approach-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;

  -ms-overflow-style: none;
  scrollbar-width: none;

  scroll-snap-type: x mandatory;

  padding: 6px 8px 12px;
}

.approach-nav {
  display: flex;
  justify-content: center; /* 横中央 */
  gap: 20px;
  margin-top: 18px;
}

.scroll-left,
.scroll-right {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.scroll-left:hover,
.scroll-right:hover {
  opacity: 1;
}


/* ピタッと止まる用① */
.approach-scroll {
  scroll-snap-type: x mandatory;
  padding-left: 8px;
  padding-right: 8px;
}

/* ピタッと止まる用② */
.approach-card {
  scroll-snap-align: start;
}

/* ===== bottom arrows (decorative) ===== */
#approach .approach-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  opacity: 0.22;
  user-select: none;
}

#approach .approach-arrow {
  display: inline-block;
  font-size: 14px;
}

/* ===== responsive ===== */
@media (max-width: 560px) {
  #approach {
    padding: 84px 0 72px;
  }

  #approach .approach-head {
    margin-bottom: 32px;
  }

  #approach .approach-card {
    min-height: auto;
    padding: 22px 18px 72px;
  }
}


