@charset "UTF-8";
/* CSS Document */
@import url("reset.css");
html {
  font-size: 16px;
}

html * {
  font-size: 1rem;
  font-weight: 400;
}

body {
  margin: 0px;
  padding: 0px;
  font-family: "Noto Sans TC", serif, Arial, "Arial Black", "微軟正黑體", "新細明體", "細明體";
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  letter-spacing: 2px;
  box-sizing: border-box;
  background: #fadcdc;
}

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

div, span {
  display: block;
  width: 100%;
}

button {
  display: none;
}

*:focus {
  outline: none;
} /*解決滾動到區塊時出現框線問題*/
p {
  font-size: 1.15vw;
  line-height: 1.5;
  color: #333;
  font-weight: 500;
}
@media (max-width: 992px) {
  p {
    font-size: 1.75vw;
  }
}
@media (max-width: 768px) {
  p {
    font-size: 3.6vw;
  }
}

.ls-5 {
  letter-spacing: 2px;
}

.ml-7 {
  margin-left: 7%;
}

.mtb-2 {
  margin-top: 2%;
  margin-bottom: 2%;
}

.mtb-5 {
  margin-top: 5%;
  margin-bottom: 5%;
}

.ptb-1 {
  padding-top: 1%;
  padding-bottom: 1%;
}

.plr-2 {
  padding-left: 2%;
  padding-right: 2%;
}

.bt-1 {
  border-bottom: 1px solid #fff;
}

.pc {
  display: block;
}
@media (max-width: 768px) {
  .pc {
    display: none;
  }
}

.mob {
  display: none;
}
@media (max-width: 768px) {
  .mob {
    display: block;
  }
}

.pad-pc {
  display: block;
}
@media (min-width: 992px) {
  .pad-pc {
    display: none;
  }
}

.pad-h {
  display: none;
}
@media (max-width: 992px) {
  .pad-h {
    display: block;
  }
}

.btn_style {
  transform-origin: center;
  transform: scale(1);
  transition: all 0.15s ease-in-out;
}
.btn_style:hover {
  cursor: pointer;
  transform: scale(0.9);
}

.ajax_loading {
  background: #000 url("../images/loader.gif") center center no-repeat;
}

/*---kv---*/
header {
  width: calc(100% - 3vw);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  top: 0%;
  left: 0%;
  z-index: 9;
  background: rgba(255, 255, 255, 0.5);
  padding: 0 1.5vw;
}
header .logo_box {
  width: 5.9%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
  header .logo_box {
    width: 16.8%;
  }
}
header nav {
  position: relative;
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
}
header nav ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
}
header nav ul li {
  display: inline-block;
  width: auto;
  padding: 0 1vw;
  border-left: 2px solid #003d87;
  line-height: 1;
}
header nav ul li:last-child {
  border-right: 2px solid #003d87;
}
header nav ul li a {
  text-decoration: none;
}
header nav ul li a div {
  font-family: "Noto Sans TC";
  font-size: 1.15vw;
  font-weight: 600;
  line-height: 1;
  color: #003d87;
  letter-spacing: 2px;
  transition: all 0.25s ease-in-out;
}
@media (max-width: 992px) {
  header nav ul li a div {
    font-size: 1.5vw;
  }
}
header nav ul li a div:hover {
  color: #d85ba3;
}

.kv_w {
  position: relative;
  overflow: hidden;
}
.kv_w h1 {
  width: 13.2%;
  position: absolute;
  left: 8%;
  top: 15.9%;
  z-index: 2;
  opacity: 0;
  animation: kv_title 1s ease-in-out 0.5s forwards;
}
@media (max-width: 768px) {
  .kv_w h1 {
    width: 78%;
    left: 11%;
    top: 9.9%;
  }
}
.kv_w .kv_text {
  width: 9.3%;
  position: absolute;
  left: 20%;
  top: 15.9%;
  z-index: 2;
  opacity: 0;
  animation: kv_text 1s ease-in-out 1.5s forwards;
}
@media (max-width: 768px) {
  .kv_w .kv_text {
    width: 39.7%;
    left: 30.1%;
    top: 28.9%;
  }
}
.kv_w .kv01 {
  width: 24.2%;
  position: absolute;
  left: 30%;
  top: 14.1%;
  z-index: 2;
  opacity: 0;
  animation: kv_zoom 0.5s ease-in-out 0.5s forwards;
}
@media (max-width: 768px) {
  .kv_w .kv01 {
    width: 32.5%;
    left: 10.1%;
    top: 46.7%;
  }
}
.kv_w .kv01 img {
  animation: kv_up 1s ease-in-out infinite;
}
.kv_w .kv02 {
  width: 36.6%;
  position: absolute;
  left: 54.2%;
  top: 13.5%;
  z-index: 2;
  opacity: 0;
  animation: kv_zoom 0.5s ease-in-out 1.5s forwards;
}
@media (max-width: 768px) {
  .kv_w .kv02 {
    width: 48.7%;
    left: 42.6%;
    top: 46.7%;
  }
}
.kv_w .kv02 img {
  animation: kv_down 2s ease-in-out 0.5s infinite;
}
.kv_w .kv03 {
  width: 29.3%;
  position: absolute;
  left: 45.3%;
  top: 36.8%;
  z-index: 2;
  opacity: 0;
  animation: kv_zoom 0.5s ease-in-out 2.5s forwards;
}
@media (max-width: 768px) {
  .kv_w .kv03 {
    width: 38.6%;
    left: 31.8%;
    top: 59.1%;
  }
}
.kv_w .kv03 img {
  animation: kv_down 1s ease-in-out infinite;
}
.kv_w .kv04 {
  width: 24%;
  position: absolute;
  left: 26.1%;
  top: 47.6%;
  z-index: 2;
  opacity: 0;
  animation: kv_zoom 0.5s ease-in-out 2s forwards;
}
@media (max-width: 768px) {
  .kv_w .kv04 {
    width: 27.1%;
    left: 5.6%;
    top: 64.8%;
  }
}
.kv_w .kv04 img {
  animation: kv_down 2.5s ease-in-out 1.5s infinite;
}
.kv_w .kv05 {
  width: 25.8%;
  position: absolute;
  left: 41.1%;
  top: 60.3%;
  z-index: 2;
  opacity: 0;
  animation: kv_zoom 0.5s ease-in-out 1s forwards;
}
@media (max-width: 768px) {
  .kv_w .kv05 {
    width: 34.1%;
    left: 25.8%;
    top: 71.2%;
  }
}
.kv_w .kv05 img {
  animation: kv_up 1s ease-in-out infinite;
}
.kv_w .kv06 {
  width: 23.9%;
  position: absolute;
  left: 66.8%;
  top: 42.5%;
  z-index: 2;
  opacity: 0;
  animation: kv_zoom 0.5s ease-in-out 1.75s forwards;
}
@media (max-width: 768px) {
  .kv_w .kv06 {
    width: 32.6%;
    left: 60.3%;
    top: 61.8%;
  }
}
.kv_w .kv06 img {
  animation: kv_down 2s ease-in-out 1.5s infinite;
}

