@import url("../style_news/style_news.css");
@import url(../../style_lightbox.css);
@import url(../../style_home.css);
@import url(../style_birds_nest/style_birds_nest.css);

.pageContent{
    padding-top: 0;
}
.pageContent > .wrap{
    max-width: unset;
    width: 100%;
    overflow: hidden;
}
/*  */
.banner{
    width: 100%;
}

.banner .swiper-slide{
    position: relative;
}
.banner .banner_btn_area{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    
    gap: .625rem;

}

.banner_btn_phone,
.banner_btn_line{
    width: 50%;
    max-width: clamp(14.0625rem,23.4375vw,28.125rem);
    padding: .625rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .625rem;
    color: var(--primary_color);
    font-size: clamp(1.25rem,2.0833vw,2.5rem);
    font-weight: 600;
    aspect-ratio: 516 / 106;
}
.banner_btn_phone{
    background-color: var(--fourth_color);
}

.banner_btn_line{
    background-color: #5F4C3E;
    color: var(--fourth_color);
}

.banner_btn_icon{
    width: 100%;
    max-width: clamp(2.1875rem,3.6458vw,4.375rem);
}
.banner_btn_icon span{
    position: relative;
    display: block;
    padding-top: 100%;
}
.banner_btn_icon span  img{
    width:100%;
    height:auto;
    transition: all 0.3s ease-out;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    float: none;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: all 0.3s ease-out;
}
.banner_btn_num:hover{
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}


@media (max-width: 640px){
    .banner .banner_btn_area{
       flex-direction: column;

    }
    .banner_btn_phone,
    .banner_btn_line{
        width: 70%;
        
    }
}

.index_videoBg .index_MagazineList .index_MagazineListIn .index_MagazineImg {
	position: relative;
   
    
    
	
}
.index_videoBg .index_MagazineList .index_MagazineListIn .index_MagazineImg a{
	padding-top: 30.46%;

}
.index_videoBg .index_MagazineList .index_MagazineListIn .index_MagazineImg a img{

    border-radius: 50px;
}
.index_videoBg .index_MagazineList .index_MagazineImg a::before{
	border-radius: 50px;
}
/* =============================== */
/* 最新消息列表 */
/* =============================== */
.index_videoBg{
	width: 100%;
	padding-top: 0;
}
.index_videoBg .index_video_area{
    padding: 0;
}
/* =============================== */
/* 網編區塊 */
/* =============================== */
.about_area {
    padding-top: clamp(0.9678rem, 1.5625vw, 1.8750rem);
}
.about_area .text_area{
    padding: 1.5625rem 0;
    padding: 0;
}
/* =============================== */
/* 禮儀服務 */
/* =============================== */
.funeral_service_area{

}
.news_Area {
    padding-top: clamp(0.9678rem, 1.5625vw, 1.8750rem);
}

.news_List {
    width: calc((100% / 3) - (2 * 1.5625vw / 3));
}
.news_Img a {
    padding-top: 55.44%;
}
.news_bottom{
    margin: clamp(0.4839rem, 0.7813vw, 0.9375rem) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}


.price{
    width: 50%;
    font-size: clamp(1.375rem,2.3438vw,2.8125rem);
    line-height: 1;
    flex: 1;
    color: var(--fifth_color);
    font-weight: 900;
    font-family: 'Noto Sans TC';
}

.news_Button{
    margin-top: 0;
    padding-top: 0;
    width: 50%;
    max-width: 10rem;
    flex: 1;
}
.news_Button a{
    background-color: var(--fourth_color);
    color: var(--primary_color);
    
}
.news_Button a{
    font-size: clamp(1.375rem,1.6667vw,2rem);
    
}

.news_bottom.faq{
   justify-content: center;
}

.news_bottom.faq .price{
    display: none;
}

.news_bottom.faq .news_Button{
    margin-top: 0;
    padding-top: 0;
    width: 60%;
    max-width: 15rem;
    flex: unset;
    
}
.news_bottom.faq .news_Button a{
    background-color: var(--primary_color);
    color: var(--fourth_color);
    
}


@media (max-width: 990px){
    .news_List {
        width: calc((100% / 2) - (1.5625vw / 2));
    }
}
@media (max-width: 640px){
    .news_List {
        width: 100%;
    }
}


/* =============================== */
/* 其他服務 */
/* =============================== */
.other_service_area{
    padding-top: clamp(0.9678rem, 1.5625vw, 1.8750rem);
}
.other_service_area .news_List{
    width: calc((100% / 4) - (3 * 1.5625vw / 4));
}
.other_service_area .news_List .news_bottom{
    justify-content: center;
}
.other_service_area .news_List .news_bottom .news_Button{
    margin-top: 0;
    padding-top: 0;
    width: 50%;
    max-width: 10rem;
    flex: unset;
    
}


