@charset "utf-8";

/*
 * File       : style.css
 * Author     : YONG
 *
 * 최종수정일 : 25/00/00
 *
 * SUMMARY:
 * 메인페이지.CSS
 */

/* 
■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■ PC ■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■
*/

.main {
    width: 100%;
    height: auto;
}

/*  */
.visual {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    background-color: #fff;
    padding: 3rem 0 4rem;
}

.visual>.inner {
    width: 100%;
    height: auto;
}

.visual>.inner>h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    line-height: normal;
}

.visual>.inner>h2>b {
    font-weight: inherit;
    color: #007fff;
}


/*  */
.cs {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    background-color: #f8f8f8;
    padding: 2rem 0;
}

.cs>.inner {
    width: 100%;
    height: auto;
}

.cs__inputs {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cs__input {
    width: calc(33.33% - 11px);
    height: 50px;
    display: flex;
    align-items: center;
}

.cs__input.last {
    width: calc(40% - 8px);
}

.cs__input>span {
    width: 70px;
    height: auto;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
}

.cs__input>input {
    width: calc(100% - 70px);
    height: 100%;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.1);
    padding-left: 10px;
}

.cs__input.radio {
    width: calc(60% - 8px);
    gap: 1rem;
}


#csGender {
    width: 20%;
    height: 100%;
    display: flex;
    border-radius: 0.5rem;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#csGender input[type=radio] {
    display: none;
}

#csGender input[type=radio]+label {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #444;
    background-color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

#csGender input[type=radio]:checked+label {
    color: #fff;
    background-color: #007fff;
}

#csType {
    width: 80%;
    height: 100%;
    display: flex;
    border-radius: 0.5rem;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#csType input[type=radio] {
    display: none;
}

#csType input[type=radio]+label {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #444;
    background-color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

#csType input[type=radio]:checked+label {
    color: #fff;
    background-color: #007fff;
}

/*  */
.cs input:focus-visible,
.cs textarea:focus-visible {
    outline: none;
    border-color: #007fff;
}

.cs__apply {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cs__info {
    width: 100%;
    height: auto;
    display: flex;
    gap: 5px;
    margin: 1.5rem 0;
}

.cs__info label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cs__info input {
    width: 17px;
    height: 17px;
}

.cs__info span {
    font-size: 0.9rem;
}

.cs__info>span {
    color: cornflowerblue;
    text-decoration: underline;
    cursor: pointer;
}

.cs__btn {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.submit {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background-color: #007fff;
    border-radius: 0.5rem;
    cursor: pointer;
}

/*  */
.content {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    padding: 4rem 0;
}

.content>.inner {
    width: 100%;
    height: auto;
    display: flex;
    gap: 1rem;
}

.swiper {
    width: 50%;
    height: auto;
}

.swiper .swiper-slide {
    border-radius: 1rem;
    overflow: hidden;
}

.swiper .swiper-slide>a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: normal;
    padding: 2rem;
}

.swiper .swiper-slide.slide1 {
    background-color: #465689;
}

.swiper .swiper-slide.slide2 {
    background-color: #0f35c4;
}

.swiper .swiper-slide.slide3 {
    background-color: #aceba5;
}

.swiper .swiper-slide.slide4 {
    background-color: #755fff;
}

.swiper .swiper-slide.slide5 {
    background-color: #fa1c5e;
}

.swiper .swiper-slide .txt>h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e3e3e3;
    margin-bottom: 1rem;
}

.swiper .swiper-slide .txt>h3.gray {
    color: #9f9f9f;
}

.swiper .swiper-slide .txt>p {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.swiper .swiper-slide .img {
    display: flex;
    justify-content: flex-end;
}

.swiper .swiper-slide .img img {
    width: 130px;
    height: auto;
    object-fit: contain;
}

.swiper-container-horizontal>.swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    width: fit-content;
    top: -1px;
    right: 0px;
    bottom: auto;
    left: initial;
    border-radius: 0 0 0 1rem;
    background-color: #fff;
    padding: 11px 14px;
}

.swiper-pagination-bullet-active {
    background: #465689;
}

