@charset "utf-8";

html,
body{
width:100%;
overflow-x:hidden;
}

.container {
    padding: 0 4%;
}

/* header */
/* 상단 텍스트 슬라이드 */
header {
    width: 100%;
}
header .top_bnr .topSwiper{
    background-color: var(--color-green);
    height: 40px;
}
header .top_bnr .swiper-slide p {
    color: var(--color-white);
    font-size: var(--font-16px);
    text-align: center;
    line-height: 40px;
    font-weight: 600;
    
}
header .top_bnr .swiper-slide p br {
    display: none;
}
/* 로고 & 네비게이션 */
header {
    position: fixed;
    width: 100%;
    z-index: 9;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
header .top_menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-white);
    height: 80px;
}
header .top_menu .top_logo {
    line-height: 80px;
}
header .top_menu .top_nav ul {
    display: flex;
}
header .top_menu .top_nav ul li {
    margin-right: 30px;
}
header .top_menu .top_nav ul li a {
    color: var(--color-green);
    font-size: var(--font-16px);
    font-weight: 700;
}
header .top_menu .top_nav ul li:last-child a {
    color: var(--color-light-green);
}
/* main */
/* 메인배너 */
.main_bnr {
    position: relative;
    background-color: var(--color-light-green);
    width: 100%;
    height: 100vh;
    padding-top: 120px;
}
.main_bnr .main_bnr_img {
    position: absolute;
    right: 0;
    bottom: 0;
}
.main_bnr .main_bnr_text {
    position: absolute;
    left: 15%;
    top: calc(50% + 60px);
    transform: translateY(-50%);
}
.main_bnr .main_bnr_text h2 {
    font-size: var(--font-48px);
    color: var(--color-white);
    font-weight: 100;
}
.main_bnr .main_bnr_text h2:first-child {
    font-weight: 400;
}
.main_bnr .main_bnr_text h1 {
    font-size: var(--font-72px);
    font-weight: 800;
    color: var(--color-white);
    padding: 10px 0 20px;
}
.main_bnr .main_bnr_text p {
    color: var(--color-green);
    font-size: var(--font-18px);
    font-weight: 600;
}

/* 기능설명 - 페이드 슬라이드 */
.desc_slide .swiper-slide{
    height: 100vh;
    position: relative;
}
.desc_slide .swiper-slide::after {
    content: "";
    width: 100%;
    height: 100%;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -9;
}


.desc_slide .swiper-slide01::after {
    background: url('../img/desc_slide01.jpg') center no-repeat;
    background-size: cover;
}
.desc_slide .swiper-slide02::after {
    background: url('../img/desc_slide02.jpg') center no-repeat;
    background-size: cover;
}
.desc_slide .swiper-slide03::after {
    background: url('../img/desc_slide03.jpg') center no-repeat;
    background-size: cover;
}
.desc_slide .swiper-slide04::after {
    background: url('../img/desc_slide04.jpg') center no-repeat;
    background-size: cover;
}
.desc_slide .swiper-slide05::after {
    background: url('../img/desc_slide05.jpg') center no-repeat;
    background-size: cover;
}
.desc_slide .swiper-slide06::after {
    background: url('../img/desc_slide06.jpg') center no-repeat;
    background-size: cover;
}
.desc_slide .swiper-slide07::after {
    background: url('../img/desc_slide07.jpg') center no-repeat;
    background-size: cover;
}
.desc_slide .swiper-slide08::after {
    background: url('../img/desc_slide05.jpg') center no-repeat;
    background-size: cover;
}
.desc_slide .swiper-slide .text {
    position: absolute;
    width: 100%;
    padding: 0 10px;
    bottom: 50%;
    left: 50%;
}
.desc_slide .swiper-slide .text h3{
    font-size: var(--font-24px);
    font-weight: 500;
}
.desc_slide .swiper-slide .text h2{
    font-size: var(--font-60px);
    font-weight: 800;
    padding-bottom: 10px;
    color: var(--color-green);
}
.desc_slide .swiper-slide .text p {
    font-size: var(--font-18px);
}
.desc_slide .swiper-pagination {
    position: absolute;
    bottom: 25%; 
    left: 50%;
    display: flex;
    justify-content: left;
    flex-wrap: wrap; 
    width: 560px; /* 페이지네이션 전체 너비 */
    gap: 12px;
}

