:root {
  --primary: #d28619;
  --primary-dark: #0d8 4a1;
  --primary-soft: #feffea;
  --accent: #e07f39;
  --accent-soft: #feffea;
  --mint: #dcb258;
  --ink: #000000;
  --muted: #000000;
  --line: #f1f2df;
  --surface: #ffffff;
  --background: #fcfcf4;
  --shadow: 0 22px 55px rgba(20, 80, 140, .14);
  --container: 1180px;
}


h4 {
  font-size: 24px;
  margin: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", system-ui, sans-serif;
  color: #000;
  background: #fff;
  word-break: keep-all;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  background: #111;
  color: #fff;
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(232, 230, 239, .9);
  backdrop-filter: blur(16px);
  padding: 16px 0;
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}

.brand-mark {
  width: 50px;
  height: 50px;
  color: var(--primary);
}

.brand-copy {
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-size: 24px;
  letter-spacing: -.6px;
}

.brand-copy small {
  margin-top: 6px;
  color: var(--primary);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.desktop-nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: .25s;
  transform: translateX(-50%);
}

.desktop-nav a:hover::after {
  width: 100%;
}

.header-cta {
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transition: .2s;
}

.header-cta:hover {
  background: var(--primary);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: .2s;
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 12px 20px 20px;
}

.mobile-menu a {
  display: block;
  padding: 13px 4px;
  font-weight: 700;
}

.mobile-menu .mobile-cta {
  margin-top: 8px;
  text-align: center;
  color: #fff;
  background: var(--primary);
  border-radius: 12px;
}

.partner-strip {
  overflow: hidden;
  background: #142a43;
  color: #fff;
}

.partner-strip .container {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.partner-strip p {
  flex: 0 0 auto;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #b9c9da;
}

.partner-strip p span {
  color: #fff;
}

.partner-track {
  min-width: 0;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(8, minmax(90px, 1fr));
  gap: 8px;
}

.partner-track span {
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 9px;
  color: #d5e2ef;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, .04);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 38px;
  background: linear-gradient(135deg, #feffee 0%, #fff7f8 56%, #fffef2 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 28px 28px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.hero-orb-one {
  width: 350px;
  height: 350px;
  left: -170px;
  top: -130px;
  background: #fbf5d8;
}

.hero-orb-two {
  width: 270px;
  height: 270px;
  right: -100px;
  bottom: -100px;
  background: #fbf5d7;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 430px;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.2px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  margin: 0px 0 22px;
  font-size: clamp(42px, 5vw, 50px);
  line-height: 1.17;
  letter-spacing: -3px;
}

em {
  color: var(--primary);
  font-style: normal;
}

.hero-description {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-benefits {
  display: flex;
  gap: 12px;
  margin-top: 33px;
}

.hero-benefits div {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 145px;
  padding: 14px 15px;
  border: 1px solid rgba(25, 118, 210, .1);
  border-radius: 15px;
  background: rgba(255, 255, 255, .67);
  backdrop-filter: blur(8px);
}

.hero-benefits strong {
  color: var(--primary);
  font-size: 12px;
}

.hero-benefits span {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.hero-visual {
  width: min(100%, 610px);
  margin: 17px 0 -45px -38px;
}

.quote-card {
  position: relative;
  padding: 34px 34px 27px;
  border: 1px solid #ddd;
  border-radius: 30px;
  background: rgba(255, 255, 255, .94);
}

.quote-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: -1;
  border-radius: 24px;
  rotate(2.5deg);
}

.quote-card-head {
  margin-bottom: 23px;
  text-align: center;
}

.mini-label {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}

.quote-card h2 {
  margin: 11px 0 9px;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -1.2px;
}

.quote-card h2 strong {
  color: var(--primary);
}

.quote-card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 12px;
}

.field,
.gender-field {
  display: block;
  margin: 0 0 15px;
  padding: 0;
  border: 0;
}

.field>span,
.gender-field legend {
  display: block;
  margin-bottom: 7px;
  color: #52657a;
  font-size: 12px;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #d7e2ed;
  border-radius: 12px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  transition: .2s;
}

.field input:focus,
.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(25, 118, 210, .10);
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 50px;
  padding: 4px;
  border: 1px solid #d7e2ed;
  border-radius: 12px;
  background: #feffea;
}

.segmented label {
  cursor: pointer;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: grid;
  place-items: center;
  height: 40px;
  border-radius: 9px;
  color: #6f8296;
  font-size: 14px;
  font-weight: 700;
  transition: .2s;
}

.segmented input:checked+span {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(25, 118, 210, .25);
}

.phone-inputs {
  display: grid;
  grid-template-columns: 92px 1fr 1fr;
  gap: 8px;
}

.phone-inputs select {
  appearance: none;
}

.agreement-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 2px 0 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  cursor: pointer;
  color: #52677d;
}

.checkbox-label input {
  position: absolute;
  opacity: 0;
}

.fake-check {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1px solid #d5e0ea;
  border-radius: 6px;
  background: #fff;
}

.checkbox-label input:checked+.fake-check {
  border-color: var(--primary);
  background: var(--primary);
}

.checkbox-label input:checked+.fake-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.text-button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}

.form-error {
  margin: 0 0 5px;
  color: #e9465d;
  font-size: 12px;
  font-weight: 600;
}

.submit-button {
  width: 100%;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(100deg, var(--primary), #d9dc2f 56%, var(--accent));
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 12px 24px #f2f9ff;
  transition: .2s;
}

.submit-button:hover {
  transform: translateY(-2px);
}

.submit-button img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.trust-note {
  margin-top: 15px;
  color: #7b8da0;
  text-align: center;
  font-size: 11px;
}

.trust-note span {
  color: var(--mint);
  font-weight: 800;
}

.quick-summary {
  position: relative;
  z-index: 3;
  margin-top: -34px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(25, 65, 105, .11);
}

.summary-grid article {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 25px 30px;
}

.summary-grid article+article {
  border-left: 1px solid var(--line);
}

.summary-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 24px;
  font-weight: 800;
}

.summary-grid article:nth-child(2) .summary-icon {
  background: var(--accent-soft);
  color: var(--accent);
}

.summary-grid article:nth-child(3) .summary-icon {
  background: #eaf8ff;
  color: #2e9dc2;
}

.summary-grid strong {
  font-size: 15px;
}

.summary-grid p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.section {
  padding: 40px 0;
}

.section-heading {
  max-width: 580px;
}

.section-heading.center {
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading.center .eyebrow {
  justify-content: center;
}

.section-heading h2 {
  margin: 17px 0 17px;
  font-size: clamp(34px, 4vw, 38px);
  line-height: 1.3;
  letter-spacing: -2px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.guide-section {
  background: #fff;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-card {
  position: relative;
  min-height: 285px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 22px;
  background: #fff;
  transition: .25s;
}

.guide-card:hover {
  transform: translateY(-7px);
  border-color: transparent;
  box-shadow: 0 20px 45px #f8f8f0;
  border: 1px solid #ddd;
}

.guide-card.featured {
  background: linear-gradient(145deg, var(--primary), #3b8ce4);
  color: #fff;
  border-color: transparent;
}

.guide-card.accent {
  background: linear-gradient(145deg, #f2f9ff, #fff);
  border-color: #d7ecfb;
}

.card-number {
  position: absolute;
  right: 23px;
  top: 18px;
  color: #efeddb;
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
}

.featured .card-number {
  color: rgba(255, 255, 255, .12);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--primary-soft);
  font-size: 25px;
}

.featured .card-icon {
  background: rgba(255, 255, 255, .16);
}

.guide-card h3 {
  margin: 22px 0 11px;
  font-size: 20px;
  letter-spacing: -.6px;
}

.guide-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.featured p {
  color: rgba(255, 255, 255, .76);
}

.card-link {
  position: absolute;
  left: 30px;
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.featured .card-link {
  color: #fff;
}

.card-link span {
  transition: transform .2s;
}

.card-link:hover span {
  transform: translateX(4px);
}

.compare-section {
  position: relative;
  overflow: hidden;
  background: #433013;
  color: #fff;
}

.compare-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  right: -220px;
  top: -250px;
  border-radius: 50%;
  background: #514d35;
  filter: blur(1px);
}

.compare-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 520px;
  align-items: center;
}

.eyebrow.light {
  color: #9fd2ff;
}

.compare-copy h2 {
  margin: 18px 0 22px;
  font-size: clamp(36px, 4vw, 40px);
  line-height: 1.3;
  letter-spacing: -2px;
}

.compare-copy>p {
  max-width: 570px;
  margin: 0;
  color: #e0d5c5;
  line-height: 1.8;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 34px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 13px 0;
  color: #eef4f8;
}

.check-list span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(111, 207, 192, .18);
  color: #e5bb6b;
  font-size: 12px;
  font-weight: 800;
}

.light-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 15px 22px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
  transition: .2s;
}

.light-button {
  background: #fff;
  color: var(--ink);
}

.light-button:hover {
  transform: translateY(-2px);
  background: var(--accent-soft);
}

.comparison-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 25px 60px rgba(7, 30, 52, .30);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 26px;
  background: linear-gradient(100deg, #feffea, #feffea);
}

.panel-top span {
  color: var(--primary);
  font-weight: 800;
}

.panel-top strong {
  font-size: 18px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.1fr .55fr 1.05fr;
  align-items: center;
  min-height: 61px;
  padding: 0 26px;
  border-top: 1px solid var(--line);
}

