@charset "UTF-8";

:root {
  --inner-max-width: 1280px;
  --container-gutter: 50px;
  --max-width: var(--inner-max-width);
  --bp-laptop: 1600px;
  --bp-tablet: 1200px;
  --bp-mobile-nav: 1024px;
  --bp-mobile: 768px;
  --gnb-offset: 70px;
  --floating-footer-lift: 0px;
  --text-main: #111;
  --text-sub: #5b5b5b;
  --line: #e6e6e6;
  --brand: #0c2a45;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: #111;
}

/* Shared layout utilities */
.container,
.sub-container {
  width: 100%;
  max-width: none;
  padding: 0 var(--container-gutter);
  margin: 0 auto;
}

.inner {
  width: 100%;
  max-width: var(--inner-max-width);
  margin: 0 auto;
  padding: 0;
}

.u-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 0;
}

.gnb-wrap {
  display: block;
  width: 100%;
}

.site-header .container {
  width: 100%;
  max-width: 100%;
  padding: 0 var(--container-gutter);
}

.gnb-primary-row {
  background: #ffffff;
  border-bottom: 1px solid transparent;
  position: relative;
  transition: border-color 0.24s ease;
}

.gnb-primary-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "logo nav action";
  align-items: center;
  column-gap: 42px;
  min-height: 70px;
}

.logo {
  grid-area: logo;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.logo-mark {
  display: block;
  width: auto;
  flex: 0 0 auto;
}

.logo-mark--aronamin {
  height: 27px;
}

.logo-divider {
  width: 1px;
  height: 30px;
  background: #c8ccd5;
  flex: 0 0 auto;
}

.logo-mark--ildong {
  height: 24px;
}

.gnb {
  grid-area: nav;
  justify-self: center;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  min-width: 0;
}

.gnb-toggle {
  grid-area: toggle;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: #111;
  font-size: 30px;
}

.gnb > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0;
  color: #101010;
  font-weight: 700;
  font-size: clamp(1.02rem, 1.08vw, 1.36rem);
  line-height: 1;
  white-space: nowrap;
}

.gnb > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: 0;
  width: 0;
  height: 3px;
  background: #2f4ea2;
  transition: width 0.2s ease;
}

.gnb > a:hover::after,
.gnb > a:focus-visible::after,
.gnb > a.is-current::after {
  bottom: -1px;
  width: 100%;
}

.gnb-depth {
  position: static;
  display: inline-flex;
  align-items: center;
  height: 100%;
  --gnb-dropdown-height: 0px;
}

.gnb-depth > .gnb-depth__link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  position: relative;
  padding: 0 1.05rem 0 0;
  color: #101010;
  font-weight: 700;
  font-size: clamp(1.02rem, 1.08vw, 1.36rem);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.gnb-depth > .gnb-depth__link::before {
  content: "";
  position: absolute;
  right: 0;
  top: 48%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #4f5462;
  border-bottom: 2px solid #4f5462;
  transform: translateY(-62%) rotate(45deg);
  transition: transform 0.2s ease;
}

.gnb-depth.is-open > .gnb-depth__link::before {
  transform: translateY(-35%) rotate(-135deg);
}

.gnb-depth > .gnb-depth__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: 0;
  width: 0;
  height: 3px;
  background: #2f4ea2;
  transition: width 0.2s ease;
}

.gnb-depth > .gnb-depth__link:hover::after,
.gnb-depth > .gnb-depth__link:focus-visible::after,
.gnb-depth.is-open > .gnb-depth__link::after,
.gnb-depth.is-current > .gnb-depth__link::after {
  bottom: -1px;
  width: 100%;
}

.gnb-depth > .gnb-dropdown {
  display: block;
}

.gnb-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 1px;
  background: #ffffff;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  z-index: 30;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, -12px, 0);
  transform-origin: top center;
  will-change: max-height, opacity, transform;
  transition:
    max-height 0.34s cubic-bezier(0.22, 0.7, 0.2, 1),
    opacity 0.24s ease,
    transform 0.34s cubic-bezier(0.22, 0.7, 0.2, 1),
    border-color 0.24s ease,
    visibility 0s linear 0.34s;
}

.gnb-depth.is-open .gnb-dropdown {
  max-height: var(--gnb-dropdown-height, 180px);
  border-top-color: #d9dde5;
  border-bottom-color: #d9dde5;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition-delay: 0s, 0s, 0s, 0s, 0s;
}

.gnb-dropdown-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, -8px, 0);
  transition: opacity 0.24s ease, transform 0.34s cubic-bezier(0.22, 0.7, 0.2, 1);
}

.gnb-depth.is-open .gnb-dropdown-inner {
  opacity: 1;
  transform: translateY(0);
}

