@charset "UTF-8";

/****************** 基本 ******************/
* {
  font-family: "微軟正黑體", "Microsoft JhengHei", Arial, Geneva, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: #777777;
  color: #323232;
  background-color: #fff;
  height: 100%;
  position: relative;
  padding-top: 70px;
}

@media screen and (max-width: 1920px) {
  body {
    padding-top: 60px;
  }
}

hr {
  border-top: 1px solid #afafaf;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000;
  font-weight: 400;
  line-height: 1.2;
}

p {
  margin-bottom: 1.5em;
}

a {
  color: #365166;
  transition: 0.5s;
}

/* a:hover,
a:active,
a:focus,
a:visited {
  color: #365166;
  outline: none;
  text-decoration: none;
} */

img,
object,
embed,
video {
  max-width: 100%;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: #000;
  opacity: 0.2;
}

.reward {
  color: #82bc26;
  margin-right: 3px;
  margin-left: 3px;
}

.rewardTxt {
  color: #0e623d;
  font-size: 55px;
}

.reward-red {
  font-size: 170%;
  font-weight: bold;
  color: #c70007;
}

.red {
  color: #c70007;
  font-weight: 600;
}

.rednote{
  color: #c70007;
}

.reward-red+.red {
  font-size: 130%;
}

/*--- 按鈕 btn ---*/
.btn {
  border-radius: 0;
}

.btn:hover,
.btn:active,
.btn:focus {
  background: #393e46 !important;
  color: #fff;
  outline: none !important;
}

.btn.btn-primary {
  background: #009999;
  color: #fff;
  border: none !important;
  border: 2px solid transparent !important;
  display: inline-block;
  margin-top: 5px;
}

.btn-container {
  padding-bottom: 15px;
}

.btn-more {
  text-align: center;
  padding-top: 10px;
  margin-bottom: 0px;
}

.btn-more a {
  color: #fff;
}

@media screen and (max-width: 576px) {
  .btn.btn-lg {
    padding-top: 10px;
    padding-right: 8px;
    padding-left: 8px;
    padding-bottom: 10px;
    font-size: 16px;
  }
}

/*
--- 切換裝置顯示項目 ---*/
#point {
  display: block;
}

#point_m {
  display: none;
}

#discount {
  display: block;
}

#line {
  display: block;
}

#line_m {
  display: none;
}

@media screen and (max-width: 576px) {
  #point {
    display: none;
  }

  #point_m {
    display: block;
  }

  #discount {
    display: none;
  }

  #discount_m {
    display: block;
  }

  #screenshot {
    display: none;
  }

  #screenshot_m {
    display: block;
  }

  #line {
    display: none;
  }

  #line_m {
    display: block;
  }
}

/****************** 導覽列 navbar ******************/
.navbar {
  background-color: #f8f8f8;
  border-bottom: 1px solid #e8e8e8;
  padding: 0;
}

/*
--- 聯邦LOGO navbar-brand ---*/
.navbar-brand {
  padding-right: 0;
}

.navbar .navbar-brand {
  margin-right: 50px;
  margin-left: 20px;
  width: 250px;
  height: 70px;
  background: url(../../include/images/UBLogo.png) no-repeat 0 50%;
  background-size: contain;
}

.navbar-header .navbar-brand img {
  width: 90%;
}

.navbar-light .navbar-toggler {
  border: none;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 153, 153, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-light .navbar-toggle .icon-bar {
  background-color: #009999;
}

.navbar-light .navbar-nav .nav-link {
  color: rgba(0, 0, 0, 0.9);
}

.navbar-light .navbar-toggle:hover,
.navbar-light .navbar-toggle:focus {
  background-color: #f8f8f8;
}

.navbar-nav>li>a {
  margin-left: 15px;
  margin-top: 10px;
  display: block;
}

.navbar-light .navbar-nav>li>a:hover,
.navbar-light .navbar-nav>li>a:focus {
  color: #009999;
  background-color: transparent;
}

.navbar-light .navbar-nav>.active>a,
.navbar-light .navbar-nav>.active>a:hover,
.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav>.active>a:focus {
  color: #009999;
}

.navbar-toggle {
  margin-top: 13px;
  margin-bottom: 15px;
  border: 0px;
  border-radius: 0px;
}

@media screen and (max-width: 1200px) {
  .navbar .navbar-brand {
    margin-right: 0px;
    margin-left: 20px;
    width: 200px;
    height: 60px;
    /* 60 only*/
  }
}

@media screen and (max-width: 576px) {
  .navbar .navbar-brand {
    margin-right: 40px;
    margin-left: 15px;
  }
}

/* navbar下滑鎖住 */
#navbar {
  position: relative;
  z-index: 8;
}

