
/* mainCount */
#mainCount { position: relative; overflow: hidden; padding: 50px 0; }
#mainCount .bg { z-index: 1; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url(/image/main/count_bg.jpg) no-repeat center/cover; background-attachment: fixed; }
#mainCount .count_wrap { z-index: 2; position: relative; }
#mainCount .count_wrap ul { display: flex; flex-wrap: nowrap; justify-content: space-between; }
#mainCount .count_wrap ul li { text-align: center; }
#mainCount .count_wrap ul li .iconbox img { display: inline-block; width: 75px; }
#mainCount .count_wrap ul li .text1 { margin-top: 10px; font-weight: 700; font-size: 36px; color: #fff; line-height: 1.3; }
#mainCount .count_wrap ul li .text1 * { font-weight: inherit; font-size: inherit !important; color: inherit; line-height: inherit; }
#mainCount .count_wrap ul li .text2 { font-weight: 500; font-size: 18px; color: #a4c6f4; line-height: 1.3; }
@media (max-width: 1535px) {
    #mainCount .count_wrap ul li .iconbox img { width: calc(40px + 2.2vw); }
    #mainCount .count_wrap ul li .text1 { margin-top: 7px; }
}
@media (max-width: 1279px) {
    #mainCount .count_wrap ul li .iconbox img { width: calc(40px + 2vw); }
    #mainCount .count_wrap ul li .text1 { margin-top: 6px; }
}
@media (max-width: 1023px) {
    #mainCount .count_wrap ul { flex-wrap: wrap; }
    #mainCount .count_wrap ul li { width: 48%; }
    #mainCount .count_wrap ul li:nth-of-type(n + 3) { margin-top: 4%; }
}
@media (max-width: 767px) {
    #mainCount .bg { background-position-x: 30%; }
}

/* mainInfo */
#mainInfo { position: relative; overflow: hidden; padding: 100px 0; }
#mainInfo .bg { z-index: 1; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url(/image/main/info_bg.jpg) no-repeat center/cover; }
#mainInfo .textbox { z-index: 2; position: relative; }
#mainInfo .textbox .text1 { font-weight: 700; font-size: 36px; color: #fff; line-height: 1.3; }
#mainInfo .textbox .text1 br { display: none; }
#mainInfo .textbox .text2 { font-weight: 600; font-size: 20px; color: #8a8a8a; line-height: 1.5; }
#mainInfo .textbox .text3 { margin-top: 50px; font-weight: 700; font-size: 36px; color: #4c9aff; line-height: 1.3; }
#mainInfo .textbox a { position: relative; display: inline-block; overflow: hidden; margin-top: 35px; padding: 20px 35px; text-align: center; font-weight: 600; font-size: 20px; color: #fff; border: 1px solid #8d8d8d; }
#mainInfo .textbox a span { z-index: 2; position: relative; display: inline-block; font-weight: inherit; font-size: inherit !important; color: inherit; }
#mainInfo .textbox a::after { z-index: 1; display: block; content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 100%; background-color: #4c9aff; transition: top 0.3s; }
#mainInfo .textbox a:hover::after { top: 0; }
@media (max-width: 767px) {
    #mainInfo .bg { background-position-x: 70%; filter: brightness(0.5); }
    #mainInfo .textbox .text1 br { display: inline-block; }
    #mainInfo .textbox .text3 br { display: none; }
}

/* mainService */
#mainService { position: relative; overflow: hidden; padding: 120px 0; }
#mainService .bg { z-index: 1; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url(/image/main/service_bg.jpg) no-repeat center/cover; background-attachment: fixed; }
#mainService .text1 { z-index: 2; position: relative; padding-bottom: 50px; text-align: center; font-family: 'SCDream', serif; font-weight: 600; font-size: 35px; color: #fff; line-height: 1.35; letter-spacing: -0.05em; }
#mainService .text1 br { display: none; }

