/* ========================================
   FLOW / 受講までの流れ
   ======================================== */

.flow {
  background: var(--clr-bg);
  padding-block: 100px;
}

/* ── Flow Header ── */
.flow__header {
  text-align: center;
  margin-bottom: 60px;
}

.flow__label {
  font-family: var(--font-jakarta);
  color: var(--clr-accent);
  /* same pink as about */
  line-height: 1;
  display: block;
  margin-bottom: 5px;
}

.flow__title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--clr-navy);
  line-height: 1.4;
}

/* ── Flow Grid ── */
.flow__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
  max-width: 1100px;
  margin-inline: auto;
}

/* ── Flow Item ── */
.flow__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow__item-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.flow__item-num {
  font-family: var(--font-jakarta);
  font-size: 24px;
  font-weight: bold;
  color: var(--clr-key-1);
  /* Yellow */
}

.flow__item-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--clr-text);
  letter-spacing: .05em;
}

.flow__item-img {
  width: 180px;
  height: 180px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--clr-white);
  border-radius: 50%;
  border: 1px solid var(--clr-gray-light);
}

.flow__item-img img {
  width: 65%;
  height: 65%;
  object-fit: contain;
}

.flow__item-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--clr-text);
  text-align: left;
  letter-spacing: .05em;
}

.flow__text-link {
  color: var(--clr-navy);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 0.3s;
}

.flow__text-link:hover {
  opacity: 0.7;
}

/* ── Responsive ── */

@media (max-width: 1024px) {
  .flow {
    padding-block: 30px;
  }

  .flow__header {
    margin-bottom: 36px;
  }

  .flow__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .flow__title {
    font-size: 24px;
  }

  .flow__item-header {
    margin-bottom: 16px;
  }

  .flow__item-img {
    width: 150px;
    height: 150px;
    margin-bottom: 18px;
  }

  .flow__item-desc {
    font-size: 13px;
  }
}