.desc_slide .swiper-pagination-bullet {
    width: 140px;
    height: 40px;
    background-color: var(--color-light-green); 
    border-radius: 30px;
    opacity: 1; 
    font-size: var(--font-20px); 
    font-weight: 600;
    color: var(--color-white); 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.desc_slide .swiper-pagination-bullet:nth-child(3),
.desc_slide .swiper-pagination-bullet:nth-child(5) {
    width: 180px;
}
.desc_slide .swiper-pagination-bullet:nth-child(7) {
    width: 180px;
}

.desc_slide .swiper-pagination-bullet-active {
    background-color: var(--color-green);
}

/* 간편한 스쿨라이프/문의하기 공통 타이틀 */
.section_title {
    text-align: center;
    padding: 100px 0;
}
.section_title p {
    font-size: var(--font-18px);
    color: var(--color-light-green);
}
.section_title h2 {
    font-size: var(--font-40px);
    color: var(--color-white);
    font-weight: 700;
    padding: 0 10px;
}
.section_title h2.blk {
    color: var(--color-black);
}
/* 간편한 스쿨라이프 - 좌우 슬라이드 */
.easy_slide {
    background-color: var(--color-green);    
}
.easy_slide .swiper-wrapper {
    padding-bottom: 100px;
}
.easy_slide .swiper-slide {
    width: 274px;
    height: 354px;
    border-radius: 10px;
    text-align: center;
}
.easy_slide .swiper-slide h3 {
    font-size: var(--font-24px);
    font-weight: 700;
    padding-top: 30px;
}
.easy_slide .swiper-slide p {
    color: var(--color-grey);
    padding-top: 10px;
    margin: 0 auto;
    max-width: 200px;
}
.easy_slide .swiper-slide01 {
    background: url('../img/easy_slide01.jpg');
}
.easy_slide .swiper-slide02 {
    background: url('../img/easy_slide02.jpg');
}
.easy_slide .swiper-slide03 {
    background: url('../img/easy_slide03.jpg');
}
.easy_slide .swiper-slide04 {
    background: url('../img/easy_slide04.jpg');
}
.easy_slide .swiper-slide05 {
    background: url('../img/easy_slide05.jpg');
}
.easy_slide .swiper-slide06 {
    background: url('../img/easy_slide06.jpg');
}
.easy_slide .swiper-slide07 {
    background: url('../img/easy_slide07.jpg');
}
.easy_slide .swiper-slide08 {
    background: url('../img/easy_slide08.jpg');
}
.easy_slide .swiper-slide09 {
    background: url('../img/easy_slide09.jpg');
}
.easy_slide .swiper-slide10 {
    background: url('../img/easy_slide10.jpg');
}
.easy_slide .swiper-slide11 {
    background: url('../img/easy_slide11.jpg');
}
.easy_slide .swiper-pagination {
    position: absolute;
    bottom: 40px; 
    left: 50%;
    transform: translateX(-50%);
}
.easy_slide .swiper-pagination-bullet-active {
    background-color: var(--color-light-green);
}
/* contact */
.contact {
    padding-bottom: 100px;
}
.contact_container {
    max-width: 870px;
    margin: 0 auto;
    border-radius: 5px;
    color: var(--color-grey);
}
form {
    display: flex;
    flex-wrap: wrap;
}
form > div {
    width: 50%;
    padding: 10px 20px;
    display: flex;
}
.inquiry, .consent {
    width: 100%;
}
.inquiry, .consent {
    display: block;
}
.consent .consent_container {
    display: flex;
}
.consent .consent_container > label {
    border: none;
    padding-left: 5px;
    padding-bottom: 13px;
}
.consent p {
    font-size: 13px;
    line-height: 1.4;
    border: 1px #ccc solid;;
    padding: 10px;
    max-height: 200px;
    overflow-y: scroll;
}
label {
    display: block;
    margin-top: 10px;
    min-width: 70px;
    border-bottom: 1px #ccc solid;
    font-size: 14px;
}
.inquiry label {
    border-bottom: 0;
}
select, input[type="text"], input[type="tel"], textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px #ccc solid;
    background-color: var(--color-white);
    color: var(--color-grey);
    font-size: 14px;
}
.email {
    width: 100%;
}
.email_container {
    width: 100%;
    display: flex;
    align-items: end;
}

.email_container input[type="text"] {
    margin-right: 5px;
}

.email_container span {
    margin: 0 5px;
}

.contact button {
    display: block;
    margin: 20px auto 0;
    padding: 10px 50px;
    border: none;
    border: 1px var(--color-grey) solid;
    background-color: var(--color-white);
    cursor: pointer;
}

.contact button:hover {
    background-color: var(--color-light-green);
    color: var(--color-white);
    border-color: var(--color-light-green);
}

