.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: 17;
}
.logo {
  position: absolute;
  z-index: 17;
  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;
  }
}

/* 自適應banner組 */
/* ======================================== */
.banner__title {
  height: 65px;
  background: center top no-repeat;
}
.banner__wrap {
  display: flex;
  flex-wrap: wrap;
}
.banner__item {
  transition: all 0.3s;
  padding-top: 1%;
}
.banner__item img {
  width: 100%;
}

@media screen and (min-width: 767px){
  .banner__item {
    padding: .3%;
  }
}

/* 設定一列2個(50%，3個就33.33%，4個就25%) */

.bn-w2m1 .banner__item {
  float: left;
  width: 100%;
  /* padding-top: 1%; */
  /* margin-bottom: 1%; */
}

@media screen and (min-width: 767px) {
  .bn-w2m1 .banner__item {
    width: 50%;
  }
}

/* 設定點下去與hover動畫 */
.banner__item:hover,
.banner__item:active {
  /* 變小(<1時變小) */
  transform: scale(0.98);
  /* 亮度調暗(<100%時變暗) */
  /*filter: brightness(95%);*/
}

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

/* BN寬度只佔一半 */
@media screen and (min-width: 767px) {
  .banner__item--half{
    width: 50%;
  }
}

/* 雙輪播用 */
.swiper-slide .slide__block {
  display: flex;
}
