/**
 * /home1/streams/public_html/couple/include/common.css
 * 서울부부심리상담클리닉 - 공통 CSS
 */

/* 기본 스타일 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'NanumSquare', 'Noto Sans KR', sans-serif; }
a { text-decoration: none; color: inherit; }
.clearfix::after { content: ''; display: table; clear: both; }

/* 폰트 클래스 */
.adp-fNanumMyeongjo { font-family: "NanumMyeongjo"; }
.adp-fNanumSquare { font-family: "NanumSquare"; }
.adp-fNanumSquareRound { font-family: "NanumSquareRound"; }
.adp-fNanumPen { font-family: "NanumPen"; }
.adp-fNanumBrush { font-family: "NanumBrush"; }
.adp-fNotoSans { font-family: "NotoSans"; }

/* 컨테이너 */
.at-container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ========================================
   상단 정보바
   ======================================== */
.top-info-bar { background: #fff; padding: 10px 0; border-bottom: 1px solid #eee; }
.top-info-bar .left { float: left; font-size: 14px; color: #333; }
.top-info-bar .left i { color: #aaa; margin-right: 5px; }
.top-info-bar .left span { margin-right: 20px; letter-spacing: 2px; }
.top-info-bar .right { float: right; font-size: 14px; color: #333; }
.top-info-bar .right a { margin-left: 15px; }
.top-info-bar .right i { color: #aaa; margin-right: 5px; }

/* ========================================
   헤더
   ======================================== */
.main-header { background: rgba(0,0,0,0.5); padding: 0; }
.header-inner { position: relative; height: 100px; }
.logo-area { float: left; padding-top: 12px; text-shadow: 1px 1px 1px rgba(0,0,0,.3); }
.logo-area a { display: block; color: inherit; }
.logo-area .en { font-size: 14px; color: #ddd; line-height: 120%; }
.logo-area .title span:nth-child(1) { font-size: 24px; font-weight: 700; color: #c0e384; }
.logo-area .title span:nth-child(2) { font-size: 24px; font-weight: 700; color: #7bc53d; }
.logo-area .title span:nth-child(3) { font-size: 24px; font-weight: 700; color: #fff; }
.logo-area .sub { font-size: 14px; color: #ddd; line-height: 15px; }

/* 메뉴 */
.main-menu { float: right; }
.main-menu a { display: inline-block; color: #fff; font-size: 17px; line-height: 100px; margin-left: 30px; transition: all 0.3s; }
.main-menu a:hover { font-size: 20px; }
.main-menu a.active span { border-bottom: 1px solid #aaa; padding-bottom: 5px; }

/* 모바일 메뉴 버튼 */
.mobile-menu-btn { 
    display: none;  /* 기본적으로 숨김 (PC) */
    position: absolute; 
    right: 20px; 
    top: 30px; 
    font-size: 40px; 
    color: #fff; 
    cursor: pointer;
    transition: all 0.3s;
}
.mobile-menu-btn:hover { color: #000; }

/* ========================================
   메인 슬라이더
   ======================================== */
.main-slider { margin-bottom: 30px; }
.slide-item { 
    height: 700px; 
    padding-top: 200px; 
    background-size: cover !important; 
    background-position: center !important;
    text-align: center;
}
.slide-item .text { color: #fff; text-shadow: 2px 2px 5px rgba(0,0,0,.6); }
.slide-item .text h2 { font-size: 50px; line-height: 110%; margin-bottom: 20px; }
.slide-item .text p { font-size: 26px; font-weight: 700; line-height: 110%; }

/* ========================================
   서브 비주얼
   ======================================== */
.sub-visual {
    height: 350px;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    text-shadow: 1px 1px 5px rgba(0,0,0,.3);
}
.sub-visual .inner {
    position: relative;
    height: 100%;
}
.sub-visual .title {
    position: absolute;
    right: 0;
    bottom: 110px;
    color: #fff;
    font-size: 50px;
    font-weight: 700;
    line-height: 120%;
}
.sub-visual .subtitle {
    position: absolute;
    right: 0;
    bottom: 70px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 120%;
}

/* ========================================
   콘텐츠 영역 (서브페이지)
   ======================================== */
.content-wrapper {
    position: relative;
    margin-top: -170px;  /* 서브비주얼 위로 올라감 */
    z-index: 10;
}

.content-wrapper .row {
    display: flex;
    flex-wrap: wrap;
}

/* 사이드바 컬럼 */
.sidebar-col {
    padding: 0 !important;
}

/* 사이드바 */
.sidebar-wrap {
    background: #fff;
}

.sidebar-visual {
    height: 200px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    text-shadow: 1px 1px 1px rgba(0,0,0,.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.sidebar-visual .title { font-size: 20px; color: #fff; margin-bottom: 5px; }
.sidebar-visual .subtitle { font-size: 12px; color: #fff; }

.sidebar-menu a {
    display: block;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
    color: #333;
    transition: all 0.3s;
}
.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #eee;
    border-left: 5px solid #cc0000;
}

.sidebar-contact {
    position: relative;
    padding: 20px;
    background: #f4f4f4;
    overflow: hidden;
}
.sidebar-contact i.bg-icon {
    position: absolute;
    right: -30px;
    bottom: -50px;
    font-size: 200px;
    color: #e9e9e9;
}
.sidebar-contact .label {
    position: relative;
    display: inline-block;
    border-bottom: 1px solid #aaa;
    margin-bottom: 10px;
    font-size: 18px;
    color: #666;
}
.sidebar-contact .phone {
    position: relative;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
}
.sidebar-contact .time-label {
    position: relative;
    font-size: 18px;
    color: #666;
    margin-bottom: 5px;
}
.sidebar-contact .time {
    position: relative;
    font-size: 24px;
    font-weight: 700;
    line-height: 120%;
}

/* 콘텐츠 컬럼 */
.content-col {
    padding: 0 !important;
}

/* 콘텐츠 박스 */
.content-box {
    background: #fff;
    padding: 30px;
}

/* ========================================
   소개 섹션 (메인)
   ======================================== */
.intro-section { padding: 100px 0; }
.intro-left { float: left; width: 50%; }
.intro-left .sub-title { font-size: 20px; color: #999; margin-top: 50px; margin-bottom: 20px; }
.intro-left .main-title1 { font-size: 40px; color: #cc5353; font-weight: 700; line-height: 120%; }
.intro-left .main-title2 { font-size: 40px; color: #333; font-weight: 700; line-height: 120%; margin-bottom: 30px; }
.intro-left .desc { font-size: 18px; color: #999; line-height: 120%; }
.intro-icons { margin-top: 30px; }
.intro-icon { float: left; text-align: center; padding: 0 15px; }
.intro-icon i { display: block; width: 100px; height: 100px; line-height: 100px; font-size: 40px; color: #666; border: 1px solid #999; border-radius: 50%; margin-bottom: 10px; }
.intro-icon .t1 { font-size: 18px; color: #999; }
.intro-icon .t2 { font-size: 18px; color: #666; }

.intro-right { float: right; width: 50%; }
.intro-right .photo { 
    position: relative;
    border-radius: 0 100px 100px 0; 
    height: 500px; 
    background-size: cover !important; 
    background-position: center !important;
    text-shadow: 3px 3px 5px rgba(0,0,0,.7);
}
.intro-right .photo .name { position: absolute; left: 30px; bottom: 30px; font-size: 40px; color: #fff; }
.intro-right .photo .position { position: absolute; left: 30px; bottom: 60px; font-size: 15px; color: #fff; }

/* ========================================
   카드 섹션
   ======================================== */
.card-section { 
    padding: 100px 0; 
    background-size: cover !important;
    background-position: center !important;
}
.card-section-inner { background: rgba(0,0,0,0.5); padding: 100px 0; }
.card-item { float: left; width: 25%; padding: 0 15px; }
.card-box {
    position: relative;
    height: 350px;
    padding: 50px 20px 0;
    text-align: center;
    background: #fff;
    box-shadow: 5px 5px 5px rgba(0,0,0,.3);
    transition: all 0.3s;
}
.card-box .num { font-size: 40px; color: #cc5353; font-weight: 700; margin-bottom: 20px; }
.card-box img { max-width: 100%; margin-bottom: 20px; }
.card-box .desc { font-size: 15px; color: #999; }
.card-box:hover { border: 5px solid #cc5353; }

/* ========================================
   메시지 섹션
   ======================================== */
.message-section { padding: 100px 0; text-align: center; }
.message-section .sub { font-size: 15px; color: #999; margin-bottom: 30px; }
.message-section .title { font-size: 40px; color: #53adcc; font-weight: 700; margin-bottom: 50px; line-height: 120%; }
.message-section .desc { font-size: 20px; line-height: 150%; }

/* ========================================
   연락처 섹션
   ======================================== */
.contact-section { padding: 0 0 100px; }
.contact-box { 
    float: left; 
    width: 41.66%; 
    position: relative; 
    height: 240px; 
    padding: 30px; 
    background: #f4f4f4; 
    overflow: hidden;
}
.contact-box i.bg-icon { position: absolute; right: -30px; bottom: -50px; font-size: 200px; color: #e9e9e9; }
.contact-box .label { display: inline-block; border-bottom: 1px solid #aaa; margin-bottom: 10px; font-size: 18px; color: #666; }
.contact-box .phone { font-size: 40px; font-weight: 700; margin-bottom: 20px; }
.contact-box .time-label { font-size: 18px; color: #666; margin-bottom: 5px; }
.contact-box .time { font-size: 24px; font-weight: 700; }

.quick-menu { float: left; width: 33.33%; }
.quick-item { float: left; width: 50%; height: 120px; padding-top: 15px; text-align: center; color: #fff; transition: all 0.3s; }
.quick-item i { font-size: 60px; margin-bottom: 5px; text-shadow: 3px 3px 3px rgba(0,0,0,.3); }
.quick-item span { display: block; font-size: 18px; }
.quick-item.c1 { background: #ac6767; }
.quick-item.c2 { background: #59b09f; }
.quick-item.c3 { background: #5f7aa3; }
.quick-item.c4 { background: #d89946; }
.quick-item:hover { background: #fff; color: #333; cursor: pointer; }

.notice-box { float: left; width: 25%; height: 240px; padding: 20px; background: #f4f4f4; font-size: 15px; }
.notice-box .header { margin-bottom: 10px; }
.notice-box .header .title { float: left; font-weight: 700; }
.notice-box .header .more { float: right; }
.notice-box .divider { height: 1px; background: #aaa; margin: 10px 0; }
.notice-box .item { font-size: 14px; margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 공지사항 링크 스타일 */
.notice-box a.item {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}
.notice-box a.item:hover {
    color: #53adcc;
    padding-left: 5px;
}

/* ========================================
   푸터
   ======================================== */
.main-footer { background-size: cover !important; background-position: center !important; }
.footer-inner { background: rgba(0,0,0,0.3); padding: 20px 0; }
.footer-left { float: left; width: 50%; }
.footer-logo { padding: 12px 0; text-shadow: 1px 1px 1px rgba(0,0,0,.3); margin-bottom: 20px; }
.footer-logo .en { font-size: 14px; color: #ddd; }
.footer-logo .title span:nth-child(1) { font-size: 24px; font-weight: 700; color: #c0e384; }
.footer-logo .title span:nth-child(2) { font-size: 24px; font-weight: 700; color: #7bc53d; }
.footer-logo .title span:nth-child(3) { font-size: 24px; font-weight: 700; color: #fff; }
.footer-logo .sub { font-size: 14px; color: #ddd; }
.footer-info { font-size: 14px; line-height: 150%; color: #fff; }
.footer-info span { display: inline-block; margin-right: 20px; }
.footer-info .copyright { margin-top: 20px; color: #999; }

.footer-right { float: right; width: 50%; }
.footer-link { float: left; width: 25%; text-align: center; color: #fff; padding: 15px 0; transition: all 0.3s; }
.footer-link i { font-size: 50px; margin-bottom: 10px; display: block; }
.footer-link .t1 { font-size: 14px; }
.footer-link .t2 { font-size: 12px; }
.footer-link:hover { background: #fff; color: #222; }

/* ========================================
   반응형
   ======================================== */
@media (max-width: 991px) {
    .top-info-bar { display: none; }
    .main-menu { display: none; }
    .mobile-menu-btn { display: block; }  /* 모바일에서만 보임 */
    
    /* 슬라이더 */
    .slide-item { height: 400px; padding-top: 130px; }
    .slide-item .text h2 { font-size: 50px; }
    .slide-item .text p { font-size: 20px; }
    
    /* 소개 섹션 */
    .intro-left, .intro-right { float: none; width: 100%; }
    .intro-left { text-align: center; }
    .intro-left .main-title1 { font-size: 24px; }
    .intro-left .main-title2 { font-size: 34px; }
    .intro-icons { display: none; }
    .intro-right .photo { border-radius: 30px; height: 300px; margin-top: 30px; }
    
    /* 카드 */
    .card-item { width: 50%; margin-bottom: 30px; }
    
    /* 연락처 */
    .contact-box { width: 100%; }
    .quick-menu { width: 100%; margin-top: 30px; }
    .quick-item { height: 100px; padding-top: 10px; }
    .quick-item i { font-size: 50px; }
    .quick-item span { font-size: 15px; }
    .notice-box { width: 100%; margin-top: 30px; }
    
    /* 서브 비주얼 */
    .sub-visual { height: auto; padding: 120px 0 70px; background-size: auto 100% !important; }
    .sub-visual .title { position: relative; right: auto; bottom: auto; font-size: 40px; text-align: center; width: 100%; padding: 0 20px; }
    .sub-visual .subtitle { position: relative; right: auto; bottom: auto; font-size: 20px; text-align: center; width: 100%; padding: 0 20px; }
    
    /* 콘텐츠 영역 */
    .content-wrapper { margin-top: 0; }
    .content-wrapper .row { display: block; }
    .sidebar-col { display: none; }
    .content-box { padding: 20px; }
    
    /* 푸터 */
    .footer-left, .footer-right { float: none; width: 100%; padding: 20px; }
    .footer-link { background: #222; }
    .footer-link i { font-size: 30px; }
}

@media (max-width: 767px) {
    .slide-item { height: 300px; padding-top: 100px; background-size: auto 100% !important; }
    .card-item { width: 100%; }
    .card-box { height: auto; padding-bottom: 20px; }
    .card-box .num { font-size: 30px; margin-bottom: 0; margin-right: 10px; display: inline-block; }
    
    .message-section .title { font-size: 24px; }
    .message-section .desc { font-size: 18px; }
}