/* ======================================================
   KENNDO — page-service.css
   ====================================================== */

/* ---- Intro ---- */
.intro h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800; color: var(--navy); line-height: 1.45; margin-bottom: 20px;
}

/* ---- Timeline (5 STEP) ---- */
.timeline { display: grid; gap: 0; position: relative; padding-left: 60px; }
.timeline::before {
  content: ''; position: absolute; left: 22px; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(to bottom, var(--accent) 0%, var(--navy) 100%);
  border-radius: 2px;
}
.tl-item {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 0 0 48px; position: relative;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-node {
  position: absolute; left: -60px;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-darker) 100%);
  color: #fff; font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.tl-body {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 28px 32px;
  border: 1px solid var(--line); width: 100%;
  transition: box-shadow var(--transition);
}
.tl-body:hover { box-shadow: var(--shadow-md); }
.tl-body .en {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  color: var(--accent-text); margin-bottom: 8px; display: block;
}
.tl-body h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.tl-body p { font-size: 14.5px; color: #48535f; line-height: 1.9; }

/* ---- 主要サービス ---- */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.svc .card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow var(--transition), transform var(--transition);
}
.svc .card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.svc .thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a78 100%);
  position: relative; overflow: hidden;
}
.svc .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc .body { padding: 22px 24px 28px; }
.svc .cat {
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .14em; color: var(--accent-text); margin-bottom: 8px;
}
.svc .body h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.svc .body p { font-size: 13.5px; color: #48535f; line-height: 1.85; margin-bottom: 14px; }
.svc .more {
  font-size: 13px; font-weight: 700; color: var(--accent-text);
  cursor: pointer;
}

/* ---- フロー ---- */
.flow {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; position: relative; margin-top: 40px;
}
.flow::before {
  content: ''; position: absolute;
  top: 28px; left: 10%; right: 10%; height: 3px;
  background: linear-gradient(to right, var(--accent), var(--navy));
  border-radius: 2px; z-index: 0;
}
.fl {
  text-align: center; position: relative; z-index: 1;
  padding: 0 8px;
}
.fl .n {
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent);
  color: var(--navy); font-family: 'Montserrat', sans-serif;
  font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), color var(--transition);
}
.fl:hover .n { background: var(--accent-dark); color: #fff; }
.fl p { font-size: 13px; color: var(--navy); font-weight: 600; line-height: 1.5; }

.subnote {
  font-size: 14px; color: var(--muted);
  background: var(--bg-alt); border-radius: 8px; padding: 14px 20px;
}

@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 20px; }
  .flow::before { display: none; }
  .fl { display: flex; gap: 20px; align-items: center; text-align: left; }
  .fl .n { margin: 0; flex-shrink: 0; }
  .timeline { padding-left: 40px; }
}
