/* ============================================================
   業務改善支援ページ
   ============================================================ */

/* ---------------- 共通 ---------------- */
.ws-head { max-width: 860px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.ws-head span { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--brand-2); }
.ws-head h2 { font-size: clamp(24px, 3.2vw, 38px); line-height: 1.5; color: var(--brand-ink); }
.ws-head p { margin-top: 18px; font-size: 15px; line-height: 2; color: var(--ink-2); }

.ws-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 300px; padding: 18px 32px; border-radius: 999px; background: #06C755; color: #fff; font-size: 17px; font-weight: 700; box-shadow: 0 10px 26px rgba(6,199,85,.25); transition: transform .15s ease, background .15s ease; }
.ws-btn:hover { background: #05b34c; transform: translateY(-2px); }

/* ---------------- ファーストビュー ---------------- */
.ws-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.ws-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(24px, 4vw, 56px); }
.ws-hero__label { margin-bottom: 14px; font-size: 15px; font-weight: 700; color: var(--brand-2); }
.ws-hero__catch { font-size: clamp(34px, 5.2vw, 64px); line-height: 1.3; color: var(--ink); }
.ws-hero__catch span { color: var(--brand-ink); }
.ws-hero__lead { margin: 26px 0 12px; font-size: clamp(15px, 1.5vw, 17px); font-weight: 600; line-height: 2; color: var(--ink-2); }
.ws-hero__tools { margin-bottom: 30px; font-size: 14px; color: var(--ink-mute); }
@media (max-width: 880px) {
  .ws-hero__grid { grid-template-columns: 1fr; }
  .ws-hero__art { order: -1; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .ws-btn { min-width: 0; width: 100%; }
}

.ws-band { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin: 0; padding: 18px 20px; list-style: none; background: var(--brand-ink); color: #fff; font-size: 15px; font-weight: 700; }
.ws-band li::before { content: "✓"; margin-right: 8px; }

/* ---------------- お悩み ---------------- */
.ws-worries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 980px; margin: 0 auto; }
.ws-worries p { position: relative; padding: 22px 24px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); font-size: 15px; font-weight: 700; line-height: 1.85; color: var(--ink); }
.ws-worries p::after { content: ""; position: absolute; left: 36px; bottom: -9px; width: 18px; height: 18px; background: #fff; transform: rotate(45deg); box-shadow: 4px 4px 6px rgba(14,27,46,.04); }
@media (max-width: 820px) {
  .ws-worries { grid-template-columns: 1fr; }
}

.ws-arrow { position: relative; z-index: 2; height: 0; }
.ws-arrow::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); border-left: 90px solid transparent; border-right: 90px solid transparent; border-top: 44px solid var(--bg-soft); }
.ws-arrow::after { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); border-left: 26px solid transparent; border-right: 26px solid transparent; border-top: 20px solid var(--brand); }

