@font-face {
  font-family: 'AvantGarde-Demi';
  src: url('../fonts/AvantGarde-Demi.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

html {
  font-size: 16px;
}

body {
  position: relative;
  width: 100%;
  font-family: 'AvantGarde-Demi', '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: 'AvantGarde-Demi' !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: 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: 4px auto 12px;
  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;
}

.info-txt table p.brand {
  font-size: 1rem;
}

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;
}

.lottery-table .lottery-frame {
  color: #c2172e;
  font-weight: 700;
}

.lottery-table .lottery-frame--top {
  border-top: 2px solid #c2172e;
}

.lottery-table .lottery-frame--right {
  border-right: 2px solid #c2172e;
}

.lottery-table .lottery-frame--bottom {
  border-bottom: 2px solid #c2172e;
}

.lottery-table .lottery-frame--left {
  border-left: 2px solid #c2172e;
}

@media (max-width: 1090px) {

  table,
  .info-txt table p.brand {
    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;
  padding-top: 68px;
}

.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.is-open {
  pointer-events: auto;
  cursor: pointer;
}

.s-info-right a.is-disabled {
  background: #777777;
  border-color: #666666;
  box-shadow: 0px 4px 0px #4f4f4f;
}

.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;
  padding-top: 68px;
}

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: 'AvantGarde-Demi';
  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: 20px;
  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: 'AvantGarde-Demi', 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: 400;
  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;
  min-width: 0;
}

.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;
  margin-left: 10px;
  font-weight: normal !important;
  font-size: 1rem !important;
}

.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: 500;
  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.16rem;
}

.info-txt ul.rules.big li ol li {
  list-style: decimal;
  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: 10px 0 20px 0;
}

.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;
    margin-left: 20px;
  }

}

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: 'AvantGarde-Demi', 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: 'AvantGarde-Demi', 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: 'AvantGarde-Demi', sans-serif;
  text-align: left;
  color: #060606;
}

.titleN {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr;
  gap: 0px;
}

.titleN h2 {
  font-family: 'AvantGarde-Demi', 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 {
  position: relative;
  width: 100%;
  min-height: 82vh;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 整體風琴容器 */
.aboutAccordion {
  position: relative;
  width: 100%;
  min-height: 82vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

/* 每一片照片 */
.aboutPanel {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  transform: skewX(-8deg);
  margin-left: -42px;
  transition:
    flex 0.75s cubic-bezier(.22, 1, .36, 1),
    filter 0.55s ease,
    opacity 0.55s ease;
  border-left: 8px solid #fff;
  border-right: 8px solid #fff;
  filter: saturate(0.95) contrast(0.95);
}

/* 第一片不要往左吃太多 */
.aboutPanel:first-child {
  margin-left: -80px;
}

/* 圖片拉回正角度 */
.aboutPanel img {
  width: 125%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: skewX(8deg) scale(1.06);
  transition:
    filter 0.45s ease,
    transform 0.45s ease;
  will-change: transform, filter;
}


/* 預設第一張或滑過時展開 */
.aboutPanel.is-active,
.aboutPanel:hover {
  flex: 1;
  opacity: 1;
  filter: saturate(1.08) contrast(1.04);
}

.aboutPanel.is-active img,
.aboutPanel:hover img {
  transform: skewX(8deg) scale(1.06);
}


/* 加一點暗角，讓文字更清楚 */
.aboutAccordion::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.02) 0%,
      rgba(0, 0, 0, 0.12) 52%,
      rgba(0, 0, 0, 0.32) 100%);
  z-index: 2;
}

/* 下方文字玻璃卡 */
.aboutText {
  position: absolute;
  left: 50%;
  bottom: 6%;
  z-index: 5;
  width: min(1200px, calc(100% - 48px));
  transform: translateX(-50%);
  text-align: center;
  color: #111;
  padding: 30px 44px 34px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}

.aboutText h2 {
  font-family: 'AvantGarde-Demi', sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1;
  margin: 0 0 18px;
  color: #000;
}

.aboutText h3 {
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1.7;
  font-weight: 700;
  margin: 0 0 12px;
  color: #111;
}

.aboutText p {
  font-size: clamp(0.95rem, 1.25vw, 1.18rem);
  line-height: 1.75;
  font-weight: 600;
  margin: 0;
  color: #111;
}

