@font-face {
  font-family: "Pretendard";
  src: url("./assets/fonts/Pretendard-Light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("./assets/fonts/Pretendard-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("./assets/fonts/Pretendard-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("./assets/fonts/Pretendard-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --blue: #2457a7;
  --blue-deep: #173e7d;
  --blue-light: #f2f7ff;
  --ink: #111318;
  --muted: #667085;
  --line: #dbe2ec;
  --surface: #ffffff;
  --focus: #ffd75d;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
}

body {
  min-width: 320px;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  color: inherit;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--blue) 32%, transparent);
  outline-offset: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: #111;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section h2,
.section p {
  font: inherit;
}

#header .inner::after {
  display: block;
  clear: both;
  content: "";
}

#header .logo a,
#header .tel {
  display: inline-flex;
  align-items: center;
}

#header .tel {
  min-height: 36px;
}

#header .header-contact {
  position: relative;
  z-index: 1;
  float: right;
  margin-top: 23px;
}

#header .header-contact .tel {
  float: none;
  margin-top: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

@media (max-width: 600px) {
  #header .logo {
    line-height: 0;
  }

  #header .header-contact {
    margin-top: 12px;
  }
}

@media (max-width: 360px) {
  #header .logo img {
    height: 14px;
  }

  #header .header-contact .tel {
    padding-left: 18px;
    background-size: 14px;
    font-size: 16px;
  }
}

.section1 .txt .slo img {
  width: auto;
}

.section1 .inner {
  min-height: 540px;
  padding-top: 80px;
}

.section1 .txt {
  padding: 48px 0 34px;
}

.section1 .txt .slo {
  margin-bottom: 32px;
  font-size: 36px;
}

.section1 .txt .info {
  font-size: 26px;
  line-height: 1.28;
}

.section1 .txt .info span {
  margin-top: 4px;
  font-size: 58px;
}

.section1 .txt .info .type02 {
  margin-top: 6px;
  font-size: 32px;
}

.section1 .txt .info .hero-tel {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 40px;
  color: inherit;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  touch-action: manipulation;
}

.section1 .txt .info .hero-tel:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.section1 .img {
  top: 156px;
  right: -40px;
  width: 760px;
}

.section1 .slide_zone {
  top: 70px;
  right: 0;
}

.section1 .txt .info b {
  font-weight: 800;
}

.section1 .img img,
.floating img {
  max-width: 100%;
  height: auto;
}

.section2 picture.img {
  display: block;
}

.section2 picture.img img {
  display: inline-block;
}

.section3 .slide .tabmenu li button {
  display: block;
  color: #111;
  text-align: left;
}

.section3 .slide .tabmenu li button .tit {
  font-size: 16px;
  transition: font-size 0.4s ease;
}

.section3 .slide .tabmenu li button .num {
  display: none;
  margin-bottom: 17px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}

.section3 .slide .tabmenu li button.selected {
  display: block;
  padding-bottom: 10px;
  font-size: 29px;
  font-weight: 800;
}

.section3 .slide .tabmenu li button.selected .tit {
  display: inline-block;
  min-width: 300px;
  border-bottom: 3px solid #000;
  font-size: 29px;
  font-weight: 800;
}

.section3 .slide .tabmenu li button.selected .num {
  display: block;
}

.section3 .slide .control button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
}

.section3 .slide .control button:hover {
  background: rgba(36, 87, 167, 0.08);
}