/* #navbar::after {
  content: '';
  position: absolute;
  height: 130px;
  width: 100%;
  bottom: -80px;
} */

/* 手機時固定底部 */
@media screen and (max-width: 768px) {
  #navbar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 -3px 3px rgba(0, 0, 0, 0.1);
  }

  #navbar::after {
    display: none;
  }
}

/* 連動樣式（例如 icon 翻轉） */
#navbar a::before {
  content: '';
  background-image: url(../images/icon-fan.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 60px;
  height: 25px;
  position: absolute;
  top: 15px;
  left: -8px;
  transition: 0.25s;
}

#navbar a:hover:before {
  top: 18px;
  transform: rotate(30deg);
}

/* RWD 尺寸調整 */
@media screen and (max-width: 991px) {
  #navbar a::before {
    top: 10px;
    width: 32px;
  }
}

@media screen and (max-width: 768px) {
  #navbar a::before {
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
  }

  #navbar a:hover:before {
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/****************** 輪播 carousel  ******************/
.carousel-indicators li {
  width: 10px;
  height: 10px;
  opacity: 0.8;
  border-radius: 50px;
  border: 1px solid #dedede;
  background-color: #bbbbbb;
}

.carousel-indicators .active {
  background-color: #009999;
}

/*
--- 主視覺 ---*/
.topimg1 {
  background-image: url(../images/top.jpg?v=1027) !important;
}

.topimg2 {
  background-image: url(../images/top_2.jpg) !important;
}

.topimg3 {
  background-image: url(../images/top_3.jpg) !important;
}

@media screen and (max-width: 576px) {
  .topimg1 {
    background-image: url(../images/top_m.jpg?v=1027) !important;
  }

  .topimg2 {
    background-image: url(../images/top_2m.jpg) !important;
  }

  .topimg3 {
    background-image: url(../images/top_3m.jpg) !important;
  }
}

/****************** 版面 Container ******************/
/*
--- 活動主版 mainArea ---*/
.mainArea h2 {
  font-size: 20pt;
}

.mainArea h2 small {
  color: #333333;
}

.mainArea h3.date {
  /* 活動起訖日+對象 */
  line-height: 1.5;
  font-size: 1.3rem;
}

.mainArea h4 {
  /* 活動敘述文 */
  color: #2E2E2E;
  font-size: 1.8rem;
  line-height: 1.8;
  padding-top: 10px;
  padding-bottom: 3px;
  font-weight: 600;
}

.mainArea h5 {
  /* 內文區塊下方備註 */
  color: #2A2A2A;
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
  padding-left: 10px;
  padding-right: 10px;
}

.mainArea p {
  color: #000000;
  font-size: 13pt;
  text-align: center;
  margin-bottom: 0px;
}

.mainArea img {
  margin: 20px auto;
}

@media screen and (max-width: 576px) {
  .mainArea {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .mainArea h3.date {
    /* 活動起訖日+對象 */
    font-size: 1rem;
  }

  .mainArea h4 {
    /* 活動敘述文 */
    font-size: 1.4rem;
    /*line-height: 1.5;*/
  }

  .mainText2 .date {
    width: 200px !important;
    font-size: 20px !important;
    line-height: 50px;
    border-radius: 50px;
    margin: 30px auto 0px !important;
  }
}

@media screen and (max-width: 375px) {
  .mainArea h4 {
    /* 活動敘述文 */
    font-size: 13pt;
    /*line-height: 1.5;*/
  }
}

/*
--- 版權宣告footer ---*/
footer {
  width: 100%;
  background-color: #f4f4f4;
}

#footer {
  background-color: #eeeeee;
}