@keyframes kv_title {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes kv_text {
  0% {
    top: 12.9%;
    opacity: 0;
  }
  100% {
    top: 15.9%;
    opacity: 1;
  }
}
@media (max-width: 768px) {
  @keyframes kv_text {
    0% {
      top: 20.9%;
      opacity: 0;
    }
    100% {
      top: 28.9%;
      opacity: 1;
    }
  }
}
@keyframes kv_zoom {
  0% {
    transform: scale(0.2);
    opacity: 0;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
  75% {
    transform: scale(0.9);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes kv_up {
  0% {
    margin-top: 0;
  }
  50% {
    margin-top: 2%;
  }
  100% {
    margin-top: 0;
  }
}
@keyframes kv_down {
  0% {
    margin-top: 2%;
  }
  50% {
    margin-top: 0%;
  }
  100% {
    margin-top: 2%;
  }
}
.yt_kv {
  width: 100%;
  position: relative;
  z-index: 2;
}
.yt_kv img {
  position: relative;
  z-index: 2;
}

/* png 當作比例容器 */
.placeholder-image {
  width: 100%;
  height: auto; /* 讓 png 自己決定高度 */
  display: block;
}

/* YouTube API 會塞的 iframe，讓它鋪滿當背景 */
.yt_kv iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* 用 CSS 撐滿比例容器 */
  z-index: -1;
}

.bgm {
  display: block;
  width: 0;
  height: 0;
}

.music_box {
  display: block;
  width: 3%;
  position: absolute;
  z-index: 500;
  right: 1%;
  top: 10%;
  opacity: 0.9;
}
@media (max-width: 992px) {
  .music_box {
    width: 5%;
  }
}
@media (max-width: 768px) {
  .music_box {
    width: 10%;
    right: 2%;
    top: 15%;
  }
}

.music_box img {
  display: block;
  width: 3.1%;
  height: auto;
  margin: 1%;
  opacity: 1;
}

.btn_buy {
  display: block;
  width: 8.6%;
  position: fixed;
  right: 1%;
  top: 15.1%;
  z-index: 8;
  transform-origin: center;
  animation: buy_ani 1s ease-in-out infinite;
}
@media (max-width: 992px) {
  .btn_buy {
    width: 10%;
  }
}
@media (max-width: 768px) {
  .btn_buy {
    width: 20%;
  }
}

@keyframes buy_ani {
  0% {
    margin-top: 0;
  }
  50% {
    margin-top: 0.5%;
  }
  100% {
    margin-top: 0;
  }
}
.yt_box {
  width: 100%;
  margin: -1px auto 0;
  position: relative;
}

.vidbacking {
  display: block;
}

.video-back {
  display: block; /*padding:200px 0px;*/
  text-align: center;
}

.video-back img { /*width:150px;*/
  width: 100%;
  height: auto;
}

img.vediobg_img {
  display: block;
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  z-index: -101;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-container iframe, .video-container object, .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#background-video > .ytplayer-container > iframe {
  top: 0 !important;
  z-index: -1;
}

.placeholder-image {
  z-index: 100;
  top: 0;
}

@media (max-width: 767px) {
  .ytplayer-player {
    top: 0 !important;
  }
}

/*---main---*/
main {
  display: block;
  width: 100%;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

section {
  display: block;
  width: 100%;
  position: relative;
  padding: 2% 0;
  box-sizing: border-box;
}

/*---s01-------------*/
#s01 {
  position: relative;
}
#s01 .wrapper01 {
  width: 83.3%;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
}
@media (max-width: 768px) {
  #s01 .wrapper01 {
    width: 91.7%;
  }
}

.game_rules_w {
  position: relative;
}
.game_rules_w h2 {
  width: 37.5%;
  position: relative;
  margin: 2% auto 3%;
}
@media (max-width: 768px) {
  .game_rules_w h2 {
    width: 59.4%;
  }
}
.game_rules_w h2 .h2_pL {
  width: 35.3%;
  position: absolute;
  left: -40%;
  top: 0;
  z-index: 2;
}
@media (max-width: 768px) {
  .game_rules_w h2 .h2_pL {
    width: 30%;
    left: -35%;
  }
}
.game_rules_w h2 .h2_pR {
  width: 36.6%;
  position: absolute;
  right: -40%;
  top: 0;
  z-index: 2;
}
@media (max-width: 768px) {
  .game_rules_w h2 .h2_pR {
    width: 30%;
    right: -35%;
  }
}
.game_rules_w p.h2_text {
  font-size: 1.5vw;
  font-weight: 400;
  color: #515151;
  text-align: center;
  line-height: 2;
}
@media (max-width: 992px) {
  .game_rules_w p.h2_text {
    font-size: 1.75vw;
  }
}
@media (max-width: 768px) {
  .game_rules_w p.h2_text {
    width: 85%;
    font-size: 3.5vw;
    line-height: 1.75;
    margin: 0 auto 5%;
  }
}

.game_rules_list {
  width: 92.5%;
  position: relative;
  margin: 2.5% auto;
}
.game_rules_list ul {
  list-style-type: none;
}
.game_rules_list ul li {
  list-style-type: none;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0.5vw 0;
}
@media (max-width: 768px) {
  .game_rules_list ul li {
    margin: 5% 0;
  }
}
.game_rules_list ul li .item {
  display: inline-block;
  width: auto;
  font-size: 1.15vw;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
  background: url(../images/s01/item_bg.png) no-repeat left top;
  background-size: 100% 100%;
  padding: 0.25vw 1vw;
  text-align: center;
}
@media (max-width: 992px) {
  .game_rules_list ul li .item {
    font-size: 1.75vw;
  }
}
@media (max-width: 768px) {
  .game_rules_list ul li .item {
    display: block;
    font-size: 3.8vw;
    text-align: center;
  }
}
.game_rules_list ul li .item_content {
  display: inline-block;
  width: calc(100% - 6.5vw - 5vw);
  position: relative;
  font-size: 1.15vw;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
  padding: 0.25vw;
}
@media (max-width: 768px) {
  .game_rules_list ul li .item_content {
    width: calc(100% - 0vw - 0vw);
  }
}
.game_rules_list ul li span {
  display: inline;
  width: auto;
  font-size: 1vw;
  font-weight: 600;
  line-height: 2;
}
@media (max-width: 992px) {
  .game_rules_list ul li span {
    font-size: 1.5vw;
  }
}
@media (max-width: 768px) {
  .game_rules_list ul li span {
    font-size: 3vw;
  }
}

.p_bold {
  font-size: 1.6vw;
  font-weight: 600;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .p_bold {
    font-size: 4vw;
  }
}

ol.step {
  list-style-image: url(../images/s01/step_p.png);
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
}
ol.step li {
  list-style-type: none;
  display: block;
  width: 100%;
  position: relative;
  font-size: 1.15vw;
  font-weight: 600;
  line-height: 1.5;
  color: #3863a0;
}
@media (max-width: 992px) {
  ol.step li {
    font-size: 1.75vw;
  }
}
@media (max-width: 768px) {
  ol.step li {
    font-size: 3.8vw;
    margin: 0.5% 0;
  }
}
ol.step li span {
  display: inline;
  width: auto;
  font-size: 1vw;
  font-weight: 600;
  line-height: 2;
  color: #3863a0;
}
@media (max-width: 992px) {
  ol.step li span {
    font-size: 1.5vw;
  }
}
@media (max-width: 768px) {
  ol.step li span {
    font-size: 3vw;
  }
}

ol.step li {
  position: relative;
  padding-left: 1.5vw; /* 留 icon 空間 */
}
@media (max-width: 992px) {
  ol.step li {
    padding-left: 2vw;
  }
}
@media (max-width: 768px) {
  ol.step li {
    padding-left: 4vw;
  }
}

ol.step li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.15vw;
  height: 2vw;
  background: url("../images/s01/step_p.png") no-repeat left top;
  background-size: 100%;
}
@media (max-width: 992px) {
  ol.step li::before {
    width: 1.75vw;
    top: 0.5vw;
  }
}
@media (max-width: 768px) {
  ol.step li::before {
    width: 3.5vw;
    height: 5vw;
    background: url("../images/s01/step_p.png") no-repeat left 1.5vw;
    background-size: 100%;
  }
}

