/* 0. Ensure SiteMap Drawer & All Main Sections Never Get Stuck Invisible (opacity:0 / display:none) */
.site_map.active {
  display: block !important;
  opacity: 1 !important;
  pointer-events: all !important;
}
.site_map.active .cont .list .depth1 > a span,
.site_map.active .cont .list .depth2 > li > a span {
  transform: none !important;
}
.solution_sect .main_tit_box,
.solution_sect .img_box,
.solution_sect .img_box .img,
.business_sect .main_tit_box,
.business_sect .cont_box,
.partner_sect .main_tit_box,
.partner_sect .com_tit_box,
.partner_sect .slide,
.partner_sect .slide .swiper-slide.item,
.about_sect .main_tit_box,
.about_sect .cont .swiper-slide.item,
.business_sect .tab_cont .tab_btn_box,
.business_sect .slide,
.split_txt,
.split_txt *,
.com_tit_box *,
.main_tit_box * {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.solution_sect .logo_box {
  height: auto !important;
  padding: 8rem 0 4rem !important;
}
.solution_sect .cont_box .img_box .img::before {
  display: none !important;
  height: 0 !important;
}

/* Responsive 6-card grid in .about_sect (fixes mobile blank photo / off-screen horizontal flex) */
@media (max-width: 1024px) {
  .about_sect {
    padding: 8rem 0 !important;
  }
  .about_sect .cont .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.6rem !important;
    transform: none !important;
  }
  .about_sect .cont .swiper-slide.item {
    width: 100% !important;
    margin: 0 !important;
  }
  .about_sect .cont .swiper_controls {
    display: none !important;
  }
}
@media (max-width: 640px) {
  .about_sect .cont .swiper-wrapper {
    grid-template-columns: 1fr !important;
  }
}

.header .nav .list .depth1 {
  position: relative;
}
.header .nav .list .depth1:hover .depth2,
.header .nav .list .depth1.on .depth2 {
  opacity: 1 !important;
  pointer-events: all !important;
}
.header .nav .list .depth1 .depth2 {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0;
  border-top: 2px solid #0F1E36;
  border-radius: 0 0 1rem 1rem;
  overflow: hidden;
  min-width: 22rem;
  box-shadow: 0 14px 32px rgba(15, 30, 54, 0.1) !important;
}
.header .nav .list .depth1 .depth2 li > a {
  background-color: #ffffff !important;
  color: #1e293b !important;
  border-bottom: 1px solid #f1f5f9;
  font-size: 1.45rem !important;
  height: 4.4rem !important;
  padding: 0 1.8rem !important;
  white-space: nowrap;
}
.header .nav .list .depth1 .depth2 li:last-child > a {
  border-bottom: none;
}
.header .nav .list .depth1 .depth2 li > a:hover {
  background-color: #f4f6f9 !important;
  color: #0F1E36 !important;
  font-weight: 700;
}

.seongyu_logo_svg {
  display: block;
  height: 3.4rem;
  width: auto;
  color: #0F1E36;
  transition: color 0.3s ease;
}
.header.wh .seongyu_logo_svg,
.header.white .seongyu_logo_svg,
.header.type_wh .seongyu_logo_svg,
.site_map .seongyu_logo_svg,
.bg_img_box .seongyu_logo_svg {
  color: #ffffff;
}
.footer .seongyu_logo_svg {
  color: #0F1E36 !important;
}
.header.scroll .seongyu_logo_svg,
.header.on .seongyu_logo_svg,
.header.hover .seongyu_logo_svg {
  color: #0F1E36;
}
.page_wrap.main .header:not(.scroll):not(.on):not(.hover) .seongyu_logo_svg {
  color: #ffffff;
}

/* Header logo: larger, more legible */
.header .logo {
  width: clamp(160px, 15vw, 250px) !important;
  flex-shrink: 0;
}
.header .logo .seongyu_logo_svg {
  width: 100% !important;
  height: auto !important;
}

