:root { --ink: #101820; --navy: #10243d; --paper: #f4f3ee; --white: #fff; --yellow: #ffc900; --shell: min(1120px, calc(100% - 40px)); }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; line-height: 1.8; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 10px 14px; color: var(--white); background: var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { color: var(--white); background: #0c1117; }
.header-inner { width: var(--shell); min-height: 76px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner > span { color: #b8c2cd; font-size: 13px; letter-spacing: .08em; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--white); font-weight: 800; text-decoration: none; }
.brand strong { padding: 7px 13px; color: #0c1117; background: var(--yellow); font-family: Arial, sans-serif; font-size: 21px; line-height: 1.2; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 18px; color: #5d6872; font-size: 12px; }
.breadcrumb a { color: inherit; text-underline-offset: 3px; }
.case-hub { padding-block: clamp(38px, 6vw, 72px); }
.case-hub h1 { margin: 0 0 clamp(24px, 4vw, 42px); font-size: clamp(32px, 4vw, 48px); line-height: 1.35; }
.case-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 24px; align-items: stretch; }
.case-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; color: var(--ink); background: var(--white); border: 1px solid rgba(169, 120, 69, .42); border-radius: 6px; box-shadow: 0 12px 28px rgba(23, 38, 58, .12); text-decoration: none; }
.case-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--metal); }
.case-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .2s ease; }
.case-media--contain img { object-fit: contain; }
.case-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px; }
.case-title { display: block; color: var(--navy); font-size: clamp(19px, 1.7vw, 24px); font-weight: 900; line-height: 1.45; }
.case-summary { display: block; margin-top: 10px; color: var(--ink); font-size: 14px; line-height: 1.75; }
.case-link { display: inline-flex; align-items: center; gap: .35em; margin-top: auto; padding-top: 18px; color: var(--rust); font-weight: 900; }
.case-card:hover .case-media img, .case-card:focus-visible .case-media img { transform: scale(1.015); }
a:focus-visible { outline: 4px solid var(--yellow); outline-offset: 3px; }
footer { padding-block: 38px; color: #b8c2cd; background: #0c1117; font-size: 12px; }
footer p { width: var(--shell); margin: 0 auto; }
@media (max-width: 960px) { .case-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .case-list { grid-template-columns: 1fr; } }
@media (max-width: 560px) { :root { --shell: min(100% - 24px, 1120px); } .header-inner { min-height: 66px; } .brand span, .header-inner > span { display: none; } .case-body { padding: 18px; } }

/* 2026-09-02: 東伸の公式6色へ統一 */
:root {
  --ink: #17263a;
  --navy: #17263a;
  --paper: #f4e8cf;
  --white: #ffffff;
  --yellow: #c99a2e;
  --wood: #a97845;
  --rust: #a8563e;
  --metal: #e3e2db;
}
.site-header { background: var(--navy); }
.header-inner > span { color: var(--metal); }
.brand strong { color: var(--navy); background: var(--yellow); }
.breadcrumb { color: var(--ink); font-size: 14px; font-weight: 700; }
.breadcrumb + .toshin-brand-panel { margin-top: 24px; margin-bottom: clamp(40px, 5vw, 56px); }
.toshin-brand-panel.toshin-brand-panel--image-only { display: block; }
.toshin-brand-panel--image-only .toshin-brand-panel__image {
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}
.case-hub { padding-top: 0; padding-bottom: clamp(32px, 4vw, 48px); }
.clinic-guide-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; width: min(1120px, calc(100% - 40px)); margin: 0 auto clamp(40px, 5vw, 56px); }
.clinic-guide-stack .toshin-mascot-guide { width: 100%; height: 100%; margin: 0; }
.case-hub h1 { color: var(--navy); }
.case-card { background: var(--white); }
.case-media { background: var(--metal); }
a:focus-visible { outline-color: var(--rust); }
footer { color: var(--metal); background: var(--navy); }
@media (max-width: 820px) { .clinic-guide-stack { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .breadcrumb + .toshin-brand-panel { margin-top: 20px; margin-bottom: 32px; }
  .case-hub { padding-bottom: 32px; }
  .clinic-guide-stack { width: min(100% - 24px, 1120px); gap: 12px; margin-bottom: 36px; }
}
