@charset "UTF-8";
:root
{
  --basics-font: "Noto Sans TC", sans-serif;
  --big-size: 2.25rem;
  --first-size: 1.75rem;
  --second-size: 1.5rem;
  --third-size: 1.375rem;
  --fourth-size: 1.25rem;
  --basics-size: 1.125rem;
  --smallest-size: 0.938rem;
  --color-wh: #ffffff;
  --color-bk: #000000;
  --color-o: #f99135;
  --color-r: #ea4134;
  --color-g: #d9fe80;
  --color-btn-g: #d1ff40;
  --color-btn-b: #8defff;
  --color-btn-p: #ffb8f2;
  --color-btn-r: #ffa1a1;
  --color-btn-o: #ffb164;
  --color-btn-y: #ffde3b;
}

@media screen and (max-width: 860px){
  :root{
    --big-size: 2rem;
  }
}

@media screen and (max-width: 800px){
  :root{
    --first-size: 1.5rem;
    --second-size: 1.375rem;
    --third-size: 1.25rem;
    --fourth-size: 1.125rem;
    --basics-size: 1rem;
    --smallest-size: 0.88rem;
  }
}

@media screen and (max-width: 600px){
  :root{
    --big-size: clamp(1.5rem, 0.9286rem + 2.8571vw, 2rem);
    --first-size: clamp(1.375rem, 1.2321rem + 0.7143vw, 1.5rem);
    --second-size: clamp(1.25rem, 1.1071rem + 0.7143vw, 1.375rem);
  }
}

@media screen and (max-width: 319px){
  :root{
    --big-size: 12px;
    --first-size: 12px;
    --second-size: 12px;
    --third-size: 12px;
    --fourth-size: 12px;
    --basics-size: 12px;
    --smallest-size: 12px;
  }
}

*{margin: 0; padding: 0; box-sizing: border-box;}
ul, li{margin: 0; padding: 0; list-style: none;}
img, div, iframe{border: 0; vertical-align: bottom;}
h1{display: none;}
a:link, a:visited ,a:hover ,a:active{text-decoration: none;}
body{text-autospace: normal;}
body, html{
-webkit-text-size-adjust: 100%;
text-rendering: optimizeLegibility !important;
-webkit-font-smoothing: antialiased !important;}
body{overflow-x: hidden;}
html{scroll-behavior: smooth;}
h2, h3, h4{color: var(--color-bk); font-weight: 800;}
p{font-size: var(--basics-size); line-height: 1.75; font-weight: 500; color: var(--color-bk);}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video{font-family: var(--basics-font);}

.kv-wrap{width: 100%; height: 550px; overflow: hidden; background: var(--color-g) url(../img/kv-bg.jpg?v=260910) center top no-repeat; background-size: 2560px;}
.kv-wrap ul{width: 700px; height: 100%; position: relative; left: 50%; margin-left: -350px;}
.kv-wrap ul li{position: absolute;}
.kv-wrap ul li img{width: 100%;}
.kv-tit-1{width: 306.5px; left: 0; top: 47px;}
.kv-tit-2{width: 393.5px; right: 0; top: 0;}
.kv-tit-3{width: 700px; left: 0; bottom: 0;}
.kv-guy-1{width: 157.5px; left: 260px; top: 173px;}
.kv-guy-2{width: 141.5px; left: 417px; top: 173px;}
.kv-guy-3{width: 179px; right: 0; top: 173px;}
.kv-alt-1{width: 700px; left: 0; top: 173px;}
.kv-alt-2{width: 700px; left: 0; top: 47px;}
.kv-cloud{width: 183px; left: -175px; top: 47px;}
.m-kv{display: none;}

