@charset "utf-8";

.round-btn {transition: box-shadow 0.2s; box-shadow: 0 0 0 0 #2c133345;}
.round-btn:hover {box-shadow: 0 0 0 4px #2c133345;}

/********* 공통 *********/
.inner {width: calc(100% - 100px); max-width: 1723px; margin: 0 auto;}
.inner2 {width: calc(100% - 100px); max-width: 1563px; margin: 0 auto;}
.inner3 {width: calc(100% - 100px); max-width: 1820px; margin-left: auto;}
.inner4 {width: calc(100% - 100px); max-width: 1425px; margin: 0 auto;}
.inner5 {width: calc(100% - 100px); max-width: 1613px; margin: 0 auto;}

/* input 공통 */
#bo_v .bo_w_flie .file_wr,
#bo_w .bo_w_flie .file_wr, .privacy-content,input[type="tel"],input[type="text"],input[type="password"],input[type="email"],input[type="number"] {transition: background-color 0.2s; font-size: 1rem; background-color: #F8F8F8; border: 1px solid #E4E4E4; border-radius: 5px; padding: 0.778rem 1.778rem; box-shadow: unset;}
#bo_v .bo_w_flie .file_wr:has(input[type="file"]:hover),
#bo_w .bo_w_flie .file_wr:has(input[type="file"]:hover), input[type="tel"]:hover,input[type="text"]:hover,input[type="password"]:hover,input[type="email"]:hover,input[type="number"]:hover {background-color: #fff;}
#bo_v .bo_w_flie .file_wr:has(input[type="file"]:focus),
#bo_w .bo_w_flie .file_wr:has(input[type="file"]:focus), input[type="tel"]:focus,input[type="text"]:focus,input[type="password"]:focus,input[type="email"]:focus,input[type="number"]:focus {border: 1px solid #c8c8c8; outline: 0;}
/* input[type="text"]:read-only,input[type="password"]:read-only,textarea:read-only, input[readonly],textarea[readonly],input[disabled],textarea[disabled] {background-color: var(--input-readonly) !important;} */
input[type="submit"] {cursor: pointer;}
.privacy-content,textarea {border: 1px solid #E4E4E4; border-radius: 5px; padding: 0.778rem 1.778rem; box-shadow: unset; width: 100%; height: 230px; resize: none; overflow: auto;}
textarea {transition: background-color 0.2s; font-size: 1rem; background-color: #F8F8F8;}
textarea:hover {background-color: #fff;}
textarea:focus {border: 1px solid #c8c8c8; outline: 0;}
.privacy-content {padding: 16px 18px; font-size: 0.833rem; color: #4B5563; scrollbar-width: auto; scrollbar-color: #4B5563 #fff; --scrollbar-size: 10px;}
.input-list {display: flex; flex-direction: column; width: 100%; row-gap: 26px;}
.input-row {display: flex; align-items: center; column-gap: 13px;}
.input-row > .input-wrap {flex: 1;}
.input-wrap {width: 100%; display: flex; flex-direction: column; row-gap: 12px;}
.input-wrap label {font-size: 0.889rem; color: #4B5563;}
.input-wrap label.required {width: fit-content; display: inline-block; position: relative; padding-right: 10px;}
.input-wrap label.required::after {content: '*'; font-size: 0.889rem; color: #4B5563; position: absolute; top: 0; right: 0;}
.input-list > button[type="submit"]
.input-list > input[type="submit"] {margin-top: 60px;}
.search-wrap {display: flex; align-items: center; column-gap: 24px; }
.search-wrap .select-wrap {width: 130px;}
.search-wrap .custom-select select {height: 40px; padding: 0 10px;}
.search-wrap input {padding: 10px; height: 40px; background-color: #fff;}
.search-wrap button {flex-shrink: 0; height: 40px;}
/* 커스텀 체크박스 */
/* 
    <div class="custom-chk">
        <input type="checkbox" name="" value="" id="">
        <label for=""><span></span><b class="sound_only">전체선택</b></label>
    </div>
*/
.custom-chk {display: flex; align-items: center; gap: 10px; font-size: 0.833rem; color: #4B5563;}
.custom-chk input[type="checkbox"] {display: none;}
.custom-chk label {cursor: pointer; display: flex; align-items: center; gap: 6px;}
.custom-chk label span {border: 1px solid #999; background-size: 60%; background-image: url(../img/check_icon.svg); background-repeat: no-repeat; background-position: center center; display: inline-block; width: 1.111rem; height: 1.111rem; border-radius: 50%; background-color: #fff; position: relative; transition: all 0.2s ease;}
.custom-chk input[type="checkbox"]:checked + label span {border-color: #0059DB; background-color: #0059DB;}
/* 셀렉트박스 */
/* 
    <div class="select-wrap">
        <label for="teacherSelect">Teacher Schedule Overview</label>
        <span class="custom-select">
            <select name="teacher" id="teacherSelect">
                <option value="all">All Teacher</option>
            </select>
        </span>
    </div>
*/
.custom-select {position: relative; width: 100%;}
.custom-select select {width: 100%; border: 1px solid #E4E4E4; background-color: #fff; cursor: pointer; border-radius: 5px; padding: 0 32px; height: 50px; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; outline: none; appearance: none;}
.custom-select select:focus {border: 1px solid #000; transition: all 0.3s;}
.custom-select::after { position: absolute; width: 14px; height: 9px; background: url(../img/select-arrow.svg) no-repeat; top: 50%; right: 12px; transform: translate(0, -50%) rotate(0deg); transition: transform 0.3s ease; display: block; content: '';}
.select-wrap {width: 100%; display: flex; flex-direction: column; row-gap: 10px;}
.select-wrap label {font-size: 18px; font-weight: 600;}
/* 커스텀 라디오박스 */
/*
    <div class="custom-radio">
        <input type="radio" name="ad_sel_addr" id="ad_sel_addr_same" value="same">
        <label for="ad_sel_addr_same">
            주문자와 동일
        </label>
    </div>
*/
.custom-radio {display: flex;  align-items: center; font-size: 0.889rem;}
.custom-radio input[type="radio"] {display: none;}
.custom-radio label {cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 12px 16px; border: 1px solid #D7D7D7; border-radius: 5px; background-color: #F9F9F9; transition: all 0.2s ease; text-align: center;}
.custom-radio label span {display: none;}
.custom-radio label:hover {background-color: #e6e7e9;}
.custom-radio input[type="radio"]:checked + label {background-color: #7b5279; border-color: #7b5279; color: #fff;}
/* 커스텀 데이트피커 */
/* 
    <div class="custom-datetime">
        <input type="date" name="r_date" id="r_date" class="datepicker" placeholder="yyyy-mm-dd" required>
    </div>
*/
.date-input-wrap {position: relative; width: 100%;}
.datepicker {width: 100%; height: 50px; padding: 0 16px; border: 1px solid #E4E4E4; border-radius: 5px; font-size: 1rem; color: #111827; background-color: #fff; outline: none; appearance: none; -webkit-appearance: none; box-sizing: border-box; transition: border-color 0.3s ease;}
.datepicker:focus {border-color: #000;}
.datepicker::-webkit-calendar-picker-indicator {cursor: pointer; background: url('../img/calendar.svg') no-repeat center; background-size: 20px; width: 24px; height: 24px;}
.datepicker::-webkit-datetime-edit-text,
.datepicker::-webkit-datetime-edit-month-field,
.datepicker::-webkit-datetime-edit-day-field,
.datepicker::-webkit-datetime-edit-year-field {color: #636363;}

/* 날짜를 선택했을 때 텍스트 색상을 진하게 변경 */
.datepicker:valid::-webkit-datetime-edit-text,
.datepicker:valid::-webkit-datetime-edit-month-field,
.datepicker:valid::-webkit-datetime-edit-day-field,
.datepicker:valid::-webkit-datetime-edit-year-field {
    color: #333;
}
/* 말풍선 */
.bubble::after {content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 15px solid #000;}
/* 흐르는 텍스트 */
.marquee{width: 100%; overflow: hidden; white-space: nowrap;}
.marquee-track{display: inline-flex; align-items: center; gap: 0; will-change: transform; animation: marquee-left 40s linear infinite;}
.marquee-item{ display: inline-block; padding-right: 2.5rem;}
@keyframes marquee-left{0%   { transform: translateX(0); } 100% { transform: translateX(-50%); }}
@media (prefers-reduced-motion: reduce){.marquee-track{ animation: none; }}
/* 라벨 및 버튼 */
.label {white-space: nowrap; width: fit-content; transition: background-color 0.2s; padding: 6px 14px; border-radius: 30px; font-size: 0.722rem; font-weight: 400; color: #fff; background-color: #A9A9A9;}
.label.big {padding: 10px 10px; font-size: 1.111rem;}
.label.big2 {padding: 14px 10px; font-size: 1rem;}
.label.mid {padding: 6px 20px; font-size: 1rem;}
.label.mid2 {padding: 8px 20px; font-size: 1.111rem;}
.label.mid3 {padding: 8px 10px; font-size: 0.833rem !important; border-radius: 5px;}
.label.hero {padding: 4px 10px; font-size: 1.222rem;}
.round-btn {width: fit-content; white-space: nowrap; padding: 10px 20px; border-radius: 30px; display: flex; align-items: center; column-gap: 10px; background-color: #A9A9A9; color: #fff; font-size: 0.889rem; font-weight: 400;}
.more-btn svg {transition: transform 0.2s;}
.more-btn:hover svg {transform: translateX(5px);}
.square-label {width: fit-content; padding: 0.556rem; border-radius: 5px; background-color: gray; color: #fff; font-size: 0.889rem; font-weight: 600; display: flex; align-items: center; justify-content: center; column-gap: 10px;}
.square-label.big {padding: 0.556rem 0.944rem;}
p.desc{font-size: 1.333rem; color: #fff; padding: 0.444rem 1.111rem; word-break: keep-all; text-align: center;}
p.desc.min {font-size: 1.111rem;}
/* 색상 */
.bg-main-graient {background: #2C1333; background: linear-gradient(90deg,rgba(44, 19, 51, 1) 0%, rgba(122, 74, 110, 1) 100%);}
.bg-main {background-color: #2C1333;}
.bg-sub {background-color: #7A4A6E; color: #fff;}
.bg-sub2 {background-color: #E6D9E3; color: #111827;}
.bg-sub3 {background-color: #B89BB1; color: #fff !important;}
.bg-gray {background-color: #F6F5F5; color: #111827;}
.bg-gray2 {background-color: #9CA3AF; color: #fff !important;}
.bg-gray3 {background-color: #F4F4F4; color: #515151;}
.bg-white {background-color: #fff; color: #111827;}
.bg-black {background-color: #111827; color: #fff;}
.round-btn.bg-main:hover {background-color: #3A1A44;}
.bg-orange {background-color: #F06E00;}
.bg-gold {background-color: #D1A62C;}
.bg-green {background-color: #00B71B;}
.bg-skyblue {background-color: #5BA5FF;}
.bg-skyblue2 {background-color: #EAF5FF; color: #212121;}
.bg-blue {background-color: #0069E9;}
.line-gray {border: 1px solid #c8c8c8;}
.line-gray2 {border: 1px solid #9CA3AF;}
.line-sub2 {border: 1px solid #B89BB1;}
.line-sub2.bg-white {color: #B89BB1;}
.disabled {color: #c8c8c8; pointer-events: none;}
.color-sub {color: #7A4A6E;}
.color-blue {color: #287CFF;}
/********* 헤더 *********/
#hd {width: 100%; background-color: #fff; transition: background-color 0.2s;}
#hd.scroll {position: fixed; top: 0; left: 0; background-color: rgba(255, 255, 255, 0.2); z-index: 99999; backdrop-filter: blur(3px);}
#hd.scroll:hover {background-color: #fff;}
#hd.gnb-open,
#hd.scroll.gnb-open {background-color: #2c1333;}
#hd.gnb-open #hd_wrapper #logo img,
#hd.gnb-open #hd_wrapper #gnb_1dul,
#hd.gnb-open #hd_wrapper .auth-links,
#hd.gnb-open #hd_wrapper .btn-hamburger {filter: invert(1) grayscale(1);}
#hd_wrapper {height: 74px; display: flex; align-items: center; justify-content: space-between;}
#hd_wrapper #logo img {height: 1.83rem;}
#hd_wrapper.scroll {}
#hd_wrapper .left {height: 100%; display: flex; align-items: center; column-gap: 50px;}
#hd_wrapper .right {display: flex; align-items: center; column-gap: 30px;}
#hd_wrapper .auth-links {display: flex; align-items: center; column-gap: 30px;}
#hd_wrapper .auth-links a {font-size: 0.944rem; color: #505050;}
#hd_wrapper .auth-links a svg {display: none;}
#hd_wrapper .lang-select {position: relative; display: flex; align-items: center; justify-content: center;}
#hd_wrapper .lang-select .lang-list {display: none; flex-direction: column; row-gap: 20px; z-index: 10000; position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);}
#hd_wrapper .lang-select .lang-list.open {display: flex;}
#hd_wrapper .lang-select img {width: 1.94rem; height: 1.94rem;}
#hd_wrapper .btn-hamburger {width: 2.22rem; height: 2.22rem; display: flex; align-items: center; justify-content: center;}
#hd_wrapper .btn-hamburger .icon-open {width: 2.22rem; height: 2.22rem;}
#hd_wrapper .btn-hamburger .icon-close { display: none; max-width: 2.22rem; max-height: 2.22rem;}
.gnb-open #hd_wrapper .btn-hamburger .icon-open  { display: none; }
.gnb-open #hd_wrapper .btn-hamburger .icon-close { display: block; }
#hd_wrapper #gnb {height: 100%; width: fit-content; margin: 0 auto; border-radius: 100px;}
#gnb .gnb_wrap {width: 100%; height: 100%;}
#hd_wrapper + #logo {padding-top: 58px;}
#hd_wrapper + #logo a{padding: 24px 0 20px; max-width: 1000px; margin: 0 auto; display: flex; align-items: center; justify-content: center;}
#hd_wrapper + #logo a svg {width: 100%; transition: filter 0.2s;}
#hd_wrapper + #logo a svg path {transition: fill 0.2s;}
#hd_wrapper:has(.gnb_al_li_plus:hover) + #logo a svg path {fill: #DADADA;}
/* 상위메뉴 */
#hd_wrapper #gnb_1dul {height: 100%; display: flex; align-items: center; column-gap: 34px;}
#gnb_1dul .gnb_1dli,.gnb_al_li_plus .gnb_1da{height: 100%;}
.gnb_1dli:not(.gnb_al_li_plus) {display: flex; align-items: center; justify-content: center;}
#gnb_1dul .gnb_1da {display: flex; align-items: center; justify-content: center; white-space: nowrap; font-size: 0.944rem;}
/* 하위메뉴 */
#gnb_1dul .gnb_2dul {position: fixed; top: 74px; width: 100%; background-color: #fff; padding: 30px 364px; box-shadow: 0 4px 4px rgba(160, 160, 160, 0.2);}
#gnb_1dul .gnb_2dul .gnb_about_title,
#gnb_1dul .gnb_2dul:has(.gnb_3dul) .gnb_2da {font-size: 1rem; font-weight: 600; margin-bottom: 10px; pointer-events: none;}
#gnb_1dul .gnb_2dul .gnb_about_title,
#gnb_1dul .gnb_2dul_box {text-align: center; width: fit-content;}
#gnb_1dul .gnb_2dul_box:has(.gnb_3dul) {display: flex; align-items: flex-start; column-gap: 80px;}
#gnb_1dul .gnb_3dul {display: flex; flex-direction: column; align-items: center;}
#gnb_1dul .gnb_3dli {width: 100%;}
#gnb_1dul .gnb_2dul_box:not(:has(.gnb_3dul)) .gnb_2da,
#gnb_1dul .gnb_3da {width: 100%; padding: 10px 3px; font-size: 0.944rem; color: #575757; background-color: transparent; transition: background-color 0.2s;}
#gnb_1dul .gnb_2dul_box:not(:has(.gnb_3dul)) .gnb_2da:hover,
#gnb_1dul .gnb_3da:hover {background-color: #E6D9E3; color: #1C1C1C;}
/* .gnb_2dul .gnb_2dul_box  {display: flex; flex-direction: column; row-gap: 6px;}
.gnb_2da {}
.gnb_2da:hover {background-color: #585858;} */
/* 전체메뉴 */
html:has(.gnb-open),
body:has(.gnb-open) {overflow: hidden;}
#hd_wrapper #gnb .gnb_mnal {display: none;}
#gnb_all {color: #fff; display: none; padding-top: 50px; z-index: 999; position: fixed; top: 74px; right: 0; background-color: #2C1333; width: 100%; height: calc(100dvh - 74px);}
#gnb_all_bg {display: none; z-index: 888; position: fixed; top: 74px; right: 0; background-color: rgba(0, 0, 0, 0.4); width: 100%; height: calc(100dvh - 74px);}
.gnb_al_ul {row-gap: 50px; scrollbar-color: #E6D9E3 #2C1333; --scrollbar-size: 6px; overflow-y: auto; padding-bottom: 54px; height: calc(100% - 37px - 52px); display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-start;}
.gnb_al_li {width: calc(100% / 5); display: flex; flex-direction: column; align-items: center;}
.gnb_al_li > ul {width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center;}
#gnb_all h2 {text-align: center; font-size: 2.222rem; font-weight: 600; color: #fff; margin-bottom: 37px;}
#gnb_all .gnb_3dul {display: none;}
#gnb_all .gnb_all_2dli.is-open > .gnb_3dul {display: block;}
#gnb_all .gnb_all_2dli.has-3depth > .gnb_all_2da{cursor: pointer;}
.gnb_al_a {width: 100%; max-width: 180px; display: flex; align-items: center; justify-content: center; column-gap: 10px; padding: 15px 30px; border-radius: 50px; background-color: #fff; font-size: 0.944rem; color: #000; font-weight: 500; margin-bottom: 10px;}
.has-3depth .gnb_all_2da {padding: 10px; display: flex; align-items: center; justify-content: center; column-gap: 10px;}
.gnb_all_2dli .gnb_all_2da svg {transition: transform 0.2s;}
.gnb_all_2dli.is-open .gnb_all_2da svg {transform: rotate(180deg);}
.gnb_all_2dli .gnb_all_2da,
.gnb_all_2dli .gnb_3da {width: 100%; padding: 10px; font-size: 0.8889rem; color: #E3E3E3;}
/********* 푸터 *********/
#ft { background:#18121D; }
#ft_wr {padding:60px 0; display:flex; justify-content:space-between; align-items:stretch; gap:60px;}
#ft_wr.mo {display: none;}
#ft_wr .left{ min-width:280px; }
#ft_wr .ft-logo img{width: 10.17rem;}
#ft_wr .ft-sns{display:flex; align-items:center; gap: 1.11rem; margin-top:28px;}
#ft_wr .ft-sns img{width: 2.22rem; height: 2.22rem;}
#ft_wr .right{min-height: 240px; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; flex:1; text-align:right; color:#fff;}
#ft_wr .ft-topline{display: flex; align-items: center; column-gap: 5px; flex-wrap: wrap; justify-content: flex-end;}
#ft_wr .ft-topline span {font-size:1.11rem; white-space: nowrap;}
#ft_wr .ft-copy{margin-top:36px; font-size:1.11rem;}
#ft_wr .ft-copy .design{margin-top: 8px;}
#ft_wr .ft-links{display: flex; align-items: center; gap: 5px; flex-wrap: wrap; justify-content: flex-end;}
#ft_wr .ft-links a,
#ft_wr .ft-links span {font-size:1.11rem; white-space: nowrap;}

@media screen and (min-width: 1921px) {
    .inner, .inner3 {max-width: 1920px; margin: 0 auto;}
    .inner2 {max-width: 1720px;}
}

@media screen and (max-width: 1600px) {
    #hd_wrapper .left {column-gap: 0;}
    #hd_wrapper #gnb_1dul {display: none;}
}

@media screen and (max-width: 1280px) {
    .inner, .inner2, .inner3 {width: calc(100% - 80px);}
    .search-wrap {column-gap: 16px;}
}

@media screen and (max-width: 1024px) {
    .gnb_al_li {width: calc(100% / 4);}
    #ft_wr.pc {display: none;}
    #ft_wr.mo {display: flex; flex-direction: column; row-gap: 40px; align-items: center;}
    #ft_wr.mo .mid {color: #fff; display: flex; flex-direction: column; row-gap: 20px;}
    #ft_wr .ft-links {justify-content: center; opacity: 0.8;}
    #ft_wr .ft-topline {display: inline-block; text-align: center;}
    #ft_wr .ft-topline span {font-size:1rem; display: inline; white-space: unset; word-break: keep-all;}
    #ft_wr .ft-topline .sep {padding: 0 5px;}
    #ft_wr .ft-copy {font-size: 0.875rem; text-align: center; opacity: 0.6;}
}

@media screen and (max-width: 850px) {
    .gnb_al_li {width: calc(100% / 3);}
}

@media screen and (max-width: 768px) {
    #hd_wrapper {height: 60px;}
    #gnb_all,
    #gnb_all_bg {top: 60px; height: calc(100dvh - 60px);}
    .inner, .inner2, .inner3, .inner4, .inner5 {width: calc(100% - 64px);}
    .inner3 {margin: 0 auto;}
}

@media screen and (max-width: 650px) {
    .gnb_al_li {width: calc(100% / 2);}
}

@media screen and (max-width: 600px) {
    #hd_wrapper #logo img {width: 150px; object-fit: contain;}
    #hd_wrapper .right,
    #hd_wrapper .auth-links {column-gap: 15px;}
    #hd_wrapper .auth-links a {font-size: 0.875rem;}
    .search-wrap {column-gap: 10px;}
}

@media screen and (max-width: 480px) {
    #hd_wrapper {height: 50px;}
    #gnb_all,
    #gnb_all_bg {top: 50px; height: calc(100dvh - 50px);}
    #hd_wrapper #logo img {width: 130px;}
    #hd_wrapper .right,
    #hd_wrapper .auth-links {column-gap: 10px;}
    .inner,.inner2, .inner3, .inner4 {width: calc(100% - 32px);}
    .gnb_al_a {max-width: 156px;}
    #ft_wr .ft-links .sep {display: none;}
}

@media screen and (max-width: 375px) {
    .inner,.inner2, .inner3, .inner4, .inner5 {width: calc(100% - 20px);}
    .gnb_al_li {width: 100%;}
}