﻿

body {
    overflow-x: hidden;
}

.wrap {
    width: 100%;
    margin: auto;
    padding-bottom: 100px;
}

section {
    width: 900px;
    margin: 0 auto;
    height: auto;
}

@media(max-width: 984px) {
    section {
        width: calc(100% - 30px);
    }
}

/*템플릿 대메뉴*/

.top_template {
    margin-top: 120px;
    /*border:1px solid;*/
}


    .top_template h3 {
        text-align: center;
        font-size: 30px;
    }

@media (max-width:768px){

    .top_template{
        margin-top: 80px;
    }

    .top_template h3{
        font-size: 25px;
    }

}
    .top_template ul {
        display: flex;
        min-height: 100px;
        width: 800px;
        margin: auto;
        justify-content: space-between;
        align-items: center;
        margin-top: 50px;
    }

        .top_template ul li {
            text-align: center;
        }

            .top_template ul li:hover {
                cursor: pointer;
            }

            .top_template ul li img {
                transition: all 0.3s ease;
            }

            .top_template ul li:hover img {
                transition: all 0.3s ease;
                transform: scale(.9);
            }

            .top_template ul li p {
                font-size: 14px;
                margin-top: 10px;
                color: #838383;
            }

/*템플릿박스*/

.tp_box {
    width: 100%;
    height: 80px;
    border-radius: 50px;
    background: #F4F9FB;
    margin-top: 15px;
}

    .tp_box ul {
        width: 100%;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0 20px;
        position: relative;
    }

        .tp_box ul li:hover {
            cursor: pointer;
        }

        .tp_box ul li p img {
            margin-left: 10px;
            margin-top: -5px;
        }

    .tp_box > ul > li:last-child {
        color: #ffffff;
        background: #809FEF;
        border: 1px solid #809FEF;
    }



    .tp_box > ul > li {
        padding: 10px 20px;
        border-radius: 50px;
        border: 1px solid #DCDCDC;
        background: #ffffff;
        color: #6C6C6C;
        margin-right: 10px;
    }

.tp_relative {
    /*position:relative;*/
}

.tp_detail {
    position: absolute;
    top: 73px;
    left: 17px;
    width: 500px;
    height: 150px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 0 4px 4px rgb(0 0 0 / 5%);
    display: none;
}

    /*.tp_detail2{
    display:block;
}*/


    .tp_detail ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-content: center;
        width: 100%;
        height: 100%;
    }


    .tp_detail img {
        position: absolute;
        top: 20px;
        z-index: 1;
        right: 20px;
    }

    .tp_detail li {
        margin: 5px 0;
    }


