@charset "utf-8";

.welcomeXE_W01 {
    padding-top: 10px;
    font-family: Raleway, NanumBarunGothic, Malgun Gothic, Dotum, Apple SD Gothic Neo, AppleGothic, Helvetica, sans-serif;
}
.content + .welcomeXE_W01 {
    padding-top: 0;
}
.welcomeXE_W01 section {
    width: 1200px;
    margin: 0 auto
}
.welcomeXE_W01 .tit {
    padding-bottom: 32px;
    font-size: 32px;
    color: #222222;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 50px
}
.welcomeXE_W01 .noti {
    display: block;
    padding: 28px 0 0;
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: bold;
    color: #1a73e8;
    letter-spacing: 1px;
    line-height: 20px
}
.welcomeXE_W01 .intro {
    width: 408px;
    height: 450px;
    padding-right: 792px;
/*    background: url(../img/intro1.png) 100% 100% no-repeat */
}
.welcomeXE_W01 .intro .cont {
    padding-bottom: 37px;
    font-size: 13px;
    font-weight: 400;
    color: #888888;
    line-height: 27px
}
.welcomeXE_W01 .intro .btn_start {
    display: inline-block;
    margin: 50px 0;
    padding: 0 27px;
    height: 40px;
    border: 2px solid #1a73e8;
    background-color: #fff;
    font-size: 12px;
    line-height: 40px;
    letter-spacing: 1px;
    color: #1a73e8;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out
}
.welcomeXE_W01 .intro .btn_start:hover,
.welcomeXE_W01 .intro .btn_start:active
.welcomeXE_W01 .intro .btn_start:focus {
    background-color: #1a73e8;
    color: #fff
}
.bg-holder {
    background-image: url('../img/bg_stat.jpg');
}
/* section.xeicon */
.welcomeXE_W01 .xeicon {
    overflow: hidden;
    position: static;
    width: 100%;
    margin: 0;
    height: 100%;
}
.welcomeXE_W01 .xeicon h1 {
    margin-top: 170px;
    font-size: 32px;
    color: #f5f5f5;
    text-align: center;
    letter-spacing: 3px;
    font-weight: 400;
    line-height: 1.2em;
    text-transform: uppercase;
}
.welcomeXE_W01 .xeicon h1 a {
    color: #fff;
}
.welcomeXE_W01 .xeicon .button-area {
    text-align: center;
    margin-bottom: 140px;
}
.welcomeXE_W01 .xeicon .button-area .btn_item {
    font-size: 12px;
    letter-spacing: 2px;
}
/* section.guide */
.welcomeXE_W01 .guide {
    height: 600px;
    padding-top: 80px
}
.welcomeXE_W01 .guide ul {
    padding-top: 27px
}
.welcomeXE_W01 .guide li {
    position: relative;
    float: left;
    width: 314px;
    min-height: 140px;
    padding: 0 0 0 70px;
    margin: 0 0 30px 0
}
.welcomeXE_W01 .guide h2 {
    padding: 7px 24px 13px 0;
    font-size: 15px;
    font-weight: normal;
    line-height: 23px;
    color: #222222
}
.welcomeXE_W01 .guide p {
    padding: 0 24px 0 0;
    font-size: 12px;
    line-height: 26px;
    color: #888888
}
.welcomeXE_W01 .guide .ico {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    border-radius: 100%;
    background-color: #555555;
    font-size: 19px;
    text-align: center;
    line-height: 50px;
    color: #f5f5f5
}
.welcomeXE_W01 .guide .ico:hover,
.welcomeXE_W01 .guide .ico:active,
.welcomeXE_W01 .guide .ico:focus {
    background-color: #1a73e8
}
.welcomeXE_W01 .guide p a {
    color: #222222
}
.welcomeXE_W01 .guide p a:hover,
.welcomeXE_W01 .guide p a:active,
.welcomeXE_W01 .guide p a:focus {
    color: #1a73e8;
    border-bottom: 1px solid #1a73e8
}
/*section.connect*/
.welcomeXE_W01 .connect {
    height: 344px;
}
.welcomeXE_W01 .connect ul {
    overflow: hidden;
    padding: 40px 0
}
.welcomeXE_W01 .connect li {
    position: relative;
    float: left;
    width: 180px;
    margin-left: 24px;
    padding: 4px 0 0 102px;
    min-height: 78px
}
.welcomeXE_W01 .connect li:first-child {
    margin-left: 0
}
.welcomeXE_W01 .connect .ico {
    position: absolute;
    top: 0;
    left: 0;
    width: 78px;
    height: 78px;
    border-radius: 100%;
    background-color: #1a73e8;
    text-align: center;
    font-size: 32px;
    color: #fff
}
.welcomeXE_W01 .connect .ico:hover,
.welcomeXE_W01 .connect .ico:active,
.welcomeXE_W01 .connect .ico:focus {
    background-color: #555555
}
.welcomeXE_W01 .connect .ico i {
    line-height: 78px
}
.welcomeXE_W01 .connect h2 {
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 18px;
    color: #222222
}
.welcomeXE_W01 .connect p {
    font-size: 12px;
    color: #888888;
    line-height: 21px
}
@media all and (max-width: 479px) {
    .welcomeXE_W01 {
        padding-top: 0
    }
    .welcomeXE_W01 section {
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    .welcomeXE_W01 .tit {
        padding-bottom: 16px;
        font-size: 24px;
        color: #222222;
        font-weight: 700;
        letter-spacing: 1px;
        line-height: 40px
    }
    .welcomeXE_W01 .intro {
        width: 100%;
        box-sizing: border-box;
        padding: 0 14px;
        height: auto;
        background: #fff;
    }
    .welcomeXE_W01 .intro .cont {
        padding-bottom: 17px;
    }
    .welcomeXE_W01 .intro .btn_start {
        margin: 20px 0 50px 0;
    }
    .welcomeXE_W01 .xeicon {
        height: auto;
    }
    .welcomeXE_W01 .xeicon h1 {
        margin-top: 70px;
    }
    .welcomeXE_W01 .xeicon .button-area {
        margin-bottom: 50px;
    }
    .welcomeXE_W01 .xeicon .button-area .btn_item {
        font-size: 12px;
        letter-spacing: 2px;
        margin: 20px 0;
    }
    .welcomeXE_W01 .xeicon {
        background-position: 0 0;
        background-attachment: inherit;
    }
    .welcomeXE_W01 .guide {
        padding: 0 14px;
        height: auto;
        padding-top: 40px
    }
    .welcomeXE_W01 .guide li {
        width: auto;
        margin: 0 0 20px 0;
    }
    .welcomeXE_W01 .features {
        padding: 40px 14px 0 14px;
        height: auto;
    }
    .welcomeXE_W01 .features .noti,
    .welcomeXE_W01 .features .tit,
    .welcomeXE_W01 .features .cont {
        width: 100%;
        margin-left: auto;
        margin-right: auto
    }
    .welcomeXE_W01 .features ul {
        padding: 0;
    }
    .welcomeXE_W01 .features li {
        clear: both;
        width: 100%;
        height: auto;
        margin: 0 0 20px 0;
    }
    .welcomeXE_W01 .features li .fe_box {
        margin: 0;
        padding: 20px;
        border: 1px solid #222222;
        background-color: #1a73e8;
        position: relative;
        height: auto;
        text-align: left;
    }
    .welcomeXE_W01 .features .fe_box .ico {
        display: inline-block;
        width: 70px;
        position: absolute;
        top: 0;
        left: 0;
        height: 70px;
        margin: 0;
        background-color: #f5f5f5;
        background: url(../img/sp_feature.png) 0 -70px no-repeat;
        text-align: center;
        font-size: 17px;
        line-height: 70px;
        text-align: left;
    }
    .welcomeXE_W01 .features .fe_box h2 {
        color: #f5f5f5;
        font-weight: normal;
        padding-left: 80px
    }
    .welcomeXE_W01 .features .fe_box a {
        height: 30px;
        padding: 0 20px;
        line-height: 30px;
        float: right;
    }
    .welcomeXE_W01 .features .fe_bottom {
        padding-left: 80px;
        overflow: hidden;
        position: static;
    }
    .welcomeXE_W01 .features .fe_box p {
        margin-bottom: 40px;
        margin-top: 10px;
        font-size: 12px;
        line-height: 20px;
    }
    .welcomeXE_W01 .features .fe_box .ico2 {
        background-position: -70px -70px
    }
    .welcomeXE_W01 .features .fe_box .ico3 {
        background-position: -140px -70px
    }
    .welcomeXE_W01 .features .fe_box .ico4 {
        background-position: -210px -70px
    }
    .welcomeXE_W01 .features .fe_box.on .fe_top {
        top: 0
    }
    .welcomeXE_W01 .features .fe_box.on .fe_bottom {
        top: 0
    }
    .welcomeXE_W01 .connect {
        height: auto;
        padding: 80px 14px 0 14px;
    }
    .welcomeXE_W01 .connect ul {
        padding-top: 0;
    }
    .welcomeXE_W01 .connect li {
        margin-left: 0;
        width: auto;
        min-height: 78px;
        margin-bottom: 20px;
    }

}

/* ============================================================
   카드형 디자인 - 일반 방문자 화면(.xe-widget-wrapper)에만 적용.
   관리자 "페이지 수정" 편집모드(widgetOutput)는 이 스코프 밖이라 전혀 영향
   없음 - 편집할 때는 항상 원본 그대로 나온다.

   데스크톱/모바일 모두 aspect-ratio로 비율을 통일 - width만 화면 크기에
   맞게 바뀌고, height는 항상 그 비율에 맞게 자동 계산된다.
   ============================================================ */
.xe-widget-wrapper:has(.welcomeXE_W01) .welcomeXE_W01 {
    height: 100% !important;
    display: block !important;
    padding-top: 0 !important;
}
.xe-widget-wrapper:has(.welcomeXE_W01) > div {
    height: 100% !important;
}
.xe-widget-wrapper:has(.welcomeXE_W01) .welcomeXE_W01 section.intro {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    background: none !important;
    background-color: #f5f5f5 !important;
    border: 1px solid #ddd !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.08) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
}
/* 사진 - 편집기에서 실제로 첨부한 <img> 태그를 그대로 사용한다 (CSS
   background-image로 강제 지정하던 이전 방식은 완전히 뺐다: 비율 계산이나
   ::before 트릭 없이, 그냥 "폭 100%, 높이 auto"만 걸면 브라우저가 알아서
   원본 비율 그대로 표시해준다 - 화면 크기가 달라져도 항상 정확한 비율 유지).
   에디터가 이미지를 <p><img></p> 형태로 첫 자리에 넣어주므로, 그 <p>는
   여백을 없애 이미지가 카드 폭 전체를 채우게 한다. */
.xe-widget-wrapper:has(.welcomeXE_W01) .welcomeXE_W01 section.intro > p:has(img) {
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}
.xe-widget-wrapper:has(.welcomeXE_W01) .welcomeXE_W01 section.intro img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
}
.xe-widget-wrapper:has(.welcomeXE_W01) .welcomeXE_W01 section.intro > * {
    padding-left: 16px !important;
    padding-right: 16px !important;
}
.xe-widget-wrapper:has(.welcomeXE_W01) .welcomeXE_W01 section.intro > p:not(:has(.noti)):not(.cont):not(:has(img)) {
    display: block !important;
    font-size: 10.5px !important;
    line-height: 14px !important;
    margin: 3px 0 0 0 !important;
    color: #555 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex-shrink: 0 !important;
}
.xe-widget-wrapper:has(.welcomeXE_W01) .welcomeXE_W01 section.intro .noti {
    display: block !important;
    margin-top: 8px !important;
    font-size: 10.5px !important;
    line-height: 14px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding: 0 16px !important;
    flex-shrink: 0 !important;
}
.xe-widget-wrapper:has(.welcomeXE_W01) .welcomeXE_W01 section.intro h1 {
    margin: 1.5px 0 !important;
    height: 14px !important;
    line-height: 14px !important;
    font-size: 12.5px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}