.aboutText .ITC {
  font-family: 'AvantGarde-Demi', sans-serif;
}

/* 滑過整個區塊時，非 hover 的圖稍微退後 */
.aboutAccordion:hover .aboutPanel {
  flex: 1;
  opacity: 1;
  filter: saturate(0.85) contrast(0.9) brightness(0.82);
}

/* 目前 hover 的圖片保持亮 */
.aboutAccordion:hover .aboutPanel:hover {
  flex: 1;
  opacity: 1;
  filter: saturate(1.08) contrast(1.05) brightness(1.02);
}

@media (max-width: 1024px) {
  .aboutBlock {
    min-height: auto;
  }

  .aboutAccordion {
    min-height: 68vh;
  }

  .aboutPanel {
    margin-left: -34px;
    border-left-width: 7px;
    border-right-width: 7px;
  }

  .aboutText {
    bottom: 5%;
    padding: 26px 32px 30px;
  }
}

@media (max-width: 768px) {
  .aboutBlock {
    display: block;
    min-height: auto;
    padding: 0;
    background: #fff;
  }

  .aboutAccordion {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    overflow: visible;
  }

  .aboutAccordion::after {
    display: none;
  }

  /* 手機改成橫向滑動照片 */
  .aboutPanel {
    grid-row: 1;
    grid-column: 1;
    display: block;
    height: 58vh;
    min-height: 420px;
    margin-left: 0;
    transform: none;
    border: none;
    clip-path: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.7s ease, visibility 0.7s ease;
  }

  .aboutPanel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .aboutPanel img {
    width: 100%;
    height: 100%;
    transform: none;
    object-fit: cover;
    object-position: center;
  }

  .aboutPanel.is-active img {
    transform: none;
  }

  .aboutAccordion:hover .aboutPanel,
  .aboutAccordion:hover .aboutPanel:hover {
    flex: initial;
    opacity: 1;
  }

  .aboutText {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: calc(100% - 32px);
    margin: -70px auto 0;
    padding: 24px 20px 28px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    color: #111;
  }

  .aboutText h2 {
    font-size: 2.6rem;
    margin-bottom: 14px;
    text-align: left;
  }

  .aboutText h3 {
    font-size: 1.02rem;
    line-height: 1.65;
    text-align: left;
  }

  .aboutText p {
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .aboutPanel {
    height: 52vh;
    min-height: 360px;
  }

  .aboutText {
    width: calc(100% - 24px);
    margin-top: -54px;
    padding: 22px 16px 24px;
  }

  .aboutText h2 {
    font-size: 2.25rem;
  }

  .aboutText h3 {
    font-size: 0.96rem;
  }

  .aboutText p {
    font-size: 0.9rem;
  }
}

@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: #ffffff;
  background-size: contain;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-image: url("../images/time_bg_5120.png");
  color: #000;
}

.timeBlock .wrapper {
  max-width: 100%;
}

.timeBlock .txt {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0 20px 60px;
}

.timeBlock .txt div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: 'AvantGarde-Demi';
  font-weight: bold;
  font-size: 96px;
  line-height: normal;
  color: #c2172e;
  margin-top: 20px;
}

.timeBlock .txt div span {
  font-size: 78px;
}

.timeBlock .txt h4 {
  line-height: 1.8;
  font-size: 1.4rem;
  font-weight: 700;
  padding-left: 8px;
}

.timeBlock .txt p {
  color: rgba(0, 0, 0, .8);
}

@media (max-width: 1024px) {
  .timeBlock .txt {
    text-align: center;
    justify-content: center;
    padding: 0 0px 60px;
  }

  .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: 32px;
  }
}

@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: #000;
}

.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;
}

.flyBlock img.pc {
  display: block;
}

.flyBlock img.mobile {
  display: none;
}

@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.pc {
    display: none;
  }

  .flyBlock img.mobile {
    display: block;
  }

  .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%;
  overflow: hidden;
  isolation: isolate;
  background-color: #f3f3f3;
}

.giftBlock::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../images/gift_clear_bg.jpg");
  background-position: center top;
  background-repeat: repeat;
  background-size: 960px auto;
  opacity: 1;
  transform: scale(1);
  transform-origin: center top;
}

.giftBlock::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .48);
}

