@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");
@import url("reset.css");

body {
  font-family: "Noto Sans TC", system-ui;
  font-family: 微軟正黑體;
  min-width: 350px;
  width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
}

.allHidden {
  overflow: hidden;
}

.my_container {
  max-width: 1280px;
  margin: 0 auto;
}

a:hover {
  text-decoration: none;
}

.ham, .my_close{
  display: none;
}
.menu_logo{
  display: none;
}


header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  padding-top:25px;
}

header.header_s {
  background-color: #fff;
  box-shadow: 0 3px 6px rgb(0, 0, 0, 0.16);
  padding: 10px 0;
}

.header_wra {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 54px;
  padding-right: 115px;
}



.nav {
  padding: 5px 38px 5px;
  background-color: rgb(17, 14, 14, 0.2);
  border-radius: 20px;
}

.nav li:nth-child(2) {
  margin: 0 19px;
}

.nav li a {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 4px;
  padding: 3px 30px 5px 34px;
  background-color: rgb(17, 14, 14, 0.35);
  border-radius: 20px;
  display: block;
}

.nav li a:hover {
  background-color: rgb(17, 14, 14, 1);
}
@media screen and (max-width: 992px) {
  .menu_logo{
    display: block;
  }

  .ham, .my_close{
    display: block;
    cursor: pointer;
  }

  header {
    padding-top: 15px;
  }

  header.header_s {
    padding: 5px 0;
  }

  .header_wra {
    padding: 0 15px;
  }

  .menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    background-image: url('../img/M/nav.jpg');
    background-size: cover;
    background-position: center top;
    padding-top: 124px;
  }

  .menu_logo{
    position: absolute;
    top: 29px;
    left: 16px;
  }

  .my_close{
    position: absolute;
    top: 16px;
    right: 16px;
  }
  

  .my_close img{
    max-width: 54px;
  }

  .nav {
    padding: 0;
    background-color: initial;
    border-radius: 0;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav li{
    margin-bottom: 41px;
  }

  .nav li:nth-child(2) {
    margin: 0;
    margin-bottom: 41px;

  }

  .nav li a {
    font-size: 25px;

    padding: 12px 30px 13px;
    border-radius: 26px;
    display: block;
    width: 267px;
    text-align: center;
    position: relative;
  }

  .nav li a::before{
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 291px;
    height: 67px;
    border-radius: 33px;
    background-color: rgb(17, 14, 14, 0.2);
    z-index: -1;
  }

  .nav li a:hover {
    background-color: rgb(17, 14, 14, 1);
  }
}

/* ========================== kv ============================ */

.kv {
  background-image: url("../img/kv.jpg");
  background-size: cover;
  background-position: center top;
  padding-bottom: 35.838%;
  height: 682px;
  position: relative;
}

