/* Banner */
.page_ban .banner_box {
  position: relative;
  width: 100%;
  height: 540px;
  overflow: hidden;
  clip-path: url(#banner);
}
.page_ban .banner_box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 4s ease;
}
.page_ban .banner_box img.zoom-in {
  transform: scale(1);
}
.ban_con {
  position: relative;
}
.ban_title {
  position: absolute;
  right: 0;
  top: -7rem;
  width: 37%;
  font-size: 2.75rem;
  font-weight: bold;
  text-align: left;
  color: var(--titleColor);
}
@media screen and (max-width: 991px) {
  .page_ban .banner_box {
    height: 300px;
    clip-path: none;
  }
  .ban_title {
    position: relative;
    top: 0;
    width: 100%;
    font-size: 2.25rem;
    margin-top: 1rem;
  }
}

/* 標題 */
.title {
  margin-bottom: 4rem;
}
.sec_title {
  position: relative;
  color: var(--titleColor);
  font-weight: bold;
  margin: 2.5rem 0 1.5rem;
}
.thr_title {
  margin: 2rem 0 1.5rem;
}
.page_sitemap {
  margin-top: 1.5rem;
  font-size: 1.125rem;
}
.page_sitemap a:hover {
  color: var(--mainColor);
}
@media screen and (max-width: 991px) {
  .title {
    margin-bottom: 2rem;
  }
  .sec_title {
    margin: 1.5rem 0 1rem;
  }
  .page_sitemap {
    font-size: 1rem;
    margin-top: 1rem;
  }
}

/* 文字 */
.light_text {
  padding: 1rem;
  border-radius: 0.5em;
  background-color: var(--bgColor);
}
.light_text h4 {
  position: relative;
  text-align: center;
  margin-bottom: 0.5rem;
}
.light_text h4::before {
  content: "\e695";
  font-family: "themify";
  font-weight: normal;
  color: var(--mainColor);
  padding-right: 0.5em;
}
.light_text p {
  margin-bottom: 0;
}

/* 文字、背景顏色 */
.color_t {
  color: var(--tealColor) !important;
}
.bg_t {
  background-color: var(--tealColor2) !important;
}

.color_g {
  color: var(--greenColor) !important;
}
.bg_g {
  background-color: var(--greenColor2) !important;
}

.color_o {
  color: var(--orangeColor) !important;
}
.bg_o {
  background-color: var(--orangeColor2) !important;
}

.color_r {
  color: var(--mainColor) !important;
}
.bg_r {
  background-color: var(--mainColor2) !important;
}

/* 背景 */
.bg {
  padding: 8rem 0;
  background: url(../images/bg.png) no-repeat;
  background-size: cover;
}
.gray_bg {
  padding: 1rem;
  background-color: var(--grayColor);
}
@media screen and (max-width: 991px) {
  .bg {
    padding: 3rem 0;
    background: var(--orangeColor2);
  }
}

/* 頁籤 */
.nav-tabs {
  border-bottom: 0;
}
.nav-tabs .nav-link {
  font-size: 1.25rem;
  padding: 2rem 2rem;
  margin: 0;
  border: 0;
  border-bottom: 2px solid var(--black20);
  min-height: 122px;
  text-align: center;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  position: relative;
  color: var(--mainColor);
  background: none;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
  border: 0;
  border-bottom: 2px solid var(--mainColor);
}
@media screen and (max-width: 991px) {
  .nav-tabs .nav-link {
    padding: 2rem 1rem;
  }
}

/* 表格 */
table {
  border-top: none;
  border-bottom: none;
  border-right: none;
  border-left: 1px solid var(--black20);
}
th {
  font-size: 1.125rem;
  text-align: center;
  color: var(--whiteColor);
  padding: 1rem;
  border-bottom: 1px solid var(--black20);
  border-right: 1px solid var(--black20);
  background-color: var(--mainColor);
}
td {
  text-align: center;
  padding: 0.75rem;
  border-bottom: 1px solid var(--black20);
  /* border-left: 1px solid var(--black20); */
  border-right: 1px solid var(--black20);
  background: var(--whiteColor);
}
table .bg {
  background-color: var(--grayColor);
}
table tr.bg td {
  background-color: var(--grayColor);
}
table tr.light,
table tr.light td,
table tr td.light {
  /* background-color: #fff9ee; */
  background-color: var(--grayColor);
}