@media (max-width: 990px){
    .other_service_area .news_List{
        width: calc((100% / 2) - ( 1.5625vw / 2));
    }
}
/* =============================== */
/* 其他服務2 */
/* =============================== */
.other_service_area2{
    padding: clamp(0.9678rem, 1.5625vw, 1.8750rem) 0;
}
.other_service_area2 .news_List{
    width: calc((100% / 3) - (2 * 1.5625vw / 3));
}
.other_service_area2 .news_List .news_bottom{
    justify-content: center;
}
.other_service_area2 .news_List .news_bottom .news_Button{
    margin-top: 0;
    padding-top: 0;
    width: 50%;
    max-width: 10rem;
    flex: unset;
    
}
.other_service_area2 .news_bottom .news_Button a{
    color: var(--fourth_color);
    background-color: var(--primary_color);
    
}


/* =============================== */
/* 其他服務_qa */
/* =============================== */
.qa_area{
    padding: clamp(0.9678rem, 1.5625vw, 1.8750rem) 0;
    background-color: var(--fourth_color);
    position: relative;
}
.qa_list_area{
    padding-top: 2.8125rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
}
.qa_list_area .mySwiperQA{
    width: calc(100% - 30px);
}

.qa_area .news_List{
   width: 100%;
   
}
.qa_area .news_List .news_ListIn{
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: flex-start;
   width: 100%;
   
}
.qa_area .news_List .news_ListIn .news_Tit{
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    max-height: 2.1875rem;
    overflow: hidden;
    
    margin: .625rem 0;
    max-width: 423px;
    padding: 0;
   
    
    
    
}
.qa_area .news_List .news_ListIn .news_Tit a{
    font-size: clamp(1rem,1.0417vw,1.25rem); 
    color: var(--primary_color);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-height: 1.5;
    width: 100%;
    display: block;
    text-align: center;
    
    
    
}

.qa_area .news_List .news_ListIn .news_info_area {
    height: calc(76px * 3);
    height: unset;
    display: flex;
    flex-direction: column;
    gap: .3125rem;
}
.qa_area .news_List .news_ListIn .news_info_area .news_Text{
    padding-bottom: 3px;
    margin: 0;
    border-bottom: 1px solid var(--primary_color);
    width: 100%;
    line-height: 1.5;
    font-weight: 400;
    font-size: 1rem; 
    min-height: 76px;
    box-sizing: border-box;
    
}
.qa_area .news_List .news_ListIn .news_info_area .news_Text:last-of-type{
    
    border-bottom: none;
}
.qa_area .news_List .news_ListIn .news_bottom{
    
    width: 100%;
    justify-content: center;
    
}
.qa_area .news_List .news_ListIn .news_bottom a{
    
    color: var(--fourth_color);
    background-color: var(--primary_color);

}

/* 輪播箭頭樣式 */
	.qa_area .swiper-button-prev{
		position: absolute;
		top: 50%;
		top: unset;
		left: clamp(6.25rem,10.4167vw,12.5rem);
        left: unset;
		margin: 0px;
		width: 15px;
		height: 22px;
		background-size: 22px;
		background-position: center;
		background-repeat: no-repeat;
		-webkit-transform: unset;
		transform: unset;
		/* z-index: 10; */
        position: relative;
	} 
	.qa_area .swiper-button-next {
		position: absolute;
		top: 50%;
        top:unset;
		right: clamp(6.25rem,10.4167vw,12.5rem);
        right:unset;
		margin: 0px;
		width: 15px;
		height: 22px;
		background-size: 22px;
		background-position: center;
		background-repeat: no-repeat;
		-webkit-transform: translateY(-50%);	
		-webkit-transform: unset;	
		transform: rotate(180deg);
        position: relative;
	}
    
    @media (max-width: 990px){
        .qa_area .swiper-button-prev,
        .qa_area .swiper-button-next {
            display: block;
        }
    }

/* 所有區塊在768px的樣式 */
@media (max-width: 768px){
    .news_List{
        width: 100% !important;
    }
    .qa_area .news_List .news_ListIn .news_Tit{
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        max-height: 2.1875rem;
        overflow: hidden;
        
        margin: .625rem 0;
        max-width: unset;
        padding: 0;
    
        
        
        
    }
}

/* =============================== */
/* 最新消息列表 */
/* =============================== */
.home_bottom{
    padding: clamp(0.9678rem, 1.5625vw, 1.8750rem) 0;
}
.home_bottom .text_area{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.home_bottom .text_area img{
    width: 100%;
    /* max-width: 31.25rem; */
    height: auto;
}
.home_bottom_btn_area{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.home_bottom_btn_area .home_bottom_btn{
    width: 48%;
    
    
}
.home_bottom_btn_area .home_bottom_btn img{
    width: 100%;
    /* max-width: 31.25rem; */
    height: auto;
    aspect-ratio: 520 / 105;
}


@media (max-width: 640px){
    .home_bottom_btn_area{
        flex-direction: column;
    }
}