/* =========================================
   삼성화재 치아보험 PC 랜딩페이지 스타일
   ========================================= */

:root {
  --main-color: #1B4EE4;
  --blue: #1B4EE4;
  --light-bg: #EBF3FF;
  --dark-bg: #0B1A50;
  --notice-bg: #1E1E1E;
}

/* =========================================
   공통
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  padding-bottom: 0;
  background: #fff;
  color: #111;
  line-height: 1.5;
}

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

img {
  display: block;
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================================
   헤더
   ========================================= */
header {
  background: #fff;
  border-bottom: 1px solid #E5E5E5;
  height: 90px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  align-items: center;
  width: 100%;
}

header a { width: 108px}
header a img { width: 100%;}

/* =========================================
   히어로 섹션
   ========================================= */
.sec-hero {
  background: #ebf6ff;
  padding: 60px 0 80px;
}

.sec-hero .container {
  display: flex;
  gap: 40px;
  align-items: flex-end;
}

/* 히어로 좌측 */
.hero-left {
  flex: 0 0 60%;
}

/* 뱃지 */
.badge {
  display: inline-block;
  background: #0098ff;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 20;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}

/* 히어로 부제 */
.hero-left .sub {
  font-size: 30px;
  color: var(--blue);
  margin-bottom: 0;
  font-weight: 700;
}

/* 히어로 타이틀 */
.hero-left h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.3;
  color: #111;
  margin-bottom: 36px;
  letter-spacing: -1px;
}

/* 히어로 카드 목록 */
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-cards-row {
  display: flex;
  gap: 12px;
}

/* 히어로 카드 개별 */
.hero-card {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  padding: 18px 28px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
}


.hero-card--wide {
  flex: none;
  width: 100%;
  gap: 20px;
}

.btn-more--wide {
  align-self: center;
  margin-top: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

.hero-card > img {
  height: 80px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.hero-card-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.hero-card-body p {
  font-size: 18px;
  line-height: 1.5;
  color: #888;
  font-weight: 400;
  margin: 0;
}

.hero-card-body .card-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
  margin: 0;
}

.hero-card .btn-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  color: #555;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #999;
  border-radius: 100px;
  padding: 6px 18px;
  margin-top: 16px;
}

.hero-card .btn-more:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.hero-card .btn-more .arrow-icon {
  height: 12px;
  width: auto;
  display: inline-block;
}

/* 히어로 우측 */
.hero-right {
  flex: 0 0 38%;
}

/* 폼 박스 */
.form-box {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px 32px;
  border: 3px solid #0040e0;
}

.form-box h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 28px;
  text-align: center;
  color: #111;
  letter-spacing: -0.3px;
}

.form_list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form_item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form_title {
  font-size: 18px;
  color: #555;
  font-weight: 600;
}

.form_item input[type="text"],
.form_item input[type="tel"] {
  height: 58px;
  border: 1px solid #DDD;
  border-radius: 8px;
  padding: 0 20px;
  font-size: 18px;
  outline: none;
  transition: border-color 0.2s;
  color: #111;
}

.form_item input[type="text"]:focus,
.form_item input[type="tel"]:focus {
  border-color: var(--blue);
}

.form_item input[type="text"]::placeholder,
.form_item input[type="tel"]::placeholder {
  color: #BBBBBB;
  font-size: 18px;
  font-weight: 400;
  font-family: Pretendard, sans-serif;
}

.sex_cover {
  display: flex;
  align-items: stretch;
  border: 1px solid #DDD;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}

.sex_cover input[type="radio"] {
  display: none;
}

.sex_cover label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-size: 18px;
  color: #888;
  cursor: pointer;
  font-weight: 600;
  background: #fff;
  transition: background 0.2s, color 0.2s;
  height: 58px;
  aspect-ratio: 1/1;
  
}

.sex_cover label:nth-of-type(2) {
  border-left: 1px solid #DDD;
}

.sex_cover input[type="radio"]:checked + label {
  background: #0040e0;
  color: #fff;
}

