@charset "utf-8";

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
}

img {
  vertical-align: bottom;
}

/* helper ------------------------ */

.container {
  max-width: 1200px;
  box-sizing: border-box;
}

.container-md {
  max-width: 800px;
  box-sizing: border-box;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* header --------------------------------------------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-head, .header-body, .header-foot {
  padding: .5rem 1rem;
  box-sizing: border-box;
}

.header-head {
  width: 80px;
}

.header-foot {
  display: none;
}

.header-img {
  max-width: 100%;
  height: auto;
}

.header-btn-xmark {
  display: none;
}

.header-ul {
  padding: .5rem 1rem;
  display: flex;
  background-color: rgba(0,0,0,.7);
  border-radius: 30px;
}

.header-li {
  margin-left: 1rem;
  margin-right: 1rem;
}

.header-link {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .9rem;
  font-weight: 600;
  transition-duration: .3s;
}

.header-link:hover {
  color: #cf7688;
}

/* banner ----------------------------- */

.banner {
  color: #fff;
  background-image: linear-gradient(135deg,#cf7688 20%,#f5ba54 100%);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
}

.banner-container {
  display: flex;
  align-items: center;
}

.banner-head, .banner-body {
  width: 50%;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.banner-title {
  margin-bottom: 2rem;
  font-size: 2.2rem;
}

.banner-small {
  display: block;
  margin-top: .5rem;
  text-transform: uppercase;
  font-size: 1.5rem;
}

.banner-subTitle {
  margin-bottom: 2rem;
  font-size: 1.75rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.5;
}

.banner-desc {
  line-height: 1.6;
}

.banner-desc + .banner-desc {
  margin-top: 1rem;
}

.banner-desc-lg {
  font-size: 1.5rem;
  line-height: 1.3;
}

.banner-ul {
  display: flex;
  margin-bottom: 4rem;
  font-weight: 600;
  text-transform: uppercase;
  color:rgba(255, 255, 255, .3);
}

.banner-ul-order1 {
  order: -1;
}

.banner-li + .banner-li {
  position: relative;
  margin-left: 1rem;
}

.banner-li + .banner-li::before {
  position: absolute;
  top: .4rem;
  left: -.6rem;
  width: 4px;
  height: 4px;
  background-color: rgba(255, 255, 255, .2);
  content: '';
}

.banner-btns {
  margin-top: 2rem;
}

.banner-btn {
  padding: 1rem 3rem;
  display: inline-block;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  border: solid 2px #fff;
  border-radius: 5px;
  transition-duration: .3s;
}

.banner-btn:hover {
  background-color: rgba(255, 255, 255, .2);
}

.banner-img {
  max-width: 100%;
  height: auto;
}

.banner-img-fit {
  height: 400px;
  object-fit: cover;
}

.banner-img-mobile, .banner-img-pad {
  position: absolute;
}

.banner-img-desktop {
  margin-left: 4.5rem;
}

.banner-img-mobile {
  z-index: 1;
  left: 0;
  bottom: 5rem;
}

.banner-img-pad {
  bottom: -2rem;
  right: 1rem;
}

.banner-title-line {
  position: relative;
}

.banner-title-line::after {
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 1.5em;
  border-top: solid 4px rgba(255, 255, 255, .5);
  content: "";
}

.banner-index .banner-head, .banner-index .banner-body {
  padding-top: 3rem;
}

.banner-index .banner-head {
  display: flex;
  flex-direction: column;
  width: 40%;
}

.banner-index .banner-body {
  width: 60%;
  position: relative;
}

.banner-service .banner-img {
  object-position: 0 -244px;
}

.banner-about .banner-img {
  object-position: 0 -194px;
}

/* footer ----------------------- */

.footer {
  display: flex;
  justify-content: space-between;
  background-color: #666;
  padding: 7rem 1rem 1rem;
  align-items: flex-end;
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

.footer-img-logo {
  max-width: 40px;
  height: auto;
  margin-bottom: .5rem;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .9rem;
  font-weight: 600;
  transition-duration: .3s;
}

.footer-link:hover {
  color: #cf7688;
}

.footer-desc {
  font-size: .9rem;
  color: #fff;
  text-transform: uppercase;
}

.footer-ul {
  display: flex;
}

.footer-li {
  margin-left: 1rem;
}

/* aside -------------------------------- */

.aside {
  z-index: 10;
  position: fixed;
  right: 1rem;
  bottom: 15rem;
}

.aside-link {
  color: rgba(0,0,0,.2);
  transition-duration: .3s;
}

.aside-link:hover {
  color: rgba(0,0,0,.5);
}

.aside-link-top {
  font-size: 3rem;
}

/* RWD ------------------------------- */

@media screen and (max-width: 480px) {
  .header {
    background-color: rgba(255, 255, 255, .7);
    box-shadow: 0 5px 5px rgba(0,0,0,.05);
  }

  .header-body {
    display: none;
  }
  
  .header-foot {
    display: block;
  }

  .header-img-logo {
    opacity: .5;
  }

  .header-nav {
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .8);
  }

  .header-ul {
    flex-direction: column;
    background-color: transparent;
  }

  .header-link {
    display: block;
    padding: .7rem 1rem;
    font-size: 2rem;
    text-align: center;
  }

  .header-btn {
    display: inline-block;
    padding: 0;
    font-size: 2rem;
    border: none;
    background-color: transparent;
    cursor: pointer;
  }

  .header-btn-bars {
    color: rgba(0,0,0,.5);
  }

  .header-btn-xmark {
    position: absolute;
    top: .75rem;
    right: 1.3rem;
    color: #666;
  }

  .banner {
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0% 100%);
  }

  .banner-container {
    flex-direction: column;
  }

  .banner-head, .banner-body,
  .banner-index .banner-head, .banner-index .banner-body {
    width: 100%;
  }

  .banner-head,
  .banner-index .banner-head {
    padding-top: 5rem;
    padding-bottom: 1rem;
    text-align: center;
  }

  .banner-body {
    padding-left: 0;
    padding-right: 0;
  }

  .banner-index .banner-body {
    padding-top: 1rem;
  }
  
  .banner-title {
    font-size: 7vw;
  }

  .banner-title-line::after {
    left: 50%;
    margin-left: -1.5rem;
  }

  .banner-service .banner-img, .banner-about .banner-img {
    object-position: center;
  }

  .banner-small {
    font-size: 5vw;
  }

  .banner-ul {
    justify-content: center;
    margin-bottom: 1rem;
  }

  .banner-img-mobile {
    width: 40vw;
    bottom: 2.5rem;
  }

  .banner-img-desktop {
    width: 70vw;
    margin-left: 10vw;
  }

  .banner-img-pad {
    width: 60vw;
  }

  .aside {
    display: none;
  }

  .footer {
    padding-top: 1rem;
    clip-path: none;
  }

  .footer-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .footer-body {
    display: none;
  }
}