/*체크박스 css*/
.chk_box {
    display: block;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* 기본 체크박스 숨기기 */
    .chk_box input[type="checkbox"] {
        display: none;
    }

/* 선택되지 않은 체크박스 스타일 꾸미기 */
.checkon {
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 1px solid #ddd;
    position: absolute;
    top: 0px;
    left: 0;
    border-radius: 6px;
}

/*.term_t .checkon {
    top: 0px;
}*/
/* 선택된 체크박스 스타일 꾸미기 */
.chk_box input[type="checkbox"]:checked + .checkon {
    background: #727272;
}

.checkon:after {
    content: "";
    position: absolute;
    display: none;
}

.chk_box input[type="checkbox"] + .checkon:after {
    display: block;
}

.checkon:after {
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    left: 6px;
    top: 2px;
}


/*템플릿 미니박스*/

.swiper {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 20px;
  margin-top: 60px;
  box-shadow: 0px 0px 5px #D9D9D9;
}

@media (max-width:768px) {

    .swiper {
        margin-top: 30px;
    }

}

.template_box {
  display: flex !important;
  justify-content: flex-start;
  gap: 20px;
}

.swiper-wrapper-area{
    position: relative;
}
.swiper-pagination{
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-pagination-bullets.swiper-pagination-horizontal{
    top: unset !important;
    bottom: -50px !important;
}

.swiper-pagination-bullet {
      width: 15px !important;
      height: 15px !important;
      text-align: center;
      font-size: 12px;
      color: #000;
      opacity: 1;
      background: rgba(0, 0, 0, 0.2);
      white-space: nowrap;
      border-radius: 50%;
      transition: width 0.3s ease, border-radius 0.3s ease;
    }

    .swiper-pagination-bullet-active {
        width: 100px !important;
        height: 20px !important;
      padding: 0.2rem 1rem;
      border-radius: 15px!important;
      line-height: 21px;
      color: #fff;
      background: #007aff;
      transition: all 0.3s ease;
    }

.mini_template {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
    background: #fff;
    padding: 2rem 0;
    overflow: hidden;
    cursor: pointer;
}

.mini_img {
    width: 30%;
    height: 357px;
    margin-left: 2rem;
    box-shadow: 0px 0px 5px #ddd;
    border-radius: 15px;
    overflow-y: auto;
}

.mini_img img{
    border-radius: 15px;
    object-fit: cover;
    max-width: unset;
    width: 100%;
}

.mini_img:hover {
    cursor: pointer;
}
.mini_tit {
    width: 65%;
    padding: 0 2rem;
}

h3{
    margin: 0.8rem 0;
    font-weight: 800;
}

@media (max-width:768px){

    h3{
        margin: 0.5rem 0;
    }

}

    .sub {
        color: #696969;
    }

.mini_detail_top ul {
    display: flex;
}

    .mini_detail_top ul li {
        padding: 5px 10px;
        border-radius: 50px;
        border: 1px solid #DCDCDC;
        background: #ffffff;
        color: #6C6C6C;
        margin-right: 5px;
        font-size: 14px;
    }

.service{
    background: #F5F8FD;
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    margin: 1rem 0;
}

@media (max-width:768px){

    .service{
        display: none;
    }

}

.service div:first-child{
    min-width: 120px;
}
.service div p{
    word-break: keep-all;
}
.service div p:first-child{
    margin-bottom: 0.5rem;
}

.serv_title{
    color: #777;
    font-size: 0.94rem;
}
.serv_sub{
    font-size: 0.94rem;
}

.mini_detail_bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 1.5rem 0;
}

    .mini_detail_bottom p {
        text-decoration: line-through;
        color: #CCCCCC;
        margin-right: 15px;
        font-weight: 700;
    }

@media (max-width:768px){

    .mini_detail_bottom{
        margin: 1rem 0;
    }

}

.btn{
    display: flex;
    justify-content: space-between;
}

.btn button {
    width: 49%;
    border: unset;
    border-radius: 10px;
    padding: 1rem;
    font-size: 1rem;
}

.btn .tp1,
.btn .tp2 {
    border: 1px solid #4C92F1;
    color: #4C92F1;
    background: #ffffff;
    transition: all 0.3s ease-in-out;
}

.btn button:hover{
    background: #4C92F1;
    color: #fff;
}


@media (max-width:768px) {

    .swiper-slide {
    box-sizing: border-box;
    padding: 2rem;
    width: 100% !important;
  }

  .mini_template {
    display: block !important;
    width: 100%;  
    box-sizing: border-box;
  }

  .mini_img {
    width: 100%; 
    max-width: 100%;
    margin: 0 auto;
    display: block;
  }

  .mini_tit {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin-top: 1rem;
  }

}


@media (max-width:768px) {

    .mini_img{
        height: 280px;
    }

}





/* 페이징 css */

.page_n {
    width: 100%;
    text-align: center;
    margin: 100px 0;
}

.pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .pagination ul li {
        margin: 0 10px;
    }

.pagination a {
    text-decoration: none;
    color: #000;
    padding: 2px;
    font-size: 1rem;
}

.pagination li.on {
    background: #4F4F4F;
    border-radius: 10px;
    padding: 5px 10px;
}

    .pagination li.on a {
        color: #ffffff;
    }





/*상세 내용*/
.scroll_down{
    display: block;
    margin: 8rem auto 5rem;
    animation: floatY 1s ease-in-out infinite;
}
@keyframes floatY {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(15px); /* 위로 약간 올라감 */
  }
  100% {
    transform: translateY(0);
  }
}