/* Home (header.p_) — transparent header over dark hero: white logo + icons until scrolled/hovered */
.header.p_:not(.header_down):not(.hover):not(.search) .seongyu_logo_svg {
  color: #ffffff;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45));
}
.header.p_:not(.header_down):not(.hover):not(.search) .util_wrap .ico.ham svg rect {
  fill: #ffffff;
}
.header.p_:not(.header_down):not(.hover):not(.search) .util_wrap .ico.search svg path {
  stroke: #ffffff;
}
.header.p_:not(.header_down):not(.hover):not(.search) .nav .list .depth1 > a {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

/* Sub-visual big logo: was fixed height 30rem (~845px wide) → overflowed mobile & pushed ham off-screen */
.sub_visual .bg_img_box .txt_wrap .logo_box {
  height: auto !important;
  padding: 0 2rem;
}
.sub_visual .bg_img_box .txt_wrap .logo_box svg {
  height: auto !important;
  width: min(64rem, 86vw) !important;
  max-width: 100%;
}
.page_wrap {
  overflow-x: clip;
}

.about_sect {
  background: #1E3A5F url("/media/tax-office-02.png") no-repeat center / cover !important;
}
.about_sect::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 48, 0.72);
  pointer-events: none;
}
.about_sect > .in {
  position: relative;
  z-index: 2;
}