.kv_wra {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.kv_slogan {
  position: absolute;
  top: 5.8%;
  left: 50%;
  margin-left: -392px;
  width: 768px;
  max-width: initial;
  min-width: initial;
}

@media screen and (min-width: 1921px) {
  .kv_slogan {
    
    left: 50%;
    margin-left: -20.55%;
    max-width: 40vw;
    min-width: 40vw;
  }
}

.kv_slogan img {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .kv {
    background-image: url("../img/M/kv.jpg");
    padding-bottom: 173.2%;
    height: auto;
    position: relative;
  }

  .kv_slogan {
    position: absolute;
    top: 17%;
    left: 2%;
    margin-left: 0;
    width: 100%;
    max-width: 96%;
  }
}

/* ========================== intro ============================ */

.intro {
  background-image: url("../img/intro_bg.jpg");
  background-size: cover;
  background-position: center top;
  text-align: center;
  color: #488045;
}

.intro .my_container {
  padding: 90px 0;
}

.intro h5 {
  font-size: 29px;
  line-height: 35px;
  font-weight: 700;
  letter-spacing: 4px;
  padding-left: 4px;
  text-shadow: rgb(246, 247, 198, 1) 0px 0px 40px,
    rgb(246, 247, 198, 1) 0px 0px 40px, rgb(246, 247, 198, 1) 0px 0px 40px,
    rgb(246, 247, 198, 1) 0px 0px 40px;
}

.intro p {
  font-size: 21px;
  letter-spacing: 6px;
  padding-left: 6px;
  line-height: 34px;
  margin-top: 25px;
  text-shadow: rgb(246, 247, 198, 1) 0px 0px 40px,
    rgb(246, 247, 198, 1) 0px 0px 40px, rgb(246, 247, 198, 1) 0px 0px 40px,
    rgb(246, 247, 198, 1) 0px 0px 40px;
}

.intro span{
  font-weight: 900;
}


.intro .my_container div {
  margin-top: 25px;
}

.intro .my_container div h5 {
  margin-bottom: 5px;
}

.intro .my_container div p {
  margin-top: 0;
  letter-spacing: 8px;
  padding-left: 8px;
}

@media screen and (max-width: 992px) {
  .intro h5 {
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 2px;
    padding-left: 2px;
  }

  .intro p {
    font-size: 18px;
    letter-spacing: 1.5px;
    padding-left: 1.5px;
    line-height: 27px;
    margin-top: 28px;
  }
  .intro .my_container div {
    margin-top: 25px;
  }

  .intro .my_container div h5 {
    margin-bottom: 28px;
  }

  .intro .my_container div p {
    margin-top: 0;
    letter-spacing: 2px;
    padding-left: 2px;
  }
}

@media screen and (max-width: 768px) {
  .intro {
    background-image: url("../img/M/intro_bg.jpg");
  }

  .intro .my_container {
    padding: 40px 15px;
  }
}

/* ========================== game ============================ */

.game {
  padding-top: 28px;
  padding-bottom: 33px;
}

.game .my_container {
  position: relative;
}

.game .my_container::before {
  position: absolute;
  content: "";
  background-image: url("../img/game_l.png");
  left: 0;
  top: 155px;
  width: 142px;
  height: 161px;
  z-index: -1;
}

.game .my_container::after {
  position: absolute;
  content: "";
  background-image: url("../img/game_r.png");
  right: 0;
  bottom: 0;
  width: 140px;
  height: 161px;
  z-index: -1;
}

.game .title {
  text-align: center;
  margin-bottom: 19px;
}

.game .title img {
  width: 100%;
  max-width: 718px;
  margin: 0 auto;
}

.game .game_method {
  display: flex;
  justify-content: center;
  color: #488045;
  margin-left: -65px;
}
.game .game_method h5 {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-right: 60px;
}

.game .game_method .step {
  text-align: right;
}

.game .game_method ol {
  list-style: decimal;
  text-align: left;
}

.game .game_method ol li {
  font-size: 19px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.game .game_method ol li p {
  font-size: 16px;
  text-indent: -31px;
}

.game .game_method ol li a{
  color: #488045;
  text-decoration: underline;
}
.game .game_method ol li a:hover{
  opacity: 0.8;
}

.game .game_method .step span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  padding-left: 2px;
  border: 1px solid #488045;
  border-radius: 10px;
  padding-left: 7px;
  padding-right: 4px;
  padding-bottom: 1px;
  margin-right: -90px;
}

.game .start_btn {
  background-image: url("../img/start_btn.png");
  background-size: 230px 67px;
  width: 230px;
  height: 67px;
  margin: 0 auto;
  cursor: pointer;
  margin-top: 30px;
}

.game .start_btn img {
  width: 100%;
}
.game .start_btn:hover {
  opacity: 0.8;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  max-width: 1060px;
  margin: 0 auto;
  margin-top: 28px;
  position: relative;
}

.cards #game_area{
  position: absolute;
  width: 100%;
  height: 100%;
  top: -160px;
  left: 0;
  z-index: -1;
}

