@charset "UTF-8";

/*----------reset css-----------*/
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

img {
  border: 0;
  max-width: 100%;
  vertical-align: middle;
  height: auto;
}

iframe {
  max-width: 100%;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

textarea {
  overflow: auto;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

ul,
ol,
dl,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure {
  padding: 0;
  margin: 0;
}

textarea {
  resize: none;
}

/*元素垂直置中*/
/*會由後台上稿的圖片*/
/*-------------------unrest css-----------------*/
.unreset {
  font-size: 18px;
  line-height: 2;
}

.unreset li {
  display: list-item;
}

.unreset head {
  display: none;
}

.unreset col {
  display: table-column;
}

.unreset colgroup {
  display: table-column-group;
}

.unreset td,
.unreset th {
  display: table-cell;
}

.unreset caption {
  display: table-caption;
  text-align: center;
}

.unreset th {
  font-weight: bold;
  text-align: center;
}

.unreset body {
  margin: 8px;
}

.unreset address,
.unreset blockquote,
.unreset dd,
.unreset div,
.unreset dl,
.unreset dt,
.unreset fieldset,
.unreset form,
.unreset frame,
.unreset frameset,
.unreset h1,
.unreset h2,
.unreset h3,
.unreset h4,
.unreset h5,
.unreset h6,
.unreset noframes,
.unreset ol,
.unreset p,
.unreset ul,
.unreset center,
.unreset dir,
.unreset hr,
.unreset menu,
.unreset pre {
  display: block;
}

.unreset h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

.unreset h2 {
  font-size: 1.5em;
  margin: 0.75em 0;
}

.unreset h3 {
  font-size: 1.17em;
  margin: 0.83em 0;
}

.unreset h4,
.unreset p,
.unreset blockquote,
.unreset ul,
.unreset fieldset,
.unreset form,
.unreset ol,
.unreset dl,
.unreset dir,
.unreset menu {
  margin: 0;
}

.unreset h5 {
  font-size: .83em;
  margin: 1.5em 0;
}

.unreset h6 {
  font-size: .75em;
  margin: 1.67em 0;
}

.unreset h1,
.unreset h2,
.unreset h3,
.unreset h4,
.unreset h5,
.unreset h6,
.unreset b,
.unreset strong {
  font-weight: bolder;
}

.unreset blockquote {
  margin-left: 40px;
  margin-right: 40px;
}

.unreset i,
.unreset cite,
.unreset em,
.unreset var,
.unreset address {
  font-style: italic;
}

.unreset pre,
.unreset tt,
.unreset code,
.unreset kbd,
.unreset samp {
  font-family: monospace;
}

.unreset pre {
  white-space: pre;
}

.unreset button,
.unreset textarea,
.unreset input,
.unreset select {
  display: inline-block;
}

.unreset big {
  font-size: 1.17em;
}

.unreset small,
.unreset .unreset sub,
.unreset .unreset sup {
  font-size: 0.83em;
}

.unreset sub {
  vertical-align: sub;
}

.unreset sup {
  vertical-align: super;
}

.unreset s,
.unreset strike,
.unreset del {
  text-decoration: line-through;
}

.unreset hr {
  border: 1px inset;
}

.unreset ol,
.unreset ul,
.unreset dir,
.unreset menu,
.unreset dd {
  margin-left: 40px;
}

.unreset ol,
.unreset ol li {
  list-style-type: decimal;
}

.unreset ol ul,
.unreset ul ol,
.unreset ul ul,
.unreset ol ol {
  margin-top: 0;
  margin-bottom: 0;
}

.unreset ul,
.unreset ul li {
  list-style-type: disc;
}

.unreset .contractliststyle {
  font-size: 18px;
}

.unreset .contractliststyle ul li {
  list-style-type: inherit;
}

.unreset .contractliststyle p {
  margin-top: 10px;
}

.unreset .contractliststyle ol,
.unreset .contractliststyle ul,
.unreset .contractliststyle dir,
.unreset .contractliststyle menu,
.unreset .contractliststyle dd {
  margin-left: 32px;
}

.unreset .contractliststyle ul>li {
  margin-bottom: 30px;
}

.unreset .contractliststyle li {
  margin-bottom: 10px;
}

.unreset .contractliststyle ol {
  list-style-type: none;
  counter-reset: item;
}

.unreset .contractliststyle ol li {
  counter-increment: item;
}

.unreset .contractliststyle ol li::before {
  content: "(" counter(item, cjk-ideographic) ") ";
  position: absolute;
  left: -32px;
}

.unreset .contractliststyle ol ol li::before {
  display: none;
}

.unreset .contractliststyle ol ul,
.unreset .contractliststyle ul ol,
.unreset .contractliststyle ul ul,
.unreset .contractliststyle ol ol {
  margin-top: 10px;
  margin-bottom: 0;
}

.unreset .contractliststyle ul {
  list-style-type: cjk-ideographic;
}

.unreset .contractliststyle ol ol {
  list-style-type: decimal;
}

.unreset u,
.unreset ins {
  text-decoration: underline;
}

.unreset br:before {
  content: "\A";
  white-space: pre-line;
}

.unreset center {
  text-align: center;
}

.unreset:link,
.unreset:visited {
  text-decoration: underline;
}

.unreset:focus {
  outline: thin dotted invert;
}

.unreset img {
  max-width: 100%;
  height: initial !important;
}

.unreset iframe {
  max-width: 100%;
}

.unreset .embeddedContent {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.unreset .embeddedContent iframe,
.unreset .embeddedContent object,
.unreset .embeddedContent embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.unreset a {
  color: #0066ff;
}

.redcolor {
  color: var(--red_color);
}

.normalP {
  letter-spacing: 0em;
  line-height: calc(30/17);
  font-size: 17px;
}

.displaynone {
  display: none;
}

.displayinlineblock {
  display: inline-block;
}

.displayflex {
  display: flex;
}

.inlineblockmarr5 {
  display: inline-block;
  margin-right: 5px;
}

.marginright10 {
  margin-right: 10px;
}

.marginbottom10 {
  margin-bottom: 10px;
}

.marginbottom20 {
  margin-bottom: 20px;
}

.margintop30 {
  margin-top: 30px;
}

@media (max-width: 480px) {
  .mobiledisplaybr br {
    display: none;
  }
}

.btnset {
  gap: 35px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.btnset.style2 {
  justify-content: flex-start;
  gap: 16px;
}

@media (max-width: 1200px) {
  .btnset {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .btnset {
    margin-top: 10px;
  }
}

.btnstyle {
  border-radius: 0px;
  font-size: 20px;
  line-height: 1;
  padding: 14px 40px 14px 40px;
  border: none;
  background: var(--main_color);
  color: #fff;
  display: inline-block;
  box-shadow: var(--box-shadow);
  font-weight: var(--Light);
  text-transform: uppercase;
  overflow: hidden;
  border-radius: 25px;
}

.btnstyle.style2 {
  background-color: initial;
  border: 1px solid #666;
  padding: 14px 30px 14px 30px;
}

.btnstyle.style2:after {
  display: none;
}

.btnstyle.w200 {
  min-width: 200px;
}

.btnstyle.smallbtn {
  font-size: 17px;
  padding: 14px 20px 12px 20px;
}

.btnstyle .fa-arrow-right {
  font-size: 12px;
  margin-left: 3px;
}

.btnstyle img.icon {
  margin-right: 10px;
  height: 20px;
  vertical-align: sub;
  display: inline;
}

.btnstyle.bigbtn {
  font-size: 20px;
  margin-top: 15px;
}

.btnstyle.bigbtn .en {
  font-size: 18px;
  font-weight: var(--Light);
}

.btnstyle.w100 {
  width: 100%;
}

.btnstyle.active {
  color: #fff;
  background-color: var(--main_color);
  opacity: 0.9;
}

.btnstyle .t {
  text-align: center;
  line-height: 1;
}

.btnstyle:hover {
  background: var(--main_color2);
}

.btnstyle.clear {
  background-color: #fff;
  color: #222;
  border: 1px solid #222;
}

.btnstyle2 {
  font-size: 18px;
  line-height: 1;
  border: 1px solid #666;
  padding: 14px 30px 14px 30px;
  color: #222;
  display: inline-block;
  box-shadow: var(--box-shadow);
  font-weight: var(--Light);
  text-transform: uppercase;
  overflow: hidden;
}

.btnstyle2 .fa-arrow-left {
  font-size: 12px;
  margin-right: 3px;
  vertical-align: middle;
}

.btnstyle2:hover {
  background-color: var(--main_color2);
  color: #fff;
}

.radiusbtn {
  padding: 8px 30px;
  background: #333333;
  border-radius: 22.5px;
  color: #fff;
}

.radiusbtn:hover {
  background-color: var(--main_color);
}

.iconcirclebtnsets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.iconcirclebtn {
  font-size: 14px;
  border-radius: 50px;
  display: inline-block;
  text-align: center;
  width: 36px;
  height: 36px;
  line-height: 36px;
  border: 1px solid #666666;
  color: #666666;
}

.iconcirclebtn.editor {
  border: 1px solid #cc3333;
  color: #cc3333;
}

.iconcirclebtn.link {
  border: 1px solid #3399ff;
  color: #3399ff;
}

@media (max-width: 640px) {
  .btnstyle {
    font-size: 15px;
    padding: 15px 20px;
  }

  .btnstyle.w200 {
    min-width: initial;
  }
}

.btnstyle_circle {
  background-color: #f74848;
  border-radius: 50%;
  border: 4px solid #cc2929;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  height: 80px;
  width: 80px;
  line-height: 72px;
  text-align: center;
  display: block;
}

.btnstyle_circle:hover {
  transform: scale(1.05);
}

.morebtn {
  color: var(--main_color);
  font-size: 16px;
  font-weight: bold;
  padding: 8px 30px;
  border-radius: 20px;
  border: 1px solid var(--main_color);
  margin-top: 20px;
  display: inline-block;
  background-color: #fff;
}

.morebtn:hover {
  background: var(--main_color);
  color: #fff;
}

.flexcenter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.flexaligncenter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.flexbetween {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.btncenter {
  text-align: center;
  margin: 20px 0px;
}

.linkstyle {
  text-decoration: underline;
  color: var(--main_color);
}

.hoverunderline:hover {
  text-decoration: underline;
}

.backpre {
  text-align: center;
}

.vefify {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.inputstyle {
  background-color: #fff;
  padding: 9px 10px;
  width: 100%;
  height: 52px;
  font-size: 17px;
  border: 1px solid #e3e3e3;
}

.inputstyle.taginput {
  padding: 0px;
}

.inputstyle[disabled] {
  color: #222;
  background-color: #ececec;
}

.inputstyle[type="date"] {
  padding: 7px 10px;
}

.inputstyleselect {
  padding: 9px 10px;
}

.inputstyle::placeholder {
  color: #585455;
  font-weight: var(--Light);
}

.inputstyle.w75 {
  width: 75px;
}

.inputstyle.w80 {
  width: 80px;
}

.inputstyle.w100 {
  width: 100px;
}

.inputstyle.w130 {
  width: 130px;
}

@media (max-width: 767px) {
  .inputstyle.w130 {
    width: 100%;
  }
}

.inputstyle.w145 {
  width: 145px;
}

.inputstyle.w150 {
  width: 150px;
}

.inputstyle.w180 {
  width: 180px;
}

.inputstyle.w200 {
  width: 200px;
}

.inputstyle.w310 {
  width: 310px;
}

@media (max-width: 767px) {
  .inputstyle.w310 {
    width: 100%;
  }
}

.inputstyle.textareastyle {
  height: 200px;
}

.inputbotline {
  border: none;
  border-bottom: 1px solid var(--main_color);
  padding: 5px;
  color: var(--main_color);
}

.inputbotline:focus {
  outline: none;
}

@media (max-width: 480px) {
  .inputstyle {
    font-size: 16px;
  }
}

.twzipcodeinput {
  margin-right: 5px;
}

.radio_sets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  padding: 5px 0 5px 0;
}

.radio_sets .one_radio {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.radio_sets .one_radio input {
  width: 25px;
  height: 25px;
}

/* Make agreement checkboxes display as block elements (each on own line) */
.agreeterms .radio_sets {
  flex-direction: column;
  align-items: flex-start;
}

.agreeterms .one_radio {
  width: 100%;
  margin-bottom: 10px;
}

.labelblock {
  display: inline-block;
  padding: 3px 25px 3px 0px;
}

.labelblock label {
  cursor: pointer;
}

.radiobox {
  margin-right: 10px;
}

.radiostyle {
  margin-right: 3px;
  width: 20px;
  height: 20px;
}

.radiobtnset .radiobtn {
  cursor: pointer;
}

.radiobtnset .radiobtn input[type=radio],
.radiobtnset .radiobtn input[type=checkbox] {
  visibility: hidden;
  width: 0;
  height: 0;
}

.radiobtnset .radiobtn .t {
  cursor: pointer;
  padding: 3px 15px;
  line-height: 1;
  background-color: #fff;
  border-radius: 3px;
  border: 1px solid #166083;
  text-align: center;
  display: inline-block;
}

.radiobtnset .radiobtn .t:hover {
  color: #fff;
  background-color: #166083;
  border: 1px solid #166083;
}

.radiobtnset .radiobtn input[type=radio]:checked+.t,
.radiobtnset .radiobtn input[type=checkbox]:checked+.t {
  background-color: #166083;
  border: 1px solid #166083;
  color: #fff;
}

input.checkstyle[type=checkbox] {
  visibility: hidden;
  position: absolute;
}

input.checkstyle[type=checkbox]+.checkboxbefore {
  cursor: pointer;
  display: inline-block;
}

input.checkstyle[type=checkbox]+.checkboxbefore:before {
  height: 20px;
  width: 20px;
  content: " ";
  display: inline-block;
  vertical-align: text-bottom;
  transition: 0.3s;
  background: url(../images/checkbox.png) no-repeat;
  background-size: contain;
}

input.checkstyle[type=checkbox]:checked+.checkboxbefore:before {
  background: url(../images/checkbox_checked.png) no-repeat;
  height: 20px;
  width: 20px;
  background-size: contain;
}

.upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  cursor: pointer;
  font-size: 14px;
  color: var(--main_color);
  /* 文字紅色，跟你圖示類似 */
  transition: background-color 0.2s;
}

.upload-btn:hover {
  background-color: #f9f9f9;
}

.upload-btn img {
  width: 16px;
  /* 可依需要調整 */
}

.upload-btn input.file-input {
  display: none;
  /* 隱藏原生 input */
}

.unreset .listystyle {
  margin-left: 0;
}

.listystyle {
  padding-left: 20px;
}

.listystyle li {
  margin-bottom: 10px;
}

.enlist {
  padding-left: 30px;
}

.enlist li {
  list-style: upper-roman;
}

.enlist li::marker {
  color: #ca000a;
}

.page_box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 0 40px 0;
}

.page_box .page_num {
  display: inline-block;
  font-size: 15px;
  text-align: center;
  margin: 0 5px;
  text-decoration: none;
  width: 35px;
  height: 35px;
  line-height: 35px;
  color: #333333;
  margin-bottom: 10px;
  border-radius: 50px;
}

.page_box .page_num.active,
.page_box .page_num:hover {
  background-color: #fff;
  border: 1px solid #222;
  color: #222;
}

.page_box a.page_arrow {
  padding: 0 10px;
  display: inline-block;
  color: #222222;
}

.page_box a.page_arrow:hover {
  background-color: initial;
  color: var(--main_color2);
  border: none;
}

.page_box .page_dot {
  display: inline-block;
  padding: 10px;
  text-align: center;
  margin: 0 3px;
}

.page_box .page_select {
  display: inline-block;
  margin-left: 20px;
  margin-bottom: 10px;
  font-size: 15px;
}

.page_box .page_select .num_input {
  border: none;
  background-color: #fff;
  border: 1px solid #d9d9d9;
  width: 45px;
  height: 30px;
  padding: 3px 0px;
  margin: 0 5px;
  text-align: center;
  border-radius: 4px;
}

.page_box .page_select .paget {
  color: #bfbfbf;
  font-size: 14px;
  font-weight: var(--Light);
}

@media (max-width: 768px) {
  .page_box {
    padding: 20px 0 20px 0;
  }
}

table.formtable tbody tr th,
table.formtable tbody tr td {
  padding: 8px 8px;
  border: 2px solid #fff;
  background: #e5e9ff;
  font-size: 15px;
  text-align: center;
}

table.formtable tbody tr td.graybg {
  background: #eeeeee;
  border-bottom: 1px solid #fff;
}

.EN table.formtable tbody tr th,
table.formtable tbody tr td {
  font-size: 13px;
}

@media (max-width: 768px) {

  table.formtable tbody tr th,
  table.formtable tbody tr td {
    padding: 8px 10px;
  }
}

.table_overflow {
  width: 100%;
  overflow: auto;
}

.botbordertable {
  overflow: auto;
  width: 100%;
  margin-top: 40px;
}

.botbordertable table {
  width: 100%;
}

.botbordertable table tbody tr th,
.botbordertable table tbody tr td {
  text-align: center;
  line-height: 1.2;
}

.botbordertable table tbody tr th .senfont,
.botbordertable table tbody tr td .senfont {
  font-size: 13px;
  font-weight: var(--Light);
}

.botbordertable table tbody tr th:nth-child(2),
.botbordertable table tbody tr td:nth-child(2) {
  text-align: left;
}

.botbordertable table tbody tr th {
  padding: 10px 15px;
  font-weight: var(--Regular);
  border-bottom: 2px solid #000000;
  font-size: 17px;
}

.botbordertable table tbody tr td {
  font-size: 16px;
  padding: 20px 15px;
  border-bottom: 1px solid #cccccc;
  font-weight: var(--Medium);
}

ul.iconlist li {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  font-weight: bold;
  margin-bottom: 3px;
}

ul.iconlist li.normalweight {
  font-weight: normal;
}

ul.iconlist li .icon {
  flex-shrink: 0;
}

ul.iconlist li .txt {
  flex: 1;
  padding-left: 5px;
}

ol.ollist {
  padding-left: 22px;
}

.flexlist {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 34px;
  margin-bottom: 20px;
}

.flexlist.bot0 {
  margin-bottom: 0;
}

.flexlist li {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.flexlist li .txt {
  font-weight: var(--Light);
}

.titlelist {
  gap: 5px;
  font-size: 16px;
}

.titlelist li {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.titlelist li .txt {
  font-weight: var(--Medium);
}

.empty-row {
  margin-left: auto;
  margin-right: auto;
  padding: 40px 20px;
  max-width: 640px;
}

.empty-row .img-box {
  max-width: 100px;
  margin-left: auto;
  margin-right: auto;
}

.empty-row .img-box img {
  display: block;
  width: 100%;
}

.empty-row .content {
  margin-top: 40px;
  text-align: center;
}

.empty-row .content .title {
  color: #222;
  font-size: 32px;
  line-height: 1.2;
  margin: 0;
}

.empty-row .content .des {
  color: #999;
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  margin-top: 20px;
}

.empty-row .btn-row {
  margin-top: 40px;
}

.empty-row .btn-row .link {
  background: #aaa;
  color: #fff;
  display: block;
  font-size: 17px;
  margin-left: auto;
  margin-right: auto;
  padding: 13px;
  text-align: center;
  text-decoration: inherit;
  transition: all .4s;
  width: 120px;
}

.empty-row .btn-row .link:hover {
  background: #777;
}

@media (max-width: 640px) {
  .empty-row .content {
    margin-top: 30px;
  }

  .empty-row .content .title {
    font-size: 26px;
  }

  .empty-row .content .des {
    font-size: 16px;
    margin-top: 15px;
  }

  .empty-row .btn-row {
    margin-top: 30px;
  }
}

.error-row {
  background: url(../images/error-background.svg) no-repeat;
  background-position: center top;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 60px 20px;
}

.error-row .img-box {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 100%;
}

.error-row .img-box img {
  display: block;
  width: 100%;
}

.error-row .img-box .error-code {
  color: #555;
  font-size: 120px;
  font-weight: bold;
  letter-spacing: 5px;
  line-height: 1;
  margin: 0;
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translateX(-57%);
}

.error-row .content {
  margin-top: 50px;
  text-align: center;
}

.error-row .content .title {
  color: #444;
  font-size: 30px;
  font-weight: bold;
  margin: 0;
}

.error-row .content .des {
  margin-top: 25px;
}

.error-row .content .des p {
  color: #555;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

.error-row .content .des p:not(:last-child) {
  margin-bottom: 5px;
}

.error-row .btn-row {
  margin-top: 80px;
}

.error-row .btn-row .link {
  border-radius: 30px;
  background: #666666;
  color: #fff;
  display: block;
  font-size: 24px;
  padding: 15px 13px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-decoration: inherit;
  text-transform: uppercase;
  transition: all .4s;
  width: 240px;
}

.error-row .btn-row .link:hover {
  background: #333;
}

@media (max-width: 1440px) {
  .error-row .img-box {
    max-width: 540px;
  }

  .error-row .img-box .error-code {
    font-size: 100px;
  }

  .error-row .btn-row {
    margin-top: 50px;
  }
}

@media (max-width: 1024px) {
  .error-row .img-box {
    max-width: 440px;
  }

  .error-row .img-box .error-code {
    font-size: 70px;
    top: 45%;
  }

  .error-row .btn-row {
    margin-top: 50px;
  }
}

@media (max-width: 640px) {
  .error-row .img-box .error-code {
    font-size: 50px;
    top: 45%;
  }

  .error-row .content {
    margin-top: 30px;
  }

  .error-row .content .title {
    font-size: 26px;
  }

  .error-row .content .des {
    margin-top: 15px;
  }

  .error-row .content .des p {
    font-size: 16px;
  }

  .error-row .btn-row {
    margin-top: 30px;
  }

  .error-row .btn-row .link {
    font-size: 17px;
    max-width: 170px;
  }
}

.sharebox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 16px;
  font-weight: var(--Light);
}

.sharebox .share_t {
  color: #666666;
}

.sharebox .sharelinks {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sharebox .sharelinks img {
  height: 22px;
  max-width: 22px;
}

.sitemap-row {
  display: flex;
  flex-wrap: wrap;
  padding: 20px 0;
  margin-left: auto;
  margin-right: auto;
  gap: 25px;
}

.sitemap-row a {
  text-decoration: inherit;
}

.sitemap-row .map-item {
  border-right: 1px solid #fff;
  box-sizing: border-box;
  margin-bottom: 30px;
  width: calc((100% - 25px*3) / 4);
}

.sitemap-row .map-item .title-link {
  background: #eeeeee;
  color: #15263b;
  display: block;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  padding: 17px 25px 15px;
  text-align: center;
  border-radius: 2px;
}

.sitemap-row .map-item .title-link:hover {
  font-weight: bold;
}

.sitemap-row .map-list {
  margin-top: 15px;
  margin-bottom: 0;
  padding-left: 40px;
  padding-right: 20px;
}

.sitemap-row .map-list li {
  list-style: none;
}

.sitemap-row .map-list>li {
  padding-top: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eeeeee;
  text-align: center;
}

.sitemap-row .map-list .second-link {
  color: #262626;
  font-size: 20px;
  line-height: 1.3;
  text-align: center;
}

.sitemap-row .map-list .second-link:hover {
  font-weight: bold;
  position: relative;
}

.sitemap-row .third-list {
  padding-left: 17px;
  margin-top: 10px;
}

.sitemap-row .third-list>li {
  padding-top: 5px;
  padding-bottom: 5px;
}

.sitemap-row .third-list .third-link {
  color: #333;
  font-size: 16px;
  line-height: 1.3;
  position: relative;
}

.sitemap-row .third-list .third-link:before {
  color: #aaa;
  content: "\f0da";
  font-family: "Font Awesome 6 Free";
  font-weight: bold;
  font-size: 14px;
  position: absolute;
  top: 3px;
  left: -15px;
}

.sitemap-row .third-list .third-link:hover {
  font-weight: bold;
}

.sitemap-row .third-list .third-link:hover:before {
  color: #333;
}

.sitemap-row .four-list {
  padding-left: 17px;
  margin-top: 10px;
}

.sitemap-row .four-list>li {
  padding-top: 5px;
  padding-bottom: 5px;
}

.sitemap-row .four-list .four-link {
  color: #333;
  font-size: 16px;
  line-height: 1.3;
  position: relative;
}

.sitemap-row .four-list .four-link:before {
  color: #aaa;
  content: "-";
  font-family: "Font Awesome 6 Free";
  font-weight: bold;
  font-size: 14px;
  position: absolute;
  top: 3px;
  left: -15px;
}

.sitemap-row .four-list .four-link:hover {
  font-weight: bold;
}

.sitemap-row .four-list .four-link:hover:before {
  color: #333;
}

@media (max-width: 1024px) {
  .sitemap-row .map-item {
    width: 25%;
  }
}

@media (max-width: 960px) {
  .sitemap-row .map-item {
    width: 33.3333333333%;
  }
}

@media (max-width: 768px) {
  .sitemap-row .map-item {
    width: 50%;
  }

  .sitemap-row .map-item .title-link {
    padding: 15px;
    padding-bottom: 12px;
  }

  .sitemap-row .map-list {
    padding-left: 15px;
    padding-right: 10px;
  }

  .sitemap-row .map-list>li {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .sitemap-row .map-list .second-link:hover:before {
    left: -20px;
  }

  .sitemap-row .third-list {
    margin-top: 5px;
  }

  .sitemap-row .map-list .second-link:before {
    left: -14px;
  }
}

/*ck editor編輯器*/
.ck-editor__editable {
  min-height: 500px;
}

.ck-editor *,
.ck-body-wrapper,
.ck-body-wrapper * {
  position: initial;
}

/*-------------------basic scss---------------------*/
* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  word-break: break-word;
}

html {
  position: relative;
  font-size: 100%;
}

html * {
  transition: 0.3s;
  position: relative;
}

@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    /* Chrome, Safari 6 – 15.3, Edge */
    color-adjust: exact !important;
    /* Firefox 48 – 96 */
    print-color-adjust: exact !important;
    /* Firefox 97+, Safari 15.4+ */
  }

  table {
    page-break-inside: auto;
  }

  tr {
    page-break-inside: avoid;
    page-break-after: auto;
  }

  .page {
    page-break-inside: avoid;
    /* 若順著向下排列時會切開此元素，則直接換頁 */
  }
}

a {
  text-decoration: none;
  color: inherit;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

a:active,
a:focus {
  text-decoration: none;
}

h1,
h2,
h3 {
  font-size: inherit;
  font-weight: inherit;
}

table {
  table-layout: fixed;
}

::-webkit-input-placeholder {
  color: #999;
}

::-moz-placeholder {
  color: #999;
  opacity: 1;
}

/* firefox 19+ */
:-ms-input-placeholder {
  color: #999;
  opacity: 1;
}

/* ie */
input:-moz-placeholder {
  color: #999;
}

::-webkit-scrollbar {
  background-color: transparent;
  width: 5px;
  height: 5px;
}

/* background of the scrollbar except button or resizer */
::-webkit-scrollbar-track {
  background-color: #eeeeee;
}

/* scrollbar itself */
::-webkit-scrollbar-thumb {
  background-color: #222;
  border-radius: 4px;
}

/*反白文字*/
::selection {
  background: yellow;
  color: #000;
}

::-moz-selection {
  background: yellow;
  color: #000;
}

.inlineblock {
  display: inline-block;
}

.floatleft {
  float: left;
}

.floatright {
  float: right;
}

.clearfloat {
  clear: both;
  height: 0;
  line-height: 0px;
}

.video-container {
  position: relative;
  padding-bottom: 53.8%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.oembed-provider-youtube {
  position: relative;
  padding-bottom: 56.25%;
  /* padding-top: 30px; */
  height: 0;
  overflow: hidden;
}

.oembed-provider-youtube iframe,
.oembed-provider-youtube object,
.oembed-provider-youtube embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.googlemap-container {
  position: relative;
  padding-bottom: 25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.googlemap-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.vermid {
  vertical-align: middle;
}

.vertop {
  vertical-align: top;
}

.txtleft {
  text-align: left;
}

.txtrigh {
  text-align: right;
}

.txtcenter {
  text-align: center;
}

.textunderline {
  text-decoration: underline;
}

/*變數*/
:root {
  --Thin: 100;
  --ExtraLight: 200;
  --Light: 300;
  --Regular: 400;
  --Medium: 500;
  --SemiBold: 600;
  --Bold: 700;
  --ExtraBold: 800;
  --Black: 900;
  --shadow: 3px 3px 21px 0px rgba(0, 0, 0, 0.1);
  --main_color: #0d98ba;
  --main_color2: #219e84;
  --main_color3: #1c748f;
  --main_color4: #e8e043;
  --main_color5: #deedf0;
  --red_color: red;
  --filter-white: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
  --filter-maincolor: brightness(0) saturate(100%) invert(21%) sepia(18%) saturate(6881%) hue-rotate(170deg) brightness(96%) contrast(101%);
  --filter-maincolor2: brightness(0) saturate(100%) invert(28%) sepia(96%) saturate(966%) hue-rotate(157deg) brightness(95%) contrast(99%);
  --box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.05);
  --border: 1px solid #eaeaea;
}

body {
  color: #222;
  font-size: 18px;
  font-family: "Noto Sans TC", Arial, Microsoft JhengHei, sans-serif, PMingLiU, "FontAwesome";
  font-weight: var(--Regular);
  line-height: 1.5;
  width: 100%;
  min-width: 360px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
  letter-spacing: 0;
  min-height: 100vh;
}

html[lang="en"] body * {
  letter-spacing: 0 !important;
}

@media (max-width: 320px) {
  body {
    overflow-x: auto;
  }
}

main {
  background-color: #f3f3f3;
  padding: 40px 0;
}

.wrapper {
  padding: 0 40px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 960px) {
  .wrapper {
    padding: 0 30px;
  }

  main {
    background-color: #f3f3f3;
    padding: 20px 0;
  }
}

@media (max-width: 480px) {
  .wrapper {
    padding: 0 20px;
  }
}

/*header*/
header .wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
}

header .logo_minornav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 20px;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 5px;
}

header .logo_minornav .logobox a {
  display: flex;
  gap: 15px;
  align-items: center;
}

header .logo_minornav .logobox a img {
  width: 71px;
}

header .logo_minornav .logobox a h1 {
  line-height: 1;
}

header .logo_minornav .logobox a h1 .tw {
  font-size: 24px;
  font-weight: var(--Bold);
  letter-spacing: 0.02em;
}

header .logo_minornav .logobox a h1 .en {
  font-size: 17px;
  font-weight: var(--Medium);
}

/*選單*/
.mainmenubox {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.mainmenubox .mainmenu>ul {
  display: flex;
  flex-wrap: wrap;
  font-size: 19px;
}

.mainmenubox .mainmenu>ul>li {
  list-style: none;
}

.mainmenubox .mainmenu>ul>li:last-child>a {
  padding-right: 0;
}

@media (min-width: 961px) {
  .mainmenubox .mainmenu>ul>li:hover ul.secnav {
    display: block;
  }
}

.mainmenubox .mainmenu>ul>li.active>a,
.mainmenubox .mainmenu>ul>li:hover>a {
  color: var(--main_color);
}

.mainmenubox .mainmenu>ul>li.active>a {
  font-weight: var(--SemiBold);
}

.mainmenubox .mainmenu>ul>li>a {
  padding: 15px 25px 12px 25px;
  display: block;
}

ul.secnav {
  display: none;
  position: absolute;
  z-index: 9;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 10px 15px;
  border-radius: 0 0 5px 5px;
  font-weight: var(--Regular);
  width: 165px;
  left: 50%;
  transform: translate(-50%, 0);
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.18);
}

ul.secnav li {
  line-height: 1.4;
}

ul.secnav a:hover {
  color: var(--main_color);
}

ul.secnav>li {
  list-style: none;
  font-size: 17px;
  padding: 8px;
}

ul.secnav>li:not(:last-child) {
  border-bottom: 1px solid #ddd;
}

ul.thridnav {
  padding-left: 15px;
  margin-top: 10px;
}

ul.thridnav>li {
  list-style: none;
  font-size: 16px;
  color: #666;
  margin-bottom: 10px;
}

ul.thridnav>li:before {
  display: block;
  position: absolute;
  content: "\f105";
  font-size: 12px;
  top: 4px;
  left: -15px;
}

.showMenu {
  display: none;
  cursor: pointer;
}

@media (max-width: 960px) {
  .showMenu {
    display: block;
  }
}

.hamburger .line {
  width: 25px;
  height: 2px;
  background-color: #222;
  display: block;
  margin: 8px auto;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

.hamburger.style1 {
  transition: all 0.3s ease-in-out;
}

.hamburger.style1.is-active {
  animation: smallbig 0.6s forwards;
}

.hamburger.style1.is-active .line {
  transition-delay: 0.2s;
}

.hamburger.style1.is-active .line:nth-child(2) {
  opacity: 0;
}

.hamburger.style1.is-active .line:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

.hamburger.style1.is-active .line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@keyframes smallbig {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(0);
  }
}

@media (max-width: 1100px) {
  header .logo_minornav .logobox a {
    gap: 10px;
  }

  header .logo_minornav .logobox a img {
    width: 42px;
  }

  .mainmenubox .mainmenu>ul>li>a {
    padding: 15px 17px 12px 17px;
  }

  header .logo_minornav .logobox a h1 .tw {
    font-size: 21px;
  }

  header .logo_minornav .logobox a h1 .en {
    font-size: 15px;
  }

  .mainmenubox .mainmenu>ul {
    font-size: 18px;
  }
}

@media (min-width: 961px) {
  .mobileshow {
    display: none;
  }
}

@media (max-width: 960px) {
  header .logo_minornav {
    width: 100%;
  }

  .mobileshow {
    display: block;
  }

  header {
    position: sticky;
    top: 0;
    z-index: 99999;
    background-color: #fff;
  }

  .mainmenubox {
    display: none;
    position: absolute;
    z-index: 9999;
    height: calc(100vh - 63px);
    overflow: auto;
    transition: 0s;
    font-size: 17px;
    background: #edeae7;
    top: 63px;
    width: 100%;
    left: 0;
  }

  .mainmenubox .emailalert {
    padding: 20px 20px 0 20px;
  }

  .mainmenubox .emailalert a {
    background-color: #fff;
  }

  .mainmenubox * {
    transition: 0s;
  }

  .mainmenubox .mainmenu {
    min-height: 100%;
    background: #edeae7;
  }

  .logobox {
    width: initial;
  }

  .mainmenubox .mainmenu>ul>li {
    width: 100%;
    border-bottom: 1px solid #fff;
  }

  .mainmenubox .mainmenu>ul>li>a {
    padding: 15px 30px 12px 30px;
    color: #000000;
    font-size: 18px;
  }

  ul.secnav {
    display: none;
    position: relative;
    width: 100%;
    padding: 10px 20px;
  }
}

/*footer*/
footer {
  background-color: var(--main_color3);
}

.footerbot {
  padding: 30px 0 40px 0;
  color: #fff;
  font-size: 16px;
}

.footerbot .wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: end;
  justify-content: space-between;
}

.footerbot .leftbox .footertitle {
  font-weight: var(--Bold);
}

.footerbot .leftbox .footertitle .t1 {
  font-size: 20px;
}

.footerbot .leftbox .footertitle .t2 {
  font-size: 17px;
}

.footerbot .leftbox .fottercontact {
  margin-top: 10px;
}

.footerbot .leftbox .fottercontact .one {
  font-size: 16px;
}

.footerbot .leftbox .fottercontact .one .t1 {
  margin-right: 5px;
  font-weight: var(--Bold);
  display: inline;
}

.footerbot .leftbox .fottercontact .one .t2 {
  font-weight: var(--Light);
  display: inline;
}

.footerbot .copyrightdesigniware {
  margin-top: 10px;
}

.footerbot .copyright {
  font-size: 15px;
  margin-bottom: 5px;
}

.footerbot .designiware {
  font-size: 13px;
  opacity: 0.6;
  font-weight: var(--Light);
}

.side_box {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: none;
  transition: 0s;
}

.side_box .one {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 10px;
  background: linear-gradient(to bottom, #45caef 0%, #125263 99%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.side_box .one .icon img {
  height: 30px;
  filter: var(--filter-white);
}

.side_box .one .txt {
  font-size: 14px;
  letter-spacing: 0;
}

@media (max-width: 1200px) {
  .footerbot .rightbox {
    text-align: left;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 0px;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footerbot .leftbox {
    max-width: 100%;
  }

  .footerbot .leftbox .fottercontact .one .t2 {
    flex: initial;
  }
}

@media (max-width: 768px) {
  .footerbot {
    padding: 30px 0 60px 0;
  }

  .footerbot .copyright {
    font-size: 14px;
  }

  .side_box {
    left: 0;
    right: initial;
    bottom: 0;
    width: 100%;
  }

  .side_boxin {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .side_box .one {
    width: 50%;
    height: 40px;
    padding: 5px 10px;
    border-radius: 0;
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 0;
    background: linear-gradient(to bottom, #45caef 0%, #125263 99%);
  }

  .side_box .one:nth-child(1) {
    border-right: 1px solid #fff;
  }
}

/*index*/
.bannersec {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 95px;
}

.bannersec .mainban {
  width: 64.5%;
}

.bannersec .mainban .banslick .oneset .onesetin {
  display: block;
}
.bannersec .mainban .banslick .oneset .onesetin .photobox img{
  aspect-ratio: 300/168.5;
  object-fit: cover;
  width: 100%;
}
.bannersec .mainban .banslick .oneset .onesetin .photobox::after {
  display: block;
  position: absolute;
  content: "";
  background: url(../images/bg.png) no-repeat;
  background-size: contain;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  min-width: 100%;
}

.bannersec .mainban .banslick .oneset .onesetin .contxt {
  font-size: 28px;
  font-weight: var(--Bold);
  color: #fff;
  position: absolute;
  z-index: 1;
  bottom: 14.5%;
  left: 5%;
  width: 90%;
  text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 34px;
  max-height: 68px;
}

.bannersec .minorban {
  flex: 1;
}

.bannersec .minorban .fourset {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 15px;
}

.bannersec .minorban .fourset .oneset .onesetin {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.bannersec .minorban .fourset .oneset .onesetin:hover .contxt {
  text-decoration: underline;
}

.bannersec .minorban .fourset .oneset .onesetin img {
  width: 45%;
  aspect-ratio: 300/168;
  object-fit: cover;
}

.bannersec .minorban .fourset .oneset .onesetin .contxt {
  font-size: 18px;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 24px;
  max-height: 48px;
}

@media (max-width: 1200px) {
  .bannersec {
    padding-bottom: 50px;
  }
}

@media (max-width: 1024px) {
  .bannersec {
    gap: 25px;
  }

  .bannersec .mainban .banslick .oneset .onesetin .contxt {
    font-size: 22px;
    line-height: 25px;
    max-height: 50px;
  }

  .bannersec .minorban .fourset .oneset .onesetin {
    gap: 10px;
  }

  .bannersec .minorban .fourset {
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .bannersec {
    gap: 15px;
  }

  .bannersec .mainban {
    width: 100%;
  }

  .bannersec .minorban {
    flex: initial;
    width: 100%;
  }

  .bannersec .minorban .fourset {
    gap: 15px;
    flex-direction: row;
  }

  .bannersec .minorban .fourset .oneset {
    width: calc((100% - 15px) / 2);
  }

  .bannersec .mainban .banslick .oneset .onesetin .contxt {
    font-size: 20px;
  }

  .bannersec .minorban .fourset .oneset .onesetin .contxt {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .bannersec {
    padding-bottom: 30px;
  }

  .bannersec .minorban .fourset .oneset {
    width: 100%;
  }

  .bannersec .mainban .banslick .oneset .onesetin .contxt {
    font-size: 18px;
    bottom: 17%;
  }
}

.twocolumn {
  display: flex;
  flex-wrap: wrap;
  gap: 54px;
}

.twocolumn .leftsec {
  flex: 1;
}

.twocolumn .rightsec {
  width: 300px;
}

.adbox {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: column;
}

.adbox .oneset {
  display: block;
}

.adbox .oneset .onesetin {
  display: block;
}

.adbox .oneset .onesetin img {
  width: 100%;
}

.keylinks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 50px;
}

.keylinks.style2 {
  margin-bottom: 20px;
}

.keylinks.style2 .one {
  font-weight: var(--Bold);
}

.keylinks.style2 .one:hover {
  background-color: var(--main_color5);
  color: initial;
}

.keylinks .one {
  display: inline-block;
  border-radius: 5px;
  background-color: var(--main_color5);
  font-size: 17px;
  padding: 8px 20px;
  font-weight: var(--Light);
}

.keylinks .one:hover {
  background: var(--main_color2);
  color: #fff;
}

@media (max-width: 960px) {
  .twocolumn {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }

  .twocolumn .leftsec {
    width: 100%;
  }

  .twocolumn .rightsec {
    width: 100%;
  }

  .adbox {
    flex-direction: row;
  }

  .adbox .oneset {
    width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 768px) {
  .keylinks {
    margin-bottom: 20px;
  }

  .keylinks a.one {
    font-size: 16px;
    padding: 5px 15px;
  }
}

.titlehead {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.titlehead .title {
  font-size: 24px;
  font-weight: var(--Medium);
  color: var(--main_color);
  display: flex;
  align-items: center;
  flex: 1;
  gap: 15px;
}

.titlehead .title .txt {
  flex-shrink: 0;
}

.titlehead .title::after {
  content: "";
  display: block;
  background-color: var(--main_color);
  height: 1px;
  flex: 1;
}

.titlehead a.more {
  background-color: var(--main_color);
  color: #fff;
  text-align: center;
  padding: 5px 30px;
  border-radius: 30px;
  font-size: 15px;
  flex-shrink: 0;
}

.titlehead a.more:hover {
  background-color: var(--main_color2);
}

@media (max-width: 768px) {
  .titlehead {
    margin-bottom: 15px;
  }

  .titlehead .title {
    font-size: 22px;
    gap: 5px;
  }

  .titlehead a.more {
    padding: 5px 20px;
    font-size: 14px;
  }
}

.newslistblock {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 20px;
  padding-bottom: 80px;
}

.newslistblock .oneset {
  width: calc((100% - 20px*2) / 3);
}

.newslistblock .oneset .onesetin {
  display: block;
}

.newslistblock .oneset .onesetin:hover .photo .pic {
  transform: scale(1.05);
}

.newslistblock .oneset .onesetin:hover .txt {
  text-decoration: underline;
}

.newslistblock .oneset .onesetin .photo {
  height: 0;
  text-align: center;
  position: relative;
  display: block;
  overflow: hidden;
  padding-bottom: calc((175 / 310) * 100%);
}

/* .newslistblock .oneset .onesetin .photo .pic {
  max-width: 100%;
  max-height: 100%;
  width: initial;
  transition: 0.5s;
  position: absolute;
  display: block;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
} */

.newslistblock .oneset .onesetin .photo .pic {
  width: 100%;
  aspect-ratio: 300/168;
  object-fit: cover;
}

.newslistblock .oneset .onesetin .txt {
  margin-top: 5px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 24px;
  max-height: 48px;
}

@media (max-width: 768px) {
  .newslistblock .oneset .onesetin .txt {
    font-size: 16px;
  }

  .newslistblock {
    padding-bottom: 50px;
  }
}

@media (max-width: 640px) {
  .newslistblock {
    gap: 25px 15px;
    padding-bottom: 30px;
  }

  .newslistblock .oneset {
    width: calc((100% - 20px) / 2);
  }
}

.locationclass {
  display: flex;
  flex-wrap: wrap;
  gap: 50px 20px;
  padding-bottom: 40px;
}

.locationclass .locationset {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 25px;
}

.locationclass .locationset .locateone {
  width: calc((100% - 25px*2) / 3);
}

.locationclass .locationset .locateone .titlehead {
  margin-bottom: 10px;
}

.newstxtlist .oneset {
  padding: 15px 0;
  border-bottom: 1px dotted #919191;
  display: block;
}

.newstxtlist .oneset:hover .txt {
  text-decoration: underline;
}

.newstxtlist .oneset:last-child {
  border-bottom: none;
}

.newstxtlist .oneset .txt {
  font-weight: var(--Medium);
  font-size: 18px;
  margin-bottom: 5px;
}

.newstxtlist .oneset .date {
  font-size: 16px;
  color: #666666;
  font-weight: var(--Light);
}

@media (max-width: 768px) {
  .locationclass {
    padding-bottom: 25px;
  }

  .newstxtlist .oneset .txt {
    font-size: 16px;
  }

  .newstxtlist .oneset {
    padding: 12px 0;
  }

  .locationclass .locationset {
    gap: 20px;
  }

  .newstxtlist .oneset .date {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .locationclass .locationset .locateone {
    width: calc((100% - 20px) / 2);
  }
}

.inewsclass {
  margin-top: 0;
}

.itagclass {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 15px;
  margin-bottom: 35px;
}

.itagclass a {
  padding: 5px 12px;
  background-color: #fff;
  border: 1px solid #666666;
  border-radius: 3px;
  font-size: 17px;
  color: #666666;
}

.itagclass a:hover {
  background-color: var(--main_color2);
  color: #fff;
}

.iclasslist {
  display: flex;
  flex-wrap: wrap;
  gap: 45px 30px;
}

.iclasslist .iclassone {
  width: calc((100% - 30px*3) / 4);
}

.iclasslist .iclassone .photo img {
  width: 100%;
}

.iclasslist .iclassone .photo .txt {
  position: absolute;
  font-size: 26px;
  font-weight: var(--Medium);
  color: #fff;
  left: 50%;
  top: 50%;
  width: 100%;
  text-align: center;
  transform: translate(-50%, -50%);
}

.iclasslist .iclassone .iclass_news .oneset {
  padding: 20px 0;
  border-bottom: 1px dotted #919191;
  display: block;
}

.iclasslist .iclassone .iclass_news .oneset:hover {
  text-decoration: underline;
}

.iclasslist .iclassone .iclass_news .oneset:last-child {
  border-bottom: none;
}

@media (max-width: 1280px) {
  .iclasslist .iclassone .photo .txt {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .itagclass a {
    padding: 5px 10px;
    font-size: 15px;
  }

  .itagclass {
    gap: 10px;
    margin-bottom: 25px;
  }

  .inewsclass {
    margin-top: 0;
  }

  .iclasslist .iclassone .photo .txt {
    font-size: 20px;
  }

  .iclasslist {
    gap: 15px;
  }

  .iclasslist .iclassone {
    width: calc((100% - 15px * 3) / 4);
  }

  .iclasslist .iclassone .iclass_news .oneset {
    padding: 12px 0;
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .iclasslist .iclassone {
    width: calc((100% - 15px) / 2);
  }
}

/*麵包屑*/
.breadcrumbsbox {
  padding: 0px 0px 20px 0px;
}

.breadcrumbsbox .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  font-size: 18px;
  color: #666;
}

.breadcrumbsbox .breadcrumbs .one:not(:last-child):after {
  content: "\f105";
  display: inline-block;
  font-size: 14px;
  padding: 0 10px;
  color: #999;
}

.breadcrumbsbox .breadcrumbs .one a:hover {
  text-decoration: underline;
}

.breadcrumbsbox .breadcrumbs .one.active {
  color: var(--main_color);
  font-weight: var(--Medium);
}

@media (max-width: 480px) {
  .breadcrumbsbox {
    padding: 0px 0px 15px 0px;
  }

  .breadcrumbsbox .breadcrumbs {
    font-size: 16px;
  }
}

.whitepage {
  background-color: #fff;
  padding: 66px 56px;
}

.titletabs {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: center;
  padding-bottom: 30px;
}

.titletabs.style2 {
  padding-bottom: 10px;
}

.maintitle {
  font-size: 36px;
  font-weight: var(--Bold);
  line-height: 1;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 16px;
  font-weight: var(--Medium);
}

.tabs.style2 {
  padding-top: 20px;
}

.tabs .one {
  display: block;
  padding: 6px 25px;
  border-radius: 5px;
  background: var(--main_color5);
  color: #666666;
  font-size: 17px;
  font-weight: var(--Light);
  border: none;
}

.tabs .one.active,
.tabs .one:hover {
  color: #fff;
  background-color: var(--main_color);
  font-weight: var(--Medium);
}

.tabs select:focus {
  outline: none;
}

.tabs select option:disabled {
  color: #ccc;
}

@media (max-width: 640px) {
  .whitepage {
    padding: 30px 15px;
  }
}

@media (max-width: 480px) {
  .maintitle {
    font-size: 30px;
  }

  .tabs .one {
    padding: 6px 15px;
    font-size: 15px;
  }

  .titletabs {
    padding-bottom: 10px;
  }
}

.pagefirstblock {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 60px;
}

.pagefirstblock .leftblock {
  width: 49.7%;
}

.pagefirstblock .rightblock {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
}

.pagefirstblock .rightblock .oneset {
  width: calc((100% - 10px) / 2);
}

.pagefirstblock .rightblock .oneset .onesetin .contxt {
  font-size: 18px;
  bottom: 8%;
  line-height: 24px;
  max-height: 48px;
}

.pagefirstblock .oneset .onesetin:hover .photobox .photo {
  transform: scale(1.05);
  aspect-ratio: 400/225;
  object-fit: cover;
}

.pagefirstblock .oneset .onesetin .photobox {
  overflow: hidden;
}

.pagefirstblock .oneset .onesetin .photobox::after {
  display: block;
  position: absolute;
  content: "";
  background: url(../images/bg.png) no-repeat;
  background-size: contain;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
}

.pagefirstblock .oneset .onesetin .photobox .photo {
  width: 100%;
  aspect-ratio: 300/169;
  object-fit: cover;
}

.pagefirstblock .oneset .onesetin .contxt {
  font-size: 28px;
  font-weight: var(--Bold);
  color: #fff;
  position: absolute;
  z-index: 1;
  bottom: 6%;
  left: 5%;
  width: 90%;
  text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 34px;
  max-height: 68px;
}

@media (max-width: 960px) {
  .pagefirstblock .oneset .onesetin .contxt {
    font-size: 24px;
    font-weight: var(--SemiBold);
    line-height: 30px;
    max-height: 60px;
  }

  .pagefirstblock .rightblock .oneset .onesetin .contxt {
    font-size: 16px;
    font-weight: var(--SemiBold);
    line-height: 22px;
    max-height: 44px;
  }
}

@media (max-width: 768px) {
  .pagefirstblock .leftblock {
    width: 100%;
  }

  .pagefirstblock {
    padding-bottom: 30px;
  }
}

.pagetitle {
  font-size: 30px;
  font-weight: var(--Bold);
  line-height: 1.4;
  margin-bottom: 10px;
}

.dateautho {
  font-size: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.dateautho .datere {
  color: #666666;
}

.prete.photo img {
  width: 100%;
}

.sharemaincon {
  display: flex;
  flex-wrap: wrap;
  margin-top: 50px;
  align-items: flex-start;
}

.sharemaincon .sharebox {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  flex-direction: column;
  align-items: flex-start;
  width: 70px;
  position: sticky;
  top: 0;
}

.sharemaincon .sharebox a img {
  width: 32px;
}

.sharemaincon .pagemaincon {
  flex: 1;
}

.sharemaincon .pagemaincon .unreset {
  margin-bottom: 50px;
}

@media (max-width: 960px) {
  .pagetitle {
    font-size: 24px;
  }

  .sharemaincon {
    margin-top: 20px;
  }

  .sharemaincon .sharebox {
    width: 50px;
    top: 78px;
  }
}

.loginbox {
  max-width: 400px;
  margin: 0 auto;
  padding-top: 30px;
}

.loginbox .classul {
  justify-content: center;
}

.loginbox .loginform {
  margin-top: 20px;
}

.loginbox .loginform .oneset {
  font-size: 17px;
  margin-bottom: 15px;
}

.loginbox .loginform .oneset .inputbox .eye {
  position: absolute;
  width: 24px;
  right: 10px;
  top: 8px;
  cursor: pointer;
}

.loginbox .forgetpasswordbox {
  display: inline-block;
}

.loginbox .forgetpassword {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
}

.loginbox .forgetpassword:hover {
  color: var(--main_color);
}

.loginbox .forgetpassword .icon img {
  width: 15px;
  vertical-align: sub;
}

.loginbox .unjointxt {
  text-align: center;
  padding: 20px 0;
  font-size: 16px;
  color: #999999;
  font-weight: var(--Medium);
}

@media (max-width: 480px) {
  .loginbox {
    padding-top: 0;
  }
}

.musttxt {
  font-size: 20px;
  color: var(--red_color);
  margin-bottom: 15px;
}

.formsec .titlehead {
  margin-bottom: 5px;
}

.applyform {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 45px;
}

.applyform.w100 {
  max-width: 100%;
}

.applyform .remarktxt {
  font-size: 17px;
  margin-top: 5px;
  color: #333;
}

.applyform .oneset {
  width: 100%;
  padding: 10px 12px 15px 12px;
  font-size: 17px;
}

.applyform .oneset.w20 {
  width: 20%;
}

.applyform .oneset.w25 {
  width: 25%;
}

.applyform .oneset.w30 {
  width: calc(100% / 3);
}

.applyform .oneset.w50 {
  width: 50%;
}

.applyform .oneset.w75 {
  width: 75%;
}

.applyform .oneset .txt {
  margin-bottom: 3px;
  font-size: 17px;
  font-weight: var(--Medium);
}

.applyform .oneset .inputbox.inputstyle {
  padding: 0;
}

.applyform .oneset .inputbox.inputstyle .selectcourse_box .selectcourse {
  border: none;
  padding-right: 100px;
  width: 100%;
  padding: 10px 100px 10px 10px;
}

.applyform .oneset .inputbox.inputstyle .selectcourse_box .courseprice {
  position: absolute;
  right: 30px;
  top: 10px;
}

.applyform .oneset .inputflexbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.applyform .oneset .inputflexbox .flex-shrink {
  flex-shrink: 0;
}

.applyform .oneset .inputflexbox .flex1 {
  flex: 1;
}

.applyform .oneset .inputflexbox .inputstyle_out {
  padding-right: 18px;
}

.applyform .oneset .inputflexbox .inputstyle_out.padleft5 {
  padding-right: 5px;
}

.applyform .oneset .inputflexbox .inputstyle_out.w25 {
  width: 25%;
}

.applyform .oneset .inputflexbox .inputstyle_out.w34 {
  width: 33%;
}

.applyform .oneset .inputflexbox .inputstyle_out.w20 {
  width: 20%;
}

@media (max-width: 768px) {

  .applyform .oneset.w25,
  .applyform .oneset.w30,
  .applyform .oneset.w50 {
    width: 100%;
  }

  .applyform .oneset {
    padding: 5px 0px 10px 0px;
  }
}

.captionbox {
  background-color: var(--main_color5);
  padding: 30px 35px;
  border-radius: 20px;
}

.agreeterms {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.agreeterms .radio_sets {
  justify-content: center;
}

.member_name {
  font-size: 18px;
  font-weight: var(--Bold);
  margin-bottom: 18px;
}

.file-upload-wrapper {
  position: relative;
  width: 100%;
  height: 50px;
}

.file-upload-wrapper:after {
  content: attr(data-text);
  font-size: 18px;
  position: absolute;
  top: 0;
  right: 0;
  background: #fff;
  padding: 10px 15px;
  display: block;
  width: calc(100% - 120px);
  pointer-events: none;
  z-index: 20;
  height: 28px;
  line-height: 28px;
  color: #999;
  border-radius: 0;
  font-weight: 300;
  border: 1px solid #ccc;
}

.file-upload-wrapper:before {
  content: '選擇檔案';
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  height: 50px;
  background: var(--main_color);
  color: #fff;
  font-weight: 700;
  z-index: 25;
  font-size: 16px;
  line-height: 50px;
  padding: 0 15px;
  text-transform: uppercase;
  pointer-events: none;
}

.file-upload-wrapper input {
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
  height: 50px;
  margin: 0;
  padding: 0;
  display: block;
  cursor: pointer;
  width: 100%;
}

.upload__img-wrap {
  padding-top: 20px;
}

.submitEditor_status {
  font-size: 20px;
  margin-bottom: 15px;
}

.submitEditor_status .redcolor {
  font-weight: var(--Bold);
}

.funiconset {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.funiconset a.funicon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 17px;
  text-align: center;
  line-height: 36px;
}

.funiconset a.funicon.link {
  color: #be2c4b;
  border: 1px solid #be2c4b;
}

.funiconset a.funicon.trash {
  border: 1px solid #2c9fbe;
  color: #2c9fbe;
}

.funiconset a.funicon.editor {
  border: 1px solid #439e56;
  color: #439e56;
}

.searchform {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.searchform .oneset {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.searchform .oneset .inputbox {
  flex: 1;
}

.searchform .oneset .inputbox .inputstyle {
  width: 100%;
}

.country-select {
  width: 100%;
}

@media (max-width: 768px) {
  .searchform .oneset {
    width: 100%;
  }

  .searchform {
    justify-content: center;
  }
}

.form_sec {
  margin-bottom: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px 30px;
}

.form_sec .oneset {
  background: #fff;
  border: 1px solid #999;
  width: 100%;
  gap: 15px 20px;
  padding: 15px 20px 13px 20px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  line-height: 1;
}

.form_sec .oneset.codeinput {
  padding: 9px 20px 8px 20px;
}

.form_sec .oneset.w50 {
  width: calc((100% - 30px) / 2);
}

.form_sec .oneset .title {
  flex-shrink: 0;
}

.form_sec .oneset .title:after {
  content: "";
  width: 1px;
  height: 17px;
  display: block;
  position: absolute;
  right: -11px;
  top: 0px;
  background: #333;
}

.form_sec .oneset .login_inputstyle {
  border: none;
}

.form_sec .oneset .login_inputstyle:focus {
  outline: none;
}

.specification-container .site-header {
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.specification-container .site-header .title {
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--accent);
}

.specification-container .site-header .subtitle {
  font-size: 16px;
  margin: 0;
  color: #333;
}

.specification-container .site-header .lead {
  margin: 10px 0 0;
  color: var(--muted);
}

.specification-container .intro p {
  margin: 0 0 8px;
}

.specification-container .section-title {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--accent);
}

.specification-container .article {
  margin-bottom: 22px;
}

.specification-container .list {
  margin: 0 0 0 18px;
  padding: 0;
  color: #444;
}

.specification-container .list li {
  margin-bottom: 8px;
}

.specification-container .para {
  margin: 0 0 12px;
  color: #444;
}

.specification-container .site-footer {
  border-top: 1px solid #eee;
  padding-top: 14px;
  color: var(--muted);
  font-size: 13px;
}