.svc_page .cont_box .com_field_cont {
  position: relative;
  overflow: hidden;
}
.svc_page .cont_box .com_field_cont::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 24, 44, 0.56) 0%, rgba(10, 24, 44, 0.84) 100%);
  z-index: 1;
  transition: background 0.3s ease;
  pointer-events: none;
}
.svc_page .cont_box .com_field_cont:hover::before {
  background: linear-gradient(180deg, rgba(10, 24, 44, 0.42) 0%, rgba(10, 24, 44, 0.76) 100%);
}
.svc_page .cont_box .com_field_cont > * {
  position: relative;
  z-index: 2;
}
.svc_page .cont_box .com_field_cont .tit,
.svc_page .cont_box .com_field_cont .txt {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

@keyframes seongyuDrawRect {
  0% { stroke-dashoffset: 460; opacity: 0.2; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes seongyuDrawLine {
  0% { stroke-dashoffset: 80; opacity: 0; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}
.seongyu_anim_symbol .sg-rect {
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  animation: seongyuDrawRect 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.seongyu_anim_symbol .sg-line-1 {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: seongyuDrawLine 0.55s ease 0.45s forwards;
}
.seongyu_anim_symbol .sg-line-2 {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: seongyuDrawLine 0.55s ease 0.72s forwards;
}
.seongyu_anim_symbol .sg-line-3 {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: seongyuDrawLine 0.55s ease 0.98s forwards;
}

.insight_page .insight_list_box ul {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  grid-template-columns: none !important;
}
.insight_page .insight_list_box ul > li.seongyu_insight_item {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  margin: 0 !important;
}
.seongyu_insight_row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30rem;
  gap: 3.6rem;
  align-items: center;
}
@media (max-width: 768px) {
  .seongyu_insight_row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Solution Section: Transform 3-step staggered photos into balanced 2-col asymmetric editorial gallery */
.solution_sect .cont_box {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 5rem !important;
}
.solution_sect .cont_box .main_tit_box {
  flex: 0 0 42%;
  max-width: 42%;
}
.solution_sect .cont_box .img_box {
  flex: 1 1 55%;
  display: grid !important;
  grid-template-columns: 1.15fr 1fr !important;
  grid-template-rows: repeat(2, 21rem) !important;
  gap: 1.6rem !important;
  align-items: stretch !important;
  margin-top: 0 !important;
  padding-bottom: 0 !important;
}
@media (max-width: 960px) {
  .solution_sect .cont_box {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 3rem !important;
  }
  .solution_sect .cont_box .main_tit_box {
    flex: none;
    max-width: 100%;
  }
}
.solution_sect .cont_box .img_box .img {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  transform: none !important;
  border-radius: 1.4rem !important;
  overflow: hidden !important;
  box-shadow: 0 12px 30px rgba(15, 30, 54, 0.08);
}
.solution_sect .cont_box .img_box .img:first-child {
  grid-row: 1 / 3;
}
.solution_sect .cont_box .img_box .img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
@media (max-width: 768px) {
  .solution_sect .cont_box .img_box {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }
  .solution_sect .cont_box .img_box .img:first-child {
    grid-row: auto;
  }
  .solution_sect .cont_box .img_box .img {
    aspect-ratio: 16 / 10;
  }
}

.svc_page .cont_box .com_field_cont:nth-child(1) {
  background: url("/media/tax-office-01.png") no-repeat center / cover !important;
}
.svc_page .cont_box .com_field_cont:nth-child(2) {
  background: url("/media/tax-office-02.png") no-repeat center / cover !important;
}
.svc_page .cont_box .com_field_cont:nth-child(3) {
  background: url("/media/tax-lobby-01.png") no-repeat center / cover !important;
}
.svc_page .cont_box .com_field_cont:nth-child(4) {
  background: url("/media/tax-insight-02.png") no-repeat center / cover !important;
}
.svc_page .cont_box .com_field_cont:nth-child(5) {
  background: url("/media/tax-audit-01.png") no-repeat center / cover !important;
}
.svc_page .cont_box .com_field_cont:nth-child(6) {
  background: url("/media/tax-insight-01.png") no-repeat center / cover !important;
}
.svc_page .cont_box .com_field_cont:nth-child(7) {
  background: url("/media/tax-insight-04.png") no-repeat center / cover !important;
}
.svc_page .cont_box .com_field_cont:nth-child(8) {
  background: url("/media/tax-medical-01.png") no-repeat center / cover !important;
}
.svc_page .cont_box .com_field_cont:nth-child(9) {
  background: url("/media/tax-industry-01.png") no-repeat center / cover !important;
}

.sub_about .bg_img_box .img .img_inner {
  background: url("/media/tax-lobby-01.png") no-repeat center / cover !important;
}
.about_page .bg_sect2 .cont .bg.type1 {
  background: url("/media/tax-office-01.png") no-repeat center / cover !important;
}
.about_page .bg_sect2 .cont .bg.type2 {
  background: url("/media/tax-audit-01.png") no-repeat center / cover !important;
}
.about_page .bg_sect2 .cont .bg.type3 {
  background: url("/media/tax-office-02.png") no-repeat center / cover !important;
}

.partner_sect .slide .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 2.8rem !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
}
.partner_sect .slide .swiper-slide.item {
  width: 100% !important;
  margin-right: 0 !important;
}
.partner_sect .slide .swiper_controls {
  display: none !important;
}
@media (max-width: 900px) {
  .partner_sect .slide .swiper-wrapper {
    grid-template-columns: 1fr !important;
  }
}

.com_load_box .txt_cont_box {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 1.6rem !important;
  color: #ffffff !important;
}
.com_load_box .txt_cont_box p,
.com_load_box .txt_cont_box strong,
.com_load_box .txt_cont_box a {
  color: #ffffff !important;
}
.com_load_box .txt_cont_box .sub_txt {
  color: rgba(255, 255, 255, 0.82) !important;
}
.com_load_box .txt_cont_box .ico_cont_box {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.6rem !important;
}

.load_sect .banner_box,
.load_sect .bottom_banner,
.load_sect .load_banner {
  position: relative;
  overflow: hidden;
}
.load_sect .banner_box::before,
.load_sect .bottom_banner::before,
.load_sect .load_banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 24, 44, 0.82) 0%, rgba(10, 24, 44, 0.45) 100%);
  z-index: 1;
  pointer-events: none;
}
.load_sect .banner_box .txt_box,
.load_sect .bottom_banner .txt_box,
.load_sect .load_banner .txt_box {
  position: relative;
  z-index: 2;
  color: #ffffff !important;
}
.load_sect .banner_box .txt_box *,
.load_sect .bottom_banner .txt_box *,
.load_sect .load_banner .txt_box * {
  color: #ffffff !important;
}

.about_page .solution_sect .cont_tit_box .tit .text {
  color: #0F1E36 !important;
  background: none !important;
  -webkit-text-fill-color: #0F1E36 !important;
}

.about_page .bg_sect2 .cont {
  position: relative;
}
.about_page .bg_sect2 .cont .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 24, 44, 0.78) 0%, rgba(10, 24, 44, 0.35) 100%);
  pointer-events: none;
}

