@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC&family=Noto+Serif+TC:wght@200..900&display=swap");
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Yuji Syuku", serif;
  font-style: normal;
  overflow-x: hidden;
  background: black;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-image: url("../images/web/fixedbar_bg.png");
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 1%;
  padding: 7px 1rem;
  z-index: 10;
}
nav a {
  position: relative;
  display: block;
  flex: 1;
  max-width: 397px;
  aspect-ratio: 397/73;
  transition: 0.3s ease all;
  background-position: center;
  background-size: contain;
}
nav a:nth-of-type(1) {
  background-image: url("../images/web/bt-off.png");
}
nav a:nth-of-type(1).act {
  background-image: url("../images/web/bt-on.png");
}
nav a:nth-of-type(2) {
  background-image: url("../images/web/bt2-off.png");
}
nav a:nth-of-type(2).act {
  background-image: url("../images/web/bt2-on.png");
}
nav a:nth-of-type(3) {
  background-image: url("../images/web/bt3-off.png");
}
nav a:nth-of-type(3).act {
  background-image: url("../images/web/bt3-on.png");
}
nav a:nth-of-type(4) {
  background-image: url("../images/web/bt4-off.png");
}
nav a:nth-of-type(4).act {
  background-image: url("../images/web/bt4-on.png");
}
nav a:hover {
  opacity: 0.8;
}

.sns {
  position: fixed;
  right: 1%;
  top: 8rem;
  width: 5rem;
  z-index: 20;
}
.sns a {
  display: block;
  margin: 10px auto;
  transition: 0.3s ease all;
}
.sns a:hover {
  opacity: 0.8;
}

section {
  position: relative;
  width: 100%;
  aspect-ratio: 1920/1080;
}

