/* 手機 */

body {
    margin: 0;
    padding-top: 70px;
    font-family: "Helvetica", "Arial","LiHei Pro","黑體-繁","微軟正黑體", sans-serif;
}
.container {
    margin: auto;
}
.nav-fixed {
    width: 100%;
    position: fixed;   /* 永遠固定視窗位置，滾動視窗也不會變*/
    top:0;  /* 固定在上方*/
    opacity:0.9;  /* 透明度 */
    z-index:99; /* 數字愈大保持在最上方。*/
}
/* .menu {
    width: 25px;
    height: 22px;
    margin: 20px;
    background-image: url('../img/phone/menu.png');
    display: block;
    cursor: pointer;
    float: right;

} */
main{
    width: 100%;
    margin: auto;
}
#main-nav{
    display: none;
}
.logo img {
    width: 150px;
    float: left;
    margin: 10px 20px;
}

#new {
    width: 100%;
    /* margin-bottom: 30px; */
}
#banner {
    width: 90%;
    margin: auto;
}
#banner img {
    width: 100%;
    margin: auto;
}
.text-box{
    width: 70%;
    margin: auto;
    margin-top: 40px;
    color: #A79C8E;
}
h3 {
    font-size: 22px;
    color: #A79C8E;
    font-weight: bold;
}
h2 {
    font-size: 24px;
    color: #A79C8E;
    font-weight: bold;
}
h2 i{
    color: #eb9f9f;
  }
h4 {
    font-size: 20px;
    font-weight: bold;
    color: #eb9f9f;
    margin-bottom: 5px;
}
p {
    margin-top: 10px;
    line-height:24px;
    font-size: 16px;
    color: #A79C8E;
}
.button {
    width: 73px;
    height: 32px;
    border:0;
    border-radius:35px;
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    line-height:24px;
    color: #A79C8E;
    background-color: #F6CCCC;
    outline:none;
    cursor: pointer;
}
#product {
    width:100%;
    margin: auto;
    text-align: center;
    
}
.bg_y_top {
    width: 100%;
    height: 177px;
    background-image: url("../img/bg_y_top.png");
}
.bg_y {
    width: 100%;
    background-color: #F8ECC9;
}
.wrap {
    width: 60%;
    margin: auto;
    margin-top: 40px;
    text-align: center;  
    /* display: flex; */
    /* background-color: #CCC; */
}
.item {
    width: 100%;
    padding-bottom: 50px;
}

.item p {
    width: 200px;
    font-size: 16px;
    display: inline-block; /* 改變屬性使文字能置中。*/
    line-height:24px;
}
.item img {
    width: 227px; /*  設定圖片百分比。 */
    vertical-align: top;
    /*  圖片垂直對齊該行文字的最高位置。 */
    margin-bottom: 15px;
}
#about {
    width: 100%;
    position: relative;  /* 控制about_text，不讓它出超出範圍 */

}
.bg_yp {
    width: 100%;
    height: 177px;
    background-image: url("../img/bg_yp.png");
}
.bg_p {
    width: 100%;
    background-color: #F6CCCC;  
}
.about_text {  
    width: 103%; /* width+left, 加總需100%,否則畫面會超出 */
    height: 348px;
    background-image: url(../img/phone/a01.png);
    background-repeat: no-repeat;
    padding: 100px 0 0 100px;
    box-sizing: border-box;
    color: #A79C8E;
    position: absolute;  /* 浮動 */
    top: 50px;
    left: -3%;
    z-index: 3;
}
.about_text p {
    width: 240px;
    line-height: 26px;
    
}
.about_img {
    height: 809px;
    background-position:center;
    background-image: url(../img/a02.png);
    background-repeat: no-repeat;
    /* padding-top: -300px; */
    z-index: 2;
}
.clear-both{
    clear: both;
}
.bg_pb {
    width: 100%;
    height: 73px;
    background-image: url("../img/bg_pb1.png");
}
.bg_b {
    width: 100%;
    background-color: #A79C8E;
}
.logo-y{
    width: 150px;
    height: 46px;
    margin: auto;
}
/* .logo-y img {
    width:176px;
  
} */
.icon {
    position: relative;
    top:-50px;
    width: 150px;
    margin: 0px auto;
    padding: 20px 0;
    text-align: center;
}
.icon ol li{
    width: auto;
    display: inline-block;
    margin-right: 10px;
}
.icon a {
    color: #F8ECC9;
}
.copyright {
    position: relative;
    top:40px;
    padding-top: 5px;
    padding-bottom: 0px;
}
.copyright p{
    text-align: center;
    color: #F8ECC9;
}