.copyright a {
  color: #7f7f7f;
  outline: none;
  text-decoration: none;
}

.copyright h4,
.copyright h5 {
  margin-top: 15px;
}

.copyright h4 {
  font-size: 26px;
  text-align: right;
}

.copyright h5 {
  font-size: 12px;
  text-align: left;
  color: #777;
  margin-left: 70px;
}

.copyright p {
  font-size: 16px;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 5px;
}

.copyright .list-inline {
  margin-bottom: 0;
}

@media screen and (max-width: 992px) {
  .copyright h4 {
    font-size: 20px;
    text-align: center;
  }

  .copyright h5 {
    font-size: 12px;
    margin-left: auto;
  }

  .copyright p {
    font-size: 12px;
    text-align: center;
  }
}

@media only screen and (max-width: 768px) {
  #footer {
    padding: 10px 0;
    color: #7f7f7f;
    background-color: #eeeeee;
  }

  #footer .copyright {
    margin-bottom: 0px;
    padding-bottom: 0;
  }

  .copyright a {
    color: #7f7f7f;
    outline: none;
    text-decoration: none;
  }

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

/* 國旅 */
.top-info {
  font-size: 1.025rem;
  line-height: 1.5;
  color: #555;
  /* background-color: #009d99; */
  background-color: #fff6f1;
  padding: 0.5em;
}

.footer-info {
  color: #434343;
}

.footer-info a {
  color: #434343;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .top-info {
    font-size: 0.9rem;
  }

  .footer-info {
    font-size: 0.9rem;
  }
}

/* top-nav */
.top-nav {
  display: flex;
  justify-content: center;
  padding: 1em 0;
}

@media only screen and (max-width: 992px) {
  .top-nav {
    flex-wrap: wrap;
  }

  .nav-btn {
    margin-bottom: 5px;
  }
}

.nav-btn {
  background-color: #b4d5ee;
  border: 2px solid #658094;
  border-radius: 8px;
  margin-left: 3px;
  margin-right: 3px;
  padding: 3px;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  color: #0e623d;
  overflow: hidden;
}

.nav-btn a {
  display: flex;
  justify-content: center;
  background-color: #fff;
  border-radius: 6px;
  width: 100px;
  text-decoration: none;
  transition: 0.3s;
}

.nav-btn_master a {
  width: 170px;
}

.nav-btn:hover {
  background-color: #365166;
}

.nav-btn:hover a {
  color: #fff;
  background-color: #365166;
  transform: scale(1.1);
}

.nav-btn a span {
  line-height: 61px;
}

@media only screen and (max-width: 768px) {
  .nav-btn a span {
    line-height: 1.8;
  }
}

@media only screen and (max-width: 576px) {
  .nav-btn {
    font-size: 12px;
  }

  .nav-btn a {
    width: 75px;

  }

  .nav-btn_master a {
    width: 120px;
  }
}

#a0002,
#a0004{
  scroll-margin-top: 70px;
}

#a0006 {
  scroll-margin-top: 85px;
}


/*
--------------------------------------  */
.text1p {
  margin-top: 10px;
  margin-bottom: 30px;
  font-weight: bold;
  color: #252525;
}

.text2p {
  font-size: 18px;
  font-weight: bold;
  color: #252525;
}

.text01 {
  font-size: 1.1rem;
  font-family: "微軟正黑體", Arial, Geneva, sans-serif;
  color: #313131;
  line-height: 1.8;
  text-align: left;
}

.text02 {
  font-size: 1rem;
  font-family: "微軟正黑體", Arial, Geneva, sans-serif;
  color: #313131;
  line-height: 1.8;
  text-align: left;
}

.text03 {
  font-size: 17px;
  font-family: "微軟正黑體", Arial, Geneva, sans-serif;
  color: #313131;
  line-height: 1.8;
  text-align: center;
}

.text04 {
  font-size: 17px;
  font-family: "微軟正黑體", Arial, Geneva, sans-serif;
  color: #313131;
  font-weight: bold;
}

ul.text01 {
  -webkit-padding-start: 24px;
  padding-inline-start: 24px;
  margin-bottom: 0;
}