/* footer */
footer {
    background-color: var(--color-light-green);
    text-align: center;
    padding: 30px 0;
}
footer .footer_logo {
    padding-bottom: 10px;
    border-bottom: 1px var(--color-white) solid;
}
.modal {
    width: 50%;
    height: 300px;
    background-color: #fff;
    border: none;
    border-radius: 5px;
    position: fixed; /* 고정 위치로 변경 */
    top: 0; /* 화면 중앙 위치 */
    left: 0; /* 화면 중앙 위치 */
    padding: 20px;
}

.modal[open] {
    -webkit-animation: show 0.5s ease normal;
}

.modal::backdrop {
    background-color: rgba(0, 0, 0, 0.8);
}

.modal[open]::backdrop {
    -webkit-animation: show-backdrop 0.5s ease normal;
}

.modal > h3 {
    font-size: var(--font-24px);
    width: 100%;
    border-bottom: 1px solid #333;
    padding-bottom: 6px;
    margin-bottom: 10px;
}
.modal p {
    font-size: 14px;
    text-align: left;
    color: var(--color-grey);
}
.close {
    position: fixed;
    background-color: var(--color-white);
    display: inline-block;
    margin-top: 10px;  
    top: 3%;
    right: 3%;
}
.close button {
    padding: 10px;
    color: var(--color-green);
    font-size: 14px;
    font-weight: 600; 
    border: none;
    background: none;
    cursor: pointer;
}
@keyframes show-backdrop {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
footer .modal_Btn {
    background-color: var(--color-white);
    display: inline-block;
    padding: 3px 5px 4px;
    margin-top: 10px;   
    color: var(--color-light-green);
    font-size: 14px;
    font-weight: 600; 
    cursor: pointer;
}
footer .copy {
    padding: 10px 10px 0;
}
footer .copy p {
    color: var(--color-white);
    font-size: 12px;
    padding-top: 10px;
}
footer .copy p br {
    display: none;
}
footer .copy p .fbr {
    display: block;
}
/* Responsive */
/* @media (max-width:1720px)--------------------------------------------- */
@media (max-width:1720px) {
    .main_bnr .main_bnr_img {
        right: 0;
    }
    .main_bnr .main_bnr_text {
        left: 7%;
    }
    }
/* @media (max-width:1400px)--------------------------------------------- */
@media (max-width:1400px) {
    .main_bnr .main_bnr_img {
        right: -15%;
    }
    .main_bnr .main_bnr_text {
        left: 3%;
    }
    }
    /* @media (max-width:1280px)--------------------------------------------- */
@media (max-width:1280px) {
    .main_bnr .main_bnr_img {
        right: auto;
    }
    .main_bnr .main_bnr_img img {
        min-width: 900px;
    }
    .main_bnr .main_bnr_text {
        top:35%;
        left: 10%;
    }
    }
        /* @media (max-width:1280px)--------------------------------------------- */
@media (max-width:1280px) {
    .main_bnr .main_bnr_img img {
        min-width: 900px;
    }
    .main_bnr .main_bnr_text {
        top:35%;
        left: 10%;
    }

    .desc_slide .swiper-slide{
        height: 800px;
    }
    .desc_slide .swiper-slide .text {
        bottom: 44%; 
        transform: translateX(-50%);
        text-align: center;
    }
    .desc_slide .swiper-pagination {
        bottom: 25%; 
        left: 50%;
        transform: translateX(-50%);
    }
    .modal {
        width: 80%;
    }
    
 }
 /* @media (max-width:800px)--------------------------------------------- */
@media (max-width:800px) {
    .container {
        padding: 0 2%;
    }

    .desc_slide .swiper-slide{
        height: 600px;
    }
    .desc_slide .swiper-slide::after {
        opacity: 0.7;
    }
    .desc_slide .swiper-slide01::after {
        background: url('../img/desc_mslide01.jpg') center no-repeat;
        background-size: cover;
    }
    .desc_slide .swiper-slide02::after {
        background: url('../img/desc_mslide02.jpg') center no-repeat;
        background-size: cover;
    }
    .desc_slide .swiper-slide03::after {
        background: url('../img/desc_mslide03.jpg') center no-repeat;
        background-size: cover;
    }
    .desc_slide .swiper-slide04::after {
        background: url('../img/desc_mslide04.jpg') center no-repeat;
        background-size: cover;
    }
    .desc_slide .swiper-slide05::after {
        background: url('../img/desc_mslide05.jpg') center no-repeat;
        background-size: cover;
    }
    .desc_slide .swiper-slide06::after {
        background: url('../img/desc_mslide06.jpg') center no-repeat;
        background-size: cover;
    }
    .desc_slide .swiper-slide .text h3{
        font-size: 20px ;
    }
    .desc_slide .swiper-slide .text h2{
        font-size: 42px;
        font-weight: 800;
        padding-bottom: 10px;
        color: var(--color-green);
    }
    .desc_slide .swiper-slide .text p {
        font-size: 16px;
    }
    .desc_slide .swiper-pagination {
        bottom: 25%; 
        width: 420px; /* 페이지네이션 전체 너비 */
        gap: 8px;
    }
    
    .desc_slide .swiper-pagination-bullet {
        width: 100px;
        height: 30px;
        font-size: 16px; 
    }
    .desc_slide .swiper-pagination-bullet-active {
        background-color: var(--color-green);
    }
        /* contact */
        .contact {
            padding-bottom: 50px;
        }



}
/* @media (max-width:680px)--------------------------------------------- */
@media (max-width:680px) {
    header .top_bnr .topSwiper{
        height: 40px;
    }
    header .top_bnr .swiper-wrapper .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    header .top_bnr .swiper-wrapper p {
        font-size: 12px;
        line-height: 1.2;
    }
    header .top_bnr .swiper-slide p br {
        display: block;
    }
     .main_bnr .main_bnr_img {
        right: -100px;
    }
    .main_bnr .main_bnr_img img {
        min-width: 700px;
    }
    .main_bnr .main_bnr_text {
        top:30%;
        left: 5%;
    }

    header .top_menu {
        display: block;
        height: 70px;
    }
    header .top_menu .top_logo {
        text-align: center;
        line-height: 34px;
    }
    header .top_menu .top_logo a img {
        width: 150px;
        padding-top: 10px;
    }
    header .top_menu .top_nav ul {
        justify-content: center;
    }
    header .top_menu .top_nav ul li {
        margin-right: 25px;
    }
    header .top_menu .top_nav ul li:last-child {
        margin-right: 0;
    }
    header .top_menu .top_nav ul li a {
        font-size: 14px;
    }
    .main_bnr .main_bnr_img img {
        min-width: 700px;
    }
 
    
    .section_title {
        padding: 50px 0;
    }
    .section_title p {
        font-size: var(--font-18px);
        color: var(--color-light-green);
    }
    .section_title h2 {
        font-size: var(--font-40px);
        color: var(--color-white);
        font-weight: 700;
    }
    .section_title h2.blk {
        color: var(--color-black);
    }
    /* contact */

    form > div {
        width: 100%;
    }

    .modal {
        width: 100%;
    }


}

    /* @media (max-width:540px)--------------------------------------------- */
@media (max-width:540px) {
    .main_bnr .main_bnr_img img {
        min-width: 600px;
    }
    .main_bnr .main_bnr_text {
        top:40%;
        left: 5%;
    }

    .main_bnr .main_bnr_text p br{
        display: none;
    }

    .desc_slide .swiper-pagination {
        justify-content: center;
        width: 294px; /* 페이지네이션 전체 너비 */
        gap: 4px;
    }
    
    .desc_slide .swiper-pagination-bullet {
        width: 74px;
        height: 26px;
        background-color: var(--color-light-green); 
        border-radius: 30px;
        opacity: 1; 
        font-size: 13px; 
        font-weight: 400;
        color: var(--color-white); 
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }
    
    .desc_slide .swiper-pagination-bullet:nth-child(3),
    .desc_slide .swiper-pagination-bullet:nth-child(5) {
        width: 114px;
    }
    .desc_slide .swiper-pagination-bullet-active {
        background-color: var(--color-green);
    }

    .section_title {
        padding: 50px 0 30px;
    }

    .email {
        display: block;
    }
    .email label {
        border-bottom: none;
    }
    .email_container select {
        width: 90px;
        font-size: 10px;
        padding: 5px;
    }
    footer .footer_logo img{
        width: 180px;
    }
    footer .copy p br {
        display: block;
    }
    footer .copy p span {
        display: none;
    }
}

    /* @media (max-width:420px)--------------------------------------------- */
    @media (max-width:420px) {
        header .top_menu .top_nav ul li {
            margin-right: 12px;
        }
        .desc_slide .swiper-slide {
            height: 540px;
        }
        .desc_slide .swiper-slide .text h3 { 
            font-size: 16px;
        }
        .desc_slide .swiper-slide .text h2 {
            font-size: 26px;
        }
    }