/* 輪播CSS start */

#carousel {
	position: relative;
	width: 100%;
	height: 100%;
	/* border: 1px solid #ccc; */	
}
#carousel a.ad {
	position: absolute;	/* 讓圖片疊在一起 */
	
}

#carousel img {

	max-width:100%;
	/* background:#fff url("../img/p_bg.png") no-repeat;
	background-size: contain;　/* 設定背景圖片的填滿方式 */
}

#round-icon .control {
	position: relative;
	/* left: 300px; */
	/* top: 400PX; */
}

#round-icon .control a {
	display: inline-block;
	/* padding: 3px; */
	margin: 20px 40px 0 0;
	color: #fff;
	background: #A79C8E;
	text-decoration: none;
	width:8px;
	height:8px; 
	border-radius:999em; /* 數字999設定成正圓形 */
}
#round-icon .control a.on {
	width:8px;
	height:8px;
	background: #F6CCCC;
}
/* 輪播CSS end */
.img100 img{
	height: auto;
	width: 100%;
}

/* 平版 */
@media screen and (min-width: 768px) {
    body {
        margin: 0;
        padding-top: 70px;
    }
    .container {
        max-width: 1200px;
        margin: auto;
    }
    .logo {
        margin-left: 10%;
    }
    .logo img {
        margin: 10px 20px 10px 0;
    }
    .hamburger {
        display: none;
    }
    #main-nav {
        display: block;
        font-size: 0; /* 文字間的距離 */
        margin-left: 50px;

    }
    #main-nav a{
        text-decoration: none;
        color: #A79C8E;
        padding: 5px 10px;
        position: relative;
        transform: translateY(10px);
        transition: .3s;

    }
    #main-nav a:hover{
        transform: translateY(-10px);

    }
    #main-nav a:after{
        content: '';
        position: absolute;
        left: 50%;
        right: 50%;
        bottom: -5px;
        height: 0;
        border-bottom: 1px solid #A79C8E;
        transition: .3s;

    }
    #main-nav a:hover:after{
        left: 0;
        right: 0;

    }
    .navs li{
        display: inline-block;
        margin-top: 25px;
        padding: 0px 20px;
    }
    .navs li a{
        color: #A79C8E;
        text-decoration: none;
        font-size: 16px;

    }
    /* .menu {
        display: none; 
    } */
    #new {
        width: 100%;
        margin-bottom: 30px;
    }
    #banner {
        width: 70%;
        margin: auto;
    }
}

/* 電腦版 */
@media screen and (min-width: 1200px) {
    body {
        margin: 0;
        padding-top: 50px;
    }
    .logo {
        margin-left: 0%;
    }
    .logo img {
        margin: 10px 20px 10px 0;
    }
    #new {
        width: 100%;
        height: 500px;
        margin-bottom: 50px;
    }
    .container-n {
        max-width:1200px;
        margin: auto;
        position: relative;
    }
    /* .container100 {
        width: 100%;
        position: relative;
    } */
    #banner {
        width: 100%;
        position: absolute;   /* 浮動 */
        /* right: -5%; */
        /* margin: auto; */
    }
    #round-icon {
        width: 100%;
        position: relative;
        /* left: -5%; */
    }
    .text-box{
        width: 30%;
        position: absolute;  /* 浮動 */
        color: #A79C8E;
        top:240px;
        left: 5%;
    }
    
    .wrap {
        
        width: 100%;
        display: flex;
       
    }
    .about_text {  
        width: 90%;
        left: 10%; /* width+left, 加總需100%,否則畫面會超出 */
    }
    /* .phone {
        display: none;
    } */
    .bg_b {
        width: 100%;
        margin: auto;
        padding: 10px 0;
        display: flex;
        /* flex-direction: row; */
        justify-content: space-between; /* 平均對齊 */
    }
    .icon {

        top:0px;
    }

    .copyright {
        /* padding-right: 260px; */
        
        top:0px;
        text-align: center;
        padding-bottom: 0px;
    }
    .copyright p{
        line-height: 50px;
    }
    #carousel {
        position: absolute;
        right: 0;
        width: 65%;
    }
    .img100 img{
		margin-top: 15px;
    }
    

}