.gnb-dropdown-inner a {
  position: relative;
  padding: 0.45rem 0;
  color: #1e1f23;
  font-size: clamp(1rem, 1.02vw, 1.28rem);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.gnb-dropdown-inner a.is-current {
  color: #13368b;
  font-weight: 700;
}

.gnb-dropdown-inner a:hover,
.gnb-dropdown-inner a:focus-visible {
  color: #13368b;
  opacity: 1;
}

.gnb-pharmacy {
  grid-area: action;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: #112b6d;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.gnb-pharmacy i {
  font-size: 1.2rem;
}

.gnb > a.gnb-mobile-pharmacy {
  display: none;
}

.page-main,
.page-main-sub {
  flex: 1 0 auto;
  padding: 0;
}

.page-main > section {
  width: 100%;
  max-width: none;
  margin: 0;
}

.home-youtube__inner,
.sub-video-section__inner {
  width: 100%;
  max-width: var(--inner-max-width);
  margin: 0 auto;
  background: #ffffff;
}

.home-youtube__inner h2,
.sub-video-section__inner h2 {
  margin: 0;
  line-height: 1.3;
  color: #0f172a;
  text-align: center;
}

.home-youtube__frame-wrap {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  box-shadow: 0 16px 30px rgba(17, 43, 109, 0.16);
  aspect-ratio: 16 / 9;
}

.home-youtube__poster {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #0f172a;
}

.home-youtube__poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.38));
  z-index: 1;
}

.home-youtube__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease;
}

.home-youtube__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(62px, 8vw, 94px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e2f7b;
  color: #ffffff;
  font-size: clamp(30px, 3.7vw, 44px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.24);
  z-index: 2;
}

.home-youtube__poster:hover img,
.home-youtube__poster:focus-visible img {
  transform: scale(1.04);
}

.home-youtube__poster:focus-visible {
  outline: 2px solid #14337f;
  outline-offset: 2px;
}

.home-youtube__frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ad-review-area {
  margin: clamp(72px, 9vw, 140px) 0 clamp(18px, 2.4vw, 30px);
  padding: clamp(24px, 3.2vw, 42px) 0 0;
}

.ad-review-area__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 14px 24px;
}

.ad-review-area h2 {
  margin: 0;
  color: #000000;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.4;
  font-weight: 400;
  min-width: 0;
}

