/* 반응형 */
/* 태블릿 */
/* 배너광고 변경 */
.readerbord_banner{
    display: block;
    width: 364px;
    height: 45px;
}

.mobileBanner{
    display: block;
}

/* header */
header{
    width: 100%;
    height: 1.7cm;
    display: flex;
    justify-content: center;
    align-items: center;

    #headerAll{
        width: 100%;
        height: 100%;

        display: flex;
        justify-content: space-between;
        align-items: center;

        /* logo */
        #logoBox{
            width: 170px;
            height: 100%;

            img{
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }

        /* 메뉴 */
        nav{

            display: none;
            #mainMenu{
                display: flex;

                li{
                }
                li>a{
                    font-size: 0.65rem;
                    padding: 0 4px;
                    font-family: "KOHIBaeumOTF";
                    
                    font-weight: bolder;
                    color: #636363;
                    &:hover{
                        border-bottom: 2px solid #000;
                        color: #000;
                    }
                }
            }
        }

        /* 햄버거 메뉴 */
        #hambugerMenu{
            display: block;
            z-index: 101;
            transition: 0.2s all;
        }

        #hambugerMenu_Box{
           display: block;
           height: 450px;

           ul{
                margin-top: 40%;
           }
        }
    }
}

/* ======================= */

/* visualSection */
#visualSection{
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;

    img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #visual_text{
        position: absolute;
        top: 20%;
        left: 5%;
        width: 500px;

        p{
            font-size: 3rem;
            font-family: "sansFont";
            font-weight: bolder;
        }
    }
}

/* ======================= */
/* main */
main{
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding-top: 10px;

    /* 배너 광고판 */
    .bannerBox{
        width: 300px;
        height: 610px; /* 10px은 top 여유 공간 */
        position: sticky;
        display: flex;
        align-items: end;
        top: 0;
        display: none;
        
        .banner{
            background: #fff;
            width: 100%;
            height: 600px;
        }
    }

    /* mainContentBox */
    #mainContentBox{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* 간단한 사이트 소개 */
#site_infoSection{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 500px;
    position: relative;
    padding: 0 15px;
    margin-top: 30px;

    #info_textBox{
        width: 90%;
        display: flex;
        flex-direction: column;
        z-index: 10;
        
        p{
            font-size: 1rem;
            line-height: 40px;
            font-family: "contentFont";
        }
    }

    #infoImg{
        width: 60%;
        height: 30%;
        overflow: hidden;
        box-shadow: 0 0 8px #b8b8b8;
        border-radius: 3px;

        img{
            width: 100%;
            height: 100%;
        }
    }
}
/* --------------- */

/* 메인 타이틀 */
.titleText{
    font-family: "titleFont";
    font-size: 2rem;
    font-weight: 600;
}

/* 주요 기능 */
#main_functionSection{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    padding-top: 40px;
    margin-bottom: 30px; /* 다음 영역과의 공백 */
    position: relative;
    overflow: hidden;
    border-top: 1px solid #bdbdbd;


    #main_functions{
        width: 100%;
        height: 85%;
        margin-top: 20px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;

        .main_function{
            box-shadow: 0 0 5px rgb(187, 187, 187);
            width: 80%;
            height: 250px;
            background: #fff;
            padding: 10px 5px;
            border-start-start-radius: 10px;
            border-start-end-radius: 10px;
            margin-top: 5px;
            margin-bottom: 10px;

            .function_img{
                width: 100%;
                height: 50%;
                overflow: hidden;
                border-start-start-radius: 5px;
                border-start-end-radius: 5px;

                img{
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

            .function_text{
                margin-top: 10px;

                p{
                    font-size: 1.6rem;
                    font-family: "titleFont";
                    margin-bottom: 5px;
                }
                span{
                    font-family: "contentFont";
                    font-size: 1rem;
                }
            }
        }
    }
}
/* ----------------- */

/* 사용 효과 영역 */
#use_effectSection{
    border-top: 1px solid #bdbdbd;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    margin-bottom: 30px; /* 다음 영역과의 공백 */
    position: relative;

    #effectBox{
        width: 100%;
        height: 60%;
        margin-top: 20px;

        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;

        .effect{
            width: 300px;
            height: 150px;
            display: flex;
            flex-direction: column;
            background: #fff;
            padding: 20px 10px;
            border-radius: 20px;
            box-shadow: 0 0 5px #cfcfcf;
            margin: 10px 0;

            p{
                font-size: 1.4rem;
                font-family: "titleFont";
            }
            span{
                font-size: 1.1rem;
                font-family: "contentFont";
                margin-top: 20px;
            }
        }
    }
}
/* ----------------- */
/* ================= */

/* footer */
footer{
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;

    #footerAll{
        width: 79%;
        display: flex;
        align-items: center;
        justify-content: center;
        

        #f_content{
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            #f_logo{
                width: 250px;
                height: 100px;
    
                img{
                    object-fit: contain;
                    width: 100%;
                    height: 100%;
                }
            }

            span{
                font-size: 1rem;
            }
            p{
                margin-top: 20px;
                font-size: 0.8rem;
                color: #000000;
            }
        }
    }
}