@charset "UTF-8";
button {
  border: 0;
}

.btn {
  font-size: 16px;
  padding: 8px 24px;
  display: inline-block;
  text-align: center;
  line-height: 1.3333333;
  border-radius: 6px;
  border: 1px solid #E1301D;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;
  background: #E1301D;
  color: #fff;
}
.btn:hover, .btn:active, .btn:focus {
  color: #E1301D;
  background: #FEFFEE;
  border: 1px solid #FEFFEE;
}
.btn i {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: top;
}

.btn-s {
  padding: 8px 16px;
}

.btn-xl {
  padding: 8px 48px;
}

.btn-outline {
  background: #fff;
  border: 1px solid #E1301D;
  color: #E1301D;
}
.btn-outline:hover, .btn-outline:active, .btn-outline:focus {
  color: #E1301D;
  background: #FEFFEE;
  border: 1px solid #FEFFEE;
}

.btn-round {
  background: #fff;
  border: 1px solid #E1301D;
  color: #E1301D;
  border-radius: 99px;
}
.btn-round:hover, .btn-round:active, .btn-round:focus {
  color: #E1301D;
  background: #FEFFEE;
  border: 1px solid #FEFFEE;
}

.lineFBBt {
  height: 44px;
  line-height: 44px;
  background-color: #4267b2;
  border-radius: 8px;
  border: 1px solid #4267b2;
  color: #ffffff;
  text-align: center;
  display: block;
}
.lineFBBt span {
  display: inline-block;
  width: 15px;
  height: 20px;
  background: url(../image/fbIcon.svg) no-repeat;
  vertical-align: middle;
  margin-right: 4px;
}
.lineFBBt:hover {
  background-color: #fff;
  border: 1px solid #4267b2;
  color: #4267b2;
}
.lineFBBt:hover span {
  background: url(../image/fbIcon_o.svg) no-repeat;
}

.lineLINEBt {
  height: 44px;
  line-height: 44px;
  background-color: #01b901;
  border-radius: 8px;
  border: 1px solid #01b901;
  color: #ffffff;
  text-align: center;
  display: block;
}
.lineLINEBt span {
  display: inline-block;
  width: 32px;
  height: 36px;
  background: url(../image/lineIcon.svg) no-repeat;
  vertical-align: middle;
  margin-right: 4px;
}
.lineLINEBt:hover {
  background-color: #fff;
  border: 1px solid #01b901;
  color: #01b901;
}
.lineLINEBt:hover span {
  background: url(../image/lineIcon_o.svg) no-repeat;
}

.unlineBt {
  color: #E1301D;
  text-decoration: underline;
}
.unlineBt:hover, .unlineBt:active, .unlineBt:focus {
  color: #FEFFEE;
  text-decoration: underline;
}

.g-main {
  width: 100%;
  max-width: 1260px;
  padding-right: 12px;
  padding-left: 12px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}

.g-main-M {
  width: 100%;
  max-width: 1000px;
  padding-right: 12px;
  padding-left: 12px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}

.row {
  margin-right: -12px;
  margin-left: -12px;
  position: relative;
}

.flex-row {
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  margin-right: -12px;
  margin-left: -12px;
  position: relative;
}

.disflex {
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}

.flexauto {
  -webkit-flex: 0 0 auto !important;
     -moz-box-flex: 0 !important;
      -ms-flex: 0 0 auto !important;
          flex: 0 0 auto !important;
}

.nowarp {
  -webkit-flex-wrap: nowrap;
      -ms-flex-wrap: nowrap;
          flex-wrap: nowrap;
}

.flexalign_cc {
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.space-between {
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.flex-center {
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.flexalign_center {
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.g-21 {
  -webkit-flex: 0 0 100%;
     -moz-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  max-width: 100%;
  padding: 12px;
}

@media (min-width: 768px) {
  .g-21 {
    -webkit-flex: 0 0 50%;
       -moz-box-flex: 0;
        -ms-flex: 0 0 50%;
            flex: 0 0 50%;
    max-width: 100%;
    padding: 12px;
  }
}
.g-21-65 {
  -webkit-flex: 0 0 100%;
     -moz-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  max-width: 100%;
  padding: 12px;
}

@media (min-width: 768px) {
  .g-21-65 {
    -webkit-flex: 0 0 65%;
       -moz-box-flex: 0;
        -ms-flex: 0 0 65%;
            flex: 0 0 65%;
    max-width: 100%;
    padding: 12px;
  }
}
.g-321 {
  -webkit-flex: 0 0 100%;
     -moz-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  max-width: 100%;
  padding: 12px;
}

@media (min-width: 768px) {
  .g-321 {
    -webkit-flex: 0 0 50%;
       -moz-box-flex: 0;
        -ms-flex: 0 0 50%;
            flex: 0 0 50%;
    max-width: 100%;
    padding: 12px;
  }
}
@media (min-width: 992px) {
  .g-321 {
    -webkit-flex: 0 0 33.33%;
       -moz-box-flex: 0;
        -ms-flex: 0 0 33.33%;
            flex: 0 0 33.33%;
    max-width: 100%;
    padding: 12px;
  }
}
.g-1 {
  -webkit-flex: 1;
     -moz-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding-left: 12px;
  padding-right: 12px;
}

.g-basis {
  -webkit-flex-basis: 1;
      -ms-flex-preferred-size: 1;
          flex-basis: 1;
}

.g-auto {
  -webkit-flex: 0 0 auto;
     -moz-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  padding-left: 12px;
  padding-right: 12px;
}

.g-33 {
  -webkit-flex: 0 0 33.33%;
     -moz-box-flex: 0;
      -ms-flex: 0 0 33.33%;
          flex: 0 0 33.33%;
  padding: 12px;
}

.g-half {
  -webkit-flex: 0 0 50%;
     -moz-box-flex: 0;
      -ms-flex: 0 0 50%;
          flex: 0 0 50%;
}

.g-70 {
  -webkit-flex: 0 0 70%;
     -moz-box-flex: 0;
      -ms-flex: 0 0 70%;
          flex: 0 0 70%;
  padding: 12px;
}

.g-100 {
  -webkit-flex: 0 0 100%;
     -moz-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
}

label {
  display: block;
  margin: 10px 0;
  padding: 0 10px 0 0;
  font-weight: normal;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
select {
  text-transform: none;
}

::-webkit-input-placeholder {
  /* WebKit browsers */
  color: #999;
}

:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #999;
}

::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #999;
}

:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: #999;
}

.mgc {
  position: relative;
  width: 16px;
  height: 16px;
  background-clip: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: -0.15px 0.6px 0 0;
  vertical-align: text-bottom;
  border-radius: 3px;
  -webkit-transition: background-color 0.25s;
  -o-transition: background-color 0.25s;
  -moz-transition: background-color 0.25s;
  transition: background-color 0.25s;
  background-color: #fff;
  border: 1px solid #d7d7d7;
}

.mgc:checked:after {
  content: "";
  display: block;
  height: 4px;
  width: 7px;
  border: 0 solid #333;
  border-width: 0 0 2px 2px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
   -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
       transform: rotate(-45deg);
  position: absolute;
  top: 3px;
  left: 3px;
}

.mgc:disabled {
  opacity: 0.65;
}

.mgc:focus {
  outline: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.075), 0 0 2px #38a7ff;
}

.mgc:checked {
  background-color: #fff;
  border-color: #d7d7d7;
}

.mgc:checked:after {
  border-color: #414141;
}

.mgc-primary {
  background-color: #fff;
  border: 1px solid #d7d7d7;
}

.mgc-primary:checked {
  background-color: #fff;
  border-color: #E1301D;
}

.mgc-primary:checked:after {
  border-color: #E1301D;
}

.mgc-success {
  background-color: #fff;
  border: 1px solid #d7d7d7;
}

.mgc-success:checked {
  background-color: #5cb85c;
  border-color: #5cb85c;
}

.mgc-success:checked:after {
  border-color: #fff;
}

.mgc-info {
  background-color: #fff;
  border: 1px solid #d7d7d7;
}

.mgc-info:checked {
  background-color: #5bc0de;
  border-color: #5bc0de;
}

.mgc-info:checked:after {
  border-color: #fff;
}

.mgc-warning {
  background-color: #fff;
  border: 1px solid #d7d7d7;
}

.mgc-warning:checked {
  background-color: #f0ad4e;
  border-color: #f0ad4e;
}

.mgc-warning:checked:after {
  border-color: #fff;
}

.mgc-danger {
  background-color: #fff;
  border: 1px solid #d7d7d7;
}

.mgc-danger:checked {
  background-color: #cf3b3a;
  border-color: #cf3b3a;
}

.mgc-danger:checked:after {
  border-color: #fff;
}

.mgc-mg {
  width: 18px;
  height: 18px;
}

.mgc-mg:checked:after {
  top: 3px;
  left: 3px;
  height: 6px;
  width: 12px;
}

.mgc-lg {
  width: 24px;
  height: 24px;
}

.mgc-lg:checked:after {
  top: 4px;
  left: 4px;
  height: 8px;
  width: 16px;
}

.mgr {
  position: relative;
  width: 16px;
  height: 16px;
  background-clip: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  vertical-align: text-bottom;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #d7d7d7;
}

.mgr:disabled {
  opacity: 0.65;
}

.mgr:before {
  content: "";
  display: block;
  height: 0;
  width: 0;
  -webkit-transition: width 0.25s, height 0.25s;
  -o-transition: width 0.25s, height 0.25s;
  -moz-transition: width 0.25s, height 0.25s;
  transition: width 0.25s, height 0.25s;
}

.mgr:checked:before {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  margin: 3px 0 0 3px;
}

.mgr:focus {
  outline: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.075), 0 0 2px #38a7ff;
}

.mgr:checked {
  border: 1px solid #555;
}

.mgr:checked:before {
  background-color: #555;
}

.mgr-primary {
  background-color: #fff;
  border: 1px solid #d7d7d7;
}

.mgr-primary:checked {
  border: 1px solid #E1301D;
}

.mgr-primary:checked:before {
  background-color: #E1301D;
}

.mgr-success {
  background-color: #fff;
  border: 1px solid #d7d7d7;
}

.mgr-success:checked {
  border: 1px solid #5cb85c;
}

.mgr-success:checked:before {
  background-color: #5cb85c;
}

.mgr-info {
  background-color: #fff;
  border: 1px solid #d7d7d7;
}

.mgr-info:checked {
  border: 1px solid #5bc0de;
}

.mgr-info:checked:before {
  background-color: #5bc0de;
}

.mgr-warning {
  background-color: #fff;
  border: 1px solid #d7d7d7;
}

.mgr-warning:checked {
  border: 1px solid #f0ad4e;
}

.mgr-warning:checked:before {
  background-color: #f0ad4e;
}

