@charset "utf-8";

/* 公用_隱私權 開始*/
button:focus{
    outline:0;
}/* 去除按下黑邊 */
#Privacy {
    width: 100%;
    height: auto !important;
    padding: 14px 0;
    margin: 0;
    background: #999;
    position: fixed;
    left: 0;
    bottom: 0px;
    z-index: 99999;
    text-align: center;
    color: #fff;
    display: none; /*--*/
}
#Privacy.close {
    display: none; /*--*/
}
#Privacy .privacyContent {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    height: auto;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    text-align: left;
}
@media (max-width: 1024px){
    #Privacy .privacyContent {
    width: 85%; 
    }
}
@media (min-width: 90em){
    #Privacy .privacyContent {
        max-width: 1380px;
        flex-wrap: wrap;
        padding: 0 15px;
        align-items: flex-start;
    }
}
@media (min-width: 75em){
    #Privacy .privacyContent {
        max-width: 1140px;
        flex-wrap: wrap;
        padding: 0 15px;
        align-items: flex-start;
    }
}
#Privacy #privacyText, #Privacy .privacyButton {
    width: 100%;
    float: none;
    margin: 0;
    max-width: 100%;
}
#Privacy #privacyText {
    flex: 1;
    line-height: 1.4;
}
@media (min-width: 75em){
    #Privacy #privacyText {
        flex-basis: 90%;
    }
}
#privacyText p {
    margin: 0 0 5px 0;
    display: inline;
}
#Privacy #privacyText, #Privacy .privacyButton {
    width: 100%;
    float: none;
    margin: 0;
}
#Privacy #privacyText p, #Privacy #privacyText a {
    line-height: 1.4;
    font-size: 16px;
    color: #fff;
    font-weight: normal;
}
#Privacy #privacyText p {
    word-break: break-word;
}
#Privacy #privacyText a {
    text-decoration: underline;
    transition: all 0.2s;
    background-color: transparent;
}
#Privacy #privacyText a:hover{
    color:#1e3956;
}
#Privacy .privacyButton {
    flex-basis: 10%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-left: 5px;
}
@media (min-width: 75em){
    #Privacy .privacyButton {
        margin-left: 0;
    }
}
#Privacy .privacyButton button[type="button"] {
    margin: 0;
}
#Privacy .privacyButton .accept {
    color: #fff;
    border: 1px solid #fff;
    background: none;
    cursor: pointer;    
    margin-top: 1em;
    padding: 6px 10px;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;    
    vertical-align: middle;
    outline: none;
}
#Privacy .privacyButton .accept:hover{
    color: #999;
    border: 1px solid #fff;
    background: #fff;
}
@media (min-width: 75em){
    #Privacy .privacyButton .accept {
        padding: 6px 20px;
    }
}
/* 公用_隱私權 結束*/

/* t_pinly：生產製程影片+icon 開始 */
#section-edit:first-child{
    position: relative;
}
#section-edit:first-child::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 64px;
    background: linear-gradient(45deg, transparent 22%, #fff 22%);
}
#section-edit:first-child::after{
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 83px;
    background: linear-gradient(180deg,#fff 4%, transparent 4%), linear-gradient(135deg,#fff 42%, #002f6a 42%, #002f6a 64%, #fff 64%);
}
#section-edit .container {
    z-index: 1;
}
#produce .movie {
    display: inline-block;
    width: 631px;
    padding: 22px;
    background: #080808 url(images/index_movieIcon/movieBg.png) top right no-repeat;
    margin: 6.6rem 0 0 4rem;
}
#produce .movie .videobox {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    border: 2px solid rgb(255 255 255 / 14%);
}

