* {
  position: relative;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
p,
li,
span,
th,
td {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "Helvetica",
    "微軟正黑體", Verdana, "Times New Roman", Times, Georgia, "新細明體",
    PMingLiU, NSimSun, serif;
  text-decoration: none;
}

h2 {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  padding-bottom: 30px;
}

h5 {
  font-weight: bold;
}

@media only screen and (max-width: 768px) {
  h2 {
    padding-bottom: 15px;
  }
}

.wrap {
  background-color: #eeeeef;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-90 {
  margin-bottom: 90px;
}

.logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: auto;
  padding: 15px;
  vertical-align: top;
  z-index: 1;
}

@media only screen and (max-width: 768px) {
  .logo {
    width: 130px;
    height: auto;
    padding: 10px;
  }
  .textCenter_m {
    text-align: center;
  }
}

/* banner 
 ======================================================================*/

.banner,
.m_banner {
  width: 100%;
  height: auto;
  vertical-align: top;
}

.subtitleBox {
  vertical-align: top;
  display: flex;
}

.subtitleBox img {
  width: 50%;
  height: auto;
}

.subtitleBox .subtitlebg {
  background-color: #fff;
  background-image: url(images/subtitlebg.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 50%;
  padding-left: 30px;
  display: flex;
  align-items: center;
}

.subtitle p:first-child {
  font-size: 20px;
  color: #5b5b5b;
  font-weight: bold;
  line-height: 35px;
}

.subtitle p:first-child::before {
  content: "";
  width: 100px;
  height: 4px;
  border-radius: 2px;
  background-color: #00369c;
  position: absolute;
  top: -10px;
  left: 0;
}

.subtitle p:last-child {
  font-size: 30px;
  color: #00369c;
  font-weight: bold;
}

.subtitle p:last-child span {
  font-size: 36px;
  color: #e9551c;
  font-weight: bold;
}

@media only screen and (max-width: 768px) {
  .banner {
    display: none;
  }
  .m_banner {
    display: inline-block;
  }
}

@media (min-width: 769px) {
  .banner {
    display: inline-block;
  }
  .m_banner {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .subtitleBox {
    flex-direction: column;
  }
  .subtitleBox img {
    width: 100%;
    height: auto;
  }
  .subtitleBox .subtitlebg {
    width: 100%;
    height: 250px;
  }
}

@media only screen and (max-width: 960px) {
  .subtitle p:first-child {
    font-size: 15px;
  }
  .subtitle p:last-child {
    font-size: 20px;
  }
  .subtitle p:last-child span {
    font-size: 24px;
  }
}

/* table 
 ======================================================================*/

.tablebg {
  padding: 60px 0;
}

.tableTitle {
  color: #00369c;
}

.table-responsive {
  display: flex;
  justify-content: center;
}

table {
  max-width: 100%;
  font-size: 20px;
  text-align: center;
  line-height: 24px;
  color: #00369c;
  border-collapse: separate;
  border-spacing: 0;
}

table tr:first-child th:first-child {
  border-top-left-radius: 15px;
}

table tr:first-child th:last-child {
  border-top-right-radius: 15px;
  border-right: 1px solid #00369c;
}

table tr:last-child td:first-child {
  border-bottom-left-radius: 15px;
}

table tr:last-child td:last-child {
  border-bottom-right-radius: 15px;
}

table tr:last-child td {
  border-bottom: 1px solid #00369c;
}

table th,
table td {
  padding: 15px;
  border-top: 1px solid #00369c;
  border-right: 1px solid #00369c;
  background-color: #fff;
  vertical-align: middle;
}

table th {
  color: #fff;
  background-color: #00369c;
  border-right: 1px solid #fff;
}

table tr:nth-child(2) td {
  padding-bottom: 7px;
}

table .tdTitle {
  background: linear-gradient(to bottom, #0081c8, #359fda);
  border-top: 1px solid #fff;
  color: #fff;
  vertical-align: middle;
  border-left: 1px solid #00369c;
}

table td span {
  display: inline-block;
  background-color: #efefef;
  padding: 2px 10px;
  border-radius: 14px;
  margin-bottom: 8px;
  color: #00369c;
}

@media only screen and (max-width: 768px) {
  .tablebg {
    padding: 30px 0;
  }
  table th,
  table td {
    padding: 12px;
  }
  table tr:nth-child(2) td {
    padding-bottom: 3px;
  }
  table td span {
    padding: 0 10px;
    border-radius: 10px;
    margin-bottom: 5px;
  }
}

/* projects 
 ======================================================================*/

.projectbg {
  background-color: #00369c;
  padding: 60px 0;
}

.projectsTitle {
  color: #fff;
}

.projects {
  display: flex;
  flex-wrap: wrap;
}

.projectBox {
  flex: 0 0 33.333%;
  max-width: 33.333%;
  padding: 0 15px;
}

.project {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.project .projectIcon {
  z-index: 1;
  display: inline-block;
  width: 105px;
  height: 105px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: -10px;
  right: -20px;
  transform: rotate(10deg);
}

.project .projectIconTitle {
  padding: 25px 18px;
  text-align: center;
  color: #663e1d;
}

.project .projectIconTitle span {
  display: block;
  font-size: 13px;
  line-height: 20px;
  font-weight: bold;
}

.project .projectIconTitle span:last-child {
  font-size: 15px;
  border-top: 1px solid #663e1d;
  line-height: 25px;
}

.project .upgrade {
  z-index: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -55px;
  border-radius: 40px;
  background: linear-gradient(to bottom, #fe262e, #d1020c);
  box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project .upgrade .arrow {
  margin: 0 auto;
  display: block;
  width: 15px;
  height: 15px;
}

.project .upgrade .arrowTxt {
  margin-top: 8px;
  display: block;
  font-size: 18px;
  line-height: 20px;
  color: #fff;
}

.project .avatar {
  vertical-align: top;
  display: inline-block;
  width: 100%;
  height: 200px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 15px 15px 0 0;
}

.projectTxt {
  width: 100%;
}

.project .projectContent {
  padding: 15px;
  background-color: #fff;
}

.projectContent .projectTitle {
  font-size: 28px;
  color: #00369c;
  text-align: center;
}

.projectContent .projectTitle::before {
  content: "";
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background-color: #00369c;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.projectContent .projectTitle span {
  font-style: italic;
  font-size: 30px;
  font-weight: bold;
  padding-right: 5px;
  display: inline-block;
}

.projectContent .projectTitle .comfortable {
  color: #f29700;
}

.projectContent .projectTitle .peace {
  color: #e9551c;
}

.projectContent .projectTitle .save {
  color: #e63562;
}

.projectContent ul {
  padding-top: 30px;
  text-align: center;
}

.projectContent ul li {
  font-size: 20px;
  line-height: 30px;
}

.projectContent .gift {
  color: #df0000;
}

.projectPrice {
  background-color: #eeeeef;
  border-radius: 0 0 15px 15px;
  padding: 15px 30px;
  color: #5b5b5b;
}

.projectPrice > div {
  display: flex;
  justify-content: space-between;
}

.projectPrice .brand {
  font-size: 18px;
  font-weight: bold;
  line-height: 30px;
}

.projectPrice .price {
  font-size: 24px;
  font-weight: bold;
  line-height: 30px;
}

.projectPrice .price span {
  font-size: 15px;
}

@media only screen and (max-width: 820px) {
  .projectbg {
    padding: 30px 0;
  }
  .projectBox {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
    padding-top: 30px;
  }
  .projectBox:first-child {
    padding-top: 0;
  }
  .project .upgrade {
    top: 100%;
    right: 50%;
    transform: translate(50%, -20%);
  }
  .project .upgrade .arrow {
    transform: rotate(90deg);
  }
  .project .avatar {
    height: 300px;
  }
  .projectContent ul li:nth-child(2) {
    margin-bottom: 0;
  }
  .projectContent ul li:last-child {
    margin-bottom: 0;
  }
  .project {
    flex-direction: row;
  }
  .project .avatar {
    width: 33.333%;
    border-radius: 15px 0 0 15px;
  }
  .projectBox:nth-child(1) .avatar {
    height: 246px;
  }
  .projectBox:nth-child(2) .avatar {
    height: 304px;
  }
  .projectBox:nth-child(3) .avatar {
    height: 335px;
  }
  .projectTxt {
    width: 66.6667%;
  }
  .projectPrice {
    border-radius: 0 0 15px 0;
  }
}

@media only screen and (max-width: 540px) {
  .project {
    flex-direction: column;
  }
  .project .avatar {
    width: 100%;
    border-radius: 15px 15px 0 0;
  }
  .projectBox:nth-child(1) .avatar {
    height: 200px;
  }
  .projectBox:nth-child(2) .avatar {
    height: 200px;
  }
  .projectBox:nth-child(3) .avatar {
    height: 200px;
  }
  .projectTxt {
    width: 100%;
  }
  .projectPrice {
    border-radius: 0 0 15px 15px;
  }
}

/* expire 
 ======================================================================*/

.expireBox {
  width: 100%;
  display: flex;
  justify-content: center;
}

.expire {
  display: flex;
  align-items: center;
  margin: 40px 0;
}

.carPic {
  width: 200px;
  height: auto;
  display: inline-block;
  margin-right: 15px;
}

.expireContent {
  color: #5b5b5b;
  display: inline-block;
}

.expireTitle {
  font-size: 24px;
  line-height: 30px;
}
.expireTitle strong {
  font-size: 30px;
  color: #00369c;
}
.expireContent ol {
  font-size: 24px;
  line-height: 35px;
}

.expireContent ol span {
  color: #e9551c;
}

.expireContent ol li {
  display: inline;
  margin-right: 15px;
}

@media only screen and (max-width: 576px) {
  .expireContent ol li {
    display: block;
  }
  .carPic {
    width: 150px;
    height: auto;
  }
  .expireContent ol {
    font-size: 20px;
  }
}

/* illustrate 
 ======================================================================*/

.illustrateBox {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.illustrate {
  width: 65%;
  margin-right: 40px;
}

.illustrateTitle,
.illustrateContent {
  color: #274561;
}

.illustrateTitle {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: bold;
}

.illustrateContent {
  font-size: 15px;
  line-height: 20px;
  padding-left: 20px;
}

.illustrateContent li {
  list-style: decimal;
  margin: 8px 0;
}

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

.text-center {
  text-align: center;
}

.yushan {
  width: 30%;
}

.yushan > img {
  width: auto;
  height: 150px;
  position: absolute;
  left: 20px;
  z-index: 1;
}

@media screen and (min-width: 960px) {
  .yushan > img {
    height: 170px;
    bottom: 15px;
  }
}

.yushan > div {
  min-height: 60px;
  padding: 15px;
  margin-top: 10px;
  margin-bottom: 25px !important;
  background: #fcfaed;
  border: solid 1px #edcd59;
  border-radius: 8px;
}

@media screen and (max-width: 959px) {
  .illustrate {
    margin-right: 0;
  }
  .illustrateBox {
    flex-direction: column;
  }
  .illustrate,
  .yushan {
    width: 100%;
  }
  .yushan > div {
    min-height: 130px;
    text-align: center;
  }
}

.yushan > div > div {
  width: calc(100% - 95px);
  margin-left: 95px;
}

.yushan h5,
.yushan p {
  margin: 0;
}

.yushan p {
  color: #666;
  font-size: 15px;
  line-height: 20px;
}

.yushan h5 span {
  padding: 0 20px;
  margin-bottom: 10px;
  display: inline-block;
  position: relative;
  color: #7e3a20;
  font-size: 20px;
  font-weight: bolder;
}

.yushan h5 span::before,
.yushan h5 span::after {
  content: "";
  width: 13px;
  height: 28px;
  display: block;
  position: absolute;
  top: 1px;
  background-image: url(images/tassel.svg);
  background-size: contain;
}

.yushan h5 span::before {
  left: 0;
}

.yushan h5 span::after {
  right: 0;
  -moz-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  transform: scaleX(-1);
}

/* button 
 ======================================================================*/

.buttonBox {
  z-index: 10;
  position: fixed;
  display: flex;
}

.contact {
  background-color: #fff;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
}

.button {
  display: inline-block;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.button img {
  width: 22px;
  height: 22px;
  margin-bottom: 5px;
}

.button span {
  color: #000;
  font-size: 18px;
}

.top {
  top: 15px;
  left: 0;
  width: 50px;
  height: 50px;
  border-radius: 25px;
  background: linear-gradient(to bottom, #ff7700, #e9551c);
  box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top .topItem {
  text-align: center;
}

.top .arrow {
  margin: 0 auto;
  display: block;
  width: 12px;
  height: 12px;
  transform: rotate(-90deg);
}

.top .topTxt {
  margin-top: 2px;
  display: block;
  font-size: 15px;
  line-height: 20px;
  color: #fff;
}

@media only screen and (min-width: 821px) {
  .buttonBox {
    top: 10%;
    right: 10px;
    flex-direction: column;
  }
  .contact {
    padding: 0 7px;
    border-radius: 25px;
  }
  .button {
    padding: 15px 0;
    width: 36px;
    border-bottom: 1px solid #9e9e9e;
  }
  .button:last-child {
    border-bottom: 0;
  }
  .button span {
    writing-mode: vertical-lr;
  }
}

@media only screen and (max-width: 820px) {
  .buttonBox {
    bottom: 0;
    width: 100%;
  }
  .contact {
    width: 100%;
    padding: 7px 0;
    border-radius: 25px 25px 0 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }
  .button {
    padding: 8px 0;
    width: 100%;
    border-right: 1px solid #9e9e9e;
    flex-direction: row;
    justify-content: center;
  }
  .button:last-child {
    border-right: 0;
  }
  .button img {
    margin-bottom: 0px;
    margin-right: 5px;
  }
  .button span {
    writing-mode: horizontal-tb;
  }
  .top {
    display: none;
  }
}

@media (max-width: 600px) {
  .button img {
    width: 16px;
    height: 16px;
    margin-right: 2px;
  }
  .button span {
    font-size: 15px;
  }
}
