/************* min-width 994px **************/
@media (max-width: 994px) {
  /* ------------@common------------ */

  /* ------------@loader------------ */

  /* ------------@head------------ */
  section {
    width: 100vw;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-size: cover;
    opacity: 1;
  }

  #logo_ul > li {
    margin: 0 10px;
  }

  .head_wrap #logo img.wabay {
    display: none;
  }

  .head_wrap #logo img.wabay.small {
    display: block;
    height: 35px;
    width: auto;
    margin: 1rem;
  }

  /* ------------@burger------------ */

  /* ------------@main------------ */

  /* ------------@main visual------------ */

  /* ------------@regStatus------------ */

  /* ------------@gameSelection------------ */

  /* ------------@gameIntro------------ */
  section.game_intro .bottom {
    width: 100%;
    padding: 1rem 5vw;
  }

  .top .info {
    font-size: var(--font-clamp-h6);
    padding: 2rem 0vw 1rem 2vw;
  }

  section.game_intro .top .poster_container {
    width: 70%;
  }

  #priceInfo .tab.active,
  #priceInfo .tab {
    font-size: clamp(10px, 1.4vw, 1.2rem);
    padding: 1rem 5px;
  }

  /* ------------@introFamily------------ */

  /* ------------@introSin------------ */

  .game_intro.addition .poster_container > img {
    min-width: 350px;
  }

  .game_intro.addition .poster_container {
    width: 60%;
  }

  .game_intro.addition .poster_container .poster_info img {
    max-width: 70px;
  }

  .game_intro.addition .poster_container > img.general {
    object-fit:contain;
    width: auto;
    min-width: unset;
    max-width: 200px;
  }
  
  /* ------------@dateInfo------------ */

  .reg_date_container .swiper-button-next {
    right: 7px;
    top: 42px;
  }
  .reg_date_container .swiper-button-prev {
    left: 3px;
    top: 42px;
  }
  /* ------------@feature------------ */

  /* ------------@priceInfo------------ */

  #priceInfo .tab.combination::after {
    content: '最超值!!';
    position: absolute;
    left: -4px;
    top: -4px;
    width: 80px;
    padding: 5px 3px;
    border-radius: 0 0 0.5rem;
    background-color: #e79603;
    color: white;
    font-size: 13px;
    letter-spacing: 1px;
  }

  #priceInfo .tab_content .additional {
    padding: 0rem;
    margin-top: 0.5rem;
  }

  #priceInfo .tab_content .additional .additional_wrapper {
    display: none;
  }

  #priceInfo .tab_content .ticket_wrapper {
    display: none;
  }

  #priceInfo .tab.active {
    background-image: url('');
  }

  #priceInfo .price_container_mobile {
    width: 100%;
    height: auto;
    margin: 0 auto 1rem;
  }

  #priceInfo .swiper-wrapper {
    width: 100%;
  }

  #priceInfo .swiper-slide {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 3rem;
  }

  #priceInfo .swiper-slide img {
    width: 100%;
    margin-bottom: 1rem;
    height: auto;
  }

  #priceInfo .swiper-button-next {
    bottom: 1rem;
    top: auto;
    right: 1rem;
    left: auto;
    z-index: 50;
  }

  #priceInfo .swiper-button-prev {
    bottom: 1rem;
    top: auto;
    right: auto;
    left: 1rem;
    z-index: 50;
  }

  #priceInfo .addition_mobile {
    width: 95%;
    height: auto;
    margin: 0 auto 1rem;
  }

  #priceInfo .addition_mobile small {
    width: 90%;
    display: block;
    margin: auto;
  }
  #priceInfo .addition_mobile .swiper-wrapper {
    margin-top: 1rem;
  }

  #priceInfo .addition_mobile .swiper-slide .addition_desc {
    text-align: center;
  }

  #priceInfo .addition_mobile .swiper-slide .addition_desc span {
    margin: 0.5rem 0;

    font-family: var(--font-family-Serif);
  }

  #priceInfo .addition_mobile .swiper-slide .addition_desc ul {
    padding-inline-start: 1rem;
    text-align: justify;
    margin: 7px 0rem;
    width: 95%;
    margin: 0 auto;
    font-size: 12px;
  }

  #priceInfo .addition_mobile .swiper-slide .addition_desc ul li {
    margin: 0.5rem 0;
  }
  /* ------------@instruction------------ */

  .instruction_container .slide_content .btn_primary {
    transform: translateY(-1rem);
  }

  /* ------------@FAQ+notice------------ */

  /* ------------@footer------------ */

  /* ------------@彈出式視窗------------ */
}

