.achievement-card-image {
  position: relative;
}

.achievement-card.has-link {
  cursor: pointer;
}

.achievement-card.has-link:hover {
  box-shadow: 0 14px 34px rgba(8, 38, 83, 0.14);
}

.achievement-card.has-link:hover .achievement-gallery-track img {
  transform: scale(1.04);
}

.achievement-card h3 a {
  color: inherit;
  text-decoration: none;
}

.achievement-card h3 a:hover {
  color: #064b9d;
}

.achievement-gallery-track {
  width: 100%;
  height: 100%;
}

.achievement-gallery-track img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.achievement-card-image.has-gallery .achievement-gallery-track img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.35s ease;
}

.achievement-card-image.has-gallery .achievement-gallery-track img.is-active {
  opacity: 1;
  z-index: 1;
}

.achievement-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #064b9d;
  box-shadow: 0 4px 12px rgba(8, 38, 83, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.achievement-gallery-nav:hover {
  background: #064b9d;
  color: #fff;
  box-shadow: 0 6px 16px rgba(8, 38, 83, 0.22);
}

.achievement-gallery-prev {
  left: 12px;
}

.achievement-gallery-next {
  right: 12px;
}

.achievement-gallery-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.achievement-gallery-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.achievement-gallery-dots button.is-active {
  background: #064b9d;
  border-color: #fff;
}

@media (max-width: 640px) {
  .achievement-gallery-nav {
    width: 30px;
    height: 30px;
  }

  .achievement-gallery-prev {
    left: 9px;
  }

  .achievement-gallery-next {
    right: 9px;
  }
}

.case-single {
  margin-top: var(--header-height);
  background: #fff;
}

.case-single-hero {
  padding: 64px 0 44px;
  background: linear-gradient(180deg, #eef6ff 0%, #ffffff 100%);
}

.case-single-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 42px;
  align-items: center;
}

.case-single-category {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 14px;
  color: #064b9d;
  background: #e8f2ff;
  border: 1px solid #cfe1f8;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.case-single-hero h1 {
  margin: 0 0 24px;
  color: #082653;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.38;
}

.case-single-hero h1 span {
  display: block;
  margin-bottom: 8px;
  color: #064b9d;
  font-size: 1rem;
  font-weight: 700;
}

.case-single-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.case-single-meta div {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #dfe8f4;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(8, 38, 83, 0.06);
}

.case-single-meta dt {
  margin-bottom: 4px;
  color: #718096;
  font-size: 0.78rem;
  font-weight: 700;
}

.case-single-meta dd {
  margin: 0;
  color: #10233f;
  font-weight: 700;
}

.case-single-hero-image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #dfeaf7;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(8, 38, 83, 0.16);
}

.case-single-hero-image img,
.case-single-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-single-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #064b9d;
  font-size: 1.8rem;
  font-weight: 800;
}

.case-single-body {
  padding: 54px 0 80px;
}

.case-single-content {
  max-width: 900px;
  margin: 0 auto;
}

.case-single-section {
  margin-bottom: 28px;
  padding: 34px 36px;
  background: #fff;
  border: 1px solid #e2eaf4;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 35, 70, 0.06);
}

.case-single-section h2 {
  margin-bottom: 16px;
  color: #082653;
  font-size: 1.32rem;
}

.case-single-section p,
.case-single-section li,
.case-single-post-content {
  color: #42526a;
  line-height: 1.9;
}

.case-single-section ul {
  margin: 0;
  padding-left: 1.2em;
}

.case-single-post-content > *:last-child,
.case-single-section p:last-child {
  margin-bottom: 0;
}

.case-single-report {
  background: #f4f8fd;
}

.case-single-report .btn {
  margin-top: 10px;
}

@media (max-width: 860px) {
  .case-single-hero-grid {
    grid-template-columns: 1fr;
  }

  .case-single-hero-image {
    order: -1;
  }

  .case-single-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .case-single-hero {
    padding: 42px 0 30px;
  }

  .case-single-section {
    padding: 24px 20px;
    border-radius: 14px;
  }
}

