* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

:root {
  --general-dark-pink: #583440;
  --general-pink: #fc87b3;
  --general-dark-red: #921220;
  --general-red: #ce2f45;
  --general-plain-red: #c76c78;

  --family-dark-pink: #583440;
  --family-pink: #e67191;
  --family-dark-red: #821220;
  --family-red: #f15a25;

  --family-plain-red: #8d4242;
  --family-plain-orange: #e58f71;

  --family-yellow: #ffcc33;
  --family-purple: #563e95;
  --family-orange: #f37543;
  --family-green: #1f938b;
  --family-plain-green: #2cbab0;
}

/* 修正手機版點開表單時被鍵盤畫面頂到上面 */
html,
body {
  -webkit-overflow-scrolling: touch !important;
  overflow: auto !important;
}

/* common */
section {
  position: relative;
}

.section-title {
  display: block;
  text-align: center;
  margin-bottom: 1rem;
}

.section-title > img {
  width: 80%;
  max-width: 350px;
}

.text-pink {
  color: var(--general-pink) !important;
}

.bg-pink {
  background-color: var(--general-pink) !important;
}

.btn.btn-pink {
  background-color: var(--general-pink);
  color: #fff;
}

.btn.btn-pink:hover,
.btn.btn-pink:active,
.btn.btn-pink:focus {
  background-color: var(--general-dark-pink);
  box-shadow: none;
  outline: none;
}

.custom-accordion {
}

.custom-accordion .card {
  border: none;
  background: none;
}

.custom-accordion .card .card-header {
  padding: 0;
  margin: 0;
  border: none;
  background-color: #583440;
  border-radius: 0;
}

.custom-accordion .card:nth-child(2n) .card-header {
  background-color: #4d2734;
}

.custom-accordion .card .card-header > button.btn {
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.custom-accordion .card .card-header > button.btn:focus {
  outline: none;
  box-shadow: none;
}

.custom-accordion .card .card-header > button.btn .title {
  font-size: 1.2rem;
  text-align: left;
  padding-left: 2rem;
  text-indent: -36px;
}

.custom-accordion .card .card-header > button.btn .minus {
  display: block;
}

.custom-accordion .card .card-header > button.btn .plus {
  display: none;
}

.custom-accordion .card .card-header > button.btn.collapsed .minus {
  display: none;
}

.custom-accordion .card .card-header > button.btn.collapsed .plus {
  display: block;
}

.custom-accordion .card .card-header > button.btn .minus,
.custom-accordion .card .card-header > button.btn .plus,
.custom-accordion .card .card-header > button.btn.collapsed .minus,
.custom-accordion .card .card-header > button.btn.collapsed .plus {
  margin-left: 1rem;
}

.custom-accordion .card .card-body {
  backdrop-filter: saturate(0.5);
  padding: 0.8rem 1.8rem;
  color: #fff;
}

/* nav */
.general-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--general-dark-pink);
  z-index: 10;
}

.general-nav:not(.nowTop) {
  box-shadow: 0 1px 6px 0px #3304099c;
}

.general-nav .navbar-toggler:focus {
  outline: none;
}

.general-nav .navbar-toggler .down {
  display: none;
}

.general-nav .navbar-toggler .up {
  display: inherit;
}

.general-nav .navbar-toggler.collapsed .down {
  display: inherit;
}

.general-nav .navbar-toggler.collapsed .up {
  display: none;
}

.general-nav .navbar-collapse {
  justify-content: center;
}

.general-nav .nav-item {
  position: relative;
}

.general-nav .nav-item .nav-link {
  position: relative;
  color: var(--general-pink);
  font-size: 1.2rem;
  padding: 0.5rem 1.5rem;
  transition: color 0.4s ease;
}

.general-nav .nav-item:hover .nav-link,
.general-nav .nav-item.active .nav-link {
  color: black;
}