.detail_contents>div{
    margin-bottom: 10rem;
}

@media (max-width:580px){

    .scroll_down{
        margin: 6rem auto 3rem;
    }

    .detail_contents>div{
        margin-bottom: 8rem;
    }

}



/*제목*/
.title{
    width: 100%;
    height: auto;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 3rem;
}
.sub_title{
    font-weight: 500;
    color: #247CF4;
}
.main_title{
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0.6rem 0;
    word-break: keep-all;
}
.sub_txt{
    color: #777;
    word-break: keep-all;
    line-height: 140%;
}


@media (max-width:768px){

.main_title{
    font-size: 1.38rem;
}

}





/*웹사이트 제작가격*/
.cost_con {
  width: 100%;
  margin: 0 auto;
}
.common_table{display: none;}
.cost_con > div {
    display: flex;
    justify-content: center;
    gap: 20px;
    border: 1px solid #C7C7C7;
    border-radius: 25px;
    padding: 1.3rem;
}
.common_table table:first-of-type,
.cost_con > div:first-of-type{
    margin-bottom: 3rem;
}
.common_table>p,
.cost_con>p{
    font-weight: 600;
    margin-bottom: 0.8rem;
}
.cost_con>div>div{
    width: 33.3%;
    text-align: center;
}
.cost_con>div>div p{
    color: #676767;
    padding: 0.8rem 0;
    position: relative;
}
.cost_con>div>div p:not(:first-child,:last-child){
    border-bottom: 1px solid #E0E0E0;
}

/*툴팁*/
.icon {
    font-size: 14px; /* 아이콘 크기 */
    margin-left: 5px; /* 아이콘과 텍스트 간격 */
    cursor: pointer; /* 커서 변경 */
}

.icon[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 80%; /* 아이콘 위에 툴팁 표시 */
    left: 70%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #1D1D1D;
    border: 1px solid #1D1D1D;
    border-radius: 15px;
    padding: 8px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    line-height: 140%;
    width: 320px;
}

/*모바일 툴팁 위치 변경*/
@media (max-width:768px) {

    .common_table td{
        position: relative;
    }

    .icon[data-tooltip]:hover::after{
        bottom: 80%;
        left: 80%;
    width: 180px;
    }

}

@media (max-width:360px) {

     .icon[data-tooltip]:hover::after{
         left: 100%;
     }

}


.cate p:first-child{
    background: #F6F6F6;
    border-radius: 15px;
    color: #898989;
}

.free{
    border: 1px solid #4C92F1;
    border-radius: 15px;
}
.free p:first-child{
    background: #4C92F1;
    border-radius: 13px 13px 0 0;
    color: #fff;
}

.free p:not(:first-child),
.charge p:not(:first-child){
    color: #000 !important;
}

.charge{
    border: 1px solid #F14CA1;
    border-radius: 15px;
}
.charge p:first-child{
    background: #F14CA1;
    border-radius: 13px 13px 0 0;
    color: #fff;
}

.cost_design{
    border: 1px solid #BFBFBF;
    border-radius: 15px;
}
.cost_design p:first-child{
    background: #959595;
    border-radius: 13px 13px 0 0;
    color: #fff;
}
.cost_design p:not(:first-child){
    color: #000 !important;
}