.modal .table-container {
  overflow-y: auto;
  height: 60vh;
}
.table-container {
  overflow-y: auto;
  height: 100vh;
}
table.freeze-header {
  border-collapse: separate;
  width: 100%;
}
table.freeze-header thead th {
  position: sticky;
  top: 0;
  background-color: var(--mainColor);
  /* box-shadow: 0 2px 5px rgba(0,0,0,0.2); */
  z-index: 10;
}

/* .tab1 {
  background: var(--mainColor);
} */
.note {
  position: relative;
  font-size: 0.9rem;
  padding-left: 3.25rem;
  margin-top: 0.75rem;
  color: var(--black40);
}
.note::before {
  content: "註：";
  position: absolute;
  top: 0;
  left: 0;
}
.note li {
  list-style: decimal;
  margin-bottom: 0.25rem;
}
.note li:only-child {
  list-style: none;
}
.note:has(li:only-child) {
  padding-left: 2.25rem;
}
.table ul li,
.table ol li {
  position: relative;
  text-align: left;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}
@media screen and (max-width: 991px) {
  table {
    width: 200%;
  }
  th {
    min-width: 100px;
  }
  .note {
    padding-left: 1rem;
    margin-top: 2.75rem;
  }
  .note:has(li:only-child) {
    padding-left: 0;
  }
  .note::before {
    top: -2rem;
  }
}

/* ul li 樣式 */
ul.circle_icon2 li {
  position: relative;
  padding: 0 1rem 1rem 2rem;
  font-size: 1.125rem;
}
ul.circle_icon2 li::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #c43e4d;
  border-radius: 50%;
  position: absolute;
  left: 5px;
  top: 9px;
}
ul.circle_icon2 li::after {
  content: "";
  width: 20px;
  height: 20px;
  border: 1px solid #cd5d67;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 4px;
}
.tableList > li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 5px;
}
.tableList > li::before {
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #c43e4d;
}
.tableList > li::after {
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  top: 12px;
  left: 12px;
  border: 1px solid #c43e4d;
}
.tableList-sec > li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 0.5rem;
}
.tableList-sec > li::before {
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  top: 12px;
  left: 4px;
  border: 1px solid #c43e4d;
  border-radius: 50%;
}
.tableList-sec > li::after {
  content: none;
}
.tableList-sec > li::after {
  content: none;
}

/* checkbox & radio */
label {
  position: relative;
}
.module_checkbox + label {
  position: relative;
  display: inline-block;
  cursor: pointer;
  vertical-align: middle;
  margin-right: 10px;
}
.module_radio + label:before,
.module_checkbox + label:before {
  position: relative;
  top: 3px;
  left: 0;
  display: inline-block;
  width: 20px;
  height: 20px;
  content: "";
  border: 1px solid #c0c0c0;
  margin-right: 10px;
}
.module_radio + label:before {
  border-radius: 50%;
}
.module_radio:checked + label:before {
  border: 1px solid #35a7e9;
}
.module_checkbox + label:before {
  border-radius: 3px;
}
.module_radio,
.module_checkbox {
  position: absolute;
  display: none;
}
input#c {
  display: none;
}
.module_radio:checked + label:after,
.module_checkbox:checked + label:after {
  display: block;
}
.module_checkbox + label:after {
  top: 7px;
  left: 7px;
  box-sizing: border-box;
  width: 6px;
  height: 12px;
  transform: rotate(45deg);
  border-width: 2px;
  border-style: solid;
  border-color: #fff;
  border-top: 0;
  border-left: 0;
}
.module_agic-checkbox + label:after {
  top: 10px;
}
.module_radio + label:after,
.module_checkbox + label:after {
  position: absolute;
  display: none;
  content: "";
}
.module_radio + label:after {
  top: 9px;
  left: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35a7e9;
}
.module_radio,
.module_checkbox {
  position: absolute;
  display: none;
}
.module_checkbox:checked + label:before {
  border: #35a7e9;
  background: #35a7e9;
}
.module_radio:checked + label:before,
.module_checkbox:checked + label:before {
  animation-name: none;
}