#produce .movie .videobox iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#produce .iconAll {
    display: inline-block;
    float: right;
    width: 397px;
    height: 607px;
    background:url(images/index_movieIcon/iconBg.png) top left no-repeat; 
    position: relative;
}
#produce .iconAll div {
    width: 151px;
    height: 179px;
    position: absolute;
    right: 0;
    top: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#produce .iconAll div:nth-child(1){
    right: 75.5px;
}
#produce .iconAll div:nth-child(2){
    top: 205px;
}
#produce .iconAll div:nth-child(3){
    top: 346px;
    right: 75.5px;
}
#produce .iconAll div span{
    display: block;
    margin-top: 36px;
}
#produce .iconAll div span{
    display: block;
    margin-top: 36px;
}
#produce .iconAll div:nth-child(1) span:before{
    font-family: "Font Awesome 5 Free";
    font-weight: 900; 
    font-size: 2rem;
    content: '\f164';
    color: #fff;
    display: block;
    text-align: center;
    text-shadow: 1px 4px 6px rgba(90, 48, 33, 0.6);
}
#produce .iconAll div:nth-child(2) span:before{
    font-family: "Font Awesome 5 Free";
    font-weight: 900; 
    font-size: 2rem;
    content: '\f4fd';
    color: #fff;
    display: block;
    text-align: center;
    text-shadow: 1px 4px 6px rgba(90, 48, 33, 0.6);
}
#produce .iconAll div:nth-child(3) span:before{
    font-family: "Font Awesome 5 Free";
    font-weight: 900; 
    font-size: 2rem;
    content: '\f044';
    color: #fff;
    display: block;
    text-align: center;
    text-shadow: 1px 4px 6px rgba(90, 48, 33, 0.6);
}
#produce .iconAll div h3{
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: #fff;
    text-align: center;
    padding: 3px 0 6px;
    border-bottom: 1px solid #953819;
    margin: 0 25px; 
}
#produce .iconAll div p {
    font-size: 1rem;
    line-height: 1rem;
    text-align: center;
    padding: 8px 0 0 0;
    color: #4a1d0e;
    width: 88%;
    margin: 0 auto;
}
#produce .iconAll div.Txt {
    width: 100%;
    height: auto;
    color: #fff;
    line-height: 1.5;
    position: absolute;
    top: 43%;
    left: 22px;
    align-items: self-start;
    justify-content: flex-start;
}
/* t_pinly：生產製程影片+icon 結束 */

