/* ========================================
  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: 48px clamp(24px, 3.5vw, 48px);
  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 {
}

.case_hero_head {
  position: relative;
  margin-bottom: clamp(18px, 2vw, 24px);
}

.case_hero_title {
  font-size: clamp(20px, 2.25vw, 30px);
  font-weight: 700;
  color: #2a2a2a;
  line-height: 1.45;
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}

.case_hero_company {
  margin-bottom: 18px;
}

.case_hero_company_name {
  font-size: clamp(16px, 3.5vw, 20px);
  line-height: 1.5;
  font-weight: 700;
  color: #2a2a2a;
  margin: 0 0 6px;
}
.case_hero_text {
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.6;
}
.case_hero_text p {
  margin: 0;
}
.case_hero_text .case_hero_company_under {
  margin-top: 16px;
}
.case_hero_tags {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.case_hero_tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 18px;
  border: 1px solid #090459;
  background: #eef1ff;
  color: #090459;
  font-size: clamp(1.2rem, 1rem + 0.2vw, 1.4rem);
  line-height: 1.3;
  font-weight: 700;
  border-radius: 3px;
}

.case_hero_image_wrap {
  overflow: hidden;
}

.case_hero_image {
  aspect-ratio: 1.43 / 1;
  object-fit: cover;
  border-radius: 0;
}
@media (max-width: 820px) {
  .case_hero_title {
    font-size: clamp(20px, 3.5vw, 28px);
  }
  .case_hero_tags {
    justify-content: flex-start;
  }
}
@media (max-width: 480px) {
  .case_hero_head {
    margin-bottom: 16px;
  }
  .case_hero_title {
    font-size: clamp(18px, 3vw, 20px);
    margin-bottom: 12px;
  }

  .case_hero_company {
    margin-bottom: 14px;
  }

  .case_hero_tags {
    gap: 8px;
  }

  .case_hero_tag {
    width: 100%;
    justify-content: center;
  }
}
/* ========================================
  summary_section
======================================== */
.case_summary_section {
  margin-top: clamp(22px, 2.2vw, 28px);
  background: #090459;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(9, 4, 89, 0.08);
}

.case_summary_head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
}

.case_summary_head_left {
  display: flex;
  align-items: center;
  gap: 14px;
  /* flex-wrap: wrap; */
}

.case_summary_head_label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  background: #fff;
  color: #333;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: clamp(1.2rem, 1rem + 0.2vw, 1.35rem);
  line-height: 1.3;
  font-weight: 700;
}

.case_summary_head_text {
  color: #fff;
  font-size: clamp(1.6rem, 1.35rem + 0.55vw, 2rem);
  line-height: 1.4;
  font-weight: 700;
}

.case_summary_head_right {
  flex-shrink: 0;
}

.case_summary_period {
  color: #fff;
  font-size: clamp(1.3rem, 1.1rem + 0.2vw, 1.5rem);
  line-height: 1.4;
  font-weight: 700;
}

.case_summary_body {
  background: #ffffff;
  margin: 0 2px 2px;
  border: 1px solid #d6dcf4;
  padding: clamp(20px, 2.2vw, 28px);
}

.case_summary_top {
  display: flex;
  gap: 32px;
}

.case_summary_box {
  flex: 1;
  background: #fff;
}

.case_summary_box_title {
  margin: 0 0 18px;
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef1fb;
  border-radius: 999px;
  color: #090459;
  font-size: clamp(1.4rem, 1.15rem + 0.25vw, 1.7rem);
  line-height: 1.4;
  font-weight: 700;
}

.case_summary_arrow {
  position: relative;
}
.case_summary_arrow:before {
  position: absolute;
  content: "";
  top: 50%;
  transform: translate(-25%, -50%);
  width: 0;
  height: 0;
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
  border-left: 16px solid var(--color-main);
}
.case_summary_list {
  margin: 0;
  padding-left: 1.4em;
}

.case_summary_list li {
  margin: 0 0 12px;
  color: #262b44;
  font-size: clamp(1.4rem, 1.2rem + 0.2vw, 1.6rem);
  line-height: 1.6;
  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: #4c61d9;
}

.case_summary_bottom {
  margin-top: clamp(18px, 2vw, 24px);
  background: #f2f5ff;
  padding: clamp(18px, 2vw, 24px);
}

.case_summary_support_title {
  margin: 0 0 14px;
  color: #090459;
  font-size: clamp(1.7rem, 1.35rem + 0.35vw, 2rem);
  line-height: 1.5;
  font-weight: 700;
}

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

.case_summary_support_list li {
  margin: 0 0 10px;
  color: #2a3150;
  font-size: clamp(1.4rem, 1.2rem + 0.2vw, 1.7rem);
  line-height: 1.7;
  font-weight: 600;
}

.case_summary_support_list li:last-child {
  margin-bottom: 0;
}
@media (max-width: 820px) {
  .case_summary_top {
    flex-direction: column;
    align-items: stretch;
  }
  .case_summary_arrow {
    align-self: center;
    transform: rotate(90deg);
  }
}
@media (max-width: 480px) {
  .case_summary_section {
    margin-top: 18px;
  }
  .case_summary_head {
    flex-direction: column;
    gap: 4px;
    padding: 14px 14px 12px;
  }
  .case_summary_head_right {
    margin: 0 0 0 auto;
  }
  .case_summary_head_left {
    gap: 10px;
  }
  .case_summary_body {
    padding: 16px;
  }
  .case_summary_box_title {
    min-height: 42px;
    margin-bottom: 14px;
  }
  .case_summary_bottom {
    margin-top: 16px;
    padding: 16px;
  }
  .case_summary_list {
    padding-left: 0;
  }
  .case_summary_support_list {
    padding-left: 0;
  }
  .case_summary_head_label {
    font-size: 10px;
    padding: 4px 8px;
    white-space: nowrap;
  }
}
/* ========================================
  intro_section
======================================== */
.case_intro_section {
  padding-top: clamp(30px, 3vw, 40px);
}

.case_intro_text p {
  margin: 0 0 22px;
  color: #2f2f2f;
  font-size: clamp(1.65rem, 1.3rem + 0.35vw, 2rem);
  line-height: 2;
  font-weight: 500;
}

.case_intro_text p:last-child {
  margin-bottom: 0;
}
@media (max-width: 480px) {
  .case_intro_section {
    padding-top: 24px;
  }
  .case_intro_text p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
  }
}
/* ========================================
  article_heading_section
======================================== */
.case_article_body_section {
  margin-top: clamp(40px, 4vw, 56px);
}

.case_article_body_section h2 {
  font-size: clamp(20px, 2vw, 22px);
  color: #2b2b2b;
  line-height: 1.45;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 28px;
}

.case_article_body_section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--color-main);
  border-radius: 999px;
}
.case_article_body_section h3 {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.45;
  font-weight: 700;
  font-style: italic;
  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.6rem, 1.3rem + 0.3vw, 1.9rem);
  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(18px, 2vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.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;
  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 {
  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: 20px;
}

.case_more_company,
.case_more_industry {
  margin: 0 0 2px;
  color: #5e5e70;
  font-size: 0.95rem;
  line-height: 1.5;
}

.case_more_name {
  font-size: 16px;
  color: #1b1b1f;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
}

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

@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;
  }
}