@media (max-width:768px) {

    .cost_con > div {
        border: none;
        padding: 0;
        column-gap: 10px;
    }

        .cost_con > div > div p {
            font-size: 0.94rem;
        }

    .cate p:first-child {
        padding: 0.8rem;
    }
    .cost_con{
        display: none;
    }
    .common_table{
        display: block;
    }

    .template_common .common_area {
    text-align: center;
    width: 100%;
    margin: auto;
    margin-bottom: 150px;
}

.common_area.gray {
    background: #F8F8FB;
    width: 100%;
    padding: 100px 0;
}

.common_area > p {
    font-size: 16px;
    color: #247CF4;
    font-weight: bold;
    margin-bottom: 20px;
}

.common_area > h3 {
    font-size: 30px;
    color: #000000;
    font-weight: bold;
}

    .common_area > h3 span {
        background: #247CF4;
        border-radius: 10px;
        padding: 5px 10px;
        color: #ffffff;
    }

.common_area > h5 {
    font-size: 16px;
    color: #656565;
    font-weight: 500;
    margin-top: 15px;
    line-height: 25px;
}

.common_table h3{
    text-align:start;
    width: 75%;
    margin: 65px auto 20px;
}

.common_table table{
    width: 100%;
    border-collapse: collapse;
    margin: auto;
}

.common_table table tr td {
    width: 33.3%;
    height: 50px;
    text-align: center;
    word-break: keep-all;
    font-size: 0.94rem;
}

.common_table table thead tr{
        border-top: 1px solid #C7C7C7;
}

.common_table table tr td{
    border-bottom: 1px solid #E0E0E0;
    padding: 0 0.5rem;
}

/*기본 제작비용*/
.common_table table:first-of-type tr td:first-child{
    color: #676767;
}

.common_table table:first-of-type tr td:nth-child(2),
.common_table table:first-of-type tr td:nth-child(3){
    font-weight: 500;
}

.common_table table:first-of-type thead tr td:nth-child(2){
    color: #4C92F1 !important;
}

.common_table table:first-of-type thead tr td:nth-child(3){
    color: #F14CA1;
}

.common_table table:first-of-type thead tr td{
    color: #676767;
}

/*기본 디자인 선택 시 이미지 제작 비용*/
.common_table table thead tr td{
    color: #676767;
}

.common_table table tbody tr td{
    font-weight: 500;
}


}

@media (max-width:768px) {

   .common_table table tr td{
        font-size: 0.87rem;
    }

}




/*무료 유지보수*/
.img1{
    width: 100%;
    max-height: 500px;
    border-radius: 25px;
    object-fit: cover;
}

/*제작절차*/
.flex{
    display: flex;
    align-items:center;
}
.procedure{
    max-width: 380px;
    margin: 0 auto;
    position: relative;
}
.proce_con{
    margin-bottom: 4rem;
}
.proce_con::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 35px;
  width: 3px;
  height: 600px;
  background: #E2EEFF;
  z-index: -10;
}
.proce_con img{
    background: #E2EEFF;
    border-radius: 50%;
    padding: 1rem;
    width: 40px;
    margin-right: 1.5rem;
}
.step{
    font-weight: 700;
    color: #8EBEFF;
    margin-right: 1.5rem;
    width: 50px;
    white-space: nowrap;
    margin-bottom: 0.3rem;
}
.main_step{
    font-weight: 700;
    font-size: 1.06rem;
}
.sub_step{
    color: #777;
    font-size: 0.87rem;
    margin-top: 0.3rem;
    word-break: keep-all;
}


@media (max-width:580px){

    .procedure{
        width: 100%;
    }

    .proce_con{
        margin-bottom: 3rem;
    }

    .proce_con::before{
        left: 30px;
        height: 510px;
    }

    .proce_con img{
        width: 30px;
        margin-right: 1rem;
    }

    .step{
        margin-right: 1rem;
        font-size: 0.87rem;
    }

}




/*단독 서비스*/
.common_service {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    justify-content: space-around;
    gap: 2rem;
    text-align: center;
}


@media (max-width:984px) {

    .common_service{
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

}

@media (max-width:480px) {

    .common_service{
        grid-template-columns: repeat(3, 1fr);
    }

}