/*t_pinly：商品分類 開始*/
#section-edit .container {
    padding: 0;
}
#section-edit:last-child .container{
    padding-bottom: 60px;
}
#category{
    padding-top: 60px;
    /*height: calc(1051px + 80px);*/
    position: relative;
}
#section-edit #category .categoryTitle { /*標題中文設定*/
    position: relative;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--textColor1);
    letter-spacing: 1px;
    padding-bottom: 30px;
}
#section-edit #category .categoryTitle small { /*標題英文設定*/
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--textColor2);
    letter-spacing: 2px;
    text-transform: uppercase;
    width: 45rem;
    border-bottom: 1px solid rgba(100, 100, 100, 0.4);
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
}
/*#category .owl-carousel-category{
    width: 100%;
}*/
#category .item {
    width: calc(97% / 3);
    display: inline-block;
    float: left;
    margin: 0 1.5% 1.5% 0;
}
#category .item:nth-child(3), #category .item:nth-child(6){
    margin-right: 0;  
}
#category .item:nth-child(4), #category .item:nth-child(5), #category .item:nth-child(6){
    margin-bottom: 0;  
}
#category .proGridBox {
    width: 100%;
    margin-bottom: 0;
}
#category .proGridBox .imgBox {
    position: relative;
    overflow: hidden;
}
#category .proGridBox .imgBox .pic {
    position: relative;
}
#category .proGridBox:hover .imgBox .pic {
    z-index: -1;
}
#category .proGridBox .imgBox .pic img {
    width: auto;
    height: auto;
    margin: 0 auto;
      box-shadow: 0 -3px 10px rgba(100, 100, 100, 0.2), 0 7px 5px rgba(100, 100, 100, 0.2), 0 2px 1px rgba(100, 100, 100, 0.4);
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
#category .proGridBox:hover .imgBox .pic img {
        transform: scale(1.1);
}
#category .proGridBox .imgBox .pic:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(6, 52, 109, 0.55);
  opacity: 0;
  transition: opacity .3s ease-in-out;
  -ms-transition: opacity .3s ease-in-out;
  -moz-transition: opacity .3s ease-in-out;
  -webkit-transition: opacity .3s ease-in-out;
  z-index: 2;
  padding: 1.5rem;
}
#category .proGridBox .imgBox:hover .pic:before { /*商品列表圖移過效果*/
  opacity: 1;
}
#category .proGridBox .imgBox .pic:after { /*商品列表圖移過效果*/
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f0c1';
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    position: absolute;
    top: calc(50% - 2rem);
    left: calc(50% - 2rem);
    z-index: 2;
    opacity: 0;

    width: 4rem;
    height: 4rem;
    line-height: 4rem;
    text-align: center;
    border-radius: 50%;
    background-color: rgb(0 47 106 / 80%);
    box-shadow: 0px 0px 4px rgb(255 255 255 / 41%);
}
#category .proGridBox .imgBox:hover .pic:after { /*商品列表圖移過效果*/
  opacity: 1;
}
#category .proGridBox .imgBox .txt { /*商品列表文字區塊*/
    text-align: center;
    padding: 10px 0;
    background-color: #ffffff;
    border-top: 2px solid #5caac1;
    background: linear-gradient(135deg, #5caac1 60%, #ffffff 22%);
}
#category .proGridBox .imgBox:hover .txt {
    border-top: 2px solid #06346d;
    background: linear-gradient(135deg, #06346d 60%, #ffffff 22%);
}
#category .proGridBox .imgBox .txt h3 { /*產品分類名稱*/
    font-size: 1.4rem;
    text-align: left;
    padding-left: 1.5rem;
    color: #fff;
    margin: 0;
    transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
}
#category .btn_more a:hover {
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 3px 12px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 3px 12px rgba(0, 0, 0, 0.2);
    background-color: var(--mainColor);
    color: #fff;
    border: 1px solid var(--mainColor);
}
#category .btn_more {
    position: absolute;
    bottom: 23px;
    right: 0;
    z-index: 3;
}
#category .btn_more a {
    background-color: rgba(0, 47, 106, 0.36);
    color: #fff;
    border: 1px solid rgba(0, 47, 106, 0.24);
    text-align: center;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10rem;
    height: 2.5rem;
    line-height: 2.5rem;
    transition: 0.2s;
}
/*t_pinly：商品分類 結束*/

@media (max-width: 1440px){ 
    /* t_pinly：生產製程影片+icon 開始 */
    #section-edit:first-child::after{
        background: linear-gradient(180deg,#fff 4%, transparent 4%), linear-gradient(135deg,#fff 42%, #002f6a 42%, #002f6a 66%, #fff 66%);
    }
    /* t_pinly：生產製程影片+icon 結束 */
}
@media (max-width: 1024px){ 
    /* t_pinly：生產製程影片+icon 開始 */
    #section-edit:first-child::before{
        height: 175px;
        background: #002c63 url(images/index_movieIcon/iconBg2_2.jpg) bottom right no-repeat;
    }
    #produce .iconAll {
    display: block;
    float: left;
    width: 462px;
    height: 253px;
    background: url(images/index_movieIcon/iconBg2_1.png) top left no-repeat;
    position: absolute;
    left: 0;
    top: -26px;
    }
    #produce .iconAll div {
    width: 179px;
    height: 151px;
    }
    #produce .iconAll div:nth-child(1){
    left: 0;
    top: calc(100% - 151px);
    }
    #produce .iconAll div:nth-child(2) {
    top: 26px;
    left: 143px;
    }
    #produce .iconAll div:nth-child(3) {
    top: calc(100% - 151px);
    right: 0;
    }
    #produce .iconAll div span {
    margin-top: 20px;
    }
    #produce .iconAll div.Txt{
    width: 78%;
    height: auto;
    left: calc(4% + 462px);
    top: 122px;
    }
    #produce .iconAll div.Txt br{
        display: none;
    }
    #produce .movie {
        display: block;
        margin: 253px auto 0px;
        width: 90%;
        background-color: rgba(8, 8, 8, 0.23);
        box-shadow: 0 -21px 30px rgba(8, 8, 8, 0.44);
    }
    #section-edit:first-child::after{
        display: none;
    }
    /* t_pinly：生產製程影片+icon 結束 */


    .parallax-scroll-xxl:after{
        width: 80%;
    }
    .parallax-scroll-xxl:before{
        display: none;
    }
    /*t_pinly：商品分類 開始*/