.comparison-row.head {
  min-height: 42px;
  background: #f5f6eb;
  color: var(--muted);
}

/* 비교표의 상세 확인 열을 오른쪽 끝에 맞춤 */
.comparison-row> :nth-child(3) {
  justify-self: end;
  text-align: right;
}

.dot.yes {
  color: var(--mint);
}

.tag {
  justify-self: end;
  padding: 5px 20px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  text-align: right;
}

.panel-foot {
  padding: 18px 26px;
  background: #feffea;
  color: #7c8fa2;
  font-size: 14px;
}

.faq-section {}

/* insurer */
.insurer-strip {
  padding: 18px 0;
  background: var(--cream)
}

.insurer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border: 1px solid #ddd;
  border-radius: 22px;
  background: #f9f8f1;
}

.insurer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55
}

.insurer-inner p strong {
  color: var(--forest);
}

.marquee {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent)
}

.marquee-track {
  width: max-content;
  display: flex;
  gap: 15px;
  animation: roll 28s linear infinite
}

.marquee:hover .marquee-track {
  animation-play-state: paused
}

.marquee-track span {
  min-width: 165px;
  padding: 5px;
  border-radius: 10px;
  background-color: #fff;
  border: solid 1px #ddd;
  ackground: var(--soft);
  color: var(--forest);
  font-size: 13px;
  font-weight: 900
}

@keyframes roll {
  to {
    transform: translateX(-50%)
  }
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px
}

.section-head.centered {
  margin-inline: auto;
  text-align: center
}

.section-head>span {
  color: var(--coral);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1.8px
}

.section-head h2 {
  margin: 12px 0 15px;
  font-size: clamp(38px, 5vw, 54px);
  line-height: 1.25;
  letter-spacing: -2.6px
}

.section-head h2 em {
  color: var(--forest-2);
  font-style: normal
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px
}


/*
.faq-grid { display: grid; grid-template-columns: 370px 1fr; align-items: start; }
*/

.outline-button {
  margin-top: 28px;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.outline-button:hover {
  background: var(--primary);
  color: #fff;
}

.accordion {
  border-top: 2px solid var(--ink);
}

.accordion-item {
  border-bottom: 1px solid #d7e1eb;
}

.accordion-trigger {
  width: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 8px;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.accordion-trigger b {
  margin-right: 10px;
  color: var(--primary);
}

.accordion-trigger i {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.accordion-trigger i::before,
.accordion-trigger i::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 3px;
  width: 16px;
  height: 2px;
  background: var(--ink);
  transition: .2s;
}

.accordion-trigger i::after {
  transform: rotate(90deg);
}

.accordion-item.open .accordion-trigger i::after {
  transform: rotate(0deg);
}

.accordion-content {
  padding: 0 45px 27px 44px;
}

.accordion-content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.final-cta {
  padding: 40px 0;
  background: linear-gradient(100deg, #d28519, #2d86da 58%, #40a9dc);
  color: #fff;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.final-cta span {
  color: rgba(255, 255, 255, .65);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.final-cta h2 {
  margin: 12px 0 0;
  font-size: 34px;
  line-height: 1.45;
  letter-spacing: -1.2px;
}

.final-cta a {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 17px 23px;
  border-radius: 12px;
  background: #fff;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 800;
}

.final-cta a span {
  color: var(--primary-dark);
  font-size: 18px;
  letter-spacing: 0;
}

.site-footer {
  padding: 60px 0 36px;
  background: #3a2a10;
  color: #fff;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin-bottom: 28px;
}

.footer-brand strong {
  color: #fff;
  font-size: 23px;
}

.footer-brand span {
  font-size: 12px;
}

.footer-notice {
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.footer-notice h2 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 14px;
}

.footer-notice ul {
  margin: 0;
  padding-left: 0;
}

.footer-notice li {
  margin: 7px 0;
  font-size: 11px;
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 0;
}

.footer-bottom p {
  margin: 0;
  font-size: 11px;
}

.footer-bottom button {
  border: 0;
  background: transparent;
  color: #000;
  font-size: 11px;
  text-decoration: underline;
}

.floating-cta {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 50;
  width: 94px;
  height: 94px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 6px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), var(--primary));
  color: #fff;
  box-shadow: 0 12px 35px rgba(18, 86, 145, .28);
  transition: .2s;
}

.floating-cta:hover {
  transform: translateY(-4px) scale(1.03);
}

.floating-cta span {
  font-size: 11px;
}

.floating-cta strong {
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.show {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 32, 52, .68);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 600px);
  max-height: min(82vh, 780px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 25px 80px rgba(10, 42, 74, .30);
}

.modal-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  margin: 0;
  font-size: 18px;
}

.modal-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #eef4f9;
  color: var(--ink);
  font-size: 27px;
  line-height: 1;
}

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

.modal-foot {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  padding: 17px 25px;
  border-top: 1px solid var(--line);
}

.legal-copy h3 {
  margin: 20px 0 8px;
  font-size: 14px;
}

.legal-copy h3:first-child {
  margin-top: 0;
}

.legal-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.legal-warning {
  margin-top: 24px;
  padding: 15px;
  border-radius: 10px;
  background: #fff4e7;
  color: #8d5a19;
  font-size: 12px;
  line-height: 1.6;
}

.primary-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.info-dialog .modal-body h3 {
  margin: 0 0 14px;
  font-size: 23px;
}

.info-dialog .modal-body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.info-dialog .modal-body ul {
  padding-left: 19px;
  color: #43586e;
  font-size: 14px;
  line-height: 1.9;
}

.result-dialog {
  display: block;
  max-width: 430px;
  padding: 42px 34px 32px;
  text-align: center;
}

.result-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e8faf7;
  color: #35aa98;
  font-size: 34px;
  font-weight: 800;
}