#mainService .contents { z-index: 3; position: relative; display: flex; flex-wrap: wrap; margin: -6px; }
#mainService .contents > li { width: 25%; padding: 6px; }
#mainService .contents > li > a { transition: box-shadow 0.3s; display: block; height: 100%; padding: 30px 15px; text-align: center; border-radius: 15px; border: 1px solid #6e77a3; overflow: hidden; cursor: default; }
#mainService .contents > li > a .top { transition: color 0.3s; font-weight: 600; font-size: 25px; color: #fff; letter-spacing: -0.05em; }
#mainService .contents > li > a .mid { transition: background-color 0.3s; margin: 15px 0; display: inline-flex; flex-wrap: nowrap; align-items: center; justify-content: center; width: 95px; aspect-ratio: 1/1; border-radius: 50%; background-color: #7378bf; }
#mainService .contents > li > a .mid img { width: 62px; transform-origin: center; transition: transform 0.3s; }
#mainService .contents > li > a:hover .mid img { transform: rotateY(180deg); }
#mainService .contents > li > a .bottom { transition: color 0.3s; font-weight: 500; font-size: 18px; color: #fff; line-height: 1.55; }

#mainService .contents > li.ver2 > a { background-color: #fff; border: 1px solid #fff; }
#mainService .contents > li.ver2 > a .top { color: #181d62; }
#mainService .contents > li.ver2 > a .mid { background-color: #181d62; }
#mainService .contents > li.ver2 > a .bottom { color: #6e6e6e; }

#mainService .contents > li:last-of-type { display: none; }
#mainService .contents > li:last-of-type > a { display: flex; align-items: center; justify-content: center; }

#mainService .contents > li > a:hover { box-shadow: 0 0 5px #eee; }
#mainService .contents > li.ver2 > a:hover { box-shadow: 0 0 12px #000; }
/* #mainService .contents > li > a:hover { background-color: rgba(255, 255, 255, 0.5); border: 1px solid rgba(255, 255, 255, 0.5); }
#mainService .contents > li > a:hover .top { color: rgba(24, 57, 98, 0.5);; }
#mainService .contents > li > a:hover .mid { background-color: rgba(24, 57, 98, 0.5); }
#mainService .contents > li > a:hover .bottom { color: rgba(110, 110, 110, 0.5); }
#mainService .contents > li.ver2 > a:hover { background-color: transparent; border: 1px solid rgba(110, 119, 163, 0.5); }
#mainService .contents > li.ver2 > a:hover .top { color: rgba(255, 255, 255, 0.5); }
#mainService .contents > li.ver2 > a:hover .mid { background-color: rgba(115, 120, 191, 0.5); }
#mainService .contents > li.ver2 > a:hover .bottom { color: rgba(255, 255, 255, 0.5); } */