ol.ps_list {
  padding-left: 1.5vw;
  margin-top: -0.5vw;
}
@media (max-width: 992px) {
  ol.ps_list {
    padding-left: 2vw;
  }
}
@media (max-width: 768px) {
  ol.ps_list {
    padding-left: 3.8vw;
  }
}

ol.ps_list li {
  position: relative;
  font-size: 1.15vw;
}
@media (max-width: 992px) {
  ol.ps_list li {
    font-size: 1.75vw;
  }
}
@media (max-width: 768px) {
  ol.ps_list li {
    font-size: 3.6vw;
  }
}

ol.ps_list li::before {
  display: inline-block;
  content: "◆";
  position: absolute;
  left: -1.5vw;
  top: 0;
  width: 1.15vw;
  height: 2vw;
}
@media (max-width: 992px) {
  ol.ps_list li::before {
    left: -2vw;
  }
}
@media (max-width: 768px) {
  ol.ps_list li::before {
    left: -4vw;
  }
}

.btn_rules {
  width: 12.3vw;
  margin: 5% auto;
}
@media (max-width: 768px) {
  .btn_rules {
    width: 38%;
  }
}

#s012 {
  position: relative;
  z-index: 3;
}
#s012 .wave_top {
  background: url(../images/s012/wave_top.png) repeat-x top left;
  background-size: 14.375%;
  animation: wave_ani 10s linear infinite;
}
#s012 .wave_top img {
  width: 14.375%;
  opacity: 0;
}
#s012 .wave_bottom {
  background: url(../images/s012/wave_bottom.png) repeat-x top left;
  background-size: 14.375%;
  animation: wave_ani 10s linear infinite;
}
#s012 .wave_bottom img {
  width: 14.375%;
  opacity: 0;
}

@keyframes wave_ani {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 0;
  }
}
.game_w {
  position: relative;
  background: #dce4f7;
  overflow: hidden;
}
.game_w h2 {
  width: 52.2%;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .game_w h2 {
    width: 78%;
    margin: 0 auto 5%;
  }
}
.game_w .game_p {
  position: relative;
}
.game_w .btn_start {
  width: 12.2%;
  position: relative;
  margin: 2% auto 5%;
}
@media (max-width: 768px) {
  .game_w .btn_start {
    width: 35%;
    margin: 5% auto 5%;
  }
}

