@charset "utf-8";

/* ==========================================================================
   실버라이닝의원 게시판 상단 공통 스타일
   ========================================================================== */

@font-face {
  font-family:'Pretendard Variable';
  src:
    url('https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/variable/woff2/PretendardVariable.woff2')
    format('woff2-variations'),
    url('https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/variable/woff2/PretendardVariable.woff2')
    format('woff2');
  font-weight:45 920;
  font-style:normal;
  font-display:swap;
}

:root {
  --color-white:#ffffff;
  --color-blue:#0033c3;
  --color-blue-dark:#00268f;
  --font-eng:'DM Serif Display',serif;
  --font-kor:
    'Pretendard Variable',
    'Pretendard',
    -apple-system,
    BlinkMacSystemFont,
    'Malgun Gothic',
    dotum,
    sans-serif;
  --container-w:1440px;
  --container-pad:32px;
}

.footer-inner{width: 100%;}

/* ==========================================================================
   게시판 상단 히어로
   ========================================================================== */

.hero-section {
  position:relative;
  width:100%;
  height:calc(100vh - 80px);
  min-height:560px;
  max-height:840px;
  display:flex;
  align-items:stretch;
  justify-content:center;
  overflow:hidden;
}

.board_img {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.hero-overlay {
  position:absolute;
  top:0;
  left:0;
  z-index:1;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.45);
}

/* 히어로 내용 */

.hero-content {
  /* position:absolute;
  top:50%;
  left:50%;
  z-index:2;
  width:100%;
  max-width:var(--container-w);
  height:100%;
  margin:0 auto;
  padding:40px 32px 60px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  color:var(--color-white);
  text-align:left;
  transform:translate(-50%,-50%);
  box-sizing:border-box; */
  position: relative;
  z-index: 2;
  text-align: left;
  color: var(--color-white);
  width: 100%;
  max-width: var(--container-w);
  height: 100%;
  margin: 0 auto;
  padding: 40px max(32px, calc((100vw - var(--container-w)) / 2 + var(--container-pad))) 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(48px);
}

.hero-content-center {
  align-items:center;
  text-align:center;
}

.hero-content .eng-label {
  /* margin:0 0 12px; */
  /* margin-bottom:70px;
  font-family:var(--font-eng);
  font-size:16px;
  font-weight:500;
  color:var(--color-white);
  text-transform:uppercase;
  letter-spacing:0.3em;
  opacity:1;
  text-shadow:0 2px 12px rgba(0,20,80,0.35); */
  font-family: var(--font-eng);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-white);
    opacity: 1;
    margin: 0 0 12px;
    text-shadow: 0 2px 12px rgba(0, 20, 80, 0.35);
}

.hero-title {
  /* margin:0 0 16px; */
  /* margin-bottom:50px;
  font-family:var(--font-eng);
  font-size:88px;
  font-weight:400;
  line-height:1.1;
  color:var(--color-white);
  letter-spacing:0.04em;
  text-shadow:0 2px 16px rgba(0,20,80,0.35); */
  font-family: var(--font-eng);
  font-size: 88px;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  text-shadow: 0 2px 16px rgba(0, 20, 80, 0.35);
  line-height: 1.7;
}

.hero-subtitle {
  /* margin:24px 0; */
  /* font-family:var(--font-kor);
  font-size:32px;
  font-weight:600;
  color:var(--color-white);
  text-shadow:0 2px 12px rgba(0,20,80,0.3); */
  font-family: var(--font-kor);
    font-size: 32px;
    font-weight: 600;
    color: var(--color-white);
    margin: 24px 0 24px;
    text-shadow: 0 2px 12px rgba(0, 20, 80, 0.3);
}

.hero-desc {
  /* margin:0 0 40px; */
  /* margin-bottom: 80px;
  font-family:var(--font-kor);
  font-size:19px;
  line-height:1.8;
  color:var(--color-white);
  opacity:0.92;
  text-shadow:0 2px 12px rgba(0,20,80,0.3); */
  font-size: 19px;
    color: var(--color-white);
    opacity: 0.92;
    margin: 0 0 40px;
    line-height: 1.8;
    text-shadow: 0 2px 12px rgba(0, 20, 80, 0.3);
}

