@charset "utf-8";

.p-2 {
  padding: 1rem !important
}

.p-3 {
  padding: 1.5rem !important
}

.p-4 {
  padding: 2rem !important
}

.p-8 {
  padding: 4rem !important
}

.p-10 {
  padding: 5rem !important
}

.ptb-1 {
  padding-top: .5rem;
  padding-bottom: .5rem;
}

.ptb-2 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.ptb-3 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.ptb-4 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.ptb-5 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}


.ptb-8 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.ptb-10 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.ptb-12 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.mtb-0 {
  margin-top: 0;
  margin-bottom: 0;
}

.mtb-1 {
  margin-top: .5rem;
  margin-bottom: .5rem;
}

.mtb-3 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.mtb-4 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.mtb-5 {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.mtb-6 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.mtb-8 {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.mtb-10 {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.mtb-12 {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

.mt-15 {
  margin-top: 7.5rem !important
}

.mt-17 {
  margin-top: 8.5rem !important
}

.mt-20 {
  margin-top: 10rem !important
}

.radius-15 {
	border-radius: 15px
}

.frame {
	border: 1px solid #dedede;
}

.frame-bk {
	border: 1px solid #A6B0BB;
}

.frame-dots {
	border: 1px dashed #313131;
	padding: 2rem;
	font-size: 1.8rem;
	border-radius: .8rem;
}




.bg-gray{background-color: #f4f4f4}
.bg-fruit{background-color: #fbf3de}
.bg-peach{background-color: #FFFCE7}
.bg-indigo{background-color: #204c69; color: #FFFFFF}
.bg-tree{background-color:#7bcf3c}
.bg-ocean{background-color:#0880AE; color: #FFFFFF}
.bg-salmon{background-color:#FF7171; color: #FFFFFF}
.bg-green{background-color: #daee9d}
.bg-grass{background-color: #7bcf3c; color: #FFFFFF}
.bg-orange{background-color: #ff7800; color: #FFFFFF}
.bg-red{background-color: #da1415; color: #FFFFFF}


.text-brown{color: #A48B78}
.text-red{color: #e50405}
.text-blue{color: #82d3df!important}
.text-green{color: #4fac43!important}
.text-gray{color: #A3A3A3}
.text-yellow{color: #ffe400!important}

.fancybox-content {
  padding: 30px!important;
}


.img-round{
	border-radius: 50%;
}

.img-round-10{
	border-radius: 10px;
}



.pull-left{
	float:left
}

.pull-right{
	float:right
}

.mid-center{
  display: flex;
  justify-content: center;  
  align-items: center; 
}

.contents p{
  font-size: 22px;
  letter-spacing: 0.1px;
}

.border-t{
	border-top: 1px dashed #686868;
}

.border-tb{
	border-top: 1px dashed #686868;
	border-bottom: 1px dashed #686868;
}


.news.badge {
   display: block; 
  font-size: 18px;
  font-weight: 600;
  padding: 3px 10px;
  color: #4B4B4B;
  background-color: #c3dc76;
  margin-left:-15px;
  line-height: 1.5;
  margin-top: 15px; 
  margin-bottom: 15px
}

.regi-icon{
	font-size: 80px;
	margin-bottom: 1rem
}

.my-img {
  display: block;
  width: 55%;
  height: auto;
  margin: 0 auto;
}

/* ---- */

.title-right-line::before,
.title-line:after{
	background-color: #7bcf3c;
}

@media (max-width: 768px) {
  .title-right-line::before,
  .title-line::after {
    display: none;
    content: none;
  }
	
	.title,
	.sub-ti{
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
  }
	
  .my-img {
    width: 100%;
   }
	
	.title-m {
  font-size: 2.3rem;
}
	
}


/* ---- */

.owl-theme .owl-nav .owl-prev.disabled,
.owl-theme .owl-nav .owl-next.disabled, 
.owl-theme .owl-nav [class*=owl-]{
   border: .1rem solid #565656;
   color: #565656;
}

/* ---- */

.btn-368, .btn-368-orange {
  border-radius: 50px;
  padding: .5em 5%;
  letter-spacing: 10%;
  font-size: 2.2rem;
  color: #FFFFFF;
}

.btn-368 {
  border-color: #6db7b5;
  background-color: #6db7b5;
}

.btn-368:active, .btn-368:focus, .btn-368:hover {
  color: #fff;
  border-color: #7fdbd8;
  background-color: #7fdbd8;
}

.btn-368-orange,.btn-368-orange:hover,.btn-368-orange:visited {
  border-color: #fb8f47;
  background-color: #fb8f47;
  color: #FFFFFF
}


.btn-videos {
  border-color: #fb8f47;
  background-color: #fb8f47;
  border-radius: 50px;
  padding: .5em 5%;
  font-size: 2.8rem;
  color: #FFFFFF;
  margin-bottom: 4rem
}



.btn-videos:active, .btn-videos:focus, .btn-videos:hover {
  color: #fff;
  border-color: #7fdbd8;
  background-color: #7fdbd8;
}


.btn-s-gray {
  border-color: #d9e1e3;
  background-color: #d9e1e3;
  color: #000;
  padding: .5em 1em;
  font-size: 1.8rem;
}

.btn-xsmall {
  border-color: #d9e1e3;
  background-color: #d9e1e3;
  color: #000;
  padding: .3em 1em;
  font-size: 1.4rem;
  border-radius: 25px;
}

/* ---- */


@media (max-width: 768px) {
    .intro-slide1 figure img {
        content: url('../images/slider-cell.png');
		cursor: pointer
    }
}



/* --換sticky logo-- */

.header.header-sticky .logo img {
    content: url("../images/logo2.png");
}



/* ---- */

.img-box {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.img-box img {
  display: block;
  width: 100%;
}

.img-box .info {
  position: absolute;
  bottom: 0;    
  left: 50%;
  transform: translateX(-50%); 
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  pointer-events: auto; 
  width: 100%;  
  padding: 6px;  
  background: rgba(0, 0, 0, 0.48);
  text-align: center
}


.img-box .info a {
  color: #fff; 
  text-decoration: none;
  padding: 2px 15px;
  margin: 0 5px;
  border-radius: 2rem;
}

.img-box .info a:nth-child(1) {
  background: #f5d002;
  color: #414141
}

.img-box .info a:nth-child(2) {
  background: #DD0C0C
}

/* ---- */
.company-row {
  text-align: center;
  align-items: center;
}

.company-block {
  padding: 20px 10px;
}

.company-logo {
  display: block;
  margin: 0 auto; 
  max-width: 100px;
}

.company-name {
  font-size: 17px;
  font-weight: bold;
  margin-top: 10px
}


.middle-block {
  border-right: 1px solid #000;
}

.company-title{
	color: #6F6F6F
}

/* ---- */

.action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 767px) {
    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
        max-width: 85%;
        margin-right: 0 !important;
        margin-bottom: 12px;
    }

    .action-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

/* ---- */

.about{
	padding-bottom: 8rem;
}

.about img{
	padding-bottom: 3rem;
}


/* ---- */

.testimonial-centered {
  padding: 2rem 1.5rem;
  background-color: #f6f7f9;
  text-align: center
}
.testimonial-centered .testimonial-info {
  display: block;
  margin: 0;
  padding: 0
}
.testimonial-centered .testimonial-author-thumbnail {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  width: 10rem;
  height: 10rem;
}

.testimonial-centered .testimonial-author-thumbnail img{
  border-radius: 50%;
  border: 1px solid #8F8F8F;
}

.testimonial-centered .testimonial-title {
  margin-bottom: 0;
  margin-top: .6rem;
  font-size: 2rem;
  line-height: 1.2;  
}

.testimonial-centered.testimonial-border {
  background-color: transparent;
  box-shadow: 0 0 0 2px #edeef0 inset
}

.testimonial-info cite {
  font-size: 1.5rem;
  font-weight: 400;
  font-style: normal;
  color: #222;
  line-height: 1;
}

/* ---- */

.title-wrap {
  text-align: center;  
  margin: 40px 0 20px;
}

.title-bg {
  background-color: #ffe897; 
  padding: 7px 30px;
  display: inline-block;
  font-size: 2.3rem;
  margin-bottom: 1.5rem;
  letter-spacing: 2px
}

.title-bg-green {
    background-color: #dfedb6;
    padding: 7px 30px;
    display: table;
    font-size: 2.3rem;
    margin: 0 auto 2.5rem; 
    letter-spacing: 2px;
}

/* ---- */

.title-prize {
  background-color: #ecf7c9; 
  padding: 7px 30px;
  display: inline-block;
  font-size: 2.3rem;
  margin-bottom: 2rem;
  font-weight: 600
}


/* ---- */

.purpose-sub {
  margin-top: 10px;
  font-size: clamp(28px, 4vw, 4.5rem);
  display: flex;
  flex-direction: column; 
  align-items: center;
  text-align: center;
  color: #da1415
}

.purpose-sub span{
  margin-top: 10px;
  font-size: clamp(23px, 4vw, 30px);
  opacity: 0.7;
}


/* ---- */

html {
  scroll-behavior: smooth;
}

.scroll-target {
  scroll-margin-top: 150px; 
}

.space{
	margin-top: 17rem
}

/* ---- */

.banner-title span{
	line-height: 2;
    font-size: 4.5rem;
}

.tag-yellow{
	padding: 0 2rem;
	background-color: #ffe400;
	color: #444444;
	line-height: 1.2;
}




/* ---- */

.intro{
	margin: 6rem 0 8rem
}

.intro img{
	padding: 0 2rem
}

.intro p{
	font-size: 2rem;	
	margin-bottom: 2rem;
	line-height: 1.7
}



/* ---- */


.bg-lightgreen{
	background-color: #eaf3cf
}

.bg-lightblue{
	background-color:#EEFDFD
}


.right-column {
  flex: 0 0 60%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}


.right-column p{
  font-size: 2rem;	
  margin-bottom: 2rem;
  line-height: 1.7
}


.img-bg {
  width: 100%;
  height: 100%;
  background-image: url('../images/pic.jpg'); 
  background-size: cover;
  background-position: center;
}




@media (max-width: 768px) {

  .right-column {
    flex: 0 0 100%;
  }
  .img-bg {
    height: 250px; 
  }
}


/* ---- */

.red-circle-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.red-circle-list li {
  display: flex;
  align-items: flex-start;

  margin-bottom: 12px;
  font-size: 22px;
}

.red-circle-list .num {
  width: 28px;
  height: 28px;
  background: #d60000; 
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;  
  margin-right: 10px; 
  flex-shrink: 0;  
  margin-top: 4px;
}

/* ---- */


#link2prize .owl-nav {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

#link2prize .owl-nav button span {
  display: none;
}

#link2prize h4 {
  font-size: 2.3rem;
}


#link2prize .owl-nav {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* 按鈕本體 */
#link2prize .owl-prev,
#link2prize .owl-next {
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  border: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* 左右位置 */
#link2prize .owl-prev {
  left: 10px;
}

#link2prize .owl-next {
  right: 10px;
}

/* 移除原本文字 / icon */
#link2prize .owl-prev span,
#link2prize .owl-next span,
#link2prize .owl-prev i,
#link2prize .owl-next i {
  display: none !important;
}

/* 自畫箭頭 */
#link2prize .owl-prev::before,
#link2prize .owl-next::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

/* 左箭頭 */
#link2prize .owl-prev::before {
  transform: translate(-50%, -50%) rotate(-135deg);
}

/* 右箭頭 */
#link2prize .owl-next::before {
  transform: translate(-50%, -50%) rotate(45deg);
}


#link2prize .owl-theme .owl-nav.disabled + .owl-dots {
  margin-top: 0;
}

.prize{
	font-size: clamp(21px, 4vw, 30px);
}

.group-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 767px) {
    .group-list {
        grid-template-columns: repeat(2, 1fr); 
    }
}



/* ---- */

.custom-form-control {
    background-color: #ffffff;
    border: 1px solid #b2b2b2; 
    color: #333;
	margin-bottom: 1.5rem;
}

.custom-form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); 
}


.tabletitle {
    font-size: 1.8rem;  
    color: #5B5B5B; 
	font-weight: bold;  
	line-height: 2;
	font-family: "Microsoft JhengHei";
}


.dob-container {
    display: flex;
    gap: 10px;        
}

.dob-select {
    flex: 1;      
    background-color: #ffffff;
    border: 1px solid #b2b2b2;  
    color: #333;   
    padding: 10px;   
	margin-bottom: 1.5rem;
}

.dob-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}


.btn-radius{
	border-radius: 50px;
	padding: .5em 2em;
	letter-spacing: 10%;
	font-size: 1.8rem;
}



/* ---- */
.guidelines .note-title{
	margin: 3rem 0 1.5rem;
	font-size: 2.1rem;
	font-weight: 600
}



.rule {
  display: flex;
  font-size: 1.9rem;
  align-items: flex-start;
  margin-bottom: 0.8em;
}

.rule .num {
  width: 3em; 
  flex-shrink: 0;
}

.rule .text {
  flex: 1;
  line-height: 1.6;
}

/* ---- */

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  margin-bottom: 15px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* ---- */


.event-countdown-box {
  display: flex;
  gap: 10px;
  justify-content: center;
  font-size: 2em;
  color: #000;
  border-radius: 10px;
  width: fit-content;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.event-countdown-box div {
  text-align: center;
  min-width: 140px;
  gap: 4px;
}

.event-countdown-box span {
  font-weight: bold;
  font-size: 2.6em;
  color: #7bcf3c;
  display: inline-block;
  padding-bottom: 2rem;
  font-family: Poppins, sans-serif;
}

.event-countdown-box small {
  font-size: 1em;
  color: #000;
  margin-left: 10px
}

.no-mobile,
.only-mobile {
  display: block;
}


.mobile-box{
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-deadline-text {
	width: 100%;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 5px;
    color: #333;
	font-weight: 600;
    margin: 0 auto 8px ;
	display: none;
}

@media (max-width: 767px) {
	
   .mobile-deadline-text {
    display: block;
  }
	
  .event-countdown-box > div:not(.event-countdown-inline) {
    display: none;
  }
	

 	
  .event-countdown-inline {
    display: block;
    text-align: center;
    font-size: 4.8rem;
    font-weight: bold;
    letter-spacing: 0.05em;
	color: #7bcf3c;
    font-family: Poppins, sans-serif;
  }
	
  .event-countdown-inline img {
    display: block;
    margin: 0 auto 12px;
  }
	
  .mobile-stack {
    flex-direction: column;
  }

  .mobile-stack img {
    display: block;
    margin: 0 auto 12px;
  }
}


@media (min-width: 768px) {
	
  .event-countdown-inline {
    display: none;
  }

  .no-mobile,
  .only-mobile {
    display: none !important;
  }
}



/* ---- */

.event-date-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.event-date-box {
  border-radius: 12px;
  padding: 0 6rem;
  text-align: center;
  position: relative;
}


.event-date-box:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10%;
  right: -12px;
  height: 80%;
  width: 1px;
  background-image: linear-gradient(to bottom, #ccc 25%, transparent 25%, transparent 50%, #ccc 50%, #686868 90%, transparent 90%, transparent);
  background-size: 1px 12px;
  background-repeat: repeat-y;
}


.event-label {
  font-size: 40px;
  color: #4a90e2;
  margin-bottom: 10px;
  font-weight: 600;
}

.event-date-line {
  line-height: 1;
}

.event-big {
  font-size: 8rem;
  font-weight: bold;
  color: #333;
  margin-right: 4px;
  font-family:Haettenschweiler, "Franklin Gothic Bold", "Arial Black", "sans-serif"
}

.event-small {
  font-size: 3rem;
  color: #666;
  margin-right: 8px;
}


/* --藍波浪-- */

.custom-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

.bg-wave{
	background-color: #a2e2ea;
	padding: 2rem
}



/* ---- */

 .magic-signup-button {
      display: inline-block;
      background-color: #da1415;
      color: white;
      font-size: 2.8rem;
      text-align: center;
      padding: 1rem 5rem;
      border: none;
      border-radius: 4rem;
      text-decoration: none;
	  font-weight: 600;
	  letter-spacing: .5rem;
	  transition: background-color 0.3s ease-in-out;
    }

    .magic-signup-button:hover {
      background-color: #ff8a00;
	  color: white;
    }

    .magic-signup-button:visited {
      background-color: #b10001;
    }


/* ---- */

:root{
    --spc-badge-size: 70px;
    --spc-radius: 8px;
    --spc-col-1: #f59f00;
    --spc-col-2: #f6a8b9;
    --spc-col-3: #bda6ff;
    --spc-col-4: #7bcf3c;
    --spc-body-bg: #f4f4f4;
    --spc-badge-border: #d6d6d6;
    --spc-text-dark: #333;
	--spc-bg-yellow: #fffb82;
  }

  .spc-card {
    position: relative;
	border: 1px solid #b5b4b4;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    background: transparent;
    margin-bottom: 20px;
	display: flex;
    flex-direction: column;
	height: 100%;
	border-radius: 1rem;
  }

  .spc-header {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
	border-radius: 1rem 1rem 0 0;
  }

  .spc-c1 .spc-header { background: var(--spc-col-1); }
  .spc-c2 .spc-header { background: var(--spc-col-2); }
  .spc-c3 .spc-header { background: var(--spc-col-3); }
  .spc-c4 .spc-header { background: var(--spc-col-4); }

  .spc-body {
    background: var(--spc-body-bg);
    padding: 16px 16px 0 16px;
    line-height: 1.6;
	flex-grow: 1;
	border-radius: 0 0 1rem 1rem;
  }

 .spc-body p{
    font-size: 17px;
    margin-bottom: 0;
	line-height: 1.5;
  }

 .spc-body strong{
    font-size: 19px;
    margin-bottom: 13px;
  }

  .spc-badge {
    position: absolute;
    width: var(--spc-badge-size);
    height: var(--spc-badge-size);
    border-radius: 15% 0 0 0;
    background: var(--spc-bg-yellow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
  }

  .spc-badge .spc-label {
    font-size: 16px;
	font-weight: 600;
    color: #666;
    margin-bottom: -10px;
	margin-top: 8px
  }

  .spc-badge .spc-num {
    font-size: 30px;
    font-weight: 700;
    color: #ef5b3a;
  }


/* ---- */

@media (min-width: 768px) and (max-width: 1024px) {
   .banner img {
    object-position: 20% center;
  }
	
	
}


@media (min-width: 320px) and (max-width: 480px) {


	.banner-title span{
	line-height: 2;
    font-size: 3rem;
	}
	
	.intro-slider .banner-title small {
    font-size: 2.5rem;
	}
	
	.intro-slider .banner-title {
	font-size: 3em;
	}
	
	.intro-slider .date {
    font-size: 3em;
    }
	
	.intro-slider .date small {
    font-size: 1em;
	display: block;
    isplay: inline;
	margin-bottom: 5px;
	}
	
    .banner img {
    object-fit: cover; 
    object-position: 30% center;
    }
	
	.intro-slider .banner-title::after {
    width: 32rem;
   }
	
	.event-date-box {
	 padding: 0;
	}
	
	.event-big {
	font-size: 5rem;
	}
	.event-small {
    font-size: 2rem;
    }
	
	.btn-videos {
	font-size: 2.4rem;
	padding: .8rem 1.7rem;
	}

	
	.spc-badge{
    top: 0;
	}
	
	.slogan{
	font-size: 2.4rem;	
	}

	
  }

@media (max-width: 991px) {
  .header-middle {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: #fbf3de; 
  }

}
