/* Restored layout styles */
.flow-section {
  padding: 80px 20px;
  font-family: 'IBM Plex Sans JP', sans-serif;
}

.flow-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 60px;
  color: #374769;
}

.flow-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.flow-block {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.flow-subtitle {
  font-size: 1.6rem;
  color: #2c3e50;
  margin-bottom: 24px;
  border-left: 5px solid #ff7200;
  padding-left: 14px;
}

.flow-list {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.flow-list li {
  position: relative;
  padding: 18px 0 18px 44px;
  margin-bottom: 16px;
  border-left: 2px solid #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.flow-list li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: -18px;
  top: 20px;
  width: 32px;
  height: 32px;
  background: #ff7200;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  text-align: center;
  line-height: 32px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.flow-list li strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #333;
}

.flow-list li br + br {
  display: none;
}

.works-bg-label {
  position: absolute;
  top: -20px;
  left: 50%;
  width: 100%;
  max-width: 90vw;
  transform: translateX(-50%);
  font-size: 4.5rem;
  color: rgba(55, 71, 105, 0.05);
  font-weight: 900;
  letter-spacing: 0.5rem;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 768px) {
  .flow-wrapper {
    grid-template-columns: 1fr;
  }

  .flow-block {
    padding: 30px 20px;
  }

  .flow-title {
    font-size: 1.8rem;
  }

  .flow-subtitle {
    font-size: 1.3rem;
  }

  .flow-list li {
    padding-left: 30px;
  }

  .flow-list li::before {
    left: -12px;
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 0.9rem;
  }
}

.flow-icon {
  font-size: 3rem;
  color: #ff7200;
  text-align: center;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.flow-icon i {
  font-size: 2.5rem;
}

.flow-cta {
  text-align: center;
  margin-top: 80px;
}

/* CTA Button (reference style) */
.flow-cta .cta-button {
  display: inline-block;
  background: #374769;
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  border: none;
  transition: background 0.3s ease;
}

.flow-cta .cta-button:hover {
  background: #2c3759;
}

.flow-cta .cta-button.cta-outline {
  background: #f8f9fc;
  color: #374769;
  border: 2px solid #374769;
}

.flow-cta a i {
  margin-right: 8px;
}

.flow-line-link {
  margin-top: 24px;
  text-align: center;
  border: 2px solid #06C755;
  border-radius: 999px;
  display: inline-block;
  padding: 10px 24px;
}

.line-button {
  color: #06C755;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.line-button:hover {
  color: #049c44;
}