@media (max-width: 1535px) {
    #mainService .contents > li > a { padding: 25px 13px; border-radius: 13px; }
    #mainService .contents > li > a .mid { width: 85px; }
    #mainService .contents > li > a .mid img { width: 55px; }
}
@media (max-width: 1279px) {
    #mainService .contents > li > a { padding: 20px 7px; border-radius: 11px; }
    #mainService .contents > li > a .mid { width: 75px; }
    #mainService .contents > li > a .mid img { width: 48px; }
}
@media (max-width: 1023px) {
    #mainService .contents > li { width: 33.3333%; }

    #mainService .contents > li.ver2 > a { background-color: transparent; border: 1px solid #6e77a3; }
    #mainService .contents > li.ver2 > a .top { color: #fff; }
    #mainService .contents > li.ver2 > a .mid { background-color: #7378bf; }
    #mainService .contents > li.ver2 > a .bottom { color: #fff; }

    #mainService .contents > li:nth-of-type(2n) > a { background-color: #fff; border: 1px solid #fff; }
    #mainService .contents > li:nth-of-type(2n) > a .top { color: #181d62; }
    #mainService .contents > li:nth-of-type(2n) > a .mid { background-color: #181d62; }
    #mainService .contents > li:nth-of-type(2n) > a .bottom { color: #6e6e6e; }

    /* #mainService .contents > li > a:hover { box-shadow: initial; }
    #mainService .contents > li.ver2 > a:hover { box-shadow: initial; } */

    #mainService .contents > li.ver2 > a:hover { box-shadow: 0 0 5px #eee; }
    #mainService .contents > li:nth-of-type(2n) > a:hover { box-shadow: 0 0 7px #000; }

    #mainService .contents > li:last-of-type { display: block; }
}
@media (max-width: 767px) {
    #mainService .text1 br { display: inline-block; }

    #mainService .contents { justify-content: space-between; margin: initial; }
    #mainService .contents > li { width: 48%; padding: initial; }
    #mainService .contents > li:nth-of-type(n + 3) { margin-top: 4%; }

    #mainService .contents > li > a .mid { width: 65px; }
    #mainService .contents > li > a .mid img { width: 42px; }
    #mainService .contents > li > a .bottom br { display: none; }

    #mainService .contents > li:nth-of-type(2n) > a { background-color: transparent; border: 1px solid #6e77a3; }
    #mainService .contents > li:nth-of-type(2n) > a .top { color: #fff; }
    #mainService .contents > li:nth-of-type(2n) > a .mid { background-color: #7378bf; }
    #mainService .contents > li:nth-of-type(2n) > a .bottom { color: #fff; }

    #mainService .contents > li.ver3 > a { background-color: #fff; border: 1px solid #fff; }
    #mainService .contents > li.ver3 > a .top { color: #181d62; }
    #mainService .contents > li.ver3 > a .mid { background-color: #181d62; }
    #mainService .contents > li.ver3 > a .bottom { color: #6e6e6e; }

    #mainService .contents > li:last-of-type { display: none; }

    /* #mainService .contents > li.ver2 > a:hover { box-shadow: initial; }
    #mainService .contents > li:nth-of-type(2n) > a:hover { box-shadow: initial; } */
    
    #mainService .contents > li:nth-of-type(2n) > a:hover { box-shadow: 0 0 5px #eee; }
    #mainService .contents > li.ver3 > a:hover { box-shadow: 0 0 5px #000; }
}
@media (max-width: 424px) {
    #mainService .contents { display: block; }
    #mainService .contents > li { width: 100%; }
    #mainService .contents > li:nth-of-type(n + 3) { margin-top: initial; }
    #mainService .contents > li:nth-of-type(n + 2) { margin-top: 20px; }

    #mainService .contents > li.ver3 > a { background-color: transparent; border: 1px solid #6e77a3; }
    #mainService .contents > li.ver3 > a .top { color: #fff; }
    #mainService .contents > li.ver3 > a .mid { background-color: #7378bf; }
    #mainService .contents > li.ver3 > a .bottom { color: #fff; }

    #mainService .contents > li:nth-of-type(2n) > a { background-color: #fff; border: 1px solid #fff; }
    #mainService .contents > li:nth-of-type(2n) > a .top { color: #181d62; }
    #mainService .contents > li:nth-of-type(2n) > a .mid { background-color: #181d62; }
    #mainService .contents > li:nth-of-type(2n) > a .bottom { color: #6e6e6e; }

    #mainService .contents > li:nth-of-type(2n) > a:hover { box-shadow: initial; }
    #mainService .contents > li.ver3 > a:hover { box-shadow: initial; }

    #mainService .contents > li.ver3 > a:hover { box-shadow: 0 0 5px #eee; }
    #mainService .contents > li:nth-of-type(2n) > a:hover { box-shadow: 0 0 5px #000; }
}

/* mainRoll */
#mainRoll { position: relative; overflow: hidden; padding: 90px 0; }
#mainRoll .text1 { z-index: 2; position: relative; padding-bottom: 50px; text-align: center; font-family: 'SCDream', serif; font-weight: 600; font-size: 35px; color: #000; line-height: 1.35; letter-spacing: -0.05em; }

/* mainInquiry */
#mainInquiry { position: relative; overflow: hidden; padding: 80px 0; }
#mainInquiry .bg { z-index: 1; position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-wrap: nowrap; }
#mainInquiry .bg  li { width: 50%; height: 100%; }
#mainInquiry .bg  li:first-of-type { background: url(/image/main/inquiry_bg1.jpg) no-repeat center/cover; }
#mainInquiry .bg  li:last-of-type { background: url(/image/main/inquiry_bg2.jpg) no-repeat center/cover; }
#mainInquiry .contwrap { z-index: 2; position: relative; }
#mainInquiry .contents { display: flex; flex-wrap: nowrap; justify-content: space-between; }
#mainInquiry .contents > li { position: relative; width: 47%; }
@media (max-width: 1535px) {
    #mainInquiry { padding: 60px 0; }
}
@media (max-width: 1279px) {
    #mainInquiry { padding: 40px 0; }
}
@media (max-width: 1023px) {
    #mainInquiry { padding: 0; }
    #mainInquiry .contwrap { width: 100%; max-width: 100%; }
    #mainInquiry .bg { display: none; }
    #mainInquiry .contents { display: block; }
    #mainInquiry .contents > li { width: 100%; padding: 40px; }
    #mainInquiry .contents > li:first-of-type { background: url(/image/main/inquiry_bg1.jpg) no-repeat center/cover; }
    #mainInquiry .contents > li:last-of-type { background: url(/image/main/inquiry_bg2.jpg) no-repeat center/cover; }
}
@media (max-width: 767px) {
    #mainInquiry .contents > li { padding: 30px; }
}
@media (max-width: 460px) {
    #mainInquiry .contents > li { padding: 30px 20px; }
}

