/*----------------------1550(筆電)----------------------*/

@media screen and (max-width: 1550px) {
	.kv-title1 {
    width: 576px;
    height: 85px;
    margin-bottom: 25px;
    margin-top: -2%;
}
	.kv-title2 {
    width: 648px;
    height: 40px;
    margin-bottom: 20px;
}
	.kv-title3 {
    width: 590px;
    height: 34px;
    margin-bottom: 50px;
}
}

/*----------------------1440(筆電)----------------------*/

@media screen and (max-width: 1440px) {

  .sidebar {
    width: 100px;
    height: 100px;
    font-size: 16px;
  }

  .kv-content {
    left: calc(50% - 550px);
    padding-top: 100px;
  }

  .kv-title1 {
    width: 460px;
    height: 68px;
    margin-bottom: 40px;
  }

  .kv-title2 {
    width: 518px;
    height: 32px;
    margin-bottom: 30px;
  }

  .kv-title3 {
/*
    width: 344px;
    height: 22px;
*/
	width: 460px;
    height: 26px;
    margin-bottom: 30px; 
  }

  .btn-scroll {
    width: 344px;
    height: 22px;
    margin-bottom: 30px;
  }


}
/*----------------------1398(筆電)----------------------*/

@media screen and (max-width: 1398px) {
	.case{
		left: calc(50% + 300px);
	}
}
/*----------------------1280(筆電)----------------------*/

@media screen and (max-width: 1280px) {

  .kv-content {
    left: calc(50% - 500px);
    padding-top: 70px;
  }

  .card1 {
    width: 240px;
    margin-right: 15px;
    margin-left: 15px;
  }

  .card-body {
    padding: 60px 10px 20px 10px;
    height: 200px;
  }

  .card-body h3 {
    font-size: 18px;
  }

}
/*----------------------1275(筆電)----------------------*/

@media screen and (max-width: 1275px){
	.ts-logo{
		width: 336px;
		margin-top: 1.5%;
	}
}

/*----------------------1200(筆電)----------------------*/

@media screen and (max-width: 1200px) {
	.case{
		height: 375px;
		left: calc(50% + 225px);
	}
}
/*----------------------1199(筆電)----------------------*/

@media screen and (max-width: 1199px) {
	  .s3-cards {
    flex-direction: column;
  }
	  .s3-card {
    margin-bottom: 30px;
  }
}
/*----------------------1066(筆電)----------------------*/

/*
@media screen and (max-width: 1066px) {
	  .s3-cards {
    flex-direction: column;
  }
	  .s3-card {
    margin-bottom: 30px;
  }
}
*/
/*----------------------1024(平板)----------------------*/

