@charset "utf-8";
@import url('reset.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;600;700&display=swap');

body{
  font-family: 'Noto Sans TC', sans-serif;
  /* background: url('/IBM70週年活動頁.jpg')top / 100% auto no-repeat;; */
}
img{
  width: 100%;
  height: auto;
  display: block;
}
.container{
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
}
.video-container{
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* banner */
#banner{
  background: url('../images/bg_01.jpg') top / 100% auto no-repeat;
  width: 100%;
  padding-top: 56.25%;
  position: relative;
  opacity: 1;
}
#banner h1{
  display: none;
}
#banner h2{
  width: 100%;
  color: #e4c17d;
  font-size: 2.5vw;
  font-weight: 500;
  line-height: 3.5vw;
  text-align: center;
  letter-spacing: 1px;
  position: absolute;
  left: 0;
  bottom: 40%;
  padding: 0 10%;
  box-sizing: border-box;
}

#banner p{
  width: 100%;
  color: #fff;
  font-size: 1.2vw;
  font-weight: 400;
  line-height: 2.2vw;
  text-align: center;
  letter-spacing: 1px;
  position: absolute;
  left: 0;
  bottom: 40%;
  padding: 0 10%;
  box-sizing: border-box;
}
#banner p span,
#banner h2 span{
  display: block;
}

/* 活動頁 */
#main-content{
  background: url('../images/bg_02.jpg') top / 100% auto no-repeat;
}
#main-content .container{
  position: relative;
  top: -16.6vw;
}
/* video */
#video .video-slide{
  position: relative;
}
#video .video-slide h3{
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin-top: 20px;
}
#video .video-slide .owl-nav{
  width: 110%;
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: -5%;
  z-index: -1;
}
#video .video-slide .owl-nav button{
  width: 40px;
  height: 55px;
  border: none;
}
#video .video-slide .owl-nav button.owl-prev{
  background: url('../images/arrow-L-1.png') center / 50% auto no-repeat;
}
#video .video-slide .owl-nav button.owl-next{
  background: url('../images/arrow-R-1.png') center / 50% auto no-repeat;
}
#video .video-slide .owl-nav button span{
  display: none;
}
/* article */
#article{
  margin-top: 80px;
}
#article .article-slide{
  position: relative;
}
#article .article-slide .text{
  padding: 0 2.5%;
}
#article .article-slide .text h3{
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  line-height: 24px;
  margin-top: 20px;
}
#article .article-slide .text p{
  font-size: 14px;
  font-weight: 300;
  line-height: 24px;
  margin-top: 20px;
}
#article .article-slide a{
  background: #0530ad;
  color: #fff;
  font-size: 14px;
  text-align: center;
  display: block;
  padding: 12px 0;
  margin-top: 20px;
}
#article .article-slide .owl-nav{
  width: 110%;
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: -5%;
  z-index: -1;
}
#article .article-slide .owl-nav button{
  width: 40px;
  height: 55px;
  border: none;
}
#article .article-slide .owl-nav button.owl-prev{
  background: url('../images/arrow-L-2.png') center / 50% auto no-repeat;
}
#article .article-slide .owl-nav button.owl-next{
  background: url('../images/arrow-R-2.png') center / 50% auto no-repeat;
}
#article .article-slide .owl-nav button span{
  display: none;
}
/* bottom */
#bottom{
  margin-top: 80px;
}
#bottom h2{
  color: #956f33;
  font-size: 2.3vw;
  font-weight: 600;
  line-height: 3.2vw;
  text-align: center;
}
#bottom .tabs{
  display: flex;
  border-bottom: 3px solid #c79f62;
  margin-top: 30px;
}
#bottom .tabs a{
  max-width: 250px;
  width: 35%;
  background-position: bottom;
  background-size: 100% auto;
  background-repeat: no-repeat;
  padding-top: 6.3%;
  text-indent: -9999px;
  position: relative;

}
#bottom .tabs a:nth-child(1){
  background-image: url('../images/tab1-2.png');
  z-index: 3;
}
#bottom .tabs a:nth-child(2){
  background-image: url('../images/tab2-2.png');
  left: -30px;
  z-index: 2;
}
#bottom .tabs a:nth-child(3){
  background-image: url('../images/tab3-2.png');
  left: -60px;
  z-index: 1;
}
#bottom .tabs a:nth-child(1).active{
  background-image: url('../images/tab1-1.png');
}
#bottom .tabs a:nth-child(2).active{
  background-image: url('../images/tab2-1.png');
}
#bottom .tabs a:nth-child(3).active{
  background-image: url('../images/tab3-1.png');
}
#bottom .content{
  margin-top: 50px;
}
#bottom .content li{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#bottom .content li .item{
  width: 48.5%;
  margin-bottom: 30px;
}
#bottom .content li .item h3{
  color: #0530ad;
  font-size: 16px;
  line-height: 24px;
  margin-top: 10px;
}