/*---s02-------------*/
#s02 {
  position: relative;
  background: #f7f3ee;
  margin-top: -6vw;
  padding: 10vw 0 5vw;
  z-index: 2;
}

.style_w {
  position: relative;
}
.style_w h2 {
  width: 31.25%;
  position: relative;
  margin: 2% auto 3%;
}
@media (max-width: 768px) {
  .style_w h2 {
    width: 54.5%;
  }
}
.style_w h2 .h2_pL {
  width: 35.3%;
  position: absolute;
  left: -40%;
  top: 0;
  z-index: 2;
}
.style_w h2 .h2_pR {
  width: 36.6%;
  position: absolute;
  right: -40%;
  top: 0;
  z-index: 2;
}
.style_w p.h2_text {
  font-size: 1.5vw;
  font-weight: 400;
  color: #515151;
  text-align: center;
  line-height: 2;
}
@media (max-width: 992px) {
  .style_w p.h2_text {
    font-size: 1.75vw;
  }
}
@media (max-width: 768px) {
  .style_w p.h2_text {
    width: 85%;
    font-size: 3.5vw;
    line-height: 1.75;
    margin: 0 auto 5%;
  }
}

.style_view_w {
  position: relative;
  margin: 5% auto;
}
.style_view_w .style_view_list {
  width: 82.4%;
  position: relative;
  margin: 0 auto;
  z-index: 2;
}
@media (max-width: 768px) {
  .style_view_w .style_view_list {
    width: 90%;
  }
}
.style_view_w .before_tree {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
}
.style_view_w .after_cloud {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
}

#swiper-container01 {
  margin-top: 2%;
}

.swiper-container {
  overflow: hidden;
}

.swiper-button-prev {
  left: -5%;
}
@media (max-width: 768px) {
  .swiper-button-prev {
    left: 1.5%;
  }
}

.swiper-button-next {
  right: -5%;
}
@media (max-width: 768px) {
  .swiper-button-next {
    right: 1.5%;
  }
}

.swiper-button-prev, .swiper-button-next {
  width: 3.6%;
  color: #333;
}
@media (max-width: 768px) {
  .swiper-button-prev, .swiper-button-next {
    width: 8%;
  }
}
.swiper-button-prev::after, .swiper-button-next::after {
  display: none;
}

.swiper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  width: 110% !important;
  margin-left: -5%;
}
@media (max-width: 768px) {
  .swiper-pagination {
    display: none;
  }
}

.swiper-pagination-bullet {
  width: 10.5vw;
  height: 10.5vw;
  margin: 5px;
  background: #68a1c1;
  opacity: 1;
  position: relative;
  transition: all 0.5s ease-in-out;
}
.swiper-pagination-bullet::before {
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}

.swiper-pagination-bullet-active {
  background: #4775ad;
}

.swiper-pagination-bullet:nth-child(1)::before {
  background: url(../images/s02/bot01.png) no-repeat left top;
  background-size: 100%;
}

.swiper-pagination-bullet:nth-child(2)::before {
  background: url(../images/s02/bot02.png) no-repeat left top;
  background-size: 100%;
}

.swiper-pagination-bullet:nth-child(3)::before {
  background: url(../images/s02/bot03.png) no-repeat left top;
  background-size: 100%;
}

.swiper-pagination-bullet:nth-child(4)::before {
  background: url(../images/s02/bot04.png) no-repeat left top;
  background-size: 100%;
}

.swiper-pagination-bullet:nth-child(5)::before {
  background: url(../images/s02/bot05.png) no-repeat left top;
  background-size: 100%;
}

.swiper-pagination-bullet:nth-child(6)::before {
  background: url(../images/s02/bot06.png) no-repeat left top;
  background-size: 100%;
}

.swiper-pagination-bullet:nth-child(7)::before {
  background: url(../images/s02/bot07.png) no-repeat left top;
  background-size: 100%;
}

.swiper-pagination-bullet:nth-child(8)::before {
  background: url(../images/s02/bot08.png) no-repeat left top;
  background-size: 100%;
}

/*---s03-------------*/
#s03 {
  position: relative;
  background: #f7f3ee;
  margin-top: -6vw;
  padding: 10vw 0 5vw;
  z-index: 2;
}

.life_w {
  position: relative;
}
.life_w h2 {
  width: 37.5%;
  position: relative;
  margin: 2% auto 3%;
}
@media (max-width: 768px) {
  .life_w h2 {
    width: 54.5%;
  }
}
.life_w h2 .h2_pL {
  width: 36.6%;
  position: absolute;
  left: -40%;
  top: 0;
  z-index: 2;
}
@media (max-width: 768px) {
  .life_w h2 .h2_pL {
    left: -36.6%;
  }
}
.life_w h2 .h2_pR {
  width: 41.6%;
  position: absolute;
  right: -45%;
  top: 0;
  z-index: 2;
}
@media (max-width: 768px) {
  .life_w h2 .h2_pR {
    right: -41%;
  }
}
.life_w p.h2_text {
  font-size: 1.5vw;
  font-weight: 400;
  color: #515151;
  line-height: 2;
  text-align: center;
}
@media (max-width: 992px) {
  .life_w p.h2_text {
    font-size: 1.75vw;
  }
}
@media (max-width: 768px) {
  .life_w p.h2_text {
    width: 95%;
    font-size: 3.5vw;
    line-height: 1.75;
    margin: 0 auto 5%;
  }
}

.life_list_w {
  width: 83.75%;
  position: relative;
  margin: 5% auto 0;
}
@media (max-width: 768px) {
  .life_list_w {
    width: 90%;
  }
}
.life_list_w .life_list {
  position: relative;
}

