@import url("../fonts/pretendard/pretendard.css");
@import url("../fonts/a2z/a2z.css");

:root {
	--orange: #f97316;
	--orange-dark: #ea620a;
	--ink: #222;
	--gray: #666;
	--gray-light: #999;
	--line: #ece3da;
	--bg: #fffcf9;
	--notice: #eadfd6;
	--footer: #292524;
}

* {color: var(--ink);}
body {background: var(--bg);}
.container { width: 1200px; margin: 0 auto; position: relative; }

/* placeholder 초기화 */
input::placeholder { font-weight: 400; color:#9a9a9a; }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
	transition: background-color 9999s ease-out;
}

/* header */
header .container {padding: 26px 0 0;}
header a {display: inline-block;}
header a img {display: block; height: 30px; width: auto;}

/* 보험사 로고 스와이프 (common/bohum_list/bohum_swiper.php) */
.bohum_wrap {margin-top: 30px;}
.bohum_wrap .bohum_swiper {margin-bottom: 0; padding: 18px 0; background: #fff; border: 1px solid var(--line); border-radius: 12px;}

/* section1 : 메인 비주얼 + 신청 폼 */
.sec1 {padding-top: 72px;}
.sec1 .visual {position: relative; height: 274px;}
.sec1 .visual .main_img {position: absolute; left: 67px; bottom: -28px; z-index: 2; width: 277px; height: auto; pointer-events: none;}
.sec1 .title_wrap {position: absolute; left: 360px; top: 0; width: 700px; text-align: center;}
.sec1 .title_wrap h2 {font-family: 'A2Z'; font-size: 56px; font-weight: 600; line-height: 1.25; letter-spacing: -3px;}
.sec1 .title_wrap h2 b {display: block; font-family: 'A2Z'; font-size: 68px; font-weight: 700; color: var(--orange);}
.sec1 .title_wrap .sub {margin-top: 18px; font-family: 'A2Z'; font-size: 24px; font-weight: 400; color: var(--gray); letter-spacing: -1px;}
.sec1 .visual small {position: absolute; right: 0; bottom: 12px; font-size: 15px; color: var(--gray-light);}

/* 신청 폼 카드 (좌: 입력폼 / 우: 신청 현황) */
.sec1 .form_wrap {position: relative; z-index: 1; display: flex; padding: 40px 0 40px; background: #fff; border: 1px solid var(--line); border-radius: 16px;}
.form_wrap .box_title {font-size: 22px; font-weight: 600; text-align: center; letter-spacing: -0.5px; margin-bottom: 28px;}
.form_wrap .form_box {width: 652px; padding: 0 87px; box-sizing: border-box; border-right: 1px solid var(--line);}
.form_wrap .live_box {flex: 1; display: flex; flex-direction: column; align-items: center;}

.field_list {display: flex; flex-direction: column; gap: 20px;}
.field_list li {display: flex; align-items: center; gap: 30px;}
.field_list .field {position: relative; flex: 1;}
.field_list .name_wrap .field {flex: none; width: 288px;}
.field_list .field .title {position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font-size: 15px; color: var(--gray-light); pointer-events: none;}
.field_list .field input {width: 100%; box-sizing: border-box; height: 60px; padding-left: 90px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 15px; outline: none; transition: border-color .2s;}
.field_list .field input:focus {border-color: var(--orange);}

.field_list .checkbox_wrap {display: flex; align-items: center; gap: 22px;}
.field_list .checkbox_wrap > div {display: flex; align-items: center; gap: 8px;}
.field_list input[type="radio"] {appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 1px solid #ddd; background: #fff; border-radius: 50%; outline: none; position: relative; vertical-align: middle; margin: 0; transition: all .2s; cursor: pointer;}
.field_list input[type="radio"]::after {content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); width: 10px; height: 10px; border-radius: 50%; background-color: var(--orange); transition: transform .2s;}
.field_list input[type="radio"]:checked {border-color: #fcd5b8;}
.field_list input[type="radio"]:checked::after {transform: translate(-50%, -50%) scale(1);}
.field_list .checkbox_wrap label {font-size: 15px; font-weight: 600; cursor: pointer;}

.kakao_wrap {display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 30px;}

.btn_submit {display: flex; align-items: center; justify-content: center; width: 100%; height: 70px; background: var(--orange); border-radius: 8px; font-size: 20px; font-weight: 600; color: #fff; transition: background .2s;}
.btn_submit:hover {background: var(--orange-dark);}

.btn_kakao {background: #f8db08; color: #333; width: 100%; height: 70px; border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 20px; font-weight: 600;}
.btn_kakao img {width: 28px;}

/* 가입 신청 현황 (2.5초마다 한 칸씩 위로 롤링, 스크립트는 index.php 하단) */
.live_box .live_wrap {width: 370px; height: 318px; overflow: hidden;}
.live_box .live_list {display: flex; flex-direction: column; gap: 11px;}
.live_box .live_list.is_moving {transition: transform .5s ease;}
.live_box .live_list li {display: flex; align-items: center; justify-content: space-between; flex: none; height: 61px; padding: 0 32px; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 18px; letter-spacing: -0.5px;}
.live_box .live_list li span {white-space: nowrap;}
.live_box .live_list li .time {color: var(--gray-light);}

/* section2 : 보험료 비교하면? */
.sec2 {padding: 150px 0 0;}
.sec2 h3 {font-family: 'A2Z'; font-size: 34px; font-weight: 600; letter-spacing: -1.5px; text-align: center;}
.sec2 h3 b {font-family: 'A2Z'; font-weight: 700; color: var(--orange);}
.sec2 .info_list {display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; width: 1180px; margin: 40px auto 0;}
.sec2 .info_list li {display: flex; align-items: center; gap: 24px; height: 150px; padding: 0 40px; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: 16px;}
.sec2 .info_list .num {flex: none; display: flex; align-items: center; justify-content: center; width: 70px; height: 70px; border-radius: 50%; background: var(--orange); font-size: 32px; font-weight: 600; color: #fff;}
.sec2 .info_list p {font-family: 'A2Z'; font-size: 24px; font-weight: 500; letter-spacing: -1px;}

/* section3 : 우리 아이에게 맞는 보험상품은? */
.sec3 {padding: 80px 0 40px;}
.sec3 .cta_box {display: flex; align-items: center; justify-content: space-between; padding: 64px 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);}
.sec3 .cta_box h3 {font-family: 'A2Z'; font-size: 32px; font-weight: 600; letter-spacing: -1.5px;}
.sec3 .cta_box h3 b {font-family: 'A2Z'; font-weight: 600; color: var(--orange);}
.sec3 .cta_box p {margin-top: 20px; font-family: 'A2Z'; font-size: 20px; color: var(--gray); letter-spacing: -0.8px;}
.sec3 .btn_cta {flex: none; height: 50px; padding: 0 22px; border-radius: 50px; background: var(--orange); font-family: 'A2Z'; font-size: 20px; font-weight: 600; color: #fff; transition: background .2s;}
.sec3 .btn_cta:hover {background: var(--orange-dark);}

/* bottom_wrap */
.bottom_wrap {background: var(--notice); padding: 50px 0 54px;}
.bottom_wrap h3 {font-size: 23px; font-weight: 700; margin-bottom: 26px;}
.bottom_wrap ul {display: flex; flex-direction: column; gap: 10px;}
.bottom_wrap ul li {font-size: 15px; line-height: 1.4; color: #7d746c;}
.footer {background: var(--footer); padding: 46px 0 50px; font-size: 14px;}
.footer .container {display: flex; flex-direction: column; gap: 4px;}
.footer p {color: #fff; line-height: 1.5;}
.footer .button_wrap {display: flex; gap: 6px; margin-top: 20px;}
.footer button {color: #fff; font-size: 14px;}