.swiper-pagination::before {
    content: "";
    display: block;
    position: absolute;
    width: 24px;
    height: 24px;
    top: 0.5px;
    transform: rotate(-90deg);
    left: -24px;
    background-image: url(../img/outline-border-left.svg);
    background-size: cover;
    background-repeat: no-repeat;
}

.swiper-pagination::after {
    content: "";
    display: block;
    position: absolute;
    width: 24px;
    height: 24px;
    right: -0.5px;
    bottom: -23.5px;
    transform: rotate(-180deg);
    background-image: url(../img/outline-border-right.svg);
    background-size: cover;
    background-repeat: no-repeat;
}

/*  */
.content .item {
    width: calc(25% - 11px);
    height: auto;
    border-radius: 1rem;
}

.content .item > a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    line-height: normal;
    padding: 2rem;
}

.content .item .txt>h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e3e3e3;
    margin-bottom: 1rem;
}

.content .item .txt>p {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.content .item .img {
    display: flex;
    justify-content: flex-end;
}

.content .item .img img {
    width: 90px;
    height: auto;
    object-fit: contain;
}

.content .item1 {
    background-color: #007fff;
}

.content .item2 {
    background-color: #24b356;
}

/*  */
.price {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    padding: 0 0 4rem;
}

.price>.inner {
    width: 100%;
    height: auto;
}

.price .title {
    margin-bottom: 1rem;
}

.price .title>h2 {
    font-size: 2rem;
    line-height: normal;
}

.price .title>h2>strong {
    font-weight: inherit;
    color: #007fff;
}

.swiper2 .swiper-slide {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #f3f3f3;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.swiper2 .swiper-slide .img {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 2rem;
    padding: 4px 1rem;
}

.swiper2 .swiper-slide .img img {
    width: 100px;
    height: 30px;
    object-fit: contain;
}

.swiper2 .swiper-slide>h4 {
    font-size: 1.1rem;
    line-height: normal;
}

.swiper2 .swiper-slide>button {
    font-size: 1rem;
    text-align: left;
    color: #007fff;
    cursor: pointer;
}

.swiper2 .swiper-slide>span {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    border-top: 1px solid #ccc;
    padding: 1rem 0 0;
}

/*  */
.banner {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    background-color: #007fff;
    padding: 2rem 0;
}

.banner>.inner {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.banner .list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.banner .list>li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.banner .list>li>img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.banner .list>li>p {
    font-size: 1.4rem;
    font-weight: 500;
    color: #fff;
}

.banner .img img {
    width: 200px;
    height: auto;
    object-fit: contain;
}

/*  */
.bojang {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    padding: 4rem 0;
}

.bojang>.inner {
    width: 100%;
    height: auto;
}

.bojang .title {
    margin-bottom: 1rem;
}

.bojang .title>h2 {
    font-size: 2rem;
    line-height: normal;
}

.bojang .title>h2>b {
    font-weight: inherit;
    color: #007fff;
}

.bojang .list {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 1rem;
}

.bojang .list>li {
    width: calc(33.33% - 11px);
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bojang .list>li .top {
    background-color: #0f35c4;
    border-radius: 1rem;
    padding: 2rem;
}

.bojang .list>li:nth-of-type(1) .top {
    background-color: #0f35c4;
}

.bojang .list>li:nth-of-type(2) .top {
    background-color: #3ad08b;
}

.bojang .list>li:nth-of-type(3) .top {
    background-color: #007fff;
}

.bojang .list>li:nth-of-type(4) .top {
    background-color: #fe8557;
}

.bojang .list>li:nth-of-type(5) .top {
    background-color: #755fff;
}

.bojang .list>li:nth-of-type(6) .top {
    background-color: #fa1c5e;
}

.bojang .list>li .top>p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 2rem;
}

.bojang .list>li .img {
    display: flex;
    justify-content: flex-end;
}

.bojang .list>li .img img {
    width: 100px;
    height: auto;
    object-fit: contain;
}

.bojang .list>li>span {
    font-size: 1.2rem;
    font-weight: 600;
}

.bojang .list>li>a {
    font-size: 1rem;
    font-weight: 500;
    color: #595959;
}

/*  */
.puzzle {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    padding: 0 0 2rem;
}

.puzzle>.inner {
    width: 100%;
    height: auto;
}

.puzzle .items {
    width: 100%;
    height: auto;
    display: flex;
    gap: 1rem;
}

.puzzle .item1 {
    width: 100%;
    height: auto;
    min-height: 300px;
    display: flex;
    align-items: center;
    background-color: #f2f8f8;
    border-radius: 1rem;
    background-image: url(../img/puzzle01.png);
    background-size: 110px;
    background-repeat: no-repeat;
    background-position: 100% 50%;
    padding: 3rem;
}

.puzzle .item1>h3 {
    font-size: 2rem;
    line-height: normal;
}

.puzzle .item1>h3>strong {
    font-weight: inherit;
    color: #007fff;
}

.puzzle .items .wrap {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.puzzle .item2 {
    width: 100%;
    height: auto;
    min-height: 142px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #007fff;
    border-radius: 1rem 1rem 1rem 0;
    padding: 2rem;
    cursor: pointer;

    /*  */
    background-image: url(../img/puzzle02.png);
    background-size: 176px;
    background-repeat: no-repeat;
    background-position: 0% 120%;
}

.puzzle .item2>p {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    padding-left: 2rem;
}

.puzzle .item3 {
    width: 100%;
    height: auto;
    min-height: 142px;
    background-color: #aceba5;
    border-radius: 0 1rem 1rem 1rem;

    /*  */
    background-image: url(../img/puzzle03.png);
    background-size: 176px;
    background-repeat: no-repeat;
    background-position: 0% 0%;
}

.puzzle .item3>a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.puzzle .item3 .txt>p {
    font-size: 1.6rem;
    font-weight: 700;
}

.puzzle .item3 .txt>span {
    font-size: 1.4rem;
    font-weight: 700;
    color: #595959;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {

    /* 
    ■■■■■■■■■■■■■■■■■■■■■
    ■■■■■■■■ 태블릿 ■■■■■■■■
    ■■■■■■■■■■■■■■■■■■■■■
    */

    .visual {
        padding: 3rem 1rem 4rem;
    }

    .visual>.inner>h2 {
        font-size: 1.8rem;
    }

    /*  */
    .cs {
        padding: 2rem;
    }

    .cs__input {
        width: 100%;
        order: 1;
    }

    .cs__input.last {
        width: 100%;
    }

    .cs__input.radio {
        width: 100%;
        padding-left: 70px;
        order: 0;
    }

    .cs__info {
        justify-content: center;
    }

    /*  */
    .content {
        padding: 2rem 1rem;
    }

    .content>.inner {
        flex-wrap: wrap;
    }

    .swiper {
        width: 100%;
    }

    .content .item {
        width: calc(50% - 8px);
    }

    /*  */
    .price {
        padding: 0 1rem 2rem;
    }

    .price .title>h2 {
        font-size: 1.6rem;
    }

    .swiper2 .swiper-slide>span {
        font-size: 1.6rem;
    }

    /*  */
    .banner {
        padding: 2rem;
    }

    .banner .list>li>img {
        width: 30px;
        height: 30px;
    }

    .banner .list>li>p {
        font-size: 1.2rem;
    }

    .banner .img img {
        width: 150px;
    }

    /*  */
    .bojang {
        padding: 2rem 1rem;
    }

    .bojang .title>h2 {
        font-size: 1.6rem;
    }

    .bojang .list>li {
        width: calc(50% - 8px);
    }

    .bojang .list>li .img img {
        width: 90px;
    }

    /*  */
    .puzzle {
        padding: 0 1rem 2rem;
    }

    .puzzle .item1 {
        background-size: 90px;
    }

    .puzzle .item2 {
        background-size: 145px;
    }

    .puzzle .item3 {
        background-size: 145px;
    }

    .puzzle .item1>h3,
    .puzzle .item2>p {
        font-size: 1.6rem;
    }

    .puzzle .item3 .txt {
        text-align: center;
    }
}






@media screen and (max-width: 767px) {

    /* 
    ■■■■■■■■■■■■■■■■■■■■■
    ■■■■■■■■ 모바일 ■■■■■■■■
    ■■■■■■■■■■■■■■■■■■■■■
    */

    .visual {
        padding: 4rem 2rem;
    }

    .visual>.inner>h2 {
        font-size: 1.4rem;
    }

    /*  */
    .cs {
        padding: 1.5rem;
    }

    .cs__input {
        width: 100%;
        order: 1;
    }

    .cs__input.last {
        width: 100%;
    }

    .cs__input.radio {
        width: 100%;
        height: auto;
        flex-direction: column;
        order: 0;
    }

    .cs__input>span {
        font-size: 0.95rem;
    }

    #csGender,
    #csType {
        width: 100%;
        height: 45px;
    }

    #csType input[type=radio]+label {
        font-size: 0.9rem;
    }

    .cs__info {
        justify-content: center;
    }

    /*  */
    .content {
        padding: 2rem 1rem;
    }

    .content>.inner {
        flex-direction: column;
    }

    .swiper {
        width: 100%;
    }

    .swiper .swiper-slide>a {
        gap: 1rem;
    }

    .swiper .swiper-slide .txt>h3 {
        font-size: 1rem;
    }

    .swiper .swiper-slide .txt>p {
        font-size: 1.2rem;
    }

    .swiper .swiper-slide .img img {
        width: 80px;
        height: 80px;
    }

    .swiper-container-horizontal>.swiper-pagination-bullets,
    .swiper-pagination-custom,
    .swiper-pagination-fraction {
        padding: 8px 10px;
    }

    /*  */
    .content .item {
        width: 100%;
    }

    .content .item > a {
        padding: 1.5rem;
    }    

    .content .item .txt>h3 {
        font-size: 1rem;
    }

    .content .item .txt>p {
        font-size: 1.2rem;
    }

    .content .item .img img {
        width: 80px;
        height: 80px;
    }

    /*  */
    .price {
        padding: 0 1rem 2rem;
    }

    .price .title>h2 {
        font-size: 1.2rem;
    }

    .swiper2 .swiper-slide>span {
        font-size: 1.4rem;
    }

    /*  */
    .banner {
        padding: 2rem;
    }

    .banner>.inner {
        flex-direction: column-reverse;
        align-items: center;
        gap: 1rem;
    }

    .banner .img img {
        width: 100px;
    }

    .banner .list>li>img {
        width: 35px;
        height: 35px;
    }

    .banner .list>li>p {
        font-size: 1rem;
        word-break: keep-all;
        line-height: normal;
    }

    /*  */
    .bojang {
        padding: 2rem 1rem;
    }

    .bojang .title>h2 {
        font-size: 1.2rem;
    }

    .bojang .list {
        flex-wrap: wrap;
    }

    .bojang .list>li {
        width: 100%;
    }

    .bojang .list>li .top {
        padding: 1.5rem;
    }

    .bojang .list>li .top>p {
        font-size: 1rem;
    }

    .bojang .list>li .img img {
        width: 80px;
    }

    .bojang .list>li>span {
        font-size: 1.1rem;
        font-weight: 700;
    }

    /*  */
    .puzzle {
        padding: 0 1rem 2rem;
    }

    .puzzle .items {
        flex-wrap: wrap;
    }

    .puzzle .item1 {
        min-height: auto;
        padding: 2rem;
    }

    .puzzle .item1>h3 {
        font-size: 1.2rem;
    }

    .puzzle .item2 {
        min-height: auto;
        border-radius: 1rem;
        background-size: 100px;
        background-position: 0% 100%;
    }

    .puzzle .item2>p {
        font-size: 1.4rem;
        padding: 0;
    }

    .puzzle .item3 {
        min-height: auto;
        border-radius: 1rem;
        background-size: 100px;
        background-position: 0% -20%;
    }

    .puzzle .item3 .txt {
        text-align: center;
    }

    .puzzle .item3 .txt>p {
        font-size: 1.4rem;
    }
}