.life_content {
  width: calc(98% - 6px);
  position: relative;
  background: #fffef3;
  border: 3px solid #fff;
  border-radius: 2.5vw;
}
.life_content::after {
  display: block;
  content: "";
  width: calc(100% - 6px);
  height: 100%;
  position: absolute;
  left: 0.75vw;
  top: 0.75vw;
  z-index: -1;
  background: #f77b55;
  border: 3px solid #f77b55;
  border-radius: 2.5vw;
}
@media (max-width: 768px) {
  .life_content::after {
    left: 1.75vw;
    top: 1vw;
  }
}

.life_content {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: stretch;
  padding: 5% 0 0;
}
.life_content .life_box {
  width: 33.2%;
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5%;
}
@media (max-width: 768px) {
  .life_content .life_box {
    width: 100%;
    margin-bottom: 10%;
  }
}
.life_content .life_box::after {
  display: block;
  content: "";
  width: 4.5%;
  height: 100%;
  position: absolute;
  right: -2.5%;
  top: 0;
  z-index: 2;
  background: url(../images/s03/life_box_line.png) repeat-y left top;
  background-size: 100%;
}
@media (max-width: 768px) {
  .life_content .life_box::after {
    width: 100%;
    background: url(../images/s03/life_box_line_m.png) repeat-x left top;
    background-size: 9%;
    left: 0%;
    top: 105%;
  }
}
.life_content .life_box:nth-child(3n)::after {
  display: none;
}
@media (max-width: 768px) {
  .life_content .life_box:nth-child(3n)::after {
    display: block;
  }
}
@media (max-width: 768px) {
  .life_content .life_box:last-child::after {
    display: none;
  }
}
.life_content .life_box .life_info_g {
  width: 100%;
  position: relative;
  text-align: center;
}
.life_content .life_box .life_info_g .life_photo {
  width: 73.1%;
  margin: 1% auto;
}
.life_content .life_box .life_info_g h3 {
  position: relative;
  display: inline-flex;
  width: auto;
  flex-flow: column wrap;
  justify-content: flex-start;
  align-items: stretch;
  margin: 2% auto;
}
.life_content .life_box .life_info_g h3::before {
  display: block;
  content: "";
  width: 1.3vw;
  height: 100%;
  background: url(../images/s03/h3_L.png) no-repeat left top;
  background-size: 100%;
  position: absolute;
  left: -5.3%;
  top: 0;
  z-index: 2;
}
@media (max-width: 768px) {
  .life_content .life_box .life_info_g h3::before {
    width: 3.6vw;
    background: url(../images/s03/h3_L_m.png) no-repeat left top;
    background-size: 100%;
  }
}
.life_content .life_box .life_info_g h3::after {
  display: block;
  content: "";
  width: 1.3vw;
  height: 100%;
  background: url(../images/s03/h3_R.png) no-repeat left top;
  background-size: 100%;
  position: absolute;
  right: -5.3%;
  top: 0;
  z-index: 2;
}
@media (max-width: 768px) {
  .life_content .life_box .life_info_g h3::after {
    width: 3.6vw;
    background: url(../images/s03/h3_R_m.png) no-repeat left top;
    background-size: 100%;
  }
}
.life_content .life_box .life_info_g h3 div {
  display: inline-block;
  width: auto;
  font-size: 1.4vw;
  font-weight: 600;
  color: #3863a0;
  text-align: center;
  padding: 0 1.5vw;
}
@media (max-width: 768px) {
  .life_content .life_box .life_info_g h3 div {
    font-size: 4vw;
    padding: 0 3.5vw;
  }
}
.life_content .life_box .life_info_g h3 div:nth-child(1) {
  border-bottom: 3px dotted #f6929b;
}
.life_content .life_box .life_info_g p {
  width: 85%;
  text-align: justify;
  margin: 0 auto 2.5%;
}
.life_content .life_box .life_sale_g {
  width: 85%;
  position: relative;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}
.life_content .life_box .life_sale_g .life_sale {
  width: 72.4%;
  font-size: 1.15vw;
  font-weight: 400;
  color: #ff4343;
  letter-spacing: 0;
}
@media (max-width: 992px) {
  .life_content .life_box .life_sale_g .life_sale {
    width: 100%;
    font-size: 1.75vw;
  }
}
@media (max-width: 768px) {
  .life_content .life_box .life_sale_g .life_sale {
    font-size: 3.8vw;
  }
}
.life_content .life_box .life_sale_g .life_sale span {
  display: inline;
  font-family: Arial;
  font-size: 1.5vw;
  font-weight: bold;
}
@media (max-width: 992px) {
  .life_content .life_box .life_sale_g .life_sale span {
    font-size: 2vw;
  }
}
@media (max-width: 768px) {
  .life_content .life_box .life_sale_g .life_sale span {
    font-size: 4.5vw;
  }
}
.life_content .life_box .life_sale_g .life_link {
  width: 25%;
}
@media (max-width: 992px) {
  .life_content .life_box .life_sale_g .life_link {
    width: 35%;
    margin: 2.5% 0 2.5% 65%;
  }
}
@media (max-width: 768px) {
  .life_content .life_box .life_sale_g .life_link {
    width: 25%;
  }
}

/*---選項卡---*/
.tabs {
  display: flex;
  flex-wrap: wrap;
}

.tabs label {
  order: 1;
  display: block;
  /*padding: 1rem 2rem;
  margin-right: 0.2rem;*/
  cursor: pointer;
  /*background: #90CAF9;*/
  /* background: url("images/tab/tab_btn_bg.png"); */
  font-weight: bold;
  transition: background ease 0.2s;
  position: relative;
  z-index: 3;
  margin: 0 0.2%;
  width: 14.8%;
}
@media (max-width: 768px) {
  .tabs label {
    width: 30.8%;
    margin: 0.5% 0.2%;
  }
}
.tabs label::before {
  display: block;
  content: "";
  width: 105%;
  height: 5px;
  background: #f2cb57;
  position: absolute;
  left: -2.5%;
  bottom: -5px;
  z-index: 2;
}