.input {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 100%;
  vertical-align: top;
}
.input__field {
  position: relative;
  display: block;
  float: right;
  padding: 0.8em;
  width: 60%;
  border: none;
  border-radius: 0;
  background: #f0f0f0;
  font-weight: 600;
  -webkit-appearance: none;
}
.input__field:focus {
  outline: none;
}
.input__label {
  display: inline-block;
  float: right;
  padding: 0 1em;
  width: 40%;
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.input__label-content {
  position: relative;
  display: block;
  padding: 1em 0;
  width: 100%;
}
.input--hoshi {
  overflow: hidden;
}
.input__label--hoshi {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0 0.25em;
  width: 100%;
  height: calc(100% - 1em);
  text-align: left;
  pointer-events: none;
}
.input__label-content--hoshi {
  position: absolute;
}
.input__label--hoshi::before,
.input__label--hoshi::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 10px);
  border-bottom: 1px solid #ddd;
}
.input__label--hoshi::after {
  margin-top: 2px;
  border-bottom: 2px solid red;
  -webkit-transform: translate(-100%, 0);
  transform: translate(-100%, 0);
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
}
.input__label--hoshi-color-1::after {
  border-color: #126fa5;
}
.input__field--hoshi:focus + .input__label--hoshi::after,
.input--filled .input__label--hoshi::after {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}
.input__field--hoshi:focus + .input__label--hoshi .input__label-content--hoshi,
.input--filled .input__label-content--hoshi {
  -webkit-animation: anim-1 0.3s forwards;
  animation: anim-1 0.3s forwards;
  position: relative;
  top: 5px;
}

@-webkit-keyframes anim-1 {
  50% {
    opacity: 0;
    -webkit-transform: translate(1em, 0);
    transform: translate(1em, 0);
  }
  51% {
    opacity: 0;
    -webkit-transform: translate(-1em, -40%);
    transform: translate(-1em, -40%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate(0, -40%);
    transform: translate(0, -40%);
  }
}

@keyframes anim-1 {
  50% {
    opacity: 0;
    -webkit-transform: translate(1em, 0);
    transform: translate(1em, 0);
  }
  51% {
    opacity: 0;
    -webkit-transform: translate(-1em, -40%);
    transform: translate(-1em, -40%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
  }
}
.input__field--hoshi {
  padding: 0.85em 0.15em;
  margin-top: -12px;
  width: 100%;
  background: transparent;
}

/* 輸入框 */
textarea {
  width: 100%;
  border: 1px solid #ddd;
  padding: 0.5rem;
}
textarea:focus {
  border-color: #126fa5;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #126fa5;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #126fa5;
}

/* 下拉選單 */
.dom-selectizing .title::before,
.dom-selectizing .title::after,
.dom-selectizing-clone .title::before,
.dom-selectizing-clone .title::after {
  display: none;
}

.bor_bottom {
  border-bottom: 1px solid #35a7e9;
}

@media screen and (min-width: 992px) {
  .pc_hidden {
    display: none;
  }
}
@media screen and (max-width: 991px) {
  .mob_hidden {
    display: none;
  }
}

/* 按鈕 */
.btn_imgbox {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
}
@media screen and (max-width: 768px) {
}

/* 手風琴摺疊 */
.card {
  border: none;
  border-radius: 10px;
  margin: 2rem 0;
  gap: 1rem;
}
.card button {
  position: relative;
  text-align: left;
  border: 0;
  color: var(--blackColor);
  background-color: var(--mainColor2);
  cursor: pointer;
}
.card button:hover,
.card button:active,
.card button:not(.collapsed) {
  color: var(--whiteColor) !important;
  background: var(--mainColor) !important;
}
.card button h3 {
  width: 80%;
  font-size: 1.25rem;
  margin: 1rem 0.5rem;
}
.card button::before {
  content: "\e622";
  font-family: "themify";
  position: absolute;
  top: 50%;
  right: 1rem;
  display: block;
  width: 50px;
  line-height: 50px;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 50%;
  text-align: center;
  color: var(--black80);
  background: var(--whiteColor);
  transform: translateY(-50%);
  box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.15);
}
.card button:hover::before {
  color: var(--mainColor);
}
.card button.collapsed::before {
  content: "\e61a";
}
.card-body {
  margin: 0.5rem 0;
  padding: 1rem 1.5rem;
  border-radius: 0.5em;
  border: 1px solid var(--black20);
}

@media screen and (max-width: 767px) {
  .card-body {
    padding: 1rem;
  }
  .gray_box {
    padding: 1rem;
  }
}

/* 區塊設計 */

/* 網站地圖 */
.sitemap_item {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--black20);
}

.sitemap_item li {
  width: calc(100% / 4);
  padding-right: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.sitemap_item .list_icon2 {
  margin-top: 1rem;
}

.sitemap_item .list_icon2 li {
  width: 100%;
  margin-bottom: 0.5rem !important;
  font-size: 1.125rem;
  font-weight: normal;
}

@media screen and (max-width: 991px) {
  .sitemap_item li {
    width: calc(100% / 2);
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 767px) {
  .sitemap_item li {
    width: 100%;
  }
}