.xe-widget-wrapper:has(.welcomeXE_W01) .welcomeXE_W01 section.intro h1 strong {
    font-size: 12.5px !important;
    line-height: 14px !important;
}
.xe-widget-wrapper:has(.welcomeXE_W01) .welcomeXE_W01 section.intro p.cont:not(:has(.btn_start)) {
    font-size: 11px !important;
    line-height: 1.35 !important;
    margin-top: 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 30px !important;
    flex-shrink: 0 !important;
}
.xe-widget-wrapper:has(.welcomeXE_W01) .welcomeXE_W01 section.intro p.cont:not(:has(.btn_start)) ~ p.cont:not(:has(.btn_start)) {
    display: none !important;
}
.xe-widget-wrapper:has(.welcomeXE_W01) .welcomeXE_W01 section.intro p.cont:has(.btn_start) {
    position: absolute !important;
    left: 0 !important;
    bottom: 12px !important;
    margin: 0 !important;
}
.xe-widget-wrapper:has(.welcomeXE_W01) .welcomeXE_W01 section.intro .btn_start {
    display: inline-block !important;
    margin: 0 !important;
    font-size: 11px !important;
    padding: 0 12px !important;
    height: 28px !important;
    line-height: 28px !important;
}

/* ---- 컨테이너(그리드 칸) 폭 - 화면 크기별 반응형 (일반 화면만) ----
   height 고정값 대신 aspect-ratio를 써서, 폭이 달라져도(데스크톱 23% vs
   모바일 96%) 카드 비율은 항상 동일하게 유지된다. */