/* btn */
.btn-group{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 50px;
  position: absolute;
  bottom: -10vw;
  left: 0;
}
.btn-group a{
  max-width: 350px;
  width: 48%;
  margin: 0 1%;
}

/* side btn */
#sideBtn{
  width: 120px;
  height: 120px;
  background-size: 100% auto;
  text-indent: -9999px;
  display: block;
  position: fixed;
  right: 2.5%;
  bottom: 50%;
  margin-bottom: -60px;
  z-index: 999;
}
#sideBtn.main{
  background-image: url('../images/sidebtn-1.png');
}
#sideBtn.page{
  background-image: url('../images/sidebtn-2.png');
}

@media screen and (max-width:1024px) {
  #article .article-slide .text h3{
    color: #0530ad;
  }
}
@media screen and (max-width:768px){
  #main-content .container{
    top: 0;
    padding-bottom: 50px;
  }
  #banner{
    background-size: 150% auto;
    padding-top: 60%;
  }
  #banner p{
    font-size: 2.2vw;
    line-height: 3.5vw;
    padding: 0 5%;
    bottom: 10%;
  }
  #banner p span{
    display: inline;
  }
  #bottom h2{
    font-size: 4vw;
    line-height: 6vw;
  }
  .btn-group{
    position: static;
    margin-top: 0;
  }
  #sideBtn{
    bottom: 2.5%;
    margin-bottom: 0;
  }
}
@media screen and (max-width:480px){
  #banner{
    background: url('../images/bg_01_mb.jpg') top / 100% auto no-repeat;
    padding-top: 100%;
  }
  #banner p{
    font-size: 3.5vw;
    line-height: 5.5vw;
    text-align: left;
    bottom: 5%;
  }
  #main-content{
    background-size: auto;
  }
  #video .video-slide,
  #article .article-slide{
    padding: 0 40px;
    box-sizing: border-box;
  }
  #video .video-slide .owl-nav,
  #article .article-slide .owl-nav{
    width: 100%;
    left: 0;
  }
  #article,
  #bottom{
    margin-top: 50px;
  }
  #bottom h2{
    font-size: 5.5vw;
    line-height: 7vw;
  }
  #bottom .tabs a{
    transform: scale(1.2);
  }
  #bottom .tabs a:nth-child(1){
    left: 3%;
  }
  #bottom .tabs a:nth-child(2){
    left: 0;
  }
  #bottom .tabs a:nth-child(3){
    left: -3%;
  }
  #bottom .content{
    margin-top: 20px;
  }
  #bottom .content li .item{
    width: 100%;
  }
  .btn-group a{
    width: 100%;
    margin-bottom: 10px;
  }
  #sideBtn{
    width: 80px;
    height: 80px;
  }
}

/* 研討會 */
#page-content{
  background: #0530ad url('../images/bg_02_page.jpg') top / 100% auto no-repeat;
}
#page-content .container{
  position: relative;
  top: -20vw;
}
/* 議程 */
#agenda p{
  color: #fff;
  font-size: 18px;
  text-align: center;
}
#agenda .box .btn{
  background: #e4e0dd;
  color: #1b2690;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding: 15px 0;
}
#agenda .box .btn::after{
  content: "";
  width: 22px;
  height: 13px;
  background: url('../images/arrow-t-1.png') center / 70% auto no-repeat;
  display: block;
}
#agenda .box .btn.active::after{
  background-image: url('../images/arrow-d-1.png');
}
#agenda .box table{
  width: 100%;
  background: #fff;
  margin-top: 20px;
}
#agenda .box table tr:nth-child(1) td{
  background: #e4e0dd;
  color: #1b2690;
  font-size: 16px;
}
#agenda .box table tr td{
  font-size: 14px;
  line-height: 20px;
  padding: 15px;
  border-top: 1px solid #e4e0dd;
}
#agenda .box table tr td:nth-child(1){
  width: 130px;
  box-sizing: border-box;
}
#agenda .box table tr td:nth-child(1)::before{
  content: "";
  width: 18px;
  height: 18px;
  background: url('../images/icon-time.png') center / 100% auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}