.general-nav .nav-item .nav-link-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.general-nav .nav-item:hover .nav-link-bg,
.general-nav .nav-item.active .nav-link-bg {
  opacity: 1;
}

.general-nav .nav-share-link {
  color: var(--general-pink);
  transition: color 0.4s ease;
  /* border-radius: 50%; */
  display: block;
  padding: 3px 0;
  overflow: hidden;
}

.general-nav .nav-share-link:hover {
  color: #fff;
}

.general-nav .navbar-brand > img {
  display: none;
}

@media (max-width: 991px) {
  .general-nav ul.navbar-nav {
    align-items: center;
  }
}

@media (max-width: 576px) {
  .general-nav.navbar {
    /* padding: 13px 3px; */
    justify-content: flex-end;
  }

  .general-nav .navbar-toggler {
    padding: 13px 3px;
  }

  .general-nav .navbar-brand {
    position: absolute;
    left: 50%;
    top: 5px;
    transform: translate(-50%, 0);
  }

  .general-nav .navbar-brand > img {
    display: block;
    height: 40px;
  }
}

/* main */
main {
  overflow: hidden;
  background-color: #510b12;
}

.all-main-bg {
  position: fixed;
  display: block;
  width: 100%;
  height: 100vh;
  left: 0;
  top: 0;
  object-fit: cover;
  z-index: 0;
}

/* main visual */
.main-visual {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.main-visual .main-bg {
  width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: cover;
}

@keyframes mainTitle {
  0% {
    opacity: 0;
    filter: blur(10px);
  }

  70% {
    /* opacity: 1; */
    filter: blur(0px);
  }

  100% {
    opacity: 1;
    /* filter: blur(0px); */
  }
}

.main-visual .main-title {
  position: absolute;
  animation-name: mainTitle;
  animation-duration: 2s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.69, 0, 1, 1);
  animation-delay: 1.8s;
  animation-iteration-count: 1;
  animation-direction: normal;
}

.main-visual .main-title > img {
  max-width: 100%;
  max-height: 100%;
}

.main-visual .main-title::after {
  /* position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,
    transparent 0%,
    white 50%,
    transparent 100%);
  content: ''; */
}

.main-visual .main-sub-title {
  position: absolute;
  width: 4%;
  right: 10%;
  top: 60%;

  animation-name: mainTitle;
  animation-duration: 2s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.69, 0, 1, 1);
  animation-delay: 5s;
  animation-iteration-count: 1;
  animation-direction: normal;
}

.main-visual .main-scroll {
  position: absolute;
  top: 0px;
  left: 10%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(0deg, #651e24, #2a0a0b);
  padding: 20px;

  animation-name: mainTitle;
  animation-duration: 2s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.69, 0, 1, 1);
  animation-delay: 3.5s;
  animation-iteration-count: 1;
  animation-direction: normal;
}

@keyframes bgtest {
  0% {
    background-position: 50% 50%;
  }

  100% {
    background-position: 50% 250%;
  }
}

.main-visual .main-scroll::after {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    black 0%,
    #884a4a 45%,
    #b17272 50%,
    #8c5e5e 55%,
    black 100%
  );
  content: '';
  mix-blend-mode: color-dodge;
  background-size: 100% 200%;

  animation: bgtest 4s infinite linear;
}

.main-visual .main-scroll > span {
  color: #fff;
  text-shadow: 1px 1px 0 #f00;
  font-size: 1.8rem;
}

@keyframes hiroin {
  0% {
    opacity: 0;
    filter: brightness(10);
    transform: translate(-60%, 0);
  }

  80% {
    opacity: 1;
    filter: brightness(1);
  }

  100% {
    transform: translate(-50%, 0);
  }
}

@keyframes hiroin2 {
  0% {
    opacity: 0;
    filter: brightness(10);
    transform: translate(-60%, 0);
  }

  80% {
    opacity: 1;
    filter: brightness(1);
  }

  100% {
    transform: translate(-50%, 0);
  }
}