/************* max-width 768px **************/
@media (max-width: 768px) {
  #logo_ul {
    display: none;
  }

  header {
    pointer-events: auto;
    transition: 0.8s all ease;
  }
  /* ------------@common------------ */

  /* ------------@loader------------ */

  /* ------------@head------------ */

  body.loaded header.opennav .head_wrap {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(0) scale(1);
    transition: 0.8s all ease;
  }

  body.loaded header.opennav .head_wrap .wabay {
    filter: invert(1);
    margin: 5px;
  }

  #logo img {
    width: 45px;
  }

  /* ------------@burger------------ */

  #navopen.opennav div i {
    transform: rotate(45deg);
    margin: 0px 0 0;
    color: white;
    background-color: black;
  }
  #navopen.opennav div i:last-child {
    transform: rotate(-45deg);

    box-shadow: 1px 1px 3px darkgray;
  }
  #navopen {
    display: inline-block;
    right: 17px;
    top: 2rem;
    cursor: pointer;
  }

  #navopen div {
    position: relative;
    width: 35px;
    height: 20px;
    border-radius: 100%;
  }
  #navopen i {
    width: 100%;
    height: 4px;
    background-color: white;
    box-shadow: 1px 1px 3px darkgray;
    display: block;
    border-radius: 100px;
    top: 50%;
    position: absolute;
    margin: -5px 0 0;
    transition: all 0.2s;
  }
  #navopen i:last-child {
    margin: 5px 0 0;
  }

  .head_wrap {
    padding: 0;
  }

  .head_wrap #logo img.wabay.small {
    height: 25px;
    width: auto;
    margin: 12px;
  }

  .head_wrap #logo img:first-child {
    width: 70px;
  }

  #navopen {
    top: 1rem;
  }

  header.opennav #logo_ul {
    margin: auto;
    display: block;
    padding: 0;
  }

  .head_wrap .logo_wrap,
  .head_wrap.on_top .logo_wrap {
    margin: auto;
    margin-top: 3rem;
  }

  .head_wrap #logo_ul > li,
  .head_wrap.on_top #logo_ul > li {
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
  }

  .head_wrap #logo_ul > li a span,
  .head_wrap.on_top #logo_ul > li a span {
    color: black;
    font-weight: 500;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
  }

  header.opennav .head_wrap.on_top #logo img.wabay {
    filter: invert(1);
  }

  .main_links {
    position: fixed;
    top: auto;
    bottom: 0;
    width: 100%;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 2;
    flex-direction: row;
  }

  .main_links .link {
    --bg-clr: rgb(35 35 35);
    width: 100%;
    margin-bottom: 5px;
    max-width: unset;
  }

  .main_links .link:first-child {
    margin-right: 1rem;
  }

  .main_visual .sub_title {
    bottom: 4rem;
  }

  .reward_card::after,
  .reward_card::before {
    width: 2rem;
    height: 2rem;
  }

  .reward_card::before {
    top: 52%;
  }

  .reward_card::after {
    top: 9%;
  }

  .selection_wrap .selection {
    min-width: 170px;
    aspect-ratio: 1/2;
  }

  .selection_wrap .btn_nav {
    font-size: var(--font-clamp-h6);
  }

  .selection_wrap .selection_info {
    font-size: var(--font-clamp-h6);
  }

  .top {
    flex-direction: column;
  }

  section.game_intro .top .poster_container {
    width: 100%;
  }

  .top .info img {
    width: 50%;

    margin: 1rem auto;
  }

  section.game_intro .top .poster_container img {
    margin-bottom: 1.5rem;
  }

  section.game_intro .top .poster_container::after {
    display: none;
  }
  .top .info .info_item {
    justify-content: center;
  }

  section.game_intro .middle {
    flex-direction: column;
  }

  section.game_intro .middle .info_item {
    width: 80%;
    margin: 0 auto;
  }

  section.game_intro .middle .info_item img {
    width: 3rem;
  }
  section.game_intro .bottom {
    flex-direction: column;
  }

  section.game_intro .bottom .feedback_container,
  section.game_intro .bottom .image_container {
    width: 100%;
    margin: auto;
  }

  .bottom .feedback_container .swiper {
    margin: auto;
    width: 100%;
  }

  .bottom .feedback_container .swiper .swiper-wrapper .swiper-slide {
    padding-top: 0;
  }

  section.game_intro h5 {
    text-align: center;
    width: 250px;
    margin: 1rem auto;
  }

  .game_intro.addition .btn_primary {
    width: fit-content;
  }

  .game_intro.addition .poster_container {
    width: 80%;
    flex-direction: column;
    margin: 1rem 0;
  }

  .game_intro.addition .poster_container img {
    width: 80%;
    margin-bottom: .5rem;
  }

  .game_intro.addition .poster_container .poster_info img {
    display: none;
  }



  .reg_date_container .swiper-button-next::before,
  .reg_date_container .swiper-button-next::after {
    right: 0;
    left: 0;
  }
  .reg_date_container .swiper-button-next {
    right: 0px;
    top: 42px;
  }
  .reg_date_container .swiper-button-prev {
    left: 0px;
    top: 42px;
  }

  #instructions {
    padding-top: 0;
  }
  .instruction_container .swiper-button-next,
  .instruction_container .swiper-button-prev {
    top: 50%;
  }

  #FAQ .info_container {
    width: 80%;
  }
}