@media (min-width: 480px) {
    .xe-widget-wrapper:has(.welcomeXE_W01) {
        float: left !important;
        width: 31% !important;
        aspect-ratio: 299 / 384 !important;
        height: auto !important;
        margin: 1% !important;
        box-sizing: border-box !important;
    }
}
@media (max-width: 479px) {
    .xe-widget-wrapper:has(.welcomeXE_W01) {
        float: left !important;
        width: 96% !important;
        aspect-ratio: 299 / 384 !important;
        height: auto !important;
        margin: 2% !important;
        box-sizing: border-box !important;
    }
}

/* ============================================================
   편집기(CKEditor) 전용 - 소제목/본문 글자 크기를 편집하기 편한 정도로 축소.

   왜 필요한가: 관리자 "페이지 수정" 화면에서 "⚙ 설정"을 눌러 여는 편집창은
   CKEditor를 쓰는데, 이 편집 영역 자체가 <iframe>이라서 완전히 별도의
   문서다. 이 iframe도 welcome_01.css를 그대로 불러오긴 하지만, 그 안의
   DOM 구조에는 .xe-widget-wrapper가 없다(body에 바로 .welcomeXE_W01이
   붙어있음) - 그래서 위에서 만든 모든 카드 스타일(.xe-widget-wrapper:has(...)
   로 시작하는 규칙들)이 이 편집 화면에는 전혀 안 먹히고, 소제목(h1)이 브라우저
   기본 크기(폰트 26px, 위아래 여백 17px)로 그대로 보였다. 그 상태에서 소제목
   뒤에 Enter를 치면 새 소제목도 똑같이 커서 "간격이 너무 벌어진다"는 문제로
   이어졌다 - Claude in Chrome으로 편집기에 직접 Enter를 쳐서 재현하고 확인함.

   .xe-widget-wrapper 스코프가 없는 이 규칙은 편집 화면(body.editable)에만
   걸리고, 실제 방문자가 보는 카드 디자인에는 전혀 영향을 주지 않는다.
   ============================================================ */
