/* ==========================================================
   業種別ページ — Roadmap / PlanFit / TargetState / Cards
   ========================================================== */

/* Industry deep pain section */
.deep-pain {
  padding: 8px 0;
}
.deep-pain .section-title {
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.55;
}
.deep-pain__body {
  margin-top: 16px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 2;
}
.deep-pain__body p {
  margin: 0 0 18px;
}
.deep-pain__body p:last-child { margin-bottom: 0; }

/* Case-hero recommend chip */
.case-hero-recommend {
  margin-top: 32px;
  padding: 16px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 640px;
  box-shadow: var(--shadow-1);
}
.case-hero-recommend__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  font-family: var(--en);
}
.case-hero-recommend__plan {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-ink);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.case-hero-recommend__plan small {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
  font-family: var(--en);
}
.case-hero-recommend__next {
  font-size: 12px;
  color: var(--muted);
  flex: 1;
  min-width: 220px;
}

/* ==========================================================
   Roadmap
   ========================================================== */
.roadmap {
  margin-top: 48px;
  display: grid;
  gap: 0;
}
.roadmap__step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: stretch;
  padding-bottom: 14px;
  position: relative;
}
.roadmap__step-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.roadmap__step-dot {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--blue-line);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-family: var(--en);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.roadmap__step.is-featured .roadmap__step-dot {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.roadmap__step-line {
  width: 2px;
  flex: 1;
  background: var(--line);
  margin-top: 4px;
}
.roadmap__step:last-child .roadmap__step-line {
  display: none;
}
.roadmap__step-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 16px;
}
.roadmap__step.is-featured .roadmap__step-card {
  border-color: var(--blue);
  background: linear-gradient(180deg, var(--blue-soft) 0%, white 50%);
  box-shadow: 0 8px 24px -16px oklch(40% 0.18 252 / 0.3);
}
.roadmap__step-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.roadmap__step-tag {
  font-family: var(--en);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 3px 9px;
  border-radius: var(--r-full);
  text-transform: uppercase;
}
.roadmap__step-period {
  font-size: 11.5px;
  color: var(--muted);
}
.roadmap__step-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--r-full);
  background: var(--blue);
  color: white;
  letter-spacing: 0.04em;
}
.roadmap__step-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}
.roadmap__step-purpose {
  font-size: 12.5px;
  color: var(--blue-ink);
  font-weight: 600;
  margin-bottom: 8px;
}
.roadmap__step-body {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}
.roadmap__step-foot {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.roadmap__step-hours {
  font-size: 11.5px;
  color: var(--muted);
  font-family: var(--en);
}
.roadmap__step-price {
  font-family: var(--en);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-left: auto;
}

/* ==========================================================
   Plan fit
   ========================================================== */
.planfit {
  margin-top: 40px;
  display: grid;
  gap: 10px;
}
.planfit__row {
  display: grid;
  grid-template-columns: 1.4fr 32px 1fr;
  gap: 20px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 26px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.planfit__row:hover {
  border-color: var(--blue-line);
  box-shadow: var(--shadow-1);
}
.planfit__row.is-featured {
  border-color: var(--blue);
  background: linear-gradient(90deg, var(--blue-soft) 0%, white 60%);
}
.planfit__sit-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  font-family: var(--en);
  margin-bottom: 4px;
}
.planfit__sit-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.planfit__arrow {
  font-family: var(--en);
  font-size: 18px;
  color: var(--muted-2);
  text-align: center;
}
.planfit__plan-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.planfit__plan-pill {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  background: var(--blue);
  color: white;
  border-radius: var(--r-full);
  letter-spacing: 0.04em;
}
.planfit__plan-note {
  font-size: 11.5px;
  color: var(--muted);
  font-family: var(--en);
  margin-top: 4px;
}

/* ==========================================================
   Target state
   ========================================================== */
.target-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.target-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 0.2s;
}
.target-item:hover { border-color: var(--blue-line); }
.target-item__num {
  font-family: var(--en);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
  padding-top: 2px;
}
.target-item__text {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink);
}

/* ==========================================================
   Industry list cards (40 cards on index page)
   ========================================================== */
.industry-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 14px;
}
.ind-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.ind-card--available { cursor: pointer; }
.ind-card--available:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.ind-card--soon { opacity: 0.72; }
.ind-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ind-card__label {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.ind-card__badge {
  font-family: var(--en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 3px 8px;
  border-radius: var(--r-full);
}
.ind-card__badge--soon {
  background: var(--bg-tint);
  color: var(--muted);
}
.ind-card__issue-label {
  font-family: var(--en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.ind-card__issue p {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.75;
  margin: 0;
}
.ind-card__plans {
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  display: grid;
  gap: 10px;
}
.ind-card__plan-label {
  font-family: var(--en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 3px;
}
.ind-card__plan-first strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-ink);
  display: block;
}
.ind-card__plan-first small {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--en);
}
.ind-card__plan-next span:last-child {
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
}
.ind-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
  margin-top: auto;
  padding-top: 6px;
}
.ind-card__more .arrow { transition: transform 0.2s; }
.ind-card--available:hover .ind-card__more .arrow { transform: translateX(3px); }
.ind-card__more--soon {
  color: var(--muted);
  font-weight: 500;
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 720px) {
  .roadmap__step { grid-template-columns: 32px 1fr; gap: 14px; }
  .roadmap__step-dot { width: 28px; height: 28px; font-size: 12px; }
  .roadmap__step-card { padding: 18px 18px; }
  .planfit__row { grid-template-columns: 1fr; gap: 8px; padding: 16px 18px; }
  .planfit__arrow { display: none; }
  .target-grid { grid-template-columns: 1fr; }
  .case-hero-recommend { flex-direction: column; align-items: flex-start; gap: 6px; }
  .industry-card-grid { grid-template-columns: 1fr; }
}