section.top {
  padding: 0;
}
section.top img.bg,
section.top img.mb-bg {
  position: absolute;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: -1;
}
section.top .mb-bg {
  display: none;
}
section.top div {
  width: 100%;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.race {
  background: url("../images/web/bg/BG_02.webp");
  background-size: contain;
}

.host {
  background: url("../images/web/bg/BG_03.webp");
  background-size: contain;
}

.gift {
  background: url("../images/web/bg/BG_04.webp");
  background-size: contain;
}

.online {
  background: url("../images/web/bg/BG_05.webp");
  background-size: contain;
}

.beer {
  background: url("../images/web/bg/BG_06.webp");
  background-size: contain;
}

.collab {
  background: url("../images/web/bg/BG_07.webp");
  background-size: contain;
}

.history {
  background: url("../images/web/bg/BG_08.webp");
  background-size: contain;
}

.honor {
  background: url("../images/web/bg/BG_09.webp");
  background-size: contain;
}

.rules {
  background: url("../images/web/bg/BG_10.webp");
  background-size: contain;
}

section {
  padding: 3.5vw 0 0 0;
}
section .title {
  width: 45%;
  padding: 4.5% 0;
  margin: 0 auto;
}
section .mb-title {
  display: none;
}

.top img.title {
  width: 90%;
  padding: 0;
}

.popup {
  display: none;
  position: fixed;
  height: 100dvh;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 20;
}
.popup.active {
  display: flex;
}

.race {
  position: relative;
}
.race .title {
  width: 45%;
  min-width: 300px;
  margin: 0 auto;
  padding: 2.5% 0;
}
.race .events {
  display: flex;
  justify-content: center;
  gap: 6%;
}
.race .events > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.race .events .left .title-sm {
  width: 100%;
  min-width: 12vw;
}
.race .events .left .nt-title {
  width: 60%;
  aspect-ratio: 526/136;
}
.race .events .left .s-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5%;
}
.race .events .left .event-button {
  position: relative;
  width: 50%;
  overflow: hidden;
  transition: 0.3s ease all;
  cursor: pointer;
}
.race .events .left .event-button:hover {
  translate: 0 -10px;
}
.race .events .right {
  gap: 1.5%;
  position: relative;
}
.race .events .right .title-sm {
  width: 60%;
}
.race .events .right .frame {
  position: relative;
  width: 100%;
}
.race .events .right .frame .mb-bg {
  display: none;
}
.race .events .right .frame .content {
  position: absolute;
  width: 80%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.race .events .right .frame .content .custom-info {
  width: 100%;
  color: #392d24;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-top: 15%;
}
.race .events .right .frame .content .custom-info .select {
  display: flex;
}
.race .events .right .frame .content .custom-info .select p {
  font-size: 1.5rem;
}
.race .events .right .frame .content .custom-info .select .select-container {
  pointer-events: none;
  position: relative;
}
.race .events .right .frame .content .custom-info .select .select-container .select-trigger {
  position: relative;
  border: 1px solid #414141;
  background-color: #fff;
  width: 12rem;
  height: 2.2rem;
  display: flex;
  padding-left: 0.25rem;
}
.race .events .right .frame .content .custom-info .select .select-container .select-trigger .drop-icon {
  position: absolute;
  right: 0;
  width: 2rem;
}
.race .events .right .frame .content .custom-info .select .select-container .select-trigger .drop-icon img.arrow {
  position: absolute;
  right: 0;
  top: 0;
  transition: transform 0.2s;
}
.race .events .right .frame .content .custom-info .select .select-container .select-trigger .drop-icon img.arrow.drop {
  transform: rotate(180deg);
}
.race .events .right .frame .content .custom-info .select ul {
  display: none;
  position: absolute;
  top: 100%;
  width: 100%;
  border: 1px solid #414141;
}
.race .events .right .frame .content .custom-info .select ul li {
  list-style: none;
  background-color: #fff;
  font-size: 1.5rem;
}
.race .events .right .frame .content .custom-info .tel-input {
  display: flex;
}
.race .events .right .frame .content .custom-info .tel-input p {
  font-size: 1.5rem;
}
.race .events .right .frame .content .custom-info .tel-input .tel-number {
  width: 12rem;
  background-color: #fff;
  border: 1px solid #414141;
  display: flex;
  align-items: center;
}
.race .events .right .frame .content .custom-info .tel-input .tel-number span {
  font-size: 1.25rem;
  font-family: Roboto, "Microsoft YaHei", SimHei, sans-serif;
}
.race .events .right .frame .content .custom-info .tel-input .tel-number input {
  outline: none;
  border: none;
  background-color: transparent;
  padding-left: 0.25rem;
  font-size: 1.25rem;
}
.race .events .right .frame .content .custom-info button {
  margin-top: 1rem;
  transition: 0.3s ease all;
  cursor: pointer;
}
.race .events .right .frame .content .custom-info button:hover {
  translate: 0 -5px;
}
.race .events .right .frame .content .vote-notice {
  margin-top: 7%;
}
.race .events .right .frame .content .vote-notice h4 {
  font-weight: 500;
  font-size: clamp(0.8rem, 1.3vw, 1.5rem);
  color: rgba(239, 218, 162, 0.9333333333);
}
.race .events .right .frame .content .vote-notice ol {
  padding-left: 1%;
  color: #efefef;
  line-height: 1.8;
}
.race .events .right .frame .content .vote-notice ol li {
  font-size: clamp(0.8vw, 1.15vw, 1.2rem);
}
.race .events .right .frame .content .vote-notice ol span {
  color: rgba(239, 218, 162, 0.9333333333);
}

.event-details {
  align-items: center;
  justify-content: center;
}
.event-details .popup-content {
  position: relative;
  width: 98vw;
  max-width: 839px;
}
.event-details .popup-content img {
  height: 100%;
  max-height: 98vh;
  -o-object-fit: contain;
     object-fit: contain;
}
.event-details .popup-content .content {
  width: 50%;
  height: 100%;
  position: absolute;
  top: 35%;
  left: 58%;
  transform: translateX(-50%);
  text-align: center;
}
.event-details .popup-content .content p {
  color: #392d24;
  font-size: clamp(0.8rem, 1.125vw, 1.2rem);
  font-weight: 500;
  line-height: 1.8;
}
.event-details .popup-content .content p span {
  color: #c37b33;
}
.event-details .popup-content .content h4 {
  color: #a22e2e;
  padding: 1% 0;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
}

.event-vote {
  display: none;
  justify-content: center;
  align-items: center;
}
.event-vote .popup-content {
  position: relative;
  margin: 0 2%;
}
.event-vote .popup-content p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: clamp(0.9rem, 2vw, 1.5rem);
  letter-spacing: 2px;
}

