@charset "utf-8";



/* ===== 올리브치과 반응형 ===== */
:root {
  --olive-padding-x: 40px;
}

/* 1440px 이하 */
@media (max-width: 1440px) {
  :root {
    --olive-padding-x: 32px;
  }

  #hd_wrapper {
    padding-left: var(--olive-padding-x);
    padding-right: var(--olive-padding-x);
  }

  .gnb_1da {
    padding: 8px 10px;
    font-size: 13px;
  }
}

/* 1200px 이하 */
@media (max-width: 1200px) {
  :root {
    --olive-padding-x: 24px;
  }

  #hd,
  #wrapper,
  #ft {
    min-width: 0;
  }

  #hd_pop,
  #hd_wrapper,
  #tnb .inner,
  #gnb .gnb_wrap,
  #container_wr,
  #ft_wr {
    width: 100%;
  }

  .hd_pops {
    max-width: calc(100vw - 32px);
  }

  .hd_pops_con {
    max-width: 100%;
  }

  body.index_page #wrapper {
    min-width: 0;
  }

  body.index_page #container_wr {
    width: 100%;
    padding: 0 var(--olive-padding-x);
    box-sizing: border-box;
  }

  #ft_copy {
    width: 100%;
    padding-left: var(--olive-padding-x);
    padding-right: var(--olive-padding-x);
    box-sizing: border-box;
  }

  #gnb {
    margin: 0 12px;
  }

  .gnb_1da {
    padding: 8px 8px;
    font-size: 12px;
  }

  .visual_title {
    font-size: 40px;
  }

  .visual_desc {
    font-size: 16px;
  }

  .sec01 {
    padding: 60px var(--olive-padding-x) 80px;
  }

  .sec01_title {
    font-size: 32px;
  }

  .sec01_photo {
    flex: 0 0 380px;
    width: 380px;
  }

  .sec01_info {
    margin-left: -140px;
  }

  .sec01_head {
    padding-left: 180px;
  }

  .sec01_box {
    padding: 36px 36px 40px 180px;
  }

  .sec01_name strong {
    font-size: 36px;
  }
}

