﻿.clearfix {
    *zoom: 1
}

    .clearfix:before, .clearfix:after {
        display: table;
        line-height: 0;
        content: ""
    }

    .clearfix:after {
        clear: both
    }
/*中間欄位*/
#ad_main {
    width: 100%;
    max-width: 1280px;
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0;
}

#ad_left_botttom {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    align-items: center;
}

#ad_left_top {

    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    align-items: center;
    margin-bottom: 40px;
}

#ad_right {
    height: 404px;
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    align-items: center;
}

.e-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.box_211_202 {
    width: 211px;
    height: 202px;
}

.box_633_202 {
    width: 633px;
    height: 202px;
}

.box_211_404 {
    width: 211px;
    height: 404px;
}

#ad_main_outline {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 240px 0;
    border: 0;
    margin: auto;
}
#_indexnews_outline {
    /* height: 480px; */
    width: 100%;
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    justify-content:center;
    margin: 0;
    padding: 0;
    border: 0;
    background-color: #e2dbd9;
}
#_indexnews {
    /* height: 480px; */
    width: 100%;
    max-width: 1271px;
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    margin: 0 auto;
    padding: 0;
    border: 0;
    
}
#_news_s a div:hover {
    color: #66976e;
}

h3,p {
    margin:0;
    
}

.n_tab {
    display: flex;
    align-items:center;
    font-size: 16px;
    font-weight: bolder;
    padding:12px 28px;
    width:100%;
    max-width: 620px;
    min-height:55px;
    p
{
    min-width: 120px;
    line-height: 24px;
}
h3 {
    font-size: 16px;
    text-align: left;
    line-height: 24px;
}
}
        
.datewidth{
    width:160px;
}
.NewText{
   
}

.out_line{
    border-radius:8px;
    background-color:white;
}


.narrow:hover::after {
    content: '';
    background: url('../Images/Home/arrow.png') no-repeat;
    position: absolute;
    right: 20px;
    margin-top: -44px;
    width: 35px;
    height: 35px;
    border: 0;
    color: #66976e;
}

.joinmembergif {
    padding: 0;
    /* height: 480px; */
    margin-left: 24px;
}

.joinmembergif img{
    width: 100%;
}

.newslist {
    /* width: 100%; */
    max-width: 620px;
    
    margin-left:52px;
    a {
          width:100%
      }
}

.news-wrapper {
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
}

.newslist img {
    width: 100%;
}

.list-style {
    display: block;
    width: 8px;
    height: 8px;
    background-color: #66976e;
    content: "";
}



.f-container {
    z-index: 20;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    width:100%;
    max-width: 1280px;
    margin: auto;
    padding-bottom: 30px;
    padding: 0 32px;
}

.f-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
    
}

.f-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.f-content-wrapper img {
    margin-top: 16px;
}

.f-content:first-of-type {
  flex: 1 1 auto;
  min-width: 0;
}

.f-content:last-of-type {
  white-space: nowrap;
}

.f-title {
    font-size: 17px;
    font-weight: 550;
    color: #66976e;
    margin: 0;
    letter-spacing: 5px;
}

.f-text {
    font-size: 14px;
    color: #8b8b8b;
    letter-spacing: 3px;
    margin-top: 12px;
}

.f-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/*五大保證 關於我們*/
#footer1 {
    background-color: #e2dbd9;
    height: 170px;
    width: 100%;
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
    border: 0;
}

#footer1_content {
    width: 1271px;
    margin-right:47px;
}

#footer3_box {
    width: 1271px;
    height: 330px;
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    border: 0;
}
    #footer3_box .Box_svg {
        padding: 0;
        position: relative;
        top: 8px;
        right: 26px;
    }
    #footer3_box .Box_fb {
        width: 170px;
        position: relative;
        top: 6px;
        right: 21px;
    }
/*波浪底紋*/
.sect2 {
    background: #FADDD3;
    position: relative;
    padding: 0 0 0;
}
    .sect2:before {
        content: '';
        background: url('../images/home/a_wave.png') repeat-x;
        background-position: 0 0;
        position: absolute;
        z-index: -1;
        bottom: 100%;
        bottom:  0px;
        left: 0;
        right: 0;
        height: 560px;
        -webkit-animation: wave-l 7000ms linear infinite;
        animation: wave-l 7000ms linear infinite;
    }
.sect3 {
    background: white;
    position: relative;
    padding: 0 0 0;
    
}

    .sect3:before {
        content: '';
        background: url('../images/home/b_wave.png') repeat-x;
        background-position: 0 0;
        position: absolute;
        
        bottom:0;
        left: 0;
        right: 0;
        height: 397px;
        -webkit-animation: wave-r 7000ms linear infinite;
        animation: wave-r 7000ms linear infinite;
    }

@keyframes wave-l {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -780px 0;
    }
}
@keyframes wave-r {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 780px 0;
    }
}
/*輪轉圖左右控制圖示*/
.carousel-control-prev2,
.carousel-control-next2 {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
    padding: 0;
    color: #fff;
    text-align: center;
    background: none;
    border: 0;
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

@media (max-width: 1320px) {
    #ad_main {
        flex-direction: column;
        gap: 48px;
    }
    #_indexnews {
        flex-direction: column;
        align-items: center;
        /* padding-top: 80px; */
    }
    #ad_main_outline {
        /* padding-bottom: 0px; */
    }
    .sect2:before {
        bottom: 100px;
    }
    .newslist {
        margin:0 0 32px 0;
    }
}

@media (max-width: 1200px) {
    .sect3:before {
        bottom: 80px;
    }
}

@media (max-width: 1060px) {
    .sect3:before {
        bottom: 120px;
    }
    .f-container {
        flex-direction: column;
        align-items: center;
    }
    .f-layout {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 900px) {
    #ad_left_top {
        flex-direction: column;
        gap: 40px;
    }
    #ad_left_top img:last-child {
        width: 100%;
    }
    #ad_left_botttom {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }
    #ad_left_botttom img {
        max-width: 40%;
    }
    #ad_right {
        display: flex;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        height: 100%;
    }
    .newslist {
        margin: 0 16px 32px 16px;
    }
}

@media (max-width: 740px) {
    .f-layout {
        flex-direction: column;
    }
}

@media (max-width: 470px) {
    .sect2:before {
        bottom: 0px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-control-prev2,
    .carousel-control-next2 {
        transition: none;
    }
}
.carousel-control-prev2:hover, .carousel-control-prev2:focus,
.carousel-control-next2:hover,
.carousel-control-next2:focus {
    color: #fff;
    text-decoration: none;
    outline: 0;
    opacity: 0.9;
}
/*向左右移動貼齊圖的邊緣*/
.carousel-control-prev2 {
    left: -66px;
}
.carousel-control-next2 {
    right: -66px;
}
.carousel-control-prev-icon2,
.carousel-control-next-icon2 {
    display: inline-block;
    width:27.5px;
    height:55px;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
}
.carousel-control-prev-icon2 {
    background-image: url("../Images/Home/prev-icon.svg");
}
.carousel-control-next-icon2 {
    background-image: url("../Images/Home/next-icon.svg");
}