@media screen and (max-width: 480px) {
  .text1p {
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 30px;
  }

  .text2p {
    font-size: 20px;
  }
}

.cardBlock img {
  display: inline-block;
}

#mainActBox {
  background: url(../images/main_BG.jpg) no-repeat center;
  background-size: cover;
  padding-top: 50px;
  padding-bottom: 50px;
}

#mainActBox h2 {
  margin-bottom: 30px;
}

#mainActBox h4 {
  color: #FFFFFF;
  background-color: #ff2d03;
  text-align: center;
  margin-top: -15px;
  max-width: 250px;
}

.fullArea {
  background: url(../images/sky.jpg) no-repeat top center;
  background-size: cover;
  padding-top: 36px;
}

.fullArea .title3 {
  font-size: 30px;
  margin-top: -150px;
  margin-bottom: 30px;
}

.fullArea h4 {
  color: #FFFFFF;
  background-color: #ff2d03;
  text-align: center;
  margin-top: -15px;
  max-width: 250px;
}

.fullArea a {
  color: #000000;
}

#memo {
  font-size: 15px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.actTitle {
  text-align: center;
}

@media screen and (max-width: 550px) {
  .actTitle img {
    max-width: 85%;
  }
}

.actBox {
  text-align: center;
  background-color: #fff;
  border: 2px solid #94bad7;
  border-radius: 20px;
  padding: 36px 16px 28px;
  margin-bottom: 20px;
  position: relative;
}

.actBox-travel {
  padding: 36px 36px 28px;
  border: 2px solid #c9d5db;
}

.actBox-gift {
  padding: 36px 48px 28px;
  border: 3px solid #c2e0f7;
  background-color: #f6fcff;

}

.newIcon {
  position: absolute;
  width: 65px;
  height: 60px;
  /* background-color: #47d7ff; */
  top: 10px;
  left: -10px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;

}

.newIcon::before {
  content: '獨家';
  position: absolute;
  width: 100%;
  height: 40px;
  background-color: #ff5757;
  /* transform:  translateY(-70px); */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  letter-spacing: 0.1em;
  font-weight: 600;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  box-shadow: 0 5px 2px rgba(0, 0, 0, 0.1);
}

.newIcon::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 20px;
  background-color: #b51818;
  transform: rotate(-45deg);
  bottom: 2px;
  left: 0px;
  z-index: -1;
}


.actBox img {
  margin: 0 auto 10px;
}

.actBox h2 {
  font-size: 18px;
  color: #16354a;
  font-weight: bold;
  vertical-align: middle;
}

.actBox h3 {
  color: #16354a;
  font-weight: bold;
  text-align: center;
}

.actBox .actBox-line {
  text-align: left;
}

.boxhigh {
  min-height: 385px;
}

.boxhigh_1 {
  min-height: 220px;
}

.boxhigh_2 {
  min-height: 360px;
}

.boxhigh_3 {
  min-height: 100px;
}