.main-visual .main-hiroin {
  position: absolute;
  width: 40%;
  left: 10%;
  bottom: 0;

  animation-name: hiroin;
  animation-duration: 1.5s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.69, 0, 1, 1);
  animation-delay: 0;
  animation-iteration-count: 1;
  animation-direction: normal;
}

@keyframes syujinkou {
  0% {
    opacity: 0;
    filter: brightness(10);
    transform: translate(10%, 0);
  }

  80% {
    opacity: 1;
    filter: brightness(1);
  }

  100% {
    transform: translate(0, 0);
  }
}

.main-visual .main-syujinkou {
  position: absolute;
  width: 40%;
  left: 34%;
  bottom: 0;

  animation-name: syujinkou;
  animation-duration: 1.5s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.69, 0, 1, 1);
  animation-delay: 1s;
  animation-iteration-count: 1;
  animation-direction: normal;
}

.main-visual .main-character {
  position: absolute;
  max-width: 90%;
  max-height: 95%;
  left: 45%;
  bottom: 0;
  animation-name: hiroin;
  animation-duration: 1.5s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.69, 0, 1, 1);
  animation-delay: 0.5s;
  animation-iteration-count: 1;
  animation-direction: normal;
}

.main-visual .scroll_tip_wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 10%;
  color: #562336;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  opacity: 0;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  z-index: 100;

  animation-name: ani_scroll;
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.69, 0, 1, 1);
  animation-delay: 5s;
  animation-iteration-count: 1;
  animation-direction: normal;
}

.scroll_tip_wrapper a {
  color: #562336;
  text-decoration: none;
}

@keyframes ani_scroll {
  0% {
    opacity: 0;
    filter: brightness(10);
  }

  50% {
    opacity: 0.5;
    filter: brightness(5);
  }

  100% {
    opacity: 1;
    filter: brightness(1);
  }
}

.main-visual .scroll_tip {
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  width: 100%;
  height: 100vh;
}

.main-visual .scroll_tip_el {
  position: relative;
  width: 0.1rem;
  height: 6rem;
  margin-top: 1rem;
  overflow: hidden;
}

.main-visual .scroll_tip_el::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #562336;
  -webkit-animation: scroller 2s cubic-bezier(0.39, 0.575, 0.565, 1) infinite;
  animation: scroller 2s cubic-bezier(0.39, 0.575, 0.565, 1) infinite;
  content: '';
}

@-webkit-keyframes scroller {
  0% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  100% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
}

@keyframes scroller {
  0% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  100% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
}

@media (min-width: 576px) and (max-width: 991px) {
}

@media (min-width: 576px) {
  .main-visual .main-title {
    right: 5%;
    top: 5%;
    /* width: 25%; */
    height: 70%;
  }
}

@media (max-width: 575px) {
  .main-visual .main-scroll {
    display: none;
  }

  .main-visual .main-title {
    left: 5%;
    top: 7%;
    width: 80%;
  }

  .main-visual .main-character {
    width: initial;
    /* height: 60%; */
    max-height: 70%;
    max-width: initial;
    left: 60%;
    bottom: 0;

    animation-name: hiroin2;
    animation-duration: 1.5s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.69, 0, 1, 1);
    animation-delay: 0.5s;
    animation-iteration-count: 1;
    animation-direction: normal;
  }
}
/* push */
.push-msg {
  background-color: #000;
  padding: 1rem 0;
}

.msg {
  color: #cb2e43;
  margin-bottom: 0;
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 2px;
}

@media (min-width: 576px) and (max-width: 991px) {
  .msg {
    font-size: 1.4rem;
  }
}

@media (max-width: 575px) {
  .msg {
    font-size: 1.3rem;
  }
}

/* video */
.video {
  padding: 6rem 0;
}

.video-block > iframe {
  min-height: 200px;
  max-height: 600px;
  max-width: 1024px;
  height: 60vw;
}

