.use-case-page { min-height: 100vh; background: var(--blue-pale); }
.use-case-detail-main { padding: clamp(42px, 7vw, 96px) 0 clamp(72px, 9vw, 126px); }
.use-case-detail-inner { width: min(1180px, calc(100% - (var(--page-gutter) * 2))); margin: 0 auto; }
.use-case-back-link { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 28px; color: var(--blue); font-size: 14px; font-weight: 800; }
.use-case-back-link::before { content: ""; width: 8px; height: 8px; border-bottom: 2px solid currentColor; border-left: 2px solid currentColor; transform: rotate(45deg); }
.use-case-back-link:hover { color: var(--slate); }
.use-case-detail-heading { max-width: 760px; }
.use-case-detail-heading .section-eyebrow { margin-bottom: 12px; }
.use-case-detail-heading h1 { margin: 0; color: var(--slate); font-size: clamp(38px, 5vw, 64px); letter-spacing: -.055em; line-height: 1.05; }
.use-case-detail-intro { max-width: 720px; margin: 22px 0 42px; color: #566780; font-size: clamp(17px, 2vw, 20px); line-height: 1.6; }
.detail-visual { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--slate); }
.detail-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail-visual-features { position: absolute; z-index: 2; left: 25px; bottom: 24px; display: grid; gap: 8px; max-width: min(300px, calc(100% - 50px)); margin: 0; padding: 16px 19px; border: 1px solid #9dbce7; border-radius: 10px; background: rgb(255 255 255 / 94%); list-style: none; }
.detail-visual-features li { color: var(--slate); font-size: 14px; font-weight: 700; line-height: 1.35; }
.detail-visual-features li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 9px 2px 0; border-radius: 50%; background: var(--blue); }
.use-case-gallery { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: start; }
.use-case-gallery-navigation { display: grid; gap: 18px; }
.use-case-gallery-prompt { margin: 0; color: #566780; font-size: 15px; font-weight: 700; line-height: 1.45; }
.use-case-gallery-tabs { display: grid; overflow: hidden; border: 1px solid #cbd9eb; background: var(--white); }
.use-case-gallery-tabs button { position: relative; min-height: 78px; padding: 18px 20px 18px 25px; border: 0; border-bottom: 1px solid #d7e1ee; background: transparent; color: var(--slate); font: inherit; font-size: 16px; font-weight: 800; text-align: left; cursor: pointer; }
.use-case-gallery-tabs button:last-child { border-bottom: 0; }
.use-case-gallery-tabs button:hover { background: #f5f9fe; color: var(--blue); }
.use-case-gallery-tabs button[aria-current="true"] { background: var(--blue-soft); color: var(--blue); }
.use-case-gallery-tabs button[aria-current="true"]::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--blue); }
.use-case-gallery-tabs button:focus-visible, .use-case-gallery-arrow:focus-visible { z-index: 2; outline: 3px solid #9dbce7; outline-offset: -3px; }
.use-case-gallery-content { min-width: 0; }
.use-case-gallery-viewport { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--slate); }
.use-case-gallery-slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.use-case-gallery-slide img { width: 100%; height: 100%; }
.use-case-gallery-slide img { display: block; object-fit: cover; }
.use-case-gallery-slide.is-entering-next { animation: use-case-gallery-enter-next 420ms ease both; }
.use-case-gallery-slide.is-leaving-next { animation: use-case-gallery-leave-next 420ms ease both; }
.use-case-gallery-slide.is-entering-previous { animation: use-case-gallery-enter-previous 420ms ease both; }
.use-case-gallery-slide.is-leaving-previous { animation: use-case-gallery-leave-previous 420ms ease both; }
@keyframes use-case-gallery-enter-next { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes use-case-gallery-leave-next { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes use-case-gallery-enter-previous { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes use-case-gallery-leave-previous { from { transform: translateX(0); } to { transform: translateX(100%); } }
.use-case-gallery-arrow { position: absolute; z-index: 1; top: 50%; display: grid; width: 46px; height: 46px; padding: 0; place-items: center; border: 2px solid var(--blue); border-radius: 50%; background: var(--white); color: var(--blue); cursor: pointer; transform: translateY(-50%); transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.use-case-gallery-arrow:hover { background: var(--blue-soft); transform: translateY(-50%) scale(1.06); }
.use-case-gallery-arrow span { width: 10px; height: 10px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.use-case-gallery-arrow-previous { left: 18px; }
.use-case-gallery-arrow-previous span { transform: rotate(-135deg); }
.use-case-gallery-arrow-next { right: 18px; }
.use-case-gallery-arrow-next span { transform: rotate(45deg); }
.use-case-gallery-descriptions { min-height: 0; }
.use-case-gallery-descriptions section { margin-top: 20px; padding: 24px 26px; border-left: 5px solid var(--blue); background: var(--white); }
.use-case-gallery-descriptions h2 { margin: 0 0 8px; color: var(--slate); font-size: 22px; letter-spacing: -.03em; }
.use-case-gallery-descriptions p { margin: 0; color: #566780; line-height: 1.55; }
.brand-inline { color: var(--blue); font-weight: 700; }
.use-case-gallery-descriptions p + p { margin-top: 13px; }
.use-case-gallery-responsibility-note { display: flex; gap: 14px; align-items: flex-start; margin: 22px 0 0; padding: 18px 20px; border: 1px solid #e4b651; border-left: 5px solid #c68a12; background: #fff4d8; color: #684706; font-size: 14px; line-height: 1.55; }
.use-case-gallery-responsibility-note p { margin: 0; }
.use-case-gallery-responsibility-icon { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: #a86f00; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.detail-use-case-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; margin-top: 32px; padding: 30px; border: 1px solid #cbd9eb; background: var(--white); }
.detail-use-case-card h2 { margin: 0 0 9px; color: var(--slate); font-size: 23px; letter-spacing: -.03em; }
.detail-use-case-card p { max-width: 660px; margin: 0; color: #566780; line-height: 1.55; }
.detail-contact { margin-top: 42px; padding: clamp(30px, 5vw, 54px); background: var(--slate); color: var(--white); }
.detail-contact h2 { max-width: 620px; margin: 0; color: var(--white); font-size: clamp(28px, 4vw, 42px); letter-spacing: -.04em; }
.detail-contact p { max-width: 570px; margin: 15px 0 26px; color: #d4dfed; line-height: 1.55; }
.use-case-page .footer { width: min(1180px, calc(100% - (var(--page-gutter) * 2))); }
@media (orientation: portrait) {
  .use-case-detail-inner { width: calc(100% - 40px); }
  .detail-visual { width: 100vw; margin-left: calc(50% - 50vw); }
  .use-case-gallery { display: flex; flex-direction: column; gap: 20px; }
  .use-case-gallery-navigation { width: 100%; gap: 11px; }
  .use-case-gallery-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
  .use-case-gallery-tabs-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .use-case-gallery-tabs-four button { padding-inline: 6px; font-size: 12px; }
  .use-case-gallery-tabs button { min-height: 58px; padding: 12px 8px; border-right: 1px solid #d7e1ee; border-bottom: 0; font-size: 13px; text-align: center; }
  .use-case-gallery-tabs button:last-child { border-right: 0; }
  .use-case-gallery-tabs button[aria-current="true"]::before { inset: auto 0 0; width: auto; height: 4px; }
  .use-case-gallery-content { width: 100vw; margin-left: calc(50% - 50vw); }
  .use-case-gallery-descriptions { width: calc(100% - 40px); margin: 0 auto; }
  .use-case-gallery-descriptions section { margin-top: 20px; padding: 22px; }
  .use-case-gallery-arrow { width: 42px; height: 42px; }
  .use-case-gallery-arrow-previous { left: 12px; }
  .use-case-gallery-arrow-next { right: 12px; }
  .detail-visual-features { position: static; max-width: none; margin: 20px; padding: 0; border: 0; border-radius: 0; background: transparent; }
  .detail-visual-features li { color: var(--white); }
  .detail-use-case-card { grid-template-columns: 1fr; padding: 24px; }
}