.tabs .tab {
  order: 99;
  flex-grow: 1;
  width: 100%;
  display: none;
  /*padding: 1rem;
  background: #fafafa;
  margin:0.2% 0 0.5% 0;*/
}

.tabs input[type=radio] {
  position: absolute;
  opacity: 0;
}

.tabs input[type=radio]:checked + label.tab_btn01 {
  background: url("../images/s03/btn_on.png");
  background-size: 100%;
}
@media (max-width: 768px) {
  .tabs input[type=radio]:checked + label.tab_btn01 {
    background: url("../images/s03/btn_on_m.png");
    background-size: 100%;
  }
}

.tabs input[type=radio]:checked + label.tab_btn02 {
  background: url("../images/s03/btn_on.png");
  background-size: 100%;
}
@media (max-width: 768px) {
  .tabs input[type=radio]:checked + label.tab_btn02 {
    background: url("../images/s03/btn_on_m.png");
    background-size: 100%;
  }
}

.tabs input[type=radio]:checked + label.tab_btn03 {
  background: url("../images/s03/btn_on.png");
  background-size: 100%;
}
@media (max-width: 768px) {
  .tabs input[type=radio]:checked + label.tab_btn03 {
    background: url("../images/s03/btn_on_m.png");
    background-size: 100%;
  }
}

.tabs input[type=radio]:checked + label.tab_btn04 {
  background: url("../images/s03/btn_on.png");
  background-size: 100%;
}
@media (max-width: 768px) {
  .tabs input[type=radio]:checked + label.tab_btn04 {
    background: url("../images/s03/btn_on_m.png");
    background-size: 100%;
  }
}

.tabs input[type=radio]:checked + label.tab_btn05 {
  background: url("../images/s03/btn_on.png");
  background-size: 100%;
}
@media (max-width: 768px) {
  .tabs input[type=radio]:checked + label.tab_btn05 {
    background: url("../images/s03/btn_on_m.png");
    background-size: 100%;
  }
}

.tabs input[type=radio]:checked + label.tab_btn06 {
  background: url("../images/s03/btn_on.png");
  background-size: 100%;
}
@media (max-width: 768px) {
  .tabs input[type=radio]:checked + label.tab_btn06 {
    background: url("../images/s03/btn_on_m.png");
    background-size: 100%;
  }
}

.tabs input[type=radio]:checked + label + .tab {
  display: block;
  margin: 0 auto;
}

/*--------------*/
.tabs_box {
  display: block;
  width: 100%;
  margin: 2% auto;
}

.tab_btn01 {
  background: url("../images/s03/btn_off.png");
  background-size: 100%;
}
@media (max-width: 768px) {
  .tab_btn01 {
    background: url("../images/s03/btn_off_m.png");
    background-size: 100%;
  }
}

.tab_btn02 {
  background: url("../images/s03/btn_off.png");
  background-size: 100%;
}
@media (max-width: 768px) {
  .tab_btn02 {
    background: url("../images/s03/btn_off_m.png");
    background-size: 100%;
  }
}

.tab_btn03 {
  background: url("../images/s03/btn_off.png");
  background-size: 100%;
}
@media (max-width: 768px) {
  .tab_btn03 {
    background: url("../images/s03/btn_off_m.png");
    background-size: 100%;
  }
}

.tab_btn04 {
  background: url("../images/s03/btn_off.png");
  background-size: 100%;
}
@media (max-width: 768px) {
  .tab_btn04 {
    background: url("../images/s03/btn_off_m.png");
    background-size: 100%;
  }
}

.tab_btn05 {
  background: url("../images/s03/btn_off.png");
  background-size: 100%;
}
@media (max-width: 768px) {
  .tab_btn05 {
    background: url("../images/s03/btn_off_m.png");
    background-size: 100%;
  }
}

.tab_btn06 {
  background: url("../images/s03/btn_off.png");
  background-size: 100%;
}
@media (max-width: 768px) {
  .tab_btn06 {
    background: url("../images/s03/btn_off_m.png");
    background-size: 100%;
  }
}

.tabs {
  display: flex;
  justify-content: center;
}

/*---s04-------------*/
#s04 {
  position: relative;
  background: #f7f3ee;
  padding: 2.5% 0 0;
}
#s04 .wave_top {
  position: relative;
  background: url(../images/s04/wave_top.png) repeat-x top left;
  background-size: 14.375%;
  animation: wave_ani 10s linear infinite;
}
#s04 .wave_top img {
  width: 14.375%;
  opacity: 0;
}
#s04 .wave_bottom {
  position: relative;
  background: url(../images/s04/wave_bottom.png) repeat-x top left;
  background-size: 14.375%;
  animation: wave_ani 10s linear infinite;
}
#s04 .wave_bottom img {
  width: 14.375%;
  opacity: 0;
}
#s04 .event02_w {
  position: relative;
  background: #fadcdc;
  margin-top: -1px;
  padding: 5% 0;
  overflow: hidden;
}
#s04 .event02_w .event02_g {
  width: 83.3%;
  position: relative;
  margin: 0 auto;
}
@media (max-width: 768px) {
  #s04 .event02_w .event02_g {
    width: 91.7%;
  }
}
#s04 .event02_w .event02_g h2 {
  width: 37.5%;
  position: relative;
  margin: 2% auto 3%;
}
@media (max-width: 768px) {
  #s04 .event02_w .event02_g h2 {
    width: 54.5%;
  }
}
#s04 .event02_w .event02_g h2 .h2_pL {
  width: 35.3%;
  position: absolute;
  left: -40%;
  top: 0;
  z-index: 2;
}
#s04 .event02_w .event02_g h2 .h2_pR {
  width: 36.6%;
  position: absolute;
  right: -40%;
  top: 0;
  z-index: 2;
}
#s04 .event02_w .event02_g p.h2_text {
  font-size: 1.5vw;
  font-weight: 400;
  color: #515151;
  text-align: center;
  line-height: 2;
}
@media (max-width: 992px) {
  #s04 .event02_w .event02_g p.h2_text {
    font-size: 1.75vw;
  }
}
@media (max-width: 768px) {
  #s04 .event02_w .event02_g p.h2_text {
    width: 100%;
    font-size: 3.5vw;
    line-height: 1.75;
    margin: 0 auto 5%;
  }
}