.section3 .slide .scroll > ul {
  transform: translate3d(0, 0, 0);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.section3 .slide .scroll > ul > li .desc {
  box-sizing: content-box;
  visibility: hidden;
}

.section3 .slide .scroll > ul > li.selected .desc {
  visibility: visible;
  animation: none;
  -webkit-animation: none;
}

.section3 .slide .scroll > ul > li .desc span.tip {
  color: #d7e7ff;
}

.section3 .slide .page li.bar span {
  left: 0;
  transition: transform 400ms ease;
}

.section4 .inner::after,
.section7 .inner::after {
  display: block;
  clear: both;
  content: "";
}

.section5 .inner > ul li .info .num,
.section8 .inner > ul li .info .num {
  color: #d7e7ff;
}

.section9 .inner > ul.ul li .box {
  display: block;
  color: #fff;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.section9 .inner > ul.ul li .box:hover {
  transform: translateY(-3px);
}

.section9 .inner > ul.ul li .box:focus-visible {
  outline-offset: -4px;
}

.section9 .inner > ul.ul li .img,
.section9 .inner > ul.ul li .tit {
  display: block;
}

.section9 .section9-overview {
  transition: transform 180ms ease, background-color 180ms ease;
}

.section9 .section9-overview:hover {
  background: #eef4ff;
  transform: translateY(-2px);
}

.diagnosis-band {
  padding: clamp(38px, 5vw, 68px) 20px;
  background: #edf4ff;
}

.diagnosis-band .kiosk-promo {
  width: min(900px, 100%);
  margin: 0 auto;
}

.kiosk-promo {
  clear: both;
  display: block;
  margin: 0 0 36px;
  padding: clamp(34px, 4vw, 52px);
  scroll-margin-block: 96px 72px;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(36, 87, 167, 0.42), transparent 42%),
    linear-gradient(145deg, #0b1b35 0%, #06101f 68%, #040a13 100%);
  box-shadow: 0 24px 70px rgba(4, 17, 39, 0.34);
}

.kiosk-promo__content {
  width: min(760px, 100%);
  margin: 0 auto;
  min-width: 0;
}

.kiosk-promo__eyebrow {
  color: #c8ff2e;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.kiosk-promo h3 {
  max-width: 560px;
  margin-top: 12px;
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

.kiosk-promo__description {
  max-width: 560px;
  margin-top: 18px;
  color: #c4cedd;
  font-size: 16px;
  line-height: 1.75;
}

.kiosk-promo__features {
  display: flex;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 10px;
}

.kiosk-promo__features li {
  display: inline-flex;
  min-height: 34px;
  padding: 7px 12px;
  align-items: center;
  border-radius: 999px;
  color: #dce7f6;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 700;
}

.kiosk-promo__actions {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 12px;
}

.kiosk-promo__actions a {
  display: inline-flex;
  min-height: 48px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  transition-property: background-color, box-shadow, color, transform;
  transition-duration: 160ms;
  transition-timing-function: ease-out;
}

.kiosk-promo__primary {
  gap: 8px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(36, 87, 167, 0.38);
}

.kiosk-promo__primary:hover {
  background: #316bc4;
  transform: translateY(-2px);
}

.kiosk-promo__secondary {
  color: #dce8f8;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.kiosk-promo__secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.kiosk-promo__actions a:active {
  transform: scale(0.96);
}

.kiosk-promo__note {
  margin-top: 16px;
  color: #8f9db2;
  font-size: 12px;
  line-height: 1.6;
}

.branch-contact {
  clear: both;
  display: grid;
  margin: 0 0 96px;
  padding: clamp(36px, 4vw, 52px);
  scroll-margin-block: 96px 72px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 468px);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  border-radius: 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(4, 17, 39, 0.3);
}

.branch-contact__content {
  min-width: 0;
}

.section9 .branch-contact__eyebrow {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.branch-contact h3 {
  margin-top: 12px;
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.section9 .branch-contact__description {
  max-width: 500px;
  margin-top: 18px;
  color: #505866;
  font-size: 16px;
  line-height: 1.75;
}

.branch-contact__details {
  display: grid;
  margin-top: 26px;
  gap: 10px;
}

.branch-contact__details > div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
}

.branch-contact__details dt {
  color: #737b88;
  font-size: 14px;
  font-weight: 600;
}

.branch-contact__details dd {
  min-width: 0;
  color: #252a32;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.branch-contact__details a {
  text-decoration: underline;
  text-decoration-color: rgba(36, 87, 167, 0.32);
  text-underline-offset: 3px;
}

.branch-contact__actions {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 12px;
}

.branch-contact__actions a {
  display: inline-flex;
  min-height: 48px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.branch-contact__primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(36, 87, 167, 0.24);
}

.branch-contact__primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
}

.branch-contact__secondary {
  color: var(--blue-deep);
  background: var(--blue-light);
  box-shadow: inset 0 0 0 1px rgba(36, 87, 167, 0.18);
}

.branch-contact__secondary:hover {
  background: #e5efff;
  transform: translateY(-2px);
}

.branch-contact__actions a:active {
  transform: scale(0.96);
}

.branch-contact__visual {
  overflow: hidden;
  width: 100%;
  max-width: 468px;
  justify-self: end;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px oklch(0 0 0 / 0.1), 0 18px 42px rgba(18, 32, 56, 0.18);
}

.branch-contact__visual img {
  display: block;
  width: 100%;
  height: auto;
}

#header.is-contact-overlap-hidden,
.floating.is-contact-overlap-hidden,
.m_bottom.is-contact-overlap-hidden,
.kakao-fab.is-contact-overlap-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.m_bottom a {
  display: flex;
  width: 100%;
  min-height: 50px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

#footer .info {
  color: #616975;
}

/* Subpages */
.subpage {
  min-height: 100vh;
  background: #f4f6fa;
}

.subpage-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: var(--blue);
  box-shadow: 0 6px 22px rgba(20, 48, 93, 0.16);
}

