/* -- reset module8 -- */
.edit,
.show_content,
.main_part { width: 100% !important; max-width: 100% !important; margin: auto !important; padding: 0px !important;}
.pageIndex .main_part { border:none !important; }
.path,
.banner{ display:none;}
/* -- reset module8 end -- */

.edit_part {
    max-width: 100%;
    margin: auto;
    padding: 0;
}

.cas_a{
    background: url(../edit_image/service/ca_bg01.jpg);
    background-position: center;
    background-size: cover;
    height: clamp(200px,30vw,600px);
}

.cas_b{
    padding: 5px var(--pdx);
}
.cas_b_item{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    max-width: var(--content_width);
    margin: calc(var(--pdy)*1.1) auto;

}
.cas_b_item > figure{
    border-radius: 8px;
    overflow: hidden;
    --mask_pos: 100%;
    align-self: stretch;
} 
.cas_b_item > figure img{
    min-height: 100%;
    object-fit: cover;
}
.cas_b_item > article{
    width: 700px;
    padding: clamp(30px, 3vw,50px) 5%;
    background-color: #fff;
    box-shadow: 0 0 4px #ccc;
    border-radius: 10px;
    margin: 30px 0 -30px -30px;
    position: relative;
    z-index: 10;
    min-height: 400px;
}
.cas_b_item > article h4{
    color: var(--colorSub);
    font-size: var(--f20);
    line-height: 1.2;
    font-weight: normal;
}
.cas_b_item > article h5{
    font-size: var(--f40);
    line-height: 1.2;
    font-weight: normal;
    margin: 10px 0 0;
}
.cas_b_item > article aside{
    max-width: 510px;
    margin: 30px 0;
}
.cas_b_item > article a{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 165px;
    padding: 0px 10px;
    text-align: center;
    background-color: var(--colorMain);
    min-height: 52px;
    transition: all .4s;
    position: relative;
    z-index: 1;
}
.cas_b_item > article a::after{
    content: '線上詢價';
    display: block;
    font-size: var(--f16);
    color: var(--colorText-white);
    transition: all .4s;
}
.cas_b_item > article a::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 2px;
    background-color: var(--colorMain);
    z-index: -1;
    transition: all 1s;
    transform: translateY(-50%);
}
.cas_b_item > article a:hover{
    border-radius: 15px;
}
.cas_b_item > article a:hover::before{
    left: unset;
    right: 0px;
    width: 0%;
    background-color: #fff;
}
.cas_b_item > article a:hover::after{
    content: 'GO !';
    animation: car_btn 1s infinite linear;
}

@keyframes car_btn {
    0%{transform: scale(1);letter-spacing: 0em;}
    50%{transform: scale(1.1);letter-spacing: 0.05em;}
}

/* --- Media Queries --- */
@media (max-width: 1440px) {}
@media (max-width: 1024px) {}
@media (max-width: 992px) {}
@media (max-width: 768px) {
    .cas_b_item{flex-direction: column;}
    .cas_b_item > article{margin: -15px auto 0;width: 100%;min-height: unset;}
}
@media (max-width: 576px) {}
@media (max-width: 480px) {}
@media (max-width: 375px) {}