.host {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.host .title {
  width: clamp(300px, 35%, 625px);
  padding-bottom: 0%;
}
.host .all-hosts {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 1.5%;
  padding-left: 3%;
}
.host .all-hosts div {
  display: flex;
  gap: 1rem;
  flex: 1;
}
.host .all-hosts div:first-of-type {
  justify-content: flex-end;
}
.host .all-hosts a {
  display: block;
  aspect-ratio: 405/657;
  transition: transform 0.3s;
  cursor: pointer;
}
.host .all-hosts a img:nth-child(2) {
  width: 70%;
  margin-left: 7%;
  margin-top: 2%;
}
.host .all-hosts a:hover {
  transform: scale(1.05);
}

.gift .title {
  width: clamp(250px, 22%, 434px);
  padding: 2.4% 0 0 0;
}
.gift .text {
  width: 70%;
  margin: 0 auto;
  padding: 1% 0 2.4% 0;
}
.gift .mb-text {
  display: none;
}
.gift .all-gifts {
  display: flex;
  justify-content: center;
  gap: 3%;
}
.gift .all-gifts .box {
  width: 18%;
}
.gift .all-gifts .location {
  display: flex;
  flex-direction: column;
  gap: 5%;
  align-items: center;
  width: 30%;
}
.gift .all-gifts .location .checkin-button {
  width: 50%;
}
.gift .all-gifts .prize {
  width: 20%;
}
.gift .all-gifts .mb-text {
  display: none;
}

.online {
  height: 100%;
}
.online .title {
  width: clamp(300px, 32%, 622px);
  padding-top: 2%;
  padding-bottom: 1%;
}
.online h4 {
  font-size: clamp(1rem, 1.8vw, 1.8rem);
  font-weight: 600;
  color: #502d2d;
  letter-spacing: 2.5px;
  text-align: center;
}
.online h4 img {
  display: none;
}
.online .title-sm {
  padding: 1% 0;
  margin: 0 auto;
  width: 30%;
}
.online .content {
  display: flex;
  justify-content: center;
  gap: 2%;
}
.online .content > div {
  cursor: pointer;
}
.online .content > div img {
  transition: opacity 0.3s;
}
.online .content > div:hover img {
  transition: opacity 0.3s;
}
.online .content > div:hover img:nth-child(2) {
  opacity: 0;
}
.online .content .checkin-rule, .online .content .event {
  position: relative;
  width: clamp(200px, 25%, 406px);
  aspect-ratio: 406/493;
}
.online .content .checkin-rule img, .online .content .event img {
  position: absolute;
}
.online .content .awards {
  position: relative;
  width: clamp(230px, 28.5%, 461px);
  aspect-ratio: 461/568;
}
.online .content .awards img {
  position: absolute;
  top: -13%;
}
.online .signin-button {
  width: 15%;
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
}

.online-popup {
  display: none;
  justify-content: center;
  align-items: center;
}
.online-popup .popup-content {
  position: absolute;
  width: 40%;
  max-width: 683px;
  aspect-ratio: 683/866;
}

.coming-soon {
  width: 80%;
  max-width: 1200px;
  aspect-ratio: 1420/684;
  margin: -3% auto;
}
.coming-soon .mb {
  display: none;
}

.beer .container {
  position: absolute;
  left: 50%;
  right: 5%;
}
.beer .title {
  width: clamp(350px, 70%, 687px);
  padding: 8% 0 2% 0;
}
.beer .title-sm {
  width: 100%;
  min-width: 350px;
}
.beer .beer-container {
  display: flex;
  align-items: center;
  margin-top: 2%;
  gap: 3%;
}
.beer .beer-container .beers {
  width: 55%;
}
.beer .beer-container .info {
  flex: 1;
}
.beer .beer-container .info img {
  width: 100%;
}
.beer .beer-container .info div {
  width: 70%;
  margin: 0 auto;
  background-image: url("../images/web/beer/arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.beer .beer-container .info div a {
  transition: 0.3s ease all;
  margin: 10% auto 0;
  width: 55%;
  aspect-ratio: 1;
  display: block;
  background-image: url("../images/web/beer/fb.webp");
  background-size: contain;
  background-position: center;
}
.beer .beer-container .info div a:hover {
  opacity: 0.7;
}

.collab {
  display: grid;
  grid-template-columns: 1fr 0.2fr;
}
.collab .title {
  width: clamp(300px, 45%, 638px);
  padding: 2.5% 0 0 0;
}
.collab .title-sm {
  width: clamp(500px, 38%, 816px);
  margin: 0 auto;
  padding-bottom: 1%;
}
.collab .restaurants {
  display: flex;
  justify-content: center;
}
.collab .restaurants .r-name {
  width: 80%;
  margin: 4% auto 0 auto;
}

.history .title {
  width: 38%;
  min-width: 350px;
  margin: 0 auto;
  padding: 0 0 4.5%;
}
.history .container {
  position: relative;
  width: 68%;
  max-width: 1308px;
  aspect-ratio: 1308/824;
  display: flex;
  flex-direction: column;
  margin: -8% auto;
}
.history .container .mb {
  display: none;
}
.history .container form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2vw;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.history .container form div {
  display: flex;
  width: 75%;
}
.history .container form div label {
  color: #502d2d;
  font-weight: 500;
  font-size: clamp(0.9rem, 1.5vw, 2.5rem);
  font-weight: 600;
  text-wrap: nowrap;
  letter-spacing: 2px;
}
.history .container form div input {
  width: 100%;
  border: solid 1px #414141;
  outline: none;
  padding-left: 0.25rem;
  font-size: clamp(0.9rem, 1.5vw, 2.5rem);
  background: #fff;
}
.history .container form p {
  text-align: center;
  font-weight: 600;
  font-size: clamp(8px, 1.1vw, 1.25rem);
  letter-spacing: 3px;
  color: #9d2c2c;
  text-shadow: 0 0 10px #fff, 0 0 10px #fff;
}
.history .container form button {
  margin: 4% auto 0 auto;
  border: none;
  background-color: transparent;
  width: clamp(150px, 60%, 328px);
}

.history-popup {
  display: none;
  justify-content: center;
  align-items: center;
}
.history-popup .popup-content {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  aspect-ratio: 814/846;
}
.history-popup .popup-content .content {
  max-width: 100%;
  width: 55vw;
  aspect-ratio: 814/846;
  background-image: url("../images/web/myhistory/popup.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5%;
  padding: 20% 0 16%;
  justify-content: space-between;
}
.history-popup .popup-content .content div {
  width: 65%;
  overflow-y: scroll;
  max-height: 85%;
  font-size: 1.5vw;
  line-height: 2.5vw;
  font-weight: 600;
  text-shadow: 0 2px 0 #fff;
}
.history-popup .popup-content .content button {
  max-width: 237px;
  width: 40%;
  transition: 0.3s ease all;
}
.history-popup .popup-content .content button:hover {
  opacity: 0.7;
}

.honor .title {
  padding-top: 1%;
  padding-bottom: 1%;
  width: 18%;
}
.honor .all-lists {
  width: 85%;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
}
.honor .all-lists > div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  flex-grow: 1;
}
.honor .all-lists > div .sm-title {
  width: 80%;
  aspect-ratio: 393/56;
}
.honor .all-lists > div .list {
  aspect-ratio: 485/602;
  background-image: url("../images/web/honer/bg.png");
  background-position: center;
  background-size: cover;
  width: 100%;
  flex: 1;
  overflow: hidden;
}
.honor .all-lists > div .list ul {
  width: 55%;
  height: 68%;
  margin: 12% auto 0;
  overflow-y: scroll;
  line-height: 2.25vw;
}
.honor .all-lists > div .list ul li {
  font-size: 1.15vw;
  font-weight: 500;
  text-shadow: 0 0 1px #733a0b, 0 2px 0 #fff;
}

.rules .title {
  width: clamp(300px, 30%, 556px);
  padding: 3% 0;
}
.rules .rule {
  width: 85%;
  margin: 0 auto;
  height: 65%;
  overflow-y: scroll;
  color: white;
  line-height: 280%;
}

footer {
  width: 100%;
  aspect-ratio: 1920/108;
  background: url("../images/web/footer.png") no-repeat bottom left;
  background-size: contain;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  padding-right: 10%;
}
footer a {
  color: #d29b6d;
  font-size: clamp(0.8rem, 0.8vw, 1rem);
}

h1, h2, h3 {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

@media screen and (max-width: 1800px) {
  .online {
    padding: 1%;
  }
  .online .signin-button {
    bottom: 5%;
  }
}
@media screen and (max-width: 1650px) {
  .race .title {
    padding: 2% 0;
  }
  .race .events {
    gap: 2%;
  }
  .race .events .left .s-buttons {
    width: 100%;
  }
  .race .events .left .s-buttons div {
    width: clamp(5vw, 35%, 324px);
  }
  .race .events .right .frame {
    width: clamp(200px, 92%, 705px);
  }
  .race .events .right .frame .content .custom-info {
    margin-top: 12%;
  }
  .race .events .right .frame .content .custom-info button {
    margin-top: 0;
  }
  .race .events .right .frame .content .vote-notice {
    margin-top: 10%;
  }
  .online {
    padding: 1%;
  }
  .online .signin-button {
    bottom: 0;
  }
  footer {
    padding-right: 5%;
  }
}
@media screen and (max-width: 1170px) {
  .race {
    padding: 1rem 0 0 0;
  }
  .race .events .right .frame .content .custom-info {
    margin-top: 10%;
  }
  .race .events .right .frame .content .custom-info .select p {
    font-size: clamp(0.75rem, 1.5vw, 1.2rem);
  }
  .race .events .right .frame .content .custom-info .select .select-container .select-trigger {
    width: 15vw;
    height: 2.5vw;
  }
  .race .events .right .frame .content .custom-info .select .select-container .select-trigger .drop-icon {
    width: 2.2vw;
  }
  .race .events .right .frame .content .custom-info .select .select-container .select-trigger::before {
    width: 1.2vw;
    height: 1.2vw;
  }
  .race .events .right .frame .content .custom-info .select ul li {
    font-size: clamp(0.75rem, 1.5vw, 1.2rem);
  }
  .race .events .right .frame .content .custom-info .tel-input p {
    font-size: clamp(0.75rem, 1.5vw, 1.2rem);
  }
  .race .events .right .frame .content .custom-info .tel-input .tel-number {
    width: 15vw;
    height: 2.5vw;
  }
  .race .events .right .frame .content .custom-info .tel-input .tel-number input, .race .events .right .frame .content .custom-info .tel-input .tel-number span {
    font-size: clamp(0.75rem, 1.5vw, 1.2rem);
  }
  .race .events .right .frame .content .custom-info button {
    width: 18vw;
  }
  .host .title {
    padding-top: 2%;
  }
  footer {
    padding-right: 3%;
  }
}
@media screen and (max-width: 840px) {
  .race .title {
    margin: 0 auto;
    padding-bottom: 2%;
  }
  .race .events .left {
    gap: 0.8rem;
  }
  .race .events .right .frame .content .custom-info {
    gap: 0.8rem;
  }
  .history .container form button {
    margin-top: 2%;
  }
}
@media screen and (max-width: 767px) {
  body {
    padding-bottom: 15vw;
  }
  nav {
    bottom: 0;
    top: unset;
    padding: 5px 10px;
  }
  nav a {
    width: clamp(150px, 30%, 397px);
    aspect-ratio: 247/147;
  }
  nav a:nth-of-type(1) {
    background-image: url("../images/mb/bt-off.png");
  }
  nav a:nth-of-type(1).act {
    background-image: url("../images/mb/bt-on.png");
  }
  nav a:nth-of-type(2) {
    background-image: url("../images/mb/bt2-off.png");
  }
  nav a:nth-of-type(2).act {
    background-image: url("../images/mb/bt2-on.png");
  }
  nav a:nth-of-type(3) {
    background-image: url("../images/mb/bt3-off.png");
  }
  nav a:nth-of-type(3).act {
    background-image: url("../images/mb/bt3-on.png");
  }
  nav a:nth-of-type(4) {
    background-image: url("../images/mb/bt4-off.png");
  }
  nav a:nth-of-type(4).act {
    background-image: url("../images/mb/bt4-on.png");
  }
  .sns {
    top: 0;
    width: 60px;
  }
  section {
    aspect-ratio: 1080/1920;
    padding: 0 !important;
  }
  section .title {
    display: none;
  }
  section .mb-title {
    display: block;
  }
  .top div {
    width: 100% !important;
    bottom: 15% !important;
  }
  .top .bg {
    display: none;
  }
  .top .mb-bg {
    display: block !important;
    width: 100%;
  }
  .race {
    background: url("../images/mb/bg/BG_02.webp") no-repeat;
    background-size: contain;
  }
  .race .mb-title {
    width: 80%;
    margin: 0 auto 3%;
    padding-top: 7%;
  }
  .race .events {
    flex-direction: column;
    padding: 0 2%;
  }
  .race .events .custom-info {
    margin-top: 8% !important;
    gap: 2.2vw !important;
  }
  .race .events .custom-info p, .race .events .custom-info span, .race .events .custom-info input, .race .events .custom-info li {
    font-size: 4.1vw !important;
  }
  .race .events .custom-info .tel-input {
    align-items: center;
  }
  .race .events .custom-info .tel-number, .race .events .custom-info .select-trigger {
    width: 40vw !important;
    height: 6vw !important;
  }
  .race .events .custom-info .tel-number input, .race .events .custom-info .select-trigger input {
    font-weight: 400 !important;
    background: #fff !important;
    width: 29vw;
  }
  .race .events .custom-info .select-trigger .drop-icon {
    width: 5.2vw !important;
  }
  .race .events .custom-info li {
    padding-left: 0.25rem;
  }
  .race .events button {
    width: 35vw !important;
  }
  .race .left {
    gap: 0 !important;
    align-items: flex-start !important;
  }
  .race .left .title-sm {
    width: 65% !important;
  }
  .race .left .nt-title {
    margin: 0 auto;
    width: 55% !important;
    margin-top: 3%;
  }
  .race .s-buttons {
    gap: 5% !important;
  }
  .race .s-buttons div {
    width: 40% !important;
  }
  .race .event-button {
    margin: 0 auto 2%;
  }
  .race .right {
    align-items: flex-start !important;
  }
  .race .right .title-sm {
    width: 43% !important;
    margin-bottom: 1.5%;
  }
  .race .frame {
    width: 100% !important;
  }
  .race .frame .bg {
    display: none !important;
  }
  .race .frame .mb-bg {
    display: block !important;
  }
  .host {
    background: url("../images/mb/bg/BG_03.webp") no-repeat;
    background-size: contain;
    gap: 4%;
  }
  .host .mb-title {
    width: 67%;
    margin-top: 10%;
  }
  .host .all-hosts {
    padding: 0 3%;
    flex-direction: column;
  }
  .host .all-hosts div {
    width: 85%;
  }
  .host .all-hosts div:last-of-type {
    align-self: flex-end;
  }
  .gift {
    background: url("../images/mb/bg/BG_04.webp") no-repeat;
    background-size: contain;
  }
  .gift .mb-title {
    width: 44%;
    margin: 0 auto;
    padding-top: 7%;
  }
  .gift .text {
    display: none;
  }
  .gift .mb-text {
    display: block !important;
    width: 82%;
    margin: 3% auto 4%;
  }
  .gift .all-gifts {
    flex-wrap: wrap;
    gap: 6% !important;
  }
  .gift .all-gifts .box {
    width: 36%;
  }
  .gift .all-gifts .prize {
    width: 39.5%;
  }
  .gift .all-gifts .location {
    width: 78%;
    order: 1;
    margin-top: 4%;
  }
  .gift .checkin-button {
    margin-top: 5%;
  }
  .online {
    background: url("../images/mb/bg/BG_05.webp") no-repeat;
    background-size: contain;
  }
  .online .mb-title {
    width: 65%;
    margin: 0 auto 3%;
    padding-top: 8%;
  }
  .online h4 {
    width: 80%;
    margin: 0 auto;
  }
  .online h4 span {
    display: none;
  }
  .online h4 img {
    display: block;
  }
  .online .title-sm {
    width: 78%;
    margin: 2% auto 4%;
  }
  .online .coming-soon {
    margin: 0 auto !important;
    width: 100% !important;
    aspect-ratio: unset !important;
  }
  .online .coming-soon .pc {
    display: none;
  }
  .online .coming-soon .mb {
    display: block;
  }
  .beer {
    background: url("../images/mb/bg/BG_06.webp") no-repeat;
    background-size: contain;
  }
  .beer .title {
    display: block !important;
  }
  .beer .container {
    padding-top: 10%;
    width: 100% !important;
    left: 0 !important;
    right: unset;
  }
  .beer .container .title {
    padding: 0;
    width: 52%;
  }
  .beer .title-sm {
    width: 85%;
    margin: 3.5% auto;
  }
  .beer .beer-container {
    flex-direction: column;
  }
  .beer .beer-container .beers {
    width: 74%;
  }
  .beer .beer-container .info {
    align-self: flex-end;
    width: 50%;
    padding: 5% 5% 0 0;
  }
  .collab {
    display: block;
    background: url("../images/mb/bg/BG_07.webp") no-repeat;
    background-size: contain;
  }
  .collab > div {
    width: 100%;
    padding-top: 5%;
  }
  .collab .title {
    display: block !important;
    padding: 0;
    width: 70%;
  }
  .collab .title-sm {
    width: 90%;
    margin: 3% auto 4%;
  }
  .collab .restaurants {
    flex-wrap: wrap;
    padding-left: 0.8%;
    justify-content: flex-start;
    gap: 0.5%;
  }
  .collab .restaurants > div {
    width: 49%;
  }
  .collab .restaurants > div:last-of-type {
    margin-top: 7%;
  }
  .history {
    background: url("../images/mb/bg/BG_08.webp") no-repeat;
    background-size: contain;
  }
  .history .title {
    display: block !important;
    padding: 8% 0;
    min-width: unset;
    width: 75%;
  }
  .history .container {
    aspect-ratio: unset;
    width: 100%;
  }
  .history .container .pc {
    display: none;
  }
  .history .container .mb {
    display: block;
  }
  .history .container form {
    gap: 22vw;
    width: 55%;
  }
  .history .container form div {
    width: 100%;
  }
  .history .container form div * {
    font-size: 4vw !important;
  }
  .history .container form button {
    margin-top: 0;
    width: 80%;
  }
  .history .container form p {
    display: none;
  }
  .honor {
    background: url("../images/mb/bg/BG_09.webp");
    background-size: contain;
  }
  .honor .title {
    display: block !important;
    padding: 5% 0 3%;
    width: 35%;
  }
  .honor .all-lists {
    flex-wrap: wrap;
    width: 95%;
    gap: 4%;
  }
  .honor .all-lists > div {
    gap: 1.5%;
    flex-grow: 1;
  }
  .honor .all-lists > div:nth-of-type(1) {
    max-width: 49%;
    margin-bottom: 4%;
  }
  .honor .all-lists > div .sm-title {
    width: 90%;
  }
  .honor .all-lists > div:nth-of-type(2), .honor .all-lists > div:nth-of-type(3) {
    width: 48%;
  }
  .honor .all-lists > div ul li {
    line-height: 5vw !important;
    font-size: 2.5vw !important;
  }
  .rules {
    background: url("../images/mb/bg/BG_10.webp") no-repeat;
    background-size: contain;
  }
  .rules .title {
    display: block !important;
    width: 60%;
  }
  .rules .rule {
    margin-top: 5%;
    height: 80%;
  }
  footer {
    aspect-ratio: 1080/98 !important;
    background: url("../images/mb/footer.png");
    background-position: center;
    background-size: contain;
  }
  footer a {
    display: none;
  }
  .history-popup .popup-content .content {
    width: 95vw;
  }
  .history-popup .popup-content .content div {
    font-size: 3.6vw;
    line-height: 6vw;
  }
}