.mgr-danger {
  background-color: #fff;
  border: 1px solid #d7d7d7;
}

.mgr-danger:checked {
  border: 1px solid #cf3b3a;
}

.mgr-danger:checked:before {
  background-color: #cf3b3a;
}

.mgr-sm {
  width: 20px;
  height: 20px;
}

.mgr-sm:checked:before {
  height: 14px;
  width: 14px;
  border-radius: 50%;
  margin: 2px 0 0 2px;
}

.mgr-lg {
  width: 24px;
  height: 24px;
}

.mgr-lg:checked:before {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  margin: 3px 0 0 3px;
}

.mgc-switch {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  width: 41px;
  height: 24px;
  border: 1px solid #dfdfdf;
  outline: 0;
  border-radius: 16px;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
  background: #dfdfdf;
}

.mgc-switch:before,
.mgc-switch:after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 15px;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  -o-transition: -o-transform 0.3s;
  -moz-transition: transform 0.3s, -moz-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s, -moz-transform 0.3s, -o-transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}

.mgc-switch:before {
  width: 39px;
  height: 22px;
  background-color: #fdfdfd;
}

.mgc-switch:after {
  width: 22px;
  height: 22px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.mgc-switch:checked {
  border-color: #04be02;
  background-color: #04be02;
}

.mgc-switch:checked:before {
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
   -ms-transform: scale(0);
    -o-transform: scale(0);
       transform: scale(0);
}

.mgc-switch:checked:after {
  -webkit-transform: translateX(17px);
  -moz-transform: translateX(17px);
   -ms-transform: translateX(17px);
    -o-transform: translateX(17px);
       transform: translateX(17px);
}

.mgc-sm.mgc-switch {
  height: 20px;
  width: 32px;
}

.mgc-sm.mgc-switch:before {
  height: 18px;
  width: 30px;
}

.mgc-sm.mgc-switch:after {
  width: 18px;
  height: 18px;
}

.mgc-sm.mgc-switch:checked:after {
  top: 0;
  left: 2px;
  -webkit-transform: translateX(10px);
  -moz-transform: translateX(10px);
   -ms-transform: translateX(10px);
    -o-transform: translateX(10px);
       transform: translateX(10px);
}

.mgc-lg.mgc-switch {
  height: 32px;
  width: 52px;
}

.mgc-lg.mgc-switch:before {
  height: 30px;
  width: 50px;
}

.mgc-lg.mgc-switch:after {
  width: 30px;
  height: 30px;
}

.mgc-lg.mgc-switch:checked:after {
  top: 0;
  left: 2px;
  -webkit-transform: translateX(18px);
  -moz-transform: translateX(18px);
   -ms-transform: translateX(18px);
    -o-transform: translateX(18px);
       transform: translateX(18px);
}

.form-style input[type=text],
.form-style input[type=date],
.form-style input[type=datetime],
.form-style input[type=email],
.form-style input[type=number],
.form-style input[type=search],
.form-style input[type=time],
.form-style input[type=url],
.form-style input[type=tel],
.form-style input[type=password],
.form-style textarea,
.form-style select {
  outline: none;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  padding: 5px;
  color: #555;
  border-radius: 4px;
  height: 44px;
}

.form-style textarea {
  min-height: 120px;
}

.form-style input[type=text]:focus,
.form-style input[type=date]:focus,
.form-style input[type=datetime]:focus,
.form-style input[type=email]:focus,
.form-style input[type=number]:focus,
.form-style input[type=search]:focus,
.form-style input[type=time]:focus,
.form-style input[type=url]:focus,
.form-style input[type=tel]:focus,
.form-style input[type=password]:focus,
.form-style textarea:focus,
.form-style select:focus {
  box-shadow: 0 0 5px #E1301D;
  border: 1px solid #E1301D;
}

.form-style input[type=submit],
.form-style input[type=button] {
  width: 100%;
}

.form-style .error input[type=text],
.form-style .error input[type=date],
.form-style .error input[type=datetime],
.form-style .error input[type=email],
.form-style .error input[type=number],
.form-style .error input[type=search],
.form-style .error input[type=time],
.form-style .error input[type=url],
.form-style .error input[type=password],
.form-style .error input[type=tel],
.form-style .error textarea,
.form-style .error select {
  box-shadow: 0 0 5px #f54747;
  border: 1px solid #f54747;
}

.form-style .error p {
  color: #f54747;
  font-size: 13px;
}

.form-style .disable input[type=text],
.form-style .disable input[type=date],
.form-style .disable input[type=datetime],
.form-style .disable input[type=email],
.form-style .disable input[type=number],
.form-style .disable input[type=search],
.form-style .disable input[type=time],
.form-style .disable input[type=url],
.form-style .disable textarea,
.form-style .disable select {
  background-color: #eee;
  border: 1px solid #eee;
}

.form-style .icon-down {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: url(../image/icon/arrdownIcon.svg) no-repeat right 0.5em center;
  background-color: #fff;
  -o-background-size: 16px;
     background-size: 16px;
}

select::-ms-expand {
  display: none;
}

* {
  -moz-box-sizing: border-box;
       box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #cf461d;
  color: #202020;
  font-family: "Noto Sans TC", "Helvetica", "Microsoft JhengHei", Verdana, Arial, sans-serif;
  font-size: 20px;
  font-weight: normal;
  line-height: 1.5;
  position: relative;
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

p {
  margin: 0;
}

a {
  color: #333;
  margin: 0px;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #E1301D;
}

a:focus {
  outline: none !important;
  text-decoration: none;
}

button:focus {
  outline: none !important;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

em {
  font-style: normal;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  color: #333;
}

:after,
:before {
  -moz-box-sizing: border-box;
       box-sizing: border-box;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0;
}

select::-ms-expand {
  display: none;
}

ul,
ol,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.circle_box {
  border-radius: 999em;
}

.clear {
  clear: both;
}

/* ------------------------------------ */
.mt-8 {
  margin-top: 8px !important;
}

.mt-12 {
  margin-top: 12px !important;
}

.mt-16 {
  margin-top: 16px !important;
}

.mt-20 {
  margin-top: 20px !important;
}

.mt-24 {
  margin-top: 24px !important;
}

.mt-32 {
  margin-top: 32px !important;
}

.mt-36 {
  margin-top: 36px !important;
}

.mt-40 {
  margin-top: 40px !important;
}

.mt-44 {
  margin-top: 44px !important;
}

.mt-48 {
  margin-top: 48px !important;
}

.mb-0 {
  margin-bottom: 0px !important;
}

.mb-8 {
  margin-bottom: 8px !important;
}

.mb-12 {
  margin-bottom: 12px !important;
}

.mb-16 {
  margin-bottom: 16px !important;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.mb-24 {
  margin-bottom: 24px !important;
}

.mb-28 {
  margin-bottom: 28px !important;
}

.mb-32 {
  margin-bottom: 32px !important;
}

.mb-36 {
  margin-bottom: 36px !important;
}

.mb-40 {
  margin-bottom: 40px !important;
}

.mb-44 {
  margin-bottom: 44px !important;
}

.mb-48 {
  margin-bottom: 48px !important;
}

.ml-0 {
  margin-left: 0px !important;
}

.ml-8 {
  margin-left: 8px !important;
}

.ml-12 {
  margin-left: 12px !important;
}

.ml-16 {
  margin-left: 16px !important;
}

.ml-20 {
  margin-left: 20px !important;
}

.ml-24 {
  margin-left: 24px !important;
}

.mr-0 {
  margin-right: 0px !important;
}

.mr-8 {
  margin-right: 8px !important;
}

.mr-12 {
  margin-right: 12px !important;
}

.mr-16 {
  margin-right: 16px !important;
}

.mr-20 {
  margin-right: 20px !important;
}

.mr-24 {
  margin-right: 24px !important;
}

.pt-8 {
  padding-top: 8px !important;
}

.pt-12 {
  padding-top: 12px !important;
}

.pt-16 {
  padding-top: 16px !important;
}

.pt-20 {
  padding-top: 20px !important;
}

.pt-24 {
  padding-top: 24px !important;
}

.pt-28 {
  padding-top: 28px !important;
}

.pb-8 {
  padding-bottom: 8px !important;
}

.pb-12 {
  padding-bottom: 12px !important;
}

.pb-16 {
  padding-bottom: 16px !important;
}

.pb-20 {
  padding-bottom: 20px !important;
}

.pb-24 {
  padding-bottom: 24px !important;
}

.pb-28 {
  padding-bottom: 28px !important;
}

.img-rwd {
  max-width: 100%;
  height: auto;
}

.hide {
  display: none;
}

.text-l {
  text-align: left;
}

.text-c {
  text-align: center;
}

.text-r {
  text-align: right;
}

.p-red {
  color: #fa5353;
}

.p-green {
  color: #5cb85c;
}

.main-top {
  margin-top: 104px;
  -webkit-transition: margin-top 0.4s;
  -o-transition: margin-top 0.4s;
  -moz-transition: margin-top 0.4s;
  transition: margin-top 0.4s;
}

@media (max-width: 1000px) {
  .main-top {
    margin-top: 72px;
  }
}
.ic {
  position: relative;
  display: inline;
  width: 32px;
  height: 32px;
}

.ic_arr1 {
  fill: rgb(153, 32, 32);
  -webkit-transform: rotate(180deg);
     -moz-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
       -o-transform: rotate(180deg);
          transform: rotate(180deg);
}

.ic_arr2 {
  fill: rgb(153, 32, 32);
  -webkit-transform: rotate(270deg);
     -moz-transform: rotate(270deg);
      -ms-transform: rotate(270deg);
       -o-transform: rotate(270deg);
          transform: rotate(270deg);
}

.ic_close {
  fill: rgb(153, 32, 32);
}

.ic_s {
  background: url(../images/temp/ic_smartpush_A.svg) no-repeat;
  -o-background-size: cover;
     background-size: cover;
}

.animation {
  position: relative;
  width: 100%;
}
.animation .scenes .scenes_inner {
  height: 0;
  padding-bottom: 100%;
  position: relative;
}
.animation .scenes .scenes_inner .lv1 {
  position: absolute;
  z-index: 1;
}
.animation .scenes .scenes_inner .lv0 {
  position: absolute;
  z-index: 0;
}
.animation .bg {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
     -moz-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
       -o-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 1;
}
.animation .bg .bg_inner {
  height: 0;
  padding-bottom: 100%;
  background: url(../images/animation/light2_fx_fps.svg) 0 0 no-repeat;
  background-repeat: no-repeat;
  /*----呼叫動畫名稱 ----*/
  -webkit-animation-name: Fps12p;
     -moz-animation-name: Fps12p;
       -o-animation-name: Fps12p;
          animation-name: Fps12p;
  /*----播放時間----*/
  -webkit-animation-duration: 1s;
     -moz-animation-duration: 1s;
       -o-animation-duration: 1s;
          animation-duration: 1s;
  /*----影格數----*/
  -webkit-animation-timing-function: steps(12, end);
     -moz-animation-timing-function: steps(12, end);
       -o-animation-timing-function: steps(12, end);
          animation-timing-function: steps(12, end);
  /*----播放次數 ----*/
  -webkit-animation-iteration-count: 1;
     -moz-animation-iteration-count: 1;
       -o-animation-iteration-count: 1;
          animation-iteration-count: 1;
  /*----停在最後一格 ----*/
  -webkit-animation-fill-mode: forwards;
     -moz-animation-fill-mode: forwards;
       -o-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  /*----background-size 的寬度值設為 N影格 ×100% ----*/
  -o-background-size: 1200% 100%;
     background-size: 1200% 100%;
  position: relative;
  display: block;
}

.MG_icon {
  width: 100%;
  /*----物件需要顯示的寬高比例 ----*/
  height: 0;
  padding-bottom: 100%;
  /*----逐格動畫圖片檔 ----*/
  background: url(../images/temp/ic_smartpush_A.svg) 0 0 no-repeat;
  background-repeat: no-repeat;
  /*----呼叫動畫名稱 ----*/
  -webkit-animation-name: Fps12p;
     -moz-animation-name: Fps12p;
       -o-animation-name: Fps12p;
          animation-name: Fps12p;
  /*----播放時間----*/
  -webkit-animation-duration: 1s;
     -moz-animation-duration: 1s;
       -o-animation-duration: 1s;
          animation-duration: 1s;
  /*----影格數----*/
  -webkit-animation-timing-function: steps(12, end);
     -moz-animation-timing-function: steps(12, end);
       -o-animation-timing-function: steps(12, end);
          animation-timing-function: steps(12, end);
  /*----播放次數 ----*/
  -webkit-animation-iteration-count: infinite;
     -moz-animation-iteration-count: infinite;
       -o-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  /*----停在最後一格 ----*/
  -webkit-animation-fill-mode: forwards;
     -moz-animation-fill-mode: forwards;
       -o-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  /*----background-size 的寬度值設為 N影格 ×100% ----*/
  -o-background-size: 1200% 100%;
     background-size: 1200% 100%;
  position: relative;
  display: block;
}

@-webkit-keyframes Fps12p {
  0% {
    background-position: left top;
  }
  100% {
    /*----background-position 的結束位置為 100% + (100 ÷(N - 1))% ----*/
    background-position: 109.09% top;
  }
}

@-moz-keyframes Fps12p {
  0% {
    background-position: left top;
  }
  100% {
    /*----background-position 的結束位置為 100% + (100 ÷(N - 1))% ----*/
    background-position: 109.09% top;
  }
}

@-o-keyframes Fps12p {
  0% {
    background-position: left top;
  }
  100% {
    /*----background-position 的結束位置為 100% + (100 ÷(N - 1))% ----*/
    background-position: 109.09% top;
  }
}

@keyframes Fps12p {
  0% {
    background-position: left top;
  }
  100% {
    /*----background-position 的結束位置為 100% + (100 ÷(N - 1))% ----*/
    background-position: 109.09% top;
  }
}
.mod_tip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
  color: #000;
  cursor: pointer;
}
.mod_tip .active {
  color: red;
}
.mod_tip .tiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  margin-left: -60px;
  font-size: 15px;
}
.mod_tip .tiptext:after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}
.mod_tip:hover .tiptext {
  visibility: visible;
}
.mod_tip .toggle {
  visibility: visible;
}

.lightbox-target {
  display: none;
  position: fixed;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  -webkit-transition: opacity 0.5s ease-in-out;
  -o-transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out;
  z-index: 2000;
}

.lightbox-target .content {
  width: 90%;
  height: 90%;
  background: #fff0d2;
  border: 2px solid #cd9756;
  color: #333;
  margin: auto;
  margin-top: 6%;
  padding: 8px;
  position: relative;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  -moz-box-sizing: border-box;
       box-sizing: border-box;
  border-radius: 12px;
}
.lightbox-target .content .lightboxbody {
  position: relative;
  max-height: 100%;
  overflow-y: auto;
  width: 100%;
  padding-left: 8px;
  padding-right: 8px;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
}
.lightbox-target .content .title {
  text-align: center;
  font-size: 28px;
  line-height: 52px;
}

.lightbox-target .content {
  max-width: 640px;
  max-height: 460px;
}

@media (max-width: 640px) {
  .lightbox-target .content {
    max-width: 640px;
    max-height: 640px;
  }
}
.lightboxopen {
  display: block;
}

.lightbox-close {
  display: block;
  width: 40px;
  height: 40px;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
  background: #E1301D;
  color: #fff;
  position: absolute;
  top: -20px;
  right: -20px;
  -webkit-transition: ease-in-out 0.5s;
  -o-transition: ease-in-out 0.5s;
  -moz-transition: ease-in-out 0.5s;
  transition: ease-in-out 0.5s;
  z-index: 99;
  cursor: pointer;
  border-radius: 99em;
}

.lightbox-close:before,
.lightbox-close:after {
  content: " ";
  display: block;
  height: 24px;
  width: 1px;
  background: #fff;
  position: absolute;
  left: 20px;
  top: 8px;
  -webkit-transform: rotate(45deg);
     -moz-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
       -o-transform: rotate(45deg);
          transform: rotate(45deg);
}

.lightbox-close:after {
  -webkit-transform: rotate(-45deg);
     -moz-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
       -o-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.scale11 {
  height: 0;
  padding-bottom: 100%;
  -o-background-size: cover;
     background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  overflow: hidden;
  position: relative;
}
.scale11 img {
  width: 100%;
}

.scale169 {
  height: 0;
  padding-bottom: 52.5%;
  -o-background-size: cover;
     background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  overflow: hidden;
  position: relative;
}
.scale169 img {
  width: 100%;
}

.ellipsisOne {
  overflow: hidden;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
  white-space: nowrap;
}

.ellipsis {
  overflow: hidden;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.videobg {
  width: 100%;
  height: 100vh;
}
.videobg .video {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
}

.youtube-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

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

.mod-pages {
  margin-top: 32px;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
}
.mod-pages .paginations {
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.mod-pages .paginations .pageitem {
  width: 44px;
  height: 44px;
  line-height: 44px;
  border: #e5e5e5 solid 1px;
  border-radius: 8px;
  margin: 0 3px;
  background-color: #fff;
  text-align: center;
}
.mod-pages .paginations .active {
  background-color: #E1301D;
}
.mod-pages .paginations .active a {
  color: #fff;
}

.table-normal {
  position: relative;
  margin: 0 auto 20px;
  background-color: #fff;
  color: #000;
}
.table-normal .table-wrap {
  border-top: 1px solid #e5e5e5;
  border-left: 1px solid #e5e5e5;
}
.table-normal table {
  width: 100%;
  margin: auto;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 16px;
}
.table-normal tr:nth-child(even) {
  background: #f9f9f9;
}
.table-normal th,
.table-normal td {
  padding: 8px 4px;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: top;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
.table-normal th {
  background: #E1301D;
  color: #fff;
}
.table-normal th span {
  display: block;
  font-size: 13px;
}
.table-normal thead,
.table-normal tfoot {
  background: #f9f9f9;
}

.mod-table-scrollx {
  overflow-x: auto;
  margin: 0 auto 20px;
}
.mod-table-scrollx table {
  width: 100%;
  margin: auto;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  border-top: 1px solid #e5e5e5;
  border-left: 1px solid #e5e5e5;
}
.mod-table-scrollx tr:nth-child(even) {
  background: #f9f9f9;
}
.mod-table-scrollx th,
.mod-table-scrollx td {
  padding: 8px 4px;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: top;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
}
.mod-table-scrollx th {
  background: #00bfa8;
}
.mod-table-scrollx th span {
  display: block;
  font-size: 13px;
}

.list-decimal {
  padding-left: 24px;
}
.list-decimal li {
  list-style-type: decimal;
  margin-bottom: 8px;
}
.list-decimal li li {
  margin-left: 24px;
  list-style-type: disc;
}

.list-disc {
  padding-left: 24px;
}
.list-disc li {
  list-style-type: disc;
  margin-bottom: 8px;
}

.mod-qa {
  background-color: #fff;
  padding: 8px;
  margin-bottom: 12px;
}
.mod-qa .q {
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  cursor: pointer;
}
.mod-qa .q .icon {
  -webkit-flex: 0 0 52px;
     -moz-box-flex: 0;
      -ms-flex: 0 0 52px;
          flex: 0 0 52px;
  background: url(../images/ic_q.png) no-repeat;
  -o-background-size: contain;
     background-size: contain;
  margin-right: 8px;
}
.mod-qa .q p {
  min-height: 52px;
  -webkit-flex: 1;
     -moz-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding-top: 12px;
  color: #000;
}
.mod-qa .q .switch {
  -webkit-flex: 0 0 auto;
     -moz-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: 44px;
  height: 44px;
  background: url(../images/temp/ic_arr.svg) no-repeat center;
  -o-background-size: 32px;
     background-size: 32px;
  cursor: pointer;
  -webkit-transform: rotate(-90deg);
     -moz-transform: rotate(-90deg);
      -ms-transform: rotate(-90deg);
       -o-transform: rotate(-90deg);
          transform: rotate(-90deg);
}
.mod-qa .q .open {
  -webkit-transform: rotate(0deg);
     -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
       -o-transform: rotate(0deg);
          transform: rotate(0deg);
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}
.mod-qa .a {
  display: none;
}
.mod-qa .a .inner {
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}
.mod-qa .a .inner .icon {
  -webkit-flex: 0 0 52px;
     -moz-box-flex: 0;
      -ms-flex: 0 0 52px;
          flex: 0 0 52px;
  background: url(../images/ic_a.png) no-repeat;
  -o-background-size: contain;
     background-size: contain;
  margin-right: 8px;
  margin-top: 12px;
}
.mod-qa .a .inner .word {
  min-height: 60px;
  -webkit-flex: 1;
     -moz-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding-top: 12px;
  color: #397edf;
}

.row1 {
  width: 100%;
}
.row1 .inner {
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}
.row1 .inner .item {
  -webkit-flex: 1;
     -moz-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.main-top {
  margin-top: 74px;
  -webkit-transition: margin-top 0.4s;
  -o-transition: margin-top 0.4s;
  -moz-transition: margin-top 0.4s;
  transition: margin-top 0.4s;
}

@media (max-width: 1000px) {
  .main-top {
    margin-top: 74px;
  }
}
.ic {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 32px;
}

.ic_search {
  background: url(../images/temp/ic_search.svg) no-repeat;
  -o-background-size: cover;
     background-size: cover;
}

.ic_arr1 {
  fill: rgb(153, 32, 32);
  -webkit-transform: rotate(180deg);
     -moz-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
       -o-transform: rotate(180deg);
          transform: rotate(180deg);
}

.ic_s {
  background: url(../images/temp/ic_smartpush_A.svg) no-repeat;
  -o-background-size: cover;
     background-size: cover;
}

.ic_fb {
  background: url(../images/temp/ic_fb.svg) no-repeat center center;
  -o-background-size: cover;
     background-size: cover;
}

.ic_fb2 {
  background: url(../images/temp/ic_fb2.svg) no-repeat center center;
  -o-background-size: cover;
     background-size: cover;
}

.ic_line {
  background: url(../images/temp/ic_line.svg) no-repeat center center;
  -o-background-size: cover;
     background-size: cover;
}

.ic_line2 {
  background: url(../images/temp/ic_line2.svg) no-repeat center center;
  -o-background-size: cover;
     background-size: cover;
}

.ic_language {
  background: url(../images/temp/ic_language.svg) no-repeat;
  -o-background-size: contain;
     background-size: contain;
  background-position: 0 4px;
  position: relative;
  display: inline-block;
  width: 40px;
  height: 32px;
}

.ic_close {
  background: url(../images/temp/ic_close.svg) no-repeat center center, #fff;
  -o-background-size: cover;
     background-size: cover;
  border-radius: 50%;
}

.ic_message {
  background: url(../images/temp/ic_smartpush.svg) no-repeat center center, #fff;
  -o-background-size: 38px 38px;
     background-size: 38px 38px;
  width: 44px;
  height: 44px;
}

.heroheader {
  background: #fff;
  display: block;
  position: fixed;
  width: 100%;
  z-index: 100;
  top: 0;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  -moz-transition: 0.5s;
  transition: 0.5s;
  border-top: 2px solid;
  -moz-border-image: -moz-linear-gradient(left, #aa0225, #aa0225 75%, #004738 75%) 1;
    -o-border-image: -o-linear-gradient(left, #aa0225, #aa0225 75%, #004738 75%) 1;
       border-image: -webkit-linear-gradient(left, #aa0225, #aa0225 75%, #004738 75%) 1;
       border-image: linear-gradient(to right, #aa0225, #aa0225 75%, #004738 75%) 1;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.heroheader .inner {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  position: relative;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 12px;
}
.heroheader .inner .logobox {
  -webkit-flex: 0 0 auto;
     -moz-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 72px;
}
.heroheader .inner .logobox .logo {
  display: inline-block;
  vertical-align: middle;
  height: 45px;
}
.heroheader .inner .logobox .logo img {
  width: 150px;
  padding-right: 8px;
}
.heroheader .inner .logobox span {
  color: #d1a36d;
  font-size: 1.1em;
  font-weight: 550;
  padding-top: 9px;
  padding-left: 9px;
  vertical-align: top;
  display: inline-block;
  border-left: 1px solid #c4c4c4;
}
.heroheader .inner .navbox {
  -webkit-flex: 1;
     -moz-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.heroheader .inner .navbox .in {
  width: 100%;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.heroheader .inner .navbox .in .nav {
  -webkit-flex: 1;
     -moz-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-order: 1;
     -moz-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
}
.heroheader .inner .navbox .in .member {
  -webkit-flex: 0 0 auto;
     -moz-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  -webkit-order: 2;
     -moz-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}
.heroheader .inner .navbox .in .channel {
  display: none;
  -webkit-order: 3;
     -moz-box-ordinal-group: 4;
      -ms-flex-order: 3;
          order: 3;
}
.heroheader .inner .hamburger {
  display: none;
  width: 44px;
  height: 44px;
  background: url(../images/temp/ic_hamburger.svg) no-repeat center center;
  -o-background-size: 28px;
     background-size: 28px;
  cursor: pointer;
}
.heroheader .inner .mod-message {
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.heroheader .inner .message_MG {
  width: 100%;
  /*----物件需要顯示的寬高比例 ----*/
  height: 0;
  padding-bottom: 100%;
  /*----逐格動畫圖片檔 ----*/
  background: url(../images/temp/ic_smartpush_A.svg) 0 0 no-repeat;
  background-repeat: no-repeat;
  /*----呼叫動畫名稱 ----*/
  -webkit-animation-name: Fps12p;
     -moz-animation-name: Fps12p;
       -o-animation-name: Fps12p;
          animation-name: Fps12p;
  /*----播放時間----*/
  -webkit-animation-duration: 1s;
     -moz-animation-duration: 1s;
       -o-animation-duration: 1s;
          animation-duration: 1s;
  /*----影格數----*/
  -webkit-animation-timing-function: steps(12, end);
     -moz-animation-timing-function: steps(12, end);
       -o-animation-timing-function: steps(12, end);
          animation-timing-function: steps(12, end);
  /*----播放次數 ----*/
  -webkit-animation-iteration-count: infinite;
     -moz-animation-iteration-count: infinite;
       -o-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  /*----停在最後一格 ----*/
  -webkit-animation-fill-mode: forwards;
     -moz-animation-fill-mode: forwards;
       -o-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  /*----background-size 的寬度值設為 N影格 ×100% ----*/
  -o-background-size: 1200% 100%;
     background-size: 1200% 100%;
  position: relative;
  display: block;
}
@keyframes Fps12p {
  0% {
    background-position: left top;
  }
  100% {
    /*----background-position 的結束位置為 100% + (100 ÷(N - 1))% ----*/
    background-position: 109.09% top;
  }
}

.member {
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: nowrap;
      -ms-flex-wrap: nowrap;
          flex-wrap: nowrap;
}
.member li {
  display: none;
}
.member li:nth-child(1) {
  display: inline;
}

.membernav {
  position: relative;
  cursor: pointer;
}
.membernav .lists {
  position: absolute;
  display: none;
  background-color: #fff;
  width: 120px;
  top: 36px;
  right: 0;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 110;
  border-radius: 12px;
  text-align: center;
}
.membernav .lists a {
  line-height: 44px;
  width: 100%;
  display: block;
}

@media (max-width: 1000px) {
  .member li {
    position: relative;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-flex: 0 0 auto;
       -moz-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    margin-left: 8px;
    height: 36px;
  }
  .member li:nth-child(2) {
    margin-left: auto;
  }
  .member li .ic {
    width: 36px;
    height: 36px;
    -o-background-size: 24px;
       background-size: 24px;
    background-position: center 8px;
  }
  .member li span {
    float: right;
    line-height: 36px;
  }
  .member li .close_hamburger .ic {
    -o-background-size: 18px;
       background-size: 18px;
    background-position: center center;
  }
}
.nav-title {
  display: none;
}

@media (max-width: 1000px) {
  .nav-title {
    display: block;
    background: #e1e1e1;
    padding: 4px 12px;
    font-size: 0.9em;
    font-weight: bold;
  }
}
.mod-language {
  cursor: pointer;
  position: relative;
}
.mod-language .language-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 88px;
  top: 100%;
  right: 0;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 110;
  border-radius: 12px;
  overflow: hidden;
}
.mod-language .language-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: center;
}
.mod-language .language-content a:hover {
  background-color: #ddd;
}

.mod-message {
  cursor: pointer;
  position: relative;
}
.mod-message .message-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 260px;
  top: 100%;
  right: 0;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 110;
  padding: 8px;
}
.mod-message .message-content .bt {
  display: block;
  color: #e40439;
  text-align: center;
}

.mod-content-card {
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  border-bottom: 1px solid #eee;
  padding: 8px 0;
}
.mod-content-card .pic {
  -webkit-flex: 0 0 88px;
     -moz-box-flex: 0;
      -ms-flex: 0 0 88px;
          flex: 0 0 88px;
  margin-right: 4px;
}
.mod-content-card .content {
  -webkit-flex: 1;
     -moz-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.mod-content-card .content .time {
  font-size: 0.8em;
  text-align: right;
  color: #999;
}

.loginbt {
  background-color: #f1f1f1;
  color: #E1301D;
  padding: 8px 24px;
  border-radius: 50px;
}
.loginbt:hover {
  color: #E1301D;
  background-color: #dddddd;
}

.channel a {
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  height: 50px;
  padding-left: 20px;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}
.channel a .pic {
  -webkit-flex: 0 0 52px;
     -moz-box-flex: 0;
      -ms-flex: 0 0 52px;
          flex: 0 0 52px;
  margin-right: 8px;
}
.channel a p {
  -webkit-flex: 1;
     -moz-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding-top: 12px;
}

.nav {
  display: block;
  background: #fff;
  font-size: 1.1em;
  /*menu層style*/
  /*第一層style*/
  /*第二層style*/
  /*第三層style*/
}
.nav .menu li {
  position: relative;
}
.nav .menu a {
  padding-left: 20px;
  line-height: 52px;
  font-weight: 550;
}
.nav .active {
  color: #E1301D;
}
.nav .subhide {
  display: none;
}
.nav .open {
  display: block;
}
.nav .menu > li a {
  display: block;
  border-bottom: 1px solid #e5e5e5;
}
.nav .sub-menu {
  background-color: #fcfcfc;
}
.nav .sub-menu a {
  font-weight: normal;
  padding-left: 40px;
}
.nav .sub-menu ul {
  background-color: #f6f6f6;
}
.nav .sub-menu ul a {
  font-size: 0.9em;
  color: #555;
  padding-left: 60px;
}
.nav .sub-menu ul ul a {
  padding-left: 56px;
}
.nav .toggleIcon {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 44px;
  background: url(../images/temp/ic_plus.svg) no-repeat;
  background-position: right 24px top 50%;
  margin-top: 5px;
  -o-background-size: 16px;
     background-size: 16px;
}
.nav .closebt {
  background: url(../images/temp/ic_minus.svg) no-repeat;
  background-position: right 24px top 50%;
  -o-background-size: 16px;
     background-size: 16px;
}

/* nav pc版顯示*/
@media screen and (min-width: 1000px) {
  .nav {
    background: #fff;
    /*PC所有層基本style*/
    /*pc menu層style*/
    /*pc 第一層style*/
    /*pc 第二層style*/
    /*pc 第三層style*/
  }
  .nav .menu {
    margin-left: 16%;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
            flex-wrap: nowrap;
  }
  .nav .menu li {
    position: relative;
    -webkit-flex: 0 0 auto;
       -moz-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    text-align: center;
    padding: 0 12px;
  }
  .nav .menu a {
    line-height: 40px;
    padding-left: 0px;
  }
  .nav .subhide {
    display: block;
  }
  .nav .open {
    display: block;
  }
  .nav .menu > li a {
    display: block;
    border-bottom: 0px;
  }
  .nav .sub-menu {
    background: url(../images/temp/megamenu_bg.jpg) no-repeat;
    -o-background-size: cover;
       background-size: cover;
    background-position: bottom;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    position: absolute;
    left: 0;
    width: 100%;
    padding: 12px 6px 32px;
  }
  .nav .sub-menu li {
    float: none;
    width: 15%;
    padding: 0 4px;
    display: inline-block;
    vertical-align: top;
  }
  .nav .sub-menu li a {
    font-weight: normal;
    padding-left: 0px;
    border-bottom: 1px solid #e5e5e5;
    background: url(../images/temp/ic_nav.svg) no-repeat center left;
    text-align: left;
    padding-left: 12px;
  }
  .nav .sub-menu li a[href="javascript:void(0)"]:hover {
    color: #202020;
    cursor: text;
  }
  .nav .sub-menu ul {
    background-color: transparent;
  }
  .nav .sub-menu ul li {
    width: 100%;
  }
  .nav .sub-menu ul li a {
    font-size: 0.9em;
    padding-left: 0px;
    border-bottom: 0;
    background: none;
  }
  .nav .sub-menu ul li a:hover, .nav .sub-menu ul li a:focus {
    color: #E1301D;
  }
  .nav .sub-menu ul ul {
    background-color: #f5f5f5;
  }
  .nav .sub-menu ul ul a {
    padding-left: 0px;
  }
  .toggleIcon {
    display: none;
  }
  .closebt {
    display: none;
  }
  .mega {
    position: static !important;
  }
  .mega > .subhide {
    display: none;
  }
  .mega > .open {
    display: block;
  }
}
footer {
  background: #444444;
  text-align: center;
  color: #fff;
  font-size: 0.9em;
}
footer p {
  width: 100%;
  max-width: 1260px;
  padding: 12px;
  margin: 0 auto;
}
footer .copywriter {
  background-color: #cf092c;
}

.roundpic {
  display: inline-block;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 50%;
  vertical-align: middle;
  border: 2px solid rgb(235, 235, 235);
}

.roundpic.line {
  border: 2px solid #7cd231;
}

.kv_ny {
  background: url(../images/kv_bg.png?V=20251231) no-repeat 50% 0;
  -o-background-size: cover;
     background-size: cover;
  padding-bottom: 12px;
}
.kv_ny .inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.kv_ny .inner .animate {
  height: 0;
  padding-bottom: 62.4%;
  position: relative;
  overflow: hidden;
}
.kv_ny .inner .animate .lv1 {
  position: absolute;
  top: 0;
  z-index: 1;
  --animate-duration: 10s;
}
.kv_ny .inner .animate .lv2 {
  position: absolute;
  top: 0;
  z-index: 2;
}
.kv_ny .inner .animate .lv3 {
  position: absolute;
  top: 0;
  z-index: 3;
  -webkit-animation-delay: 0.3s;
     -moz-animation-delay: 0.3s;
       -o-animation-delay: 0.3s;
          animation-delay: 0.3s;
}
.kv_ny .inner .animate .lv4 {
  position: absolute;
  top: 0;
  z-index: 4;
  -webkit-animation-delay: 0.8s;
     -moz-animation-delay: 0.8s;
       -o-animation-delay: 0.8s;
          animation-delay: 0.8s;
}
.kv_ny .inner .animate .lv5 {
  position: absolute;
  top: 0;
  z-index: 5;
  -webkit-animation-delay: 1.5s;
     -moz-animation-delay: 1.5s;
       -o-animation-delay: 1.5s;
          animation-delay: 1.5s;
}

.logotitle {
  position: absolute;
  z-index: 1;
  width: 55%;
  margin-top: 12%;
}

.bg2 {
  background: url(../images/bodybg_p2.png) center center;
  -o-background-size: contain;
     background-size: contain;
}

.game {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.floatright {
  position: fixed;
  width: 76px;
  right: 8px;
  top: 40%;
  z-index: 10;
}

@media (max-width: 640px) {
  .floatright {
    width: 48px;
    right: 8px;
    top: 30%;
    z-index: 10;
  }
}
.floatbottom {
  position: fixed;
  width: 76px;
  right: 8px;
  bottom: 20px;
  z-index: 10;
}

@media (max-width: 640px) {
  .floatbottom {
    width: 48px;
    right: 8px;
    bottom: 20px;
    z-index: 10;
  }
}
.title2 {
  font-size: 1.4em;
  text-align: center;
  padding: 32px 0 24px;
  color: #FEFFEE;
}

.title3 {
  text-align: center;
}

.card4 {
  text-align: center;
  font-size: 2em;
  line-height: 1.2;
  color: #531600;
  margin-bottom: 16px;
}
.card4 span {
  font-size: 2.4em;
  color: #E1301D;
}

.btns {
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  gap: 8px;
}
.btns .item {
  -webkit-flex: 0 0 auto;
     -moz-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.btn2 {
  cursor: pointer;
  background: -webkit-linear-gradient(top, #daab5b, #f5d880, #daab5b);
  background: -moz-linear-gradient(top, #daab5b, #f5d880, #daab5b);
  background: -o-linear-gradient(top, #daab5b, #f5d880, #daab5b);
  background: linear-gradient(to bottom, #daab5b, #f5d880, #daab5b);
  color: #531600;
  text-align: center;
  padding: 8px 20px;
  display: inline-block;
  border-radius: 99em;
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.4);
  font-weight: bold;
}
.btn2:hover {
  background: -webkit-linear-gradient(left, #ffc86a, #f5d880, #fac468);
  background: -moz-linear-gradient(left, #ffc86a, #f5d880, #fac468);
  background: -o-linear-gradient(left, #ffc86a, #f5d880, #fac468);
  background: linear-gradient(to right, #ffc86a, #f5d880, #fac468);
}

.btn3 {
  cursor: pointer;
  background: -webkit-linear-gradient(left, #daab5b, #f5d880, #daab5b);
  background: -moz-linear-gradient(left, #daab5b, #f5d880, #daab5b);
  background: -o-linear-gradient(left, #daab5b, #f5d880, #daab5b);
  background: linear-gradient(to right, #daab5b, #f5d880, #daab5b);
  color: #531600;
  text-align: center;
  padding: 6px 16px;
  display: inline-block;
  border-radius: 99em;
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.4);
}
.btn3:hover {
  background: -webkit-linear-gradient(left, #ffc86a, #f5d880, #fac468);
  background: -moz-linear-gradient(left, #ffc86a, #f5d880, #fac468);
  background: -o-linear-gradient(left, #ffc86a, #f5d880, #fac468);
  background: linear-gradient(to right, #ffc86a, #f5d880, #fac468);
}

.pyro > .before,
.pyro > .after {
  position: absolute;
  z-index: 99;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  box-shadow: 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff, 0 0 #fff;
  -moz-animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
  -webkit-animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
  -o-animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
  animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
}

.pyro > .after {
  -moz-animation-delay: 1.25s, 1.25s, 1.25s;
  -webkit-animation-delay: 1.25s, 1.25s, 1.25s;
  -o-animation-delay: 1.25s, 1.25s, 1.25s;
  animation-delay: 1.25s, 1.25s, 1.25s;
  -moz-animation-duration: 1.25s, 1.25s, 6.25s;
  -webkit-animation-duration: 1.25s, 1.25s, 6.25s;
  -o-animation-duration: 1.25s, 1.25s, 6.25s;
  animation-duration: 1.25s, 1.25s, 6.25s;
}

@-webkit-keyframes bang {
  to {
    box-shadow: 96px -176.6666666667px #48ff00, -11px -396.6666666667px #0004ff, 208px -194.6666666667px #b3ff00, -97px -304.6666666667px #ff00d0, 17px 78.3333333333px #bbff00, -15px -167.6666666667px #15ff00, -40px -371.6666666667px #dd00ff, 200px -387.6666666667px #00e6ff, 13px -264.6666666667px #ff9100, 238px 24.3333333333px #aaff00, -51px 66.3333333333px #4dff00, 152px -225.6666666667px #ff7b00, -103px -371.6666666667px #0095ff, 183px -361.6666666667px #ff0900, -247px 48.3333333333px #1100ff, 90px 38.3333333333px #91ff00, -40px -94.6666666667px #2fff00, -14px -13.6666666667px #6a00ff, -213px -380.6666666667px #ff00ae, 106px -356.6666666667px #4800ff, -21px -108.6666666667px #ee00ff, -76px -218.6666666667px #00fffb, 216px -390.6666666667px #00ffd0, -234px -187.6666666667px #0099ff, -208px -317.6666666667px #ffee00, -187px -215.6666666667px #ff0015, -207px -374.6666666667px #ff004d, 62px -187.6666666667px #0022ff, 22px -298.6666666667px #ff0099, 157px -90.6666666667px #00ff3c, 32px -317.6666666667px #15ff00, 175px -152.6666666667px #ff7300, -232px -29.6666666667px #51ff00, 203px 22.3333333333px #ff7700, 116px 67.3333333333px #ffd500, 143px -393.6666666667px #ffaa00, 70px 79.3333333333px #d5ff00, -2px -203.6666666667px #ff1500, 188px -329.6666666667px #00c8ff, -42px -338.6666666667px #00fff7, 52px -115.6666666667px #2b00ff, 102px -28.6666666667px #ff9900, -6px -121.6666666667px #00ffa2, 142px -189.6666666667px #ffbb00, 219px -170.6666666667px #ff0091, 164px -376.6666666667px #bbff00, -81px -128.6666666667px #005eff, 29px 28.3333333333px #00ffe1, 26px -129.6666666667px #00ff26, -4px -265.6666666667px #ff7300, -180px -342.6666666667px #9500ff;
  }
}

@-moz-keyframes bang {
  to {
    box-shadow: 96px -176.6666666667px #48ff00, -11px -396.6666666667px #0004ff, 208px -194.6666666667px #b3ff00, -97px -304.6666666667px #ff00d0, 17px 78.3333333333px #bbff00, -15px -167.6666666667px #15ff00, -40px -371.6666666667px #dd00ff, 200px -387.6666666667px #00e6ff, 13px -264.6666666667px #ff9100, 238px 24.3333333333px #aaff00, -51px 66.3333333333px #4dff00, 152px -225.6666666667px #ff7b00, -103px -371.6666666667px #0095ff, 183px -361.6666666667px #ff0900, -247px 48.3333333333px #1100ff, 90px 38.3333333333px #91ff00, -40px -94.6666666667px #2fff00, -14px -13.6666666667px #6a00ff, -213px -380.6666666667px #ff00ae, 106px -356.6666666667px #4800ff, -21px -108.6666666667px #ee00ff, -76px -218.6666666667px #00fffb, 216px -390.6666666667px #00ffd0, -234px -187.6666666667px #0099ff, -208px -317.6666666667px #ffee00, -187px -215.6666666667px #ff0015, -207px -374.6666666667px #ff004d, 62px -187.6666666667px #0022ff, 22px -298.6666666667px #ff0099, 157px -90.6666666667px #00ff3c, 32px -317.6666666667px #15ff00, 175px -152.6666666667px #ff7300, -232px -29.6666666667px #51ff00, 203px 22.3333333333px #ff7700, 116px 67.3333333333px #ffd500, 143px -393.6666666667px #ffaa00, 70px 79.3333333333px #d5ff00, -2px -203.6666666667px #ff1500, 188px -329.6666666667px #00c8ff, -42px -338.6666666667px #00fff7, 52px -115.6666666667px #2b00ff, 102px -28.6666666667px #ff9900, -6px -121.6666666667px #00ffa2, 142px -189.6666666667px #ffbb00, 219px -170.6666666667px #ff0091, 164px -376.6666666667px #bbff00, -81px -128.6666666667px #005eff, 29px 28.3333333333px #00ffe1, 26px -129.6666666667px #00ff26, -4px -265.6666666667px #ff7300, -180px -342.6666666667px #9500ff;
  }
}

@-o-keyframes bang {
  to {
    box-shadow: 96px -176.6666666667px #48ff00, -11px -396.6666666667px #0004ff, 208px -194.6666666667px #b3ff00, -97px -304.6666666667px #ff00d0, 17px 78.3333333333px #bbff00, -15px -167.6666666667px #15ff00, -40px -371.6666666667px #dd00ff, 200px -387.6666666667px #00e6ff, 13px -264.6666666667px #ff9100, 238px 24.3333333333px #aaff00, -51px 66.3333333333px #4dff00, 152px -225.6666666667px #ff7b00, -103px -371.6666666667px #0095ff, 183px -361.6666666667px #ff0900, -247px 48.3333333333px #1100ff, 90px 38.3333333333px #91ff00, -40px -94.6666666667px #2fff00, -14px -13.6666666667px #6a00ff, -213px -380.6666666667px #ff00ae, 106px -356.6666666667px #4800ff, -21px -108.6666666667px #ee00ff, -76px -218.6666666667px #00fffb, 216px -390.6666666667px #00ffd0, -234px -187.6666666667px #0099ff, -208px -317.6666666667px #ffee00, -187px -215.6666666667px #ff0015, -207px -374.6666666667px #ff004d, 62px -187.6666666667px #0022ff, 22px -298.6666666667px #ff0099, 157px -90.6666666667px #00ff3c, 32px -317.6666666667px #15ff00, 175px -152.6666666667px #ff7300, -232px -29.6666666667px #51ff00, 203px 22.3333333333px #ff7700, 116px 67.3333333333px #ffd500, 143px -393.6666666667px #ffaa00, 70px 79.3333333333px #d5ff00, -2px -203.6666666667px #ff1500, 188px -329.6666666667px #00c8ff, -42px -338.6666666667px #00fff7, 52px -115.6666666667px #2b00ff, 102px -28.6666666667px #ff9900, -6px -121.6666666667px #00ffa2, 142px -189.6666666667px #ffbb00, 219px -170.6666666667px #ff0091, 164px -376.6666666667px #bbff00, -81px -128.6666666667px #005eff, 29px 28.3333333333px #00ffe1, 26px -129.6666666667px #00ff26, -4px -265.6666666667px #ff7300, -180px -342.6666666667px #9500ff;
  }
}

@keyframes bang {
  to {
    box-shadow: 96px -176.6666666667px #48ff00, -11px -396.6666666667px #0004ff, 208px -194.6666666667px #b3ff00, -97px -304.6666666667px #ff00d0, 17px 78.3333333333px #bbff00, -15px -167.6666666667px #15ff00, -40px -371.6666666667px #dd00ff, 200px -387.6666666667px #00e6ff, 13px -264.6666666667px #ff9100, 238px 24.3333333333px #aaff00, -51px 66.3333333333px #4dff00, 152px -225.6666666667px #ff7b00, -103px -371.6666666667px #0095ff, 183px -361.6666666667px #ff0900, -247px 48.3333333333px #1100ff, 90px 38.3333333333px #91ff00, -40px -94.6666666667px #2fff00, -14px -13.6666666667px #6a00ff, -213px -380.6666666667px #ff00ae, 106px -356.6666666667px #4800ff, -21px -108.6666666667px #ee00ff, -76px -218.6666666667px #00fffb, 216px -390.6666666667px #00ffd0, -234px -187.6666666667px #0099ff, -208px -317.6666666667px #ffee00, -187px -215.6666666667px #ff0015, -207px -374.6666666667px #ff004d, 62px -187.6666666667px #0022ff, 22px -298.6666666667px #ff0099, 157px -90.6666666667px #00ff3c, 32px -317.6666666667px #15ff00, 175px -152.6666666667px #ff7300, -232px -29.6666666667px #51ff00, 203px 22.3333333333px #ff7700, 116px 67.3333333333px #ffd500, 143px -393.6666666667px #ffaa00, 70px 79.3333333333px #d5ff00, -2px -203.6666666667px #ff1500, 188px -329.6666666667px #00c8ff, -42px -338.6666666667px #00fff7, 52px -115.6666666667px #2b00ff, 102px -28.6666666667px #ff9900, -6px -121.6666666667px #00ffa2, 142px -189.6666666667px #ffbb00, 219px -170.6666666667px #ff0091, 164px -376.6666666667px #bbff00, -81px -128.6666666667px #005eff, 29px 28.3333333333px #00ffe1, 26px -129.6666666667px #00ff26, -4px -265.6666666667px #ff7300, -180px -342.6666666667px #9500ff;
  }
}
@-webkit-keyframes gravity {
  to {
    transform: translateY(200px);
    -moz-transform: translateY(200px);
    -webkit-transform: translateY(200px);
    -o-transform: translateY(200px);
    -ms-transform: translateY(200px);
    opacity: 0;
  }
}
@-moz-keyframes gravity {
  to {
    transform: translateY(200px);
    -moz-transform: translateY(200px);
    -webkit-transform: translateY(200px);
    -o-transform: translateY(200px);
    -ms-transform: translateY(200px);
    opacity: 0;
  }
}
@-o-keyframes gravity {
  to {
    transform: translateY(200px);
    -moz-transform: translateY(200px);
    -webkit-transform: translateY(200px);
    -o-transform: translateY(200px);
    -ms-transform: translateY(200px);
    opacity: 0;
  }
}
@keyframes gravity {
  to {
    transform: translateY(200px);
    -moz-transform: translateY(200px);
    -webkit-transform: translateY(200px);
    -o-transform: translateY(200px);
    -ms-transform: translateY(200px);
    opacity: 0;
  }
}
@-webkit-keyframes position {
  0%, 19.9% {
    margin-top: 10%;
    margin-left: 40%;
  }
  20%, 39.9% {
    margin-top: 40%;
    margin-left: 30%;
  }
  40%, 59.9% {
    margin-top: 20%;
    margin-left: 70%;
  }
  60%, 79.9% {
    margin-top: 30%;
    margin-left: 20%;
  }
  80%, 99.9% {
    margin-top: 30%;
    margin-left: 80%;
  }
}
@-moz-keyframes position {
  0%, 19.9% {
    margin-top: 10%;
    margin-left: 40%;
  }
  20%, 39.9% {
    margin-top: 40%;
    margin-left: 30%;
  }
  40%, 59.9% {
    margin-top: 20%;
    margin-left: 70%;
  }
  60%, 79.9% {
    margin-top: 30%;
    margin-left: 20%;
  }
  80%, 99.9% {
    margin-top: 30%;
    margin-left: 80%;
  }
}
@-o-keyframes position {
  0%, 19.9% {
    margin-top: 10%;
    margin-left: 40%;
  }
  20%, 39.9% {
    margin-top: 40%;
    margin-left: 30%;
  }
  40%, 59.9% {
    margin-top: 20%;
    margin-left: 70%;
  }
  60%, 79.9% {
    margin-top: 30%;
    margin-left: 20%;
  }
  80%, 99.9% {
    margin-top: 30%;
    margin-left: 80%;
  }
}
@keyframes position {
  0%, 19.9% {
    margin-top: 10%;
    margin-left: 40%;
  }
  20%, 39.9% {
    margin-top: 40%;
    margin-left: 30%;
  }
  40%, 59.9% {
    margin-top: 20%;
    margin-left: 70%;
  }
  60%, 79.9% {
    margin-top: 30%;
    margin-left: 20%;
  }
  80%, 99.9% {
    margin-top: 30%;
    margin-left: 80%;
  }
}
.ny_nav {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.ny_nav .inner {
  width: 100%;
  max-width: 1000px;
  padding-left: 12px;
  padding-right: 12px;
  margin-top: -8%;
  position: relative;
}
.ny_nav .inner .tabs {
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}
.ny_nav .inner .tabs li {
  -webkit-flex: 1;
     -moz-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.ny_nav .inner .tabs li .ny_menu1 {
  height: 0;
  padding-bottom: 80%;
  background: url(../images/nav1.png) no-repeat center top;
  -o-background-size: cover;
     background-size: cover;
  display: block;
}
.ny_nav .inner .tabs li .ny_menu1:hover {
  background: url(../images/nav1_o.png) no-repeat center top;
  -o-background-size: cover;
     background-size: cover;
}
.ny_nav .inner .tabs li .ny_menu2 {
  height: 0;
  padding-bottom: 80%;
  background: url(../images/nav2.png) no-repeat center top;
  -o-background-size: cover;
     background-size: cover;
  display: block;
}
.ny_nav .inner .tabs li .ny_menu2:hover {
  background: url(../images/nav2_o.png) no-repeat center top;
  -o-background-size: cover;
     background-size: cover;
}
.ny_nav .inner .tabs li .ny_menu3 {
  height: 0;
  padding-bottom: 80%;
  background: url(../images/nav3.png) no-repeat center top;
  -o-background-size: cover;
     background-size: cover;
  display: block;
}
.ny_nav .inner .tabs li .ny_menu3:hover {
  background: url(../images/nav3_o.png) no-repeat center top;
  -o-background-size: cover;
     background-size: cover;
}
.ny_nav .inner .tabs li .ny_menu4 {
  height: 0;
  padding-bottom: 80%;
  background: url(../images/nav4.png) no-repeat center top;
  -o-background-size: cover;
     background-size: cover;
  display: block;
}
.ny_nav .inner .tabs li .ny_menu4:hover {
  background: url(../images/nav4_o.png) no-repeat center top;
  -o-background-size: cover;
     background-size: cover;
}
.ny_nav .inner .tabs li .ny_menu1.active {
  background: url(../images/nav1_o.png) no-repeat center top;
  -o-background-size: cover;
     background-size: cover;
}
.ny_nav .inner .tabs li .ny_menu2.active {
  background: url(../images/nav2_o.png) no-repeat center top;
  -o-background-size: cover;
     background-size: cover;
}
.ny_nav .inner .tabs li .ny_menu3.active {
  background: url(../images/nav3_o.png) no-repeat center top;
  -o-background-size: cover;
     background-size: cover;
}
.ny_nav .inner .tabs li .ny_menu4.active {
  background: url(../images/nav4_o.png) no-repeat center top;
  -o-background-size: cover;
     background-size: cover;
}

.ny_content {
  position: relative;
  max-width: 1000px;
  margin: -2% auto 20px;
}
.ny_content .top img {
  display: block;
}
.ny_content .inner {
  background: url(../images/frame_02.png) repeat-y;
  -o-background-size: 100%;
     background-size: 100%;
  padding-left: 4%;
  padding-right: 4%;
}
.ny_content .bottom img {
  display: block;
}

.tab_content {
  position: relative;
}

.nytitle1 {
  width: 100%;
  text-align: center;
}

.time1 {
  text-align: center;
  margin-bottom: 12px;
}
.time1 em {
  background-color: #8d816c;
  display: inline-block;
  border-radius: 99em;
  color: #fff7e9;
  padding: 4px 12px;
}

.nytitle2 {
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  padding: 12px 0;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.nytitle2 .icon {
  width: 48px;
  height: 24px;
  position: relative;
}
.nytitle2 .title {
  font-size: 42px;
  font-weight: bold;
  color: #e53935; /* 紅色 */
}
.nytitle2 .sub {
  font-size: 32px;
  font-weight: bold;
  color: #6b3b1c; /* 深棕色 */
}
.nytitle2 .bt {
  width: 164px;
}

@media (max-width: 640px) {
  .nytitle2 {
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 4px;
    padding: 12px 0;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
  .nytitle2 .icon {
    width: 32px;
  }
  .nytitle2 .title {
    font-size: 22px;
  }
  .nytitle2 .sub {
    font-size: 16px;
  }
  .nytitle2 .bt {
    width: 144px;
  }
}
.nytitle3 {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #1a1a1a;
  display: inline-block;
  margin-bottom: 12px;
}
.nytitle3 .highlight {
  color: #e53935;
}

@media (max-width: 640px) {
  .nytitle3 {
    font-size: 20px;
  }
}
.card7 {
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 8px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 20px;
  background: #fff;
  margin-bottom: 16px;
}
.card7 .left {
  border-radius: 8px 0 0 8px;
  border: 1px solid #e53935;
  background: #e53935;
  color: #fff;
  padding: 6px 8px;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}
.card7 .right {
  border-radius: 0 8px 8px 0;
  border: 1px solid #e53935;
  color: #222;
  padding: 6px 8px;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}

@media (max-width: 640px) {
  .card7 {
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    width: 100%;
    background: transparent;
    font-size: 18px;
  }
  .card7 .left {
    -webkit-flex: 0 1 auto;
       -moz-box-flex: 0;
        -ms-flex: 0 1 auto;
            flex: 0 1 auto;
    border-radius: 8px 8px 0 0;
  }
  .card7 .right {
    -webkit-flex: 0 0 100%;
       -moz-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    border-radius: 0 8px 8px 8px;
    background: #fff;
  }
}
.card8 {
  width: 240px;
  border-radius: 18px;
  overflow: hidden;
  font-weight: 700;
  text-align: center;
  border: 2px solid #c58734;
  background: #ffffff;
}
.card8 .top {
  background: #c58734;
  color: #fff;
  padding: 14px 0;
  font-size: 22px;
}
.card8 .bottom {
  background: #fff;
  color: #222;
  padding: 16px 0;
  font-size: 26px;
}

.card9 {
  width: 100%;
  max-width: 400px;
  border-radius: 18px;
  overflow: hidden;
  font-weight: 700;
  text-align: center;
  border: 2px solid #c58734;
  background: #ffffff;
  margin: 24px auto;
}
.card9 .top {
  background: #c58734;
  color: #fff;
  padding: 12px 0;
  font-size: 22px;
}
.card9 .bottom {
  background: #fff;
  color: #222;
  padding: 12px;
  font-size: 18px;
  text-align: left;
}
.card9 .bottom p {
  font-size: 16px;
  font-weight: normal;
}

.acbt {
  max-width: 70%;
}

.t-red {
  color: #e53935;
}

.list {
  padding-left: 20px;
}
.list li {
  list-style: square;
}

.sp {
  border-bottom: 3px solid #de5d5d;
}

.sp2 {
  color: #855b1b;
  font-size: 0.9em;
}

.actionBt {
  width: 100%;
  max-width: 600px;
  margin: 12px auto 0;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}
.actionBt a {
  -webkit-flex: 1;
     -moz-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: block;
  padding: 0 0px;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
}
.actionBt a:hover {
  padding: 8px;
}

@media (max-width: 640px) {
  .actionBt {
    width: 88%;
    margin: 12px auto 0;
  }
}
.ny_rule {
  width: 100%;
  max-width: 1000px;
  border-radius: 8px;
  margin: 12px auto 24px;
  padding: 16px;
}

.ny_title4 {
  text-align: center;
  padding: 8px 0;
  font-size: 20px;
}
.ny_title4 h3 {
  position: relative;
  display: inline-block;
  padding: 0 55px;
  color: #FEFFEE;
  font-size: 18px;
  font-weight: bold;
}
.ny_title4 h3::after, .ny_title4 h3::before {
  content: "";
  position: absolute;
  top: 40%;
  display: inline-block;
  width: 45px;
  height: 4px;
  border-top: solid 1px #f6e4c4;
  border-bottom: solid 1px #f6e4c4;
}
.ny_title4 h3::before {
  left: 0;
}
.ny_title4 h3::after {
  right: 0;
}

.ny_title5 {
  font-size: 18px;
  font-weight: bold;
  color: #FEFFEE;
}

.text1 {
  color: #FEFFEE;
}

.text2 {
  color: #6d2603;
  font-size: 16px;
}

.ny_remind {
  font-size: 16px;
  padding-left: 20px;
  color: #FEFFEE;
}
.ny_remind li {
  list-style: decimal;
}

.pic {
  text-align: center;
  width: 80%;
  margin: 0 auto;
}
.pic .pc {
  display: block;
}
.pic .mobile {
  display: none;
}

@media (max-width: 640px) {
  .pic {
    text-align: center;
    width: 70%;
    margin: 0 auto;
  }
  .pic .pc {
    display: none;
  }
  .pic .mobile {
    display: block;
  }
}
.giftSwiper2 .swiper-slide {
  padding: 12px;
}
.giftSwiper2 .swiper-slide .inner {
  background: #d93a45;
  border-radius: 8px;
  padding: 8px;
  text-align: center;
}

@media (max-width: 640px) {
  .giftSwiper2 .swiper-slide {
    padding: 8px;
  }
}
.ny-card1 {
  background-image: url(../image/2024newyear/giftbg.png);
  -o-background-size: 100% 100%;
     background-size: 100% 100%;
  height: auto;
  position: relative;
}
.ny-card1 .icon {
  position: absolute;
  left: 50%;
  background-color: #4d0000;
  color: #FEFFEE;
  width: 94px;
  height: 28px;
  line-height: 28px;
  border-radius: 50px;
  top: -18px;
  -webkit-transform: translateX(-50%);
     -moz-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
       -o-transform: translateX(-50%);
          transform: translateX(-50%);
  font-size: 15px;
}
.ny-card1 .pic {
  padding-top: 12px;
  width: 90%;
  margin: 0 auto;
}
.ny-card1 p {
  color: #FEFFEE;
  padding: 0;
  margin-bottom: 12px;
  height: 58px;
  overflow: hidden;
  line-height: 18px;
  font-size: 14px;
}

.ny_title6 {
  position: relative;
  display: inline-block;
  padding: 0 28px;
  color: #ffd6aa;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 4px;
}
.ny_title6::before, .ny_title6::after {
  content: "";
  position: absolute;
  top: 0;
  display: inline-block;
  width: 28px;
  height: 28px;
  background-image: url(../images/deco_1.svg);
  -o-background-size: cover;
     background-size: cover;
}
.ny_title6::before {
  left: 0;
}
.ny_title6::after {
  right: 0;
  -webkit-transform: rotate(180deg);
     -moz-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
       -o-transform: rotate(180deg);
          transform: rotate(180deg);
}

.swiper-button-next,
.swiper-button-prev {
  background: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 0.9;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
  color: #E1301D;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
  right: 0;
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
  left: 0px;
}

.cover {
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  margin: 12px auto 0;
}
.cover .word {
  -webkit-flex: 1;
     -moz-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.cover .pic {
  -webkit-flex: 0 0 35%;
     -moz-box-flex: 0;
      -ms-flex: 0 0 35%;
          flex: 0 0 35%;
}

@media (max-width: 640px) {
  .cover {
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    margin: 12px auto 0;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
  .cover .word {
    -webkit-flex: 0 0 100%;
       -moz-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
  }
  .cover .pic {
    -webkit-flex: 0 0 50%;
       -moz-box-flex: 0;
        -ms-flex: 0 0 50%;
            flex: 0 0 50%;
  }
}
.program {
  background: -webkit-linear-gradient(top, #be0e00 0%, #dd4501 100%);
  background: -moz-linear-gradient(top, #be0e00 0%, #dd4501 100%);
  background: -o-linear-gradient(top, #be0e00 0%, #dd4501 100%);
  background: linear-gradient(to bottom, #be0e00 0%, #dd4501 100%);
  border: 2px solid #ffd6aa;
}
.program .in {
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}
.program .in .video {
  -webkit-flex: 0 0 640px;
     -moz-box-flex: 0;
      -ms-flex: 0 0 640px;
          flex: 0 0 640px;
}
.program .in .list {
  -webkit-flex: 1;
     -moz-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  overflow-y: scroll;
  max-height: 360px;
}
.program .in .list li {
  padding: 7px 8px;
  border-bottom: 1px solid #e5e5e5;
  list-style: none;
}
.program .in .list li .btn-4 {
  background: transparent;
  color: #ffd6aa;
  font-size: 18px;
}
.program .in .list li .btn-4:hover {
  color: #fff;
}

@media screen and (max-width: 900px) {
  .program .in .video {
    -webkit-flex: 0 0 520px;
       -moz-box-flex: 0;
        -ms-flex: 0 0 520px;
            flex: 0 0 520px;
  }
  .program .in .list {
    max-height: 320px;
  }
}
@media screen and (max-width: 768px) {
  .program .in {
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
  .program .in .video {
    -webkit-flex: 0 0 100%;
       -moz-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
  }
  .program .in .list {
    -webkit-flex: 0 0 100%;
       -moz-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    max-height: 240px;
  }
}
.card5 {
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  padding: 6px;
  background-color: #b9171d;
  border: 2px solid #e2b483;
  color: #FEFFEE;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 0.9em;
}
.card5 .word {
  -webkit-flex: 1;
     -moz-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}
.card5 .word p {
  -webkit-flex: 0 0 80%;
     -moz-box-flex: 0;
      -ms-flex: 0 0 80%;
          flex: 0 0 80%;
}
.card5 .word span {
  -webkit-flex: 0 0 auto;
     -moz-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  font-size: 0.9em;
}
.card5 .bt {
  -webkit-flex: 0 0 38%;
     -moz-box-flex: 0;
      -ms-flex: 0 0 38%;
          flex: 0 0 38%;
  padding-top: 6px;
}

@media screen and (max-width: 700px) {
  .card5 {
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    padding: 6px;
    background-color: #b9171d;
    border: 2px solid #e2b483;
    color: #FEFFEE;
    border-radius: 8px;
    -webkit-justify-content: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    font-size: 1em;
  }
  .card5 .word {
    -webkit-flex: 0 0 100%;
       -moz-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
  .card5 .word p {
    -webkit-flex: 0 0 100%;
       -moz-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    text-align: center;
  }
  .card5 .word span {
    -webkit-flex: 0 0 100%;
       -moz-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    font-size: 0.9em;
    text-align: center;
  }
  .card5 .bt {
    -webkit-flex: 0 0 100%;
       -moz-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    text-align: center;
  }
}
.card6 {
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.card6 .item {
  text-align: center;
  padding: 4px;
  -webkit-flex: 0 0 50%;
     -moz-box-flex: 0;
      -ms-flex: 0 0 50%;
          flex: 0 0 50%;
}

.openResult {
  cursor: pointer;
}

/* 選擇畫面 */
h1 {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
  font-size: clamp(24px, 5vw, 36px);
}

.horses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.horse-option {
  background: url(../images/horsebg.png) no-repeat;
  -o-background-size: contain;
     background-size: contain;
  background-position: center center;
  border: 4px solid transparent;
  border-radius: 15px;
  padding: 30px 20px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
}

.horse-option:hover {
  -webkit-filter: drop-shadow(0 0 2px rgb(255, 217, 4)) drop-shadow(0 0 20px rgba(255, 217, 4, 0.8));
          filter: drop-shadow(0 0 2px rgb(255, 217, 4)) drop-shadow(0 0 20px rgba(255, 217, 4, 0.8));
  -webkit-transform: translateY(-5px);
     -moz-transform: translateY(-5px);
      -ms-transform: translateY(-5px);
       -o-transform: translateY(-5px);
          transform: translateY(-5px);
}

.horse-option.selected {
  -webkit-filter: drop-shadow(0 0 2px rgb(255, 104, 4)) drop-shadow(0 0 20px rgba(255, 125, 4, 0.8));
          filter: drop-shadow(0 0 2px rgb(255, 104, 4)) drop-shadow(0 0 20px rgba(255, 125, 4, 0.8));
}

.horse-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

#submit-btn {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 15px 30px;
  background: #4caf50;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#submit-btn:hover:not(:disabled) {
  background: #45a049;
  -webkit-transform: scale(1.05);
     -moz-transform: scale(1.05);
      -ms-transform: scale(1.05);
       -o-transform: scale(1.05);
          transform: scale(1.05);
}

#submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* 比賽畫面 */
#race-screen {
  display: none;
}

.race-info {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.race-track {
  background: url(../images/horseRace_bg.png) no-repeat;
  -o-background-size: cover;
     background-size: cover;
  background-position: right;
  border-radius: 10px;
  padding: 20px 10px;
  position: relative;
  overflow: hidden;
}

.track-lane {
  height: 80px;
  margin-bottom: 15px;
  border-radius: 10px;
  position: relative;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.track-lane:last-child {
  margin-bottom: 0;
}

.horse {
  width: 20%;
  height: 20%;
  position: absolute;
  left: 10px;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 24px;
  -webkit-transition: left 3s ease-out;
  -o-transition: left 3s ease-out;
  -moz-transition: left 3s ease-out;
  transition: left 3s ease-out;
}

.horse.user-choice {
  border: 0px solid #ffd700;
}

.lane-label {
  position: absolute;
  left: 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
     -moz-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
       -o-transform: translateY(-50%);
          transform: translateY(-50%);
  font-weight: bold;
  color: #333;
  z-index: 1;
}

.controls {
  margin-top: 30px;
  text-align: center;
}

.control-btn {
  margin: 10px;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
  color: white;
}

.win-btn {
  background: #4caf50;
}

.win-btn:hover {
  background: #45a049;
}

.lose-btn {
  background: #f44336;
}

.lose-btn:hover {
  background: #da190b;
}

.reset-btn {
  background: #2196f3;
}

.reset-btn:hover {
  background: #0b7dda;
}

/* 彈出視窗 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-animation: fadeIn 0.3s;
     -moz-animation: fadeIn 0.3s;
       -o-animation: fadeIn 0.3s;
          animation: fadeIn 0.3s;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-o-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.modal-icon {
  font-size: 80px;
  margin-bottom: 20px;
  -webkit-animation: bounce 1s infinite;
     -moz-animation: bounce 1s infinite;
       -o-animation: bounce 1s infinite;
          animation: bounce 1s infinite;
}

@-webkit-keyframes bounce {
  0%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-20px);
            transform: translateY(-20px);
  }
}

@-moz-keyframes bounce {
  0%, 100% {
    -moz-transform: translateY(0);
         transform: translateY(0);
  }
  50% {
    -moz-transform: translateY(-20px);
         transform: translateY(-20px);
  }
}

@-o-keyframes bounce {
  0%, 100% {
    -o-transform: translateY(0);
       transform: translateY(0);
  }
  50% {
    -o-transform: translateY(-20px);
       transform: translateY(-20px);
  }
}

@keyframes bounce {
  0%, 100% {
    -webkit-transform: translateY(0);
       -moz-transform: translateY(0);
         -o-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-20px);
       -moz-transform: translateY(-20px);
         -o-transform: translateY(-20px);
            transform: translateY(-20px);
  }
}
.modal-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 15px;
}

.modal-message {
  font-size: 20px;
  margin-bottom: 30px;
}

.modal-close-btn {
  padding: 15px 40px;
  background: white;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.modal-content.win .modal-close-btn {
  color: #4caf50;
}

.modal-content.lose .modal-close-btn {
  color: #f44336;
}

.modal-close-btn:hover {
  -webkit-transform: scale(1.1);
     -moz-transform: scale(1.1);
      -ms-transform: scale(1.1);
       -o-transform: scale(1.1);
          transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  #selection-screen,
  #race-screen {
    padding: 12px;
  }
  .horse-option {
    padding: 20px 10px;
    font-size: 16px;
  }
  .horse-icon {
    font-size: 36px;
  }
  .track-lane {
    height: 60px;
  }
  .horse {
    width: 24%;
    height: 24%;
    font-size: 18px;
  }
  .control-btn {
    padding: 12px 20px;
    font-size: 16px;
  }
}
/* ========== 彈窗背景 ========== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

/* ========== 彈窗內容 ========== */
.modal {
  display: none;
  position: absolute;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.modal-content {
  position: relative;
  background: -webkit-linear-gradient(top, #ffd283, #fff, #ffedff);
  background: -moz-linear-gradient(top, #ffd283, #fff, #ffedff);
  background: -o-linear-gradient(top, #ffd283, #fff, #ffedff);
  background: linear-gradient(to bottom, #ffd283, #fff, #ffedff);
  border-radius: 12px;
  text-align: center;
  font-size: 20px;
  max-width: 320px;
  margin: auto;
  margin-top: 180px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  -webkit-animation: popup 0.3s ease-out;
     -moz-animation: popup 0.3s ease-out;
       -o-animation: popup 0.3s ease-out;
          animation: popup 0.3s ease-out;
}
.modal-content .top {
  position: absolute;
  top: -120px;
}
.modal-content .modal-text {
  padding: 108px 12px 12px;
}
.modal-content .modal-text .tit {
  font-size: 50px;
  text-align: center;
  color: #fa2b4d;
  font-weight: bolder;
}
.modal-content .modal-text .gift {
  margin-bottom: 12px;
}
.modal-content .modal-text .gift img {
  max-width: 60%;
}

@-webkit-keyframes popup {
  from {
    -webkit-transform: scale(0.7);
            transform: scale(0.7);
    opacity: 0;
  }
  to {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}

@-moz-keyframes popup {
  from {
    -moz-transform: scale(0.7);
         transform: scale(0.7);
    opacity: 0;
  }
  to {
    -moz-transform: scale(1);
         transform: scale(1);
    opacity: 1;
  }
}

@-o-keyframes popup {
  from {
    -o-transform: scale(0.7);
       transform: scale(0.7);
    opacity: 0;
  }
  to {
    -o-transform: scale(1);
       transform: scale(1);
    opacity: 1;
  }
}

@keyframes popup {
  from {
    -webkit-transform: scale(0.7);
       -moz-transform: scale(0.7);
         -o-transform: scale(0.7);
            transform: scale(0.7);
    opacity: 0;
  }
  to {
    -webkit-transform: scale(1);
       -moz-transform: scale(1);
         -o-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}
#modal-close-btn {
  margin-top: 20px;
  padding: 8px 20px;
  border: none;
  border-radius: 8px;
  background: #007bff;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.card10 {
  background: #f7efe3;
  border: 4px solid #b1441c;
  border-radius: 18px;
  padding: 12px;
  color: #572314;
  margin-bottom: 12px;
  /* ---------- RWD ---------- */
}
.card10 .time {
  font-size: 15px;
  color: #f03224;
}
.card10 .title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.card10 .list2 {
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  gap: 16px;
}
.card10 .list2 .item {
  width: -webkit-calc(50% - 8px);
  width: -moz-calc(50% - 8px);
  width: calc(50% - 8px);
  background: #e5382f;
  border-radius: 12px;
  padding: 12px;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  gap: 12px;
}
.card10 .list2 .item .code {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.card10 .list2 .item .actions {
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
}
@media (max-width: 768px) {
  .card10 .list2 .item {
    -webkit-align-items: flex-start;
       -moz-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    width: auto;
  }
  .card10 .list2 .item .actions {
    width: 100%;
    -webkit-justify-content: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
}/*# sourceMappingURL=daui.css.map */