.titleNB {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 900;
  font-size: 3rem;
  line-height: 1.25;
  padding: 60px 0;
}

.giftMap {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.giftMap__content {
  position: relative;
  width: min(1120px, 88vw);
  margin: 0 auto;
  padding: 80px 0 74px;
  z-index: 2;
}

.giftMap__logos {
  display: grid;
  /* grid-template-columns: minmax(190px, 330px) auto minmax(210px, 360px); */
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  margin: 0 auto 40px;
}

.giftMap__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
}

.giftMap__logo img {
  display: block;
  width: 100%;
  object-fit: contain;
}

.giftMap__logo--seven img {
  max-width: 460px;
}

.giftMap__logo--nb img {
  max-width: 320px;
}

.giftMap__cross {
  display: block;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.giftBlock .giftMap .titleNB {
  gap: 22px;
  padding: 0;
  color: #000;
  font-size: clamp(2.5rem, 4.8vw, 4.8rem);
  text-shadow: 0 4px 0 rgba(255, 255, 255, .85);
}

.giftBlock .giftMap .titleNB img {
  width: min(880px, 88vw);
  height: auto;
  margin: 0 auto;
}

.giftBlock .giftMap .titleNB--sub {
  margin-top: 18px;
  font-size: clamp(1.45rem, 2.4vw, 2.8rem);
  font-weight: 700;
}

.titleNB__pin {
  position: relative;
  flex: 0 0 auto;
  width: clamp(31px, 4.2vw, 58px);
  height: clamp(31px, 4.2vw, 58px);
  border-radius: 50% 50% 50% 0;
  background: #c90012;
  transform: rotate(-45deg);
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .14));
}

.titleNB__pin::after,
.mapPin::after {
  content: "";
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: #fff;
}

.mapPin {
  --pin-delay: 0s;
  position: absolute;
  width: clamp(28px, 2.7vw, 46px);
  height: clamp(28px, 2.7vw, 46px);
  border-radius: 50% 50% 50% 0;
  background: #777;
  opacity: 0;
  transform: translateY(-120px) rotate(-45deg) scale(.86);
  filter: drop-shadow(0 8px 0 rgba(0, 0, 0, .1));
  z-index: 1;
}

.giftMap.is-pin-active .mapPin {
  animation: pinDrop .72s cubic-bezier(.2, .86, .28, 1.22) var(--pin-delay) forwards;
}

.mapPin--red {
  background: #c90012;
}

.mapPin--gray {
  background: #777;
}

.mapPin--1 {
  width: clamp(36px, 3.5vw, 58px);
  height: clamp(36px, 3.5vw, 58px);
  top: 7%;
  left: 48.5%;
  --pin-delay: .1s;
}

.mapPin--2 {
  top: 11%;
  left: 25.5%;
  --pin-delay: .2s;
}

.mapPin--3 {
  width: clamp(34px, 3.2vw, 52px);
  height: clamp(34px, 3.2vw, 52px);
  top: 48%;
  left: 15.2%;
  --pin-delay: .3s;
}

.mapPin--4 {
  top: 9%;
  right: 26%;
  --pin-delay: .4s;
}

.mapPin--5 {
  top: 16%;
  right: 4.5%;
  --pin-delay: .5s;
}

.mapPin--6 {
  width: clamp(34px, 3.2vw, 52px);
  height: clamp(34px, 3.2vw, 52px);
  right: 8.5%;
  bottom: 15.5%;
  --pin-delay: .6s;
}

.mapPin--7 {
  right: 15%;
  top: 39%;
  --pin-delay: .7s;
}

.mapPin--8 {
  width: clamp(34px, 3.2vw, 52px);
  height: clamp(34px, 3.2vw, 52px);
  left: 14.8%;
  bottom: 8%;
  --pin-delay: .8s;
}

.mapPin--9 {
  left: 31.8%;
  bottom: 18.5%;
  --pin-delay: .9s;
}

.mapPin--10 {
  width: clamp(34px, 3.2vw, 52px);
  height: clamp(34px, 3.2vw, 52px);
  left: 56%;
  bottom: 8%;
  --pin-delay: 1s;
}

.mapPin--11 {
  top: 20%;
  left: 4.8%;
  --pin-delay: 1.1s;
}

.mapPin--12 {
  right: 31%;
  bottom: 24%;
  --pin-delay: 1.2s;
}

