@charset "utf-8";
/***************************************
    copyright by MakeWeb.com.tw 
***************************************/

.online_audiobook_bg {
    grid-area: 1 / 1 / 3 /2;
    background-image: url(../../../../../cufiles/images/home/online_magazine.png);
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: -170px;
}
.sec_1 .content_box {
}
.sec_1 .content_l_box {
    display: flex;
    flex: 1;
    order: 2;
    flex-direction: column;
    justify-content: center;
    grid-area: 2 /2 /3 /3;
}
.sec_1 .content_r_box {
    flex: 1;
    grid-area: 2 / 1 / 3 / 2;
    text-align: center;
}
.post_intro_box::after {
    width: 100%;
    height: 260px;
    display: block;
    content: '';
    background-image: url(../../../../../cufiles/images/home/tmp_3_online_audiobook_sec_2.png);
    background-size: contain;
    background-repeat: repeat-x;
    margin-top: -60px;
}

.main_yellow_btn {
    background-color: #f8b32c;
    color: #fff;
}
.tab_box {
    width: 1280px;
    margin: auto;
    padding: 40px 20px;
    /*text-align: center;*/
}
.tab_content_box {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.tab_content_box figure {
    overflow: hidden;
    padding: 20px;
}
.tab_content_box .content_image {
    margin: 0 0 20px 0;
    margin: auto;
    width: 199px;
    height: 260px;
}
.tab_content_box .content_image img {
    max-width: 100%;
    /*box-shadow: 3px 3px 10px 0 rgba(0, 0, 0, 0.6);*/
    filter: drop-shadow(5px 5px 3px #aaa);
}
.tab_content_box figcaption {
}
.tab_content_box figcaption h5 {
    color: #777;
    margin-top: 15px;
}
.tab_content_box figcaption p {
    font-size: 1.6rem;
}
.tab_content_box figcaption .listen_box {
    padding: 10px 0;
    text-align: center;
}

.swiper-container {
    width: 100%;
    max-width: 800px;
    height: 100px;
    margin: 0 auto;
    padding: 0 40px;
}
.tab_title_box {
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
    left: 0;
}
.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
    right: 0;
}
.swiper-button-prev:after,
.swiper-container-rtl .swiper-button-next:after {
    color: #000;
    font-size: 2.5rem;
    font-weight: bold;
}
.swiper-button-next:after,
.swiper-container-rtl .swiper-button-prev:after {
    color: #000;
    font-size: 2.5rem;
    font-weight: bold;
}
/*-------------------------------------------- 
	Media Queries 
---------------------------------------------*/
/* Portrait and Landscape */
/*@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) {
}*/

/*iPad Pro*/
@media screen and (max-width: 1279px) {
    .tab_box {
        width: 100%;
    }
    .sec_1 .content_r_box {
        text-align: right;
    }
    .post_intro_box::after {
        height: 200px;
        margin-top: -20px;
    }
}

/*iPad*/
@media screen and (max-width: 1023px) {
    .post_intro_box::after {
        height: 160px;
        margin-top: -20px;
    }
    .swiper-container {
        width: 100%;
        padding: 0 20px;
    }
}
/*iPhone*/
@media screen and (max-width: 767px) {
    .sec_1 .content_box {
        grid-template-columns: 1fr;
        grid-template-rows: 128px auto auto;
        padding: 0 10px;
    }
    .sec_1 .content_l_box {
        grid-area: 3 /1 /4 /2;
    }
    .sec_1 .content_r_box {
        flex: 1;
        grid-area: 2 / 1 / 3 / 2;
        text-align: center;
    }
    .post_intro_box::after {
        width: 767px;
        height: 100px;
        margin-top: 0px;
    }
    .content_image_ask img {
        width: 100%;
    }
    .tab_content_box {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    .tab_box {
        padding: 20px;
    }
    .swiper-container {
        padding: 0 10px;
    }
}
