@charset "UTF-8";
/* ==== 宣告 全域設定 ==== */
:root {
  --size-default: 2rem;
  --line-height-default: 1.6;
  --padding-spac: 16px;
  --container-1080: calc(1080px + (var(--padding-spac) * 2));
  --container-1080-mobile: calc(1080px + (var(--padding-spac) * 2));
  --gap-12: 12px;
  --gap-16: 16px;
  --gap-24: 24px;
  --gap-32: 32px;
  --gap-40: 40px;
  --gap-48: 48px;
  --gap-64: 64px;
  --gap-80: 80px;
  --gap-96: 96px;
  --header-space-v: 8px;
  --header-space-h: 100px;
  --header-line-height: 48px;
  --logo-w: 144px;
  --header-h: calc(var(--header-line-height) + var(--header-space-v) * 2);
  --box-space: 80px;
  --block-space: 20px;
  --block-inside-space: 48px;
  --box-ti: 36px;
  --list-ti: 26px;
  --list--space: -30px;
  --item--space: 30px;
  --input-h: 40px;
  --table-space: 24px;
  --edit-box-space: 24px;
}

@media (max-width: 1439px) {
  :root {
    --list--space: -16px;
    --item--space: 16px;
  }
}
@media (max-width: 1280px) {
  :root {
    --header-space-h: 40px;
  }
}
@media (max-width: 1279px) {
  :root {
    --size-default: 1.6rem;
    --container-1080: calc(944px + (var(--padding-spac) * 2));
    --container-1080-mobile: calc(944px + (var(--padding-spac) * 2));
    --gap-64: 40px;
    --box-ti: 32px;
    --block-inside-space: 32px;
    --table-space: 16px;
  }
}
@media (max-width: 1023px) {
  :root {
    --container-1080: calc(688px + (var(--padding-spac) * 2));
    --container-1080-mobile: calc(688px + (var(--padding-spac) * 2));
    --box-ti: 28px;
    --list-ti: 22px;
    --box-space: 64px;
    --block-inside-space: 24px;
  }
}
@media (max-width: 767px) {
  :root {
    --container-1080: 100%;
    --container-1080-mobile: 100%;
    --gap-64: 24px;
    --gap-48: 32px;
    --header-space-h: 16px;
    --box-ti: 24px;
    --box-space: 40px;
    --list--space: 0;
    --item--space: 0;
    --edit-box-space: 16px;
  }
}
/* ==== swiper ==== */
/* 共用樣式 .swiper */
.swiper {
  position: relative;
  overflow: hidden;
}
.swiper .swiper-wrapper .swiper-slide {
  position: relative;
  overflow: hidden;
}
.swiper .swiper-wrapper .swiper-slide img {
  width: 100%;
  height: auto;
}

/* pagination 點 */
.swiper-pagination {
  z-index: 5;
  bottom: unset !important;
  top: 50% !important;
  padding: 0 32px;
  font-size: 0;
  text-align: center;
  line-height: 0;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}
.swiper-pagination .swiper-pagination-bullet {
  display: inline-block;
  margin: 0 6px !important;
  padding: 0;
  width: 12px;
  height: 12px !important;
  opacity: 1;
  border: none;
  border-radius: 100%;
  background-color: #e1e1e1;
  -webkit-transition: background-color 0.35s;
  transition: background-color 0.35s;
}
.swiper-pagination .swiper-pagination-bullet:hover, .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #002D37;
}

/* navigation 左右箭頭 */
.swiper-aw {
  display: block;
  z-index: 5;
  top: 50%;
  margin: 0;
  width: 60px;
  height: auto;
  font-size: 0;
  outline: none;
  line-height: 0;
  border-radius: 100%;
  background-color: #002D37;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}
.swiper-aw::after {
  display: none;
}
.swiper-aw::before {
  display: block;
  content: "";
  padding-bottom: 100%;
  width: 100%;
}
.swiper-aw i {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30%;
  max-width: 25px;
  background: url(../images/swiper_aw.svg) no-repeat 0 0;
  background-size: cover;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.swiper-aw i::before {
  display: block;
  content: "";
  padding-bottom: 90%;
  width: 100%;
}
.swiper-aw:hover {
  background-color: #33575f;
}
.swiper-aw:active {
  background-color: #29464c;
}
.swiper-aw.swiper-button-disabled {
  cursor: not-allowed;
  opacity: 0.25;
}

.swiper-button-prev {
  left: 16px;
}

.swiper-button-next {
  right: 16px;
}
.swiper-button-next i {
  -webkit-transform: translate(-50%, -50%) rotate(180deg);
      -ms-transform: translate(-50%, -50%) rotate(180deg);
          transform: translate(-50%, -50%) rotate(180deg);
}

/* 隱藏按鈕 */
.is-prevent-btn.swiper {
  padding-bottom: 0;
}
.is-prevent-btn .swiper-aw, .is-prevent-btn .cursor-aw {
  display: none !important;
  pointer-events: none;
}
.is-prevent-btn .hoverable-area {
  cursor: default;
}

.control-btn {
  position: absolute;
  top: 48%;
  left: 0;
  width: 100%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

@media (max-width: 1279px) {
  .swiper-aw {
    width: 40px;
  }
}
@media (max-width: 1023px) {
  .swiper-pagination {
    display: block;
  }
  .swiper-aw {
    width: 32px;
    background-color: transparent;
  }
  .swiper-aw i {
    width: 100%;
    max-width: 32px;
    background-image: url(../images/select_aw.svg);
  }
  .swiper-aw i::before {
    padding-bottom: 100%;
  }
  .swiper-aw:hover {
    background-color: transparent;
  }
  .swiper-button-prev {
    left: 0;
  }
  .swiper-button-prev i {
    -webkit-transform: translate(-50%, -50%) rotate(90deg);
        -ms-transform: translate(-50%, -50%) rotate(90deg);
            transform: translate(-50%, -50%) rotate(90deg);
  }
  .swiper-button-next {
    right: 0;
  }
  .swiper-button-next i {
    -webkit-transform: translate(-50%, -50%) rotate(-90deg);
        -ms-transform: translate(-50%, -50%) rotate(-90deg);
            transform: translate(-50%, -50%) rotate(-90deg);
  }
  .control-btn {
    position: relative;
    top: unset;
    margin: 35px auto 0;
    padding: 0 32px;
    max-width: 320px;
    height: 32px;
    line-height: 32px;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
  }
}
@media (max-width: 575px) {
  .control-btn {
    max-width: 100%;
  }
}
/* index */
@media (min-width: 1024px) {
  #i-news .swiper-pagination {
    display: none;
  }
}