.ad-review-area__code {
  margin: 0;
  color: #6b7280;
  font-size: clamp(0.95rem, 1.04vw, 1.04rem);
  line-height: 1.6;
  font-weight: 400;
  white-space: normal;
  text-align: right;
  min-width: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media (max-width: 1200px) {
  :root {
    --container-gutter: 24px;
  }

  .gnb-primary-inner {
    column-gap: 24px;
  }

  .gnb {
    gap: 24px;
  }

  .gnb-dropdown-inner {
    gap: 18px;
  }

  .ad-review-area {
    margin-top: clamp(52px, 7vw, 86px);
    margin-bottom: 16px;
    padding-top: clamp(18px, 2.8vw, 28px);
    padding-bottom: 0;
  }

  .ad-review-area__inner {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ad-review-area__code {
    text-align: left;
  }
}

.floating-quick {
  position: fixed;
  right: clamp(14px, 2.2vw, 30px);
  bottom: calc(clamp(14px, 2.2vw, 28px) + var(--floating-footer-lift) + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 18;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  pointer-events: none;
  transition: bottom 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
}

.floating-quick.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.floating-quick__btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 88px;
  height: 88px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  color: #ffffff;
  background: #1e2f7b;
  box-shadow: 0 10px 22px rgba(15, 30, 72, 0.24);
}

.floating-quick__btn span {
  display: block;
  line-height: 1.1;
  white-space: normal;
}

.floating-quick__btn i {
  order: -1;
  font-size: 1.24rem;
  line-height: 1;
}

.floating-quick__btn--pharmacy {
  background: #1e2f7b;
}

.floating-quick__btn--top {
  background: #1a1a1a;
}

.floating-quick__btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.site-footer {
  background: #ececec;
  color: #111111;
  padding: 0;
}

.site-footer__inner {
  padding: clamp(32px, 4.2vw, 54px) 0;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 36px;
  align-items: end;
}

.footer-left {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
}

.footer-brand img {
  display: block;
  width: clamp(132px, 9.6vw, 180px);
  max-width: 100%;
  height: auto;
}

.footer-address {
  margin: 0;
  font-style: normal;
  font-size: clamp(0.92rem, 1.08vw, 1.12rem);
  font-weight: 700;
  line-height: 1.4;
  color: #1f2937;
  white-space: normal;
}

.footer-contact {
  margin: 2px 0 0;
  font-size: clamp(0.88rem, 1vw, 1.02rem);
  font-weight: 600;
  line-height: 1.45;
  color: #4b5563;
  white-space: normal;
}

.footer-contact br {
  display: block;
}

.footer-right {
  justify-self: end;
  align-self: start;
  text-align: right;
}

.footer-sns {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.footer-sns .sns {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  color: #ffffff;
  font-size: 1.22rem;
}

.footer-sns .sns img {
  width: 18px;
  height: 18px;
  display: block;
  filter: none;
}

.footer-sns .sns i {
  color: currentColor;
}

.footer-sns .sns.naver {
  background: #03c75a;
}

.footer-sns .sns.facebook {
  background: #1877f2;
}

.footer-sns .sns.youtube {
  background: #ff0000;
}

.footer-bottom {
  margin-top: 34px;
  display: grid;
  gap: 10px;
}

.footer-policy {
  width: fit-content;
  color: #1f2937;
  font-size: clamp(0.82rem, 0.9vw, 0.98rem);
  font-weight: 700;
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  color: #5b5b5b;
  font-size: clamp(0.78rem, 0.85vw, 0.94rem);
  line-height: 1.6;
}

@media (max-width: 1600px) and (min-width: 1201px) {
  :root {
    --container-gutter: 36px;
  }

  .gnb-primary-inner {
    column-gap: 32px;
  }

  .gnb {
    gap: 32px;
  }

  .gnb-dropdown-inner {
    gap: 24px;
  }
}

@media (max-width: 1024px) {
  :root {
    --gnb-offset: 92px;
    --container-gutter: 18px;
  }
  .gnb-primary-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo toggle";
    row-gap: 0;
    min-height: 68px;
    padding: 12px 0;
  }

  .logo {
    gap: 10px;
  }

  .logo-mark--aronamin {
    height: 22px;
  }

  .logo-mark--ildong {
    height: 15px;
  }

  .logo-divider {
    height: 24px;
  }

  .gnb-toggle {
    display: inline-flex;
  }

  .gnb {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 35;
    width: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 18px 16px;
    border-top: 1px solid #dfe3eb;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -10px, 0);
    transition:
      max-height 0.36s cubic-bezier(0.22, 0.7, 0.2, 1),
      opacity 0.26s ease,
      transform 0.36s cubic-bezier(0.22, 0.7, 0.2, 1),
      visibility 0s linear 0.36s;
  }

  .gnb-pharmacy {
    display: none;
  }

  .gnb-wrap.is-open .gnb {
    max-height: min(70svh, calc(100svh - var(--gnb-offset)));
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition-delay: 0s, 0s, 0s, 0s;
  }

  .gnb-wrap.is-open .gnb > a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    height: auto;
    font-size: 1.05rem;
    padding: 10px 0;
    touch-action: manipulation;
  }

  .gnb-wrap.is-open .gnb > a::after {
    display: none;
  }

  .gnb-wrap.is-open .gnb > a.gnb-mobile-pharmacy {
    display: flex;
    gap: 6px;
  }

  .gnb-wrap.is-open .gnb > a.gnb-mobile-pharmacy i {
    font-size: 1rem;
  }

  .gnb-wrap.is-open .gnb-depth {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .gnb-wrap.is-open .gnb-depth > .gnb-depth__link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    height: auto;
    font-size: 1.05rem;
    padding: 10px 1rem 10px 0;
    touch-action: manipulation;
  }

  .gnb-wrap.is-open .gnb-depth > .gnb-depth__link::after {
    display: none;
  }

  .gnb-wrap.is-open .gnb-depth > .gnb-depth__link::before {
    right: 2px;
  }

  .gnb-wrap.is-open .gnb-dropdown {
    position: static;
    width: 100%;
    margin-top: 8px;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-left: 0;
    border-right: 0;
    background: #ffffff;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -12px, 0);
    transition:
      max-height 0.34s cubic-bezier(0.22, 0.7, 0.2, 1),
      opacity 0.24s ease,
      transform 0.34s cubic-bezier(0.22, 0.7, 0.2, 1),
      border-color 0.24s ease,
      visibility 0s linear 0.34s;
  }

  .gnb-wrap.is-open .gnb-depth.is-open .gnb-dropdown {
    max-height: var(--gnb-dropdown-height, 180px);
    border-top-color: #e0e0e0;
    border-bottom-color: #e0e0e0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition-delay: 0s, 0s, 0s, 0s, 0s;
  }

  .gnb-wrap.is-open .gnb-dropdown-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    min-height: 0;
    padding: 8px 0 10px;
    gap: 0;
  }

  .gnb-wrap.is-open .gnb-dropdown-inner a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 6px;
    font-size: 0.97rem;
    line-height: 1.35;
    touch-action: manipulation;
  }

  .gnb-wrap.is-open .gnb-pharmacy {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --container-gutter: 16px;
  }

  .ad-review-area {
    margin-top: clamp(42px, 10vw, 64px);
    padding-top: 16px;
  }

  .floating-quick {
    right: 0;
    bottom: var(--floating-footer-lift);
    gap: 0;
  }

  .floating-quick__btn {
    width: 52px;
    height: 52px;
    font-size: 0.64rem;
    gap: 1px;
    border-radius: 0;
    box-shadow: none;
  }

  .floating-quick__btn i {
    font-size: 0.86rem;
  }

  .site-footer {
    padding-bottom: 0;
  }

  .site-footer__inner {
    padding: 24px 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-left {
    display: grid;
    gap: 8px;
  }

  .footer-address,
  .footer-contact {
    white-space: normal;
  }

  .footer-contact br {
    display: block;
  }

  .footer-right {
    justify-self: start;
    text-align: left;
  }

  .footer-sns {
    justify-content: flex-start;
  }

  .footer-bottom {
    margin-top: 22px;
    gap: 8px;
  }
}