.case-enterprise {
  margin-top: var(--header-height);
  background: #fff;
}

.case-enterprise-hero {
  padding: 58px 0 52px;
  background: linear-gradient(180deg, #eef6ff 0%, #ffffff 100%);
}

.case-enterprise-hero__grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.case-enterprise-hero__image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #dfeaf7;
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(8, 38, 83, 0.16);
}

.case-enterprise-hero__image img,
.case-enterprise-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-enterprise-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #064b9d;
  font-size: 1.8rem;
  font-weight: 800;
}

.case-enterprise-category {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 14px;
  color: #064b9d;
  background: #e8f2ff;
  border: 1px solid #cfe1f8;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.case-enterprise-hero h1 {
  margin: 0 0 18px;
  color: #082653;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.38;
}

.case-enterprise-hero h1 span {
  display: block;
  margin-bottom: 8px;
  color: #064b9d;
  font-size: 1rem;
  font-weight: 700;
}

.case-enterprise-hero__copy p {
  margin: 0;
  color: #42526a;
  line-height: 1.9;
}

.case-enterprise-main {
  padding: 54px 0 84px;
}

.case-enterprise-summary,
.case-enterprise-section,
.case-enterprise-gallery,
.case-enterprise-cta {
  max-width: 980px;
  margin: 0 auto 30px;
}

.case-enterprise-summary,
.case-enterprise-section,
.case-enterprise-gallery {
  padding: 34px 36px;
  background: #fff;
  border: 1px solid #e2eaf4;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 35, 70, 0.06);
}

.case-enterprise-summary h2,
.case-enterprise-section h2,
.case-enterprise-section-heading h2 {
  margin: 0 0 18px;
  color: #082653;
  font-size: 1.36rem;
}

.case-enterprise-section > span,
.case-enterprise-section-heading span {
  display: inline-block;
  margin-bottom: 8px;
  color: #064b9d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-enterprise-summary dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.case-enterprise-summary div {
  padding: 14px 16px;
  background: #f8fbff;
  border: 1px solid #dfe8f4;
  border-radius: 12px;
}

.case-enterprise-summary dt {
  margin-bottom: 4px;
  color: #718096;
  font-size: 0.78rem;
  font-weight: 700;
}

.case-enterprise-summary dd {
  margin: 0;
  color: #10233f;
  font-weight: 700;
}

.case-enterprise-section p {
  color: #42526a;
  line-height: 1.95;
}

.case-enterprise-section p:last-child {
  margin-bottom: 0;
}

.case-enterprise-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.case-enterprise-gallery figure {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin: 0;
  background: #e8f2ff;
  border-radius: 14px;
}

.case-enterprise-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.case-enterprise-gallery figure:hover img {
  transform: scale(1.04);
}

.case-enterprise-result {
  background: #f8fbff;
}

.case-enterprise-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 36px;
  background: linear-gradient(135deg, #eef6ff 0%, #ffffff 100%);
  border: 1px solid #dbe8f7;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 35, 70, 0.07);
}

.case-enterprise-cta h2 {
  margin: 0 0 8px;
  color: #082653;
  font-size: 1.32rem;
}

.case-enterprise-cta p {
  margin: 0;
  color: #42526a;
  line-height: 1.8;
}

.case-enterprise-cta .btn {
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .case-enterprise-hero__grid {
    grid-template-columns: 1fr;
  }

  .case-enterprise-summary dl,
  .case-enterprise-gallery__grid {
    grid-template-columns: 1fr;
  }

  .case-enterprise-cta {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .case-enterprise-hero {
    padding: 40px 0 32px;
  }

  .case-enterprise-summary,
  .case-enterprise-section,
  .case-enterprise-gallery,
  .case-enterprise-cta {
    padding: 24px 20px;
    border-radius: 15px;
  }
}
