.home--icon {
  z-index: 1;
}
.go-top {
  display: none;
  position: fixed;
  z-index: 999;
  right: 10px;
  bottom: 90px;
  width: 48px;
  height: 48px;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  border-width: 1px;
  border-style: solid;
  border-top-color: rgba(255, 255, 255, 0);
  border-right-color: rgba(255, 255, 255, 0.1);
  border-bottom-color: rgba(255, 255, 255, 0.2);
  border-left-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.3s linear;
  transform: translateY(-50%);
  opacity: 0;
  cursor: pointer;
  pointer-events: none;
}

.go-top.is-visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

@media screen and(min-width: 1213px) {
  .go-top.is-visible:hover {
    background-color: rgba(0, 0, 0, 1);
    border-top-color: rgba(255, 255, 255, 1);
    border-right-color: rgba(255, 255, 255, 0.7);
    border-bottom-color: rgba(255, 255, 255, 0.8);
    border-left-color: rgba(255, 255, 255, 0.9);
  }
}

.go-top:focus,
.go-top i:focus {
  outline: 0;
}

/* style.css */
/* reset */
/* ======================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
*:before,
*:after {
  box-sizing: border-box;
}
a {
  display: block;
  text-decoration: none;
}
ul {
  list-style: none;
}
img {
  width: 100%;
  border: 0;
  vertical-align: middle;
}
article,
main,
nav,
section {
  display: block;
}
body {
  margin: 0;
  background-color: #f4d7d3;
  font-family: PingFangTC-regular, Roboto, "LiHei Pro", "Source Han Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Microsoft JhengHei", sans-serif;
}
.clearfix::after {
  content: '';
  display: block;
  clear: both;
}
.layout--main {
  position: relative;
  z-index: 0;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
/* 主視覺 */
/* ======================================== */
.logo a,
.sp__visual a {
  display: block;
}
.home--logo {
  z-index: 1;
}
.logo {
  position: absolute;
  z-index: 1;
  top: 1%;
  left: 1%;
  width: 30%;
  max-width: 220px;
}
.sp__visual {
  position: relative;
  z-index: 0;
  width: 100%;
}
.visual--auto {
  display: flex;
  flex-wrap: wrap;
}
.visual__fragment {
  float: left;
  position: relative;
  z-index: 0;
  max-width: 100%;
  vertical-align: middle;
}
@media screen and(min-width: 960px) {
  .visual__fragment {
    width: auto;
  }
}
/* 組版nav */
/* ======================================== */
.build__anchor {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}
/* 設定組版nav樣式 */
.build__anchor {
  border: 1px solid #fee;
}
.build__anchor a {
  display: block;
  padding: 10px 5px;
  color: #fff;
  background-color: #faa;
  border: 1px solid #fee;
  font-size: 30px;
  transition: transform 0.16s;
}
.build__anchor a:hover,
.build__anchor a:active {
  filter: brightness(105%) contrast(110%);
  transform: scale(1.02);
}
/* 設定組版nav寬度(12.5% = 一列8個) */
.build-nav__item {
  float: left;
  width: 12.5%;
  flex: 1 1 12.5%;
  line-height: 200%;
}
@media screen and(max-width: 820px) {
  /* 設定手機置底選項高度(可不設) */
  /*body {
      padding-bottom: 108px;
    }*/
  .build__nav {
    position: fixed;
    z-index: 5;
    bottom: 0;
    left: 0;
    width: 100%;
  }
  /* 設定手機組版nav樣式(可不設) */
  .build__anchor {
    border: 1px solid #faa;
  }
  .build__anchor a {
    color: #faa;
    background-color: #fff;
    border: 1px solid #faa;
    font-size: 18px;
  }
  /* 設定手機組版nav寬度(可不設) */
  .build-nav__item {
    width: 25%;
    flex: 1 1 25%;
  }
}
/* 自適應banner組 */
/* ======================================== */
.banner__title {
  height: 65px;
  background: center top no-repeat;
}
.banner__wrap {
  display: flex;
  flex-wrap: wrap;
}
.banner__item {
  transition: all 0.3s;
}
.banner__item img {
  width: 100%;
}
/* 設定一列2個(50%，3個就33.33%，4個就25%) */
.bn-w2m1 .banner__item {
  float: left;
  width: 50%;
  flex: 1 1 50%;
}
/* 設定點下去與hover動畫 */
.bn-w2m1 .banner__item:hover,
.bn-w2m1 .banner__item:active {
  /* 變小(<1時變小) */
  transform: scale(0.98);
  /* 亮度調暗(<100%時變暗) */
  /*filter: brightness(95%);*/
}

/* 設定一列4個 */
.bn-w4m2 .banner__item {
  float: left;
  width: 25%;
  flex: 1 1 25%;
}
/* 設定點下去與hover動畫 */
.bn-w4m2 .banner__item:hover,
.bn-w4m2 .banner__item:active {
  /* 變大(>1時變大) */
  transform: scale(1.05);
  /* 亮度調亮(>100%時變亮) */
  filter: brightness(115%);
}
@media screen and(max-width: 1024px) {
  /* 設定手機時一列2個 */
  .bn-w4m2 .banner__item {
    width: 50%;
    flex: 1 1 50%;
  }
}
/* 設定一列3個 */
.bn-w3m1 .banner__item {
  width: 33.33%;
  flex: 1 1 33.33%;
}
/* 設定點下去與hover動畫 */
.bn-w3m1 .banner__item:hover,
.bn-w3m1 .banner__item:active {
  /* 變大(>1時變大) */
  transform: scale(1.05);
  /* 亮度調亮(>100%時變亮) */
  filter: brightness(115%);
}
@media screen and(max-width: 1024px) {
  /* 設定手機時一列1個 */
  .bn-w3m1 .banner__item {
    width: 100%;
    flex: 1 1 100%;
  }
}