.seongyu_metrics_band {
  background: #0f1e36;
  color: #ffffff;
  border-radius: 1.6rem;
  padding: 4rem 3.6rem;
  margin: 0 auto 6rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.4rem;
}
.seongyu_metrics_band .metric_item strong {
  display: block;
  font-size: 3.6rem;
  font-weight: 700;
  color: #d4b475;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  font-variant-numeric: tabular-nums;
}
.seongyu_metrics_band .metric_item .metric_label {
  display: block;
  font-size: 1.7rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.seongyu_metrics_band .metric_item p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .seongyu_metrics_band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 2.8rem 2rem;
  }
}
@media (max-width: 540px) {
  .seongyu_metrics_band {
    grid-template-columns: 1fr;
  }
}

.seongyu_pricing_wrap {
  margin-top: 8rem;
  padding-top: 6rem;
  border-top: 1px solid #e2e8f0;
}
.seongyu_pricing_wrap .section_head {
  margin-bottom: 3rem;
}
.seongyu_pricing_wrap .section_head h3 {
  font-size: 3rem;
  font-weight: 700;
  color: #0F1E36;
  margin-bottom: 0.8rem;
}
.seongyu_pricing_wrap .section_head p {
  font-size: 1.6rem;
  color: #64748b;
}
.seongyu_table_box {
  overflow-x: auto;
  margin-bottom: 4.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 1.2rem;
  background: #ffffff;
}
.seongyu_table_box h4 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #0f1e36;
  padding: 2rem 2.4rem;
  background: #f4f6f9;
  border-bottom: 1px solid #e2e8f0;
}
.seongyu_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.55rem;
  min-width: 640px;
}
.seongyu_table th,
.seongyu_table td {
  padding: 1.6rem 2rem;
  text-align: left;
  border-bottom: 1px solid #eef2f6;
}
.seongyu_table th {
  background: #fafbfd;
  color: #334155;
  font-weight: 600;
}
.seongyu_table td.price_cell {
  font-weight: 700;
  color: #0F1E36;
  font-variant-numeric: tabular-nums;
}
.seongyu_table tr:last-child td {
  border-bottom: none;
}

.seongyu_faq_list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 7rem;
}
.seongyu_faq_item {
  border: 1px solid #e2e8f0;
  border-radius: 1.2rem;
  background: #ffffff;
  overflow: hidden;
}
.seongyu_faq_q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 2.2rem 2.6rem;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 1.8rem;
  font-weight: 600;
  color: #0f1e36;
  cursor: pointer;
}
.seongyu_faq_q .q_badge {
  color: #a8894d;
  font-weight: 700;
  margin-right: 1rem;
}
.seongyu_faq_q .q_icon {
  font-size: 2.2rem;
  color: #0F1E36;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.seongyu_faq_item.open .q_icon {
  transform: rotate(45deg);
}
.seongyu_faq_a {
  display: none;
  padding: 2rem 2.6rem 2.4rem 5rem;
  font-size: 1.6rem;
  line-height: 1.7;
  color: #475569;
  border-top: 1px solid #f1f5f9;
}
.seongyu_faq_item.open .seongyu_faq_a {
  display: block;
}
.seongyu_cal_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
}
.seongyu_cal_card {
  border: 1px solid #e2e8f0;
  border-radius: 1.2rem;
  padding: 2.2rem;
  background: #f8fafc;
}
.seongyu_cal_card .cal_month {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  background: #0F1E36;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.seongyu_cal_card h4 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #0f1e36;
  margin-bottom: 0.6rem;
}
.seongyu_cal_card p {
  font-size: 1.45rem;
  color: #475569;
  line-height: 1.55;
}
@media (max-width: 900px) {
  .seongyu_cal_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .seongyu_cal_grid {
    grid-template-columns: 1fr;
  }
}