.game-desc {
  color: #fff;
  display: block;
  margin: 0 auto;
  max-width: 700px;
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 4rem;
}

.game-desc .sm-only {
  display: none;
}

.sword-hr {
  display: block;
  margin: 0 auto;
  max-width: 400px;
  width: 80%;
  margin-bottom: 4rem;
}

@media (min-width: 576px) and (max-width: 991px) {
  .game-desc {
    font-size: 1.4rem;
  }
}

@media (max-width: 575px) {
  .video {
    padding: 3rem 0;
  }

  .game-desc {
    font-size: 1.4rem;
  }

  .game-desc .sm-only {
    display: inherit;
  }
}

/* intro */
.intro {
  padding: 6rem 0;
}

.intro-img {
  width: 90%;
  max-width: 600px;
}

.intro-text {
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  line-height: 1.8;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 5px black;
}

.intro-deco-img {
  display: block;
  margin: 0 auto;
  max-width: 150px;
}

@media (min-width: 576px) and (max-width: 991px) {
  .intro-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 575px) {
  .intro {
    padding: 3rem 0;
  }

  .intro-text {
    font-size: 1rem;
  }
}

/* event */
.event {
  padding: 4rem 0;
}

.event-card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-card {
  max-width: 700px;
  position: relative;
  margin-bottom: 1rem;
}

.event-card-bg {
  width: 100%;
}

.event-card-pic {
  position: absolute;
  top: 7%;
  left: 3%;
  width: 30%;
  height: 88%;
}

.event-card-pic-content {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card-pic-border {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.event-card-content {
  position: absolute;
  width: 53%;
  left: 40%;
  height: 83%;
  top: 9%;
}

.event-card-content-title {
  color: #fff;
  font-weight: bold;
  font-size: 2.2rem;
  margin: 0.5rem 0 1.5rem;
}

.event-card-content-title > span {
  color: #cf2f46;
}

.event-card-content-desc {
  color: #fff;
  font-size: 1.5rem;
}

.event-card-deco {
  position: absolute;
  width: 30%;
  right: 2%;
}

.event-card-deco.up {
  top: 5%;
}

.event-card-deco.down {
  bottom: 5%;
}

@media (min-width: 576px) and (max-width: 767px) {
  .event-card-content-title {
    font-size: 1.2rem;
  }

  .event-card-content-desc {
    font-size: 1rem;
  }
}

@media (max-width: 575px) {
  .event-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
  }

  .event-card-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }

  .event-card-pic {
    position: relative;
    flex: 0 0 30%;
    left: inherit;
    top: inherit;
    width: inherit;
    height: inherit;
  }

  .event-card-content {
    position: relative;
    flex: 0 0 70%;
    left: inherit;
    top: inherit;
    width: inherit;
    height: inherit;
    padding: 0 10px;
  }

  .event-card-content-title {
    font-size: 1.2rem;
    margin: 0.5rem 0 0.5rem;
  }

  .event-card-content-desc {
    font-size: 1rem;
  }
}

/* howto */
.howto {
  padding: 4rem 0;
}

.howto-card {
  position: relative;
  overflow: hidden;
}

.howto-card-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 15px 25px;
  transform: translate(0, 0);
  transition: transform 1s cubic-bezier(0.32, -0.46, 0.88, 0.4);
}

.howto-card-content > span {
  cursor: pointer;
}

.howto-card-content-number {
  position: absolute;
  left: 4%;
  top: 0;
  font-size: 2.2rem;
  color: #584257;
}

.howto-card-content-img {
  height: 40%;
  display: block;
  margin-bottom: 1rem;
}

.howto-card-content-title {
  color: var(--general-pink);
  font-size: 2rem;
}

.howto-card-content-div {
  width: 100%;
  color: #fff;
  font-size: 1.2rem;
}

.howto.fired .howto-card-content {
  transform: translate(0, -100%);
}

