@charset "UTF-8";

/* =========================================================
   竜輝工業 - 施工の流れ (flow.css)
   ========================================================= */

.flow {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
}
/* 縦のタイムライン */
.flow::before {
  content: "";
  position: absolute;
  left: 60px; top: 30px; bottom: 30px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--gold));
  opacity: 0.35;
}
.flow__step {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: center;
  padding: 20px 0;
}
.flow__art {
  width: 120px;
  position: relative;
  z-index: 2;
}
.flow__art svg { width: 100%; height: auto; filter: drop-shadow(0 10px 24px rgba(10,24,64,0.10)); }
/* STEPバッジ（アートの左上） */
.flow__no {
  position: absolute;
  left: -6px; top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, var(--blue), var(--blue-500));
  color: #fff;
  width: 56px; height: 56px;
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0,0,205,0.28);
  z-index: 3;
}
.flow__no span { font-size: 0.46rem; letter-spacing: 0.18em; opacity: 0.85; margin-bottom: 1px; }

.flow__body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.flow__body:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.flow__body h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.flow__body h3::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.flow__body p { color: var(--text); font-size: 0.94rem; }
.flow__body strong { color: var(--blue); font-weight: 700; }

@media (max-width: 720px) {
  .flow::before { left: 28px; }
  .flow__step { grid-template-columns: 56px 1fr; gap: 18px; }
  .flow__art { display: none; }
  .flow__no { position: static; left: auto; top: auto; }
  .flow__body { padding: 22px 22px; }
}

/* ---------- Points ---------- */
.flow-point {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.flow-point__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.flow-point__ico {
  width: 70px; height: 70px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-tint);
  border-radius: 50%;
}
.flow-point__ico svg { width: 38px; height: 38px; }
.flow-point__item h3 { font-size: 1.1rem; margin-bottom: 10px; }
.flow-point__item p { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 820px) { .flow-point { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }
