@import url("reset.css");

.flex-center {
  display: flex;
  align-items: center;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 18px;
  font-family: Roboto, Arial, Helvetica, "微軟正黑體", sans-serif;
  letter-spacing: 0.02em;
}

.top-logo {
  width: 68px;
  height: 68px;
  margin-right: 8px;
}

.top-name {
  font-family: Trochut;
  font-weight: bold;
  font-size: 48px;
  color: #181818;
}

.top-section {
  width: 1200px;
  display: flex;
  justify-content: space-between;
}

.mail-contact {
  width: 125px;
  height: 40px;
  background: #058ae0;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
}
.top-contact {
  margin-right: 21px;
  cursor: pointer;
}
.icon-mail {
  margin-right: 6px;
  width: 20px;
}

.pc-top-contact {
  display: flex;
  align-items: center;
}

.introduction {
  display: flex;
  color: #181818;
  align-items: center;
  margin-top: 168px;
}

.intro-main-content {
  font-weight: bold;
  font-size: 40px;
  line-height: 125.19%;
  margin-bottom: 16px;
}
.intro-desc {
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 152px;
}
.intro-content {
  width: 548px;
}
.main-image {
  width: 548px;
  height: 481px;
  object-fit: cover;
}
.intro-download {
  display: flex;
}
.intro-download-icon {
  cursor: pointer;
}
.intro-download-icon:first-child {
  margin-right: 8px;
}

.cards-section {
  display: flex;
  margin-bottom: 64px;
}
.card-container {
  width: 349.33px;
  height: 149px;
  background: #058ae0;
  border-radius: 8px;
  color: #fff;
  padding: 16px;
  box-sizing: border-box;
  margin-top: 92px;
}
.card-container:not(:first-child) {
  margin-left: 24px;
}
.card-title {
  font-weight: bold;
  font-size: 20px;
  margin-left: 8px;
}
.card-desc {
  margin-top: 10px;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.02em;
}
.mobile-contact {
  display: none;
}
.footer {
  width: 100vw;
  background-color: #fafafc;
  padding-top: 40px;
  height: 131px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}
.footer-link {
  font-weight: 500;
  font-size: 16px;
  color: #058ae0;
  text-decoration: none;
}
.footer-link:first-child {
  margin-right: 8px;
}

.copyright {
  color: #181818;
  font-weight: 500;
  font-size: 16px;
  margin-top: 18px;
}

@media screen and (max-width: 1280px) {
  .container {
    width: 301px;
    margin: 0 auto;
    padding-top: 120px;
  }
  .top-section {
    width: 100%;
  }
  .top-logo {
    margin-right: 15px;
  }
  .top-name {
    color: #3d3d3d;
  }
  .pc-top-contact {
    display: none;
  }
  .introduction {
    color: #3d3d3d;
    margin-top: 40px;
    flex-direction: column;
  }
  .intro-main-content {
    font-size: 28px;
  }
  .intro-content {
    width: 301px;
  }
  .intro-desc {
    margin-bottom: 32px;
  }
  .main-image {
    width: 215px;
    height: 215px;
    object-fit: cover;
    margin-top: 33px;
  }
  .cards-section {
    flex-direction: column;
    margin-bottom: 0;
  }
  .card-container {
    color: #fff;
    height: 106px;
    margin-top: 32px;
    width: 310px;
  }
  .card-container:not(:first-child) {
    margin-top: 32px;
    margin-left: 0;
  }
  .mobile-contact {
    margin-top: 32px;
    width: 100vw;
    border-top: #eee 1px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #3d3d3d;
    font-size: 20px;
    line-height: 20px;
    text-align: center;
    font-weight: bold;
    padding-top: 32px;
  }
  .mobile-contact-icon {
    width: 28px;
    height: 28px;
    margin-top: 19px;
  }
  .mobile-contact-icon:first-child {
    margin-right: 21px;
  }
  .mobile-mail-contact {
    width: 301px;
    height: 52px;
    background: #058ae0;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    line-height: 20px;
    margin-top: 19px;
    margin-bottom: 52px;
  }
}