.gift {
  text-align: center;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.gift h3 {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.8;
  color: #FFFFFF;
  background: #66b72e;
  border-radius: 50px;
  margin-top: 0.5rem;
}

@media screen and (max-width: 1199px) {
  .boxhigh_1 {
    min-height: 290px;
  }

  .actBox-travel,
  .actBox-gift {
    padding: 36px 16px 28px;
  }
}

@media screen and (max-width: 991px) {
  .actBox {
    padding: 24px 12px 28px;
  }

  .gift {
    width: 90%;
  }

  .gift h3 {
    font-size: 18px;
  }

  .boxhigh_1 {
    min-height: 310px;
  }

  .boxhigh_2 {
    min-height: 510px;
  }
}

@media screen and (max-width: 768px) {

  .boxhigh_1,
  .boxhigh_2,
  .boxhigh_3 {
    min-height: auto;
  }
}

@media screen and (max-width: 480px) {
  .gift {
    width: 80%;
    padding-left: 5px;
    padding-right: 5px;
  }

  .gift h3 {
    font-size: 20px;
  }

  .boxhigh {
    min-height: auto;
  }

  .actDate {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .actBox {
    margin-right: 2px;
    margin-left: 2px;
  }
}

/* 
modal */
.modal .btn-close {
  background: url(../images/close.png) no-repeat;
  width: 3em;
  height: 3em;
  float: right;
}

.modal-content {
  background-color: #fff;
  border: 5px solid rgba(26, 193, 220, 0.84);
  border-radius: 30px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  outline: 0;
}

.modalnotice {
  font-size: 11pt;
  line-height: 1.8;
  font-family: "微軟正黑體";
}

.modalnotice table {
  margin-top: -20px;
}

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

.modal_text1 {
  font-size: 20pt;
  line-height: 30pt;
  color: #ea5405;
}

.modal_text2 {
  font-size: 20pt;
  line-height: 30pt;
  color: #595757;
}

.modal_text3 {
  font-size: 16pt;
  line-height: 24pt;
  color: #0081cc;
}

.modal_text4 {
  font-size: 16pt;
  line-height: 24pt;
  color: #595757;
}

.modal_text5 {
  font-size: 14pt;
  line-height: 24pt;
  color: #595757;
}

.modal_ol {
  -webkit-padding-start: 24px;
  padding-inline-start: 24px;
  margin-bottom: 0;
}

.modal .modal-title {
  color: #009999;
  font-weight: 600;
  font-size: 2rem;
}

/* .modal .actBox {
  text-align: center;
  background-color: #ebebeb;
  border: transparent;
  border-radius: 20px;
  padding: 3em 0;
  margin-bottom: 20px;
} */
@media screen and (max-width: 480px) {
  .modal .modal-title {
    font-size: 1.5rem;
  }

  .modal_text1 {
    font-size: 16pt;
    line-height: 24pt;
    color: #ea5405;
  }

  .modal_text2 {
    font-size: 16pt;
    line-height: 24pt;
    color: #595757;
  }

  .modal_text3 {
    font-size: 13pt;
    line-height: 18pt;
    color: #0081cc;
  }

  .modal_text4 {
    font-size: 13pt;
    line-height: 18pt;
    color: #595757;
  }

  .modal_text5 {
    font-size: 11pt;
    line-height: 17pt;
    color: #595757;
  }
}

/* btn_goTop */
.goTop {
  font-weight: 600;
  font-size: 1rem;
  padding: 16px;
  border-radius: 50em;
  border: 2px solid #15334a;
  color: #15334a;
  background-color: #ffffff;
  position: fixed;
  right: 1rem;
  bottom: 1.875rem;
  cursor: pointer;
  transform: translateY(120px);
  transition: 0.3s;
  opacity: 0.7;
  z-index: 10;
}

@media screen and (max-width: 768px) {
  .goTop {
    right: 0.75rem;
    bottom: 10rem;
  }
}

.goTop:after {
  content: "TOP";
}

.goTop:hover {
  background-color: #15334a;
  color: #ffffff;
  opacity: 1;
}

.goTop:focus {
  outline: none;
}

.goTop.active {
  transform: translateY(0);
  transition: 0.6s;
  height: auto;
}

/* +++ */
.btn-outline-primary {
  --bs-btn-color: #009999;
  --bs-btn-border-color: #009999;
}

section {
  padding: 1em 0;
}

.evenImg {
  text-align: center;
}

.evenImg img {
  border-radius: 10px;
  border: 2px solid #82bc26;
  overflow: hidden;
  margin: 0 auto 2rem;
  transition: 0.25s;
}

.evenImg:hover img {
  border: 2px solid #0e623d;
  transform: scale(1.05);
}

.main-title {
  font-size: 3.2rem;
  font-weight: bolder;
  color: #0f633e;
  text-align: center;
}

.actbg-gift {
  padding: 1em 0 1em;
}

@media screen and (max-width: 768px) {
  .actbg-gift {
    padding: 1em 0 2em;
  }
}

.actbg-gift .pic-300 {
  max-width: 200px;
}

.actbg-4 {
  padding: 8em 0 2em;
  background: url(../images/bg-cloud-top.png) repeat-x top -20px center, linear-gradient(0deg, #fff 40%, #e0eff6 97%, #fff 100%);
}

@media screen and (max-width: 768px) {
  .actbg-4 {
    background: url(../images/bg-cloud-top.png) repeat-x top -20px center, linear-gradient(0deg, #fff 40%, #e0eff6 97%, #fff 100%);
  }
}

.actbg-4 .actBox-title {
  display: flex;
  justify-content: space-between;
}

.actbg-4 .actBox-title h3 {
  font-size: 1.75rem;
}

.actbg-4 .actBox-title img {
  width: 38%;
  margin: 0;
  padding: 3px;
  border-radius: 15px;
}

.actbg-4 .actBox-title .actBox-title-txt {
  width: 65%;
  margin-top: auto;
  margin-bottom: auto;
}

@media screen and (max-width: 1199px) {
  .actbg-4 .actBox-title {
    margin-bottom: 0;
    flex-wrap: wrap;
  }

  .actbg-4 .actBox-title img {
    margin-bottom: 1rem;
    width: 50%;
    margin: 0 auto;
  }

  .actbg-4 .actBox-title .actBox-title-txt {
    width: 100%;
    margin-top: 12px;
  }
}

.actbg-4 .actBox-title .reward-red {
  font-size: 3rem;
  line-height: 1.1;
}

.actbg-4 .actBox-title .reward-red+span {
  font-size: 1.75rem;
}

.actbg-4 .actBox-title .fw-bold {
  font-size: 1.75rem;
}

.actbg-4 .actBox {
  overflow: hidden;
}

@media screen and (min-width: 991px) and (max-width: 1199px) {
  .actbg-4 .actBox {
    min-height: 536px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .actbg-4 .actBox {
    min-height: 490px;
  }
}

.actbg-4 .actBox .actBox-body {
  min-height: 154px;
  padding: 15px 10px;
}

@media screen and (max-width: 768px) {
  .actbg-4 .actBox .actBox-body {
    min-height: auto;
  }
}

.actbg-5 {
  padding: 2em 0;
  background: url(../images/bg-leaf-shadow-l.png) no-repeat top 100px left -150px, url(../images/bg-leaf-shadow.png) no-repeat top right -200px, url(../images/bg-icon.png) repeat, linear-gradient(0deg, #fff 0%, #e0eff6 50%, #fff 90%);
}

@media screen and (max-width: 768px) {
  .actbg-5 {
    background: linear-gradient(0deg, #fff 0%, #e0eff6 20%, #e0eff6 80%, #fff 100%);
  }
}

.actbg-5 .actBox {
  padding: 32px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: transparent;
  box-shadow: rgb(0 0 0 / 0%) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgb(228 241 247) 0px -3px 0px inset;
  min-height: 235px;
}

.actbg-5 .actBox p {
  margin-bottom: 0.5rem;
}

.actbg-5 .actBox .actBox-body {
  width: 60%;
  margin-top: auto;
  margin-bottom: auto;
}

.actbg-5 .actBox .actBox-img {
  width: 40%;
  padding-right: 0.5rem;
}

.actbg-5 .actBox .actBox-img img {
  border-radius: 15px;
  margin-top: auto;
  margin-bottom: auto;
}

.actbg-5 .actBox .text01 {
  margin-bottom: 0.5rem;
}

@media screen and (max-width: 1199px) {
  .actbg-5 .actBox h3 {
    font-size: 1.4rem;
  }

  .actbg-5 .actBox .actBox-body {
    width: 65%;
  }

  .actbg-5 .actBox .actBox-img {
    width: 35%;
  }

  .actbg-5 .actBox .actBox-img img {
    border-radius: 10px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .actbg-5 .actBox {
    min-height: 256px;
  }
}

@media screen and (max-width: 576px) {
  .actbg-5 .actBox {
    flex-wrap: wrap;
  }

  .actbg-5 .actBox .actBox-img {
    width: 40%;
    margin-bottom: 0.75rem;
  }

  .actbg-5 .actBox .actBox-body {
    width: 100%;
  }
}

.actbg-6 {
  padding: 8em 0 5em;
  background: url(../images/bg-plent-400.png) no-repeat top right -50px, url(../images/bg-icon.png) repeat, url(../images/bg-cloud-top.png) repeat-x top, linear-gradient(0deg, #f8f8f8 20%, #e0eff6 90%, #f8fafb 100%);
}

@media screen and (max-width: 768px) {
  .actbg-6 {
    padding: 5em 0 2em;
    background: url(../images/bg-plent-400.png) no-repeat top -30px right -200px, url(../images/bg-cloud-top.png) repeat-x top, linear-gradient(0deg, #f8f8f8 20%, #e0eff6 90%, #f8fafb 100%);
  }
}

.actbg-6 .actBox {
  border: transparent;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.actbg-6 .actBox:last-child {
  min-height: 240px;
}

.actbg-6 .actBox .actBox-body {
  min-height: 150px;
}

@media screen and (max-width: 1199px) {
  .actbg-6 .actBox:last-child {
    min-height: 300px;
  }

  .actbg-6 .actBox .actBox-body {
    min-height: 210px;
  }
}

@media screen and (max-width: 768px) {
  .actbg-6 .actBox {
    min-height: auto;
  }

  .actbg-6 .actBox:last-child,
  .actbg-6 .actBox .actBox-body {
    min-height: auto;
  }
}

.actbg-6 .actBox h3 {
  margin-top: 1rem;
}

.actbg-6 .actBox h3 img {
  width: 45px;
  margin-right: 5px;
  margin-bottom: 10px;
}

/*公務人員優惠*/
.actbg-gov .actBox {
  margin-bottom: 2rem;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.actbg-gov .actBox h3 {
  max-width: 330px;
  margin: -3.2rem auto 1rem;
  background-color: #fff;
  font-size: 1.6rem;
}

@media screen and (max-width: 768px) {
  .actbg-gov .actBox h3 {
    max-width: 280px;
    margin: -2.5rem auto 1rem;
  }
}

.actbg-gov .actBox .actBox-body {
  min-height: 88px;
}

@media screen and (max-width: 991px) {
  .actbg-gov .actBox .actBox-body {
    min-height: 145px;
  }
}

@media screen and (max-width: 768px) {
  .actbg-gov .actBox .actBox-body {
    min-height: auto;
  }
}

.actbg-gov h3.actBox-line-title {
  margin-top: -5rem;
}

.actbg-gov .actBox-line {
  display: flex;
  justify-content: center;
  align-items: center;
}

.actbg-gov .actBox-line table td {
  vertical-align: top;
  text-align: left;
  padding-bottom: 1rem;
}

@media screen and (max-width: 1199px) {
  .actbg-gov h3.actBox-line-title {
    margin-top: -4rem;
  }

  .actbg-gov .actBox-line {
    flex-wrap: wrap;
    /* justify-content: start; */
  }

  .actbg-gov .actBox-line .text2p {
    margin-bottom: 2rem;
  }

  .actbg-gov .actBox-line table td {
    padding-bottom: 0;
  }
}

/*# sourceMappingURL=style.css.map */

/* 活動已結束 */

.btn-secondary:visited {
  color: #FFFF;
}


/* 緞帶 */
.actBox-wrap {
  position: relative;
}

.ribbon {
  position: absolute;
  width: 100px;
  height: 100px;
  top: -10px;
  left: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 5;
}

.ribbon::before {
  position: absolute;
  width: 140%;
  height: 30px;
  transform: rotate(-45deg) translateY(-23px);
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.1em;
  color: #fff;
  font-weight: 700;
}

/* 各名次顯示不同文字與顏色 */
.ribbon.top1::before,
.ribbon.top2::before,
.ribbon.top3::before,
.ribbon.top4::before {
  background-color: #0fbaba;
}

.ribbon.top1::before {
  content: 'TOP1';
}

.ribbon.top2::before {
  content: 'TOP2';
}

.ribbon.top3::before {
  content: 'TOP3';
}

.ribbon.top4::before {
  content: 'TOP4';
}

.ribbon::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #2b7474;
  bottom: 11px;
  left: 0;
  z-index: -1;
  box-shadow: 79px -79px #2b7474;
}

@media screen and (max-width: 576px) {
  .ribbon::after {
    bottom: 12px;
    left: 1px;
    box-shadow: 78px -78px #2b7474;
  }
}