:root{
    --main-color: #044996;
    --secondary-color: #1D294D;
    --l-width-1200px:1200px;
    --l-width-1024px:1024px;
    --l-width-768px:768px;

}

/* 捲軸軌道 */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: transparent;
}
/* 捲軸寬度 */
::-webkit-scrollbar {
    width: 8px;
    background-color: transparent;
}
/* 捲軸本體顏色 */
::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
    border-radius: 8px;
}
/* header */
.header_inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: var(--l-width-1200px);
    height: 76px;
    margin: 0 auto;
}

.header_logo{
    width: 102px;
}
.header_logo a{
    display: block;
}
.header_logo a img{
    width: 100%;
}
.header_search_pc{
    display: flex;
}
.search_input{
    width: 236px;
    height: 35px;
    border-radius: 20px;
    border: 1px solid #999999;
    padding-left: 20px;
    font-size: 15px;
    margin-right: 10px;
}
.search_btn{
    display: inline-block;
    background: none;
    border: none;
    width: 35px;
    height: 35px;
    margin-right: 10px;
    cursor: pointer;
}
.search_btn img{
    width: 100%;
    height: 100%;
}
.en_page{
    display: inline-block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    line-height: 35px;
    text-align: center;
    color: #fff;
    background-color: var(--main-color);
}
.header_search_m{
    display: none;
}
.header_search_m .search_btn{
    width: 25px;
    height: 25px;
}

@media (max-width:1199px) {
    .header_inner{
        width: 100%;
        padding: 0 15px;
    }
    .header_search_pc{
        display: none;
    }
    .header_search_m{
        display: block;
    }
    .header_logo{
        width: 72px;
    }
}

@media (max-width:1023px){
    .header_inner{
       height: 65px;
    }
}

@media (max-width:428px){
    .header_inner{
       height: 45px;
    }
    .header_logo{
        width: 62px;
    }
}