.dimmed .card_item {
  filter: brightness(0.5);
  transition: filter 0.5s;
}

.card_item {
  width: calc(20% - 18px);
  padding-bottom: 18.208%;
  margin: 0 9px;
  position: relative;
  perspective: 1000px;
  cursor: pointer;
  margin-bottom: 24px;
  border-radius: 50%;
  overflow: hidden;
}
.card_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  backface-visibility: hidden;
  transition: transform 0.6s;
}

.card_item .back:hover{
  filter: brightness(.8);
}

.card_item .back {
  transform: rotateY(0deg);
}
.card_item .front {
  transform: rotateY(180deg);
}
.card_item.flipped .back {
  transform: rotateY(180deg);
}
.card_item.flipped .front {
  transform: rotateY(0deg);
}

.comment {
  background-image: url("../img/comment.png");
  background-position: center center;
  background-size: 944px 221px;
  width: 944px;
  height: 221px;
  position: relative;
  margin-top: -35px;
  padding: 0 75px;
  padding-top: 104px;
  margin-left: 35px;
}

.comment p {
  font-size: 33px;
  line-height: 50px;
  font-weight: 700;
  color: #000000;
  letter-spacing: 1px;
  padding-left: 1px;
  text-align: center;
}

@media screen and (max-width: 1100px) {
  .game .my_container {
    padding: 0 14px;
  }
  .game .my_container::before {
    background-size: 48px 54px;
    width: 48px;
    height: 54px;
  }

  .game .my_container::after {
    background-size: 35px 55px;
    width: 35px;
    height: 55px;
  }

  .comment {
    margin: 0 auto;
    margin-top: -35px;
  }
}

@media screen and (max-width: 992px) {
  .game .my_container::before {
    top: 15.8vw;
  }

  .game .my_container::after {
    bottom: -33px;
  }

  .game .game_method {
    display: block;
    margin-left: 0;
  }
  .game .game_method h5 {
    text-align: center;
    font-size: 20px;
    letter-spacing: 2px;
    padding-left: 2px;
    margin-right: 0;
  }

  .game .game_method ol {
    padding-left: 26px;
    margin-top: 20px;
  }

  .game .game_method ol li {
    font-size: 18px;
    font-weight: 700;
    line-height: 25px;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
  }

  .game .game_method ol li p {
    font-size: 14px;
    text-indent: 0;
    margin-left: -24px;
  }

  .game .game_method .step span {
    text-align: center;
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 7px 30px;
    border-radius: 26px;
    line-height: 17px;
    margin-right: 0;
  }

  .game .start_btn {
    background-size: 115px 34px;
    width: 115px;
    height: 34px;
    margin-top: 25px;
  }

  .cards {
    margin-left: -5.5px;
    margin-right: -5.5px;
  }

  .card_item {
    width: calc(25% - 11px);
    padding-bottom: 22.6%;
    margin: 0 5.5px;
    margin-bottom: 18px;
  }

  .comment {
    background-image: initial;
    width: 97%;
    height: 174px;
    margin: 0 auto;
    margin-top: 0;
    padding: 25px 15px;
    border: 2px solid #8fc31f;
    border-radius: 28px;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 12px;
    background-color: #fff;
  }

  .comment::after {
    position: absolute;
    content: "";
    background-image: url("../img/M/comment.png");
    background-size: cover;
    width: 61.585%;
    max-width: 291px;
    max-height: 194px;
    height: 39vw;
    bottom: 103%;
    left: 50%;
    margin-left: 47px;
  }

  .comment p {
    font-size: 23px;
    line-height: 30px;
  }
}