.subpage-header__inner {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.subpage-logo {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.subpage-logo img {
  width: 194px;
  height: auto;
}

.subpage-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.subpage-nav a {
  display: inline-flex;
  min-height: 40px;
  padding: 0 17px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 160ms ease;
}

.subpage-nav a:hover,
.subpage-nav a[aria-current="page"] {
  color: var(--blue);
  background: #fff;
}

.article-hero {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  color: #fff;
  background: var(--blue-deep);
}

.article-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(12, 41, 89, 0.98) 0%, rgba(25, 67, 133, 0.9) 53%, rgba(36, 87, 167, 0.35) 100%);
  content: "";
}

.article-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1040px, calc(100% - 40px));
  min-height: 390px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 72px;
}

.article-hero__eyebrow {
  margin-bottom: 16px;
  color: #9fc4ff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.article-hero h1 {
  max-width: 680px;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.article-hero__lead {
  max-width: 620px;
  margin-top: 24px;
  color: #d6e4ff;
  font-size: 18px;
  line-height: 1.75;
  text-wrap: pretty;
}

#article-content,
#consult-form {
  scroll-margin-top: 84px;
}

.article-hero__image {
  align-self: end;
}

.article-hero__image img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.24));
}

.article-hero__image--wide {
  width: 480px;
  margin-left: -95px;
}

.article-hero__image--wide img {
  transform: translateY(42px);
}

.article-shell {
  display: grid;
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 110px;
  grid-template-columns: minmax(0, 1fr) 286px;
  align-items: start;
  gap: 42px;
}

.article-card,
.side-card,
.comments-card,
.consult-card {
  border: 1px solid #e1e6ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(34, 55, 87, 0.07);
}

.article-card {
  overflow: hidden;
  padding: 50px 52px;
}

.article-meta {
  display: flex;
  margin-bottom: 32px;
  align-items: center;
  gap: 10px;
  color: #6a7482;
  font-size: 14px;
}

.article-meta .category {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: #eef4ff;
  font-weight: 700;
}

.article-body {
  font-size: 17px;
  line-height: 1.9;
}