.mapPin--13 {
  left: 6%;
  bottom: 32%;
  --pin-delay: 1.3s;
}

.mapPin--14 {
  width: clamp(34px, 3.2vw, 52px);
  height: clamp(34px, 3.2vw, 52px);
  left: 5%;
  bottom: 7%;
  --pin-delay: 1.4s;
}

.giftActivity {
  position: relative;
  z-index: 1;
}

.giftActivity>.titleNB {
  padding: 56px 3.8vw 0;
}

.giftBlock .wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: minmax(280px, .95fr) 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding-top: 56px;
  padding-bottom: 70px;
}

.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: 36px;
}

.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: 20px;
  text-align: center;
  padding: 20px 16px;
  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 pinDrop {
  0% {
    opacity: 0;
    transform: translateY(-120px) rotate(-45deg) scale(.86);
  }

  68% {
    opacity: 1;
    transform: translateY(10px) rotate(-45deg) scale(1.06);
  }

  84% {
    transform: translateY(-5px) rotate(-45deg) scale(.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(-45deg) scale(1);
  }
}

@keyframes floatAndScale {
  0% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-4px) scale(1.01);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1024px) {
  .giftBlock::before {
    background-size: 760px auto;
  }

  .giftMap {
    min-height: 560px;
  }

  .giftMap__content {
    width: min(92vw, 760px);
    padding: 62px 0 58px;
  }

  .giftMap__logo {
    min-height: 86px;
    padding: 14px 18px;
  }

  .giftBlock .wrapper {
    padding: 40px 3.8vw;
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .giftActivity>.titleNB {
    padding-top: 40px;
  }

  .titleNB {
    font-size: 2rem;
    padding: 30px 0;
  }

  .giftBlock .icon {
    gap: 20px;
  }

  .giftBlock .icon a b {
    font-size: 1.06rem;
  }

  .giftBlock .icon a img {
    max-width: 100px;
  }
}

@media (max-width: 768px) {
  .giftBlock::before {
    background-size: 640px auto;
  }

  .giftMap {
    min-height: 520px;
  }

  .giftMap__logos {
    gap: 12px;
    margin-bottom: 22px;
  }

  .giftMap__logo {
    min-height: 68px;
    padding: 10px 12px;
  }

  .giftBlock .giftMap .titleNB {
    align-items: flex-start;
    gap: 12px;
  }

  .giftBlock .giftMap .titleNB--sub {
    margin-top: 12px;
  }

  .mapPin--2,
  .mapPin--5,
  .mapPin--11 {
    display: none;
  }

  .giftBlock .icon {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .giftMap {
    min-height: 480px;
  }

  .giftMap__content {
    width: 88vw;
    padding: 48px 0;
  }

  .giftMap__logos {
    grid-template-columns: 1fr;
    max-width: 310px;
  }

  .giftMap__cross {
    font-size: 2.4rem;
    text-align: center;
  }

  .giftBlock .giftMap .titleNB {
    display: grid;
    justify-items: center;
    font-size: 2.05rem;
  }

  .giftBlock .giftMap .titleNB--sub {
    font-size: 1.25rem;
  }

  .mapPin {
    width: 26px;
    height: 26px;
  }

  .mapPin--1 {
    width: 34px;
    height: 34px;
    top: 6%;
    left: 44%;
  }

  .mapPin--3 {
    width: 32px;
    height: 32px;
    top: 45%;
    left: 5%;
  }

  .mapPin--4 {
    top: 13%;
    right: 8%;
  }

  .mapPin--6 {
    width: 32px;
    height: 32px;
    right: 7%;
    bottom: 11%;
  }

  .mapPin--7,
  .mapPin--9,
  .mapPin--12,
  .mapPin--13 {
    display: none;
  }

  .mapPin--8 {
    width: 32px;
    height: 32px;
    left: 8%;
    bottom: 5%;
  }

  .mapPin--10 {
    width: 32px;
    height: 32px;
    left: 56%;
    bottom: 4%;
  }

  .mapPin--14 {
    width: 32px;
    height: 32px;
    left: 4%;
    bottom: 18%;
  }
}

@media (prefers-reduced-motion: reduce) {

  .giftBlock .img,
  .giftBlock .icon a:hover img,
  .giftMap.is-pin-active .mapPin {
    animation: none;
  }

  .mapPin {
    opacity: 1;
    transform: rotate(-45deg);
  }
}

/* MainContent product */
.productBlock {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  isolation: isolate;
  background-color: #f7f7f7;
}

.productBlock::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../images/gift_clear_bg.jpg");
  background-position: center top;
  background-repeat: repeat;
  background-size: 1120px auto;
  opacity: .18;
}

.productBlock::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .7) 0%, rgba(247, 247, 247, .94) 26%, rgba(238, 238, 238, .96) 100%);
}

