/* ========================================
  base
======================================== */
:root {
  --color-main: #090459;
}
.case_detail {
  background: #f4f6fb;
  padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 96px);
  color: #1b1b1f;
}

.case_detail * {
  box-sizing: border-box;
}

.case_detail img {
  display: block;
  width: 100%;
  height: auto;
}

.case_detail a {
  text-decoration: none;
  color: inherit;
}

.case_detail_inner {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  display: flex;
  gap: clamp(24px, 2.5vw, 36px);
}

.case_detail_main {
  flex: 1;
  min-width: 0;
  padding: 32px clamp(24px, 3.5vw, 48px) 40px;
  background: #fff;
}

@media (max-width: 820px) {
  .case_detail {
    padding: 24px 0 64px;
  }
  .case_detail_inner {
    width: min(100% - 28px, 100%);
    flex-direction: column;
    gap: 28px;
  }
}
@media (max-width: 480px) {
  .case_detail {
    padding: 20px 0 48px;
  }
  .case_detail_inner {
    width: min(100% - 8px, 100%);
    gap: 24px;
  }
  .case_detail_main {
    padding: 20px clamp(16px, 3.2vw, 24px);
  }
}
/* ========================================
  hero_section
======================================== */
.case_hero_section {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2vw, 28px);
}

.case_hero_head {
  position: relative;
  margin-bottom: 0;
}

.case_tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: 1px solid #7ea7ff;
  background: #ffffff;
  color: #1554c9;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  border-radius: 999px;
}
.case_hero_kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2ca7ff 0%, #0f8ce8 100%);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  box-shadow: 0 8px 18px rgba(20, 114, 232, 0.18);
}

.case_hero_title {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  color: #1a1f36;
  line-height: 1.5;
  margin: 8px 0 0;
  letter-spacing: 0.01em;
}

.case_hero_summary {
  background: linear-gradient(180deg, #edf5ff 0%, #f8fbff 100%);
  border: 1px solid #d7e5ff;
  border-radius: 16px;
  padding: clamp(18px, 2vw, 24px);
}

.case_hero_summary_title_wrap {
  margin-bottom: 10px;
}

.case_hero_summary_title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.4;
  font-weight: 800;
  color: #1a1f36;
}

.case_hero_summary_title::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2ca7ff 0%, #0f8ce8 100%);
  box-shadow: 0 0 0 4px rgba(44, 167, 255, 0.12);
  flex-shrink: 0;
}

.case_hero_summary_text p {
  margin: 0;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.8;
  color: #41506b;
}
.case_hero_summary_text .sub_detail {
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: bold;
}
.case_hero_image_wrap {
  overflow: hidden;
  border-radius: 12px;
  background: #edf2ff;
}

.case_hero_image {
  aspect-ratio: 1.43 / 1;
  object-fit: cover;
  border-radius: 0;
}
@media (max-width: 820px) {
  .case_hero_summary {
    grid-template-columns: 1fr;
  }
  .case_hero_title {
    font-size: clamp(24px, 4vw, 26px);
  }
  .case_hero_tags {
    justify-content: flex-start;
  }
}
@media (max-width: 480px) {
  .case_hero_head {
    margin-bottom: 0;
  }
  .case_hero_kicker {
    width: 96px;
    height: 36px;
    font-size: 12px;
  }
  .case_hero_title {
    font-size: 24px;
    margin-bottom: 0;
  }
  .case_hero_summary {
    padding: 16px;
  }
  .case_hero_tag {
    font-size: 12px;
    padding: 6px 10px;
  }
}
/* ========================================
  summary_section
======================================== */
.case_summary_section {
  margin-top: clamp(28px, 3vw, 36px);
  overflow: hidden;
}

.case_summary_cards {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vw, 32px);
  border: 1px solid #d7e5ff;
  border-radius: 16px;
  padding: 40px;
}

.case_summary_card {
  min-height: 100%;
}

.case_summary_card_header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.case_summary_num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2ca7ff 0%, #0f8ce8 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(20, 114, 232, 0.18);
}

.case_summary_card_header h2 {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 28px);
  line-height: 1.3;
  font-weight: 800;
  color: #1a1f36;
}

.case_summary_list {
  margin: 0;
  padding-left: 1.2em;
}

.case_summary_list li {
  margin: 0 0 12px;
  color: #2a3150;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.8;
  font-weight: 600;
}

.case_summary_list li:last-child {
  margin-bottom: 0;
}

.case_summary_list_accent li::marker,
.case_summary_support_list li::marker {
  color: #2a7ef7;
}

.case_summary_support_list {
  margin: 0;
  padding-left: 1.2em;
}