.seongyu_detail_hero {
  position: relative;
  border-radius: 1.6rem;
  overflow: hidden;
  min-height: 36rem;
  display: flex;
  align-items: flex-end;
  padding: 4.8rem;
  margin-bottom: 6rem;
  background-size: cover;
  background-position: center;
}
.seongyu_detail_hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 30, 54, 0.25) 0%, rgba(15, 30, 54, 0.86) 100%);
}
.seongyu_detail_hero .hero_inner {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 76rem;
}
.seongyu_detail_hero .hero_kicker {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #d4b475;
  margin-bottom: 1.2rem;
}
.seongyu_detail_hero h2 {
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.4rem;
}
.seongyu_detail_hero p {
  font-size: 1.75rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}
.seongyu_scope_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem;
  margin-bottom: 6rem;
}
.seongyu_scope_card {
  border: 1px solid #e2e8f0;
  border-radius: 1.4rem;
  padding: 3.2rem;
  background: #ffffff;
}
.seongyu_scope_card .num {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #a8894d;
  margin-bottom: 1rem;
}
.seongyu_scope_card h3 {
  font-size: 2.1rem;
  font-weight: 700;
  color: #0F1E36;
  margin-bottom: 1rem;
}
.seongyu_scope_card p {
  font-size: 1.6rem;
  line-height: 1.65;
  color: #475569;
}
@media (max-width: 768px) {
  .seongyu_scope_grid {
    grid-template-columns: 1fr;
  }
  .seongyu_detail_hero {
    padding: 3rem 2.2rem;
    min-height: 28rem;
  }
  .seongyu_detail_hero h2 {
    font-size: 2.6rem;
  }
}