/*    #category{
        height: calc(919px + 60px);
    }*/
    /*t_pinly：商品分類 結束*/
}
@media (max-width: 991px){
    #produce .iconAll div.Txt {
        width: 62%;
        left: calc(0% + 462px);
        top: 125px;
    }
}
@media (max-width: 768px){ 
    /* t_pinly：生產製程影片+icon 開始 */
    #section-edit:first-child::before {
    background: transparent url(images/index_movieIcon/iconBg3.jpg) top center no-repeat;
    }
    #produce .iconAll {
        top: 0;
        left: calc(50% - 231px);
    }
    #produce .iconAll div span {
    margin-top: 21px;
    }
    #produce .iconAll div.Txt{
        display: none;
    }
    #produce .movie {
    margin: 273px auto 0px;
    }
    /* t_pinly：生產製程影片+icon 結束 */
    .parallax-scroll-xxl:after {
    background: linear-gradient(135deg, #708bac 18%, transparent 80%);
    }
    #section-edit .container {
    padding: 0 15px;
    }
    #section-edit #category .categoryTitle small {
    width: 70%;
    }
}
@media (max-width: 425px){
#section-edit:first-child::before {
    height: 140px;
    background-size: contain;
}
#produce .iconAll {
    width: 300px;
    height: 164px;
    top: 25px;
    left: calc(50% - 150px);
        background-size: contain;
}
#produce .iconAll div {
    width: 115px;
    height: 98px;
}
#produce .iconAll div:nth-child(1) {
    left: 0;
    top: 66px;
}
#produce .iconAll div:nth-child(2) {
    top: 16px;
    left: 93px;
}
#produce .iconAll div:nth-child(3) {
    top: 66px;
    right: 0;
}
#produce .iconAll div span {
    margin-top: 3px;
}
#produce .iconAll div:nth-child(1) span:before, #produce .iconAll div:nth-child(2) span:before, #produce .iconAll div:nth-child(3) span:before {
    font-size: 1.6rem;
}
#produce .iconAll div h3 {
    font-size: 1rem;
    padding: 3px 0 5px;
    width: 70%;
    margin: 0 auto;
}
#produce .iconAll div p {
    font-size: 12px;
    line-height: 12px;
    padding: 2px 0 0 0;
    width: 70%;
}
#produce .movie {
    margin: 209px auto 0;
    width: 95%;
    padding: 11px;
}
#section-seo .container {
    height: calc(640px * 0.65);
}

.parallax-scroll-xxl:after {
    width: 90%;
    background: linear-gradient(135deg, #708bac 18%, transparent 85%);
}

    #section-edit:last-child .container {
        padding-bottom: 25px;
    }
    #category .item {
        display: block;
        width: 100%;
        margin: 0 0 10px 0;
    }
    #section-edit #category .categoryTitle small {
    width: 100%;
    letter-spacing: 0px;
    } 
    #category .btn_more a {
    width: 7rem;
    }
    #category .item:nth-child(3), #category .item:nth-child(6){
    margin: 0 0 10px 0; 
    }
    #category .item:nth-child(4), #category .item:nth-child(5), #category .item:nth-child(6){
    margin: 0 0 10px 0;  
    }   

}
@media (max-width: 375px){
    #section-seo .container {
    background-position: 90% 0;
    }

    #section-edit:last-child .container {
    padding-bottom: 100px;
    }
    #section-edit #category .categoryTitle small {
    font-size: 1.7rem;
    }
}
@media (max-width: 320px){
    #produce .movie {
    width: 100%;
    }

    #section-seo .container {
    height: calc(640px * 0.6);
    }

    .parallax-scroll-xxl:after {
    width: 100%;
    height: 3rem;
    background: linear-gradient(135deg, #708bac 24%, transparent 78%);
    }

    #section-edit #category .categoryTitle small {
    font-size: 1.5rem;
    }
}