.article-body h2 {
  margin: 52px 0 18px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p + p {
  margin-top: 16px;
}

.article-body ul,
.article-body ol {
  display: grid;
  margin-top: 22px;
  gap: 12px;
}

.article-body li {
  position: relative;
  padding-left: 23px;
}

.article-body li::before {
  position: absolute;
  top: 0.8em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.article-callout {
  margin: 36px 0;
  padding: 28px 30px;
  border-left: 5px solid var(--blue);
  border-radius: 0 14px 14px 0;
  background: var(--blue-light);
}

.article-callout strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 19px;
}

.article-figure {
  overflow: hidden;
  margin: 42px 0;
  border-radius: 16px;
  background: #eaf1fc;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.article-figure figcaption {
  padding: 12px 18px;
  color: #6a7482;
  background: #f8faff;
  font-size: 13px;
}

.article-figure--contained {
  padding-top: 34px;
  text-align: center;
}

.article-figure--contained img {
  width: min(420px, 88%);
  margin: 0 auto;
}

.case-steps {
  display: grid;
  margin: 42px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.case-steps > div {
  min-height: 180px;
  padding: 24px;
  border: 1px solid #dce4ef;
  border-radius: 14px;
  background: #f9fbff;
}

.case-steps span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.case-steps strong {
  display: block;
  font-size: 19px;
}

.case-steps p {
  margin-top: 10px !important;
  color: #5f6976;
  font-size: 14px;
  line-height: 1.65;
}

.article-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.side-card {
  padding: 26px;
}

.side-card h2 {
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 800;
}

.side-card nav {
  display: grid;
  gap: 8px;
}

.side-card nav a {
  display: flex;
  min-height: 46px;
  padding: 0 14px;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  color: #3d4652;
  font-size: 14px;
  transition: color 160ms ease, background-color 160ms ease;
}

.side-card nav a::after {
  color: #97a4b5;
  content: "→";
}

.side-card nav a:hover,
.side-card nav a[aria-current="page"] {
  color: var(--blue);
  background: #eef4ff;
  font-weight: 700;
}

.side-cta {
  padding: 28px;
  border-radius: 18px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 18px 42px rgba(36, 87, 167, 0.24);
}

.side-cta strong {
  display: block;
  font-size: 22px;
  line-height: 1.4;
}

.side-cta p {
  margin-top: 10px;
  color: #cfe0ff;
  font-size: 14px;
}

.side-cta a {
  display: flex;
  min-height: 46px;
  margin-top: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  font-weight: 800;
}

.comments-card {
  margin-top: 28px;
  padding: 38px 42px;
}

.comments-heading {
  display: flex;
  margin-bottom: 24px;
  align-items: baseline;
  gap: 9px;
}

.comments-heading h2 {
  font-size: 24px;
  font-weight: 800;
}

.comments-count {
  color: var(--blue);
  font-weight: 800;
}

.comment-list {
  display: grid;
  margin-bottom: 30px;
  gap: 14px;
}

.comment-empty {
  padding: 28px 18px;
  border: 1px dashed #cfd8e5;
  border-radius: 12px;
  color: #596474;
  text-align: center;
}

.comment-item {
  padding: 18px 20px;
  border: 1px solid #e3e8ef;
  border-radius: 12px;
  background: #fbfcfe;
}

.comment-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.comment-item__author {
  font-weight: 800;
}

.comment-item__date {
  margin-left: 9px;
  color: #8a94a1;
  font-size: 12px;
}

.comment-item__text {
  margin-top: 10px;
  white-space: pre-wrap;
  word-break: break-word;
}

.comment-secret-badge {
  display: inline-flex;
  margin-top: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #5b6f8e;
  background: #edf3fb;
  font-size: 11px;
  font-weight: 700;
}

.comment-delete {
  padding: 7px 9px;
  border-radius: 7px;
  color: #667085;
  font-size: 12px;
}

.comment-delete:hover {
  color: #b42318;
  background: #fff0ee;
}

.comment-delete-panel {
  display: flex;
  margin-top: 14px;
  padding-top: 14px;
  align-items: center;
  gap: 7px;
  border-top: 1px solid #e5eaf0;
}

.comment-delete-panel[hidden] {
  display: none;
}

.comment-delete-panel label {
  position: static !important;
  width: auto !important;
  height: auto !important;
  flex: 1;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}

.comment-delete-panel input {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #ccd5e1;
  border-radius: 7px;
  font-size: 14px;
}

.comment-delete-confirm,
.comment-delete-cancel {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
}

.comment-delete-confirm {
  color: #fff;
  background: var(--blue);
}

.comment-delete-cancel {
  color: #596474;
  background: #edf0f4;
}

.comment-delete-confirm:disabled,
.comment-load-more:disabled {
  cursor: wait;
  opacity: 0.6;
}

.comment-load-more {
  min-height: 44px;
  padding: 0 18px;
  justify-self: center;
  border: 1px solid #c8d5e8;
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
}

.comment-load-more:hover {
  border-color: var(--blue);
  background: #f3f7ff;
}

.comment-form,
.consult-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label,
.field-label {
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfd8e5;
  border-radius: 9px;
  background: #fff;
  font-size: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 138px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(36, 87, 167, 0.12);
}

.field-error {
  min-height: 18px;
  color: #b42318;
  font-size: 13px;
}

.checkbox-field {
  display: flex;
  min-height: 44px;
  align-items: flex-start;
  gap: 9px;
  color: #505966;
  font-size: 14px;
  line-height: 1.55;
}

.checkbox-field input {
  width: 24px;
  height: 24px;
  margin-top: 0;
  flex: none;
  accent-color: var(--blue);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.checkbox-field input[aria-invalid="true"] {
  outline: 2px solid #b42318;
  outline-offset: 2px;
}

.primary-button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 25px rgba(36, 87, 167, 0.22);
  font-weight: 800;
  transition: background-color 160ms ease, transform 160ms ease;
}

.primary-button:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
}

.primary-button:active {
  transform: scale(0.96);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.form-note {
  color: #596474;
  font-size: 13px;
  line-height: 1.6;
}

.honeypot-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

/* Consultation page */
.consult-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #184682 0%, #2457a7 42%, #eef4ff 42.1%, #f7f9fc 100%);
}

.consult-shell {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 110px;
}

.consult-intro {
  margin-bottom: 34px;
  color: #fff;
  text-align: center;
}

.consult-intro .eyebrow {
  margin-bottom: 12px;
  color: #b9d3ff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.consult-intro h1 {
  font-size: clamp(34px, 6vw, 54px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-align: center;
  text-wrap: balance;
}

.consult-intro p {
  margin-top: 18px;
  color: #d7e5ff;
  font-size: 17px;
  text-align: center;
  text-wrap: pretty;
}

.consult-card {
  padding: 50px 54px;
}

.consult-card__title {
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e4e9f0;
}

.consult-card__title h2 {
  font-size: 28px;
  font-weight: 800;
}

.consult-card__title p {
  margin-top: 8px;
  color: #5f6976;
}

.phone-fields {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.phone-fields span {
  color: #85909e;
}

.privacy-box {
  max-height: none;
  overflow: visible;
  padding: 18px;
  border: 1px solid #e0e6ee;
  border-radius: 10px;
  color: #5f6976;
  background: #f8fafc;
  font-size: 12px;
  line-height: 1.7;
}

.form-status {
  min-height: 24px;
  padding: 0 4px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.consult-actions {
  display: grid;
  margin-top: 4px;
}

.consult-back {
  display: inline-flex;
  margin-top: 25px;
  color: #50647d;
  font-size: 14px;
  font-weight: 700;
}

.consult-back:hover {
  color: var(--blue);
}

.site-footer-mini {
  padding: 34px 20px 80px;
  color: #596474;
  background: #fff;
  font-size: 13px;
  text-align: center;
}

.success-dialog {
  width: min(430px, calc(100% - 32px));
  padding: 38px 34px 32px;
  border: 0;
  border-radius: 20px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 30px 90px rgba(7, 24, 54, 0.28);
  text-align: center;
}

.success-dialog::backdrop {
  background: rgba(12, 24, 42, 0.65);
  backdrop-filter: blur(4px);
}

.success-dialog__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 28px;
  font-weight: 800;
}

.success-dialog h2 {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
}

.success-dialog p {
  margin-top: 14px;
  color: #667085;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.success-dialog .success-dialog__receipt {
  display: inline-flex;
  margin-top: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #234979;
  background: #edf4ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.success-dialog .primary-button {
  width: 100%;
  margin-top: 24px;
}

@media (max-width: 1000px) {
	.section1 .img {
	  right: -130px;
	  width: 700px;
	}

  .section3 .slide .tabmenu li button.selected .tit {
    min-width: 250px;
    font-size: 24px;
  }

  .kiosk-promo {
    padding: 36px;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 32px;
  }

  .branch-contact {
    padding: 36px;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
  }

  .article-shell {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 28px;
  }

  .article-card {
    padding: 42px 38px;
  }
}

@media (max-width: 800px) {
	.section1 .inner {
	  min-height: 500px;
	}

	.section1 .txt {
	  padding-top: 40px;
	}

	.section1 .txt .slo {
	  margin-bottom: 30px;
	  font-size: 32px;
	}

	.section1 .txt .info span {
	  font-size: 52px;
	}

	.section1 .img {
	  top: 196px;
	  right: -210px;
	  width: 660px;
	}

	.section1 .slide_zone {
	  display: none;
	}

  .m_bottom {
    z-index: 1000;
  }

  .m_bottom a {
    min-height: calc(50px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
  }

  #footer {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .floating {
    display: none;
  }

  .kiosk-promo {
    margin-bottom: 28px;
    padding: 32px;
    scroll-margin-block: 96px calc(70px + env(safe-area-inset-bottom));
  }

	.diagnosis-band {
	  padding: 32px 20px;
	}

  .branch-contact {
    margin-bottom: 76px;
    padding: 32px;
    scroll-margin-block: 96px calc(70px + env(safe-area-inset-bottom));
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .branch-contact__visual {
    justify-self: start;
  }

  .article-hero__inner {
    min-height: 360px;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }

  .article-shell {
    padding: 48px 0 90px;
    grid-template-columns: 1fr;
  }

  .article-side {
    position: static;
    grid-row: 1;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
	.section1 .inner {
	  min-height: 0;
	  padding-top: 55px;
	}

	.section1 .txt {
	  padding: 34px 0 10px;
	}

	.section1 .txt .slo {
	  margin-bottom: 22px;
	  font-size: 25px;
	}

  .section1 .txt .info {
	  font-size: 22px;
	  line-height: 1.35;
  }

  .section1 .txt .info span {
	  margin-top: 3px;
	  font-size: 42px;
	  letter-spacing: -0.045em;
  }

	.section1 .txt .info .type02 {
	  margin-top: 4px;
	  font-size: 25px;
	}

	.section1 .img {
	  top: auto;
	  right: -10px;
	  width: 92%;
	  margin-top: -28px;
	  margin-left: auto;
	}

  .section2 picture.img img {
    display: inline-block;
  }

  .section3 .slide .scroll {
    overflow: hidden;
  }

  .section3 .slide .page {
    min-height: 1.5em;
  }

  .section3 .slide .scroll > ul > li {
    margin-right: 0;
  }

  .section3 .slide .scroll > ul > li .desc {
    box-sizing: border-box;
  }

  .kiosk-promo {
    padding: 24px 20px;
    border-radius: 20px;
  }

	.diagnosis-band {
	  padding: 20px 14px;
	}

  .kiosk-promo h3 {
    font-size: 29px;
  }

	.kiosk-promo__description {
    margin-top: 14px;
    font-size: 15px;
  }

  .kiosk-promo__features {
    margin-top: 20px;
  }

  .kiosk-promo__actions {
    margin-top: 24px;
    flex-direction: column;
  }

  .kiosk-promo__actions a {
    width: 100%;
  }

  .branch-contact {
    margin-bottom: 64px;
    padding: 22px 20px;
    border-radius: 20px;
    gap: 20px;
  }

  .branch-contact h3 {
    font-size: 29px;
  }

  .section9 .branch-contact__description {
    margin-top: 14px;
    font-size: 15px;
  }

  .branch-contact__details {
    margin-top: 20px;
  }

  .branch-contact__details > div {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
  }

  .branch-contact__actions {
    margin-top: 22px;
    flex-direction: column;
  }

  .branch-contact__actions a {
    width: 100%;
  }

  .branch-contact__visual {
    border-radius: 12px;
  }

  .subpage-header {
    height: 58px;
  }

  .subpage-header__inner {
    width: calc(100% - 28px);
  }

  .subpage-logo img {
    width: 156px;
  }

  .subpage-nav a:not(.subpage-nav__primary) {
    display: none;
  }

  .subpage-nav a {
    min-height: 36px;
    padding: 0 13px;
    font-size: 12px;
  }

  .article-hero {
    min-height: 440px;
  }

  .article-hero__inner {
    display: flex;
    width: calc(100% - 36px);
    min-height: 440px;
    padding-top: 54px;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

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

  .article-hero__lead {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.7;
  }

  .article-hero__image {
    width: 225px;
    margin: auto auto 0;
  }

  .article-hero__image--wide {
    width: 290px;
    margin-left: auto;
  }

  .article-hero__image--wide img {
    transform: translateY(20px);
  }

  .article-shell {
    width: calc(100% - 28px);
    padding-top: 30px;
    gap: 18px;
  }

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

  .side-card {
    display: block;
    padding: 16px;
  }

  .side-card h2 {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .side-card nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .side-card nav a {
    min-height: 44px;
    padding: 6px 4px;
    justify-content: center;
    text-align: center;
  }

  .side-card nav a::after {
    display: none;
  }

  .article-card {
    padding: 30px 22px;
    border-radius: 14px;
  }

  .article-body {
    font-size: 16px;
    line-height: 1.85;
  }

  .article-body h2 {
    margin-top: 42px;
    font-size: 25px;
  }

  .article-callout {
    padding: 22px 20px;
  }

  .comments-card {
    padding: 28px 20px;
    border-radius: 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .comment-item__top {
    align-items: flex-start;
  }

  .case-steps {
    grid-template-columns: 1fr;
  }

  .case-steps > div {
    min-height: 0;
  }

  .consult-shell {
    width: calc(100% - 28px);
    padding: 48px 0 80px;
  }

  .consult-intro p {
    font-size: 15px;
  }

  .consult-card {
    padding: 32px 22px;
    border-radius: 14px;
  }

  .phone-fields {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* KakaoTalk channel consultation (kakao-config.js가 비어 있으면 전부 hidden 유지) */
[data-kakao-chat][hidden] {
  display: none !important;
}

.kakao-fab {
  position: fixed;
  right: 20px;
  bottom: 217px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  color: #191919;
  background: #fee500;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(20, 24, 40, 0.22);
  transition: transform 0.15s ease;
}

.kakao-fab:hover {
  transform: translateY(-2px);
}

.kakao-fab__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media all and (max-width: 1200px) {
  .kakao-fab {
    right: 10px;
    bottom: 96px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .kakao-fab__icon {
    width: 16px;
    height: 16px;
  }
}

.branch-contact__kakao {
  color: #191919;
  background: #fee500;
  box-shadow: none;
}

.branch-contact__kakao:hover {
  background: #f5dc00;
}

.consult-kakao {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 14px;
  background: #fffbe6;
  box-shadow: inset 0 0 0 1px rgba(214, 184, 0, 0.35);
}

.consult-kakao p {
  margin: 0;
  color: #5c4d00;
  font-size: 14px;
  line-height: 1.5;
}

.consult-kakao__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 11px 18px;
  border-radius: 999px;
  color: #191919;
  background: #fee500;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.consult-kakao__btn:hover {
  background: #f5dc00;
}

@media all and (max-width: 640px) {
  .consult-kakao {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .consult-kakao__btn {
    justify-content: center;
  }
}