.event02_rules_w {
  position: relative;
  margin: 5% auto 0;
}
.event02_rules_w .event02_top {
  position: relative;
}
.event02_rules_w .event02_top::before {
  display: block;
  content: "";
  width: 24.6%;
  height: 200%;
  position: absolute;
  right: 2.5%;
  top: 7vw;
  background: url(../images/s04/events02_photos.png) no-repeat left top;
  background-size: 100%;
  z-index: 2;
}
@media (max-width: 992px) {
  .event02_rules_w .event02_top::before {
    width: 30%;
    right: 5%;
    top: 10vw;
  }
}
@media (max-width: 768px) {
  .event02_rules_w .event02_top::before {
    width: 36%;
    top: 37vw;
  }
}
.event02_rules_w .event02_content {
  position: relative;
  background: url(../images/s04/event02_bg.png) repeat-y left top;
  background-size: 100%;
  overflow: hidden;
}
.event02_rules_w .event02_content .btn_rules {
  width: 12.3vw;
  margin: 2.5% auto;
}
@media (max-width: 768px) {
  .event02_rules_w .event02_content .btn_rules {
    width: 32%;
    margin: 2.5% auto 10%;
  }
}
.event02_rules_w .event02_bottom {
  position: relative;
}
.event02_rules_w .event02_bottom::before {
  display: block;
  content: "";
  width: 24.6%;
  height: 100%;
  position: absolute;
  right: 5%;
  bottom: 6vw;
  background: url(../images/s04/people.png) no-repeat left top;
  background-size: 100%;
  z-index: 2;
}
@media (max-width: 768px) {
  .event02_rules_w .event02_bottom::before {
    width: 30%;
    height: 120%;
  }
}

ul.event02_list {
  width: 85.9%;
  position: relative;
  margin: 0 auto;
  padding: 2.5% 0;
  list-style-type: none;
}
ul.event02_list li {
  list-style-type: none;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0.5vw 0;
}
@media (max-width: 768px) {
  ul.event02_list li {
    margin: 5vw 0;
  }
}
ul.event02_list li .item {
  display: inline-block;
  width: auto;
  font-size: 1.15vw;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
  background: url(../images/s01/item_bg.png) no-repeat left top;
  background-size: 100% 100%;
  padding: 0.25vw 1vw;
}
@media (max-width: 992px) {
  ul.event02_list li .item {
    font-size: 1.75vw;
  }
}
@media (max-width: 768px) {
  ul.event02_list li .item {
    display: block;
    font-size: 3.8vw;
    text-align: center;
  }
}
ul.event02_list li .item_content {
  display: inline-block;
  width: calc(100% - 6.5vw - 5vw);
  position: relative;
  font-size: 1.15vw;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
  padding: 0.25vw;
}
@media (max-width: 768px) {
  ul.event02_list li .item_content {
    width: calc(100% - 0vw - 0vw);
  }
}
@media (max-width: 768px) {
  ul.event02_list li .item_content ol.step li {
    margin: 0.5vw 0;
  }
}
ul.event02_list li .item_content ol.step li span {
  font-size: 1vw;
}
@media (max-width: 992px) {
  ul.event02_list li .item_content ol.step li span {
    font-size: 1.5vw;
  }
}
@media (max-width: 768px) {
  ul.event02_list li .item_content ol.step li span {
    font-size: 3vw;
  }
}
@media (max-width: 768px) {
  ul.event02_list li .item_content ol.ps_list li {
    margin: 0.5vw 0;
  }
}
ul.event02_list li span {
  display: inline;
  width: auto;
  font-size: 1vw;
  font-weight: 600;
  line-height: 2;
}

/*---footer-------------*/
footer {
  position: relative;
  background: #f7f3ee;
  overflow: hidden;
}
footer .footer_w {
  width: 83.3%;
  position: relative;
  margin: 2.5% auto;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: flex-start;
}
@media (max-width: 992px) {
  footer .footer_w {
    margin: 10% auto;
  }
}
@media (max-width: 768px) {
  footer .footer_w {
    width: 97%;
    margin: 2.5% auto 15%;
  }
}
footer .footer_w .logo_D {
  width: 29.3%;
}
@media (max-width: 768px) {
  footer .footer_w .logo_D {
    width: 40.8%;
  }
}
footer .footer_w .logo_CSD {
  width: 20.9%;
}
@media (max-width: 768px) {
  footer .footer_w .logo_CSD {
    width: 25.5%;
  }
}
footer .footer_w .logo_life {
  width: 18.75%;
  font-size: 1vw;
  font-weight: 500;
  color: #333;
}
@media (max-width: 768px) {
  footer .footer_w .logo_life {
    font-size: 2.5vw;
  }
}
footer .footer_w .logo_life span {
  font-size: 0.9vw;
  font-weight: 400;
  color: #333;
  line-height: 2;
}
@media (max-width: 768px) {
  footer .footer_w .logo_life span {
    font-size: 2vw;
  }
}
@media (max-width: 768px) {
  footer .footer_w .logo_life {
    width: 21%;
  }
}

/*---popup / 注意事項---*/
/*---popup---*/
.modally {
  width: 70.3%;
  background: none;
  box-shadow: none;
  padding: 4px;
}
@media (max-width: 991px) {
  .modally {
    width: 90%;
  }
}

.modally .modally-close-button {
  display: block;
  font-size: 50px;
  color: #000;
  padding: 0;
}
@media (max-width: 767px) {
  .modally .modally-close-button {
    font-size: 8vw;
  }
}