/* ---------------- 導入で変わること ---------------- */
.ws-solve { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ws-solve__card { position: relative; display: flex; flex-direction: column; overflow: visible; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-align: center; }
.ws-solve__no { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 3px 16px; border-radius: 999px; background: var(--brand-2); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.ws-solve__card h3 { padding: 24px 12px 16px; border-radius: var(--r) var(--r) 0 0; background: var(--brand-ink); color: #fff; font-size: 15.5px; }
.ws-solve__before { position: relative; margin: 20px 16px 30px; font-size: 13.5px; line-height: 1.8; color: var(--ink-3); }
.ws-solve__before::after { content: ""; position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 14px solid var(--brand-2); }
.ws-solve__after { margin: 0 16px 22px; font-size: 14px; font-weight: 700; line-height: 1.8; color: var(--brand-ink); }
@media (max-width: 1000px) {
  .ws-solve { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
}
@media (max-width: 560px) {
  .ws-solve { grid-template-columns: 1fr; }
}

/* ---------------- 進め方のパターン ---------------- */
.ws-pattern { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ws-pattern__card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.ws-pattern__head { position: relative; padding: 30px 16px 20px; background: var(--brand-ink); color: #fff; font-size: 16px; font-weight: 700; line-height: 1.6; text-align: center; }
.ws-pattern__head span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); padding: 2px 16px; border-radius: 0 0 12px 12px; background: var(--brand-2); font-size: 12.5px; letter-spacing: .06em; white-space: nowrap; }
.ws-pattern__body { padding: 22px; }
.ws-pattern__body b { display: block; margin-bottom: 8px; font-size: 15px; color: var(--brand); }
.ws-pattern__body ul { margin: 0 0 16px; padding-left: 1.2em; font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.ws-pattern__body p { padding: 14px 16px; border-radius: var(--r-sm); background: var(--bg-soft); font-size: 14px; line-height: 1.85; color: var(--ink-2); }
@media (max-width: 900px) {
  .ws-pattern { grid-template-columns: 1fr; }
}

.ws-cta { margin-top: clamp(36px, 5vw, 52px); text-align: center; }
.ws-cta p { margin-bottom: 18px; font-size: 16px; font-weight: 700; color: var(--ink); }

/* ---------------- 対応できる業務 ---------------- */
.ws-area { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ws-area__card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.ws-area__card h3 { margin-bottom: 10px; font-size: 19px; color: var(--brand-ink); }
.ws-area__card p { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
@media (max-width: 900px) {
  .ws-area { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ws-area { grid-template-columns: 1fr; }
}

/* ---------------- 選ばれる理由 ---------------- */
.ws-reason { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ws-reason__card { padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.ws-reason__card h3 { margin-bottom: 16px; font-size: 18px; line-height: 1.6; color: var(--brand-ink); text-align: center; }
.ws-reason__card p { font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }
@media (max-width: 1000px) {
  .ws-reason { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ws-reason { grid-template-columns: 1fr; }
}

/* ---------------- 5ステップ ---------------- */
.ws-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; text-align: center; }
.ws-steps::before { content: ""; position: absolute; top: 74px; left: 10%; right: 10%; height: 1px; background: #BFD3FF; }
.ws-steps li { position: relative; display: flex; flex-direction: column; align-items: center; }
.ws-steps__no { margin-bottom: 10px; font-family: var(--font-num); font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--brand-2); }
.ws-steps__ico { display: grid; place-items: center; width: 92px; height: 92px; margin-bottom: 18px; border: 2px solid var(--brand-ink); border-radius: 50%; background: #fff; color: var(--brand-ink); }
.ws-steps h3 { margin-bottom: 8px; font-size: 17px; color: var(--brand-ink); }
.ws-steps p { font-size: 14px; line-height: 1.8; color: var(--ink-2); }
@media (max-width: 900px) {
  .ws-steps { grid-template-columns: 1fr; gap: 28px; }
  .ws-steps::before { display: none; }
}

/* ---------------- 相談の案内 ---------------- */
.ws-consult { padding: clamp(48px, 6vw, 72px) 0; background: var(--bg-tint); }
.ws-consult__in { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 72px); }
.ws-consult__title { font-size: clamp(20px, 2.6vw, 30px); font-weight: 700; line-height: 1.6; color: var(--ink); }
.ws-consult__sub { margin-top: 12px; font-size: 14px; color: var(--ink-mute); }
@media (max-width: 880px) {
  .ws-consult__in { flex-direction: column; text-align: center; }
}

/* ---------------- お問い合わせ ---------------- */
.ws-contact { background: var(--brand-ink); color: #fff; }
.ws-contact__in { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 64px); }
.ws-contact__text h2 { margin-bottom: 20px; font-size: clamp(28px, 3.6vw, 44px); color: #fff; }
.ws-contact__text p { margin-bottom: 14px; font-size: 15.5px; line-height: 1.95; color: #fff; }
.ws-contact__text ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.ws-contact__text li { padding: 6px 16px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 13.5px; font-weight: 600; }
.ws-contact__box { padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: #fff; color: var(--ink); text-align: center; }
.ws-contact__box-title { margin-bottom: 18px; font-size: 19px; font-weight: 700; }
.ws-contact__mail { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.ws-contact__mail a { color: var(--brand); font-weight: 700; }
@media (max-width: 880px) {
  .ws-contact__in { grid-template-columns: 1fr; }
}
