@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@400;500;600;700;900&display=swap');

*{
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Noto Serif TC', serif;
    box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

.img-fluid{
  max-width: 100%;
  height: auto;
}

.tac{ text-align: center;}
.center{margin: 0 auto;}
a{ text-decoration: none;}

span{
  font-size: 3.75rem;
}
.pc_d_n{
  display: none;
}
.bg{
  position: fixed;
  top: 0;
  left: 0;
  z-index: -5;
  width: 100%;
  height: 100%;
  background-image: url("../images/bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.title img{
    display: block;
    margin: 0 auto;
    padding: 40px 0;
    position: relative;
    z-index: 55;
}

@media screen and (max-width: 575px){
  .title img{
    width: 70%;
    padding: 20px 0;
  }
}

.container{
  max-width: 1200px;
  margin: 0 auto;
}
.section{
  margin-top: 180px;
}
@media screen and (max-width: 575px){
  .section{
    margin-top: 80px;
  }
}


/* $header */
.header{
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s;
}
.navbar{
  float: right;
}
.open_btn{
  display: block;
  padding: 24px;
}
@media (max-width: 768px){
  .open_btn{
      padding: 12px;
  }
}
.open_btn span{
  display: block;  
  width: 40px;
  height: 4px;
  background-color: #801012;
  margin-bottom: 8px;
  transition: all 0.3s;
}
.open_btn:hover span:nth-child(1){
  transform: translateX(-20%);
}
.open_btn:hover span:nth-child(3){
  transform: translateX(20%);
}
.header_nav{
  display: flex;
  flex-direction: column;
}
.popup-menu{
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background-color: rgb(255, 255, 255,0.7);
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(3px);
}
#popup-overlay:target{
  opacity: 1;
  visibility: visible;
}
.close_btn{
  width: 80px;
  height: 80px;
  transition: all 0.3s;
  position: relative;
  left: calc(100% - 80px);
}
@media (max-width: 768px){
  .popup-menu{
    width: 250px;
  }
  .close_btn{
      padding: 12px;
      width: 56px;
      height: 56px;
  }
}
.close_btn:hover{
  transform: rotate(180deg);
}
.close_btn span{
  width: 40px;
  height: 4px;
  background-color: #801012;
  position: absolute;
  top: 50%;
  left: 50%;
}
.close_btn span:nth-child(1){
  transform: translate(-50%,-50%) rotate(45deg);
}
.close_btn span:nth-child(2){
  transform: translate(-50%,-50%) rotate(-45deg);
}
.header_nav a{
  display: block;
  text-align: center;
  font-size: 1.5rem;
  color: #801012;
  line-height: 80px;
  transition: all 0.3s;
  letter-spacing: 3px;
  font-weight: 700;
}
@media (max-width: 768px){
  .header_nav a{
      font-size: 24px;
      line-height: 48px;
  }
}
.header_nav ul li a:hover{
  color: #fff;
  background-color: #801012;
}
.icon_group{
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.icon{
  width: 32px;
  height: 32px;
  margin: 0 12px;
}  

/* $banner */
.banner{
    margin-bottom: 180px;
}
.banner_all{
  margin-top: -20px;
}
.sixty_year{
  margin-left: 50px;
  padding-top: 8px;
  position: relative;
  z-index: 5;
}
.slogan,.cultural{
  font-size: 1.325rem;
  margin-top: 40px;
  letter-spacing: 2px;
}
.slogan{
  color: #990101;
}
.cultural{
  color: #464646;
}
.main_pic_all{
  display: flex;
  flex-direction: column;
}
.main_people{
  position: relative;
  top: -340px;
  transform-origin: top;
  animation: people_move 6s ease-in 1 forwards;
}
@keyframes people_move {
  0%{ transform: scale(1); }
  100%{ transform: scale(1.1);}
}
.logo{
  position: relative;
  z-index: 5;
  animation: logo_move 3s ease-in 1 forwards;
}
@keyframes logo_move {
  0%{ 
    opacity: 0.5;
    top: -100px;
  }
  100%{ 
    opacity: 1;
    top: 0px;
  }
}
h2{
  font-size: 2.25rem;
  color: #A24F00;
  margin: 24px 40px;
  letter-spacing: 2px;
}
.info{
  position: relative;
  z-index: -5;
  text-shadow: 0 0 10px #fff;
  margin-top: -300px;
}
@media screen and (min-width: 576px) and (max-width: 1440px) {
  .main_pic_all{
    flex-direction: column-reverse;
  }
  .main_people{
    position: relative;
    top: -180px;
  }
  @keyframes logo_move {
    0%{ 
      opacity: 0.5;
      top: -450px;
    }
    100%{ 
      opacity: 1;
      top: -350px;
    }
  }
  h2{
    font-size: 1.75rem;
  }
  span{
    font-size: 3.5rem;
  }
  .pad_d_n{
    display: none;
  }
  .pad_d_b{
    display: block;
  }
}
@media screen and (max-width: 575px) {
  .main_pic_all{
    flex-direction: column-reverse;
  }
  .main_people{
    top: -100px;
  }
  @keyframes logo_move {
    0%{ 
      opacity: 0.5;
      top: -150px;
    }
    100%{ 
      opacity: 1;
      top: -100px;
    }
  }
  .info{
    position: relative;
    z-index: -5;
    text-shadow: 0 0 10px #fff;
    margin-top: -60px;
  }
  .banner{
    margin-bottom: 0px;
  }
  .banner_all{
    margin-top: 20px;
  }
  .sixty_year{
    margin-left: 20px;
    padding-top: 16px;
    width: 300px;
  }
  .logo{
    margin-top: -50px;
    width: 80%;
  }
  .slogan,.cultural{
    padding: 0 30px;
    font-size: 1.125rem;
  }
  h2{
    font-size: 1.25rem;
    margin: 24px 32px;
  }
  span{
    font-size: 2.25rem;
  }
  .mo_d_n{
    display: none;
  }
  .mo_d_b{
    display: block;
  }
}

/* $story */
.w60{
  width: 66.6%;
}
.w50{
  width: 50%;
}
.w30{
  width: calc(100%/3);
}
.group_1,.group_2,.group_3{
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.group_1 .text_group{
  padding-right: 40px;
}
.group_1 .text_group .text_m,.group_3 .text_group .text_m{
  margin-top: 16px;
}
.group_2 .text_s,.group_3 .text_group{
  padding-left: 40px;
}
.pic_group{
  display: flex;
}
.story_all .text_s,.story_all .text_m{
  line-height: 1.8;
}
.story_all .text_s{
  font-size: 1.125rem;  
  text-indent: 2.5rem;
  margin-top: 8px;
  color: #464646;
  text-align: justify;
}
.story_all .text_m{
  color: #A24F00;
  font-size: 1.325rem;
  border-top: 1px solid #A24F00;
  border-bottom: 1px solid #A24F00;
  padding: 8px 20px;
  text-align: center;
}

@media screen and (min-width: 576px) and (max-width: 1440px) {
  .group_1,.group_2,.group_3{
    margin: 0 40px 30px 40px;
  }
  .group_1{
    flex-direction: column;
  }
  .group_3{
    flex-direction: column-reverse;
    justify-content: center;
  }
  .group_1 .text_group{
    padding-right: 0px;
  }
  .group_2 .pic,.group_2 .text_group{
    width: 50%;
  }
  .group_2 .text_s,.group_3 .text_group{
    padding: 0 24px;
  }
  .pic_group,.group_3 .pic{
    margin-top: 40px;
  }
  .w100{
    width: 100%;
  }
  .group_1 .text_group{
    padding-right: 0px;
  }
}

@media screen and (max-width: 575px){
  .w100{
    width: 100%;
  }  
  .group_1,.group_2,.group_3{
    flex-direction: column;
    margin: 0 40px 30px 40px;
  }
  .group_1 .text_group{
    margin-bottom: 32px;
  }
  .group_1 .text_group,.group_2 .text_s,.group_3 .text_group{
    padding: 0 20px;
  }
  .group_1 .pic{
    padding: 0px;
  }
  .story_all .text_s{
    font-size: 1rem;  
  }
  .story_all .text_m{
    font-size: 1.125rem;
  }
}

/* $people */
.all_people{
  position: relative;
}
.text_left{
  color: #A24F00;
  position: relative;
  z-index: 999;
}
.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 500px;
    height: 500px;
}
.swiper-slide img {
    display: block;
    width: 100%;
}
@media screen and (max-width: 575px){
  .swiper-slide {
    width: 300px;
    height: 300px;
  }
}

/* $photo */
.photo_all{
  position: relative;  
}
.photo_group{
  display: flex;
  position: relative;
  z-index: 55;
}
.photo_group .photo_hover img{
  transition: 1.5s;
  transform: scale(1.05);
}
.photo_group .photo_hover{
  overflow: hidden;
  position: relative;
}
.photo_group .photo_hover:before{
  content: '';
  position: absolute;
  left: -75%;
  z-index: 2;
  display: block;  
  width: 50%;
  height: 100%;
  background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
  -webkit-transform: skewX(-25deg);
  transform: skewX(-25deg);
}
.photo_group .photo_hover:hover::before {
  -webkit-animation: shine 1s;
  animation: shine 1s;
}
@keyframes shine {
  100% {
      left: 125%;
  }
}
.photo_group .photo_hover:hover img{
  transform: scale(1.1);
}
.photo_group1 .photo1{
  display: flex;
  flex-direction: column;
  width: 33.3%;
}
.photo_group1 .photo2{
  width: 66.7%;
}
.photo_group2 .photo_hover{
  width: calc(100%/2);
}
.photo_group3 .photo_hover{
  width: calc(100%/3);
}
/* 視差滾動 */
[class^="fabric_"]{
  position: absolute;
  width: 100%;
}
.fabric_1{  
  top: -20%;  
  z-index: -1;
}
.fabric_2{
  bottom: -20%;
}
[class^="cloud_"]{
  position: absolute;
  z-index: 99;
}
.cloud_1{  
  bottom: 10px;
  left: -150px;    
}
.cloud_2{
  top: 420px;
  right: -150px;
}
.cloud_3{
  top: 750px;
  left: -200px;
}
@media screen and (min-width: 576px) and (max-width: 1440px) {
  .photo_group{
    margin: 0 100px;
  }
  .fabric_1{  
    top: 15%;
  }
  .fabric_2{
    bottom: -20%;
  }
  .cloud_1{
    top: 280px;  
    bottom: -300px;   
  }
  .cloud_2{
    top: 520px;
    right: -50px;
    width: 350px;
  }
}
@media screen and (max-width: 575px){
  .photo_group{
    margin: 0 56px;
  }
  .photo_group1,.photo_group3{
    display: flex;
    flex-direction: column;    
  }
  .photo_group1 .photo1{
    flex-direction: row;
    width: 100%;
  }
  .photo_group1 .photo2,.photo_group3 .photo_hover{
    width: 100%;
  }
}

/* $video */
.video img{
  display: block;
}
.touchttv{
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
  transition: 1s;
}
.touchttv_group{
  display: flex;
  align-items: center;
  outline: 1px solid #C00000;
  padding-right: 30px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}
.touchttv_group img{
  margin: 0 16px;
}
.touchttv_group .play{
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #C00000;
}
.touchttv_group .play::before{
  content: "";
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 25px solid #fff;
  display:inline-block;
  position: relative;
  left: 55%;
  top: 50%;
  transform: translate(-50%,-50%);
}
.touchttv_group p{
  color: #1E1E1E;
  font-size: 1.5rem;
  letter-spacing: 2px;
  font-weight: 600;
  transition: 0.5s;
}
.touchttv_group .allvideo{
  transform: translateY(0%);  
}
.touchttv:hover .allvideo{
  transform: translateY(-150%);
}
.touchttv_group .enter{
  position: absolute;
  right: 30px;
  transform: translateY(150%);
}
.touchttv:hover .enter{
  transform: translateY(0%);
}

/* $footer */
footer p{
  padding: 24px;
  font-size: 1.125rem;
  letter-spacing: 1px;
  color: #3C1811;
  margin-top: 60px;
}
@media screen and (max-width: 575px) {
  footer p{
    font-size: 1rem;
  }
}

/* $back-to-top */
.back-to-top {
  position: fixed;
  bottom: 7%;
  right: 2%;
  z-index: 99;
  width: 60px;
  height: 60px;
  display: inline-block;
  border: 2px solid #801012;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  color: #801012;
  overflow: hidden;
  text-align: center;
  cursor:pointer
}
.go_up,.go_arrow {
  display: block;
  line-height: 60px;
  transition: margin 0.4s;
}
.go_up {
  background-color: #801012;
  color: #fff;
}
.back-to-top:hover .go_up {
  margin-top: -60px;
}

/* 顯示更多內容 */
.btn p{
    color: #464646;
    font-size: 1.25rem;
    padding: 8px 16px;
    text-align: center;
    font-weight: 700;
}
.btn:hover p,.btn:hover .more_arrow{
    transition: 0.5s;
}
.btn:hover p{
    color: #A24F00;
}
.more_arrow{
    font-size: 1.25rem;
    color: #464646;
    outline:1px solid #464646;
    padding: 4px 13px;
    margin-left: 16px;
    border-radius: 20px;
}

.btn:hover .more_arrow{    
    color: #fff;
    outline:1px solid transparent;
    background-color: #A24F00;
}
.well{
    display: flex;
    justify-content: center;
    align-items: center;
}


