@font-face {
  font-family: 'ITC Garamond Book Condensed';
  src: url('../fonts/itc-garamond-book-condensed.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ITC Garamond Std BkCond';
  src: url('../fonts/ITCGaramondStd-BkCond.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

html {
  font-size: 16px;
}

body {
  position: relative;
  width: 100%;
  font-family: 'ITC Garamond Book Condensed', 'Noto Sans TC', sans-serif;
  font-optical-sizing: auto;
  color: #232323;
  background-color: #fff;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
  line-height: inherit;
}

.ITC {
  font-family: 'ITC Garamond Book Condensed' !important;
}

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.hide {
  display: none !important;
}

:hover,
a:hover {
  transition: 0.3s;
  text-decoration: none !important;
}

:focus {
  outline: none;
}

a {
  color: #232323;
  cursor: pointer;
}

a:hover {
  color: #c2172e;
}

h1,
h2 {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #232323;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

ul li {
  list-style: none;
  padding: 0;
}

em {
  font-style: normal;
}

button {
  border: none;
  cursor: pointer;
}

button.defult {
  cursor: default;
}

button:focus {
  outline: none;
}

input[type="text"],
input[type="password"],
textarea,
select {
  color: #232323;
  outline: none;
  border: 0px solid #dddddd;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  box-shadow: none;
  border: 0px solid #ffffff;
}

::-webkit-input-placeholder {
  color: #6a6a6a;
  opacity: 1;
}

::placeholder {
  color: #868686;
  opacity: 1;
}

::-webkit-scrollbar {
  width: 3px;
  height: 3px;
  opacity: 0.4;
}

::-webkit-scrollbar-track {
  background: #bbbbbb;
}

::-webkit-scrollbar-thumb {
  height: 3px;
  background: #c2172e;
}

::-webkit-scrollbar-thumb:hover {
  height: 1px;
  background: #c2172e;
}

.center {
  text-align: center;
}

section {
  width: 100%;
  position: relative;
  padding: 0;
  box-sizing: border-box;
}

.wrapper {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 3.8vw;
  box-sizing: border-box;
}

section.overflow,
section.overflow .wrapper {
  overflow-x: hidden;
}

@media (max-width: 1450px) {
  .wrapper {
    max-width: 100%;
  }
}

.greybg {
  color: #fff !important;
  background: #848484 !important;
}

.otherbg {
  color: #232323 !important;
  background: #c4c4c4 !important;
}

.bluebg {
  color: #fff !important;
  background: #ca5363 !important;
}

.redbg {
  color: #fff !important;
  background: #c2172e !important;
}

.redtxt {
  font-weight: 600;
  color: #da2a42 !important;
}

a.redtxt:hover {
  color: #a11225 !important;
}

.greentxt {
  color: #848484 !important;
}

a.greentxt:hover {
  color: #000 !important;
}

.yellowtxt {
  color: #f0eb2e !important;
  font-weight: 600;
}

p.redtxt {
  margin: 6px 0 10px 0;
  font-size: 0.875rem;
  font-weight: 400;
}

table {
  width: 100%;
  background: #fff;
  border-collapse: collapse;
  font-weight: normal;
  font-size: 1rem;
  margin: 0px auto;
}

table tr th,
table tr td {
  padding: 10px;
  border: 1px solid #E1E1E1;
  text-align: center;
  line-height: 1.8;
  width: auto;
}

table tr:nth-child(even) {
  background: #f0f0f0;
}

table tr:nth-child(odd) {
  background: #ffffff;
}

table tr th {
  background: #c2172e;
  color: #fff;
  font-weight: 500;
}

table thead tr th {
  background: #c2172e;
  color: #fff;
  font-weight: 500;
}

.info-txt .fulltable tbody th {
  background: #e5e5e5;
  color: #232323;
}

table tr th.nowrap,
table tr td.nowrap {
  white-space: nowrap;
}

.fulltable {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  box-sizing: border-box;
  padding: 0;
}

.fulltable.haspic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.fulltable p {
  margin: 10px 0;
}

.fulltable h4 {
  color: #232323;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.info-txt table p {
  font-size: 0.875rem;
  margin: 0;
}

table tr.highlight th,
table tr.highlight td {
  background: #e35f07;
  color: #fff;
}

table tr.highlight td {
  text-align: left;
}

table tr.highlight td ul {
  margin: 0px 0px 0px 20px;
}

table tr.highlight td ul li {
  list-style: decimal;
  font-size: 0.93rem;
  line-height: 1.8;
}

@media (max-width: 1090px) {
  table {
    font-size: 0.93rem;
  }

  table tr th,
  table tr td {
    padding: 8px;
  }
}

@media (max-width: 768px) {
  .fulltable.haspic {
    grid-template-columns: 1fr;
  }
}

/* banner */
section.banner {
  z-index: 0;
  position: relative;
}

.bannerVideo {
  position: relative;
  padding-bottom: 56.2%;
  width: calc(100% - 40px);
  overflow: hidden;
  margin: 20px;
  border-radius: 40px;
}

.videoembed {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

section.banner .hs-responsive-embed-youtube {
  padding-top: 0;
}

section.banner .main-kv {
  padding-bottom: 38%;
  display: flex;
  flex-direction: column;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-color: #ffffff;
}

section.banner .main-kv.pc-kv {
  background-image: url("../images/banner.jpg");
}

section.banner .main-kv.mobile-kv {
  display: none;
}

@media only screen and (max-width: 500px) {
  section.banner .main-kv.pc-kv {
    display: none;
  }

  section.banner .main-kv.mobile-kv {
    display: flex;
    background-image: url("../images/m-banner.jpg");
    background-size: contain;
    padding-bottom: 133%;
  }

  .bannerVideo {
    width: calc(100% - 20px);
    margin: 10px;
    border-radius: 20px;
  }
}

/* gotop */
.btn-top {
  position: fixed;
  right: 20px;
  bottom: 80px;
  display: none;
  width: auto;
  line-height: 3rem;
  text-align: center;
  color: #232323;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 100;
  display: none;
}

.btn-top.change {
  color: #fff;
}

.btn-top .bg {
  width: 68px;
  height: 86px;
  background-size: contain;
  /* background-image: url("../images/gotop.png"); */
  background-repeat: no-repeat;
  background-position: center 10px;
  transition: 0.4s ease-in-out;
}

.btn-top:hover .bg {
  background-position: center 0px;
}

/* fixed list */
.s-info-right {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 1;
  width: 96px;
  height: 96px;
  text-align: center;
  animation: floatAndScale 2s ease-in-out infinite;
}

.s-info-right.gobtm {
  bottom: 100px;
}

.s-info-right a {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
  font-size: 1.225rem;
  transform: scale(1);
  background: #c2172e;
  border-radius: 50%;
  box-shadow: 0px 4px 0px #8d0d1e;
  border: 2px solid #a41125;
  transition: all .3s linear;
  line-height: 1.4;
  /* 調整開啟不開啟 */
  pointer-events: none;
  cursor: default;
}

.s-info-right a:hover {
  transform: scale(1.06);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.42);
}

.s-info-right a b {
  background: linear-gradient(0deg, #ffffff, #ffffff);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.s-info-right a b span {
  font-size: 1.4rem;
}

@media (max-width: 500px) {
  .s-info-right {
    width: 76px;
    height: 76px;
    bottom: 76px;
  }

  .s-info-right a {
    width: 76px;
    height: 76px;
    line-height: 1.2;
    font-size: 1.06rem;
  }

  .s-info-right a b span {
    font-size: 1.125rem;
  }
}

section.page {
  width: 100%;
  background: #ffffff;
}

section.page .titleA {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px 0px;
  background: #fafafa;
  border-top: 2px solid #c2172e;
  border-bottom: 2px solid #c2172e;
}

section.page .titleA h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #232323;
  text-align: center;
}

section.page .titleA h2 span.txt {
  font-family: 'ITC Garamond Book Condensed';
  font-size: 3rem;
}

section.page .titleA p {
  font-size: 1.5rem;
  font-weight: 600;
  color: #c2172e;
  margin-top: 0px;
}

.wrapperOnly,
.info-txt-box {
  font-size: 1rem;
  line-height: 1.8;
  color: #232323;
}

.wrapperOnly {
  height: auto;
  min-height: 640px;
}

.info-txt-box {
  display: grid;
  gap: 48px;
}

.two-block .info-txt-box {
  width: calc(100% - 320px);
  margin: 0 0 0px 20px;
}

.two-block .info-txt-box a {
  text-decoration: underline;
}

@media (max-width:1180px) {
  section.page .wrapper {
    display: grid;
    align-items: flex-start;
    gap: 10px;
  }

  section.page .titleA h2 {
    font-size: 1.6rem;
  }

  section.page .titleA h2 span.txt {
    font-size: 1.86rem;
  }

  section.page .titleA {
    margin: 0px auto;
    padding: 14px 10px;
  }
}

/* FAQ */
.qa_box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.mpgdetail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.mpgdetail h1 {
  position: relative;
  padding-left: 24px;
  font-size: 1.8rem;
  color: #c2172e;
}

.mpgdetail h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c2172e;
  display: flex;
  box-shadow: 0 0 4px 1px rgba(194, 23, 46, 0.4),
    0 0 8px 3px rgba(194, 23, 46, 0.3),
    0 0 10px 5px rgba(194, 23, 46, 0.1);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes sharpPulse {
  0% {
    box-shadow: 0 0 4px 1px rgba(194, 23, 46, 0.4),
      0 0 8px 3px rgba(194, 23, 46, 0.3),
      0 0 10px 5px rgba(194, 23, 46, 0.1);
  }

  50% {
    box-shadow: 0 0 6px 2px rgba(194, 23, 46, 0.6),
      0 0 10px 5px rgba(194, 23, 46, 0.3),
      0 0 18px 8px rgba(194, 23, 46, 0.1);
  }

  100% {
    box-shadow: 0 0 4px 1px rgba(194, 23, 46, 0.4),
      0 0 8px 3px rgba(194, 23, 46, 0.3),
      0 0 10px 5px rgba(194, 23, 46, 0.1);
  }
}

.faq-drawer__content-wrapper {
  font-size: 1rem;
  max-height: 0px;
  overflow: hidden;
  transition: 0.25s ease-in-out;
}

.faq-drawer__content-wrapper .faq-drawer__content {
  padding: 12px 0px;
  display: grid;
  align-items: flex-start;
  grid-template-columns: auto 1fr;
  justify-content: flex-start;
  font-weight: 500;
  gap: 12px;
}

.faq-drawer__content-wrapper .faq-drawer__content p {
  display: inline-block;
  align-items: baseline;
  color: #232323;
  line-height: 1.8;
}

.faq-drawer__content-wrapper .faq-drawer__content p img {
  width: 150px;
  margin-left: 10px;
}

.faq-drawer__content-wrapper .faq-drawer__content a {
  text-decoration: underline;
}

.faq-drawer__title {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 26px 12px 0px;
  transition: all 0.25s ease-out;
  border-bottom: 1px solid #383838;
  color: #232323;
  gap: 12px;
  line-height: 1.4;
}

.faq-drawer__title::after {
  border-style: solid;
  border-width: 1px 1px 0 0;
  content: " ";
  display: inline-block;
  height: 10px;
  position: absolute;
  right: 10px;
  top: 18px;
  transform: rotate(135deg);
  transition: 0.35s ease-in-out;
  vertical-align: top;
  width: 10px;
}

/* OPTIONAL HOVER STATE */
.faq-drawer__title:hover {
  color: #c2172e;
}

.faq-drawer__trigger:checked+.faq-drawer__title+.faq-drawer__content-wrapper {
  max-height: 1800px;
}

.faq-drawer__trigger:checked+.faq-drawer__title::after {
  transform: rotate(-45deg);
  transition: 0.25s ease-in-out;
}

.faq-points {
  padding-left: 24px;
}

.faq-point {
  width: 100%;
  flex-direction: column;
  padding-left: 30px;
  margin-top: 10px;
}

.lastlast {
  margin-bottom: 60px;
}

input[type="checkbox"] {
  display: none;
}

@media (max-width: 1090px) {
  .mpgdetail h1 {
    margin-bottom: 10px;
    font-size: 1.4rem;
  }

  .faq-drawer__title {
    font-size: 0.93rem;
  }
}

@media only screen and (max-width: 600px) {
  .faq-point {
    padding-left: 0px;
    margin-top: 10px;
  }
}

@media (max-width: 500px) {
  .faq-drawer__title {
    margin-bottom: 0px;
  }

  .faq-drawer__title p {
    max-width: 82%;
    line-height: 1.6;
  }
}

.info-txt {
  width: 100%;
  display: grid;
  gap: 16px;
  margin: 0px auto;
}

.info-txt h2 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #232323;
}

.info-txt h2 span.ow {
  font-weight: 900;
  font-family: 'ITC Garamond Book Condensed', sans-serif;
  margin: 0px 2px;
}

.info-txt h3 {
  position: relative;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: left;
  color: #232323;
  padding-left: 14px;
  display: flex;
  align-items: center;
  line-height: normal;
}

.info-txt h3::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 72%;
  border-radius: 1vw;
  top: 52%;
  left: 0;
  transform: translateY(-50%);
  background: #c2172e;
}

.info-txt h4 {
  font-weight: 700;
  font-size: 1.2rem;
}

.spsor-box .info-txt h4 {
  display: flex;
  gap: 10px;
}

.info-txt p {
  color: #232323;
  font-weight: 500;
  line-height: 1.8;
  font-size: 1rem;
}

.info-txt span {
  color: #232323;
  font-weight: 400;
  line-height: 1.6;
  font-size: .93rem;
}

.info-txt p.hint {
  color: #c2172e;
}

.info-txt p a {
  position: relative;
  color: #c2172e;
  font-weight: 600;
  margin-top: 10px;
  z-index: 100;
  cursor: pointer;
}

.info-txt p a:hover {
  color: #0065d1;
}

.info-txt p a.link {
  font-size: 1.6rem;
  line-height: 1.8;
}

.info-txt p a.linksmall {
  border: 0px;
  flex-direction: unset;
  display: inline-flex;
  padding-bottom: 0;
  margin: 0;
}

.info-txt img.qrcode {
  width: 100%;
  max-width: 180px;
  margin: 20px 0;
}

.info-txt ul.rules,
.info-txt ul.dot {
  padding: 0px 14px;
  margin-left: 20px;
  text-align: left;
}

.rulesfaq {
  padding: 0px 14px;
  margin-left: 5px;
  text-align: left;
}

.info-txt ul.rules li {
  list-style: decimal;
  line-height: 2;
  font-size: 1rem;
}

.info-txt ul.rules.txt-small li {
  line-height: 1.8;
  font-size: .875rem;
}

.rulesfaq li {
  list-style: decimal;
  line-height: 2;
  font-size: 1rem;
}

.info-txt ul.rules.big li ol.dot li {
  font-weight: 500;
}

.info-txt ul.rules.big li ol.dot li ol.dot li {
  list-style-type: disc;
}

.info-txt ul.dot li,
.faq-drawer__content-wrapper .faq-drawer__content ul.dot li {
  list-style-type: disc;
  font-size: 1rem;
  line-height: 2;
}

.faq-drawer__content-wrapper .faq-drawer__content ul.dot li {
  margin-left: 20px;
}

.info-txt ul.rules li a {
  font-weight: 600;
  text-decoration: underline;
}

.info-txt ul.rules li ol {
  padding-left: 20px;
  margin: 4px 0 12px 0px;
}

.info-txt ul.rules li ol li {
  list-style-type: disc;
  font-size: 0.93rem;
  line-height: 2;
  color: #232323;
}

.info-txt ul.rules.big li ol li {
  list-style: decimal;
  font-weight: 400;
  font-size: 0.93rem;
  line-height: 2;
}

.info-txt ul.rules li ol.small-d li {
  list-style-type: decimal-leading-zero;
  line-height: 2;
  color: #484848;
}

.info-txt ul.rules.big li {
  font-weight: 600;
  list-style: trad-chinese-informal;
  font-size: 1.25rem;
}

.info-txt ul.rules.big li ol li {
  list-style: decimal;
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 2;
}

.info-txt ul.rules.big li ol.rules li ol.dot li {
  list-style: disc;
  font-weight: 500;
  font-size: 1rem;
}

.info-txt ul.rules li .fulltable {
  margin-bottom: 10px;
}

.info-txt ul.rules.special li {
  padding-left: 4px;
}

.info-txt ul.rules.special li::marker {
  font-weight: normal;
  font-size: .93rem;
}

@media (max-width: 1090px) {

  .info-txt h2,
  .info-txt h3,
  .info-txt p a.link {
    font-size: 1.4rem;
  }

  .info-txt h3 {
    padding-left: 14px;
  }

  .info-txt ul.rules {
    padding: 0px 4px;
  }

  .info-txt ul.big li {
    margin-left: 20px;
  }

  .info-txt ul.big li ol li {
    margin-left: 0px;
  }

  .info-txt ul.rules li ol {
    padding-left: 4px;
  }

}

img.bag {
  width: 200px;
}

.full-box {
  margin: 0 auto;
}

p.noData {
  width: 40%;
  position: relative;
  margin: 50px auto;
  text-align: center;
  color: #232323;
  border-radius: 20px;
  padding: 12px 20px;
}

p.noData span {
  padding: 10px;
  font-size: 1.06rem;
  font-weight: 300;
  font-family: 'ITC Garamond Book Condensed', sans-serif;
}

@media(max-width:768px) {
  p.noData {
    width: 60%;
    margin: 40px auto;
  }
}

@media(max-width:500px) {
  p.noData {
    width: 90%;
  }
}

/* 最新消息 */
.n-list a {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px dashed #dfdfdf;
}

.n-tag {
  background: #00A0DF;
  color: #fff;
  font-size: 0.875rem;
  padding: 1px 10px;
  text-align: center;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;

}

.n-list .date,
.info-txt .date {
  position: relative;
  font-size: .875rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.n-list .title,
.n-list .in-txt {
  font-size: 1.4rem;
  font-weight: bold;
  display: flex;
}

.n-list .title {
  margin-top: 10px;
  margin-bottom: 4px;
}

.n-list .in-txt {
  font-size: 1rem;
  font-weight: normal;
  color: #232323;
}

.n-list .date {
  position: relative;
  width: 100%;
  font-family: 'SCProsperSans-Regular',
    sans-serif;
  font-weight: 600;
  color: #232323;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

span.read-more {
  position: absolute;
  bottom: 18px;
  right: 5px;
  text-align: right;
  font-size: 1rem;
}

table.news {
  margin: 20px auto;
}

.table-th th {
  background: #40629c;
}

.list-img img {
  width: 100%;
  max-width: 100%;
  margin: 10px auto;
  object-position: 50% 50%;
  object-fit: cover;
}

@media(max-width:768px) {

  .n-list .title,
  .n-list .in-txt {
    font-size: 0.86rem;
  }

  .n-list .title {
    width: 100%;
    font-size: 1.36rem;
    line-height: 1.5;
  }

  span.read-more {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 5px;
    font-size: .93rem;
  }

  section.page.faq {
    height: auto;
    min-height: 612px;
  }
}

/* tabs */
.tabs input[name=tab-control] {
  display: none;
}

.tabs ul li label {
  font-size: 1rem;
}

.content-block .tabs ul li label {
  background: #E0E0E0;
}

.content-block .tabs ul li label em {
  color: #E13000;
  font-weight: bold;
}

.content-block .tabs ul li.active label em {
  color: #FFFFFF;
}

.tabs ul {
  width: 100%;
  list-style-type: none;
  padding-left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tabs ul li {
  position: relative;
  width: 100%;
  max-width: 120px;
  margin: 0;
}

.tabs.route ul li {
  width: 100%;
  max-width: 100%;
  margin-right: 10px;
}

.tabs.route ul li:last-child {
  margin-right: 0;
}

.tabs ul li:first-child,
.tabs ul li:first-child label {
  margin-left: 0px;
}

.tabs ul li label {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 10px;
  background: #fff;
  font-size: 1rem;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  user-select: none;
}

.tabs.route ul li label {
  font-size: 1.25rem;
}

.tabs.route ul li label span {
  font-weight: 500;
}

.tabs.route ul li label b {
  font-weight: 800;
  margin-top: -5px;
}

.tabs ul li label:hover,
.tabs ul li label:focus,
.tabs ul li label:active {
  background: #00A0DF;
  color: #fff;
}

.tabs .slider {
  position: relative;
  width: 25%;
  transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07);
}

.tabs .content {
  margin-top: 20px;
  padding: 12px;
}

.tabs .content h2 {
  font-size: 1.875rem;
  margin-bottom: 18px;
}

.tabs .content section {
  display: none;
  animation-name: content;
  animation-direction: normal;
  animation-duration: 0.3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  line-height: 1.4;
}

.tabs input[name=tab-control]:nth-of-type(1):checked~ul>li:nth-child(1)>label {
  cursor: default;
  background: #00A0DF;
  color: #fff;
  font-weight: bold;
}


.tabs input[name=tab-control]:nth-of-type(1):checked~ul>li:nth-child(1)>label em {
  color: #fff;
}

.tabs input[name=tab-control]:nth-of-type(1):checked~.slider {
  transform: translateX(0%);
}

.tabs input[name=tab-control]:nth-of-type(1):checked~.content>section:nth-child(1) {
  display: block;
  font-weight: bold;
}

.tabs input[name=tab-control]:nth-of-type(2):checked~ul>li:nth-child(2)>label {
  cursor: default;
  background: #00A0DF;
  color: #fff;
  font-weight: bold;
}

.tabs input[name=tab-control]:nth-of-type(2):checked~ul>li:nth-child(2)>label em {
  color: #fff;
}

.tabs input[name=tab-control]:nth-of-type(2):checked~.slider {
  transform: translateX(100%);
}

.tabs input[name=tab-control]:nth-of-type(2):checked~.content>section:nth-child(2) {
  display: block;
}

.tabs input[name=tab-control]:nth-of-type(3):checked~ul>li:nth-child(3)>label {
  cursor: default;
  background: #00A0DF;
  color: #fff;
  font-weight: bold;
}

.tabs input[name=tab-control]:nth-of-type(3):checked~ul>li:nth-child(3)>label em {
  color: #fff;
}

.tabs input[name=tab-control]:nth-of-type(3):checked~.slider {
  transform: translateX(200%);
}

.tabs input[name=tab-control]:nth-of-type(3):checked~.content>section:nth-child(3) {
  display: block;
}

.tabs input[name=tab-control]:nth-of-type(4):checked~ul>li:nth-child(4)>label {
  background: #00A0DF;
  color: #fff;
}

.tabs input[name=tab-control]:nth-of-type(4):checked~.slider {
  transform: translateX(300%);
}

.tabs input[name=tab-control]:nth-of-type(4):checked~.content>section:nth-child(4) {
  display: block;
}

@media (max-width: 1024px) {
  .tabs ul li {
    width: 32%;
    max-width: unset;
  }

  .tabs.route ul {
    flex-wrap: wrap;
  }

  .tabs.route ul li {
    width: 49%;
    max-width: unset;
    margin: 1% 0;
  }

  .tabs ul li label {
    width: 100%;
    max-width: unset;
  }

  .tabs.route ul li label {
    font-size: .875rem;
  }

  .tabs .content {
    padding: 0
  }

  .tabs .content h2 {
    text-align: center;
    font-size: 1.6rem;
  }
}

@media (max-width: 640px) {
  .tabs .slider {
    display: none;
  }
}

.two-block {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-wrap: wrap;
}

ul.side-menu {
  position: sticky;
  left: 0;
  top: 100px;
  width: 100%;
  max-width: 300px;
  padding: 30px;
  background: #fff;
  border: 2px solid #000;
  border-radius: 12px;
  gap: 18px;
  display: grid;
}

ul.side-menu li {
  position: relative;
  padding-left: 14px;
  line-height: normal;
}

ul.side-menu li a.on::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 4px;
  height: 80%;
  border-radius: 4px;
  background: #c2172e;
}

ul.side-menu li a {
  font-size: 1.16rem;
  line-height: 1;
  color: #484848;
}

ul.side-menu li a {
  font-size: 1.16rem;
  line-height: 1;
  color: #484848;
}

@media(max-width:1180px) {
  ul.side-menu {
    top: 60px;
    max-width: 100%;
    overflow-x: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    padding: 2px;
    border-radius: 12px 12px 0 0;
    gap: 6px;
  }

  ul.side-menu li {
    margin: 10px 4px;
    padding-left: 10px;
  }

  ul.side-menu li a {
    white-space: nowrap;
    font-size: 1rem;
  }

  .two-block .info-txt-box {
    width: 100%;
    margin: 0;
    border-radius: 0 0 12px 12px;
    padding: 12px;
  }
}

.hs-responsive-embed-youtube {
  position: relative;
  padding-bottom: 56.25%;
  margin: 20px 20px 0;
}

.hs-responsive-embed-youtube iframe {
  position: absolute;
  width: 100% !important;
  height: 100% !important;
  border-radius: 20px;
}

.title-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e7e7e7;
}

.title-top h3 {
  width: 90%;
  margin-right: 20px;
}

.title-top .date {
  width: 10%;
  justify-content: flex-end;
  white-space: nowrap;
}

.n-list .info-txt {
  background: #fff;
  border: 1px solid #EFEFEF;
  border-radius: 2px;
  padding: 3.4vw;
}

.n-list .info-txt .txt h4 {
  color: #c2172e;
  margin: 12px 0 0px 0;
}

.n-list .info-txt .txt p {
  line-height: 1.8;
  margin: 12px 0;
  display: inline-block;
  font-size: .93rem;
}

.n-list .info-txt .txt span.hint-txt {
  color: #c2172e;
  font-size: .78rem;
}

@media(max-width:640px) {
  .title-top {
    flex-direction: column-reverse;
  }

  .title-top h3,
  .title-top .date {
    width: 100%;
  }

  .title-top .date {
    font-size: .75rem;
    justify-content: flex-start;
  }

  .n-list .info-txt .txt p {
    font-size: .875rem;
  }

  .info-txt h4 {
    font-size: 1.16rem;
  }

  .spsor-box .txt h4 {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hs-responsive-embed-youtube {
    margin: 10px;
  }
}

.tabs ul.video {
  margin: 0 auto;
  justify-content: center;
}

.tabs ul.video li {
  max-width: 120px;
}

.tabs ul.video li label {
  max-width: 120px;
  padding: 4px 10px;
}

.info-txt h2 span {
  font-weight: 700;
}

ul.news-block {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news::before {
  content: "";
  position: absolute;
  width: 161px;
  height: 110px;
  top: -28px;
  left: -160px;
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
  background-image: url("../images/pic_newsL.png");
  z-index: 5;
  animation: floatAndScale 2s ease-in-out infinite;
}

.page.news::before {
  display: none;
}

ul.news-block li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #383838;
  top: 0;
  transition: all 0.3s ease-in-out;
}

ul.news-block li:hover {
  top: -4px;
}

ul.news-block li:last-child {
  border-bottom: 0px solid;
}

ul.news-block li a {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
}

ul.news-block li a h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c2172e;
  font-weight: normal;
  font-size: 1.125rem;
}

ul.news-block li a p {
  color: #232323;
  font-weight: normal;
  font-size: 1rem;
}

ul.news-block li a h2 .tag {
  display: flex;
  align-items: center;
  font-size: 1rem;
  background: #FF004D;
  color: #fff;
  font-weight: 400;
  font-family: 'ITC Garamond Book Condensed', sans-serif;
  padding: 2px 8px;
  border-radius: 4px;
  line-height: normal;
}

ul.news-block li a p,
ul.news-block li a h2 span {
  width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: break-word;
  line-height: normal;
}

ul.news-block li a p {
  line-clamp: 3;
  -webkit-line-clamp: 3;
}

ul.news-block li a h2 span {
  font-weight: 600;
}

ul.news-block li .date {
  width: 100%;
  display: flex;
  gap: 18px;
  font-size: 1rem;
  font-family: 'ITC Garamond Std BkCond', sans-serif;
  text-align: left;
  color: #060606;
}

.titleN {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr;
  gap: 0px;
}

.titleN h2 {
  font-family: 'ITC Garamond Book Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
  line-height: normal;
  color: #232323;
  margin-bottom: 0;
}

.titleN h5 {
  font-weight: 700;
  font-size: 2.4rem;
  line-height: normal;
  padding-left: 0px;
  text-align: center;
  color: #c2172e;
}

.info-txt p.news {
  font-size: 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

@media(max-width:1024px) {

  ul.news-block {
    gap: 16px;
  }
}

@media(max-width:768px) {

  ul.news-block li a h2 {
    font-size: 1rem;
  }

  ul.news-block li a p {
    font-size: .875rem;
  }

  ul.news-block {
    gap: 12px;
  }

  ul.news-block li .date {
    gap: 10px;
  }

  ul.news-block li a {
    gap: 8px;
  }

  .titleN h5 {
    font-size: 1.8rem;
  }
}

.hidden {
  overflow: hidden;
  display: none;
  visibility: hidden;
}

.gift-pic img {
  width: 100%;
  max-width: 1400;
  margin: 0 auto;
}

.gift-pic img.pc {
  display: block;
}

.gift-pic img.mobile {
  display: none;
}

@media(max-width:768px) {

  .gift-pic img.pc {
    display: none;
  }

  .gift-pic img.mobile {
    display: block;
  }
}

.spsor-box {
  display: grid;
  align-items: flex-start;
  grid-template-columns: 200px auto;
  gap: 30px;
}

.spsor-box .pic {
  border: 2px solid #000;
  border-radius: 1vw;
  box-shadow: 0px 3px 0px #000;
}

.spsor-box .pic img {
  border-radius: 2vw;
}

@media(max-width:768px) {

  .spsor-box {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .spsor-box .pic {
    width: 100%;
    max-width: 200px;
    margin: 0;
  }
}

.wrapperOnly .gallery a {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 2px solid #000;
  border-radius: 6px;
  box-shadow: 0px 0px 0px #000;
  transition: all .3s ease-in-out;
}

.wrapperOnly .gallery a:hover {
  border-bottom: 1px solid #fff;
  box-shadow: 0px 5px 0px #000;
}

.wrapperOnly .gallery a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  transition: all .3s ease-in-out;
  background: rgba(0, 0, 0, 0);
}

.wrapperOnly .gallery a:hover::before {
  background: rgba(0, 0, 0, 0.72)
}

.wrapperOnly .gallery a::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 36px;
  height: 36px;
  transition: all .3s ease-in-out;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("../images/icon_view.svg");
  opacity: 0;
}

.wrapperOnly .gallery a:hover::after {
  opacity: 1;
}

.wrapperOnly .gallery a img {
  object-fit: cover;
  transition: all .3s ease-in-out;
  transform: scale(1);
}

.wrapperOnly .gallery a:hover img {
  transform: scale(1.04);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 32px auto;
}

.pagination button {
  background: unset;
}

@keyframes parent-tab-image {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes content {
  from {
    opacity: 0;
    transform: translateY(5%);
  }

  to {
    opacity: 1;
    transform: translateY(0%);
  }
}

/* MainContent about */
.aboutBlock {
  max-width: 100%;
  background-size: cover;
  background-repeat: repeat;
  background-image: url("../images/about_bg_5120.png");
  background-color: #efefef;
}

.aboutBlock .wrapper {
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.aboutBlock .wrapper img {
  width: 100%;
  max-width: 540px;
  display: grid;
  animation: floatFade 3s linear infinite;
}

.aboutBlock .wrapper .txt {
  font-size: 1.5rem;
  font-weight: 500;
  display: grid;
  gap: 12px;
}

.aboutBlock h2 {
  font-family: 'ITC Garamond Book Condensed', sans-serif;
  font-weight: 700;
  font-size: 4.8rem;
}

.aboutBlock h3 {
  font-size: 1.6rem;
  line-height: 1.6;
}

.aboutBlock p {
  font-size: 1.4rem;
}

@media (max-width: 1024px) {

  .aboutBlock h2 {
    font-size: 3.6rem;
  }

  .aboutBlock h3 {
    font-size: 1.6rem;
  }

  .aboutBlock p {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {

  .aboutBlock h2 {
    font-size: 2.8rem;
  }

  .aboutBlock h3 {
    font-size: 1.25rem;
    line-height: 1.6;
  }

  .aboutBlock p {
    font-size: 1rem;
  }

  .aboutBlock .wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .aboutBlock .wrapper>*:nth-child(1) {
    order: 999;
  }

  .aboutBlock .wrapper>*:nth-child(2) {
    order: 998;
  }

  .aboutBlock .wrapper .txt {
    font-size: 1rem;
    padding: 12px;
  }

  .aboutBlock .wrapper img {
    max-width: 90%;
    margin: 0 auto;
  }

}

@keyframes floatFade {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(-30px);
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* MainContent time */
.timeBlock {
  position: relative;
  max-width: 100%;
  background-color: #c2172e;
  background-size: contain;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-image: url("../images/time_bg_5120.png");
  color: #fff;
}

.timeBlock .wrapper {
  padding-top: 2vw;
}

.timeBlock .txt {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0 20px 160px;
}

.timeBlock .txt div {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: 'ITC Garamond Std BkCond';
  font-weight: bold;
  font-size: 100px;
  line-height: normal;
  color: #fff;
  margin-top: 20px;
}

.timeBlock .txt div span {
  font-size: 84px;
}

.timeBlock .txt h4 {
  line-height: 1.8;
  font-size: 1.4rem;
  font-weight: 700;
}

.timeBlock .txt p {
  color: rgba(255, 255, 255, .8);
}

@media (max-width: 640px) {
  .timeBlock .txt {
    text-align: center;
    justify-content: center;
    padding: 0 0px 160px;
  }

  .timeBlock .txt h4 {
    font-size: 1.2rem;
    margin-top: -2rem;
  }

  .timeBlock .txt p {
    font-size: .875rem;
    text-align: center;
    line-height: 1.6;
  }

  .timeBlock .txt div {
    font-size: 48px;
    margin-bottom: 24px;
    justify-content: center;
  }

  .timeBlock .txt div span {
    font-size: 40px;
  }
}

@media (max-width: 500px) {
  .timeBlock {
    background-size: 150%;
  }

  .timeBlock .txt p {
    text-align: left;
    padding: 0px 30px;
  }
}

/* MainContent fly */
.flyBlock {
  position: relative;
  max-width: 100%;
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: 1fr;
  background-color: #cf1829;
}

.flyBlock .wrapper {
  max-width: 100%;
  position: relative;
  display: grid;
  align-items: stretch;
  justify-content: center;
  gap: 40px;
  padding: 0;
}

.flyBlock .titleNB {
  color: #ffffff;
  font-size: 2rem;
  line-height: 2;
  text-align: center;
  padding: 32px;
}

.flyBlock .txt {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
}

.flyBlock .txt .imgfly img {
  width: 100%;
  margin: 0 auto;
  max-width: 640px;
  animation: floatAndScale 2s linear infinite;
}

.flyBlock .img {
  position: absolute;
  z-index: 1;
  left: 0%;
  top: 50%;
}

.flyBlock .img img {
  width: 100%;
  max-width: 768px;
  animation: floatFade 12s linear infinite;
}

@media (max-width:1180px) {
  .flyBlock {
    grid-template-columns: 1fr;
  }

  .flyBlock .img {
    top: 60%;
    max-width: 768px;
  }

  .flyBlock .img img {
    max-width: 100%;
  }

  .flyBlock .titleNB {
    margin-top: 20px;
    font-size: 1.4rem;
    line-height: 1.6;
    padding: 0px 32px;
  }
}

@media (max-width:768px) {
  .flyBlock .img {
    top: auto;
    left: 0%;
    bottom: 0;
  }

  .flyBlock .wrapper {
    align-items: flex-start;
    justify-content: center;
  }

  .flyBlock .txt .imgfly img {
    max-width: 340px;
  }

  .flyBlock .txt {
    padding-bottom: 20px;
  }

  .flyBlock {
    background-position: center bottom;
  }
}

/* MainContent gift */
.giftBlock {
  position: relative;
  max-width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url("../images/gift_clear_bg.jpg");
  background-color: #232323;
}

.titleNB {
  display: flex;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 3rem;
  padding: 60px 0;
}

.giftBlock .wrapper {
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

.giftBlock .img {
  animation: floatAndScale 2s ease-in-out infinite;
}

.giftBlock .img span.hint {
  color: #000;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto;
}

.giftBlock .icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.giftBlock .icon a {
  display: grid;
  align-items: center;
  justify-content: center;
  background: #c2172d;
  box-shadow: 0px 4px 0px #ffffff;
  border: 4px solid #ffffff;
  color: #fff;
  border-radius: 12px;
  padding: 2vw 1vw;
  text-align: center;
  gap: 16px;
  transition: .3s linear;
  transform: translateY(0);
}

.giftBlock .icon a:hover {
  background: #c2172e;
  box-shadow: 0px 8px 0px rgb(0, 0, 0, .8);
  border: 4px solid #ffffff;
  transform: translateY(-4px);
}

.giftBlock .icon a img {
  width: 100%;
  max-width: 120px;
  margin: 0 auto;
  transition: .3s linear;
  filter: drop-shadow(0px 0px 0px rgba(0, 0, 0, 1));
}

.giftBlock .icon a:hover img {
  filter: drop-shadow(0px 4px 0px rgba(0, 0, 0, 1));
  animation: floatAndScale 1s ease-in-out infinite;
}

.giftBlock .icon a b {
  font-size: 1.4rem;
  line-height: 1.4;
}

@keyframes floatAndScale {
  0% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-4px) scale(1.01);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 840px) {
  .giftBlock .wrapper {
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .titleNB {
    font-size: 1.6rem;
    padding: 30px 0;
  }

  .giftBlock .icon a {
    padding: 12px;
  }

  .giftBlock .icon {
    padding-bottom: 4vw;
  }

  .giftBlock .icon a b {
    font-size: 1.06rem;
  }

  .giftBlock .icon a img {
    max-width: 100px;
  }
}

/* MainContent product */
.productBlock {
  position: relative;
  max-width: 100%;
  background-color: #efefef;
}

.productBlock .titleNB {
  color: #232323;
}

.productBlock .container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.productBlock .container.youtuber {
  grid-template-columns: repeat(5, 1fr);
}

.productBlock .container .item {
  position: relative;
}

.productBlock .container .item::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0, .4);
  transition: .3s linear;
  z-index: 1;
}

.productBlock .container .item:hover::before {
  background: rgb(0, 0, 0, 0);
}

.productBlock .container .item .pic img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.productBlock .container .item .txt {
  position: absolute;
  width: 100%;
  bottom: 0px;
  left: 0px;
  color: #141414;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.productBlock .container .item .txt span {
  font-size: 1rem;
  font-weight: 400;
}

.productBlock .container .item .txt h2 {
  font-size: 1.46rem;
  font-weight: 600;
  padding-left: 4px;
}

.sub-container {
  display: none;
}

@media (max-width: 1024px) {
  .productBlock .container {
    grid-template-columns: repeat(4, 1fr);
    scroll-behavior: smooth;
  }
}

@media (max-width: 768px) {

  .productBlock .container,
  .productBlock .container.youtuber {
    grid-template-columns: repeat(3, 1fr);
  }

  .productBlock .container.youtuber.y2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .productBlock .container .pc {
    display: none;
  }

  .sub-container {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
  }

  .sub-container .item {
    width: calc(33.33% - 20px);
  }
}

@media (max-width: 500px) {
  .productBlock .titleNB {
    font-size: 1.6rem;
  }

  .productBlock .container .item .txt span {
    font-size: .75rem;
  }

  .productBlock .container .item .txt h2 {
    word-break: break-all;
    font-size: 1rem;
    margin-top: 4px;
  }
}

/* 圖片點擊燈箱效果 */
.gallery {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 20px;
  margin: 0 auto;
}

.gallery.award {
  grid-template-columns: repeat(3, 1fr);
}

.gallery.finish {
  grid-template-columns: repeat(4, minmax(187.5px, 1fr));
  margin-bottom: 40px;
}

.gallery.route {
  grid-template-columns: 1fr;
}

.gallery-item {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 2/1.6;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin: 0 auto;
  background: #f0f0f0;
  border: 1px solid #eaeaea;
}

.gallery.route img {
  aspect-ratio: unset;
}

.gallery.tshirt img {
  background: unset;
  border: 0px solid #eaeaea;
  padding-top: 20px;
}

.gallery-item.long-item img {
  /* aspect-ratio: 2/1.5; */
  max-width: 768px;
}

.gallery-item img:hover {
  animation: floatAndScale 1s ease-in-out infinite;
}

.gallery-item .separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
  max-width: 768px;
}

.gallery-item .separator::before,
.gallery-item .separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #c2172e;
  margin: 0 6px;
}

.tshirt .gallery-item .separator::before,
.tshirt .gallery-item .separator::after {
  display: none;
}

.gallery-item .separator span {
  padding: 0 6px;
  line-height: 1.4;
  font-size: 1.125rem;
  color: #232323;
  font-weight: 700;
}

.tshirt .gallery-item .separator {
  background: #000;
  padding: 4px 6px;
}

.tshirt .gallery-item .separator span {
  color: #fff;
  font-size: 1.06rem;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: background 0.3s ease;
}

.lightbox.active {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
  opacity: 1;
}

.lightbox img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.close-btn {
  position: absolute;
  top: -40px;
  right: -40px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

a.read-more {
  width: 100%;
  max-width: 120px;
  border: 1px solid #c2172e;
  background: #fff;
  color: #c2172e;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 12px;
  transition: .3s linear;
  margin: 0 auto;
}

a.read-more:hover {
  border: 1px solid #c2172e;
  background: #c2172e;
  color: #fff;
}

.lightbox.active .close-btn {
  opacity: 1;
}

.gallery.tshirt {
  grid-template-columns: 1fr;
}

.gallery.tshirt .gallery-item {
  gap: 0px;
}

@media (max-width:1024px) {

  .tshirt .gallery-item .separator span {
    font-size: .93rem;
  }
}

@media (max-width: 840px) {

  .gallery,
  .gallery.award {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 40px 20px;
  }

  .gallery.finish {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .close-btn {
    top: -50px;
    right: -10px;
    font-size: 36px;
    /* color: #000; */
  }
}

@media (max-width: 640px) {

  .gallery,
  .gallery.award {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .gallery-item.long-item {
    grid-column: unset;
  }

  .gallery-item.long-item img {
    aspect-ratio: 2/1.6;
  }

  .gallery-item .separator span {
    font-size: 1rem;
  }

  .tshirt .gallery-item .separator {
    height: auto;
    min-height: 48px;
  }
}

.qrcode {
  width: 100%;
  max-width: 480px;
  display: grid;
  align-items: center;
  gap: 4px;
  margin: 60px auto;
  grid-template-columns: repeat(2, 1fr);
}

.qrcode img {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}

@media (max-width: 640px) {

  .qrcode {
    max-width: 100%;
    display: flex;
    flex-direction: column-reverse;
    margin: 20px auto 60px;
    gap: 12px;
  }

  .qrcode img {
    max-width: 180px;
  }
}

.btn.fixed {
  display: flex;
  justify-content: center;
  margin: 60px auto;
}

.btn.fixed.run {
  gap: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.btn.fixed a {
  font-size: 1rem;
  padding: 8px 40px;
  border: 1px solid #c2172e;
  background: #fff;
  color: #c2172e;
  display: flex;
  flex-direction: column;
  text-align: center;
  animation: parent-tab-image 2s ease-in-out infinite;
  font-weight: 600;
  text-wrap-mode: nowrap;
}

.btn.fixed a:hover {
  background: #c2172e;
  color: #ffffff;
  border: 1px solid #c2172e;
}

.six-box {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.six-box .item {
  display: grid;
  align-items: stretch;
  justify-content: center;
  grid-template-columns: 1fr;
  grid-template-rows: 25% 75%;
  text-align: center;
  font-size: 1rem;
  line-height: 1.4;
  background: #f0f0f0;
  border: 1px solid #eaeaea;
}

.six-box> :first-child {
  grid-column: 1 / -1;
  text-align: left;
  justify-content: flex-start;
  /* 讓第一個 item 從第一列開始到最後一列結束，獨占一整排 */
}

.six-box .item .title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: #fff;
  background: #c2172e;
  padding: 12px;
}

.six-box .item:first-child .title {
  padding: 12px;
}

.six-box .item .txt {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-weight: 600;
  padding: 12px;
  line-height: 1.6;
}

.six-box .item .txt span {
  font-weight: 400;
  font-size: .93rem;
}

.bus-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 auto;
  width: 100%;
  max-width: 400px;
}

@media (max-width: 1024px) {
  .btn.fixed.run {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .six-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .six-box .item {
    font-size: .9rem;
  }

  .six-box .item .txt span {
    font-size: .875rem;
  }

  .btn.fixed {
    margin: 20px auto;
  }

  .btn.fixed.run a {
    width: 100%;
    padding: 8px;
  }

  .lastlast {
    margin-bottom: 20px;
  }
}

@media (max-width: 500px) {
  .six-box> :first-child p {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .six-box> :first-child p span {
    font-size: 1.2rem;
  }

  .btn.fixed.run {
    grid-template-columns: repeat(2, 1fr);
  }
}

img.nbrc {
  width: 100%;
  max-width: 360px;
  margin: 12px auto;
}

.coupon {
  position: fixed;
  bottom: 320px;
  right: 24px;
  width: auto;
  max-width: 280px;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: stretch;
  opacity: 0;
  z-index: 1;
  background: #fff;
  box-shadow: 1px 2px 1px #fff;
  transition: .3s ease-in;
}

.coupon.visible {
  opacity: 1;
}

.coupon-header {
  background: #c2172e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  padding: 20px 0px;
  gap: 36px;
  height: 262px;
}

.coupon-header b {
  font-size: 1em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  line-height: normal;
}

.coupon-header .back {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.coupon-header .rotated.back {
  transform: rotate(180deg);
}

.coupon-box.hidden {
  display: none;
}

.coupon-box {
  padding: 14px;
  background: #eeeeee;
  display: Flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 12px;
}

.coupon-box p {
  color: #c2172e;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  font-weight: 600;
}

.coupon-box p span.small {
  color: #6a6a6a;
  font-size: .81rem;
}

.coupon-box .coupon-code {
  width: 100%;
  border: 2px dashed #ccc;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 1rem;
  margin: 4px auto;
  background: #ffffff;
}

.coupon-box .coupon-code input {
  width: 100%;
  text-align: center;
  font-size: 1.225rem;
  font-weight: 600;
}

button.coupon-button {
  position: relative;
  background: #c2172e;
  color: #fff;
  border-radius: 4px;
  padding: .6rem;
  font-size: .93rem;
}

.coupon-box .note,
.coupon-box a {
  font-size: .78rem;
  color: #6a6a6a;
  cursor: pointer;
  text-decoration: underline;
}

.tooltip {
  position: absolute;
  background: #333;
  color: #fff;
  padding: 5px 8px;
  border-radius: 2px;
  font-size: 11px;
  z-index: 10;
  opacity: 0;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  transition: .3s linear;
}

.tooltip.show {
  opacity: 1;
  display: block;
}