.refresh-header {
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(0, 95, 185, .12);
  box-shadow: 0 10px 34px rgba(15, 45, 75, .08);
  backdrop-filter: blur(18px);
}

.refresh-header .header-inner {
  grid-template-columns: 300px 1fr auto;
  min-height: 82px;
}

.refresh-brand,
.refresh-footer-brand {
  display: flex;
  align-items: center;
  overflow: visible;
  border: 0;
  background: #fff;
}

.refresh-brand {
  width: 390px;
  height: 68px;
  padding: 8px 16px;
  border-radius: 8px;
  gap: 13px;
  box-shadow: 0 12px 28px rgba(26, 65, 105, .13);
  text-decoration: none;
}

.refresh-brand .brand-mark,
.refresh-footer-brand .brand-mark {
  width: 78px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
  color: #111827;
  line-height: 1.12;
}

.brand-copy strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-copy em {
  display: block;
  color: #25364a;
  font-family: Arial, sans-serif;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.refresh-hero {
  min-height: max(720px, 100svh);
  background:
    linear-gradient(90deg, rgba(247, 251, 255, .98), rgba(247, 251, 255, .9) 38%, rgba(247, 251, 255, .18) 74%),
    linear-gradient(0deg, rgba(247, 251, 255, .94), rgba(247, 251, 255, .08) 48%),
    url("/images/cases/case-abb-robot.webp") 68% center / cover no-repeat;
}

.refresh-hero h1 {
  max-width: 760px;
  color: #071f38;
  font-size: clamp(50px, 6.4vw, 88px);
}

.refresh-hero .hero-description {
  color: #455d74;
}

.refresh-status {
  color: #10263b;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 42px rgba(26, 65, 105, .16);
}

.refresh-cases {
  background: linear-gradient(180deg, #fff, #edf6fd);
}

.featured-case {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(0, 95, 185, .14);
  border-radius: 8px;
  margin-bottom: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(26, 65, 105, .16);
}

.featured-case figure {
  min-height: 520px;
  margin: 0;
}

.featured-case img,
.case-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-case > div {
  display: flex;
  justify-content: center;
  padding: clamp(30px, 4vw, 56px);
  flex-direction: column;
}

.featured-case h3 {
  margin: 18px 0 18px;
  color: #08233c;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.18;
}

.featured-case p,
.featured-case li {
  color: #516679;
}

.featured-case ul {
  padding: 22px 0 0;
  border-top: 1px solid rgba(0, 95, 185, .13);
  margin: 24px 0 0;
  list-style: none;
}

.featured-case li + li {
  margin-top: 8px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.case-mini {
  overflow: hidden;
  border: 1px solid rgba(0, 95, 185, .13);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(26, 65, 105, .11);
}

.case-mini img {
  aspect-ratio: 4 / 3;
}

.case-mini div {
  padding: 20px;
}

.case-mini h3 {
  margin: 0 0 8px;
  color: #09233d;
  font-size: 19px;
  line-height: 1.3;
}

.case-mini p {
  margin: 0;
  color: #5f7184;
  font-size: 14px;
}

.refresh-service-grid .service-card {
  border-radius: 0;
}

.library-section {
  background: #eef5fb;
}

.library-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.library-layout h2 {
  margin: 16px 0 18px;
  color: #08233c;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.14;
}

.library-layout p {
  color: #516679;
}

.library-points {
  display: grid;
  gap: 14px;
}

.library-points p {
  padding: 22px 24px;
  border: 1px solid rgba(0, 95, 185, .13);
  border-radius: 8px;
  margin: 0;
  background: #fff;
  box-shadow: 0 14px 32px rgba(26, 65, 105, .09);
}

.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-strip span {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(0, 95, 185, .15);
  border-radius: 8px;
  color: #143554;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 28px rgba(26, 65, 105, .08);
  font-weight: 700;
}

.logo-sea-panel {
  border-radius: 8px;
}

.logo-sea {
  overflow: hidden;
}

.logo-sea-scroll {
  width: max-content;
  min-height: 340px;
  overflow: visible;
  scrollbar-width: none;
  will-change: transform;
}

.logo-sea-scroll[data-logo-sea-ready="true"] {
  animation: logo-sea-drift 58s linear infinite;
}

.logo-sea-scroll::-webkit-scrollbar {
  display: none;
}

.logo-sea-scroll:focus-visible {
  outline-offset: -4px;
}

.logo-sea .brand-tile {
  border-radius: 8px;
}

@keyframes logo-sea-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.refresh-contact {
  background:
    linear-gradient(90deg, rgba(0, 95, 185, .94), rgba(18, 134, 234, .82)),
    url("/images/cases/case-yaskawa-robot.webp") center / cover no-repeat;
}

.refresh-footer-brand {
  width: 420px;
  height: 108px;
  padding: 16px 20px;
  border-radius: 8px;
  gap: 16px;
  box-shadow: 0 12px 28px rgba(26, 65, 105, .12);
  text-decoration: none;
}

.refresh-footer-brand .brand-mark {
  width: 100px;
  height: 62px;
}

.refresh-footer-brand .brand-copy strong {
  font-size: 20px;
}

.refresh-footer-brand .brand-copy em {
  font-size: 8px;
}

@media (max-width: 1100px) {
  .refresh-header .header-inner {
    grid-template-columns: 360px 1fr;
  }

  .refresh-brand {
    width: 342px;
  }

  .refresh-brand .brand-mark {
    width: 68px;
  }

  .refresh-brand .brand-copy strong {
    font-size: 16px;
  }

  .refresh-brand .brand-copy em {
    font-size: 6px;
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .refresh-header .header-inner {
    grid-template-columns: minmax(0, 1fr) 46px;
  }

  .featured-case,
  .library-layout {
    grid-template-columns: 1fr;
  }

  .featured-case figure {
    min-height: 430px;
  }
}

@media (max-width: 620px) {
  .refresh-brand {
    width: min(318px, calc(100vw - 92px));
    height: 64px;
    padding: 8px 12px;
    gap: 10px;
  }

  .refresh-brand .brand-mark {
    width: 64px;
    height: 44px;
  }

  .refresh-brand .brand-copy strong {
    font-size: 14px;
  }

  .refresh-brand .brand-copy em {
    font-size: 5px;
  }

  .refresh-hero {
    background:
      linear-gradient(180deg, rgba(247, 251, 255, .98), rgba(247, 251, 255, .83) 58%, rgba(247, 251, 255, .18)),
      url("/images/cases/case-abb-robot.webp") 58% center / cover no-repeat;
  }

  .refresh-hero h1 {
    font-size: clamp(42px, 12vw, 60px);
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .featured-case figure {
    min-height: 360px;
  }

  .brand-strip span {
    flex: 1 1 140px;
  }

  .logo-sea-panel {
    padding: 18px 0;
  }

  .logo-sea-scroll {
    grid-auto-columns: 150px;
    grid-template-rows: repeat(3, 96px);
    min-height: 318px;
    padding-inline: 16px;
  }

  .refresh-footer-brand {
    width: 100%;
    max-width: 360px;
    height: 94px;
  }

  .refresh-footer-brand .brand-copy strong {
    font-size: 17px;
  }

  .refresh-footer-brand .brand-copy em {
    font-size: 6px;
  }
}

/* Case library rebuild 2026-07-05 */

.case-overview-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 32px;
  align-items: stretch;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(0, 95, 185, .13);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 58px rgba(26, 65, 105, .12);
}

.case-overview-panel h3 {
  margin: 16px 0;
  color: #08233c;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
}

.case-overview-panel p {
  color: #556b7f;
}

.home-case-types,
.case-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-case-type {
  display: flex;
  min-height: 112px;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid rgba(0, 95, 185, .14);
  border-radius: 8px;
  flex-direction: column;
  color: #0c2e4d;
  background: #f7fbff;
  text-decoration: none;
}

.home-case-type strong {
  font-size: 22px;
}

.home-case-type span {
  color: #5f7184;
}

.home-case-type em {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: #0067b8;
  font-style: normal;
  font-weight: 800;
}

.home-case-type em::after {
  content: ">";
}

.home-case-type:hover,
.home-case-type:focus-visible {
  border-color: rgba(0, 103, 184, .38);
  background: #fff;
  box-shadow: 0 16px 36px rgba(26, 65, 105, .12);
}

.case-page-hero {
  padding: 148px 0 72px;
  background: linear-gradient(180deg, #f7fbff, #eaf4fb);
}

.case-page-hero h1 {
  margin: 14px 0 18px;
  color: #071f38;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.08;
}

.case-page-hero p {
  max-width: 820px;
  color: #516679;
  font-size: 18px;
}

.case-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.case-type-card {
  display: grid;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid rgba(0, 95, 185, .13);
  border-radius: 8px;
  color: #0b2c4b;
  background: #fff;
  box-shadow: 0 18px 46px rgba(26, 65, 105, .1);
  text-decoration: none;
}

.case-type-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case-type-card span,
.case-type-card strong,
.case-type-card em,
.case-type-card p {
  margin-inline: 22px;
}

.case-type-card span {
  margin-top: 20px;
  color: #0067b8;
  font-weight: 800;
}

.case-type-card strong {
  font-size: 26px;
}

.case-type-card em {
  color: #64778a;
  font-style: normal;
}

.case-type-card p {
  margin-bottom: 24px;
  color: #516679;
}

.brand-filter {
  display: flex;
  position: sticky;
  z-index: 2;
  top: 92px;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0 24px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
}

.brand-filter a {
  padding: 10px 14px;
  border: 1px solid rgba(0, 95, 185, .15);
  border-radius: 8px;
  color: #123754;
  background: #fff;
  text-decoration: none;
  font-weight: 700;
}

.brand-case-section {
  padding: 34px 0 18px;
  border-top: 1px solid rgba(0, 95, 185, .12);
}

.brand-case-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.brand-case-heading h2 {
  margin: 8px 0 0;
  color: #08233c;
  font-size: clamp(30px, 4vw, 52px);
}

.brand-case-heading span {
  color: #516679;
  font-weight: 700;
}

.case-library-list {
  display: grid;
  gap: 18px;
}

.case-library-card {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(0, 95, 185, .13);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(26, 65, 105, .09);
}

.case-library-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 260px;
  background: #eef5fb;
}

.case-library-media .case-asset:only-child {
  grid-column: 1 / -1;
}

.case-asset {
  position: relative;
  min-height: 240px;
  margin: 0;
}

.case-asset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-asset video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #071f38;
}

.case-asset figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #fff;
  background: rgba(7, 31, 56, .78);
  font-size: 12px;
  font-weight: 800;
}

.case-library-copy {
  display: flex;
  justify-content: center;
  padding: 28px;
  flex-direction: column;
}

.case-kicker {
  margin: 0 0 10px;
  color: #0067b8;
  font-weight: 800;
}

.case-library-copy h3 {
  margin: 0 0 12px;
  color: #08233c;
  font-size: 24px;
  line-height: 1.25;
}

.case-library-copy p {
  color: #516679;
}

.case-library-copy dl {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

.case-library-copy dl div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
}

.case-library-copy dt {
  color: #7a8998;
}

.case-library-copy dd {
  min-width: 0;
  margin: 0;
  color: #233d56;
  overflow-wrap: anywhere;
}

.empty-case-note {
  padding: 30px;
  border: 1px solid rgba(0, 95, 185, .13);
  border-radius: 8px;
  color: #516679;
  background: #fff;
}

@media (max-width: 980px) {
  .case-overview-panel,
  .case-library-card {
    grid-template-columns: 1fr;
  }

  .home-case-types,
  .case-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .case-page-hero {
    padding: 118px 0 54px;
  }

  .home-case-types,
  .case-type-grid,
  .case-library-media {
    grid-template-columns: 1fr;
  }

  .brand-filter {
    position: static;
  }

  .brand-case-heading {
    align-items: start;
    flex-direction: column;
  }

  .case-library-copy dl div {
    grid-template-columns: 1fr;
  }
}