@media screen and (max-width: 1024px) {

  h1 {
    font-size: 30px;
    line-height: 1.5;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  p {
    font-size: 14px;
  }

  li,
  li a {
    font-size: 14px;
    line-height: 1.5;
  }

  .kv {
    background-image: url(../images/img-kv-pad.jpg);
    padding-bottom: 63.47%;
  }

  .kv-content {
    left: calc(50% - 400px);
    padding-top: 150px;
  }

  .kv-title1 {
    width: 354px;
    height: 52px;
    margin-bottom: 30px;
  }

   .kv-title2 {
/*
    width: 362px;
    height: 22px;
*/
	width: 420px;
    height: 25px;
    margin-bottom: 30px;
  }

  .kv-title3 {
/*
    width: 240px;
    height: 15px;
*/
	width: 390px;
    height: 22px;
    margin-bottom: 30px; 
  }

  .btn-scroll {
    width: 240px;
    height: 15px;
  }

  .sec1, .sec2, .sec3 {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .sec4 {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .cards {
    justify-content: center;
    width: 100%;
  }

  .card1 {
    width: 210px;
    margin-right: 10px;
    margin-left: 10px;
  }

  .card-body {
    position: relative;
    padding: 40px 5px 0px 5px;
    height: 200px;
  }

  .card-body h3 {
    font-size: 16px;
  }

  h3 span {
    font-size: 24px;
  }

  .s2-box {
    padding: 40px 80px;
  }

  .line {
    width: 600px;
  }

  .case {
/*    width: 138px;*/
    height: 320px;
    left: calc(50% + 265px);
    bottom: -40px;
  }

  .btn-ts {
    font-size: 18px;
  }

/*
  .s3-cards {
    flex-direction: column;
  }
*/

/*
  .s3-card {
    margin-bottom: 30px;
  }
*/

  .sec1 p a {
    font-size: 14px;
  }

}
/*----------------------991(平板)----------------------*/

@media screen and (max-width: 991px) {
	    .case {
        height: 270px;
        left: calc(50% + 230px);
        bottom: -40px;
    }
}
/*----------------------991(平板)----------------------*/

@media screen and (max-width: 989px){
	.ts-logo{
		margin-top: -.5%;
	}
}
/*----------------------840(平板)----------------------*/

@media screen and (max-width: 840px){
	    .case {
        left: calc(50% + 197px);
    }
}
/*----------------------820(平板)----------------------*/

@media screen and (max-width: 820px) {

/*
  .kv-content {
    left: calc(50% - 320px);
    padding-top: 100px;
	margin-left: -6%;
  }

*/
		    .case {
        left: calc(50% + 205px);
    }
	
  .kv {
    background-image: url(../images/img-kv-mb.jpg);
    padding-bottom: 139.53%;
  }

  .kv-content {
    margin: 0 auto;
    left: auto;
    padding-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
	margin-top: 4%;
  }

  .kv-title1 {
/*
    width: 283px;
    height: 41px;
*/
	width: 400px;
    height: 60px;
    margin-bottom: 30px;
  }

  .kv-title2 {
/*
    width: 341px;
    height: 22px;
*/
	width: 450px;
    height: 28px;
    margin-bottom: 20px;
  }

  .kv-title3 {
/*
    width: 240px;
    height: 15px;
    margin-bottom: 30px; 
*/
	    width: 400px;
        height: 24px;
        margin-bottom: 30px;
        margin-left: -38%;
  }

}
/*----------------------793(手機)----------------------*/

@media screen and (max-width: 793px){
	    .case {
			height: 235px;
        left: calc(50% + 195px);
    }
	
}
/*----------------------767(手機)----------------------*/

@media screen and (max-width: 767px) {
	    .ts-logo {
			width: 234px;
			margin-top: 1.5%;
	}
}
/*----------------------738(手機)----------------------*/

@media screen and (max-width: 738px) {
	    .case {
        height: 250px;
        left: calc(50% + 150px);
        bottom: -40px;
    }
}
/*----------------------666(手機)----------------------*/

@media screen and (max-width: 666px) {
	    .case {
		height: 200px;
        left: calc(50% + 120px);
    }
}

/*----------------------576(手機)----------------------*/

@media screen and (max-width: 576px) {

  h1 {
    font-size: 26px;
  }

  .sidebar {
    width: 100%;
    height: 50px;
    border-radius: 0%;
    position: fixed;
    bottom: 0;
  }
/*

  .kv {
    background-image: url(../images/img-kv-mb.jpg);
    padding-bottom: 139.53%;
  }

  .kv-content {
    margin: 0 auto;
    left: auto;
    padding-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .kv-title1 {
    width: 283px;
    height: 41px;
    margin-bottom: 30px;
  }

  .kv-title2 {
    width: 341px;
    height: 22px;
    margin-bottom: 20px;
  }

  .kv-title3 {
    width: 240px;
    height: 15px;
    margin-bottom: 30px; 
  }
*/

  .btn-scroll {
    width: 226px;
    height: 16px;
  }

  .kv .btn-pri {
/*
    position: absolute;

	 bottom: -445px;
     left: calc(50% - 255px);
*/
	  display: none;
  }

  .btn-pri {
    width: 180px;
    height: 60px;
    border-radius: 30px;
    margin-top: 20px;
  }

  .btn-pri span {
    width: 30px;
  }

  .btn-pri b {
    width: 5px;
    height: 5px;
  }

  .sec1, .sec2, .sec3, .sec4 {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .sec1 h1 br {
    display: inline;
  }

  .s2-box {
    padding: 30px;
  }

  .line {
    width: 350px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .case {
/*    width: 60px;*/
    height: 160px;
    left: calc(50% + 120px);
    bottom: -24px;
  }

  .copyright-box {
    margin-bottom: 50px;
  }

}
/*----------------------535(手機)----------------------*/

@media screen and (max-width: 535px) {
	    .kv .btn-pri {
        position: absolute;
        bottom: -390px;
        left: calc(53% - 255px);
    }
}
/*----------------------500(手機)----------------------*/

@media screen and (max-width: 500px) {
	    .case {
        height: 175px;
        left: calc(50% + 105px);
        bottom: -18px;
    }
}	  
/*----------------------490(手機)----------------------*/

@media screen and (max-width: 490px) {
	    .kv-title1 {
        width: 330px;
        height: 48px;
        margin-bottom: 30px;
        margin-top: -3%;
    }
	    .kv-title2 {
        width: 355px;
        height: 22px;
        margin-bottom: 20px;
    }
	    .kv-title3 {
        width: 310px;
        height: 19px;
        margin-bottom: 30px;
        margin-left: -19%;
    }
	    .kv .btn-pri {
        position: absolute;
        bottom: -370px;
        left: calc(41% - 180px);
    }
	    .btn-pri {
        width: 170px;
        height: 60px;
        border-radius: 30px;
        margin-top: 20px;
    }
}
/*----------------------465(手機)----------------------*/

@media screen and (max-width: 465px) {
	    .case {
        height: 175px;
        left: calc(50% + 90px);
        bottom: -18px;
    }
}
/*----------------------435(手機)----------------------*/

@media screen and (max-width: 435px) {
	    .case {
        height: 155px;
        left: calc(50% + 90px);
        bottom: -18px;
    }
}
/*----------------------430(手機)----------------------*/

@media screen and (max-width: 430px) {
	    .kv .btn-pri {
/*
        bottom: -320px;
        left: calc(43% - 180px);
*/
		bottom: -290px;
        left: calc(45% - 180px);
    }
	    .btn-pri {
        width: 165px;
        height: 54px;
        border-radius: 27px;
        margin-top: 20px;
    }
}
/*----------------------390(手機)----------------------*/

@media screen and (max-width: 390px) {
	    .case {
        height: 140px;
        left: calc(50% + 80px);
        bottom: -18px;
    }
}
/*----------------------375(手機)----------------------*/

@media screen and (max-width: 375px) {

  .kv .btn-pri {
    bottom: -280px;
    left: calc(50% - 180px);
  }
    .kv-title1 {
        width: 300px;
        height: 45px;
        margin-bottom: 20px;
        margin-top: -3%;
    }
	    .kv-title2 {
        width: 325px;
        height: 20px;
        margin-bottom: 15px;
    }
	    .kv-title3 {
        width: 300px;
        height: 17px;
        margin-bottom: 30px;
        margin-left: -19%;
    }
	    .case {
        height: 130px;
        left: calc(50% + 75px);
        bottom: -18px;
    }
}
/*----------------------325(手機)----------------------*/

@media screen and (max-width: 340px) {
    .kv-title1 {
        width: 260px;
        height: 38px;
        margin-bottom: 20px;
        margin-top: -7%;
    }
	    .kv-title2 {
        width: 290px;
        height: 18px;
        margin-bottom: 12px;
    }
	.kv-title3 {
        width: 260px;
        height: 15px;
        margin-bottom: 30px;
        margin-left: -8%;
    }
	    .case {
        height: 115px;
        left: calc(50% + 75px);
        bottom: -18px;
    }
}