.productBlock .titleNB {
  color: #232323;
}

.productBlock .container {
  display: grid;
  gap: clamp(12px, 1.6vw, 24px);
  padding: clamp(22px, 4vw, 58px) clamp(14px, 3.8vw, 56px) clamp(34px, 4.8vw, 72px);
}

.productBlock .container.youtuber.mission,
.productBlock .container.youtuber.pace {
  grid-template-columns: repeat(3, 1fr);
}

.productBlock .container.youtuber.finish {
  grid-template-columns: repeat(6, 1fr);
}

.productBlock .container.youtuber.finish .item:first-child {
  grid-column: 2 / 4;
}

.productBlock .container.youtuber.finish .item:last-child {
  grid-column: 4 / 6;
}

.productBlock .container .item {
  position: relative;
  --product-text-clearance: clamp(76px, 17%, 116px);
  overflow: visible;
  min-height: 0;
  aspect-ratio: 3 / 4.48;
  border-radius: clamp(18px, 2.4vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .78) 0%, rgba(243, 243, 250, .95) 66%, rgba(238, 239, 247, .98) 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, .92),
    inset 0 -46px 70px rgba(255, 255, 255, .42),
    0 18px 36px rgba(63, 66, 94, .13);
  transition: transform .3s linear, box-shadow .3s linear;
  isolation: isolate;
}

.productBlock .container .item::before {
  content: "";
  position: absolute;
  inset: clamp(10px, 1.2vw, 18px);
  border-radius: inherit;
  border: 0px solid rgba(255, 255, 255, .82);
  transition: border-color .3s linear, box-shadow .3s linear;
  z-index: 1;
  pointer-events: none;
}

.productBlock .container .item:hover {
  transform: translateY(-6px);
  z-index: 3;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, .98),
    inset 0 -46px 70px rgba(255, 255, 255, .48),
    0 24px 46px rgba(63, 66, 94, .2);
}

.productBlock .container .item .pic {
  position: absolute;
  inset: clamp(-46px, -4vw, -18px) 0 0;
  z-index: 2;
  overflow: visible;
  pointer-events: none;
}

.productBlock .container .item .pic::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 74%;
  aspect-ratio: 1;
  left: 13%;
  top: 18%;
  border-radius: 50%;
  background: rgba(218, 204, 244, .46);
  filter: blur(.2px);
}

.productBlock .container .item .pic::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 36%;
  height: 25%;
  right: 6%;
  bottom: 2%;
  opacity: .72;
  background:
    repeating-linear-gradient(150deg,
      transparent 0 15px,
      rgba(190, 168, 226, .72) 16px 20px,
      transparent 21px 34px);
}

.productBlock .container .item .pic {
  background:
    radial-gradient(ellipse at 50% 96%,
      rgba(54, 48, 76, .12) 0%,
      rgba(54, 48, 76, .07) 20%,
      rgba(54, 48, 76, 0) 52%);
}

.productBlock .container .item .pic img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  padding: clamp(8px, 1.3vw, 18px) clamp(8px, 1.1vw, 16px) var(--product-text-clearance);
  filter:
    drop-shadow(0 18px 18px rgba(44, 39, 63, .16)) drop-shadow(0 5px 4px rgba(44, 39, 63, .08));
  transition: transform .3s linear, filter .3s linear;
}

.productBlock .container .item:hover .pic img {
  transform: translateY(-12px) scale(1.04);
  filter:
    drop-shadow(0 22px 22px rgba(44, 39, 63, .18)) drop-shadow(0 7px 5px rgba(44, 39, 63, .09));
}