#agenda .box table tr:nth-child(1) td:nth-child(1)::before{
  display: none;
}
#agenda .box table tr td.title{
  font-size: 16px;
  font-weight: 500;
}
#yt{
  padding-top: 30px;
}

/* 留言區 */
#message p{
  color: #fff;
  font-size: 18px;
  text-align: center;
  margin: 30px 0;
}
#message .box{
  max-width: 700px;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  margin: 0 auto;
}
#message .box textarea{
  max-width: 680px;
  width: 100%;
  height: 300px;
  background: none;
  margin: 10px auto;
  padding: 0 20px;
  border: none;
  box-sizing: border-box;
}
#message .box button{
  width: 100%;
  height: 50px;
  background: #031556;
  color: #fff;
  font-size: 16px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border: none;
}
#page-content .btn-group{
  bottom: -12vw;
}
/* lightbox */
.pop-bg{
  width: 100vw;
  height: 100vh;
  background: rgba(000, 000, 000, .8);
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
#alert .box{
  max-width: 350px;
  width: 90%;
  position: relative;
}
#alert .box p{
  width: 100%;
  font-size: 14px;
  text-align: center;
  line-height: 24px;
  position: absolute;
  left: 0;
  top: 40%;
}
#alert .box .close{
  width: 30px;
  height: 30px;
  background: url('../images/icon-close.png') center / 50% auto no-repeat;
  text-indent: -9999px;
  position: absolute;
  top: 10px;
  right: 10px;
}
#form .wrap .title{
  color: #fff;
  font-size: 18px;
  line-height: 30px;
  text-align: center;
  margin-bottom: 20px;
}
#form .wrap{
  max-width: 700px;
  width: 90%;
  margin: 0 auto;
}
#form .wrap .form ul{
  background: url('../images/form-02.png') top / 100% 100%;
  padding: 0 5%;
}
#form .wrap .form ul li{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#form .wrap .form ul li .box{
  width: 49%;
  background: #fff;
  border-radius: 5px;
  display: flex;
  margin: 5px 0;
  padding: 0 10px;
  box-sizing: border-box;
  position: relative;
}
#form .wrap .form ul li .box.type2{
  width: 100%;
}
#form .wrap .form ul li p{
  font-size: 14px;
  font-weight: 300;
  line-height: 14px;
  padding: 10px 0;
}
#form .wrap .form ul li .box input{
  width: calc(100% - 105px);
  border: none;
}
#form .wrap .form ul li label{
  position: relative;
  padding-left: 20px;
  margin: 10px 0;
}
#form .wrap .form ul li label p{
  line-height: 22px;
  padding: 0;
}
#form .wrap .form ul li label input{
  position: absolute;
  top: 5px;
  left: 0;
}
#form .wrap .form ul li button{
  width: 120px;
  height: 40px;
  background: url(../images/form-btn.png) center / 100% auto no-repeat;
  /* text-indent: -9999px; */
  border: none;
  margin: 0 auto;
  color: #fff;
  padding-bottom: 3px;
  letter-spacing: 2px;
}
#form .wrap .form::before{
  content: "";
  width: 100%;
  height: 0;
  padding-top: 6%;
  background: url('../images/form-01.png') top / 100% auto no-repeat;
  display: block;
}
#form .wrap .form::after{
  content: "";
  width: 100%;
  height: 0;
  padding-top: 6%;
  background: url('../images/form-03.png') top / 100% auto no-repeat;
  display: block;
}

@media screen and (max-width:768px){
  #banner h2{
    font-size: 4vw;
    line-height: 6vw;
    bottom: 10%;
  }
  #page-content .container{
    top: 0;
    padding-bottom: 50px;
  }
  #page-content .btn-group{
    position: static;
    margin-top: 30px;
  }
}
@media screen and (max-width:640px){
  #form .wrap .form ul li .box{
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  #page-content{
      background-size: auto;
  }
  #banner h2{
    font-size: 6.2vw;
    line-height: 10vw;
    padding: 0;
  }
  #agenda .box table tr{
    border-bottom: 1px solid #e4e0dd;
  }
  #agenda .box table tr:nth-child(1){
    display: none;
  }
  #agenda .box table tr td{
    padding: 10px 15px;
    display: block;
    border: none;
  }
  #agenda .box table tr td::before{
    font-size: 14px;
    font-weight: 400;
  }
  #agenda .box table tr td:nth-child(2)::before{
    content: "主題：";
  }
  #agenda .box table tr td:nth-child(3)::before{
    content: "講師：";
  }
  #message .box textarea{
    height: 120px;
  }
  #form .wrap .title span{
    display: block;
  }
}