/* 992px 이하 — 태블릿 */
@media (max-width: 992px) {

  .pc-show {
    display: none !important;
  }

  .pc-f-show {
    display: none !important;
  }

  .m-show {
    display: block !important;
  }

  .m-f-show {
    display: flex !important;
  }


  :root {
    --olive-padding-x: 20px;
  }

  #hd .hd_inner {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 14px 0;
  }

  #logo img {
    height: 40px;
  }

  #gnb {
    flex: 1;
    margin: 0 8px;
  }

  #gnb .gnb_1dli.gnb_mnal {
    display: block;
  }

  #gnb #gnb_1dul {
    justify-content: flex-end;
  }

  #gnb #gnb_1dul>.gnb_1dli:not(.gnb_mnal) {
    display: none;
  }

  #gnb .gnb_menu_btn {
    background: transparent;
    color: #fff;
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .hd_login {
    flex-shrink: 0;
  }

  .visual_sub {
    font-size: 12px;
    letter-spacing: 0.25em;
    margin-bottom: 20px;
  }

  .visual_title {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .visual_desc {
    font-size: 15px;
  }

  .main_visual .visual_swiper>.swiper-pagination.visual_pager {
    bottom: 38px;
  }

  #container {
    width: 100%;
    float: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  #wrapper {
    margin-top: 68px;
  }

  #aside {
    float: none;
    width: 100%;
    margin: 20px 0;
    padding: 0 var(--olive-padding-x);
    box-sizing: border-box;
  }

  .sec01 {
    padding: 50px var(--olive-padding-x) 60px;
  }

  .sec01_head {
    text-align: left;
    margin-bottom: 24px;
    padding-left: 0;
  }

  .sec01_title {
    font-size: 28px;
  }

  .sec01_body {
    flex-direction: column;
  }

  .sec01_photo {
    flex: none;
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
    z-index: 2;
  }

  .sec01_info {
    margin-top: -48px;
    margin-left: 0;
    width: 100%;
  }

  .sec01_box {
    padding: 56px 28px 40px;
  }

  .sec01_nav {
    display: none;
  }

  .sec01_pager {
    margin-top: 20px;
  }

  .sec01_box_top {
    flex-direction: column;
    gap: 28px;
    margin-bottom: 28px;
  }

  .sec01_links {
    align-self: flex-end;
  }

  .sec01_name strong {
    font-size: 32px;
  }

  .sec01_lists {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* 768px 이하 — 모바일 */
@media (max-width: 768px) {
  :root {
    --olive-padding-x: 16px;
  }

  /* ===== 팝업레이어 반응형 ===== */
  #hd_pop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    z-index: 10000;
    pointer-events: none;
  }

  #hd_pop:has(.hd_pops) {
    pointer-events: auto;
  }

  #hd_pop:has(.hd_pops)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
  }

  .hd_pops {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%);
    width: calc(100% - 28px) !important;
    max-width: 400px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    z-index: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  }

  .hd_pops_con {
    width: 100% !important;
    height: auto !important;
    max-height: calc(100vh - 90px);
    max-height: calc(100dvh - 90px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
  }

  .hd_pops_footer {
    flex: 0 0 auto;
    min-height: 44px;
  }

  .hd_pops_footer button {
    font-size: 12px;
    padding: 12px 10px;
  }

  .hd_pops_footer .hd_pops_close {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* ===== 자격증 모달 반응형 ===== */
  .cert_modal_box {
    width: 100%;
    max-width: none;
    padding: 36px 12px 24px;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cert_modal_title {
    font-size: 15px;
    margin-bottom: 16px;
    padding: 0 36px 0 12px;
    line-height: 1.4;
  }

  .cert_modal_close {
    top: 4px;
    right: 4px;
    width: 44px;
    height: 44px;
  }

  .cert_modal_slide img {
    max-height: calc(100vh - 160px);
    max-height: calc(100dvh - 160px);
    width: auto;
    max-width: 100%;
    margin: 0 auto;
  }

  .cert_modal_pager {
    margin-top: 16px;
    gap: 8px;
  }

  .cert_modal_pager .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  .pc-bar-show {
    display: none;
  }

  .mobile-newline {
    display: block;
    margin-top: 10px;
  }

  #hd .hd_inner {
    padding: 12px 0;
  }

  #logo img {
    height: 24px;
  }

  .hd_login {
    display: none;
  }

  .hd_login a {
    font-size: 12px;
  }

  .hd_login li+li::before {
    margin: 0 8px;
  }

  .visual_txt {
    width: 92%;
  }

  .visual_sub {
    font-size: 11px;
    letter-spacing: 0.18em;
    margin-bottom: 16px;
  }

  .visual_title {
    font-size: 26px;
    line-height: 1.4;
  }

  .visual_desc {
    font-size: 14px;
    line-height: 1.5;
  }

  .main_visual .visual_swiper>.swiper-pagination.visual_pager {
    bottom: 20px;
    gap: 10px;
  }

  .visual_pager .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }

  body.index_page #container {
    margin: 24px 0;
  }

  /* .sec01 {
    padding: 40px var(--olive-padding-x) 50px;
  }

  .sec01_title {
    font-size: 24px;
  }

  .sec01_sub {
    font-size: 12px;
    letter-spacing: 0.28em;
  }

  .sec01_photo {
    max-width: 280px;
  }

  .sec01_info {
    margin-top: -36px;
  }

  .sec01_box {
    padding: 48px 20px 32px;
  }

  .sec01_degree {
    font-size: 13px;
  }

  .sec01_name strong {
    font-size: 28px;
    letter-spacing: 0.06em;
  }

  .sec01_name span {
    font-size: 15px;
  }

  .sec01_links {
    gap: 20px;
  }

  .sec01_link img {
    width: 40px;
  }

  .sec01_lists li {
    font-size: 13px;
    line-height: 1.7;
  } */

  .sec01 {
    padding: 60px 20px 80px;
  }

  .sec01_inner {
    padding: 0;
  }

  .sec01_body {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sec01_info {
    display: contents;
  }

  .sec01_head {
    order: 1;
    padding: 0;
    margin-bottom: 30px;
    text-align: center;
  }

  .sec01_title {
    text-align: center;
    font-size: 32px;
  }

  .sec01_sub {
    text-align: center;
    font-size: 20px;
    margin-top: 10px;
    letter-spacing: 0.25em;
  }

  .sec01_photo {
    order: 2;
    width: 100%;
    max-width: 400px;
    margin: 0 auto -50px;
    position: relative;
    z-index: 2;
    flex: none;
  }

  .sec01_box {
    order: 3;
    width: 100%;
    min-height: 638px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    padding: 80px 60px 40px 20px;
  }

  .sec01_photo img {
    width: 80%;
    margin: 0 auto;
  }

  .sec01_box_top {
    display: block;
    margin-bottom: 20px;
  }

  .sec01_degree {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .sec01_name strong {
    font-size: 32px;
  }

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

  .sec01_links {
    position: absolute;
    top: 80px;
    right: 20px;
    flex-direction: column;
    gap: 24px;
    padding-top: 0;
  }

  .sec01_link img {
    width: 44px;
    margin-bottom: 8px;
  }

  .sec01_link span {
    font-size: 11px;
  }

  .sec01_lists {
    display: block;
  }

  .sec01_lists ul {
    margin-bottom: 8px;
  }

  .sec01_lists li {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .sec01_nav {
    top: 30%;
  }

  .sec01_prev {
    left: 0;
  }

  .sec01_next {
    right: 0;
  }

  .sec02 {
    padding: 50px 20px 60px;
  }

  .sec02_head {
    margin-bottom: 35px;
  }

  .sec02_title {
    font-size: 26px;
    line-height: 1.25;
  }

  .sec02_list {
    gap: 45px;
  }

  .sec02_list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .sec02_img {
    flex: none;
    width: 100%;
    border-radius: 14px;
  }

  .sec02_info {
    width: 100%;
    text-align: center;
    padding: 0;
  }

  .sec02_label {
    min-height: 48px;
    padding-top: 4px;
    margin-left: auto;
    margin-right: auto;
  }

  .sec02_label::before {
    left: 20px;
    width: 60px;
    height: 60px;
  }

  .sec02_label em {
    font-size: 40px;
  }

  .sec02_tit {
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 16px;
  }

  .sec02_point {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .sec02_desc {
    font-size: 13px;
    line-height: 1.6;
    word-break: keep-all;
  }

  .sec03 {
    padding: 60px 20px 250px;
  }

  .sec03::before {
    width: 100%;
    height: 70%;
    left: 0;
    top: auto;
    bottom: -18%;
    background: url('/img/sec03_bak.jpg') no-repeat center bottom;
    background-size: cover;

    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
  }

  .sec03_inner {
    padding: 0;
  }

  .sec03_title {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .sec03_sub {
    font-size: 15px;
    word-break: keep-all;
  }

  .sec03_steps {
    flex-wrap: wrap;
    gap: 30px;
    max-width: 400px;
    margin: 0 auto 50px;
  }

  .sec03_step {
    width: 150px;
    height: 160px;
  }

  .sec03_step:last-child::after,
  .sec03_step:last-child::before {
    display: none;
  }

  .sec03_step:not(:last-child)::after {
    right: -12px;
    border-left-width: 12px;
    border-top-width: 14px;
    border-bottom-width: 14px;
  }

  .sec03_step:not(:last-child)::before {
    right: -13px;
    border-left-width: 13px;
    border-top-width: 15px;
    border-bottom-width: 15px;
  }

  .sec03_icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }

  .sec03_text {
    font-size: 13px;
  }

  /* 하단 설명 텍스트 크기 조절 */
  .sec03_desc01 {
    font-size: 16px;
  }

  .sec03_desc02 {
    font-size: 14px;
    word-break: keep-all;
    /* 텍스트가 예쁘게 떨어지도록 단어 유지 */
    padding: 0 10px;
    line-height: 1.5;
  }

  /* .sec04 {
    padding: 60px 0 70px;
  }

  .sec04_inner {
    padding: 0 16px;
  }

  .sec04_head {
    margin-bottom: 28px;
  }

  .sec04_title {
    font-size: 26px;
  }

  .sec04_sub {
    font-size: 14px;
    padding: 0 10px;
    word-break: keep-all;
  }

  .sec04_slider_wrap {
    max-width: 100%;
    margin-bottom: 28px;
    padding: 0 44px;
  }

  .sec04_slider_wrap .sec04_swiper {
    padding: 20px 0 28px;
  }

  .sec04_nav {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }

  .sec04_nav::before {
    width: 9px;
    height: 9px;
  }

  .sec04_card_txt {
    padding: 18px 12px 22px;
    min-height: 130px;
  }

  .sec04_card_txt h3 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .sec04_swiper .swiper-slide-active .sec04_card_txt h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .sec04_card_txt h3::after {
    margin-top: 10px;
  }

  .sec04_card_txt p {
    font-size: 11px;
    margin-top: 10px;
  }

  .sec04_swiper .swiper-slide-active .sec04_card_txt p {
    font-size: 13px;
    margin-top: 12px;
  }

  .sec04_footer {
    font-size: 13px;
    padding: 0 12px;
  } */

  .sec04 {
    background: url('/img/mobile/sec04_bg.jpg') no-repeat center center;
    background-size: cover;
  }

  /* sec04: 모바일 — 슬라이드 1장만 */
  .sec04_slider_wrap {
    max-width: 100%;
    padding: 0 48px;
    margin-bottom: 28px;
  }

  .sec04_slider_wrap .sec04_swiper {
    padding: 12px 0 28px;
    overflow: hidden;
  }

  .sec04_swiper .swiper-slide:not(.swiper-slide-active) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .sec04_swiper .swiper-slide-active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 5;
  }

  .sec04_card {
    transform: scale(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    border-color: #fff;
    box-shadow: none;
  }

  .sec04_swiper .swiper-slide-active .sec04_card {
    box-shadow: none;
  }

  .sec04_card::after {
    opacity: 0 !important;
  }

  .sec04_swiper .swiper-slide-active .sec04_card_txt {
    background: #93a372;
  }

  .sec04_swiper .swiper-slide-active .sec04_card_txt h3 {
    font-size: 20px;
  }

  .sec04_swiper .swiper-slide-active .sec04_card_txt p {
    font-size: 13px;
  }

  .sec04_title {
    font-size: 28px;
  }

  .sec04_sub {
    font-size: 16px;
  }

  .sec04_inner {
    padding: 0 16px;
  }

  .sec04_footer {
    font-size: 14px;
  }

  .sec04_nav {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }

  .sec05 {
    width: 100%;
    margin-left: 0;
    background: #f7f7f7;
  }

  .sec05_inner {
    flex-direction: column;
    min-height: auto;
  }

  .sec05_left {
    display: contents;
  }

  .sec05_eyebrow {
    order: 1;
    margin-top: 60px;
    text-align: center;
    width: 100%;
  }

  .sec05_title {
    order: 2;
    text-align: center;
    width: 100%;
    font-size: 34px;
  }

  .sec05_desc {
    order: 3;
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .sec05_right {
    order: 4;
    width: 100vw;
    max-width: 100vw;
    flex: none;
    margin-left: calc(50% - 50vw);
  }

  .sec05_gallery {
    min-height: auto;
  }

  .sec05_gallery .swiper-slide img {
    min-height: auto;
    height: 70vw;
    max-height: 480px;
  }

  .sec05_thumbs_wrap {
    order: 5;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 30px 20px 40px;
    background: #fff;
    min-height: auto;
    box-sizing: border-box;
  }

  .sec05_thumbs {
    height: auto;
    padding-bottom: 50px !important;
  }

  .sec05_thumbs .swiper-slide {
    width: 200px;
    height: auto;
    margin-bottom: 0;
  }

  .sec05_thumb {
    flex-direction: column;
    align-items: center;
    background: transparent !important;
  }

  .sec05_thumb_img {
    width: 100%;
    height: 120px;
  }

  .sec05_thumb_txt {
    padding: 16px 0 0;
    text-align: center;
    align-items: center;
  }

  .sec05_thumb_sub {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .sec05_thumb_name {
    font-size: 18px;
  }

  /* 가로 스크롤바 (기존 얇은 형태) */
  .sec05_thumbs_scrollbar {
    position: absolute !important;
    top: auto !important;
    bottom: 26px !important;
    left: 20px !important;
    right: 20px !important;
    width: auto !important;
    height: 4px !important;
    border-radius: 2px;
  }

  .sec05_thumbs_scrollbar .swiper-scrollbar-drag {
    height: 100%;
    border-radius: 2px;
  }

  .sec06 {
    padding: 80px 20px;
  }

  .sec06_inner {
    padding: 0;
  }

  .sec06_head {
    margin-bottom: 50px;
  }

  .sec06_title {
    font-size: 32px;
  }

  .sec06_sub {
    font-size: 32px;
  }

  .sec06_body {
    flex-direction: column;
    align-items: center;
    gap: 70px;
  }

  .sec06_box {
    width: 100%;
    padding: 0;
  }

  .sec06_line {
    display: none;
  }

  .sec06_box::before {
    content: '';
    position: absolute;
    top: 42px;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    height: 2px;
    background-color: #8c966a;
    z-index: -1;
  }

  .sec06_icon {
    margin-bottom: 25px;
  }

  .sec06_box_title {
    font-size: 26px;
    margin-bottom: 25px;
  }

  .sec06_time_list {
    width: fit-content;
    max-width: 100%;
  }

  .sec06_time_list li {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .sec06_time_list .label {
    width: 70px;
  }

  .sec06_time_list .time-period {
    font-size: 10px;
  }

  .sec06_subject_list p {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .sec06_tel .num {
    font-size: 30px;
  }

  .sec07_inner .root_daum_roughmap .wrap_map {
    height: 35vh !important;
  }

  .sec07_info {
    padding: 70px 0 100px;
  }


  .latest_top_wr {
    margin: 0 0 20px;
  }

  .lt_wr {
    width: 100%;
    margin-left: 0 !important;
  }

  #ft {
    padding: 40px 0;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    min-width: 100%;
  }

  /* 2. 본문 박스 .ft_inner */
  #ft .ft_inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    order: 2 !important;
    /* SNS 박스 다음 순서 */
  }

  /* 3. ★ 핵심: 기존 덩어리 구조(ft_left, ft_right)의 태그 한계를 없애고 알맹이만 꺼내기 */
  #ft .ft_left,
  #ft .ft_right {
    display: contents !important;
    /* 박스 레이아웃을 없애고 자식 요소들이 ft_inner의 직속 자식처럼 작동하게 함 */
  }

  /* 4. SNS 박스 (맨 위: 1번) */
  #sns_fixed {
    position: static !important;
    transform: none !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto 25px auto !important;
    order: 1 !important;
    gap: 18px;
  }

  #sns_fixed a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 6px !important;
    margin-bottom: 0 !important;
    width: 60px !important;
    height: 60px !important;
    background: #fff !important;
    border-radius: 50% !important;
  }

  #sns_fixed img {
    width: 30px !important;
  }

  #sns_fixed #top_btn {
    display: none !important;
    /* 모바일 탑버튼 숨김 */
  }

  /* 5. 이용약관 (2번) */
  #ft .ft_link {
    order: 2 !important;
    margin-bottom: 25px !important;
  }

  #ft .ft_link a {
    font-size: 14px;
    margin: 0 10px !important;
  }

  /* 6. 로고 (3번) */
  #ft .ft_logo {
    order: 3 !important;
    margin-bottom: 25px !important;
  }

  #ft .ft_logo img {
    margin: 0 auto !important;
    max-height: 48px;
  }

  /* 7. 주소 및 대표자 정보 (4번) */
  #ft .ft_info {
    order: 4 !important;
    margin-bottom: 20px !important;
  }

  #ft .ft_info p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 5px;
    color: #979797;
    word-break: keep-all;
    text-align: center !important;
    /* 한 번 더 중앙 정렬 강제 */
  }

  /* ★ 미세하게 오른쪽으로 쏠리던 원인 해결 */
  #ft .ft_info .ft_label {
    margin: 0 !important;
    /* 라벨 자체에 걸린 마진을 완전히 제거 */
    padding-right: 4px !important;
    /* 글자와 데이터 사이만 살짝 띄움 */
  }

  /* 세로 구분선(|) 텍스트에만 좌우 마진을 주어 정중앙 정렬 유지 */
  #ft .ft_info p>span:not(.ft_label) {
    margin: 0 6px !important;
    color: #666 !important;
  }

  /* 8. 카피라이트 (맨 아래: 5번) */
  #ft .ft_copy {
    order: 5 !important;
    margin-top: 0 !important;
    font-size: 11px;
  }

  .modal {
    width: 95%;
  }

  .non-covered {
    display: none !important;
  }

  #location:before {
    display: none;
  }

  #location .depth {
    float: none;
    width: auto;
    text-align: center;
  }

  #location .depth>a {
    display: block;
    margin: 0 auto;
  }

  #contentsWrap {
    padding: 40px 20px;
  }
}

/* 480px 이하 — 소형 모바일 */
@media (max-width: 480px) {
  :root {
    --olive-padding-x: 12px;
  }

  .cert_modal_box {
    padding: 28px 10px 20px;
  }

  .cert_modal_title {
    font-size: 14px;
  }

  .cert_modal_slide img {
    max-height: calc(100vh - 140px);
    max-height: calc(100dvh - 140px);
  }

  .hd_pops {
    width: calc(100% - 20px) !important;
    max-width: none;
  }

  .hd_pops_footer button {
    font-size: 11px;
    padding: 11px 8px;
  }

  .visual_title {
    font-size: 22px;
  }

  .visual_desc {
    font-size: 13px;
  }

  .hd_login li+li::before {
    margin: 0 6px;
  }
}