.result-label {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.result-dialog h2 {
  margin: 10px 0 17px;
  font-size: 24px;
  line-height: 1.45;
}

.result-dialog h2 strong {
  color: var(--primary);
}

.result-dialog p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

@media (max-width: 1024px) {

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr 390px;
    gap: 35px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-benefits div {
    min-width: 0;
    flex: 1;
  }

  .hero-visual {
    margin-left: -20px;
  }

  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-grid {
    grid-template-columns: 1fr 460px;
  }

  .faq-grid {
    grid-template-columns: 300px 1fr;
  }

  .partner-track {
    grid-template-columns: repeat(4, 1fr);
  }

  .partner-track span:nth-child(n+5) {
    display: none;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    height: 68px;
  }

  .brand-mark {
    width: 40px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .partner-strip .container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 0;
  }

  .partner-strip p {
    text-align: center;
  }

  .hero {}

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .eyebrow {
    justify-content: center;
  }

  .hero h1 {
    font-size: clamp(40px, 10vw, 48px);
  }

  .hero-benefits {
    justify-content: center;
  }

  .hero-benefits div {
    max-width: 170px;
    text-align: left;
  }

  .hero-visual {
    margin: 15px auto -25px;
  }

  .quote-card {
    width: min(100%, 500px);
    margin: auto;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .summary-grid article+article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 0 0;
  }

  .compare-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .compare-copy {
    text-align: center;
  }

  .compare-copy .eyebrow {
    justify-content: center;
  }

  .compare-copy>p {
    margin-inline: auto;
  }

  .check-list {
    display: inline-block;
    text-align: left;
  }

  .comparison-panel {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .faq-section .section-heading {
    max-width: none;
    text-align: center;
  }

  .faq-section .section-heading .eyebrow {
    justify-content: center;
  }

  .final-cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand-copy small {
    display: none;
  }

  .partner-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-track span:nth-child(n+5) {
    display: grid;
  }

  .partner-track span:nth-child(n+7) {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    margin-top: 15px;
    font-size: 38px;
    line-height: 1.22;
    letter-spacing: -2.2px;
  }

  .hero-description {
    font-size: 15px;
  }

  .desktop-only {
    display: none;
  }

  .hero-benefits {
    gap: 7px;
  }

  .hero-benefits div {
    display: block;
    padding: 12px 9px;
    text-align: center;
    border-radius: 12px;
  }

  .hero-benefits strong {
    display: block;
    margin-bottom: 5px;
  }

  .hero-benefits span {
    font-size: 11px;
  }

  .hero-visual {
    margin-top: 10px;
  }

  .quote-card {
    padding: 28px 20px 23px;
    border-radius: 23px;
  }

  .quote-card h2 {
    font-size: 25px;
  }

  .form-row {
    grid-template-columns: 1fr 132px;
    gap: 8px;
  }

  .field input,
  .field select,
  .segmented {
    height: 48px;
  }

  .segmented span {
    height: 38px;
  }

  .phone-inputs {
    grid-template-columns: 82px 1fr 1fr;
    gap: 6px;
  }

  .phone-inputs input,
  .phone-inputs select {
    padding: 0 9px;
  }

  .agreement-row {
    align-items: flex-start;
  }

  .checkbox-label {
    align-items: flex-start;
    line-height: 1.5;
  }

  .summary-grid article {
    padding: 21px 20px;
  }

  .section {
    padding: 30px 0 20px 0;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .section-heading p {
    font-size: 14px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .guide-card {
    min-height: 255px;
  }

  .compare-copy h2 {
    font-size: 30px;
  }

  .comparison-row {
    grid-template-columns: 1.05fr .55fr 1.05fr;
    padding: 0 16px;
  }

  .panel-top {
    padding: 20px 18px;
  }

  .panel-top strong {}

  .accordion-trigger {
    min-height: 72px;
    font-size: 14px;
  }

  .accordion-content {
    padding: 0 8px 24px 37px;
  }

  .final-cta h2 {
    font-size: 27px;
  }

  .final-cta a {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .floating-cta {
    right: 14px;
    bottom: 14px;
    width: 78px;
    height: 78px;
    border-width: 4px;
  }

  .floating-cta strong {
    font-size: 11px;
  }

  .modal {
    padding: 12px;
  }

  .modal-dialog {
    max-height: 88vh;
    border-radius: 17px;
  }

  .modal-head {
    padding: 18px;
  }

  .modal-body {
    padding: 20px;
  }

  .result-dialog {
    padding: 36px 22px 24px;
  }
}

@media (max-width: 390px) {
  .name-gender-row {
    grid-template-columns: 1fr;
  }

  .gender-field {
    margin-top: -5px;
  }

  .phone-inputs {
    grid-template-columns: 78px 1fr 1fr;
  }

  .quote-card {
    padding-inline: 16px;
  }
}

/* =========================================================
   2026-07 폰트 확대 + 보험사 로고 자동 롤링
   ========================================================= */

/* 전체 기본 글자 크기와 가독성 */
body {
  font-size: 24px;
  line-height: 1.65;
}

.brand-copy strong {
  font-size: 33px;
}

.brand-copy small {
  font-size: 10px;
}

.desktop-nav a {
  font-size: 17px;
}

.header-cta {
  font-size: 16px;
}

.eyebrow {
  font-size: 14px;
}

.hero-description {
  font-size: 20px;
}

.hero-benefits strong {
  font-size: 14px;
}

.hero-benefits span {
  font-size: 15px;
}

.mini-label {
  font-size: 13px;
}

.quote-card h2 {
  font-size: 31px;
}

.quote-card-head p {
  font-size: 14px;
}

.field>span,
.gender-field legend {
  font-size: 14px;
}

.field input,
.field select {
  font-size: 17px;
}

.segmented span {
  font-size: 16px;
}

.checkbox-label,
.text-button,
.form-error {
  font-size: 14px;
}

.submit-button {
  font-size: 18px;
}

.trust-note {
  font-size: 13px;
}

.section-heading p {
  font-size: 18px;
}

.guide-card {
  min-height: 290px;
}

.guide-card h3 {
  font-size: 23px;
}

.guide-card p {
  font-size: 16px;
}

.card-link {
  font-size: 15px;
}

.accordion-trigger {
  font-size: 18px;
}

.accordion-content p {
  font-size: 16px;
}

.final-cta>.container>div>span,
.final-cta-inner>div>span {
  font-size: 13px;
}

.final-cta h2 {
  font-size: 37px;
}

.final-cta a {
  font-size: 16px;
}

.footer-brand strong {
  font-size: 26px;
}

.footer-brand span {
  font-size: 14px;
}

.footer-notice h2 {
  font-size: 16px;
}

.footer-notice li {
  font-size: 13px;
}

.footer-bottom p,
.footer-bottom button {
  font-size: 13px;
}

.modal-head h2 {
  font-size: 20px;
}

.legal-copy h3 {
  font-size: 16px;
}

.legal-copy p,
.legal-warning {
  font-size: 14px;
}

.primary-small {
  font-size: 15px;
}

.info-dialog .modal-body p,
.info-dialog .modal-body ul {
  font-size: 16px;
}

.result-label {
  font-size: 14px;
}

.result-dialog p {
  font-size: 15px;
}

/* 보험사 로고 자동 롤링 */
.partner-strip {
  position: relative;
  overflow: hidden;
  background: #142a43;
  color: #fff;
}

.partner-strip-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.partner-message {
  flex: 0 0 auto;
  width: 220px;
  margin: 0;
  color: #b9c9da;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.partner-message span {
  display: block;
  color: #fff;
  font-size: 16px;
}

.partner-marquee {
  position: relative;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.partner-track {
  width: max-content;
  display: flex;
  grid-template-columns: none;
  gap: 0;
  animation: partnerLogoRoll 34s linear infinite;
  will-change: transform;
}

.partner-marquee:hover .partner-track {
  animation-play-state: paused;
}

.partner-group {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
}

.partner-track .partner-logo {
  min-width: 150px;
  min-height: 48px;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 13px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  white-space: nowrap;
}

.partner-logo i {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff;
  color: #2f2c45;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: -.4px;
}

.partner-logo b {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.35px;
}

.partner-logo.logo-samsung i {
  color: #1268c4;
}

.partner-logo.logo-hyundai i {
  color: #126f91;
}

.partner-logo.logo-db i {
  color: #1b8b52;
}

.partner-logo.logo-kb i {
  color: #7b6725;
}

.partner-logo.logo-meritz i {
  color: #db3434;
}

.partner-logo.logo-hanwha i {
  color: #ef6d1f;
}

.partner-logo.logo-lotte i {
  color: #d8243b;
}

.partner-logo.logo-heungkuk i {
  color: #be285d;
}

.partner-logo.logo-kyobo i {
  color: #238b67;
}

.partner-logo.logo-shinhan i {
  color: #325dc7;
}

@keyframes partnerLogoRoll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 1024px) {
  .partner-track {
    grid-template-columns: none;
  }

  .partner-track .partner-logo:nth-child(n) {
    display: flex !important;
  }
}

@media (max-width: 820px) {
  .brand-copy strong {
    font-size: 21px;
  }

  .partner-strip-inner {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 0;
  }

  .partner-message {
    width: auto;
    text-align: center;
    font-size: 14px;
  }

  .partner-message span {
    display: inline;
    margin-right: 4px;
    font-size: 15px;
  }

  .partner-track {
    animation-duration: 28s;
  }

  .partner-track .partner-logo {
    min-width: 142px;
    min-height: 46px;
    padding: 7px 13px;
  }

  .partner-logo b {
    font-size: 14px;
  }

  .hero-description {
    font-size: 18px;
  }

  .section-heading p {
    font-size: 17px;
  }

  .guide-card {
    min-height: 295px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .mobile-menu a {
    font-size: 16px;
  }

  .hero-description {
    font-size: 17px;
  }

  .hero-benefits span {
    font-size: 13px;
  }

  .quote-card-head p {
    font-size: 13px;
  }

  .field>span,
  .gender-field legend {
    font-size: 14px;
  }

  .field input,
  .field select {
    font-size: 16px;
  }

  .checkbox-label,
  .text-button {}

  .section-heading p {
    font-size: 16px;
  }

  .guide-card {
    min-height: 285px;
  }

  .guide-card h3 {
    font-size: 22px;
  }

  .guide-card p {
    font-size: 16px;
  }

  .card-link {
    font-size: 15px;
  }

  .accordion-trigger {
    font-size: 16px;
  }

  .accordion-content p {
    font-size: 15px;
  }

  .final-cta h2 {
    font-size: 30px;
  }

  .final-cta a {
    font-size: 16px;
  }

  .footer-brand span {
    font-size: 13px;
  }

  .footer-notice li {
    font-size: 12px;
  }

  .footer-bottom p,
  .footer-bottom button {
    font-size: 12px;
  }

  .partner-marquee {
    margin-inline: -12px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
  }

  .partner-track {
    animation-duration: 23s;
  }

  .partner-track .partner-logo {
    min-width: 132px;
    min-height: 44px;
    gap: 8px;
    padding: 6px 11px;
  }

  .partner-logo i {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 11px;
  }

  .partner-logo b {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-track {
    animation-play-state: paused;
  }
}



/* =========================================================
   암뇌심보험 서브페이지 공통
   ========================================================= */
.subpage-body {
  background: #fff;
}

.article-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 78px;
  background: linear-gradient(135deg, #eef6ff 0%, #fff7f8 58%, #f2fbf9 100%);
}

.article-hero::after {
  content: "암  ·  뇌  ·  심";
  position: absolute;
  right: 3vw;
  bottom: -18px;
  color: rgba(25, 118, 210, .055);
  font-size: clamp(76px, 12vw, 170px);
  font-weight: 900;
  letter-spacing: -8px;
  white-space: nowrap;
  pointer-events: none;
}

.article-hero-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: #7a8da1;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb strong {
  color: #40566d;
}

.article-hero h1 {
  max-width: 820px;
  margin: 18px 0 22px;
  font-size: clamp(45px, 6vw, 72px);
  line-height: 1.18;
  letter-spacing: -3.4px;
}

.article-hero>.container>p,
.article-hero-inner>p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.9;
}

.article-summary {
  max-width: 900px;
  margin-top: 34px;
  padding: 25px 28px;
  border: 1px solid rgba(25, 118, 210, .13);
  border-radius: 20px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 14px 35px rgba(26, 91, 150, .08);
  backdrop-filter: blur(10px);
}

.article-summary>strong {
  display: block;
  margin-bottom: 13px;
  color: var(--primary);
  font-size: 16px;
}

.article-summary ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-summary li {
  display: flex;
  gap: 10px;
  color: #40556a;
  font-size: 16px;
  line-height: 1.65;
}

.article-summary li span {
  flex: 0 0 auto;
  color: #2ca6c7;
  font-weight: 900;
}

.article-section {
  padding: 85px 0 110px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 60px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-toc {
  margin-bottom: 34px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #faf9fd;
}

.article-toc>strong {
  display: block;
  margin-bottom: 15px;
  font-size: 20px;
}

.article-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 28px;
  margin: 0;
  padding-left: 22px;
  color: #53687d;
}

.article-toc li {
  padding-left: 3px;
  font-size: 15px;
  line-height: 1.65;
}

.article-toc a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.content-section {
  padding: 42px 20px;
  scroll-margin-top: 100px;
}

.content-section:first-of-type {}

.content-section h2 {
  margin: 0 0 20px;
  font-size: clamp(27px, 3vw, 34px);
  line-height: 1.4;
  letter-spacing: -1.3px;
}

.content-section p {
  margin: 0 0 18px;
  color: #556a7f;
  font-size: 17px;
  line-height: 2.02;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.intro-section {
  padding: 34px;
  border: 1px solid #f8f7d8;
  border-radius: 22px;
  background: linear-gradient(145deg, #f8f6ff, #fff);
}

.responsive-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.responsive-table table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
}

.responsive-table th,
.responsive-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 15px;
  line-height: 1.65;
}

.responsive-table thead th {
  background: #fdfcee;
  color: #263b50;
  font-weight: 800;
}

.responsive-table tbody th {
  width: 150px;
  color: var(--primary-dark);
  background: #fffff7;
}

.responsive-table tr:last-child th,
.responsive-table tr:last-child td {
  border-bottom: 0;
}

.table-note {
  margin-top: 13px !important;
  color: #7c8fa2 !important;
  font-size: 13px !important;
}

.checklist-section {
  border-bottom: 0;
}

.article-checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-checklist label {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: #455a6f;
  font-size: 16px;
  line-height: 1.55;
  cursor: pointer;
  transition: .2s;
}

.article-checklist label:hover {
  border-color: #f4efa9;
  background: #fffff5;
}

.article-checklist input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.article-accordion {
  margin-top: 12px;
}

.article-conclusion {
  margin-top: 45px;
  padding: 38px;
  border-radius: 24px;
  background: linear-gradient(120deg, #433013, #1f466d);
  color: #fff;
}

.article-conclusion>span {
  color: #9fd2ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.article-conclusion h2 {
  margin: 13px 0 16px;
  font-size: 29px;
  line-height: 1.5;
}

.article-conclusion p {
  margin: 0 0 25px;
  color: #d0deea;
  font-size: 16px;
  line-height: 1.85;
}

.article-conclusion a {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  padding: 15px 20px;
  border-radius: 12px;
  background: #fff;
  color: var(--primary-dark);
  font-size: 15px;
  font-weight: 800;
}

.article-conclusion a i {
  font-size: 19px;
  font-style: normal;
}

.article-aside {
  display: grid;
  gap: 20px;
}

.aside-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 13px 35px rgba(24, 75, 120, .07);
}

.sticky-card {
  position: sticky;
  top: 100px;
  background: linear-gradient(145deg, #d28519, #2b7fc8 55%, #3ba7d9);
  color: #fff;
  border-color: transparent;
}

.aside-label {
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.aside-card h2 {
  margin: 12px 0 13px;
  font-size: 25px;
  line-height: 1.45;
}

.aside-card>p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  line-height: 1.75;
}

.aside-card>a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  border-radius: 12px;
  background: #fff;
  color: var(--primary-dark);
  font-size: 15px;
  font-weight: 800;
}

.aside-card>small {
  display: block;
  margin-top: 13px;
  color: rgba(255, 255, 255, .66);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.aside-card h3 {
  margin: 0 0 15px;
  font-size: 19px;
}

.aside-links {
  display: grid;
  gap: 8px;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  transition: .2s;
}

.related-card:hover {
  border-color: #a5d0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 91, 150, .08);
}

.related-card span {
  flex: 0 0 auto;
  color: #93a7ba;
  font-size: 11px;
  font-weight: 800;
}

.related-card strong {
  flex: 1;
  font-size: 14px;
}

.related-card i {
  color: var(--primary);
  font-style: normal;
}

.related-section {
  padding: 95px 0;
  background: #fcfcf4;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related-grid .related-card {
  min-height: 75px;
  padding: 16px 18px;
}

.related-grid .related-card strong {
  font-size: 17px;
}

@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 35px;
  }

  .article-hero h1 {
    font-size: 57px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .article-hero {
    padding: 55px 0 65px;
  }

  .article-hero h1 {
    font-size: clamp(42px, 10vw, 58px);
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    grid-template-columns: 1fr 1fr;
  }

  .sticky-card {
    position: static;
  }

  .article-toc ol {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .article-hero {
    padding: 42px 0 55px;
  }

  .breadcrumb {
    margin-bottom: 22px;
    font-size: 12px;
  }

  .article-hero h1 {
    margin-top: 14px;
    font-size: 39px;
    letter-spacing: -2.1px;
  }

  .article-hero-inner>p {
    font-size: 17px;
    line-height: 1.8;
  }

  .article-summary {
    padding: 20px;
    border-radius: 16px;
  }

  .article-summary li {
    font-size: 15px;
  }

  .article-section {
    padding: 58px 0 75px;
  }

  .article-toc {
    padding: 22px;
  }

  .content-section {
    padding: 34px 10px;
  }

  .content-section h2 {
    font-size: 27px;
  }

  .content-section p {
    font-size: 16px;
    line-height: 1.95;
  }

  .intro-section {
    padding: 24px 20px;
  }

  .article-aside {
    grid-template-columns: 1fr;
  }

  .article-conclusion {
    padding: 28px 22px;
  }

  .article-conclusion h2 {
    font-size: 25px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-section {
    padding: 70px 0;
  }
}


/* =========================================================
   서브페이지 PC 가로 보험료폼 + 좌측 세로 메뉴
   ========================================================= */
.subpage-shell {
  position: relative;
  background: #fff;
}

.subpage-hero-band {
  position: relative;
  overflow: hidden;
  padding: 52px 0 58px;
  background: linear-gradient(135deg, #eef6ff 0%, #fff7f8 54%, #f2fbf9 100%);
}

.subpage-hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(25, 118, 210, .12) 1px, transparent 1px);
  background-size: 27px 27px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
  opacity: .46;
  pointer-events: none;
}

.subpage-hero-band::after {
  content: "암  ·  뇌  ·  심";
  position: absolute;
  right: 3vw;
  bottom: -24px;
  color: rgba(25, 118, 210, .05);
  font-size: clamp(72px, 10vw, 148px);
  font-weight: 900;
  letter-spacing: -8px;
  white-space: nowrap;
  pointer-events: none;
}

.subpage-hero-band .container {
  position: relative;
  z-index: 1;
}

.subpage-top-copy {
  max-width: 930px;
  min-width: 0;
}

.subpage-top-copy .breadcrumb {
  margin: 20px 0;
}

.subpage-top-copy h1 {
  max-width: 900px;
  margin: 16px 0 18px;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.18;
  letter-spacing: -3px;
}

.subpage-top-copy>p {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.subpage-form-band {
  position: relative;
  z-index: 5;
  margin-top: -1px;
  padding: 27px 0 30px;
  border-top: 1px solid #e6eef6;
  border-bottom: 1px solid #dce6ef;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(24, 75, 120, .08);
  scroll-margin-top: 88px;
}

.subpage-horizontal-quote {
  width: 100%;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
}

.subpage-horizontal-quote::before {
  display: none;
}

.subpage-horizontal-quote .quote-card-head {
  margin: 0;
  padding-right: 25px;
  border-right: 1px solid #d8e5f0;
  text-align: left;
}

.subpage-horizontal-quote .mini-label {
  padding: 5px 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
}

.subpage-horizontal-quote .quote-card-head h2 {
  margin: 10px 0 7px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -1px;
}

.subpage-horizontal-quote .quote-card-head h2 strong {
  color: var(--primary);
}

.subpage-horizontal-quote .quote-card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.horizontal-quote-form {
  min-width: 0;
  display: grid;
  grid-template-columns: 250px 145px minmax(250px, 1fr) 190px;
  grid-template-areas:
    "name birth phone submit"
    "agree agree error error";
  align-items: end;
  gap: 9px 12px;
}

.horizontal-quote-form .name-gender-row {
  grid-area: name;
}

.horizontal-quote-form>.field:nth-of-type(1) {
  grid-area: birth;
}

.horizontal-quote-form>.field:nth-of-type(2) {
  grid-area: phone;
}

.horizontal-quote-form .agreement-row {
  grid-area: agree;
}

.horizontal-quote-form .form-error {
  grid-area: error;
}

.horizontal-quote-form .submit-button {
  grid-area: submit;
}

.horizontal-quote-form .form-row {
  grid-template-columns: minmax(0, 1.25fr) 105px;
  gap: 8px;
}

.horizontal-quote-form .field,
.horizontal-quote-form .gender-field {
  min-width: 0;
  margin: 0;
}

.horizontal-quote-form .field>span,
.horizontal-quote-form .gender-field legend {
  margin-bottom: 6px;
  color: #52657a;
  font-size: 12px;
}

.horizontal-quote-form .field input,
.horizontal-quote-form .field select,
.horizontal-quote-form .segmented {
  height: 48px;
  border-color: #d7e2ed;
  border-radius: 8px;
  background: #fff;
}

.horizontal-quote-form .segmented {
  padding: 3px;
  background: #fff;
}

.horizontal-quote-form .segmented span {
  height: 40px;
  border-radius: 6px;
}

.horizontal-quote-form .phone-inputs {
  grid-template-columns: 78px 1fr 1fr;
  gap: 6px;
}

.horizontal-quote-form .phone-inputs input,
.horizontal-quote-form .phone-inputs select {
  padding-inline: 9px;
}

.horizontal-quote-form .submit-button {
  height: 48px;
  border-radius: 8px;
  font-size: 15px;
  box-shadow: 0 10px 22px rgba(12, 45, 78, .25);
}

.horizontal-quote-form .agreement-row {
  justify-content: flex-start;
  margin: 2px 0 0;
}

.horizontal-quote-form .checkbox-label {
  color: #52677d;
}

.horizontal-quote-form .fake-check {
  width: 18px;
  height: 18px;
  border-color: #d5e0ea;
  background: #fff;
}

.horizontal-quote-form .text-button {
  color: var(--primary);
}

.horizontal-quote-form .form-error {
  min-height: 17px;
  margin: 2px 0 0;
  color: #e9465d;
  font-size: 11px;
  text-align: right;
}

.subpage-horizontal-quote .trust-note {
  display: none;
}

.subpage-content-section {
  background: #fff;
}

.subpage-content-layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.subpage-left-column {
  position: sticky;
  top: 98px;
  min-width: 0;
  display: grid;
  gap: 18px;
  align-self: start;
}

.subpage-keyword-panel {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d6e2ed;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 12px 30px #fafbf8;
}

.subpage-keyword-head {
  display: block;
  padding: 24px 21px 22px;
  border-bottom: 0;
  background: linear-gradient(135deg, #433013, #1f466d);
  color: #fff;
}

.subpage-keyword-head span {
  display: block;
  margin-bottom: 8px;
  color: #9fd2ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.7px;
}

.subpage-keyword-head h2 {
  margin: 0;
  color: #fff;
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -.8px;
}

.subpage-keyword-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
}

.subpage-keyword-nav a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 8px;
  min-height: 61px;
  padding: 12px 17px;
  border-bottom: 1px solid #f4f3e3;
  background: #fff;
  color: #40566d;
  transition: .2s;
}

.subpage-keyword-nav a:last-child {
  border-bottom: 0;
}

.subpage-keyword-nav a:hover {
  position: relative;
  z-index: 1;
  padding-left: 21px;
  background: #f8f6ff;
  box-shadow: inset 4px 0 0 #f5ef9a;
}

.subpage-keyword-nav a.active {
  padding-left: 21px;
  background: linear-gradient(105deg, var(--primary), #d2ce2b);
  color: #fff;
  box-shadow: inset 4px 0 0 #e8cc62;
}

.subpage-keyword-nav span {
  color: #93a7ba;
  font-size: 10px;
  font-weight: 900;
}

.subpage-keyword-nav a.active span {
  color: rgba(255, 255, 255, .64);
}

.subpage-keyword-nav strong {
  min-width: 0;
  font-size: 14px;
  line-height: 1.4;
}

.subpage-keyword-nav i {
  color: var(--primary);
  font-style: normal;
  font-size: 16px;
  text-align: right;
}

.subpage-keyword-nav a.active i {
  color: #fff;
}

.subpage-form-note {
  padding: 18px 18px 17px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #faf9fd;
  box-shadow: none;
}

.subpage-form-note strong {
  display: block;
  margin-bottom: 7px;
  color: var(--primary-dark);
  font-size: 13px;
}

.subpage-form-note span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.subpage-right-column {
  min-width: 0;
}

.subpage-summary-panel {
  max-width: none;
  margin: 0 0 32px;
  padding: 25px 28px;
  border-radius: 15px;
  background: linear-gradient(100deg, #f3f9ff, #fff7f8);
}

.subpage-main-column {
  min-width: 0;
}

.subpage-main-column .article-main {
  min-width: 0;
}

.subpage-main-column .article-toc {
  margin: 0 0 34px;
}

.subpage-main-column .content-section:first-of-type {}

.subpage-shell+.related-section {
  border-top: 1px solid var(--line);
}

@media (max-width: 1180px) {
  .subpage-horizontal-quote {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 20px;
  }

  .horizontal-quote-form {
    grid-template-columns: 225px 135px minmax(225px, 1fr) 170px;
  }

  .horizontal-quote-form .form-row {
    grid-template-columns: minmax(0, 1fr) 94px;
  }

  .subpage-content-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .subpage-form-band {
    padding: 24px 0 27px;
  }

  .subpage-horizontal-quote {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .subpage-horizontal-quote .quote-card-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding: 0 0 15px;
    border-right: 0;
    border-bottom: 1px solid #d8e5f0;
  }

  .subpage-horizontal-quote .quote-card-head h2 {
    margin: 8px 0 0;
  }

  .subpage-horizontal-quote .quote-card-head p {
    max-width: 310px;
    text-align: right;
  }

  .horizontal-quote-form {
    grid-template-columns: 250px 145px minmax(250px, 1fr) 180px;
  }

  .subpage-content-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 34px;
  }
}

@media (max-width: 900px) {
  .subpage-hero-band {
    padding: 44px 0 48px;
  }

  .subpage-top-copy {
    text-align: center;
    margin-inline: auto;
  }

  .subpage-top-copy .breadcrumb,
  .subpage-top-copy .eyebrow {
    justify-content: center;
  }

  .subpage-top-copy h1,
  .subpage-top-copy>p {
    margin-left: auto;
    margin-right: auto;
  }

  .subpage-form-band {
    padding: 24px 0;
  }

  .subpage-horizontal-quote .quote-card-head {
    display: block;
    text-align: center;
  }

  .subpage-horizontal-quote .quote-card-head p {
    max-width: none;
    text-align: center;
  }

  .horizontal-quote-form {
    grid-template-columns: 1fr 160px;
    grid-template-areas:
      "name birth"
      "phone phone"
      "agree agree"
      "error error"
      "submit submit";
    gap: 12px;
  }

  .horizontal-quote-form .submit-button {
    height: 54px;
  }

  .horizontal-quote-form .form-error {
    text-align: left;
  }

  .subpage-content-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .subpage-left-column {
    position: static;
  }

  .subpage-keyword-panel {
    border-radius: 16px;
  }

  .subpage-keyword-head {
    padding: 18px 20px;
  }

  .subpage-keyword-head h2 {
    font-size: 20px;
  }

  .subpage-keyword-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subpage-keyword-nav a:nth-child(odd) {
    border-right: 1px solid #f4f3e3;
  }

  .subpage-form-note {
    display: none;
  }
}

@media (max-width: 600px) {
  .subpage-hero-band {
    padding: 36px 0 41px;
  }

  .subpage-top-copy .breadcrumb {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .subpage-top-copy h1 {
    margin-top: 12px;
    font-size: 36px;
    line-height: 1.23;
    letter-spacing: -2px;
  }

  .subpage-top-copy>p {
    font-size: 15px;
    line-height: 1.75;
  }

  .subpage-form-band {
    padding: 21px 0 24px;
  }

  .subpage-horizontal-quote .quote-card-head {
    padding-bottom: 14px;
  }

  .subpage-horizontal-quote .quote-card-head h2 {
    font-size: 24px;
  }

  .horizontal-quote-form {
    grid-template-columns: 1fr;
    grid-template-areas:
      "name"
      "birth"
      "phone"
      "agree"
      "error"
      "submit";
  }

  .horizontal-quote-form .form-row {
    grid-template-columns: 1fr 125px;
  }

  .horizontal-quote-form .phone-inputs {
    grid-template-columns: 76px 1fr 1fr;
  }

  .horizontal-quote-form .field input,
  .horizontal-quote-form .field select,
  .horizontal-quote-form .segmented {
    height: 50px;
  }

  .horizontal-quote-form .segmented span {
    height: 42px;
  }

  .subpage-content-section {}

  .subpage-content-layout {
    gap: 28px;
  }

  .subpage-keyword-nav {
    grid-template-columns: 1fr;
  }

  .subpage-keyword-nav a:nth-child(odd) {
    border-right: 0;
  }

  .subpage-keyword-nav a {
    min-height: 54px;
  }

  .subpage-summary-panel {
    padding: 20px;
    margin-bottom: 25px;
  }

  .subpage-main-column .article-toc {
    padding: 21px;
  }

  .subpage-body .floating-cta {
    display: none;
  }
}

@media (max-width: 390px) {
  .horizontal-quote-form .name-gender-row {
    grid-template-columns: 1fr;
  }

  .horizontal-quote-form .phone-inputs {
    grid-template-columns: 72px 1fr 1fr;
  }
}

/* =========================================================
   휴대폰 인증 UI
   ========================================================= */
.auth-request-button,
.verification-confirm-button,
.verification-resend-button {
  border: 0;
  font: inherit;
  cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s, opacity .2s;
}

.auth-request-button {
  width: 100%;
  min-height: 52px;
  margin: 0 0 15px;
  padding: 0 18px;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.2px;
}

.auth-request-button:hover {
  transform: translateY(-1px);
  background: #986822;
}

.auth-request-button.is-sent {
  background: #315c82;
}

.auth-request-button.is-verified {
  background: #2ca895;
}

.verification-field {
  min-width: 0;
  margin: 0 0 15px;
}

.verification-field[hidden] {
  display: none !important;
}

.verification-label {
  margin: 0 !important;
}

.verification-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px 72px 54px;
  gap: 7px;
  align-items: center;
}

.verification-controls input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #d7e2ed;
  border-radius: 12px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
}

.verification-controls input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(25, 118, 210, .10);
}

.verification-controls input:disabled {
  background: #f2faf8;
  color: #338b7e;
}

.verification-confirm-button,
.verification-resend-button {
  height: 50px;
  padding: 0 8px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.verification-confirm-button {
  background: var(--primary);
  color: #fff;
}

.verification-confirm-button:hover {
  background: var(--primary-dark);
}

.verification-resend-button {
  border: 1px solid #d5e2ed;
  background: #fff;
  color: #4c647b;
}

.verification-resend-button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.auth-timer {
  color: #e9465d;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.auth-status {
  min-height: 18px;
  margin: 6px 0 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.auth-status.is-success {
  color: #269c8b;
}

.auth-status.is-error {
  color: #e9465d;
}

/* 서브페이지 PC 가로 폼 인증 영역 */
.horizontal-quote-form {
  grid-template-columns: 230px 135px minmax(230px, 1fr) 185px;
  grid-template-areas:
    "name birth phone auth"
    "verify verify agree submit"
    "error error error error";
}

.horizontal-quote-form .auth-request-button {
  grid-area: auth;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding-inline: 12px;
  border-radius: 8px;
  background: linear-gradient(100deg, var(--primary-dark), var(--primary));
  box-shadow: 0 8px 18px rgba(25, 118, 210, .20);
  font-size: 13px;
}

.horizontal-quote-form .auth-request-button:hover {
  background: linear-gradient(100deg, var(--primary-dark), var(--primary));
}

.horizontal-quote-form .auth-request-button.is-sent {
  background: #3f7fb5;
}

.horizontal-quote-form .auth-request-button.is-verified {
  background: #2ca895;
}

.horizontal-quote-form .verification-field {
  grid-area: verify;
  min-width: 0;
  margin: 0;
}

.horizontal-quote-form .verification-label {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.horizontal-quote-form .verification-label>span {
  margin: 0;
  color: #52657a;
  font-size: 12px;
  font-weight: 700;
}

.horizontal-quote-form .verification-controls {
  grid-template-columns: minmax(0, 1fr) 54px 66px 48px;
  gap: 6px;
}

.horizontal-quote-form .verification-controls input,
.horizontal-quote-form .verification-confirm-button,
.horizontal-quote-form .verification-resend-button {
  height: 46px;
  border-radius: 8px;
}

.horizontal-quote-form .verification-controls input {
  border-color: #d7e2ed;
  background: #fff;
}

.horizontal-quote-form .auth-timer {
  color: #e9465d;
}

.horizontal-quote-form .auth-status {
  grid-column: 2;
  min-height: 0;
  margin: 4px 0 0;
  color: var(--primary);
  font-size: 11px;
}

.horizontal-quote-form .auth-status.is-success {
  color: #269c8b;
}

.horizontal-quote-form .auth-status.is-error {
  color: #e9465d;
}

.horizontal-quote-form .agreement-row {
  align-self: center;
}

.horizontal-quote-form .form-error {
  text-align: left;
}

@media (max-width: 1180px) {
  .horizontal-quote-form {
    grid-template-columns: 215px 125px minmax(220px, 1fr) 175px;
  }

  .horizontal-quote-form .verification-label {
    grid-template-columns: 62px minmax(0, 1fr);
  }
}

@media (max-width: 1024px) {
  .horizontal-quote-form {
    grid-template-columns: 230px 135px minmax(225px, 1fr) 175px;
  }
}

@media (max-width: 900px) {
  .horizontal-quote-form {
    grid-template-columns: 1fr 160px;
    grid-template-areas:
      "name birth"
      "phone phone"
      "auth auth"
      "verify verify"
      "agree agree"
      "submit submit"
      "error error";
  }

  .horizontal-quote-form .auth-request-button {
    height: 52px;
  }

  .horizontal-quote-form .verification-label {
    grid-template-columns: 74px minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .verification-controls {
    grid-template-columns: minmax(0, 1fr) 56px 64px;
  }

  .verification-controls .auth-timer {
    grid-column: 1 / -1;
    text-align: right;
    padding-right: 4px;
  }

  .horizontal-quote-form {
    grid-template-columns: 1fr;
    grid-template-areas:
      "name"
      "birth"
      "phone"
      "auth"
      "verify"
      "agree"
      "submit"
      "error";
  }

  .horizontal-quote-form .verification-label {
    display: block;
  }

  .horizontal-quote-form .verification-label>span {
    display: block;
    margin: 0 0 6px;
  }

  .horizontal-quote-form .verification-controls {
    grid-template-columns: minmax(0, 1fr) 54px 64px;
  }

  .horizontal-quote-form .verification-controls .auth-timer {
    grid-column: 1 / -1;
  }

  .horizontal-quote-form .auth-status {
    grid-column: auto;
  }
}

/* 암·뇌·심장 전용 로고 및 콘텐츠 아이콘 */
.brand-mark img {
  width: 56px;
  height: 56px;
  display: block;
}

.card-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: color-mix(in srgb, currentColor 12%, transparent);
}

.card-icon img {
  width: 34px;
  height: 34px;
  display: block;
}

.guide-grid>a:nth-child(1) .card-icon {
  color: #376fd0;
}

.guide-grid>a:nth-child(2) .card-icon {
  color: #db5b70;
}

.guide-grid>a:nth-child(3) .card-icon {
  color: #5b67c8;
}

.guide-grid>a:nth-child(4) .card-icon {
  color: #e06a58;
}

.guide-grid>a:nth-child(5) .card-icon {
  color: #387fb8;
}

.guide-grid>a:nth-child(6) .card-icon {
  color: #6c5cc5;
}

@supports not (background: color-mix(in srgb, red 10%, transparent)) {
  .card-icon {
    background: rgba(73, 111, 190, .10);
  }
}


/* =========================================================
   2026-07 최종 수정: 블루 테마 + 6자리 생년월일 + 폰트 확대
   ========================================================= */

/* 전체 블루 톤 보정 */
:root {
  --primary: #d28519;
  --primary-dark: #0d47a1;
  --primary-soft: #feffea;
  --accent: #e07f39;
  --accent-soft: #feffea;
  --mint: #dcb258;
  --ink: #1f2d3d;
  --muted: #000000;
  --line: #dfe8f2;
  --surface: #ffffff;
  --background: #f4f8fc;
  --shadow: 0 22px 55px #f2f1d7;
}

body {
  font-size: 20px;
}

.hero {
  background: linear-gradient(135deg, #ffffed 0%, #fffff7 56%, #fffcee 100%);
}

.quote-card::before {}

.submit-button {
  background: linear-gradient(100deg, #d68824, #d88825 56%, #e07f39);
}

.guide-card.featured {
  background: linear-gradient(145deg, #d68824, #3b8ce4);
}

.compare-section {
  background: #433013;
}

.final-cta {
  background: linear-gradient(100deg, #d68824, #d88825 58%, #e07f39);
}

.floating-cta {
  background: linear-gradient(145deg, #e07f39, #d28519);
}

.article-hero,
.subpage-hero-band {
  background: linear-gradient(135deg, #edf6ff 0%, #fffff7 58%, #fffcee 100%);
}

.intro-section {
  background: linear-gradient(145deg, #fffff1, #fff);
}

.article-conclusion {
  background: linear-gradient(120deg, #433013, #75721f);
}

.sticky-card {
  background: linear-gradient(145deg, #d68824, #d5902f 55%, #e07f39);
}

.subpage-keyword-head {
  background: linear-gradient(135deg, #433013, #75721f);
}

.subpage-keyword-nav a.active {
  background: linear-gradient(105deg, #d28519, #d5902f);
  box-shadow: inset 4px 0 0 #ecce69;
}

.subpage-summary-panel {
  background: linear-gradient(100deg, #fffff1, #f6fbff);
}

/* 인증 버튼: 짧은 문구 '동의'를 크게 표시 */
.auth-request-button {
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
  letter-spacing: 0;
  background: #5b3e12;
}

.horizontal-quote-form .auth-request-button {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(100deg, #0d5fb2, #d28519);
}

/* 메인 입력폼: 휴대폰 번호 + 동의 버튼 한 줄 */
.quote-card:not(.subpage-horizontal-quote) #frm_sec {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
  grid-template-areas:
    "name name"
    "birth birth"
    "phone auth"
    "verify verify"
    "agree agree"
    "error error"
    "submit submit";
  align-items: end;
  column-gap: 8px;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec .name-gender-row {
  grid-area: name;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec>.field:nth-of-type(1) {
  grid-area: birth;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec>.field:nth-of-type(2) {
  grid-area: phone;
  min-width: 0;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec>.auth-request-button {
  grid-area: auth;
  width: 100%;
  height: 50px;
  min-height: 50px;
  margin: 0 0 15px;
  padding: 0 7px;
  font-size: 17px;
  line-height: 1;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec>.verification-field {
  grid-area: verify;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec>.agreement-row {
  grid-area: agree;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec>.form-error {
  grid-area: error;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec>.submit-button {
  grid-area: submit;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec .phone-inputs {
  grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec .phone-inputs input,
.quote-card:not(.subpage-horizontal-quote) #frm_sec .phone-inputs select {
  min-width: 0;
  padding-inline: 7px;
}

/* 서브페이지 PC 가로폼: 휴대폰 오른쪽에 동의 버튼 */
.horizontal-quote-form {
  grid-template-columns: 230px 135px minmax(260px, 1fr) 185px;
  grid-template-areas:
    "name birth phone auth"
    "verify verify agree submit"
    "error error error error";
}

.horizontal-quote-form>.auth-request-button {
  grid-area: auth;
  width: 82px;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0 8px;
  line-height: 1;
}

/* 레프트메뉴·본문·관련정보·푸터 폰트 확대 */
.subpage-keyword-head span {
  font-size: 12px;
}

.subpage-keyword-head h2 {
  font-size: 26px;
}

.subpage-keyword-nav a {
  min-height: 66px;
}

.subpage-keyword-nav span {
  font-size: 12px;
}

.subpage-keyword-nav strong {
  font-size: 16px;
}

.subpage-keyword-nav i {
  font-size: 18px;
}

.subpage-form-note strong {
  font-size: 15px;
}

.subpage-form-note span {
  font-size: 14px;
}

.breadcrumb {
  font-size: 15px;
}

.article-summary>strong {
  font-size: 18px;
}

.article-summary li {
  font-size: 17px;
}

.article-toc>strong {
  font-size: 22px;
}

.article-toc li {
  font-size: 16px;
}

.content-section p {
  font-size: 18px;
}

.responsive-table th,
.responsive-table td {
  font-size: 16px;
}

.related-grid .related-card strong {
  font-size: 19px;
}

.related-card span {
  font-size: 13px;
}

.footer-brand strong {
  font-size: 29px;
}

.footer-brand span {
  font-size: 15px;
}

.footer-notice h2 {
  font-size: 20px;
}

.footer-notice li {
  font-size: 17px;
  line-height: 1.25;
  list-style: none;
}

.footer-bottom p,
.footer-bottom button {
  font-size: 17px;
}

@media (max-width: 1180px) {
  .horizontal-quote-form {
    grid-template-columns: 215px 125px minmax(230px, 1fr) 175px;
  }

  .horizontal-quote-form>.auth-request-button {
    width: 80px;
  }
}

@media (max-width: 900px) {
  .horizontal-quote-form {
    grid-template-columns: minmax(0, 1fr) 82px;
    grid-template-areas:
      "name birth"
      "phone auth"
      "verify verify"
      "agree agree"
      "submit submit"
      "error error";
    align-items: end;
  }

  .horizontal-quote-form .auth-request-button {
    width: 82px;
    height: 50px;
    min-height: 50px;
    margin: 0;
    padding: 0 6px;
    font-size: 16px;
  }

  .horizontal-quote-form .phone-inputs {
    grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
  }
}

@media (max-width: 820px) {

  /* 서브페이지 모바일에서는 레프트메뉴 전체 제거 */
  .subpage-body .subpage-left-column {
    display: none !important;
  }

  .subpage-body .subpage-content-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 18px;
  }

  .quote-card:not(.subpage-horizontal-quote) #frm_sec,
  .horizontal-quote-form {
    grid-template-columns: minmax(0, 1fr) 76px;
    column-gap: 7px;
  }

  .horizontal-quote-form {
    grid-template-areas:
      "name name"
      "birth birth"
      "phone auth"
      "verify verify"
      "agree agree"
      "submit submit"
      "error error";
  }

  .quote-card:not(.subpage-horizontal-quote) #frm_sec>.auth-request-button,
  .horizontal-quote-form .auth-request-button {
    width: 76px;
    padding-inline: 4px;
    font-size: 16px;
    letter-spacing: 0;
  }

  .quote-card:not(.subpage-horizontal-quote) #frm_sec .phone-inputs,
  .horizontal-quote-form .phone-inputs {
    grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr);
    gap: 5px;
  }

  .subpage-summary-panel {
    margin-top: 0;
  }

  .content-section p {
    font-size: 17px;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .footer-brand strong {
    font-size: 27px;
  }

  .footer-brand span {
    font-size: 14px;
  }

  .footer-notice li {
    font-size: 14px;
  }

  .floating-cta {
    display: none !important;
  }
}

@media (max-width: 390px) {

  .quote-card:not(.subpage-horizontal-quote) #frm_sec,
  .horizontal-quote-form {
    grid-template-columns: minmax(0, 1fr) 72px;
    column-gap: 6px;
  }

  .quote-card:not(.subpage-horizontal-quote) #frm_sec>.auth-request-button,
  .horizontal-quote-form .auth-request-button {
    width: 72px;
    font-size: 15px;
  }

  .quote-card:not(.subpage-horizontal-quote) #frm_sec .phone-inputs,
  .horizontal-quote-form .phone-inputs {
    grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1fr);
    gap: 4px;
  }
}

/* =========================================================
   모바일 서브페이지 경로(브레드크럼) 숨김
   ========================================================= */
@media (max-width: 820px) {
  .subpage-body .breadcrumb {
    display: none !important;
  }
}












/* ===========================
   조재필 추가 2026-07-29
=========================== */
#main_cp {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
}


/* 배경 */
#layer_bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

/* 팝업 */
#result_popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: #fff;
  border-radius: 4px;
  z-index: 9999;
  overflow: hidden;
}

/* 헤더 */
.layer_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #ddd;
  background: #f5f5f5;
}

.layer_title {
  font-size: 16px;
  font-weight: bold;
  color: #222;
}

.layer_close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #888;
}

/* 본문 */
.layer_body {
  padding: 0;
  overflow-y: auto;
  max-height: calc(90vh - 50px);
}

/* iframe */
#layer_iframe {
  width: 100%;
  height: 70vh;
  border: none;
  display: block;
}

/* 모바일 */
@media (max-width: 480px) {
  #result_popup {
    width: 95%;
  }

  #layer_iframe {
    height: 60vh;
  }
}

/* =========================================================
   SVG → PNG 이미지 교체 대응
   ========================================================= */
.brand-mark img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.card-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.submit-button img {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  align-items: center;
  object-fit: contain;
}


/* =========================================================
   메인 FAQ 하단 Q&A + FAQ/Q&A 서브페이지
   ========================================================= */
.section-heading-row {
  max-width: none;
  display: block;
  margin-bottom: 30px;
}

.section-heading-row>.eyebrow {
  margin-bottom: 13px;
}

.section-title-line {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.section-title-line h2 {
  min-width: 0;
  margin: 0;
}

.section-heading-row>p {
  margin-top: 12px;
}

.section-more-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid var(--primary);
  border-radius: 12px;
  color: var(--primary);
  background: #fff;
  font-size: 15px;
  font-weight: 800;
  transition: .2s;
}

.section-more-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.section-more-link span {
  font-size: 18px;
}

.qna-section {
  background: #fff;
}

.qna-section .eyebrow {
  color: #2f91b7;
}

.qna-accordion {
  border-top-color: #917e24;
}

.qna-accordion .accordion-trigger b {}

.qna-accordion .accordion-item.open {}

.info-hub-page {
  background: #fff;
}

.info-hub-content {}

.faq-sub-hero::after {
  content: "FAQ";
}

.qna-sub-hero::after {
  content: "Q&A";
}

.qna-sub-hero {
  background: linear-gradient(135deg, #edf8ff 0%, #f6fbff 55%, #effbf9 100%);
}

.qna-summary-panel {
  background: linear-gradient(100deg, #fffcee, #f1fbf8);
}

.info-page-toc ol {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-page-list {
  padding-left: 0;
  padding-right: 0;
}

.faq-page-list>h2 {
  margin-bottom: 25px;
  margin-top: -42px;
}

.faq-page-list .accordion-trigger {
  padding-left: 18px;
  padding-right: 18px;
}

.faq-page-list .accordion-content {
  padding-left: 58px;
  padding-right: 28px;
}

.faq-page-list .accordion-item.open {
  background: #f8fbff;
}

.qna-page-list .accordion-item.open {
  background: #f3fbfa;
}

.qna-intro-section {
  border-color: #d4ece8;
  background: linear-gradient(145deg, #f2fbfa, #fff);
}

.qna-conclusion {
  background: linear-gradient(120deg, #12364a, #1d6874);
}

@media (max-width: 900px) {
  .info-page-toc ol {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .section-heading-row {
    text-align: left;
  }

  .section-heading-row .eyebrow {
    justify-content: flex-start;
  }

  .section-title-line {
    gap: 16px;
  }

  .section-more-link {
    padding: 10px 14px;
    gap: 9px;
    font-size: 13px;
  }

  .info-hub-content {
    padding-top: 30px;
  }
}

@media (max-width: 600px) {
  .section-heading-row {
    margin-bottom: 22px;
  }

  .section-title-line {
    align-items: center;
    gap: 10px;
  }

  .section-title-line h2 {
    font-size: clamp(25px, 7.4vw, 32px);
    letter-spacing: -1.5px;
  }

  .section-more-link {
    min-width: auto;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 15px;
    white-space: nowrap;
  }

  .section-more-link span {
    font-size: 14px;
  }

  .faq-page-list .accordion-trigger {
    padding-left: 8px;
    padding-right: 8px;
  }

  .faq-page-list .accordion-content {
    padding-left: 38px;
    padding-right: 8px;
  }

  .faq-sub-hero::after,
  .qna-sub-hero::after {
    font-size: 82px;
    right: 10px;
  }
}



/* =========================================================
   메인 상단 글씨와 입력폼 사이 일러스트
   HTML: .hero-illustration
   ========================================================= */
.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(400px, 230px) 430px;
  gap: 10px;
  align-items: center;
}

.hero-copy,
.hero-illustration,
.quote-card {
  position: relative;
  z-index: 2;
}

.hero-illustration {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  pointer-events: none;
}

.hero-illustration img {
  display: block;
  width: min(100%, 320px);
  height: auto;
  object-fit: contain;
  filter: none;
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(210px, 270px) 390px;
    gap: 24px;
  }

  .hero-illustration img {
    width: min(100%, 260px);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 220px 370px;
    gap: 20px;
  }

  .hero-illustration img {
    width: min(100%, 220px);
  }
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-illustration {
    order: 2;
    margin-top: -8px;
    margin-bottom: -2px;
  }

  .hero-illustration img {
    width: min(100%, 300px);
  }

  .quote-card {
    order: 3;
  }
}

@media (max-width: 600px) {
  .hero-illustration img {
    width: min(100%, 255px);
  }
}

/* =========================================================
   모바일 전용: 상단 일러스트를 작게 오른쪽 배치
   - 별도 행을 차지하지 않고 제목/설명 옆에 표시
   - PC 레이아웃은 기존 설정 유지
   ========================================================= */
@media (max-width: 820px) {
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px;
    grid-template-areas:
      "hero-copy hero-art"
      "hero-form hero-form";
    column-gap: 8px;
    row-gap: 20px;
    align-items: center;
  }

  .hero-copy {
    grid-area: hero-copy;
    order: initial;
    min-width: 0;
    text-align: left;
  }

  .hero-copy .eyebrow {
    justify-content: flex-start;
  }

  .hero-illustration {
    grid-area: hero-art;
    position: static;
    order: initial;
    width: 110px;
    min-width: 0;
    margin: 0;
    align-self: center;
    justify-self: end;
    justify-content: flex-end;
  }

  .hero-illustration img {
    width: 110px;
    max-width: 100%;
    height: auto;
    margin: 0;
    filter: none;
  }

  .quote-card {
    grid-area: hero-form;
    order: initial;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 34px;
    margin-bottom: 20px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 88px;
    column-gap: 4px;
    row-gap: 16px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero h1 {
    margin-top: 8px;
    margin-bottom: 14px;
    font-size: clamp(29px, 8.4vw, 35px);
    line-height: 1.23;
    letter-spacing: -1.8px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-illustration {
    width: 88px;
  }

  .hero-illustration img {
    width: 88px;
  }
}

@media (max-width: 390px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 76px;
    column-gap: 2px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-illustration,
  .hero-illustration img {
    width: 76px;
  }
}


/* =========================================================
   성별 선택 버튼 개별 네모 박스
   ========================================================= */
.segmented.gender-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.segmented.gender-options .gender-option {
  min-width: 0;
  height: 50px;
  cursor: pointer;
}

.segmented.gender-options .gender-option span {
  width: 100%;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid #d7e2ed;
  border-radius: 10px;
  background: #fff;
  color: #687c91;
  font-size: 16px;
  font-weight: 800;
  box-shadow: none;
  transition: border-color .2s, background .2s, color .2s, box-shadow .2s, transform .2s;
}

.segmented.gender-options .gender-option:hover span {
  border-color: #8fc4ee;
  background: #fffff5;
}

.segmented.gender-options .gender-option input:focus-visible+span {
  outline: 3px solid rgba(25, 118, 210, .18);
  outline-offset: 2px;
}

.segmented.gender-options .gender-option-male input:checked+span {
  border-color: #d28519;
  background: #d28519;
  color: #fff;
  box-shadow: 0 5px 13px rgba(25, 118, 210, .22);
}

.segmented.gender-options .gender-option-female input:checked+span {
  border-color: #9c9103;
  background: #9c9103;
  color: #fff;
  box-shadow: 0 5px 13px rgba(53, 169, 201, .22);
}

.horizontal-quote-form .segmented.gender-options {
  height: 48px;
}

.horizontal-quote-form .segmented.gender-options .gender-option,
.horizontal-quote-form .segmented.gender-options .gender-option span {
  height: 48px;
  border-radius: 8px;
}

@media (max-width: 600px) {

  .segmented.gender-options,
  .segmented.gender-options .gender-option,
  .segmented.gender-options .gender-option span {
    height: 48px;
  }

  .segmented.gender-options {
    gap: 7px;
  }

  .segmented.gender-options .gender-option span {
    border-radius: 9px;
    font-size: 16px;
  }
}


/* =========================================================
   2026-07-29 모바일 최종 보정
   1) 서브페이지 PC 레프트메뉴 완전 숨김
   2) 메인 상단 오른쪽 일러스트 크기 확대
   ========================================================= */
@media (max-width: 820px) {

  /* body 클래스 유무와 관계없이 서브페이지 좌측 메뉴 제거 */
  .subpage-left-column,
  .subpage-keyword-panel,
  .subpage-form-note {
    display: none !important;
  }

  .subpage-content-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  .subpage-right-column,
  .subpage-main-column,
  .article-main {
    width: 100%;
    min-width: 0;
  }

  /* 오른쪽 배치는 유지하면서 기존 110px → 132px */
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 132px;
    column-gap: 8px;
  }

  .hero-illustration,
  .hero-illustration img {
    width: 132px;
  }
}

@media (max-width: 600px) {

  /* 기존 88px → 110px */
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 130px;
    column-gap: 5px;
  }

  .hero-illustration,
  .hero-illustration img {
    width: 130px;
  }
}

@media (max-width: 390px) {

  /* 기존 76px → 96px */
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 96px;
    column-gap: 3px;
  }

  .hero-illustration,
  .hero-illustration img {
    width: 96px;
  }
}

/* =========================================================
   모바일 서브페이지 pageTitle 영역 숨김
   - 제목, 브레드크럼을 포함한 상단 영역 제거
   - PC/태블릿 큰 화면에서는 기존대로 표시
   ========================================================= */
@media (max-width: 820px) {

  .subpage-shell>section[aria-labelledby="pageTitle"],
  .subpage-shell #pageTitle,
  .subpage-shell .pageTitle,
  .subpage-shell .page-title {
    display: none !important;
  }

  /* 제목 영역 제거 후 본문 위쪽 빈 여백 방지 */
  .subpage-shell .subpage-content-section,
  .subpage-shell .info-hub-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* =========================================================
   2026-08-21 모바일 보험사 롤링배너 문구 숨김
   - 모바일에서는 안내 문구 제거
   - 보험사 로고 롤링배너만 노출
   - PC 화면은 기존 디자인 유지
   ========================================================= */
@media (max-width: 820px) {
  .insurer-strip .insurer-inner>p {
    display: none !important;
  }

  .insurer-strip .insurer-inner {
    gap: 0;
    padding: 12px 14px;
  }

  .insurer-strip .marquee {
    width: 100%;
    flex: 1 1 100%;
  }
}




/* 헤더 추가 */

.header-right {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  flex-direction: column;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-contact .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.header-contact .contact-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.header-contact .contact-tel {
  font-size: 28px;
}

.header-contact .contact-kakao {
  display: none;
}

@media (max-width: 1024px) {
  .header-right {
    gap: 4px;
    align-items: center;
    flex-direction: row;

  }

  .header-contact {
    gap: 6px;
  }

  .header-contact .contact-tel .contact-txt {
    display: none;
  }

  .header-contact .contact-link {
    width: 36px;
    height: 36px;
    justify-content: center;
    border-radius: 999px;
  }

  .header-contact .contact-kakao {
    display: inline-flex;
  }
}

.mobile-menu,
.nav-dimmed {
  display: none;
}

@media (max-width: 1024px) {
  .nav-dimmed {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: block;
    background: rgba(18, 20, 24, .58);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
  }

  .nav-dimmed.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    width: min(84vw, 360px);
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 0 22px 28px;
    border: 0;
    background: #fff;
    box-shadow: -18px 0 44px rgba(0, 0, 0, .2);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .32s ease, visibility .32s ease;
  }

  .mobile-menu.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .mobile-menu-head {
    min-height: 78px;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu-head strong {
    font-size: 20px;
    letter-spacing: -.4px;
  }

  .nav-close {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border: 0;
    border-radius: 50%;
    background: transparent;
  }

  .nav-close:hover {
    background: #f2f2f4;
  }

  .close-icon-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
  }

  .mobile-menu-list {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 0;
  }

  .mobile-menu-list a {
    display: block;
    padding: 16px 4px;
    border-bottom: 1px solid #f0e8e5;
    color: var(--ink);
    font-weight: 700;
  }

  .mobile-menu-list a:hover,
  .mobile-menu-list a:focus-visible {
    color: var(--primary-dark);
  }

  .site-header {
    padding: 0;
  }
}

body.nav-open {
  overflow: hidden;
}

/* Subpage thumbnail */
.subp_thumb {
  width: 100%;
  padding: 12px 0 0;
}

.subp_thumb img {
  width: 40%;
  height: auto;
  margin: 0 auto;
}


/* <= 768px: Subpage thumbnail */
@media (max-width: 768px) {
  .subp_thumb img {
    width: 75%;
  }
}


/* <= 480px: Subpage thumbnail */
@media (max-width: 480px) {
  .subp_thumb {
    display: none;
  }
}