.case_dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border-radius: 50%;
  background: #f7e40b;
}

.case_fv {
  padding: 120px 0 45px;
}

.case_fv_title {
  color: #333;
  font-family: "Outfit", sans-serif;
  font-size: 120px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
}

.case_fv_subtitle {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.case_fv_subtitle .case_dot {
  width: 20px;
  height: 20px;
}

.case_breadcrumb {
  font-size: 12px;
}

.case_hero_section {
  padding: 30px 0 80px;
}

.case_hero {
  display: grid;
  max-width: 1100px;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  align-items: center;
  gap: 60px;
}

.case_result_text {
  font-size: 21px;
  font-weight: 800;
}

.case_hero_text h2 {

  font-size: 40px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.case_hero_text > p:not(.case_result_text) {
  max-width: 360px;
  font-size: 16px;
  margin-top: 16px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.case_hero_meta {
  display: grid;
  gap: 12px;
  margin-top: 60px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.case_hero_meta div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
}

.case_hero_meta dt {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.case_meta_icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.case_hero_image {
  aspect-ratio: 680 / 453;
  border-radius: 20px;
  background: #d9d9d9;
}

.case_hero_image img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.case_content_section {
  padding: 10px 0 100px;
}

.case_content_card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  padding: 80px;
}

.case_content_row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  padding: 40px 0;
  border-bottom: 1px solid #cfcfcf;
}

.case_content_row:first-child {
    padding-top: 0;
}

.case_content_row:last-child {
  border-bottom: none;
}

.case_content_heading p,
.case_related_label {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.case_content_heading h2,
.case_related_section h2 {
  margin-top: 4px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.case_content_row > p {
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.case_result_box {
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: 20px;
  background: #f2f2ea;
}

.case_result_item {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.8;
}

.case_result_check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f5d800;
}

.case_result_check::after {
  content: "";
  display: block;
  width: 6px;
  height: 10px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg) translate(-1px, -1px);
}

.case_clients {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 20px;
  line-height: 1.6;
}

.case_related_section {
  padding: 0 0 25px;
}

.case_related_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.case_related_card {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
}

.case_related_card a {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
  color: #333;
  text-decoration: none;
}

.case_related_image {
  overflow: hidden;
  min-height: 220px;
  margin: 34px 34px 0;
  border-radius: 20px;
  background: #d9d9d9;
}

.case_related_image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  transform-origin: center;
}

.case_related_card a:hover .case_related_image img,
.case_related_card a:focus-visible .case_related_image img {
  transform: scale(1.1);
}

.case_related_card h3 {
  margin: 22px 34px 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.case_related_card p {
  margin: 8px 34px 0;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.case_related_card p::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 20px;
  background: #cfcfca;
}

.case_related_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 34px 34px;
}

.case_related_tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 20px;
  background: #f2f2ea;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.case_related_link {
  position: relative;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: auto 34px 34px;
  padding-bottom: 6px;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.case_related_link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #333;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.case_related_card a:hover .case_related_link::after,
.case_related_card a:focus-visible .case_related_link::after {
  transform: scaleX(1);
}

.case_related_link span {
  transition: transform 0.3s ease;
}

.case_related_card a:hover .case_related_link span,
.case_related_card a:focus-visible .case_related_link span {
  transform: translateX(4px);
}

.case_list_section {
  padding: 30px 0 25px;
}

.case_list_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 80px 50px;
}

.case_list_card {
  display: flex;
  min-height: 560px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
}

.case_list_card_link {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  color: #333;
  text-decoration: none;
}

.case_list_thumb {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  margin: 20px 20px 0;
  border-radius: 20px;
  background: #d9d9d9;
}

.case_list_thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  transform-origin: center;
}

.case_list_card_link:hover .case_list_thumb img,
.case_list_card_link:focus-visible .case_list_thumb img {
  transform: scale(1.1);
}

.case_list_thumb_label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.case_list_thumb img + .case_list_thumb_label {
  display: none;
}

.case_list_thumb_badge {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  color: #555;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-align: center;
}

.case_list_body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 40px;
}

.case_list_card_title {
  color: #333;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.case_list_card_text {
  margin-top: 8px;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.case_list_divider {
  width: 100%;
  height: 1px;
  margin: 20px 0;
  background: #cfcfca;
}

.case_list_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.case_list_tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 8px;
  border-radius: 20px;
  background: #f2f2ea;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.case_list_detail_link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 125px;
  margin-top: auto;
  padding-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
}

.case_list_detail_link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #333;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.case_list_card_link:hover .case_list_detail_link::after,
.case_list_card_link:focus-visible .case_list_detail_link::after {
  transform: scaleX(1);
}

.case_list_detail_link span {
  transition: transform 0.3s ease;
}

.case_list_card_link:hover .case_list_detail_link span,
.case_list_card_link:focus-visible .case_list_detail_link span {
  transform: translateX(4px);
}

.case_list_pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 80px;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
}

.case_list_pagination a,
.case_list_pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  color: #333;
  text-decoration: none;
}

.case_list_pagination .is-current {
  border-radius: 50%;
  background: #f7e40b;
  font-weight: 800;
}

@media screen and (max-width: 1200px) {
  .case_list_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px 40px;
  }
}

@media screen and (max-width: 900px) {
  .case_fv {
    padding-top: 90px;
  }

  .case_fv_title {
    font-size: 64px;
  }

  .case_hero,
  .case_content_row,
  .case_related_grid,
  .case_list_grid {
    grid-template-columns: 1fr;
  }

  .case_hero {
    gap: 34px;
  }

  .case_content_card {
    padding: 22px;
  }

  .case_content_row {
    gap: 18px;
  }

  .case_clients {
    grid-template-columns: repeat(2, 1fr);
  }

  .case_related_card {
    min-height: 500px;
  }

  .case_related_image {
    margin: 24px 24px 0;
    min-height: 180px;
  }

  .case_related_card h3,
  .case_related_card p {
    margin-right: 24px;
    margin-left: 24px;
  }

  .case_related_tags {
    margin: 20px 24px 28px;
  }

  .case_related_link {
    margin: auto 24px 28px;
  }

  .case_hero_text h2 {
    font-size: 28px;
  }

  .case_content_heading h2,
  .case_related_section h2 {
    font-size: 22px;
  }

  .case_list_section {
    padding-top: 10px;
  }

  .case_list_grid {
    gap: 34px;
  }

  .case_list_card {
    min-height: 500px;
  }

  .case_list_thumb {
    min-height: 180px;
    margin: 24px 24px 0;
  }

  .case_list_body {
    padding: 20px 24px 28px;
  }

  .case_list_card_title {
    font-size: 22px;
  }

  .case_list_card_text {
    font-size: 14px;
  }

  .case_list_pagination {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 56px;
  }
}

@media screen and (max-width: 600px) {
  .case_fv_title {
    font-size: 48px;
  }

  .case_hero {
    grid-template-columns: 1fr;
  }

  .case_hero_image {
    min-width: 0;
  }

  .case_clients {
    grid-template-columns: 1fr;
  }
}