a.hero-cta, .hero-content a.hero-cta{
  display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    line-height: 1.2;
    margin: 24px auto 0;
    border-radius: 999px;
    padding: 20px 64px;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(0, 20, 80, 0.35);
    animation: heroCtaBounce 2.2s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

/* ==========================================================================
   순차 페이드인
   ========================================================================== */

.hero-fade {
  opacity:0;
  transform:translateY(28px);
  animation:
    heroFadeIn
    1.3s
    cubic-bezier(0.16,1,0.3,1)
    forwards;
}

@keyframes heroFadeIn {
  from {
    opacity:0;
    transform:translateY(28px);
  }

  to {
    opacity:1;
    transform:translateY(0);
  }
}

/* ==========================================================================
   상담하기 버튼
   ========================================================================== */

.hero-content .hero-cta {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:auto;
  margin:24px auto 0;
  padding:20px 64px;
  border-radius:999px;
  background:var(--color-blue);
  color:var(--color-white);
  font-family:var(--font-kor);
  font-size:16px;
  font-weight:600;
  line-height:1.2;
  text-decoration:none;
  box-shadow:0 8px 24px rgba(0,20,80,0.35);
  animation:heroCtaBounce 2.2s ease-in-out infinite;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.hero-content .hero-cta:hover {
  background:var(--color-white);
  color:var(--color-blue);
  box-shadow:0 14px 32px rgba(0,20,80,0.45);
  transform:translateY(-6px) scale(1.05);
  animation-play-state:paused;
}

@keyframes heroCtaBounce {
  0%,
  100% {
    transform:translateY(0);
  }

  50% {
    transform:translateY(-10px);
  }
}

/* ==========================================================================
   스크롤 표시
   ========================================================================== */

.hero-scroll-indicator {
  /* position:absolute;
  bottom:36px;
  left:50%;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  color:var(--color-white);
  opacity:0.85;
  transform:translateX(-50%); */
      position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    opacity: 0.85;
}

.hero-scroll-indicator > span:first-child {
font-family: var(--font-eng);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1.7;
}

.hero-scroll-line {
  /* position:relative;
  width:2px;
  height:40px;
  overflow:hidden;
  background:rgba(255,255,255,0.4); */
  position: relative;
    width: 2px;
    height: 40px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.4);
}

.hero-scroll-line::before {
  content:'';
  position:absolute;
  top:-40%;
  left:0;
  width:100%;
  height:40%;
  background:var(--color-white);
  animation:heroScrollLine 2s ease-in-out infinite;
}

@keyframes heroScrollLine {
  0% {
    top:-40%;
  }

  60%,
  100% {
    top:100%;
  }
}

/* ==========================================================================
   반응형
   ========================================================================== */

@media (max-width:1024px) {
  .hero-title {
    font-size:52px;
  }

  .hero-content .hero-cta {
    padding:16px 48px;
  }
}

@media (max-width:640px) {
  #main-content{padding-top:70px;}
  .hero-section {
    height:auto;
    min-height:0;
    max-height:none;
    aspect-ratio:0.78 / 1;
  }

  .board_img {
    object-fit:cover;
    object-position:center;
  }

  .hero-content {
    left:unset;top:unset;
    transform: translateY(48px);
  }

  .hero-content .eng-label {
    margin:0 0 8px;
    font-size:12px;
    line-height:1.7;
  }

  .hero-title {
    margin:0 0 10px;
    font-size:38px;
    line-height:1.05;
    /* white-space: nowrap; */
  }

  .hero-subtitle {
    margin:12px 0;
    font-size:22px;
    line-height: 1.7;
  }

  .hero-desc {
    margin:0 0 24px;
    font-size:14px;
    line-height:1.6;
  }

  .hero-content .hero-cta {
    padding:14px 40px;
    font-size:14px;
  }

  .hero-scroll-indicator {
    line-height: 1.7;
  }
}