.seongyu_form_card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1.6rem;
  padding: 4.4rem;
  margin-top: 5rem;
}
.seongyu_form_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem;
}
.seongyu_form_field {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.seongyu_form_field.full {
  grid-column: 1 / -1;
}
.seongyu_form_field label {
  font-size: 1.55rem;
  font-weight: 600;
  color: #0f1e36;
}
.seongyu_form_field label .req {
  color: #c2410c;
  margin-left: 0.3rem;
}
.seongyu_form_field input[type="text"],
.seongyu_form_field input[type="tel"],
.seongyu_form_field input[type="email"],
.seongyu_form_field select,
.seongyu_form_field textarea {
  width: 100%;
  padding: 1.4rem 1.6rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.8rem;
  background: #ffffff;
  font-size: 1.55rem;
  color: #0f1e36;
  outline: none;
}
.seongyu_chip_group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.seongyu_chip_group label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.6rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  font-size: 1.45rem;
  font-weight: 500;
  cursor: pointer;
}
.seongyu_chip_group label:has(input:checked) {
  border-color: #0F1E36;
  background: #0F1E36;
  color: #ffffff;
}
.seongyu_submit_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.7rem 4rem;
  border: 0;
  border-radius: 0.8rem;
  background: #0F1E36;
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 700;
  cursor: pointer;
}
.seongyu_form_result {
  display: none;
  margin-top: 2.4rem;
  padding: 2.4rem;
  border-radius: 1.2rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  font-size: 1.55rem;
  line-height: 1.6;
}
.seongyu_form_result.show {
  display: block;
}
.seongyu_case_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem;
  margin-top: 3rem;
}
.seongyu_case_card {
  border: 1px solid #e2e8f0;
  border-radius: 1.4rem;
  padding: 3rem;
  background: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.seongyu_case_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 30, 54, 0.08);
}
.seongyu_case_card .case_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.seongyu_case_card .case_cat {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F1E36;
  background: #eef4f8;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
}
.seongyu_case_card .case_result {
  font-size: 1.4rem;
  font-weight: 700;
  color: #a8894d;
}
.seongyu_case_card h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f1e36;
  line-height: 1.4;
  margin-bottom: 1.2rem;
}
.seongyu_case_card p {
  font-size: 1.55rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.8rem;
}
.seongyu_case_card .case_partner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid #f1f5f9;
  font-size: 1.45rem;
  color: #334155;
}
.seongyu_case_card .case_partner img {
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}
@media (max-width: 768px) {
  .seongyu_form_card {
    padding: 2.6rem 2rem;
  }
  .seongyu_form_grid,
  .seongyu_case_grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   약관·정책 모달 (/modals/*.html)
   ========================================================= */
.over_modal .modal_wrap .modal_cont.sg_terms {width: min(max(72rem, 640px), 100%); border-radius: 1.6rem; overflow: hidden; box-shadow: 0 2.4rem 6rem rgba(15, 30, 54, 0.28);}
.sg_terms .head {position: sticky; top: 0; z-index: 1;}
.sg_terms .head .tit {color: #fff;}
.sg_terms_close {position: relative; flex: none; width: 3.6rem; height: 3.6rem; min-width: 32px; min-height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); cursor: pointer; transition: background 0.2s ease;}
.sg_terms_close:hover, .sg_terms_close:focus-visible {background: rgba(255, 255, 255, 0.24); outline: none;}
.sg_terms_close::before, .sg_terms_close::after {content: ""; position: absolute; top: 50%; left: 50%; width: 45%; height: 2px; background: #fff; border-radius: 1px;}
.sg_terms_close::before {transform: translate(-50%, -50%) rotate(45deg);}
.sg_terms_close::after {transform: translate(-50%, -50%) rotate(-45deg);}
.sg_terms_body {max-height: min(64vh, 640px); overflow-y: auto; overscroll-behavior: contain; padding: 2.8rem 3.2rem 3.6rem; color: #334155; font-size: max(1.5rem, 14px); line-height: 1.75; word-break: keep-all;}
.sg_terms_body > * + * {margin-top: 1.2rem;}
.sg_terms_body h3 {margin-top: 2.8rem; color: #0F1E36; font-size: max(1.7rem, 15px); font-weight: 700;}
.sg_terms_body ul {padding-left: 1.8rem; list-style: disc;}
.sg_terms_body li + li {margin-top: 0.6rem;}
.sg_terms_body ul li {list-style: disc;}
.sg_terms_notice {padding: 1.2rem 1.6rem; border-radius: 0.8rem; background: #F1F5F9; color: #475569; font-size: max(1.35rem, 13px);}
.sg_terms_table {width: 100%; border-collapse: collapse; border-top: 2px solid #0F1E36;}
.sg_terms_table th, .sg_terms_table td {padding: 1.2rem 1.4rem; border-bottom: 1px solid #E2E8F0; text-align: left; vertical-align: top;}
.sg_terms_table th {width: 28%; background: #F8FAFC; color: #0F1E36; font-weight: 600; white-space: nowrap;}
.sg_terms_date {margin-top: 2.8rem !important; color: #64748B; font-size: max(1.35rem, 13px);}
@media (max-width: 600px) {
  .sg_terms_body {padding: 2rem 2rem 2.8rem; max-height: 70vh;}
  .sg_terms_table th {width: 32%; white-space: normal;}
}