.form_item--row .form_name_sex {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.form_item--row .form_name_sex .form-name {
  flex: 1;
}

.form_item--row .form_name_sex .sex_cover {
  border-radius: 8px;;
}

.confirm_wrap {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn_submit {
  width: 100%;
  height: 64px;
  background: var(--blue);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  border-radius: 8px;
  margin-top: 20px;
  letter-spacing: -0.3px;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.btn_submit:hover {
  background: #1540c0;
}

/* =========================================
   섹션 공통
   ========================================= */
section {
  padding: 90px 0;
}

.sec-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 42px;
  line-height: 42px;
  background: var(--blue);
  color: #fff;
  border-radius: 100px;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 18px;
}

.sec-sub {
  font-size: 32px;
  color: #555;
  text-align: center;
  margin-bottom: 0;
  font-weight: 600;
}

section h2 {
  font-size: 52px;
  font-weight: 800;
  text-align: center;
  color: #111;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

section h2 strong {
  color: var(--blue);
}

.sec-sub2 {
  font-size: 28px;
  color: #888;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 400;
}

/* =========================================
   콘텐츠 카드 공통
   ========================================= */
.con-cards {
  display: flex;
  gap: 20px;
  margin-top: 50px;
  padding-bottom: 37px;
  margin-bottom: 0;
  border-bottom: 1px solid #EBEBEB;
}

.con-card {
  flex: 1;
  background: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 16px;
  padding: 36px 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.con-card img {
  height: 80px;
  width: auto;
  margin-bottom: 18px;
  object-fit: contain;
}

.con-card .card-name {
  font-size: 24px;
  color: #333;
  margin-bottom: 14px;
  font-weight: 600;
}

.con-card .card-price {
  font-size: 30px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.con-card .card-price .price-unit {
  color: #111;
  font-weight: 700;
}

/* =========================================
   주석 리스트 (note-list)
   ========================================= */
.note-list {
  margin-top: 28px;
}

.note-list li {
  font-size: 18px;
  color: #888;
  line-height: 1.8;
  padding-left: 16px;
  position: relative;
}

.note-list li::before {
  content: '※';
  position: absolute;
  left: 0;
  color: #888;
}

.section-contents-box {
  position: relative;
}


/* =========================================
   섹션 01 - 충치치료
   ========================================= */
.sec-con1 {
  background: #fff;
}

.sec-con1 h2 {
  margin-bottom: 8px;
}

/* =========================================
   섹션 02 - 보철치료
   ========================================= */
.sec-con2 {
  background: #f4f6f9;
}

.sec-con2 .con-card {
  background: #fff;
}

.sec-con2 h2 {
  margin-bottom: 0;
}

.sec-con2 .card-price {
  font-weight: 800;
}

.sec-con2 .card-price .price-unit {
  font-weight: 700;
}

.sec-con2 .note-list li.child::before {
  content: '';
}

.sec-con2 .note-list li {
  color: #555;
}

.sec-con2 .note-list li::before {
  color: #555;
}

/* =========================================
   섹션 03 - 스케일링/발치
   ========================================= */
.sec-con3 {
  background: #fff;
}

.sec-con3 .con3-main {
  display: block;
  margin: 0 auto;
  max-width: 600px;
  width: 100%;
}

.sec-con3 .note-list {
  border-top: 1px solid #EBEBEB;
  padding-top: 37px;
}

.sec-con3 .note-list li:nth-child(3)::before,
.sec-con3 .note-list li:nth-child(4)::before,
.sec-con3 .note-list li:nth-child(5)::before {
  content: '';
}

/* =========================================
   섹션 04 - 20년간 유지
   ========================================= */
.sec-con4 {
  background: #f4f6f9;
}

.sec-con4 .sec-sub {
  font-size: 29px;
  font-weight: 500;
}


.sec-con4 .con4-main {
  display: block;
  margin: 48px auto 0;
  max-width: 800px;
  width: 100%;
}

.sec-con4 .note-list {
  border-top: 1px solid #EBEBEB;
  padding-top: 37px;
}

.sec-con4 .note-list li strong {
  color: #0040e0;
  font-weight: 500;
}

/* =========================================
   필수 안내사항
   ========================================= */
.sec-notice { padding: 60px 0 80px;}
.sec-notice .container { display: flex; flex-direction: column; align-items: center;}
.sec-notice h3{ font-size: 26px; font-weight: 600; cursor: pointer; user-select: none; border: 1px solid #bbb; border-radius: 100px; padding:10px 50px; display: inline; margin: 0 auto;}
.sec-notice .text_box { font-size: 18px; color: #aaa; line-height: 2; margin-top:24px; display: none;}
.sec-notice .text_box.open { display: block;}
.sec-notice .text_box ul { display: flex; flex-direction: column; gap: 8px;}
.sec-notice .text_box .sim_box { margin-top: 20px;}

/* =========================================
   푸터
   ========================================= */
footer {
  background: var(--notice-bg);
  padding: 80px 0 30px;
  border-top: 1px solid #333;
}

footer p,
footer button {
  color: #888;
  font-size: 18px;
  line-height: 2;
}

/* =========================================
   플로팅 바
   ========================================= */
.floating-bar-wrap {
  position: sticky;
  bottom: 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.floating-bar-wrap.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.floating-bar {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  z-index: 10;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  padding: 18px 32px;
}

.floating-bar .container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  max-width: none;
}

.floating-bar > .container > p {
  font-size: 26px;
  font-weight: 600;
  white-space: nowrap;
  color: #333;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.floating-form {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 10px;
  align-items: stretch;
}

.floating-form input[type="text"],
.floating-form input[type="tel"] {
  flex: 1;
  height: 50px;
  border: 1px solid #DDD;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 18px;
  outline: none;
  transition: border-color 0.2s;
  color: #111;
  min-width: 0;
}

.floating-form input[type="text"]:focus,
.floating-form input[type="tel"]:focus {
  border-color: var(--blue);
}

.floating-form input[type="text"]::placeholder,
.floating-form input[type="tel"]::placeholder {
  color: #BBBBBB;
  font-size: 18px;
  font-weight: 400;
  font-family: Pretendard, sans-serif;
}

.floating-form input[name="f_customer_name"] {
  flex: 0.8;
}

.floating-form input[name="f_customer_birth"] {
  flex: 0.7;
}

.floating-form .sex_cover {
  border-radius: 8px;
  white-space: nowrap;
}

.floating-form .sex_cover label {
  padding: 0 13px;
  aspect-ratio: 1/1;
  height: 50px;
}

.floating-form .btn_submit {
  flex-shrink: 0;
  padding: 0 44px;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  white-space: nowrap;
  width: auto;
  margin-top: 0;
  letter-spacing: -0.3px;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
  transition: background 0.2s;
  height: 50px;
}

.floating-form .btn_submit:hover {
  background: #1540c0;
}

/* =========================================
   개인정보처리방침 모달
   ========================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-overlay.is-open {
  display: flex;
  animation: overlayIn 0.2s ease;
}

@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-container {
  background: #fff;
  border-radius: 12px;
  width: 680px;
  max-width: 92%;
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  animation: modalIn 0.25s ease;
  display: flex;
  flex-direction: column;
}

@keyframes modalIn {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px 20px;
  border-bottom: 1px solid #E5E5E5;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  flex-shrink: 0;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.modal-close {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  font-size: 24px;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
}

.modal-close:hover {
  color: #111;
}

.modal-body {
  padding: 24px 32px 32px;
  overflow-y: auto;
}

.modal-body p {
  font-size: 13px;
  color: #444;
  line-height: 1.9;
  margin-bottom: 8px;
}

.privacy-section-title {
  font-weight: 700;
  color: #111 !important;
  margin-top: 20px !important;
  margin-bottom: 6px !important;
}

.privacy-section-title:first-child {
  margin-top: 0 !important;
}

.privacy-sub-title {
  font-weight: 600;
  color: #333 !important;
  margin-top: 10px !important;
}







#bohum_send_price { background: #4881ff;}