.howto-card-content.spe {
  background-color: #0006;
  justify-content: center;
  transform: translate(0, 100%);
}

.howto-card-content.spe .howto-card-content-number {
  color: #fff;
}

.howto-card-content.spe .howto-card-content-img {
}

.howto-card-content.spe .howto-card-content-title {
}

.howto-card-content.spe .howto-card-content-div {
}

.howto.fired .howto-card-content.spe {
  transform: translate(0, 0);
}

.modal.spe .modal-content {
  background-color: transparent;
  border: solid 1px #fff;
}

.modal.spe .modal-body {
  color: #fff;
  padding: 1.5rem;
}

@media (min-width: 425px) and (max-width: 991px) {
  .howto-card-content-img {
    height: 30%;
  }

  .howto-card-content-number {
    font-size: 1.4rem;
  }

  .howto-card-content-title {
    font-size: 1.5rem;
  }

  .howto-card-content-div {
    font-size: 1rem;
  }
}

@media (max-width: 424px) {
  .howto {
    padding: 2rem 0;
  }

  .howto-card-content-img {
    height: 30%;
  }

  .howto-card-content-number {
    font-size: 1.4rem;
  }

  .howto-card-content-title {
    font-size: 1.2rem;
  }

  .howto-card-content-div {
    font-size: 0.8rem;
  }
}

/* reg */
.reg {
  padding: 4rem 0;
}

.reg-table {
  overflow-x: auto;
  white-space: nowrap;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 0.5rem;
}

.reg-table-date {
  margin: 1rem 0.5rem 0rem 0;
  border: solid 1px #444;
  background-color: #fff;
  padding: 0.7rem;
  text-align: center;
  font-size: 1.2rem;
  color: #444;
  letter-spacing: 2px;
  font-weight: bold;
}

.reg-table-times {
  margin: 1rem 0.5rem 0rem 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.reg-table-time {
  padding: 0.2rem;
}

.btn.reg-btn:hover,
.btn.reg-btn:focus {
  outline: none;
  box-shadow: none;
}

.btn.reg-btn {
  width: 100%;
  border-radius: 0;
  background-color: var(--family-orange);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.btn.reg-btn:hover {
  background-color: var(--family-plain-orange);
}

.btn.reg-btn.reg-btn-less {
  background-color: var(--general-red);
}

.btn.reg-btn.reg-btn-less:hover {
  background-color: var(--general-plain-red);
  color: white;
}

.btn.reg-btn.reg-btn-less:hover,
.btn.reg-btn.reg-btn-less:focus {
}

.btn.reg-btn[disabled]:hover,
.btn.reg-btn[disabled] {
  background-color: var(--general-dark-red);
}

.reg-countdown-container {
  display: flex;
  justify-content: space-between;
}

.reg-countdown-card {
  width: 100%;
  max-width: 150px;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #0000008c;
  color: #fff;
}

.reg-countdown-card .number {
  font-size: 2.5rem;
  letter-spacing: 3px;
}

.reg-countdown-card .unit {
}

.reg-unlock-container {
  color: #fff;
}

.reg-unlock-container hr {
  border-color: #fff;
}

.reg-unlock-title {
  color: var(--general-pink);
  font-size: 1.8rem;
  margin: 0;
}

.reg-unlock-amount {
  color: #fff;
  font-size: 1.8rem;
  margin: 0;
}

.reg-unlock-amount .number {
  font-size: 3rem;
}

/* .reg-unlock-process-container {
  padding: 1.5rem 0;
} */

.reg-unlock-process-card {
  position: relative;
  height: 220px;
  border: solid 1px var(--general-pink);
  margin-top: 3rem;
}

.reg-unlock-process-card .header {
  position: absolute;
  width: 100%;
  top: 0;
  color: #fff;
  background-color: var(--general-pink);
  padding: 0.5rem;
  z-index: 2;
}

.reg-unlock-process-card .header > p {
  margin: 0;
  font-size: 1.4rem;
}

.reg-unlock-process-card .header p.amount {
  font-size: 2rem;
}

.reg-unlock-process-card img {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  height: 160px;
  padding: 1rem;
}

.reg-unlock-process-card .prize_img > img {
  width: 85%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
}

.reg-unlock-process-card .reach {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-35px, -50%);
  max-width: 120px;
  height: 70px;
  display: none;
}

.reg-unlock-process-card.active .reach {
  display: block;
  z-index: 20;
}

.reg-unlock-process-card .process-card-detail {
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  color: white;
  background: var(--general-pink);
  position: absolute;
  top: 0%;
  left: 0;
  width: 100%;
  height: 0;
  opacity: 0;
  z-index: 1;

  padding: 1rem;
  flex-direction: column;
  justify-content: end;
  transition: all 0.3s ease-in-out;
}

.reg-unlock-process-card:hover .process-card-detail {
  height: 100%;
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

.reg-unlock-process-card .process-card-detail h3,
.reg-unlock-process-card .process-card-detail h5,
.reg-unlock-process-card .process-card-detail p {
  opacity: 0;
  transition: all 0.1s ease-out;
  pointer-events: none;
}

.reg-unlock-process-card:hover .process-card-detail h3,
.reg-unlock-process-card:hover .process-card-detail h5,
.reg-unlock-process-card:hover .process-card-detail p {
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(1, 0.12, 0.55, 0.55);
}

select.reg_form_option {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

#regModal .form-control:hover,
#regModal select.reg_form_option:hover {
  border: 1px solid darkslategray;
}

#regModal .form-group {
  margin-bottom: 0;
}

#regModal .modal-body {
  padding: 2rem;
}