/* mainContact */
#mainContact { position: relative; overflow: hidden; padding: 30px 0; }
#mainContact .bg { z-index: 1; position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-wrap: nowrap; }
#mainContact .bg  li { width: 50%; height: 100%; }
#mainContact .bg  li:first-of-type { background: url(/image/main/contact_bg1.jpg) no-repeat center/cover; }
#mainContact .bg  li:last-of-type { background-color: #2d2d2d; }
#mainContact .contwrap { z-index: 2; position: relative; }
#mainContact .contents { display: flex; flex-wrap: nowrap; }
#mainContact .contents > li { position: relative; width: 50%; }

#mainContact .contents .textbox { position: relative; top: 50%; transform: translateY(-50%); padding-right: 30px; }
#mainContact .contents .textbox .text1 { padding-bottom: 50px; font-family: 'SCDream', serif; font-weight: 600; font-size: 36px; color: #fff; }
#mainContact .contents .textbox .text2 { font-size: 20px; color: #fff; line-height: 1.5; }
#mainContact .contents .textbox .text2 * { font-size: inherit; color: inherit; line-height: inherit; }
#mainContact .contents .textbox .text2 dl { display: flex; flex-wrap: nowrap; align-items: center; }
#mainContact .contents .textbox .text2 dl:nth-of-type(n + 2) { margin-top: 15px; }
#mainContact .contents .textbox .text2 dl dt { min-width: max-content; margin-right: 20px; }
#mainContact .contents .textbox .text2 dl dt img { display: inline-block; width: 80px; }
#mainContact .contents .textbox .text2 dl dd span { display: block; font-weight: 700; }
#mainContact .contents .textbox .text2 dl dd b { display: inline-block; font-size: 40px; line-height: 1.2; }

#mainContact .contents .mapcont { height: 600px; }
#mainContact .contents .mapcont .root_daum_roughmap { width: 100%; height: 100%; }
#mainContact .contents .mapcont .root_daum_roughmap .wrap_map { width: 100%; height: calc(100% - 32px); }

@media (max-width: 1535px) {
    #mainContact .contents .textbox { padding-right: 25px; }
    #mainContact .contents .textbox .text2 dl:nth-of-type(n + 2) { margin-top: 14px; }
    #mainContact .contents .textbox .text2 dl dt { margin-right: 18px; }
    #mainContact .contents .textbox .text2 dl dt img { width: calc(40px + 2.5vw); }

    #mainContact .contents .mapcont { height: calc(400px + 13vw); }
}
@media (max-width: 1279px) {
    #mainContact .contents .textbox { padding-right: 20px; }
    #mainContact .contents .textbox .text2 dl:nth-of-type(n + 2) { margin-top: 12px; }
    #mainContact .contents .textbox .text2 dl dt { margin-right: 15px; }

    #mainContact .contents .mapcont { height: calc(300px + 10vw); }
}
@media (max-width: 1023px) {
    #mainContact { padding: 0; }
    #mainContact .bg { display: none; }

    #mainContact .contwrap { width: 100%; max-width: 100%; }
    #mainContact .contents { display: block; }
    #mainContact .contents > li { width: 100%; padding: 40px; }
    #mainContact .contents > li:first-of-type { background: url(/image/main/contact_bg1.jpg) no-repeat center/cover; }
    #mainContact .contents > li:last-of-type { background: #2d2d2d; }
    #mainContact .contents .textbox { top: initial; transform: translateY(0); padding-right: initial; }
    #mainContact .contents .textbox .text2 dl:nth-of-type(n + 2) { margin-top: 12px; }
    #mainContact .contents .textbox .text2 dl dt { margin-right: 15px; }
    #mainContact .contents .textbox .text2 dl dt img { width: 55px; }

    #mainContact .contents .mapcont { height: calc(300px + 10vw); }
}
@media (max-width: 767px) {
    #mainContact .contents > li { padding: 30px; }
    #mainContact .contents .textbox .text2 dl dt img { width: 45px; }

    #mainContact .contents .mapcont { height: calc(220px + 10vw); }
}
@media (max-width: 460px) {
    #mainContact .contents > li { padding: 20px; }
}