@media screen and (max-width: 768px) {
  .card_item {
    width: calc(33.333% - 11px);
    padding-bottom: 30.26%;
    margin: 0 5.5px;
    margin-bottom: 18px;
  }

  .comment::after {
    position: absolute;
    content: "";
    background-image: url("../img/M/comment.png");
    background-size: cover;
    width: 60.93%;
    max-width: 291px;
    max-height: 194px;
    height: 37.436vw;
    bottom: 103%;
    left: 50%;
    margin-left: -47px;
  }
}

/* ========================== video ============================ */

.video {
  background-image: url("../img/video_bg.jpg");
  background-size: cover;
  background-position: center top;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 30px;
}

.video .title {
  display: inline-block;
  border-radius: 30px;
  border: 3px solid #ffffff;
  box-shadow: 0 0 5px rgb(89, 205, 226, 0.52);
  text-shadow: rgb(89, 205, 226, 1) 0px 0px 4px,
    rgb(89, 205, 226, 1) 0px 0px 4px, rgb(89, 205, 226, 1) 0px 0px 4px;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 16px;
  color: #fff;
  padding: 14px 4px 14px 24px;
}

.video .video_wra {
  margin-top: 43px;
  display: flex;
  justify-content: center;
}

.video .video_wra .v_item {
  margin: 0 34px;
  width: calc(50% - 156px);
}

.video .video_wra .v_container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 14px;
  overflow: hidden;
}

.v_container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}

.v_item img{
  width: 100%;
}

.video .video_wra .v_container iframe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.video .video_wra .v_item h5 {
  display: inline-block;
  border-radius: 14px;
  border: 2px solid #ffffff;
  box-shadow: 0 0 5px rgb(89, 205, 226, 0.52);
  text-shadow: rgb(89, 205, 226, 1) 0px 0px 4px,
    rgb(89, 205, 226, 1) 0px 0px 4px, rgb(89, 205, 226, 1) 0px 0px 4px,
    rgb(89, 205, 226, 1) 0px 0px 4px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #fff;
  padding: 3px 24px 3px 28px;
  margin-top: 10px;
}

.video .video_wra .v_item p {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 4px;
  padding-left: 4px;
  color: #242524;
  margin-top: 15px;
}

.video .footer {
  text-align: center;
  margin-top: 37px;
}

.video .footer img {
  max-width: 745px;
  width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 1100px) {
  .video .video_wra .v_item {
    margin: 0 20px;
    width: calc(50% - 70px);
  }
}

@media screen and (max-width: 992px) {
  .video .title {
    display: inline-block;
    border-radius: 24px;
    font-size: 33px;
    padding: 11px 0px 11px 20px;
  }

  .video .my_container {
    padding: 0 16px;
  }

  .video .video_wra {
    display: block;
    margin-top: 33px;
  }

  .video .video_wra .v_item {
    margin: 0;
    width: 100%;
    margin-bottom: 26px;
  }

  .video .video_wra .v_container {
    border-radius: 10px;
  }

  .video .video_wra .v_item h5 {
    border-radius: 14px;
    font-size: 21px;
    letter-spacing: 4px;
    padding: 3px 20px 3px 24px;
    margin-top: 18px;
  }

  .video .video_wra .v_item p {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 2px;
    padding-left: 2px;
  }

  .video .footer {
    text-align: center;
    margin-top: 70px;
    padding: 0 9.3px;
  }
}

@media screen and (max-width: 768px) {
  .video {
    background-image: url("../img/M/video_bg.jpg");
    padding-top: 35px;
    padding-bottom: 42px;
  }
}
/* ========================== video ============================ */

.modal {
  /* display: block; */
  background: rgb(0, 0, 0, 0.85);
}

.modal-dialog {
  margin: 1.5rem 15px;
}

@media screen and (min-width: 576px) {
  .modal-dialog {
    max-width: 1110px;
    margin: 1.75rem auto;
    padding: 0 15px;
  }

}

.modal-content {
  border: 0;
  border-radius: 0;
  background-image: url("../img/modal_bg.jpg");
  background-size: cover;
  background-position: center top;
}