.modally-wrap .modally-underlay {
  background: rgb(250, 220, 220);
  background-size: 100%;
}

/*popup / 分享圖*/
.event-w {
  width: 60.2%;
  margin: 0% auto;
  padding: 5% 0;
  position: relative;
}

/*popup / 活動辦法*/
.rules-w {
  width: 90%;
  margin: 0% auto;
  padding: 5% 0;
  position: relative;
  text-align: center;
}
.rules-w h2 {
  display: inline-block;
  position: relative;
  width: auto;
  font-size: 2vw;
  font-weight: bold;
  line-height: 1.5;
  color: #3863a0;
  text-align: center;
  margin: 0 auto 2%;
  padding: 0 5%;
}
.rules-w h2::before {
  display: block;
  content: "";
  width: 5%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  border: 5px solid #3863a0;
  border-right: 0;
  border-radius: 20vw 0 0 20vw;
}
.rules-w h2::after {
  display: block;
  content: "";
  width: 5%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
  border: 5px solid #3863a0;
  border-left: 0;
  border-radius: 0 20vw 20vw 0;
}
@media (max-width: 992px) {
  .rules-w h2 {
    font-size: 4vw;
  }
}
@media (max-width: 768px) {
  .rules-w h2 {
    font-size: 5vw;
    margin: 10% auto;
  }
}

ul.ps_text {
  list-style-type: none;
  display: flex;
  flex-flow: column wrap;
  font-size: 1vw;
  line-height: 1.5;
  margin: 0 auto 0%;
  padding-left: 2.5%;
}
ul.ps_text li {
  width: 100%;
  list-style-type: cjk-ideographic;
  font-size: 1vw;
  font-weight: 400;
  line-height: 1.5;
  text-align: justify;
  color: #333;
  margin: 1% 0 1% 0%;
}
@media (max-width: 992px) {
  ul.ps_text li {
    width: 100%;
    margin: 1% 0 1% 0%;
    font-size: 3vw;
  }
}
ul.ps_text li .item_b {
  font-size: 1.15vw;
  font-weight: bold;
}
@media (max-width: 992px) {
  ul.ps_text li .item_b {
    font-size: 3.5vw;
  }
}
ul.ps_text li a {
  font-size: 1vw;
  color: #3863a0;
  text-decoration: underline;
}
@media (max-width: 992px) {
  ul.ps_text li a {
    font-size: 3vw;
  }
}
ul.ps_text li ul {
  list-style-type: none;
  padding-left: 5%;
}
ul.ps_text li ul li {
  width: 100%;
  list-style-type: disc;
  font-size: 1vw;
  font-weight: 400;
  line-height: 1.5;
  text-align: justify;
  color: #333;
  margin: 1% 0 1% 0%;
}
@media (max-width: 992px) {
  ul.ps_text li ul li {
    width: 100%;
    font-size: 3vw;
    margin: 2% 0;
  }
}
ul.ps_text li ol {
  list-style-type: decimal-leading-zero;
  padding-left: 5%;
}
ul.ps_text li ol li {
  width: 100%;
  list-style-type: decimal-leading-zero;
  font-size: 1vw;
  font-weight: 400;
  line-height: 1.5;
  text-align: justify;
  color: #333;
  margin: 1% 0 1% 0%;
}
@media (max-width: 992px) {
  ul.ps_text li ol li {
    width: 100%;
    font-size: 3vw;
    margin: 2% 0;
  }
}

/*-------------------------------------------------------------*/
.overlay {
  width: 100%;
  background: rgba(245, 170, 165, 0.95);
  background-size: 100%;
}

.overlay nav {
  top: 0vh;
  height: 100vh;
}
.overlay nav ul {
  display: block;
  width: 30%;
  height: 80%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  padding: 5% 10%;
}
@media (max-width: 992px) {
  .overlay nav ul {
    width: 80%;
  }
}
@media (max-width: 768px) {
  .overlay nav ul {
    width: 80%;
  }
}
.overlay nav ul a li {
  width: 100%;
  display: flex;
}
.overlay nav ul a li div {
  width: 100%;
  font-family: "Noto Serif TC";
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 2;
  color: #4980a5;
  background: #f5f5f5;
  text-align: center;
  position: relative;
  transition: all 0.25s ease-in-out;
}
.overlay nav ul a:hover li div {
  color: #fff;
  background: #4980a5;
}

.overlay .overlay-close {
  top: 0;
}

.overlay .overlay-close {
  max-width: 58px;
  max-height: 58px;
}

button.menu_m {
  display: none;
  position: relative;
  top: 0%;
  right: 0%;
  width: 3.1%;
  border: none;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  padding: 0;
  background-color: transparent;
  text-indent: -9999px;
  cursor: pointer;
  z-index: 990;
  outline: 0;
  order: 3;
}
@media (max-width: 992px) {
  button.menu_m {
    width: 5%;
  }
}
@media (max-width: 768px) {
  button.menu_m {
    display: block;
    width: 10vw;
  }
}

/*----------------------*/
/* 滾動觸發 */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

/* 2. 當 JS 加上 .is-show 時觸發動畫 */
.animate-up.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* 如果瀏覽器不支援 JS，直接顯示內容 */
.no-js .animate-up {
  opacity: 1;
  transform: translateY(0);
}

/* 當 JS 沒跑時的修正 */
.no-js .swiper-wrapper {
  display: block; /* 取消 flex 排列 */
  height: auto !important;
}

.no-js .swiper-slide {
  margin-bottom: 30px; /* 讓卡片一張接一張垂直排好 */
  width: 100% !important; /* 確保寬度撐滿 */
  opacity: 1 !important; /* 確保內容可見 */
}

/* 或者你希望維持水平，但改用原生捲軸 */
.no-js .swiper-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}/*# sourceMappingURL=style.css.map */