/* ==========================================================================
   DX導入の流れ（/flow/）
   モバイルファースト：基本＝スマホ、@media (min-width: 769px) でPC
   ========================================================================== */
.syy-flow * { box-sizing: border-box; margin: 0; padding: 0; }
.syy-flow {
  font-family: var(--font-jp);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ===== PAGE HERO ===== */
.syy-flow .page-hero {
  background: var(--gradient-main);
  padding: 60px 20px 48px;
  position: relative; overflow: hidden; text-align: center;
}
.syy-flow .page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 100%);
}
.syy-flow .page-hero::after {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  filter: blur(60px); opacity: 0.5;
}
.syy-flow .page-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.syy-flow .page-tag {
  font-family: var(--font-en); font-size: 12px; font-weight: 700;
  color: var(--accent-bright); letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 16px; display: block;
}
.syy-flow .page-hero h1 { font-size: 28px; font-weight: 900; color: #fff; margin-bottom: 16px; letter-spacing: -0.02em; }
.syy-flow .page-hero p { font-size: 16px; color: var(--text-secondary); line-height: 1.8; }

/* ===== COMMON ===== */
.syy-flow .section-header { text-align: center; margin-bottom: 56px; }
.syy-flow .section-tag {
  font-family: var(--font-en); font-size: 12px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 12px; display: block;
}
.syy-flow .section-title { font-size: 24px; font-weight: 900; color: var(--text-dark); letter-spacing: -0.02em; margin-bottom: 12px; }
.syy-flow .section-desc { font-size: 15px; color: var(--text-dark-sub); max-width: 600px; margin: 0 auto; }

/* ===== TIMELINE ===== */
.syy-flow .timeline-section { padding: 56px 20px; background: #f8fafc; }
.syy-flow .timeline-inner { max-width: 900px; margin: 0 auto; }

.syy-flow .timeline { position: relative; }
.syy-flow .timeline::before {
  content: ''; position: absolute;
  left: 24px; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--purple), var(--cyan));
  border-radius: 2px;
}

.syy-flow .tl-step {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  position: relative;
}
.syy-flow .tl-step:last-child { margin-bottom: 0; }

.syy-flow .tl-marker {
  width: 48px; min-width: 48px;
  display: flex; flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.syy-flow .tl-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-weight: 800; font-size: 16px;
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
  margin-bottom: 8px;
}
.syy-flow .tl-step:nth-child(1) .tl-num { background: var(--accent); }
.syy-flow .tl-step:nth-child(2) .tl-num { background: #6366f1; }
.syy-flow .tl-step:nth-child(3) .tl-num { background: var(--purple); }
.syy-flow .tl-step:nth-child(4) .tl-num { background: #7c3aed; }
.syy-flow .tl-step:nth-child(5) .tl-num { background: var(--cyan); }
.syy-flow .tl-step:nth-child(6) .tl-num { background: var(--emerald); }

.syy-flow .tl-duration {
  font-family: var(--font-en); font-size: 11px; font-weight: 600;
  color: var(--text-muted); text-align: center; white-space: nowrap;
}

.syy-flow .tl-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px 20px;
  flex: 1;
  min-width: 0;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.syy-flow .tl-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gradient-accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.syy-flow .tl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.syy-flow .tl-card:hover::before { transform: scaleX(1); }

.syy-flow .tl-card-header {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.syy-flow .tl-icon { font-size: 28px; }
.syy-flow .tl-card h3 {
  font-size: 17px; font-weight: 800; color: var(--text-dark);
}
.syy-flow .tl-badge {
  font-family: var(--font-en); font-size: 11px; font-weight: 700;
  color: var(--emerald); background: rgba(16,185,129,0.08);
  padding: 3px 10px; border-radius: 6px; margin-left: 0; white-space: nowrap;
}
.syy-flow .tl-card p {
  font-size: 14px; color: var(--text-dark-sub); line-height: 1.9;
  margin-bottom: 16px;
}
.syy-flow .tl-card p:last-child { margin-bottom: 0; }

.syy-flow .tl-details {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.syy-flow .tl-detail-tag {
  font-size: 12px; font-weight: 600;
  color: var(--accent);
  background: rgba(59,130,246,0.06);
  padding: 4px 12px; border-radius: 6px;
}

/* ===== POINT SECTION ===== */
.syy-flow .point-section { padding: 56px 20px; background: #fff; }
.syy-flow .point-inner { max-width: 1000px; margin: 0 auto; }
.syy-flow .point-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
.syy-flow .point-card {
  background: #f8fafc; border: 1px solid var(--border-light);
  border-radius: 16px; padding: 36px 28px; text-align: center;
  transition: all 0.3s;
}
.syy-flow .point-card:hover {
  transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.syy-flow .point-icon { font-size: 40px; margin-bottom: 16px; display: block; }
.syy-flow .point-card h3 { font-size: 18px; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; }
.syy-flow .point-card p { font-size: 14px; color: var(--text-dark-sub); line-height: 1.8; }

/* ===== CTA ===== */
.syy-flow .cta-section {
  background: var(--gradient-main); padding: 56px 20px;
  text-align: center; position: relative; overflow: hidden;
}
.syy-flow .cta-section::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%); opacity: 0.4;
}
.syy-flow .cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.syy-flow .cta-section h2 { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 16px; }
.syy-flow .cta-section p { font-size: 16px; color: var(--text-secondary); margin-bottom: 40px; line-height: 1.9; }
.syy-flow .cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  background: var(--gradient-accent); color: #fff !important;
  padding: 16px 24px; border-radius: 12px;
  font-size: 15px; font-weight: 700; text-decoration: none !important;
  transition: all 0.3s; box-shadow: 0 6px 32px rgba(59,130,246,0.35);
  position: relative; overflow: hidden;
}
.syy-flow .cta-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  transform: translateX(-100%); transition: transform 0.6s;
}
.syy-flow .cta-btn:hover::before { transform: translateX(100%); }
.syy-flow .cta-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(59,130,246,0.5); }

/* ==========================================================================
   PC（769px〜）
   ========================================================================== */
@media (min-width: 769px) {
  .syy-flow .page-hero { padding: 80px 48px 64px; }
  .syy-flow .page-hero h1 { font-size: 40px; }
  .syy-flow .section-title { font-size: 32px; }
  .syy-flow .timeline-section { padding: 80px 48px; }
  .syy-flow .timeline::before { left: 40px; }
  .syy-flow .tl-step { gap: 32px; }
  .syy-flow .tl-marker { width: 80px; min-width: 80px; }
  .syy-flow .tl-num { width: 56px; height: 56px; font-size: 20px; }
  .syy-flow .tl-card { padding: 32px 28px; }
  .syy-flow .tl-card h3 { font-size: 20px; }
  .syy-flow .tl-card-header { flex-wrap: nowrap; }
  .syy-flow .tl-badge { margin-left: auto; }
  .syy-flow .point-section { padding: 80px 48px; }
  .syy-flow .point-grid { grid-template-columns: repeat(3, 1fr); }
  .syy-flow .cta-section { padding: 100px 48px; }
  .syy-flow .cta-section h2 { font-size: 32px; }
  .syy-flow .cta-btn { width: auto; font-size: 17px; padding: 18px 48px; }
}
