/* reset */
*{ margin:0; padding:0; font-size:10px; box-sizing:border-box; -webkit-tap-highlight-color:rgba(0,0,0,0); -webkit-tap-highlight-color:transparent; outline:none; font-display:swap; }
html,body{ font-family:'Noto Sans TC','Microsoft JhengHei','PingFang TC','Open Sans','Arial',sans-serif; }
html{ -ms-text-size-adjust:100%; -webkit-text-size-adjust:100%; }
body{ margin:0; -webkit-overflow-scrolling:touch; text-align:center; }
:before,:after{ font-family:sans-serif; }
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary,div,a{ display:block; box-sizing:border-box; position:relative;}
a{ background:transparent; text-decoration:none; color:inherit; cursor:pointer; line-height:1em; display:inline-block; font-size:inherit;}
a:active{ outline:0; }
b,strong{ font-weight:bold; }
dfn{ font-style:normal; }
picture, img{ max-width:100%; display:inline-block; border:0; vertical-align:middle; line-height:0; font-size:0; }
input,textarea,button,select,option{ border:0; margin:0; outline:none; padding:0; font-size:1.6rem; font-family:'Noto Sans TC','Microsoft JhengHei','Apple LiGothic Medium','Open Sans','Arial',sans-serif; -webkit-appearance:none; -moz-appearance:none; -ms-appearance:none; appearance:none; }
label,span{ font-size:inherit; }
textarea{ resize:none; }
select::-ms-expand{ display:none; }
input::-moz-placeholder,textarea::-moz-placeholder{ color:#ccc; }
input:-ms-input-placeholder,textarea:-ms-input-placeholder{ color:#ccc; }
input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{ color:#ccc; }
table{ border-collapse:collapse; border-spacing:0; }
td,th{ padding:0; }
h1,h2,h3,h4,h5,h6,p,figure,form,blockquote{ margin:0; font-weight:normal; line-height:1em; margin-bottom:0;}
p,td,th,a,span,strong,b{ font-size:inherit; line-height:1.6em; }
ul,ol,li,dl,dd{ margin:0; padding:0; font-size:inherit;}
ul,ol{ list-style:none; box-sizing:border-box; }

/*loading*/
.loading{ width:100vw; height:100%; min-height:100vh; position:fixed; left:0; top:0; z-index:99; display:flex; justify-content:center; align-items:center; background-color:#8ed4f4f2;}
/*loading 圖*/
.loading-circle circle{ -webkit-animation:c1_2 9s linear infinite,c1_3 4.5s infinite; -moz-animation:c1_2 9s linear infinite,c1_3 4.5s infinite; animation:c1_2 9s linear infinite,c1_3 4.5s infinite; stroke-width:2px; }
@-webkit-keyframes c1_2{0%{stroke-width:0; } 10%{stroke-width:4; } 75%{stroke-width:4; } 90%{stroke-width:0; } 100%{stroke-width:0; } }
@-webkit-keyframes c1_3{
0%{stroke-dasharray:104,156; stroke-dashoffset:-52; } 16%{stroke-dasharray:1,156; stroke-dashoffset:-52; }
16.01%{stroke-dasharray:1,156; stroke-dashoffset:-208; } 33%{stroke-dasharray:104,52; stroke-dashoffset:-104; }
33.01%{stroke-dasharray:104,52; stroke-dashoffset:-104; } 49%{stroke-dasharray:1,156; stroke-dashoffset:-104; } 
49.01%{stroke-dasharray:1,156; stroke-dashoffset:52; } 66%{stroke-dasharray:104,52; stroke-dashoffset:156; }
66.01%{stroke-dasharray:104,52; stroke-dashoffset:156; } 82%{stroke-dasharray:1,156; stroke-dashoffset:156; }
82.01%{stroke-dasharray:1,156; stroke-dashoffset:156; } 99.99%{stroke-dasharray:104,52; stroke-dashoffset:256; }
}

.container-full ,.container{ padding:0 15px; width:100%; margin:0 auto; position:relative; }
.container{ max-width:1200px; }
body{ position:relative; width:100%; max-width:100%; overflow-x:hidden; height:100vh; height:calc(var(--vh, 1vh) * 100); }

.btn_more,
.btn_link{ border-radius:.4em; border:solid 2px; padding:.4em .7em .4em .9em; font-size:clamp(2rem, 5vw, 2.2rem); }
.btn_more h4,
.btn_link h4{ font-size:inherit; font-weight:600; }
.btn_more h4:after,
.btn_link h4:after{ content:''; background:url(../images/icon_more_white.svg) no-repeat center right; background-size:auto 100%; display:inline-block; width:1em; height:.8em; }
.btn_more.green-b{ background:#fff; color:#16BC00; }
.btn_more.orange-b{ background:#fff; color:#EF8200; }
.btn_more.green-b h4:after,
.btn_more.orange-b h4:after{ background-image:url(../images/icon_more.svg); }
.btn_more.green,
.btn_link.green{ background:#16BC00; color:#fff; border-color:#16BC00; }
.btn_more.blue,
.btn_link.blue{ background:#0085c3; color:#fff; border-color:#0085c3; }
.btn_link.dark_green{ background:#1B942C; color:#fff; border-color:#16BC00; }
.btn_link.orange{ background:#EF8200; color:#fff; border-color:#EF8200; }
.btn_link.purple{ background:#88589C; color:#fff; border-color:#88589C; }
.btn_more.orange{ background:#EF8200; color:#fff; border-color:#EF8200; }
.btn_more.purple{ background:#88589C; color:#fff; border-color:#88589C; }
.btn_more.cs{ pointer-events:none; color:#FFF; background:#AFAFAF; border-color:#5D5D5D; }
.btn_more.cs h4:after{ background-image:url(../images/icon_more_white.svg); }
.btn_more.cs:after{ content:'Coming soon'; font-size:.7em; text-align:left; display:block; line-height:1; font-weight:300; opacity:.8; }
.btn_link{  }
.btn_link h4:after{ background-image:url(../images/icon_arrow_white.svg); width:.6em; }

h2.title{ margin-bottom:24px; z-index:3; }
h2.title img{ width:auto; }
/* COSER 標題沿用共用高度，窄螢幕限制寬度並保持圖片比例。 */
h2.title.title-coser {
  max-width: 100%;
}
h2.title.title-coser img {
  object-fit: contain;
}
.container_bg{ width:100%; }
section{ display:flex; flex-direction:column; align-items:center;} 

header{ background:#DBDCFF; display:flex; flex-direction:column; align-items:center; }
header {width: 100vw;margin: 0;padding: 0;overflow: hidden;}

header .kv {
  display: block;
  width: 100%;
  height: auto;
}

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

header .cast_bg{ background:#fff; position:relative; z-index:2; }
header .cast_bg:before{ position:absolute; content:''; display:block; width:100%; padding-top:80%; background:url(../images/cast_bg_before.svg) no-repeat; background-size:cover; z-index:2; pointer-events:none; top:-5vw; }
header .cast_bg:after{ content:''; display:block; width:100%; padding-top:44vw; background:url(../images/cast_bg.svg) top center no-repeat; background-size:101% auto;; margin-bottom:0; }
header .cast .slide_box{ width:100%; padding-top:36px; position:relative; z-index:3; }
header .cast .slide_block{ width:100%; display:flex; flex-wrap:wrap; gap:12px 0; }
header .cast .slide_block hr{ width:100%; border:none; border-bottom:dotted 2px #3F57BD; margin:24px 0 36px; }
header .cast .slide_block .item {
  flex: 1 1 30%;
  height: 180px;
  margin-bottom: 32px;
  font-size: 1.6rem;
  color: #7C7979;
  font-weight: bold;
  flex-direction: column;
  align-items: center;
}
/* 卡司名稱使用整欄寬度，放在圖框下方並保持單行。 */
header .cast .slide_block .item .name {
  position: absolute;
  top: calc(100% + -13px);
  bottom: auto;
  left: 0;
  width: 100%;
  transform: none;
  white-space: nowrap;
  font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  line-height: 1.4;
  color: #787878;
  text-align: center;
}
header .cast .slide_block .item .name br {
  display: none;
}
header .cast .slide_block .item img{ width:100%; height:100%; object-fit:contain; object-position:center center; }


article.main{ position:relative; background:url(../images/main_bg.svg) center top no-repeat #ffd8a8; background-size:100% auto; }
/* 遊行資訊與宣傳大使圖片的間距 */
article.main .procession_bg {
  margin-bottom: 32px;
}
article.main .procession_box{ display:flex; flex-direction:column; gap:24px; }
article.main .date_block{ color:#000; text-align:left; }
article.main .date_block h3{ font-size:clamp(2rem, 5vw, 2.2rem); line-height:1.7; border-bottom:dotted 0.2em #000; }
article.main .btn_block{ display:flex; justify-content:space-between; align-items:stretch; flex-direction:column; gap:16px;}

article.main .group_bg{ position:relative; margin-bottom:-4px; }
article.main .group_bg:after{ content:''; display:block; width:100%; background:url(../images/night_bg_before.svg) center bottom no-repeat; background-size:101% auto; padding-top:66vw; }
/* article.main .group{ max-width:620px; } */
article.main .group h3{ color:#  6C3687; font-size:clamp(2rem, 5vw, 2.4rem); line-height:1.4; width:100%; margin-bottom:16px;}
article.main .group p{ font-size:clamp(1.4rem, 4vw, 2.2rem); line-height:2; margin-bottom:.5em;font-weight: bolder;}
article.main .group .text_block{ height: 100%; background:#fce6dd; border-radius:8px; color:#333; width:100%; max-width:32em; font-size:clamp(1.4rem, 5vw, 1.8rem); line-height:1.6; padding:1.2em 1.8em;border: 5px solid #FAE8FC;} 
article.main .group .text_block span { color: #f1087d; }
/* article.main .group h3 + img{ margin-bottom:24px; } */
article.main .group ul.group-list { display: flex; flex-wrap: wrap; justify-content: center; margin: 10px auto 0;}
article.main .group ul.group-list li { width:100%; margin: 20px 0; display: flex; flex-direction: column; }
article.main .group .pic { width: 100%; max-width:800px; margin-top: 30px; }
article.main .group .pic img { border-radius: 8px;}

article.main .night_bg{ background:url(../images/night_bg.svg) center 99% no-repeat #4D1964; background-size:101% auto; min-height:120vw; margin-bottom:-1px; }
article.main .night section{ padding:3vw 0 40vw; }
article.main .night .date_block{ margin-bottom:36px; }
article.main .night h4{ padding:1em 0 3em; font-size:clamp(1.6rem, 4.5vw, 2rem); text-align:center; font-weight:900; color:#feed6f; letter-spacing:.1em; }
article.main .night h2.title img { height: auto; }

article.happy{ background:#0a0056; padding-bottom:60px; }
article.happy .land img{ width:100%; height:auto; }
article.happy .info_box{  display:flex; flex-direction:column; gap:24px; align-items:center; padding-top:24px;  }
article.happy .date_block{ color:#EC6909; text-align:left; }
article.happy .date_block h3{ font-size:clamp(1.4rem, 4.4vw, 2.2rem); line-height:1.7; border-bottom:dotted 0.2em #EC6909; font-weight:700; } 
article.happy .btn_block{ display:flex; justify-content:space-between; align-items:stretch; flex-direction:column; gap:16px;}

article.minishow{ background-image: url("../images/skybg.jpg"); padding:60px 0;background-size: cover; }
article.minishow img { margin-bottom:24px}
article.minishow .pixbox{width: 80%;margin: auto;}
article.minishow .pixbox ul{display: flex;justify-content: space-around;flex-wrap: wrap;}
article.minishow .pixbox ul li{width:100%;}
article.minishow .pixbox ul li img{width: 100%;}
article.minishow .info_box{  display:flex; flex-direction:column; gap:24px; align-items:center; }
article.minishow .date_block{ color:#000 text-align:left; }
article.minishow .date_block h3{ font-size:clamp(1.4rem, 4.4vw, 2.2rem); line-height:1.7; border-bottom:dotted 0.2em #fff;  } 
article.minishow .date_block p{font-size: 1rem;line-height: 1.8;width: 70%;margin: auto;text-align: left;}

article.run{ background:#fffdc4; }
article.run .kv, article.run img { width: 100%; }
article.run .btn_bg{ position:relative; }
article.run .btn_bg:before{ position:absolute; content:''; display:block; top:0; left:0; width:100%; padding-top:33.5%; background:url(../images/pack_bg.png) no-repeat bottom center; background-size:100% auto; transform:translateY(-15vw);}
article.run .btn_block{ position:relative; display:flex; flex-direction:column; align-items:stretch; gap:16px; padding:36px; }
article.run .pack_bg{ position:relative; }
article.run .pack h2 + p{ font-size:clamp(1.4rem, 5vw, 1.8rem); margin-top:-1em; }
article.run .pack ul{ display:flex; justify-content:center; gap:16px; padding-top:16px; flex-direction:column;} 
article.run .pack ul li{ max-width:700px; background:#fff; border-radius:12px; padding:16px; display:flex; flex-direction:column; justify-content:space-between;}
article.run .pack ul li .images_block{ flex:2 2 auto; display:flex; justify-content:center; align-items:center; margin-bottom:12px;} 
article.run .pack ul li .images_block img{ width:100%; height:auto;} 
article.run .pack ul li p{ font-size:clamp(1.2rem, 5vw, 1.4rem); line-height:1.4; text-align:center;}

article.run ul.download { max-width:1200px; width: 94%; display: flex; flex-direction:column; justify-content: center; margin: 0 auto; position: relative; z-index: 50; }
article.run ul.download li { display: flex; flex-direction: column; align-items: center; margin: 0 20px; }
article.run ul.download li .pic { width: 250px; border: 5px solid #fff; box-shadow: 3px 3px 5px rgba(0,0,0,.3); }
article.run ul.download li video { width:303px; border: 5px solid #fff; box-shadow: 3px 3px 5px rgba(0,0,0,.3);}

footer{ background:#fffdc4; }
footer p{ font-size:clamp(1.2rem, 2vw, 1.4rem); color:#333; }
footer p a{ color:#16BC00; text-decoration:underline; font-weight:600; }
footer ul{ display:flex; flex-wrap:wrap; justify-content:center; align-items: center; padding:24px 0; gap:16px; } 
/* Footer 版權字標維持小尺寸；明確高度避免無固有尺寸的 SVG 在 flex 內消失。 */
footer ul li img{ width:auto; height:7px; max-width:calc(100vw - 32px); object-fit:contain; }
footer ul li img[src*="footer_open.svg"]{ height:15px; }
footer ul li img[src*="footer_logo_13.svg"]{ height:14px; }
.btn_top{ position:fixed; right:0; bottom:20px; width:50px; z-index:90;  }
.bookmark_bar{ position:fixed; width:100%; top:0; background:#6C3687; z-index:90; display:flex; justify-content:center; align-items:center; color:#fff;}
.bookmark_bar a{ font-size:clamp(1rem, 3vw, 1.8rem); font-weight:600; padding:.5em .3em .3em; line-height:1.3; }

article.plaza{ background:url(../images/openP_bg.png) repeat-y; background-size:100% auto; padding:60px 0; }
article.plaza .container img { margin-bottom: 24px; }
article.plaza .container{  padding-bottom:36px; }

/* 手機優先 ---------------------------------------------------------------------------------------------------------*/
/*  暗黑模式  */
@media (prefers-color-scheme:dark) { ... }

/* 直式 */
@media (orientation:portrait){ 
h2.title img{ height:8vh;  }
h2.title.higher img{ height:12vh;  }

/*
article.main .night p{ text-align:left; max-width:20em; }
article.main .night p br{ display:none; }*/

}

/* 橫式 */
@media (orientation:landscape){ 
h2.title{ margin-bottom:36px; }
h2.title img{ height:104px; margin-left:10px; }
h2.title.higher img{ height:166px;  }

header .kv{}
header .cast_bg{ z-index:2; }
header .cast_bg:before{ top:-14vw; padding-top:28%; background-image:url(../images/cast_bg_before_pc.svg); }
header .cast_bg:after{  background-image:url(../images/main_bg_before_pc.svg); padding-top:15%; display: none;}
header .cast .slide_block .item{ flex:1 1 14%; height:240px; }
header .cast .slide_block .item .name {
  font-size: clamp(1rem, 1.6vw, 1.5rem);
}
header .cast .slide_block hr{ margin:24px 0 64px; }
header .cast .slide_block hr:nth-of-type(odd){ display:none; }
header .cast .slide_block .slick-list .item{ padding-top:30px; padding-bottom:10px;   }
header .cast .slide_block .slick-list .item:nth-of-type(even) img{ transform:translateY(-30px); }
header .cast .slide_block .slick-list .item:nth-of-type(odd) img{ transform:translateY(10px); }

article.main{ background:url(../images/main_bg_pc.svg) center 30% no-repeat #ffd8a8; background-size: 100%; }
article.main:before{ content:''; display:block; background:url(../images/cast_bg_pc.svg) top center no-repeat; background-size:100% auto; width:100%; padding-top:21%;}
article.main .procession_bg {
  margin-bottom: 48px;
}
article.main .procession_box{ flex-direction:row;  gap:48px; align-items:stretch;}
article.main .date_block{ gap:36px; }
article.main .group_bg:after{ background-image:url(../images/night_bg_before_pc.svg); padding-top:14vw; }
article.main .night_bg{ background-image:url(../images/night_bg_pc.svg); min-height:45vw; }
article.main .night section{ padding:3vw 0 15vw; }
article.minishow .pixbox{width: 70%;margin: auto;}
article.minishow .pixbox ul{display: flex;justify-content: space-around;flex-wrap: wrap;}
article.minishow .pixbox ul li{width:90%;}
article.minishow .pixbox ul li img{width: 100%;}

article.happy{ padding:60px; }
article.happy .info_box{ /*flex-direction:row; align-items:flex-start;*/ gap:48px;}
article.happy .btn_block{ flex-direction:row; }

article.main .group ul.group-list li { width: calc(100% / 2 - 40px); margin: 20px; display: flex; flex-direction: column; }

article.run .btn_bg:before{ background-image:url(../images/pack_bg_pc.svg); padding-top:40%; transform:translateY(-20vw);}
article.run .btn_block{ margin-bottom:100px; flex-direction:row; justify-content:center;}
/*article.run .pack_bg{ margin-bottom:100px; }*/
article.run .btn_block .btn_more{ margin:0 16px; width:auto; }
article.run .pack ul{ flex-direction:row; flex-wrap: wrap; }
article.run .pack ul li .images_block img{ height:224px; object-fit:scale-down; } 

article.run ul.download { flex-direction:row; }

footer ul li img[src*="footer_open.svg"]{ height:30px; }
footer ul li img[src*="footer_logo_13.svg"]{ height:18px; }

.bookmark_bar{ background:transparent; justify-content:flex-end;  }
.bookmark_bar a{ background:#9b5ea2; border-radius:0 0 1em 1em; margin-right:18px; box-shadow:1px 1px 3px 1px #00000057; padding:.5em .6em .3em; }
.bookmark_bar a br{ display:none; }
.bookmark_bar span{ display:none; }

article.plaza .container{ border-radius:24px; overflow:hidden;}

}
/* applies to x-small devices (landscape phones, less than 375px)  */
@media (min-width: 375px) { 



}
/* applies to small devices (landscape phones, less than 768px) */
@media (min-width:767.98px) { 
/*article.run .pack_bg:before{ background-image:url(../images/pack_bg_pc.svg); background-size:100% auto; padding-top:33%; background-position:bottom; }*/

/* .bookmark_bar .bookmark_main:before{ content:'12/09'; margin-right:4px; }
.bookmark_bar .bookmark_run:before{ content:'12/10'; margin-right:4px; } */
.bookmark_bar a:after{ content:''; display:inline-block; width:1em; height:0.8em; background:url(../images/icon_bookmark.svg) right bottom no-repeat; background-size:auto 100%;}
}
/* lg applies to medium devices (tablets, less than 992px) */
@media (min-width:991.98px) { 
/*article.run .pack_bg:before{ transform:translateY(-70%); }*/

}
/* xl applies to large devices (desktops, less than 1200px) */
@media (min-width:1199.98px) { ... }

/* xxl applies to x-large devices (large desktops, less than 1400px) */
@media (min-width:1399.98px) { ... }

/* XX-Large devices (larger desktops, 1400px and up)  */
@media (min-width:1400px) { ... }


/* p2：容器稍微縮窄（只影響有加這個 class 的頁） */
.container--narrow { max-width: 1100px; }

/* p2：候選人卡片微樣式（不影響 p1） */
.person-name{
  margin: 0;
  font-size: 18px;
  color: #333;
  text-align: center;
  padding: 10px 0 6px;
}

/* 次要字色用在「選擇這位」 */
.muted{ color:#b4b4b4; }