/* nav */
nav{
    background-color: var(--main-color);
    z-index: 99;
}
.nav_inner_pc{
    width: var(--l-width-1200px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
}
.nav_inner_pc li{
    font-size: 18px;
    line-height: 45px;
}
.nav_inner_pc li a{
    display: inline-block;
    color: #fff;
    font-size: 18px;
    padding: 4px 15px;
    border-radius: 5px;
    margin-right: 16px;
    line-height: 26px;  
}
.nav_inner_pc li a:hover{
    background-color: var(--secondary-color);
}
.nav_sub{
    display: none;
    position: absolute;
    width: fit-content;
    border-radius: 0 0 5px 5px;
    background-color: var(--main-color);
    flex-direction: column;
    padding-bottom: 7px;
    z-index: 10;
}
.nav_inner_pc .nav_sub a {
    border-radius: 0;
    margin: 0;
    padding: 4px 20px;
    font-size: 16px;
    line-height: 32px;
    background-color: var(--main-color);
}
.nav_inner_pc li:last-child a{
    width: max-content;
}
.nav_inner_pc .nav_sub a:hover{
    background-color: var(--secondary-color);
}
.nav_inner_pc li:hover .nav_sub{
    display: flex;
}

.ham_close{
    width: 25px;
    height: 25px;
    background: none;
    border: none;
    position: absolute;
    top: 20px;
    right: 25px;
}

.nav_inner_m li a{
    display: block;
    font-size: 18px;
    line-height: 25px;
    color: #fff;
    padding: 10px 15px;
}
.nav_subtitle_m{
    border-radius: 5px;
    position: relative;
}
.nav_subtitle_m img{
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.nav_inner_m .nav_sub_m a{
    color: #fff;
}
.nav_sub_m{
    display: none;
    padding-bottom: 10px;
    border-bottom: 1px solid #788095;
    margin-bottom: 20px;
}

.nav_inner_m{
    display: none;
    position: fixed;
    flex-direction: column;
    justify-content: flex-start;
    background-color: var(--secondary-color);
    padding:75px 40px 0;
    width: 460px;
    height: 100%;
    top: 0;
    right: -100%;
    opacity: 1;
    overflow-y: scroll;
    transition: right .8s ease-in-out;
    z-index: 100;
}

.search_page{
    position: fixed;
    z-index: 101;
    width: 460px;
    height: 100%;
    background-color: var(--secondary-color);
    top: 0;
    right: -100%;
    transition: right .8s ease-in-out;
}
.search_close_btn{
    background: none;
    border: none;
    position: absolute;
    top: 23px;
    right: 18px;
}
.search_page_inner{
    padding: 30% 25px 0 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.search_page_input{
    width: 100%;
    background: none;
    appearance: none;
    background-image: url('../images/search_page_btn.svg');
    background-position: left 10px;
    background-repeat: no-repeat;
    border: none;
    font-size: 18px;
    line-height: 20px;
    padding: 15px 0 15px 40px;
    border-radius: 0;
    border-bottom: 1px solid #788095;
    color: #fff;
    margin-bottom: 53px;
}
.search_page_btn{
    width: fit-content;
    background: none;
    border: none;
    padding: 8px 42px;
    font-size: 18px;
    line-height: 26px;
    color: #fff;
    border: 1px solid currentColor;
    border-radius: 30px;
}
.ham{
    background: none;
    border: none;
}
@media (max-width:1199px) {
    nav{
        background-color: rgba(0, 0, 0, 0.7);
        width: 100%;
        height: 0;
        position: absolute;
        top: 0;
        left: 0;
    }
    .nav_inner_pc{
        display: none;
    }
    .nav_inner_m{
        display: flex;
       
    }   
}
@media (max-width:1023px){
    .nav_inner_m, .search_page{
        width: 100%;
        overflow-y: auto;
    }
}

.hero_section{
    background-color: #000;
    overflow-y: hidden;
}
.section_inner{
    width: var(--l-width-1200px);
    margin: 0 auto;
}
.hero_section .section_inner{
    display: grid;
    grid-template-columns: 900px 270px;
    justify-content: space-between;
    align-items: flex-start;
}
.hero_main{
    width: 100%;
}
.hero_main img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero_sub{
    display: grid;
    flex-direction: column;
    gap: 25px;
}
.sub_item{
    flex-shrink: 0;
    width: 100%;
    position: relative;
    z-index: 1;
}
.sub_item::before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    z-index: 10;
    opacity: 1;
    transition: all 0.3s linear;
}
.sub_item:hover::before{
    opacity: 0;
}
.sub_item img{
    display: block;
    width: 100%;
}
.title{
    padding: 10px;
    position: absolute;
    width: 100%;
    bottom: 0;
    color: #fff;
    z-index: 11;
}
.title span{
    border-radius: 3px;
    padding: 3px 5px;
    border: 1px solid #fff;
    background-color: rgba(0, 0, 0, 0.7);
    font-size: 12px;
    line-height: 18px;
}
.title h3{
    margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
/* swiper */
.button-next{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 32px;
    height: 55px;
    background-color: #000000;
    border-radius: 5px 0px 0px 5px;
    opacity: 0.7;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.button-prev{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 32px;
    height: 55px;
    background-color: #000000;
    border-radius: 0px 5px 5px 0px;
    opacity: 0.7;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.button-next img, .button-prev img{
    width: 11px;
    height: 20px;
}

.pagination{
    position: absolute;
    background-color: #000;
    opacity: 0.7;
    border-radius: 12px;
    padding: 1px 10px;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
    bottom: 20px;
    right: 20px;
    z-index: 3;
}
.pagination span{
    font-size: 14px;
    line-height: 20px;
    color: #fff;
}

@media (max-width:1199px){
    .section_inner{
        width: var(--l-width-1024px);
    }
    .hero_section .section_inner{
        grid-template-columns: 768px 230px;
    }
    .hero_sub{
        gap: 22px;
    }
}

@media (max-width:1023px){
    .section_inner{
        width: var(--l-width-768px);
    }
    .hero_section .section_inner{
       grid-template-columns: 100%;
       gap: 10px;
    }
    .hero_sub{
        overflow-x: auto;
        grid-template-columns: repeat(3,285px);
        gap: 15px;
        margin-bottom: 10px;
    }
    .hero_sub::-webkit-scrollbar {
       display: none;
    }
    /* 捲軸本體顏色 */
    .hero_sub::-webkit-scrollbar-thumb {
        display: none;
    }
    .button-prev, .button-next{
        display: none;
    }
}
@media (max-width:768px){
    .section_inner{
        width: 100%;
    }
}
@media (max-width:428px){
    .hero_sub{
        overflow-x: auto;
        grid-template-columns: repeat(3,250px);
        gap: 15px;
    }
}
/* main */
.news_section{
    padding-top:25px;
    padding-bottom: 35px;
}
.breaking_news{
    padding-bottom: 45px;
}
.section_title{
    text-align: center;
}
.section_title a, .section_title p{
    display: inline-block;
    margin: 0;
    font-size: 30px;
    font-weight: bold;
    line-height: 52px;
    border-bottom:2px solid #000000;
    color: #000;
}
.section_socials{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #CCCCCC;
}
.weather{
    display: flex;
    align-items: center;
    color: #000;
}
.weather_title{
    font-size: 16px;
    line-height: 22px;
}
.weather_img{
    width: 30px;
    height: 30px;
    margin-left: 10px;
}
.weather_img img{
    display: block;
    width: 100%;
    height: 100%;
}
.social_tools{
    font-size: 16px;
    line-height: 20px;
}
.download_app, .social_group, .shopping_link{
    font-size: 16px;
    line-height: 20px;
    color: #000;
    transition: color 0.3s linear;
}
.download_app:hover, .shopping_link:hover{
    color: var(--main-color);
}
.shopping_link::before{
    content: '｜';
    margin-right: 10px;
    color: #000;
}
.social_group{
    display: inline-flex;
    align-items: center;
}
.social_group a{
    margin-left: 10px;
}
.social_group a img{
    display: block;
}

.social_group a img:last-of-type{
   display: none;
}
.social_group a:hover img:last-of-type{
    display: block;
}
.social_group a:hover img:first-of-type{
    display: none;
}
.social_group::before{
    content: '｜';
    margin-right: 5px;
}
@media (max-width:1199px){
    .news_section{
        padding-top: 15px;
    }
    .breaking_news{
        padding-bottom: 30px;
    }
    .weather_pc, .social_group{
        display: none;
    }
}
@media (max-width:1023px){
    .section_socials{
        padding-bottom: 0;
        border-bottom: none;
    }
    .section_title p, .section_title a {
        font-size: 22px;
        line-height: 40px;
    }
}
@media (max-width:600px){
    .breaking_news{
        padding-bottom: 22px;
    }
}
.section_news{
    display: grid;
    grid-template-columns: 410px 410px 330px;
    column-gap: 25px;
    align-self: flex-start;
    padding-top: 20px;
}
.news_popular{
    display: block;
}
.popular_img{
    width: 100%;
    overflow: hidden;
}
.popular_img img{
    display: block;
    width: 100%;
    transition:0.3s;
}
.news_popular h2{
    font-weight: bold;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: 10px;
    color: #000;
    transition: all 0.3s linear;
    height: 56px;
}
.news_popular h5{
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-top: 10px;
    color: #666666;
}
.popular_time{
    margin-top: 20px;
    padding-left: 20px;
    background: url('../images/Icon-clock.svg') center left no-repeat;
    background-size: 14px 14px;
    font-size: 14px ;
    line-height: 20px;
    color: #666666;
}

.news_popular:hover h2{
    color: var(--main-color);
}
.news_popular:hover .popular_img img{
    transform:scale(1.1); 
}

.news_sub_wrap{
    display: flex;
    flex-direction: column;
}
.sub_card {
    display: flex;
    border-bottom: 1px solid #CCCCCC;
    padding-bottom: 12px;
    margin-top: 13px;
}
.sub_card h3{
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    color: #000000;
    transition: all 0.3s linear;
}
.sub_card .popular_time{
    margin-top: 4px;
}
.news_sub_wrap .sub_card:first-of-type{
    margin-top: 0;
}
.sub_card_img{
    display: none;
    width: 126px;
}
.sub_card:hover h3{
    color: var(--main-color);
}
@media (max-width:1199px){
    .section_news{
        grid-template-columns: 335px 335px 280px;
        column-gap: 22px;
    }
    .breaking_news .section_inner{
        padding: 0 15px;
    }
}
@media (max-width:1023px){
    .section_news{
      display: flex;
      flex-wrap: wrap;
      column-gap: 0%;
    }
    .section_news .news_popular:first-of-type{
        margin-right: 4%;
    }
    .news_popular{
        width: 48%;
    }
    .news_popular h5{
        display: none;
    }
    .popular_time{
        margin-top: 5px;
    }
    .news_sub_wrap{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(3,97px);
        width: 100%;
        height: 284px;
        margin-top: 30px;
        column-gap: 4%;
    }
    .news_sub_wrap .sub_card:first-of-type{
        margin-top: 13px;
    }
    .sub_card_img{
        display: block;
        margin-right: 12px;
    }
    .sub_card h3{
        -webkit-line-clamp: 2;
    }
}
@media (max-width:600px){
    .section_news{
        column-gap: 0;
        row-gap: 25px;
        padding-top: 5px;
      }
    .section_news .news_popular:first-of-type{
        margin-right: 0;
    }
    .news_popular, .sub_card{
        width: 100%;
    }
    .news_sub_wrap{
        grid-template-columns:1fr ;
        grid-template-rows:repeat(6,90px) ;
        margin-top: 0;
        height: auto;
    }
    .sub_card_img{
        margin-right: 4%;
    }
    .news_popular h2{
        height: auto;
    }
}
.topic_news{
    background-color: var(--secondary-color);
    padding: 36px 0 30px 0;
}

.topic_title{
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.topic_title p{
    margin: 0;
    font-size: 22px;
    line-height: 22px;
    font-weight: bold;
    color: #fff;
}
.topic_title a{
    font-size: 16px;
    line-height: 22px;
    color: #fff;
    background: url('../images/Icon-right.svg') center left no-repeat;
    padding-left: 15px;
}
.topic_article_outer{
    position: relative;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}
.topic_article_outer::-webkit-scrollbar {
    display: none;
 }

.topic_article{
    display: flex;
}
.topic_card{
    width: 280px;
    flex-shrink: 0;
    margin-right: 10px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
.topic_article .topic_card:last-of-type{
    margin-right: 0;
}
.topic_card img{
    display: block;
    width: 100%;
}
.topic_card h2{
    margin-top: 5px;
    color: #fff;
    font-weight: bold;
}

.topic_btn{
    margin-top: 25px;
   text-align: right;
}
.btn_left, .btn_right{
    border: none;
    background-color: transparent;
    margin-left: 15px;
    cursor: pointer;
}
.socials_m{
    display: none;
    padding-top:15px;
    text-align: center;
}
.socials_title span{
    font-size: 16px;
    line-height: 22px;
    color: #000;
    position: relative;
    background-color: #fff;
    padding: 0 20px;
}
.socials_title span::before{
    content: '';
    display: block;
    width: 200px;
    height: 1px;
    background-color: #000;
    padding-left: 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: -1;
}
.social_link{
    padding-top: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit,40px);
    justify-content: center;
    column-gap: 10px;
}
.social_link a img{
    display: block;
}
.social_link a img:last-of-type{
    display: none;
}
.social_link a:hover img:first-of-type{
    display: none;
}
.social_link a:hover img:last-of-type{
    display: block;
}
@media (max-width:1023px){
    .topic_news{
        padding: 23px 15px 34px 16px;
    }
    .topic_card{
        width: 285px;
    }
    .topic_btn{
       display: none;
     }
     .topic_article_outer {
        overflow-x: auto;
    }
    .socials_m{
        display: block;
    }
}
@media (max-width:800px){
    .topic_news{
        padding-right: 0;
        overflow-x: hidden;
    }
    .topic_news .section_inner{
        margin: 0;
        width: 100%;
    }
    .topic_title{
        padding-right: 15px;
    }
    .topic_card{
        width: 280px;
        margin-right: 20px;
    }
    .topic_article {
        padding-right: 15px;
        width: fit-content;
    }
}
/* program */
.woman_program, .supertaste_program, .health_program{
    padding-bottom: 20px;
}
.program_title{
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding-top: 15px;
    padding-bottom: 13px;
    border-bottom: 1px solid #ccc;
}
.woman_logo, .supertaste_logo, .health_logo, .car_logo{
    display: block;
}
.woman_logo{
    width: 162px;
}

.supertaste_logo{
    width: 131px;
}

.health_logo{
    width: 166px;
}

.car_logo{
    width: 239px;
}

.woman_logo img, .supertaste_logo img, .health_logo img, .car_logo img{
    width: 100%;
}

.program_article{
    display: grid;
    align-items: flex-start;
    grid-template-columns: 480px 690px;
    column-gap: 30px;
    padding-top: 20px;
    padding-bottom: 37px;
    position: relative;
}
.article_main{
    position: relative;
}
.article_main .main_img{
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
}
.main_img img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition:0.3s;
}

.main_title{
    width: 90%;
    padding: 15px 16px;
    background-color: #fff;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
}
.main_title p{
    margin: 0;
    font-size: 20px;
    line-height: 28px;
    font-weight: bold;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: 0.3s linear;
}
.article_main:hover .main_img img{
    transform: scale(1.1);
}
.article_main:hover .main_title p{
    color: var(--main-color);
}
.article_sub{
    position: relative;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.article_sub::-webkit-scrollbar {
    display: none;
 }

.article_sub_wrap{
    display: flex;
}
.article_sub_card{
    width: 235px;
    flex-shrink: 0;
    margin-right: 30px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
.article_sub_wrap .article_sub_card:last-of-type{
    margin-right: 0;
}
.article_sub_img{
    position: relative;
    width: 100%;
    padding-bottom: 56.26%;
    overflow: hidden;
}
.article_sub_img img{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition:0.3s;
}

.article_sub_card h3{
    margin-top: 8px;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: 0.3s linear;
}
.article_sub_card p{
    margin: 0;
    margin-top: 10px;
    font-size: 14px;
    line-height: 20px;
    color: #666666;
}
.article_sub_card:hover .article_sub_img img{
    transform:scale(1.1); 
}
.article_sub_card:hover h3{
    color: var(--main-color);
}
.article_sub_btn{
    position: absolute;
    bottom: 0;
    right: 0;
}
.article_sub_btn button{
    cursor: pointer;
}

.car_program .social_group::before{
    display: none;
}


@media (max-width:1199px){
    .program_article{
        grid-template-columns: 410px 590px;
        column-gap: 24px;
    }
}
@media (max-width:1023px){
    .program_article{
        grid-template-columns: 100%;
        column-gap: 0;
        row-gap: 60px;
        padding-bottom: 0;
    }
    .article_sub_wrap {
        width: fit-content;
        padding-right: 15px;
    }
    .article_main{
        width: 85%;
        padding:0 15px;
        margin: 0 auto;
    }
    .article_sub_btn{
        display: none;
    }
    .article_sub_card{
        width: 260px;
    }
}

@media (max-width:800px) {
    .program_title{
        padding: 28px 15px 6px 15px;
        border-bottom: none;
    }
    .woman_logo{
        width: 143px;
    }
    .supertaste_logo{
        width: 93px;
    }
    .health_logo{
        width: 142px;
    }
    .car_logo{
        width: 187px;
    }
    .article_sub{
        margin-left: 15px;
    }
    .article_sub_card{
        width: 235px;
    }
    .program_article{
        padding-top: 5px;
    }
    
}
@media (max-width:600px){
    .main_title{
        width: 85%;
        padding:10px 14px;
     }
    .article_main{
        width: 100%;
    }
    .woman_logo{
        width: 116px;
    }
    .supertaste_logo{
        width: 83px;
    }
    .health_logo{
        width: 110px;
    }
    .car_logo{
        width: 167px;
    }
    .article_sub{
       margin-left: 15px;
    }
}
.more_program{
    padding: 48px 0 63px 0;
    position: relative;
}
.more_title{
    padding-bottom: 15px;
    font-size: 20px;
    line-height: 28px;
    font-weight: bold;
    color: var(--main-color);
}

.more_program .article_sub_card{
    width: 235px;
    height: 350px;
    border-radius: 8px;
    border: 1px solid #CCCCCC;
    overflow: hidden;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.more_program .article_sub_card img{
    width: 100%;
}

.more_card_text{
    display: inline-block;
    padding: 5px 12px 10px 12px;   
}
.more_card_text h2{
    margin-top:3px;
    height:48px;
    line-height:24px;
}
.more_card_text h5{
    margin-top: 5px;
    color: #666666;
}
.more_card_socials{
    display: grid;
    grid-template-columns: repeat(auto-fit,34px);
    grid-auto-flow: column;
    column-gap: 10px;
    position: absolute;
    z-index: 3;
    right: 12px;
    bottom: 15px;
    justify-content: right;
}
.more_card_socials a{
    display: block;
    background-color: #fff;
    border-radius: 50%;
}
.more_card_socials a img{
    display: block;
    width: 100%;
}
.more_card_socials a img:last-of-type{
    display: none;
}
.more_program .article_sub_card:hover .more_card_text h2{
    color: var(--main-color);
}
.more_program .article_sub_card .more_card_socials a:hover img:first-of-type{
    display: none;
}
.more_program .article_sub_card .more_card_socials a:hover img:last-of-type{
    display: block;
}
@media (max-width:1023px){
    .more_program{
        padding-top: 30px;
        padding-bottom: 20px;
    }
    .more_program .article_sub_card{
        width: 215px;
    }
    .more_card_socials{
        grid-template-columns: repeat(auto-fit,30px);
    }
}
@media (max-width:800px){
    .more_title{
        margin-left: 15px;
    }
    .more_program .article_sub_card{
        width: 235px;
    }
}
.drama_section{
    padding-bottom: 40px;
}
.drama_main{
    padding:50px 0 39px 0 ;
    display: grid;
    grid-template-columns: 50% calc(50% - 25px);
    column-gap: 25px;
    cursor: pointer;
}
.drama_main_img{
    overflow: hidden;
}
.drama_main_img img{
    width: 100%;
    transition: 0.3s ;
}
.drama_main_text{
    position: relative;
    padding-bottom: 50px;
}
.drama_main_text h2{
    font-weight: bold;
}
.drama_main_text p{
    margin: 15px 0px;
    font-size: 18px;
    line-height: 30px;
    color: #888;
}
.drama_main:hover .drama_main_img img{
    transform: scale(1.1);
}
.drama_main:hover h2{
    color: var(--main-color);
}
.drama_socials{
    display: grid;
    grid-template-columns: repeat(auto-fit,40px);
    grid-auto-flow: column;
    column-gap: 10px;
    position: absolute;
    right: 0;
    bottom: 0;
}
.drama_socials a img{
    display: block;
}
.drama_socials a img:last-of-type{
    display: none;
}
.drama_socials a:hover img:first-of-type{
    display: none;
}
.drama_socials a:hover img:last-of-type{
    display: block;
}

.drama_sub_wrap{
   display: grid;
   grid-template-columns: repeat(auto-fit,282px);
   column-gap: 24px;
   row-gap: 55px;
   padding-bottom: 54px;
}
.drama_more_m{
    display: none;
    margin: 0;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 28px;
    font-weight: bold;
    color: var(--main-color);
}
.drama_sub_card{
    width: 282px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
.drama_sub_card.hide{
    display: none;
}
.drama_sub_img{
    width: 100%;
    overflow: hidden;
}
.drama_sub_img img{
    display: block;
    width: 100%;
    transition: 0.3s;
}
.drama_sub_card h3{
    margin-top: 10px;
    color: #000;
}
.drama_sub_card:hover .drama_sub_img img{
    transform: scale(1.1);
}
.drama_sub_card:hover h3{
    color: var(--main-color);
}

.drama_more{
    display: block;
    text-align: center;
}
.drama_more.hide_btn{
    display: none;
}
.drama_more button{
    display: inline-block;
    padding: 12px 73px 12px 55px;
    font-size: 18px;
    line-height: 28px;
    background: url('../images/arrow-down_black.svg') no-repeat;
    background-position: 140px center;
    background-size: 11px 6px;
    border: 1px solid #000;
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
}
.drama_more button:hover{
    background: url('../images/arrow-down_white.svg') no-repeat,#044996;
    background-position: 140px center;
    background-size: 11px 6px;
    border: 1px solid #044996;
    color: #fff;
}
@media (max-width:1199px){
    .drama_sub_wrap{
        justify-content: center;
    }
}
@media (max-width:1024px){
    .drama_main{
        padding: 15px 0 25px 0;
        grid-template-columns: 100%;
        column-gap: 0;
        row-gap: 12px;
    }
    .drama_sub{
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
    }
    .drama_sub::-webkit-scrollbar {
        display: none;
     }
    .drama_sub_wrap{
        grid-auto-flow: column;
        justify-content: start;
        padding-bottom: 0;
    }
    .drama_more{
        display: none;
    }
    .drama_more_m{
        display: block;
    }
    .drama_socials{
        right: 50%;
        transform: translate(50%);
    }
   
}

@media (max-width:800px){
    .drama_section .section_inner{
        width: 100%;
        padding: 20px 0 0 15px;
    }
    .drama_main{
        padding-right:15px;
    }
    .drama_sub_wrap {
        width: fit-content;
        padding-right: 15px;
    }
}
.post_section{
    background: url('../images/post-banner.png') center no-repeat;
    background-size: cover;
    padding-top: 45px;
    padding-bottom: 63px;
}
.post_card_wrap{
    display: grid;
    padding-top: 66px;
    grid-template-columns: repeat(4,210px);
    column-gap: 70px;
    justify-content: center;
}
.post_card{
    display: block;
    background-color: rgba(0, 0, 0, 0.4);
    position: relative;
    padding-bottom: 100%;
}
.post_card p{
    margin: 0;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 18px;
    line-height: 28px;
    color: #fff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.post_card:hover p{
    text-decoration: underline;
}

@media (max-width:1199px){
    .post_card_wrap{
        grid-template-columns: repeat(2,210px);
        column-gap: 70px;
        row-gap: 48px;
    }
    .post_card p{
        font-size: 16px;
        line-height: 26px;
    }
}
@media (max-width:800px){
    .post_section{
        padding-bottom: 58px;
    }
    .post_card_wrap{
        padding-top: 38px;
    }
}
@media (max-width:600px){
    .post_card_wrap{
        grid-template-columns: repeat(2,180px);
        column-gap: 25px;
        row-gap: 25px;
    }
}
@media (max-width:414px){
    .post_card_wrap{
        padding: 40px 15px 0 15px;
        grid-template-columns: repeat(2,1fr);
    }
    .post_card p{
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}
footer{
    background-color: #222222;
}
.footer_inner_pc{
    width: var(--l-width-1200px);
    margin: 0 auto;
    padding-top: 52px;
}
.footer_content{
    padding-bottom:39px;
    display: grid;
    grid-template-columns: 352px 606px;
    grid-template-rows: 130px;
    column-gap: 130px;
    border-bottom: 1px solid #666666;
}
.footer_info{
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}
.footer_info a{
    text-decoration: underline;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}
.footer_info p{
    margin: 0;
}
.footer_info p:first-of-type{
    margin: 10px 0;
}
.footer_item{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    column-gap: 90px;
}
.footer_item a{
    font-size: 16px;
    line-height: 32px;
    color: #888888;
    transition: color 0.3s linear;
}
.footer_item a:hover{
    color: #fff;
}

.footer_bottom{
    padding:17px 0 24px 0 ;
}
.footer_bottom h6{
    text-align: right;
    color: #888888;
}
.footer_inner_m{
    display: none;
    padding: 19px 15px;
    text-align: center;
}
.footer_inner_m p{
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: #888888;
}
.footer_inner_m a{
    font-size: 14px;
    line-height: 20px;
    color: #888888;
    text-decoration: underline;
}
@media (max-width:1199px){
    .footer_inner_pc{
        width: 95%;
    }
    .footer_content{
        justify-content: center;
        column-gap: 40px;
    }
    .footer_item{
        column-gap: 30px;
    }
    .footer_bottom{
        padding-right: 15px;
    }
}
@media (max-width:1023px){
    .footer_inner_pc{
        display: none;
    }
    .footer_inner_m{
        display: block;
    }
}

/* Privacy Policy */
.policy{
    width: 100%;
    position: fixed;
    bottom: -100%;
    padding: 30px 60px;
    background: #fff;
    z-index: 11;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 18px rgb(0 0 0 / 20%);
    animation-name:fadeIN;
    animation-duration:2s;
    animation-fill-mode:forwards;
    opacity: 1;
    transition: all 0.5s ease-in-out;
}
@keyframes fadeIN{
    from{
        bottom:-100%;
    }
    to{
        bottom:0;
    }
}
.policy h6{
    line-height: 22px;
    font-weight: bold;
    width: fit-content;
    background: url('../images/lock.svg') center right no-repeat;
    padding-right: 28px;
}
.policy p{
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 22px;
    color: #333333;
}
.policy p a{
    color: #578BF7;
    text-decoration: underline;
}

.policy_close{
    flex-shrink: 0;
    padding-left: 50px;
}

.policy_agree{
    background: none;
    border: none;
    font-size: 16px;
    line-height: 22px;
    color: #fff;
    padding: 8px 22px;
    border-radius: 5px;
    background-color: #578BF7;
    cursor: pointer;
}

.policy_close_btn{
    background: none;
    border: none;
    margin-left: 53px;
    cursor: pointer;
}
@media (max-width:768px){
    .policy{
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px;
    }
    .policy_close{
        padding-left: 20px;
    }
    .policy_close_btn{
        position: absolute;
        right: 15px;
        top: 15px;
    }
}

/* go to top */
.gotop {
    display: block;
    position: fixed;
    margin: 0 30px 30px 0;
    z-index: 9;
    right: 0;
    bottom: 0;
    text-align: center;
    transition: 0.5s;
}
.gotop-img {
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 5px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
}
.gotop-img img {
    width: 22px;
    height: auto;
    margin-top: 13px;
}

.hide-top{
    transform: translateY(100px);
}

