/* Case facts and outcomes follow the supplied reference. */
.case-body { padding: 24px 20px 28px; }
.case-facts { display: grid; grid-template-columns: 1.35fr .8fr 1fr 1.15fr; gap: 8px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); letter-spacing: 0; }
.case-facts > div { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 9px 3px; border-radius: 6px; background: #eff7fa; text-align: center; }
.case-facts span { color: #647b91; font-size: 12px; font-weight: 700; white-space: nowrap; }
.case-facts strong { color: #233f58; font-size: clamp(13px, 1.2vw, 18px); font-weight: 900; white-space: nowrap; }
.case-body h3 { min-height: 4.65em; margin-bottom: 18px; color: #233f58; font-size: clamp(19px, 1.75vw, 26px); font-weight: 900; line-height: 1.6; letter-spacing: -.03em; }
.case-body h3 em { color: #009bb7; font-style: normal; }
.case-title-lead { display: block; font-size: .82em; line-height: 1.95; letter-spacing: -.05em; }
.case-title-lead { display: block; font-size: .82em; line-height: 1.95; letter-spacing: -.05em; }
@media (max-width: 767px) { .case-body h3 { min-height: 0; font-size: clamp(19px, 5vw, 26px); } .case-facts strong { font-size: 15px; } .case-facts span { font-size: 11px; } }

/* Work and result rows (editable case studies). */
.case-work { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 14px 0; margin-bottom: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-work span { padding: 6px 12px; border-radius: 4px; color: #0089a6; background: #e6f4f8; font-size: 13px; font-weight: 800; white-space: nowrap; }
.case-work p { margin: 0; color: #233f58; font-size: 15px; font-weight: 700; line-height: 1.6; }
.case-result { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px 16px; border-radius: 8px; background: #f2f7fa; }
.case-result span { display: inline-flex; align-items: center; gap: 8px; color: #0089a6; font-size: 15px; font-weight: 800; white-space: nowrap; }
.case-result svg { width: 28px; height: 28px; flex: 0 0 auto; }
.case-result svg circle { fill: #0089a6; }
.case-result svg path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.case-result p { margin: 0; color: #233f58; font-size: 14px; font-weight: 500; line-height: 1.8; }

/* "View all" button under the top page cases. */
.cases-more { margin-top: 48px; text-align: center; }
.cases-more a { display: inline-flex; align-items: center; justify-content: center; gap: 40px; min-width: min(430px, 100%); min-height: 64px; padding: 16px 40px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #0a7fae, #1593c0); box-shadow: 0 14px 30px rgba(10, 127, 174, .24); font-size: 16px; font-weight: 800; letter-spacing: .08em; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.cases-more a:hover { color: #fff; box-shadow: 0 18px 36px rgba(10, 127, 174, .3); transform: translateY(-2px); }
.cases-more a:focus-visible { outline: 3px solid var(--navy-dark); outline-offset: 4px; }
.cases-more svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Case study list page. */
.cases-list { padding: 96px 0 80px; background: var(--canvas); }
.cases-list .case-grid { row-gap: 40px; }
.cases-empty { color: var(--muted); text-align: center; }
.cases-page .interview-back { padding-top: 0; background: var(--canvas); }

@media (max-width: 767px) {
  .case-work { gap: 12px; }
  .case-work p { font-size: 14px; }
  .case-result { grid-template-columns: 1fr; gap: 8px; }
  .cases-more { margin-top: 36px; }
  .cases-more a { gap: 24px; padding: 16px 24px; font-size: 15px; }
  .cases-list { padding: 56px 0 64px; }
  .cases-list .case-grid .case-card:last-child { grid-column: auto; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .cases-list .case-grid .case-card:last-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 0px) /* 2026-11: 視差効果を減らす設定でも動かす（無効化） */ { .cases-more a { transition: none; } }

/* Column cards edited in the admin: the title link covers the whole card. */
.column-card h3 a { color: inherit; text-decoration: none; }
.column-card h3 a::after { position: absolute; inset: 0; z-index: 1; border-radius: 28px; content: ''; }
.column-card h3 a:focus-visible { outline: none; }
.column-card:has(h3 a:focus-visible) { outline: 3px solid var(--cyan-deep); outline-offset: 4px; }
.column-card__more { display: flex; justify-content: space-between; gap: 12px; margin: auto 10px 0; padding-top: 15px; border-top: 1px solid var(--line); color: var(--navy); font-family: Poppins, sans-serif; font-size: var(--desktop-text-size, 10px); font-weight: 600; letter-spacing: .1em; }
.column-card__more time { color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.columns .cases-more { margin-top: 56px; }

/* Lower service pages load staffing.css instead of style.css, so the top page card frame is repeated here. */
.case-card { border: 1px solid rgba(255, 255, 255, .95); border-radius: 30px; }
.case-card:hover { box-shadow: 0 30px 54px rgba(72, 95, 132, .19); transform: translateY(-10px); }
.case-media { height: 240px; overflow: hidden; background: var(--cyan-light); }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.case-media--one img { object-position: 16% center; }
.case-media--two img { object-position: 50% center; }
.case-media--three img { object-position: 84% center; }
.case-card:hover .case-media img { transform: scale(1.04); }
