@charset "utf-8";
/* 365온결치과의원 모바일 공통 (폰트/리셋/유틸/헤더/GNB/푸터) */

/* ========== 빛고을광주체 ========== */
@font-face {
    font-family: 'BitgoeulGwangju';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_seven@1.2/Bitgoeul_Light.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'BitgoeulGwangju';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_seven@1.2/Bitgoeul_Medium.woff') format('woff');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'BitgoeulGwangju';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_seven@1.2/Bitgoeul_Bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}
:root {
    --green: #768975;
    --white: #fff;
    --black: #191919;
    --deepgreen: #606a60;
    --warmgray: #b1aea7;
    --brown: #8d7865;
    --softcharcoal: #323333;
}

/* ========== reset ========== */
* {
    box-sizing: border-box;
    letter-spacing: -0.05em;
}
html,
body,
main {
    margin: 0;
    padding: 0;
}
body {
    position: relative;
    overflow-x: hidden;
    font-family: 'Pretendard', sans-serif;
    -webkit-font-smoothing: antialiased;
    word-break: keep-all;
    max-width: 768px;
    margin: 0 auto;
}
a {
    color: #191919;
    text-decoration: none;
}
ul,
li {
    list-style: none;
    padding: 0;
    margin: 0;
}
img {
    vertical-align: middle;
    max-width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
strong {
    margin: 0;
}
small {
    font-style: normal;
}
.center {
    max-width: 358px;
    width: 100%;
    margin: 0 auto;
}

/* ========== 모바일 유틸 클래스 ========== */
.s32r {
    font-family: 'BitgoeulGwangju', sans-serif;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 160%;
}
.s24r {
    font-family: 'BitgoeulGwangju', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: normal;
}
.s18r {
    font-family: 'BitgoeulGwangju', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 160%;
}
.s14r {
    font-family: 'BitgoeulGwangju', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 160%;
}
.c18b {
    font-size: 18px;
    font-weight: 600;
    line-height: 140%;
    letter-spacing: -0.54px;
}
.c18r {
    font-size: 18px;
    font-weight: 400;
    line-height: 180%;
    letter-spacing: -0.54px;
}
.c16r {
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: -0.48px;
}
.c14r {
    font-size: 14px;
    font-weight: 400;
    line-height: 180%;
    letter-spacing: -0.42px;
}

/* ========== header ========== */
.header {
    width: 100%;
    max-width: 768px;
    position: fixed;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 102;
    padding: 0 16px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(177, 174, 167, 0.1);
    backdrop-filter: blur(2.5px);
    -webkit-backdrop-filter: blur(2.5px);
}
.header h1 img {
    height: 31px;
}
.header .hamburger {
    position: relative;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.header .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transform-origin: center;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}
.header .hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.header .hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.header .hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========== 모바일 GNB ========== */
.m_gnb {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 768px;
    height: 100vh;
    height: 100dvh;
    background: rgba(177, 174, 167, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 101;
    padding: 80px 14px 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}
.m_gnb.is-open {
    opacity: 1;
    visibility: visible;
}
.m_gnb_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.m_gnb_item {
    background: rgba(97, 91, 81, 0.5);
    border-radius: 20px;
    padding: 20px;
    transition: background 0.3s ease;
}
.m_gnb_item.is-open {
    background: var(--deepgreen);
}
.m_gnb_tit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: #fff;
}
.m_gnb_tit > div {
    display: flex;
    flex-direction: column;
}
.m_gnb_tit strong {
    font-family: 'BitgoeulGwangju', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: normal;
}
.m_gnb_tit small {
    font-family: 'BitgoeulGwangju', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: normal;
}
.m_gnb_tit img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.m_gnb_item.is-open .m_gnb_tit img {
    transform: scaleY(-1);
}
.m_gnb_sub {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s ease,
        padding 0.4s ease;
}
.m_gnb_item.is-open .m_gnb_sub {
    max-height: 300px;
    padding-top: 10px;
}
.m_gnb_sub ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 21px;
}
.m_gnb_sub li {
    list-style: disc;
    color: #fff;
}
.m_gnb_sub a {
    color: #fff;
    font-family: 'BitgoeulGwangju', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: normal;
}
body.gnb-open {
    overflow: hidden;
}

/* ========== footer ========== */
.footer {
    background: #403d33;
    padding-top: 100px;
    color: #fff;
}
.ft_con {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ft_accodian01,
.ft_accodian02,
.ft_accodian03 {
    border-bottom: 1px solid #fff;
    padding: 0 20px 20px;
}
.ft_accodian03 {
    border: none;
}
.ft_accodian_hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.ft_accodian_hd h3 {
    color: var(--warmgray);
}
.ft_toggle {
    display: flex;
    align-items: center;
    width: 24px;
    height: 24px;
}
.ft_toggle img {
    width: 24px;
    height: 24px;
}
.ft_toggle img:first-child {
    display: none;
}
.ft_toggle img:last-child {
    display: block;
}
.is-open .ft_toggle img:first-child {
    display: block;
}
.is-open .ft_toggle img:last-child {
    display: none;
}
.ft_accodian_con {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s ease,
        padding 0.4s ease;
}
.ft_accodian_con.open {
    max-height: 300px;
    padding-top: 10px;
}
.ft_accodian_con h4 {
    color: #fff;
    font-weight: 400;
}
.ft_accodian_con h5 {
    color: var(--warmgray);
}
.ft_accodian_con h6 {
    color: #fff;
}
.ft_accodian_con ul {
    display: flex;
    flex-direction: column;
}
.ft_accodian_con li {
    color: #fff;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.ft_accodian_con li > span:first-of-type {
    flex-shrink: 0;
    width: 96px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.ft_accodian_con em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: #fff;
    font-family: 'BitgoeulGwangju', sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    padding: 0 4px;
    border-radius: 40px;
    flex-shrink: 0;
}
.ft_accodian_con small {
    width: 100%;
    color: var(--warmgray);
    font-family: 'Pretendard', sans-serif; /* 안내문은 프리텐다드 */
}
.ft_map {
    position: relative;
    height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 16px 10px;
}
/* 네이버 지도 API 가 컨테이너에 position:relative 를 인라인으로 넣어 크기가 0 이 되므로 절대배치·크기 고정 */
#map {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #555;
}
.map_btn {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
}
.map_btn a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--softcharcoal);
    border-radius: 10px;
    padding: 4px 10px;
    color: #fff;
    white-space: nowrap;
}
.map_btn a img {
    width: 16px;
    height: 16px;
}
.ft_bar {
    background: #403d33;
    padding: 40px 0px;
}
.ft_bar .center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.ft_bar a img {
    width: 229px;
}
.ft_bar p {
    width: 100%;
    color: #fff;
    font-size: 12px;
    line-height: 180%;
    letter-spacing: -0.36px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #b1aea7;
}
.ft_bar small {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    line-height: 180%;
    letter-spacing: -0.33px;
    text-align: center;
}


/* ========== gnuboard 보정 ========== */
#hd_login_msg {
    display: none;
}
#hd_pop {
    z-index: 1000;
}
/* 그누보드 mobile.css 기본값 무력화
   - html/body height:100% 이면 body 가 스크롤 컨테이너가 되어 window 스크롤(ScrollTrigger 핀·스크럽)이 동작하지 않음 */
html,
body {
    height: auto;
    min-height: 100%;
}
body {
    min-width: 0;
    background: #fff;
}