.productBlock .container .item .txt {
  position: absolute;
  width: 100%;
  bottom: 0px;
  left: 0px;
  z-index: 2;
  color: #141414;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: flex-start;
  padding: clamp(16px, 2.2vw, 30px) clamp(18px, 2.4vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .68) 0%, rgba(245, 246, 252, .9) 28%, rgba(238, 239, 247, .98) 100%);
  border-top: 1px solid rgba(255, 255, 255, .64);
  border-bottom-right-radius: inherit;
  border-bottom-left-radius: inherit;
}

.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;
}

@media (max-width: 1024px) {
  .productBlock .container .item .txt span {
    font-size: .93rem;
  }

  .productBlock .container .item .txt h2 {
    font-size: 1.28rem;
  }
}

@media (max-width: 768px) {

  .productBlock .container.youtuber.mission,
  .productBlock .container.youtuber.pace {
    grid-template-columns: repeat(2, 1fr);
  }

  .productBlock .container.youtuber.finish {
    grid-template-columns: repeat(2, 1fr);
  }

  .productBlock .container.youtuber.finish .item:first-child,
  .productBlock .container.youtuber.finish .item:last-child {
    grid-column: unset;
  }
}

@media (max-width: 500px) {
  .productBlock .titleNB {
    font-size: 1.8rem;
  }

  .productBlock .container .item {
    --product-text-clearance: clamp(68px, 28%, 92px);
  }

  .productBlock .container .item .txt {
    padding: 12px 20px;
    gap: 4px;
  }

  .productBlock .container .item .txt span {
    font-size: .83rem;
    line-height: 1.25;
  }

  .productBlock .container .item .txt h2 {
    word-break: break-all;
    font-size: .86rem;
    line-height: 1.2;
    margin-top: 2px;
    padding-left: 0;
  }
}

/* 圖片點擊燈箱效果 */
.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: 24px;
}

.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: 20px;
  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(4, 1fr);
  gap: 8px;

  /* 統一控制 RWD 等比縮放 */
  --box-title-size: clamp(.9rem, 1vw, 1rem);
  --box-txt-size: clamp(.9rem, 1vw, 1rem);
  --box-small-size: clamp(.82rem, .9vw, .93rem);
  --box-padding: clamp(10px, 1.2vw, 12px);
}

.six-box .item {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  text-align: center;
  font-size: var(--box-txt-size);
  line-height: 1.4;
  background: #f0f0f0;
  border: 1px solid #eaeaea;
  overflow: hidden;
}

.six-box> :first-child {
  grid-column: 1 / -1;
  text-align: left;
  grid-template-rows: auto auto;
  justify-content: stretch;
}

.six-box .item .title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--box-title-size);
  font-weight: 500;
  color: #fff;
  background: #c2172e;
  padding: var(--box-padding);
}

.six-box .item:first-child .title {
  padding: 12px;
}

.six-box .item .txt {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: var(--box-txt-size);
  font-weight: 600;
  padding: var(--box-padding);
  line-height: 1.6;
}

.six-box>.item:first-child .txt {
  gap: 6px;
}

.six-box>.item:first-child .txt p {
  margin: 0;
}

.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 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    --box-title-size: clamp(.875rem, 3.4vw, .95rem);
    --box-txt-size: clamp(.875rem, 3.4vw, .95rem);
    --box-small-size: clamp(.8rem, 3.2vw, .88rem);
    --box-padding: clamp(9px, 3vw, 12px);
  }

  .six-box>.item:first-child {
    grid-column: 1 / -1;
  }

  .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 {
    grid-template-columns: repeat(2, 1fr);
    --box-title-size: clamp(.85rem, 3.8vw, .92rem);
    --box-txt-size: clamp(.85rem, 3.8vw, .92rem);
    --box-small-size: clamp(.78rem, 3.5vw, .86rem);
    --box-padding: 10px;
  }

  .six-box>.item:first-child .txt p {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 2px;
  }

  .six-box>.item:first-child .txt p span {
    font-size: var(--box-small-size);
    line-height: 1.5;
  }

  .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;
}

.videoHero {
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
  background: #000;
}

.videoHero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.videoHero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.60);
  pointer-events: none;
}

.videoHero__content {
  position: absolute;
  left: 4%;
  bottom: 72px;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.videoHero__content h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .videoHero {
    height: 520px;
  }

  .videoHero__content {
    bottom: 48px;
    width: 86%;
  }

  .videoHero__content h2 {
    font-size: 28px;
    line-height: 1.25;
  }
}