body.editable .welcomeXE_W01 section.intro h1 {
    font-size: 15px !important;
    margin: 6px 0 !important;
    line-height: 1.3 !important;
}
body.editable .welcomeXE_W01 section.intro p.cont,
body.editable .welcomeXE_W01 section.intro p:not(.cont) {
    font-size: 13px !important;
    padding: 0 16px !important;
    margin: 13px 0 0 0 !important;
    line-height: 1.0 !important;
}
body.editable .welcomeXE_W01 section.intro .noti {
    font-size: 12px !important;
}
body.editable .welcomeXE_W01 section.intro .btn_start {
    font-size: 11px !important;
    padding: 0 12px !important;
    height: 28px !important;
    line-height: 28px !important;
}

/* 편집 폭을 실제 카드 폭(약 380px)에 맞춰 좁혀서, 타이핑 중 줄바꿈이 실제
   화면(데스크톱/모바일 카드)과 최대한 비슷하게 보이도록 한다. 이걸 안 하면
   편집기 폭이 브라우저 창 전체(1500px+)라서, 실제로는 두세 줄로 줄바꿈될
   문장이 편집 중엔 한 줄로 길게 보여 "편집 화면과 실제 결과가 다르다"는
   괴리가 생겼다 - Claude in Chrome으로 직접 확인. */
body.editable .welcomeXE_W01 {
    max-width: 380px !important;
    margin: 0 auto !important;
    border-left: 1px dashed #ccc !important;
    border-right: 1px dashed #ccc !important;
}
body.editable .welcomeXE_W01 section.intro {
    width: 100% !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}
body.editable .welcomeXE_W01 section.intro img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* ============================================================
   관리자 "페이지 수정" 개요 화면(dispPageAdminContentModify) 전용 -
   14개 위젯을 3열로 배치한다. (실제 방문자 화면도 3열이라 편집화면과 최대한 비슷하게 맞춤)

   이 화면은 실제로는 각 위젯(.widgetOutput)이 그냥 고정 인라인 스타일
   (float:left; width:...px;)을 갖는 단순 구조였다 - widget 모듈 소스
   (widget.js)를 직접 확인해서 확인함. 실시간 재배치 스크립트가 아니라서,
   폭만 절반으로 줄이면 float:left가 자동으로 다음 위젯을 옆에 배치해준다.
   (이전에 카드 스타일(overflow:hidden, aspect-ratio 등)까지 같이 걸었을
   때 텍스트가 깨졌던 건 폭 문제가 아니라 그 복잡한 스타일들과의 충돌이었음
   - Claude in Chrome으로 순수 폭 33.3%만 걸어서 문제없이 3열이 되는 것을
   직접 확인하고 반영함.)

   일반 방문자 화면(.xe-widget-wrapper)이나 CKEditor 편집창(body.editable)
   에는 전혀 영향 없음 - .widgetOutput 스코프이므로 이 개요 화면에만 적용.
   ============================================================ */
.widgetOutput:has(.welcomeXE_W01) {
    width: 33.3% !important;
    float: left !important;
    box-sizing: border-box !important;
}
