:root {
  --hero-blue: #2f6fed;
  --hero-navy: #163a7a;
  --hero-bg: #f3f5f9;
  --hero-text: #1f2937;
  --hero-muted: #6b7280;
  --hero-line: #e5eaf2;
}

header,
.sec1 {
  background: var(--hero-bg);
}

/* HEADER */
header {padding: 28px 0 12px;}
header .inner {display: flex; align-items: center;}
.logo_link {display: flex; align-items: center; gap: 12px;}
.logo_mark {display: flex; width: 40px; height: 40px; flex-shrink: 0; color: var(--hero-blue);}
.logo_mark svg {width: 100%; height: 100%; display: block;}
header .logo_wrap h1,
.logo_link h1 {font-family: 'A2z', 'Pretendard', sans-serif; font-weight: 700; font-size: 32px; color: var(--hero-navy); letter-spacing: -0.04em;}

/* SECTION 1 - BANNER */
.sec1 {padding: 16px 0 36px;}
.sec1 .inner {position: relative;}

.banner_nav {background: #fff; border-radius: 28px; box-shadow: 0 8px 24px rgba(22, 58, 122, 0.08); padding: 20px 14px; position: relative; z-index: 4;}
.banner_nav ul {display: flex; align-items: stretch; justify-content: space-between;}
.banner_nav li {flex: 1; position: relative;}
.banner_nav li:not(:last-child)::after {content: ""; position: absolute; right: 0; top: 14px; bottom: 14px; width: 1px; background: var(--hero-line);}
.banner_nav a {display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 0;}
.banner_nav .nav_icon {width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;}
.banner_nav .nav_icon img {width: 50px; height: 50px; display: block; object-fit: contain;}
.banner_nav .nav_icon svg {width: 50px; height: 50px; display: block;}
.banner_nav .nav_label {font-size: 20px; font-weight: 600; color: #374151; letter-spacing: -0.03em;}
.banner_nav li.active .nav_label {color: var(--hero-blue); font-weight: 700;}
.banner_nav li.active .nav_icon {transform: translateY(-1px);}
.banner_nav a:hover .nav_label {color: var(--hero-blue);}

.hero_wrap {display: grid; grid-template-columns: minmax(280px, 1fr) minmax(360px, 520px) 500px; gap: 24px; align-items: center; margin-top: 36px; overflow: visible;}
.hero_copy {padding: 20px 8px 0 0; min-width: 0; width: 100%; max-width: 460px;}
.hero_lead {font-size: 20px; color: var(--hero-muted); margin-bottom: 16px; letter-spacing: -0.03em; word-break: keep-all;}
.hero_lead_name {white-space: nowrap;}
.hero_copy h2 {font-family: 'A2z', 'Pretendard', sans-serif; font-size: 50px; font-weight: 900; line-height: 1.28; color: var(--hero-text); letter-spacing: -0.05em; margin-bottom: 20px; word-break: keep-all; overflow-wrap: normal;}
.hero_copy h2 .hero_line {display: block; white-space: nowrap;}
.hero_copy h2 b {color: var(--hero-blue); font-weight: 900;}
.hero_desc {font-size: 18px; line-height: 1.7; color: var(--hero-muted); margin-bottom: 32px; word-break: keep-all;}

.hero_features {display: flex; flex-direction: column; gap: 20px;}
.hero_features li {display: flex; align-items: flex-start; gap: 14px;}
.hero_features .ft_ico {width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;}
.hero_features .ft_ico svg {width: 26px; height: 26px; display: block;}
.hero_features .ft_clock {background: #e8f0ff; color: #2f6fed;}
.hero_features .ft_shield {background: #e7f8ee; color: #16a34a;}
.hero_features .ft_coin {background: #fff4d6; color: #d97706;}
.hero_features strong {display: block; font-size: 18px; font-weight: 700; color: var(--hero-text); margin-bottom: 6px; letter-spacing: -0.03em;}
.hero_features span {display: block; font-size: 16px; color: var(--hero-muted); line-height: 1.5; word-break: keep-all;}

.hero_illust {display: flex; align-items: center; justify-content: center; min-width: 0; width: 100%; background: transparent; overflow: visible;}
.hero_illust .main_img {width: 100%; max-width: 720px; height: auto; object-fit: contain; display: block; background: transparent; border: 0; box-shadow: none; filter: none; transform: none; mix-blend-mode: normal;}

.hero_wrap--main {grid-template-columns: minmax(300px, 340px) minmax(0, 1fr) 500px; gap: 12px 16px; align-items: start;}
.hero_wrap--main .hero_copy {grid-column: 1; grid-row: 1; max-width: none; z-index: 1; display: flex; flex-direction: column; justify-content: center; height: 100%;}
.hero_wrap--main .hero_illust--main {grid-column: 2; grid-row: 1; justify-self: stretch; align-self: stretch; position: relative; width: auto; max-width: none; margin: 0; padding: 0; min-height: 0; z-index: 0;}
.hero_wrap--main .hero_illust--main .main_img {position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; min-height: 0; object-fit: contain; object-position: center;}
.hero_wrap--main .form_wrap {grid-column: 3; grid-row: 1; align-self: start;}

/* FORM CARD */
.form_wrap {background: #fff; border-radius: 24px; box-shadow: 0 12px 32px rgba(22, 58, 122, 0.12); padding: 40px 32px 30px; position: relative; z-index: 2; width: 100%;}
.form_head {text-align: center; margin-bottom: 26px;}
.form_head h3 {font-size: 26px; font-weight: 800; color: var(--hero-blue); letter-spacing: -0.04em; margin-bottom: 12px; line-height: 1.35; word-break: keep-all;}
.form_head p {font-size: 16px; color: var(--hero-muted); line-height: 1.5;}
.form_fields {display: flex; flex-direction: column; gap: 14px;}
.form_row {display: flex; align-items: stretch; gap: 10px;}
.input_box {height: 54px; display: flex; align-items: center; gap: 14px; border: 1px solid #dbe3ef; border-radius: 14px; padding: 0 20px; flex: 1; min-width: 0; background: #fff; box-sizing: border-box;}
.input_box:focus-within {border-color: var(--hero-blue); box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.12);}
.input_box.ico_user {height: 84px; min-height: 84px; padding-left: 64px; border-radius: 14px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.2' fill='none' stroke='%2394a3b8' stroke-width='1.8'/%3E%3Cpath d='M6.2 18.5c.8-3 3.1-4.6 5.8-4.6s5 1.6 5.8 4.6' fill='none' stroke='%2394a3b8' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 20px 50%; background-size: 30px;}
.input_box.ico_user input {height: 100%; font-size: 22px; line-height: 1.2;}
.input_box.ico_phone {padding-left: 58px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.2 3.8h7.6c.9 0 1.6.7 1.6 1.6v13.2c0 .9-.7 1.6-1.6 1.6H8.2c-.9 0-1.6-.7-1.6-1.6V5.4c0-.9.7-1.6 1.6-1.6z' fill='none' stroke='%2394a3b8' stroke-width='1.8'/%3E%3Cpath d='M10 18.6h4' fill='none' stroke='%2394a3b8' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 18px 50%; background-size: 26px;}
.input_box .form_title {font-size: 18px; color: var(--hero-muted); white-space: nowrap; flex-shrink: 0;}
.input_box:focus-within .form_title {color: var(--hero-blue); font-weight: 600;}
.input_box input[type="text"],
.input_box input[type="tel"] {width: 100%; height: 100%; font-size: 18px; border: 0; background: none; outline: none;}
.input_box.ico_user input {font-size: 22px;}
.input_box input::placeholder {color: #b0b8c4;}
.gender_wrap {display: flex; align-items: stretch; gap: 8px; flex-shrink: 0; position: relative;}
.gender_wrap input[type="radio"] {position: absolute; opacity: 0; pointer-events: none;}
.gender_wrap label {display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border: 1px solid #dbe3ef; border-radius: 14px; font-size: 18px; color: var(--hero-muted); cursor: pointer; background: #fff;}
.gender_wrap input[type="radio"]:checked + label {background: var(--hero-blue); border-color: var(--hero-blue); color: #fff; font-weight: 700;}
.form_row select {height: 54px; width: 96px; flex-shrink: 0; border: 1px solid #dbe3ef; border-radius: 14px; appearance: none; padding: 0 34px 0 14px; font-size: 18px; font-weight: 600; background: #fff url("../images/icon_arrow_tel.png") no-repeat calc(100% - 12px) 50% / 12px; outline: none;}
.form_row select:focus {border-color: var(--hero-blue);}

.agree_wrap {display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 20px 0 16px;}
.agree_check {display: flex; align-items: center; gap: 10px; cursor: pointer; min-width: 0; position: relative;}
.agree_check input {position: absolute; opacity: 0; pointer-events: none;}
.agree_box {width: 24px; height: 24px; border: 1.5px solid #c5d0e0; border-radius: 6px; flex-shrink: 0; position: relative; background: #fff;}
.agree_check input:checked + .agree_box {background: var(--hero-blue); border-color: var(--hero-blue);}
.agree_check input:checked + .agree_box::after {content: ""; position: absolute; left: 7px; top: 2px; width: 6px; height: 12px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);}
.agree_txt {font-size: 15px; color: #4b5563; letter-spacing: -0.03em; white-space: nowrap;}
.agree_detail {font-size: 15px; color: #9ca3af; white-space: nowrap; flex-shrink: 0; padding: 4px 0;}
.agree_detail:hover {color: var(--hero-blue);}

.form_wrap .btn_submit {display: block; width: 100%; height: 74px; background: var(--hero-blue); border-radius: 16px; color: #fff; font-size: 24px; font-weight: 700; letter-spacing: -0.03em;}
.form_wrap .btn_submit:hover {filter: brightness(1.05);}
.form_secure {display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 14px; color: #9ca3af; line-height: 1.4; text-align: center;}
.form_secure .lock_ico {width: 16px; height: 16px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='11' width='12' height='9' rx='2' fill='none' stroke='%239ca3af' stroke-width='2'/%3E%3Cpath d='M8.5 11V8.5a3.5 3.5 0 0 1 7 0V11' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;}

/* PARTNER BAR */
.partner_bar {margin-top: 20px; background: #fff; border-radius: 22px; box-shadow: 0 8px 24px rgba(22, 58, 122, 0.06); padding: 20px 28px; display: flex; align-items: center; gap: 26px; position: relative; z-index: 4;}
.partner_bar p {flex-shrink: 0; font-size: 16px; font-weight: 700; color: #374151; letter-spacing: -0.03em; white-space: nowrap;}
.partner_bar ul {display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 14px; min-width: 0;}
.partner_bar li {display: flex; align-items: center; justify-content: center; flex: 1;}
.partner_bar img {height: 32px; width: auto; max-width: 130px; object-fit: contain;}

/* CANCER THEME */
#wrap.cancer {
  --hero-blue: #ef4444;
  --hero-navy: #9f1239;
  --hero-bg: #fef2f2;
  --hero-line: #fecaca;
}
#wrap.cancer .hero_features .ft_clock {background: #fee2e2; color: #ef4444;}
#wrap.cancer .input_box:focus-within {box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);}

/* TOTAL (건강/종합) THEME */
#wrap.total {
  --hero-blue: #f97316;
  --hero-navy: #9a3412;
  --hero-bg: #fff7ed;
  --hero-line: #fed7aa;
}
#wrap.total .hero_features .ft_clock {background: #ffedd5; color: #f97316;}
#wrap.total .input_box:focus-within {box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);}

/* SILBI (실비) THEME */
#wrap.silbi {
  --hero-blue: #16a34a;
  --hero-navy: #14532d;
  --hero-bg: #f0fdf4;
  --hero-line: #bbf7d0;
}
#wrap.silbi .hero_features .ft_clock {background: #dcfce7; color: #16a34a;}
#wrap.silbi .input_box:focus-within {box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);}

/* DRIVER (운전자) THEME */
#wrap.driver {
  --hero-blue: #7c3aed;
  --hero-navy: #4c1d95;
  --hero-bg: #f5f3ff;
  --hero-line: #ddd6fe;
}
#wrap.driver .hero_features .ft_clock {background: #ede9fe; color: #7c3aed;}
#wrap.driver .input_box:focus-within {box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);}

/* DENTAL (치아) THEME */
#wrap.dental {
  --hero-blue: #0e8ea3;
  --hero-navy: #0b5f6d;
  --hero-bg: #e8f8fb;
  --hero-line: #b7e6ee;
}
#wrap.dental .hero_features .ft_clock {background: #d5f3f8; color: #0e8ea3;}
#wrap.dental .input_box:focus-within {box-shadow: 0 0 0 3px rgba(14, 142, 163, 0.12);}

/* CARE (치매/간병) THEME */
#wrap.care {
  --hero-blue: #b56545;
  --hero-navy: #7c3f2a;
  --hero-bg: #f7f2ee;
  --hero-line: #e8d5c8;
}
#wrap.care .hero_features .ft_clock {background: #f0e4db; color: #b56545;}
#wrap.care .input_box:focus-within {box-shadow: 0 0 0 3px rgba(181, 101, 69, 0.15);}

#wrap.cancer .hero_wrap,
#wrap.total .hero_wrap,
#wrap.driver .hero_wrap,
#wrap.dental .hero_wrap,
#wrap.care .hero_wrap {grid-template-columns: minmax(280px, 320px) minmax(0, 1fr) 500px; gap: 8px 12px; align-items: start;}
#wrap.cancer .hero_copy,
#wrap.total .hero_copy,
#wrap.driver .hero_copy,
#wrap.dental .hero_copy,
#wrap.care .hero_copy {max-width: none;}
#wrap.cancer .hero_illust,
#wrap.total .hero_illust,
#wrap.driver .hero_illust,
#wrap.dental .hero_illust,
#wrap.care .hero_illust {align-self: stretch; position: relative; min-height: 0;}
#wrap.cancer .hero_illust .main_img,
#wrap.total .hero_illust .main_img,
#wrap.driver .hero_illust .main_img,
#wrap.dental .hero_illust .main_img,
#wrap.care .hero_illust .main_img {position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; min-height: 0; object-fit: contain; object-position: center; transform: none;}
#wrap.cancer .form_wrap,
#wrap.total .form_wrap,
#wrap.driver .form_wrap,
#wrap.dental .form_wrap,
#wrap.care .form_wrap {align-self: start;}
#wrap.cancer .hero_copy,
#wrap.driver .hero_copy {position: relative; z-index: 2; overflow: visible;}
#wrap.cancer .hero_illust {overflow: hidden; z-index: 0;}
#wrap.cancer .hero_illust .main_img {top: -72px; left: 50%; width: 88%; height: calc(100% + 40px); transform: translateX(-50%); object-fit: contain; object-position: center bottom;}
#wrap.driver .hero_wrap {grid-template-columns: 360px minmax(0, 1fr) 500px; gap: 8px 4px;}
#wrap.driver .hero_lead {white-space: nowrap; font-size: 18px;}
#wrap.driver .hero_copy {align-self: start; max-height: 0; min-height: 0; overflow: visible;}
#wrap.driver .hero_illust {align-self: stretch; overflow: visible; min-height: 0; z-index: 0;}
#wrap.driver .hero_illust .main_img {inset: auto; width: 168%; height: 140%; left: 46%; top: 52%; right: auto; bottom: auto; transform: translate(-50%, -50%); object-fit: contain; object-position: center;}
#wrap.total .hero_wrap {grid-template-columns: 340px minmax(0, 1fr) 500px; gap: 8px 0; align-items: start;}
#wrap.total .hero_copy {position: relative; z-index: 2; align-self: start; max-height: 0; min-height: 0; overflow: visible;}
#wrap.total .hero_lead {white-space: nowrap;}
#wrap.total .hero_illust {align-self: stretch; overflow: visible; min-height: 0; z-index: 0;}
#wrap.total .hero_illust .main_img {inset: 0; width: 122%; height: 100%; left: -72px; right: auto; top: 0; bottom: 0; transform: none; object-fit: contain; object-position: center;}
#wrap.dental .hero_wrap {grid-template-columns: 470px minmax(0, 1fr) 500px; gap: 8px 12px; align-items: start;}
#wrap.dental .hero_copy {align-self: start; max-height: 0; min-height: 0; overflow: visible;}
#wrap.dental .hero_illust {align-self: stretch; overflow: visible; min-height: 0;}
#wrap.dental .hero_illust .main_img {inset: 0; width: 100%; height: 100%; left: auto; top: auto; right: auto; bottom: auto; transform: translateX(-32px); object-fit: contain; object-position: center;}
#wrap.care .hero_wrap {grid-template-columns: 360px minmax(0, 1fr) 500px; gap: 8px 8px; align-items: start; overflow: visible;}
#wrap.care .hero_copy {align-self: start; max-height: 0; min-height: 0; overflow: visible; z-index: 2;}
#wrap.care .hero_illust {align-self: stretch; overflow: hidden; min-height: 0; z-index: 0;}
#wrap.care .hero_illust .main_img {inset: auto; width: 88%; height: 90%; left: 54%; top: 44%; right: auto; bottom: auto; transform: translate(-50%, -50%); object-fit: contain; object-position: center;}

#wrap.silbi .hero_wrap {grid-template-columns: 380px minmax(0, 1fr) 500px; gap: 8px 8px; align-items: start;}
#wrap.silbi .hero_copy {align-self: start; max-height: 0; min-height: 0; overflow: visible; z-index: 2; position: relative; max-width: none;}
#wrap.silbi .hero_copy h2 {white-space: nowrap;}
#wrap.silbi .hero_lead {white-space: nowrap;}
#wrap.silbi .hero_illust {position: relative; align-self: stretch; justify-self: stretch; width: 100%; margin: 0; padding: 0; overflow: visible; z-index: 0; min-height: 0;}
#wrap.silbi .hero_illust .main_img {position: absolute; inset: 0; left: -36px; top: 0; width: 128%; height: 100%; max-width: none; object-fit: contain; object-position: center; display: block; transform: scale(1.26); transform-origin: center center;}
#wrap.silbi .form_wrap {align-self: start; z-index: 2;}