/************* max-width 576px **************/
@media (max-width: 576px) {

  #logo {
    width: 100%;
    justify-content: center;
    margin: 5px 0 0 0 ;
  }

  /* #logo img.family {
    display: none;
  }

  #logo img.general {
    display: none;
  } */
  

  .section_title {
    background-size: 90%;
  }

  .count_down {
    margin: 1rem auto;
  }

  .reward_card::after,
  .reward_card::before {
    width: 1.5rem;
    height: 1.5rem;
  }

  .reward_card::before {
    top: 51%;
  }

  .reward_card::after {
    top: 8%;
  }

  .reward_card .desc {
    height: 170px;
  }

  .reward_card .desc .desc_cover {
    padding: .5rem;
  }


  .game_label {
    width: 100%;
    flex-wrap: wrap;
    min-width: unset;
    max-width: unset;
  }

  .game_label .label {
    width: 80%;
  }

  .game_label .label.general {
    transform: translateX(-25%);
  }
  .game_label .label.family {
    transform: translateX(25%);
  }

  #regStatus {
    padding: 2rem 1rem;
  }

  .reg_status_text {
    margin: 1rem 0 0.5rem 0;
    font-size: 14px;
  }

  #gameSelection {
    padding: 3rem 0rem 0px;
    margin-bottom: 5vh;
  }

  .slogan {
    width: 100%;
  }

  .game_intro.addition {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .game_intro.addition .poster_container {
    width: 100%;
  }

  .game_intro.addition h3 {
    font-size: 18px;
  }

  .game_intro.addition .text_grey {
    font-size: 15px;
  }

  #feature {
    height: auto;
    padding: 1rem 1rem 0px;
    margin-bottom: 3vh;
  }

  #feature .hint small {
    display: none;
  }

  .feature_container .feature span.title {
    margin: 0.5rem 0;
  }

  .feature_container {
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px 0;
  }

  .popup_content.sin {
    position: fixed;
    color: white;
    background-color: rgb(51, 51, 51);
    padding: 2rem;
    line-height: 1.5;
    text-align: justify;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    min-width: unset;
    aspect-ratio: 1 / 1;
    z-index: 10000;
  }

  .popup_content .content_wrap::after {
    content: url('https://api.iconify.design/ri/close-circle-line.svg?color=white');
    position: absolute;
    cursor: pointer;
    transform: scale(2);
    transform-origin: center;
    top: -1rem;
    right: -1rem;
  }

  
  #priceInfo {
    margin-bottom: 1rem;
    padding: 2rem 1rem 2rem;
    margin-bottom: 1rem;
  }

  #priceInfo .tab_wrapper {
    grid-template-columns: 1fr;
    width: 100%;
    grid-gap: 5px;
  }

  #priceInfo .tab_content {
    width: 100%;
  }

  #priceInfo .tab_content .content {
    padding: 0 2rem;
    text-align: justify;
  }

  #priceInfo .tab_content .btn_primary {
    width: fit-content;
    min-width: unset;
  }

  #priceInfo .swiper-slide {
    padding-bottom: 4rem;
  }

  #priceInfo .tab_content .additional {
    padding: 1rem;
  }

  #priceInfo .tab.active,
  #priceInfo .tab {
    height: 64px;
    font-size: clamp(1rem, 1vw, 1.2rem);
    padding:5px;
  }

  #priceInfo .tab.combination::after {
    content: '最超值!!';
    position: absolute;
    left: -4px;
    top: -4px;
    width: 80px;
    padding: 10px 6px;
    border-radius: 0 0 0.5rem;
    background-color: #e79603;
    color: white;
    font-size: 17px;
    letter-spacing: 1px;
}

  #dateInfo {
    margin-bottom: 1rem;
    padding: 2rem 1rem 0 1rem;
  }

  #dateInfo .reg_date_container {
    width: 90%;
  }

  #dateInfo .reg_date_container {
    width: 100%;
  }

  .game_intro.addition .poster_container img {
    width: 100%;
    margin-bottom: .5rem;
  }

  .game_intro.addition .poster_container .poster_info  {
    width: 80%;
  }

  .game_intro.addition span.title {
    font-size: 1.2rem;
  }

  .reg_date_container .date_list {
    width: 80%;
  }
  .reg_date_container .swiper-button-next::after,
  .reg_date_container .swiper-button-prev::after {
    transform: scale(3);
  }

  .reg_date_container .swiper-button-next,
  .reg_date_container .swiper-button-prev {
    background-color: transparent !important;
    top: 47px;
  }
  .reg_date_container .swiper-button-prev {
    left: 3px;
    right: auto;
  }
  .reg_date_container .swiper-button-next {
    right: 3px;

    left: auto;
  }

  .reg_info_container .sessions_container {
    grid-template-columns: 1fr 1fr;
    padding: 2rem 1rem;
  }

  .reg_info_container .btn_primary {
    opacity: 0;
  }

  .reg_date_container .reg_info_container .game_label {
    display: flex;
    margin-top: 0.5rem;
  }

  .reg_info_container .game_label .label {
    padding: 5px;
    width: 50%;
    font-size: var(--font-clamp-h6);
  }

  .reg_date_container .reg_info_container .game_label {
    width: 88%;
  }

  #instructions {
    padding: 10px 2rem;
  }

  .instruction_container {
    margin: 1rem auto;
    width: 85%;
  }

  .instruction_container .swiper-button-next,
  .instruction_container .swiper-button-prev {
    right: 5vw;
    top: 50%;
    width: 2rem;
    font-size: 1rem;
    height: 2rem;
  }
  .instruction_container .slide_content .btn_primary {
    transform: translateY(-1rem);
  }

  .instruction_container .swiper-slide::after {
    left: 50%;
    top: 9px;
    font-size: 20px;
  }

  #FAQ .info_container,
  #FAQ .info_container.hide {
    width: 90%;
  }

  footer {
    padding: 1rem 1rem 4rem;
    flex-direction: column;
  }
  footer > div {
    padding: 0 1rem;
    min-height: 80px;
  }
}