.modal_close {
  position: absolute;
  top: 32px;
  right: 28px;
  cursor: pointer;
}

.modal-body {
  padding-top: 118px;
  padding-bottom: 118px;
}

.analyze_wra {
  max-width: 866px;
  margin: 0 auto;
  border: 4px solid #8dc8df;
  border-radius: 32px;
  background-color: #fff;
  padding-bottom: 23px;
}

.analyze_wra .title {
  font-size: 54px;
  font-weight: 700;
  letter-spacing: 1px;
  padding-left: 1px;
  background-color: #8dc8df;
  color: #fff;
  border-radius: 44px;
  display: inline-block;
  padding: 18px 63px;
  padding-left: 64px;
  margin-top: -45px;
}

.analyze_wra p {
  font-family: "Noto Sans TC", system-ui;
  font-size: 40px;
  line-height: 70px;
  color: #595757;
  padding-left: 80px;
  padding-right: 175px;
  text-align: left;
  margin-top: 60px;
}

.analyze_wra p span {
  display: inline-block;
  font-size: 49px;
  color: #4ea486;
  margin: 0 5px;
  min-width: 229px;
  text-align: center;
}

.analyze_wra h1 {
  font-family: "Noto Sans TC", system-ui;
  font-size: 93px;
  letter-spacing: 1px;
  padding-left: 1px;
  color: #4da289;
  font-weight: 900;
  margin-top: 50px;
}

.btn_group {
  display: flex;
  justify-content: center;
  margin-top: 143px;
}
.btn_group div {
  margin: 0 10px;
}

.copy {
  background-image: url("../img/copy.png");
  background-size: 320px 74px;
  width: 320px;
  height: 74px;
  background-repeat: no-repeat;
  background-position: center top;
  cursor: pointer;
}

.shop a {
  background-image: url("../img/shop.png");
  background-size: 320px 74px;
  width: 320px;
  height: 74px;
  background-repeat: no-repeat;
  background-position: center top;
  display: block;
}

@media screen and (max-width: 992px) {
  .modal_close {
    position: absolute;
    top: 4px;
    right: 10px;
    width: 54px;
  }

  .modal-body {
    padding-top: 90px;
    padding-bottom: 80px;
  }

  .analyze_wra {
    max-width: 866px;
    margin: 0 auto;
    border: 2px solid #8dc8df;
    border-radius: 16px;
    background-color: #fff;
    padding-bottom: 23px;
  }

  .analyze_wra .title {
    font-size: 30px;
    border-radius: 30px;
    display: inline-block;
    padding: 15px 25px;
    padding-left: 26px;
    margin-top: -30px;
  }

  .analyze_wra p {
    font-size: 24px;
    line-height: 35px;
    padding-left: 32px;
    padding-right: 25px;
    margin-top: 22px;
    letter-spacing: .5px;
    text-align: center;
  }

  .analyze_wra p span {
    display: inline-block;
    font-size: 24px;
    color: #4ea486;
    margin: 0 3px;
    min-width: 112px;
    text-align: center;
  }

  .analyze_wra h1 {
  
    font-size: 60px;
    margin-top: 23px;
    padding: 0 20px;
  }

 
}

@media screen and (max-width:768px){


  .modal-content {
    border: 0;
    border-radius: 0;
    background-image: url("../img/M/modal_bg.png");
    background-size: cover;
    background-position: center top;
  }

  .btn_group {
    display: block;
    margin-top: 44px;
    text-align: center;
  }
  .btn_group div {

    margin: 0 auto;

  }

  .copy {
 
    background-size: 210px 49px;
    width: 210px;
    height: 49px;

    
  }

  .shop a {
    background-size: 210px 49px;
    width: 210px;
    height: 49px;
    margin: 0 auto;
    margin-top: 11px;
  }
  
  .analyze_wra p {
    text-align: left;
  }
}