.nav-wrap{width: 100%; background: var(--color-g);}
.menu{text-align: center; display: flex; justify-content: center;}
.menu li{height: 60px; line-height: 60px; font-size: var(--second-size); font-weight: 800; cursor: pointer;}
.menu li a{display: block; width: 100%; height: 100%; color: var(--color-bk); cursor: pointer; padding: 0 40px; transition: .5s;}
.menu li a:hover{background: var(--color-btn-b); transition: .5s;}
.menu li:last-child{border-right: none;}
#stickyHeader.fixed{position: fixed; top: 0; left: 0; width: 100%; z-index: 999;}
#sports-events{padding-top: 100px;}
.bg{background: linear-gradient(to bottom, var(--color-wh) 0%, var(--color-wh) 30%, #f1ffc0 100%);}
section{width: 100%; display: block; position: relative; z-index: 1;}
.bg-decoration{position: relative;}
.bg-decoration-item{position: absolute; display: block; background-repeat: no-repeat; background-position: center; background-size: contain; pointer-events: none; z-index: 0;}
.bg-decoration-1{width: 62vw; max-width: 1580px; aspect-ratio: 1580 / 1304; top: 0; right: 0; background-image: url("../img/pg-bg-1.png");}
.bg-decoration-2{width: 64vw; max-width: 1646px; aspect-ratio: 1646 / 1333; bottom: 20%; left: 0; background-image: url("../img/pg-bg-2.png");}
.page{width: 1200px; margin: 0 auto; text-align: center;}
.bg-decoration-3, .bg-decoration-4, .bg-decoration-5, .bg-decoration-6{display: none;}
.stit-wrap{width: 100%; display: inline-flex; justify-content: center;}
.stit-wrap img{width: 287px;}

.division-map{display: flex; justify-content: center; gap: 40px; position: relative; margin: 150px 0;}
.division-map ul{margin-left: 20px;}
.division-map ul li{list-style-type: disc; margin-bottom: 6px; font-size: var(--basics-size); line-height: 1.75; font-weight: 500; color: var(--color-bk);}
.division-map ul li::marker, .division-map ul li strong{color: var(--color-r);}
.division-map li strong{font-weight: 700;}
.content-intro{flex: 0.8;}
.content-intro h2{font-size: var(--big-size); letter-spacing: 1px; position: relative; display: inline-block; z-index: 0; padding: 0 5px; margin-bottom: 15px;}
.content-intro h2::after{content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 40%; background: var(--theme-color); z-index: -1;}
.content-intro p.date{font-weight: 700;}
.content{text-align: left; margin-bottom: 5px;}
.tags{display: inline-block; padding: 3px 12px 5px; min-width: 90px; text-align: center; margin: 30px 0 6px; border: 2px solid var(--color-bk); background: var(--color-btn-y); border-radius: 30px; font-weight: 800; color: var(--color-bk); font-size: 1rem; letter-spacing: 0.5px;}
.tags:nth-child(1){margin-top: 20px;}
.content-intro-pic{overflow: hidden; position: relative;}
.content-intro-pic .fade-img{display: block; width: 490px; height: auto; transition: opacity 1s ease;}
.content-intro-pic .fade-img:not(.active){position: absolute; top: 0; left: 0; opacity: 0;}
.content-intro-pic .fade-img.active{opacity: 1;}
.second{flex-direction: row-reverse;}
.pg-peo{position: absolute; width: 180px; z-index: 9;}
.pg-peo-1{left: 50px; bottom: -50px;}
.pg-peo-2{right: 110px; bottom: -100px;}
.pg-peo-3{left: 120px; bottom: -100px;}
.pg-peo-4{right: 140px; bottom: -70px;}

.link{display: inline-block; margin: 20px 0; border-radius: 30px; background: var(--theme-color);}
.link a{display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 100%; cursor: pointer; border-radius: 30px; padding: 10px 20px; border: 3px solid var(--color-bk); font-weight: 800; color: var(--color-bk); font-size: var(--third-size); letter-spacing: 0.5px; transition: .3s;}
.link a .arrow{width: 50px;}
.link a:hover{text-decoration: none; background: var(--color-bk); border: 3px solid var(--theme-color); color: var(--theme-color);  transition: .3s;}

.theme-g{--theme-color: var(--color-btn-g); margin-top: 60px;}
.theme-b{--theme-color: var(--color-btn-b);}
.theme-p{--theme-color: var(--color-btn-p);}
.theme-r{--theme-color: var(--color-btn-r);}
.theme-o{--theme-color: var(--color-btn-o); margin-bottom: 80px;}

.tabs{font-size: 0; list-style: none; display: flex; margin-top: 40px;}
.tabs li{flex: 1; text-align: center; border: 3px solid var(--color-bk); border-bottom: none; border-radius: 20px 20px 0 0; background: var(--color-g); margin-left: -2px;}
.tabs li:first-child{margin-left: 0;}
.tabs li a{width: 100%; height: 100%; text-decoration: none; display: block; padding: 12px 20px;}
.tabs li.active{background: var(--color-btn-o);}
.tabs li h2{font-size: var(--second-size); display: inline; font-weight: 800; color: var(--color-bk);}
.productListCustomBlock .product-list__detail ul{padding-bottom: 0;}

.products-wrap{border: 3px solid var(--color-bk); margin-bottom: 10px; background: var(--color-wh); border-radius: 0 0 20px 20px;}
.products-td{width: 100%; padding: 20px 30px 10px; position: relative;}
.p-content ul li{margin-bottom: 10px; transition: 0.3s; overflow: hidden; border-bottom: 2px dotted var(--color-bk); padding-bottom: 5px;}
.p-main{float: left; width: 70%; text-align: left;}
.p-name{display: inline-block; font-size: var(--third-size); font-weight: 700; line-height: 1.75; transition: .3s; color: var(--color-bk);}
.p-date{color: #666; line-height: 1.5; font-weight: 500; margin: 5px 0;}
.p-add{width: 30%; display: inline-flex; align-items: center; justify-content: flex-end; margin: 2.5% 0 10px;}
.p-price{display: inline-block; margin-right: 15px; color: var(--color-r); font-size: var(--third-size); font-weight: 700;}
.p-btn{display: inline-block; background: var(--color-btn-g); color: var(--color-bk); font-size: var(--basics-size); border-radius: 50px; line-height: 1.875; transition: .3s; font-weight: 700; padding: 2px 20px 3px;}
.p-content a:hover .p-name{color: var(--color-o);}
.p-content a:hover .p-btn{background: var(--color-o);}

/* 小人們 */
.robot-hand-guy, .robot-dash-guy, .robot-jump-guy, .robot-glitch-guy, .robot-look-guy{transition: transform 0.2s ease;}

.robot-hand-guy{animation: robot-wave 0.4s steps(2) infinite alternate;}
@keyframes robot-wave{
  0%{ transform: rotate(0deg) translateY(0);}
  100%{ transform: rotate(-15deg) translateY(-4px);}
}
.robot-dash-guy{animation: robot-dash 0.25s steps(2) infinite alternate;}
@keyframes robot-dash {
  0%{transform: skewX(-5deg) translateY(0);}
  100%{transform: skewX(-15deg) translateY(-8px);}
}
.robot-jump-guy{animation: robot-jump 0.6s steps(3) infinite;}
@keyframes robot-jump{
  0%, 100%{transform: translateY(0) scale(1, 1);}
  50%{transform: translateY(-15px) scale(0.9, 1.1);}
  90%{transform: translateY(0) scale(1.1, 0.9);}
}
.robot-glitch-guy{animation: robot-glitch 0.15s steps(2) infinite;}
@keyframes robot-glitch{
  0%{transform: translateX(-3px) skewY(1deg);}
  50%{transform: translateX(3px) skewY(-1deg);}
  100%{transform: translateX(0);}
}
.robot-look-guy{animation: robot-look 2s steps(2) infinite;}
@keyframes robot-look{
  0%, 45%{transform: scaleX(1);}
  50%, 95%{transform: scaleX(-1);}
}

/* back to top */
#back-top{position: fixed; bottom: 100px; right: 0; z-index: 999; border: 1px solid #e6e6e6; text-align: center; width: 50px; height: 50px; display: block; background: rgba(51, 51, 51, 0.7); line-height: 50px; font-size: 24px; color: var(--color-wh); font-weight: normal; transition: background-color 1s;}
#back-top a{display: block; width: 100%; height: 100%; color: var(--color-wh); transition: color 1s;}
#back-top:hover{background-color: rgba(51, 51, 51, 1);}

@media screen and (max-width: 1366px) {
  .page{width: 1100px;}
  .content-intro{flex: 1;}
  .pg-peo-1{left: 0; bottom: -60px;}
  .pg-peo-2{right: 50px; bottom: -90px;}
  .pg-peo-3{left: 50px;}
  .pg-peo-4{right: 70px;}
}

@media screen and (max-width: 1280px) {
  .page{width: 90%; margin: 0 5%;}
}

@media screen and (max-width: 1024px) {
  .content-intro-pic{flex: 1;}
  .content-intro-pic .fade-img{width: 100%;}
  #sports-events{padding-top: 80px;}
  .pg-peo-1{bottom: 0;}
  .pg-peo-2{bottom: -30px;}
  .pg-peo-3{left: 40px; bottom: -40px;}
  .pg-peo-4{bottom: -60px;}
}

@media screen and (max-width: 1023px) {
  .kv-wrap{display: none;}
  .m-kv{display: block; width: 100%;}
  .m-kv img{width: 100%;}
  .p-main{width: 100%;}
  .p-add{width: 100%;}
  .pg-peo-4{right: 60px; bottom: -90px;}
}

@media screen and (max-width: 960px) {
  .division-map{margin: 100px 0;}
  .theme-g{margin-top: 40px;}
  .pg-peo{width: 150px;}
  .pg-peo-1{left: 0px; bottom: 50px;}
  .pg-peo-2{right: 40px; bottom: 60px;}
  .pg-peo-3{left: 30px; bottom: 60px;}
  .pg-peo-4{right: 60px; bottom: -60px;}
}

@media screen and (max-width: 900px) {
  .pg-peo-1{bottom: 70px;}
  .pg-peo-2{bottom: 80px;}
  .pg-peo-3{bottom: 80px;}
  .pg-peo-4{right: 50px; bottom: -70px;}
}

@media screen and (max-width: 860px) {
  .division-map{margin: 80px 0;}
  .theme-g{margin-top: 40px;}
  #join{padding-top: 40px;}
  .pg-peo-1{bottom: 90px;}
  .pg-peo-2{right: 30px; bottom: 90px;}
  .pg-peo-3{bottom: 90px;}
}

@media screen and (max-width: 800px) {
  .tabs{flex-wrap: wrap; gap: 20px; margin: 30px 0;}
  .tabs li{margin: 5px 0; border-radius: 50px; border: 3px solid var(--color-bk);}
  .tabs li a{padding: 10px 5px 12px;}
  .tabs li.active, .tabs li:hover{border-radius: 50px;}
  .products-wrap{border-radius: 20px;}
  .products-td{padding: 20px 20px 10px;}
  .product-list__detail ul{padding-bottom: 0;}
  .p-add{margin: 0 0 10px;}
  .p-btn{padding: 3px 25px;}
  .bg-decoration-1, .bg-decoration-2{display: none;}
  .bg-decoration-3{display: block; width: 100%; max-width: 569px; aspect-ratio: 569 / 832; top: 8%; right: 0; background-image: url("../img/pg-bg-3.png");}
  .bg-decoration-4{display: block; width: 100%; max-width: 569px; aspect-ratio: 569 / 790; top: 30%; left: 0; background-image: url("../img/pg-bg-4.png");}
  .bg-decoration-5{display: block; width: 100%; max-width: 569px; aspect-ratio: 569 / 744; top: 55%; right: 0; background-image: url("../img/pg-bg-5.png");}
  .bg-decoration-6{display: block; width: 100%; max-width: 569px; aspect-ratio: 569 / 842; bottom: 5%; left: 0; background-image: url("../img/pg-bg-6.png");}
  .pg-peo-1{bottom: 80px;}
  .pg-peo-2{bottom: 80px;}
  .pg-peo-3{bottom: 80px;}
  .pg-peo-4{right: 40px; bottom: -80px;}
}

@media screen and (max-width: 768px) {
  .division-map{flex-direction: column; align-items: center;}
  .content-intro-pic{width: 60%;}
  .content-intro{width: 80%; margin-top: 20px;}
  .stit-wrap{width: 90%;}
  .stit-wrap img{width: 100%; max-width: 287px;}
  .menu li{width: 50%;}
  .pg-peo{width: 20%; max-width: 150px;}
  .pg-peo-1, .pg-peo-2, .pg-peo-3, .pg-peo-4{bottom: initial; top: 350px;}
  .pg-peo-1{left: 20%;}
  .pg-peo-2{right: 20%;}
  .pg-peo-3{left: 20%;}
  .pg-peo-4{right: 25%;}
  .content-intro p.date{font-size: var(--fourth-size);}
  p{line-height: 1.875;}
  .content{text-align: center;}
  .content p, .division-map ul li{text-align: left;}
  .division-map ul{margin-left: 16px;}
  .tags{margin: 20px 0 10px;}
  #join{padding-top: 0;}
}

@media screen and (max-width: 700px) {
  .content-intro-pic{width: 70%;}
  .content-intro{width: 90%; margin-top: 0;}
  .pg-peo-1, .pg-peo-2, .pg-peo-3, .pg-peo-4{top: 380px;}
  .pg-peo-1{left: 15%;}
  .pg-peo-2{right: 15%;}
  .pg-peo-3{left: 16%;}
  .pg-peo-4{right: 21%;}
}

@media screen and (max-width: 640px) {
  .tabs{gap: 10px;}
  .pg-peo-1, .pg-peo-2, .pg-peo-3, .pg-peo-4{top: 350px;}
}

@media screen and (max-width: 600px) {
  .pg-peo-1, .pg-peo-2, .pg-peo-3, .pg-peo-4{top: 330px;}
}

@media screen and (max-width: 560px) {
  .p-add{margin-top: 20px 0 10px;}
  .content-intro-pic{width: 80%;}
  .pg-peo-1, .pg-peo-2, .pg-peo-3, .pg-peo-4{top: 360px;}
  .stit-wrap img{max-width: 200px;}
}

@media screen and (max-width: 500px) {
  .pg-peo-1, .pg-peo-2, .pg-peo-3, .pg-peo-4{top: 320px;}
  .pg-peo-1{left: 12%;}
  .pg-peo-2{right: 12%;}
  .pg-peo-3{left: 12%;}
  .pg-peo-4{right: 18%;}
  .tabs{gap: 10px;}
  .tabs li{ flex: 0 0 calc(50% - 5px);}
}

@media screen and (max-width: 450px) {
  .content-intro-pic{width: 90%;}
  .pg-peo-1, .pg-peo-2, .pg-peo-3, .pg-peo-4{top: 350px;}
  .pg-peo-1{left: 10%;}
  .pg-peo-2{right: 10%;}
  .pg-peo-3{left: 10%;}
  .pg-peo-4{right: 15%;}
}

@media screen and (max-width: 430px) {
  .pg-peo-1, .pg-peo-2, .pg-peo-3, .pg-peo-4{top: 310px;}
  .p-name{font-size: var(--fourth-size);}
}

@media screen and (max-width: 380px) {
  .tabs li a{padding: 12px 10px 14px;}
  .content-intro-pic, .content-intro{width: 95%;}
  .division-map{margin: 60px 0;}
  .theme-g{margin-top: 40px;}
  #sports-events{padding-top: 60px;}
}

@media screen and (max-width: 360px) {
  .pg-peo-1, .pg-peo-2, .pg-peo-3, .pg-peo-4{top: 300px;}
  .pg-peo-1{left: 8%;}
  .pg-peo-2{right: 8%;}
  .pg-peo-3{left: 8%;}
  .pg-peo-4{right: 12%;}
  .p-date{margin: 10px 0 20px;}
}

@media screen and (max-width: 350px) {
  .pg-peo-1, .pg-peo-2, .pg-peo-3, .pg-peo-4{top: 270px;}
  .pg-peo-1{left: 5%;}
  .pg-peo-2{right: 5%;}
  .pg-peo-3{left: 5%;}
  .pg-peo-4{right: 5%;}
}

.pulse{animation: pulse 2.5s infinite;}
@keyframes pulse{
	0%{transform: scale(1);}
	50%{transform: scale(1);}
	55%{transform: scale(1.15);}
	60%{transform: scale(1);}
	65%{transform: scale(1.15);}
	70%{transform: scale(1);}
}

.bigEntrance{animation: bigEntrance .8s; visibility: visible !important;}
@keyframes bigEntrance{
  0%{transform: scale(0.3); opacity: 0;}
  30%{transform: scale(0.3); opacity: 0;}
  50%{transform: scale(0.3); opacity: 0;}
  80%{transform: scale(1.2);}
  90%{transform: scale(0.9);}
  100%{transform: scale(1); opacity: 1;}
}

.slideDown{animation: slideDown 1.2s;}
@keyframes slideDown{
	0%{transform: translateY(-150%); opacity: 0;}
	60%{opacity: 0;}
  75%{transform: translateY(4%);}
  85%{transform: translateY(-2%);}
	100%{transform: translateY(0%); opacity: 1;}
}

.slideDown2{animation: slideDown2 .5s;}
@keyframes slideDown2{
	0%{transform: translateY(-100%); opacity: 0;}
  75%{transform: translateY(10%);}
  85%{transform: translateY(-10%);}
	100%{transform: translateY(0%); opacity: 1;}
}

.slideUp{animation: slideUp 1.2s;}
@keyframes slideUp{
	0%{transform: translateY(150%); opacity: 0;}
	60%{opacity: 0;}
	75%{transform: translateY(-4%);}
	85%{transform: translateY(2%);}
	100%{transform: translateY(0%); opacity: 1;}
}

.slideLeft{animation: slideLeft .5s;}
@keyframes slideLeft{
	0%{transform: translateX(-10%); opacity: 0;}
	100%{transform: translateX(0%); opacity: 1;}
}

.fadeIn{animation: fadeIn .5s;}
@keyframes fadeIn{
	0%{transform: scale(0); opacity: 0;}
  50%{transform: scale(5); opacity: 0;}
  100%{transform: scale(1); opacity: 1;}
}