.case_summary_support_list li:last-child {
  margin-bottom: 0;
}
@media (max-width: 820px) {
  .case_summary_cards {
    display: flex;
    flex-direction: column;
    padding: 32px 16px;
  }
}
@media (max-width: 480px) {
  .case_summary_section {
    margin-top: 18px;
  }
  .case_summary_card {
    padding: 16px 14px;
  }
  .case_summary_card_header {
    gap: 10px;
    margin-bottom: 12px;
  }
  .case_summary_num {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
  .case_summary_list,
  .case_summary_support_list {
    padding-left: 1em;
  }
  .case_summary_cards {
    padding: 16px 8px;
  }
}

/* ========================================
  article_heading_section
======================================== */
.case_article_body_section {
  margin-top: clamp(40px, 4vw, 56px);
}

.case_article_body_section h2 {
  font-size: clamp(17px, 2.2vw, 24px);
  color: #2b2b2b;
  line-height: 1.5;
  font-weight: 700;
  position: relative;
  padding: 8px 0 16px 20px;
  margin-bottom: 16px;
}
.case_article_body_section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 16px;
    width: 7px;
    border-radius: 3px;
    background: linear-gradient(to right top, #0c075f 0, #4970ad 90%, #74bee8 100%);
}

.case_article_body_section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--color-main);
  border-radius: 999px;
}
.case_article_body_section h3 {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-main);
  line-height: 1.45;
  font-weight: 700;
  margin-bottom: 12px;
}
@media (max-width: 480px) {
  .case_article_heading_section {
    margin-top: 30px;
  }
  .case_article_heading {
    padding-bottom: 14px;
  }
  .case_article_heading::after {
    height: 4px;
  }
}
/* ========================================
  article_image_section
======================================== */
.case_article_image_section {
  margin-top: clamp(24px, 2.5vw, 32px);
}

.case_article_image_wrap {
  overflow: hidden;
  border-radius: 16px;
}

.case_article_image {
  aspect-ratio: 1.6 / 1;
  object-fit: cover;
}
@media (max-width: 480px) {
  .case_article_image_section {
    margin-top: 18px;
  }
}
/* ========================================
  article_body_section
======================================== */

.case_article_body p {
  margin: 0 0 24px;
  color: #2f2f2f;
  font-size: clamp(1.4rem, 1.7vw, 1.6rem);
  line-height: 2;
  font-weight: 500;
}

.case_article_body p:last-child {
  margin-bottom: 0;
}

.case_more_section {
  margin-top: clamp(56px, 6vw, 72px);
}

.case_more_inner {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.case_more_head {
  margin-bottom: 24px;
}

.case_more_title {
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  line-height: 1.25;
  font-weight: 700;
  color: #090459;
}

.case_more_list {
  display: flex;
  gap: clamp(8px, 1.4vw, 16px);
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overflow-x: scroll;
}

.case_more_list::-webkit-scrollbar {
  height: 8px;
}

.case_more_list::-webkit-scrollbar-thumb {
  background: rgba(9, 4, 89, 0.3);
  border-radius: 999px;
}

.case_more_item {
  width: 280px;
  min-width: 188px;
  background: #ffffff;
  border: 1px solid #d6dcf4;
  border-radius: 16px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  scroll-snap-align: start;
}

.case_more_item:hover {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 0px 8px rgba(9, 4, 89, 0.12);
}

.case_more_image {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.case_more_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.case_more_image_blank {
  min-height: 180px;
  background: #f4f6fb;
}

.case_more_content {
  padding: 16px;
}

.case_more_category {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(2px);
  color: #ffffff;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.case_more_industry {
  margin: 0 0 2px;
  color: #5e5e70;
  font-size: 1.25rem;
  line-height: 1.5;
}

.case_more_name {
  font-size: clamp(14px,1.6vw,16px);
  color: #1b1b1f;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 820px) {
  .case_more_section {
    margin-top: 48px;
  }
  .case_more_image {
  height: 124px;
}
}

@media (max-width: 480px) {
  .case_more_section {
    margin-top: 40px;
  }
  .case_more_content {
    padding: 14px;
  }
  .case_more_item {
    width: 180px;
    flex-shrink: 0;
  }
  .case_more_name {
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .case_more_list {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .case_article_body_section {
    margin-top: 22px;
  }
  .case_article_body p {
    margin-bottom: 18px;
  }
}
/* ========================================
  sidebar_common
======================================== */
.case_detail_sidebar {
  width: clamp(232px, 25vw, 320px);
  flex-shrink: 0;
}
.sidebar_wrap {
  width: 100%;
  margin-top: 16px;
  /* padding: 8px 0; */
}
.sidebar_banner_wrap {
  margin-top: 16px;
  position: sticky;
  top: 108px;
}
.more_document {
  font-size: clamp(12px, 1.5vw, 16px);
  text-align: center;
  margin-bottom: 16px;
  text-shadow: 0 0 4px rgb(255 255 255 / 80%);
}
.more_document::before,
.more_document::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background-color: #081059;
  vertical-align: middle;
}
.more_document::before {
  transform: rotate(60deg);
  margin-right: clamp(4px, 0.5vw, 6px);
}
.more_document::after {
  transform: rotate(-60deg);
  margin-left: clamp(4px, 0.5vw, 6px);
}
.sidebar_banner_wrap div {
  margin-top: 16px;
}
@media (max-width: 820px) {
  .case_detail_sidebar {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .case_sidebar_card {
    border-radius: 18px;
    padding: 18px;
  }

  /* sidebar_company_section */
  .case_sidebar_company_name {
    padding-bottom: 14px;
  }

  .case_sidebar_info {
    margin-top: 18px;
  }

  .case_sidebar_info_row + .case_sidebar_info_row {
    margin-top: 14px;
  }

  .case_sidebar_download_image_wrap {
    margin-top: 18px;
  }

  .case_sidebar_button_wrap {
    margin-top: 16px;
  }

  .case_sidebar_button {
    min-height: 54px;
  }

  /* sidebar_recommend_section */
  .case_sidebar_recommend_title {
    padding: 14px 12px;
  }

  .case_sidebar_recommend_list {
    display: block;
    padding: 18px;
  }

  .case_sidebar_recommend_item {
    width: 100%;
  }

  .case_sidebar_recommend_item + .case_sidebar_recommend_item {
    margin-top: 20px;
  }
}