#regModal .modal-footer,
#regModal .modal-header {
  padding: 1rem 2rem;
}

#member_type {
  position: relative;
}

/* #member_type::before {
  width: 25px;
  height: 25px;
  content: url('https://api.iconify.design/bx/bxs-chevron-down.svg?color=%236c757d&height=25');
  position: absolute;
  top: 54%;
  right: 0.5rem;
} */

@media (min-width: 768px) {
  .flickity-button {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .reg-countdown-card {
    max-width: 130px;
    padding: 1rem 0;
  }

  .reg-unlock-process-card .prize_img > img {
    width: 45%;
    height: 100%;
    object-fit: contain;
    z-index: 0;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .reg-table {
    /* overflow-x: scroll; */
    /* margin-left: 50px;
    margin-right: 50px; */
  }

  .reg-table-col {
    width: 60%;
  }

  .reg-countdown-card {
    max-width: 100px;
    padding: 1rem 0;
  }

  .reg-countdown-card .number {
    font-size: 2rem;
  }

  .reg-unlock-process-card .prize_img > img {
    width: 55%;
  }
}

@media (max-width: 575px) {
  .custom-accordion .card .card-header > button.btn {
    padding: 0.5rem 1rem;
  }

  .custom-accordion .card .card-header > button.btn .title {
    font-size: 1rem;
    text-indent: -30px;
  }
}

@media (max-width: 575px) {
  .reg-table {
    /* overflow-x: scroll; */
    /* margin-left: 50px;
    margin-right: 50px; */
  }

  .reg-table-date {
    padding: 0.7rem 0.5rem;
    letter-spacing: 1px;
    font-size: 1.2rem;
  }

  .reg-table-col {
    width: 100%;
  }

  .reg-table-times {
    flex-wrap: wrap;
    /* height: 80vh; */
  }

  .reg-table-time {
    /* height: 20%; */
  }

  .reg-table-time .btn.reg-btn {
    height: 100%;
  }

  .reg-unlock-process-card {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .reg-countdown-card {
    max-width: inherit;
  }

  .reg-countdown-card .number {
    font-size: 2rem;
  }
}

/* prize */
.prize {
  padding: 4rem 0;
}

.prize-slogan {
  color: #fff;
  font-size: 2rem;
  text-align: center;
}

.prize-card-row {
  /* width: 100%; */
  margin-left: -15px;
  margin-right: -15px;
}

.prize-card-col {
  width: 33.33%;
  padding: 15px;
}

.prize-card {
  position: relative;
  display: flex;
  width: 100%;
  border-width: 1px;
  border-color: #fced20;
  border-style: solid;
  transition: border-color 0.4s ease, color 0.4s ease;
  color: #fced20;

  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #0006;
  padding: 1rem 1.5rem;
}

.prize-card:hover {
  border-color: #f15a25;
  color: #f15a25;
  text-decoration: none;
}

.prize-card .prize-img {
  width: 100%;
}

.prize-card .prize-img > div {
  position: relative;
  padding-top: 75%;
}

.prize-card .prize-img > div > img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: contain;
}

.prize-card .prize-name {
  font-size: 2.5rem;
  font-weight: 1000;
  font-style: italic;
  margin: 0;
}

@media (max-width: 767px) {
  .prize-card-row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .prize-card-col {
    width: 90%;
    padding: 15px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .prize-card .prize-name {
    font-size: 1.8rem;
  }
}

@media (min-width: 578px) and (max-width: 767px) {
  .prize-card .prize-name {
    font-size: 1.8rem;
  }
}

@media (max-width: 575px) {
  .prize-card {
    max-width: 300px;
    margin: 0 auto;
  }

  .prize-card .prize-name {
    font-size: 1.4rem;
  }
}

/* notice */
.notice {
  padding: 4rem 0;
}

@media screen and (min-width: 576px) and (max-width: 991px) {
}

@media (max-width: 575px) {
  .notice {
    padding: 2rem 0;
  }
  .reg-unlock-process-card .prize_img > img {
    width: 55%;
  }
  .reg-unlock-process-card .prize_img img.gift {
    width: 50%;
  }
}

/* faq */
.faq {
  padding: 4rem 0;
}

@media (max-width: 575px) {
  .faq {
    padding: 2rem 0;
  }
}

/* logos */
.logos {
  padding: 4rem 0;
}

@media (min-width: 576px) and (max-width: 991px) {
}

@media (max-width: 575px) {
  .logos {
    padding: 2rem 0;
  }
}

/* fixed buy btn */
.fixed-buy-link {
  display: block;
  position: fixed;
  width: 200px;
  bottom: 0;
  right: 0;
  padding: 5px;
  transition: transform 0.2s ease;
  transform: translate(0, 100%);
  color: #fff;
}

.fixed-buy-link:hover {
  color: #fff;
  text-decoration: none;
}

.fixed-buy-link.active {
  transform: translate(0, 0);
}

.fixed-buy-link > img {
  width: 100%;
}

.fixed-buy-link img.normal {
  display: block;
}

.fixed-buy-link img.hover,
.fixed-buy-link img.clicked {
  display: none;
}

.fixed-buy-link:hover img.normal,
.fixed-buy-link:focus img.normal {
  display: none;
}

.fixed-buy-link:hover:not(:focus) img.hover {
  display: block;
}

.fixed-buy-link:focus img.clicked {
  display: block;
}

.fixed-buy-link > p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  white-space: nowrap;
  letter-spacing: 2px;
}

@media (min-width: 576px) and (max-width: 991px) {
  .fixed-buy-link {
    width: 150px;
  }

  .fixed-buy-link > p {
    font-size: 1.4rem;
    letter-spacing: 2px;
  }
}

@media (max-width: 575px) {
  .fixed-buy-link {
    width: 100px;
  }

  .fixed-buy-link > p {
    font-size: 1rem;
  }
}

.prizeInfo .modal-content .modal-body {
  width: 40vw;
  background: #721c24;
  padding: 2rem;
  padding-bottom: 1rem;
}

.prizeInfo .close_btn {
  color: white;
  position: absolute;
  right: 0.5rem;
  top: 0rem;
  font-size: 2rem;
  z-index: 1000;
}

.prizeInfo .prize_slider {
  border: 1px solid red;
}

.prizeInfo .flickity-button {
  display: block;
}

.prizeInfo .carousel-item {
  height: 400px;
}

.prizeInfo .carousel-item .prize_img_container {
  height: 80%;
  width: 100%;
  background-position: top center;
  background-size: contain;
  background-repeat: no-repeat;
}

.prizeInfo .carousel-item .carousel-caption {
  padding: 0;
  bottom: 0;
}

.prizeInfo .carousel-indicators {
  padding: 0;
  bottom: -2rem;
}

.prizeInfo .carousel-control-prev,
.prizeInfo .carousel-control-next {
  width: auto;
}

button.carousel-control-prev,
button.carousel-control-next {
  border: none;
  background: transparent;
}

.modal-content {
  width: auto;
}

@media (min-width: 576px) and (max-width: 991px) {
  .prizeInfo .modal-content .modal-body {
    width: 60vw;
  }
}

@media (max-width: 575px) {
  .prizeInfo .modal-content .modal-body {
    overflow: hidden;
    padding: 0;
    width: 90vw;
  }
  .prizeInfo .carousel-item .prize_img_container {
    margin: 0 auto;
    background-position: top center;
    height: 350px;
    max-width: 280px;
  }
  .prizeInfo .carousel-item {
    padding: 2rem;
  }
}

.custom_input_border {
  border: 1px solid #ced4da;
  border-radius: 5px;
}

/* collaboration */
.collaboration {
  background-color: #f3e3cc;
  padding: 3rem 0;
}

.collaboration-title {
  font-weight: 1000;
  font-size: 3rem;
  padding-left: 2rem;
  padding-bottom: 0.5rem;
  color: #984949;
  border-bottom: solid 4px #984949;
  margin-bottom: 2.5rem;
}

.collaboration-shops {
  transition: all 0.4s ease;
  color: #fff;
  display: block;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.collaboration-shops:hover,
.collaboration-shops:focus {
  text-decoration: none;
  color: var(--general-pink);
}

.collaboration-shops .pic {
  position: relative;
  padding-top: 75%;
  margin-bottom: 0.5rem;
  transition: transform 0.2s ease;
  overflow: hidden;
  border: solid 6px #fff;
  border-radius: 2px;
}

.collaboration-shops:hover .pic {
  /* transform: translate(0, 5px); */
}

.collaboration-shops .pic > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border: solid 6px #fff; */
  /* border-radius: 2px; */
  transition: transform 0.2s ease;
  /* box-shadow: -2px 2px 3px #aaa; */
}

.collaboration-shops:hover .pic > img {
  transform: scale(1.05);
}

.collaboration-shops .info {
  padding-left: 0.5rem;
}

.collaboration-shops .info > p {
  margin-bottom: 0.2rem;
  transition: opacity 0.4s ease;
  opacity: 0.7;
  font-size: 0.7rem;
}

.collaboration-shops:hover .info > p {
  opacity: 1;
}

.collaboration-shops .info > p > span {
  display: inline-block;
  padding-left: 0.4rem;
}

.collaboration-shops .info > h3 {
  font-size: 1.5rem;
  font-weight: 1000;
  margin-bottom: 0.3rem;
}

@media screen and (max-width: 991px) {
  /* width */
  .reg-table::-webkit-scrollbar {
    border-radius: 1rem;
    height: 15px;
  }

  /* Track */
  .reg-table::-webkit-scrollbar-track {
    border-radius: 1rem;
    background: #f7b5bc;
  }

  /* Handle */
  .reg-table::-webkit-scrollbar-thumb {
    border-radius: 1rem;
    background: brown;
  }

  /* Handle on hover */
  .reg-table::-webkit-scrollbar-thumb:hover {
    background: darkred;
  }
}
