body {
	  font-family: "Noto Serif TC", serif;
}

@media screen and (min-width: 1400px) {
    .container {
        width: 1200px
    }
}

@media screen and (min-width: 1700px) {
    .container {
        width: 1500px
    }
}
/*houdini*/
@property --blink-opacity {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

/* #fallback @keyframes blink-animation {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}*/

@keyframes blink-animation {
  0%,
  100% {
    opacity: var(--blink-opacity, 1);
  }
  50% {
    opacity: 0;
  }
}
/*houdini*/

/*base*/
:root {
  font-family: Inter, sans-serif;

  --stripe-color: #363636;
  --bg: var(--stripe-color);
  --maincolor: var(--bg);
}

.header {
  width: 100cqw;
  min-height: 100cqh;
  display: flex;
  place-content: center;
  place-items: flex-start center;
  background: var(--bg);
}

/*custom*/

@keyframes smoothBg {
  from {
    background-position: 50% 50%, 50% 50%;
  }
  to {
    background-position: 350% 50%, 350% 50%;
  }
}

.header .wrapper {
  width: 100%;
  height: auto;
  position: relative;
}

.hero {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  place-content: center;
  place-items: center;
  --stripes: repeating-linear-gradient(
    100deg,
    var(--stripe-color) 0%,
    var(--stripe-color) 7%,
    transparent 10%,
    transparent 12%,
    var(--stripe-color) 16%
  );

  --rainbow: repeating-linear-gradient(
    100deg,
    #0051a1 10%,
    #636363 15%,
    #7b8ea5 20%,
    #bbcac8 25%,
    #092e5c 30%
  );
  background-image: var(--stripes), var(--rainbow);
  background-size: 300%, 200%;
  background-position: 50% 50%, 50% 50%;

  filter: blur(10px) invert(100%);

  mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);
  &::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--stripes), var(--rainbow);
    background-size: 200%, 100%;
    animation: smoothBg 60s linear infinite;
    background-attachment: fixed;
    mix-blend-mode: difference;
  }
}

:has(:checked) {
  --stripe-color: #000;
}
:has(:checked) .hero,
:has(:checked) .hero::after {
  filter: blur(10px) opacity(50%) saturate(200%);
}

.header .content {
  
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  place-content: center;
  place-items: center;
  flex-flow: column;
  gap: 4.5%;
  text-align: center;
  mix-blend-mode: difference;
  -webbkit-mix-blend-mode: difference;
}

.h1--scalingSize {
  font-size: calc(1rem - -5vw);
  position: relative;
}

#switch {
  appearance: none;
  -webkit-appearance: none;
  opacity: 0;
}

[for="switch"] {
  cursor: pointer;
  transition: 0.15s linear(0 0%, 0.16 16.85%, 0.32 31.73%, 1 100%);
  will-change: transform, font-weight;
  padding: 0.5rem;
}

[for="switch"]:where(:hover, :active, :focus-within) {
  /*transform: scale(1.2);
  font-weight: 900;*/
  transition: 0.3s ease;
  animation: animSwitch 0.2s alternate;
  & .icon {
    animation-play-state: paused;
  }
}

@keyframes animSwitch {
  50% {
    transform: scale(1.2);
    font-weight: 900;
  }
}

/*icon houdini*/
.header .icon {
  width: 1lh;
  height: 1lh;
  aspect-ratio: 1/1;
  padding: 0.25em 0.35rem;
  border-radius: calc(1px / 0);
  border: 1px dashed;
  --blink-opacity: 1;
  animation: blink-animation 2s ease-in-out infinite running;
}

/*challenge*/
.header .h1--scalingSize::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: white;
  text-shadow: 0 0 1px #ffffff;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-color: white;
  -webkit-mask: linear-gradient(#000 0 0) luminance;
  mask: linear-gradient(#000 0 0) luminance, alpha;
  backdrop-filter: blur(19px) brightness(12.5);
  -webkit-text-stroke: 1px white;
  display: flex;
  margin: auto;
  z-index: 1;
  pointer-events: none;
}

/* section padding */
.card,.product,.news,.vision{
    padding: 50px 0 10px;
}

/* section-title */
.title-wrap h2{
  font-weight: bold;
}
.title-wrap h3{
  letter-spacing: 1.5px;
}

/* card */
.card {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card .card-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  transform-style: preserve-3d;
  perspective: 500px;
  margin: auto;
}
.card .card-wrap .box {
  position: relative;
  width: 275px;
  height: 275px;
  background: #000;
  transition: 0.5s;
  transform-style: preserve-3d;
  overflow: hidden;
  margin-right: 15px;
  margin-top: 45px;
}
.card .card-wrap:hover .box {
  transform: rotateY(25deg);
}
.card .card-wrap .box:hover ~ .box {
  transform: rotateY(-25deg);
}
.card .card-wrap .box:hover {
  transform: rotateY(0deg) scale(1.25);
  z-index: 1;
  box-shadow: 0 25px 40px rgba(0,0,0,0.5);
}
.card .card-wrap .box .imgBx {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.card .card-wrap .box .imgBx:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,rgba(29, 61, 168, 0.596),#333750);
  z-index: 1;
  opacity: 0;
  transition: 0.5s;
  mix-blend-mode: multiply;
}
.card .card-wrap .box:hover .imgBx:before {
  opacity: 1;
}
.card .card-wrap .box .imgBx img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card .card-wrap .box .content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  padding: 20px;
  align-items: flex-end;
  box-sizing: border-box;
}
.card .card-wrap .box .content h2 {
  color: #fff;
  transition: 0.5s;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: bold;
  transform: translateY(200px);
  transition-delay: 0.3s;
}
.card .card-wrap .box:hover .content h2 {
  transform: translateY(0px);
}
.card .card-wrap .box .content p {
  color: #fff;
  transition: 0.5s;
  font-size: 14px;
  transform: translateY(200px);
  transition-delay: 0.4s;
}
.card .card-wrap .box:hover .content p {
  transform: translateY(0px);
}




.slideshow-container {
	position: relative;
	height: 100vh;
	overflow: hidden;
}

.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 1s ease-in-out;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.slide::before {
	content: "";
	position: absolute;
	top: -10%;
	left: -10%;
	right: -10%;
	bottom: -10%;
	background-image: inherit;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	animation: slowGrow 20s ease-out infinite;
	z-index: 0;
}

.slide::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 1;
}

@keyframes slowGrow {
	0% {
		transform: scale(1);
	}
	100% {
		transform: scale(1.2);
	}
}

.slide.active {
	opacity: 1;
}

/* 背景圖片 */
.slide:nth-child(1) {
	background-image: url("/hipershop/rwd1834/store/F1/ad-01.jpg");
}

.slide:nth-child(2) {
	background-image: url("/hipershop/rwd1834/store/F1/ad-02.jpg");
}

.slide:nth-child(3) {
	background-image: url("/hipershop/rwd1834/store/F1/ad-03.jpg");
}

.slide:nth-child(4) {
	background-image: url("/hipershop/rwd1834/store/F1/ad-04.jpg");
}

.slide:nth-child(5) {
	background-image: url("/hipershop/rwd1834/store/F1/ad-05.jpg");
}

/* 模糊浮動背景元素 */
.blur-element {
	position: absolute;
	border-radius: 50%;
	filter: blur(20px);
	opacity: 0.3;
	animation: float 6s ease-in-out infinite;
	z-index: 2;
}

.blur-element:nth-child(1) {
	width: 300px;
	height: 300px;
	background: rgba(255, 255, 255, 0.2);
	top: 20%;
	left: -10%;
	animation-delay: 0s;
}

.blur-element:nth-child(2) {
	width: 200px;
	height: 200px;
	background: rgba(255, 255, 255, 0.15);
	top: 60%;
	right: -5%;
	animation-delay: 2s;
}

.blur-element:nth-child(3) {
	width: 150px;
	height: 150px;
	background: rgba(255, 255, 255, 0.1);
	bottom: 20%;
	left: 20%;
	animation-delay: 4s;
}

@keyframes float {
	0%, 100% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-20px) rotate(180deg);
	}
}

/* Slide 內文字 */
.slide-content {
	position: relative;
	z-index: 5;
	text-align: center;
	color: white;
	max-width: 800px;
	padding: 40px;
}

/* 文字動畫，只有 active 時才會跑 */
.slide-content .portfolio-number,
.slide-content .portfolio-title,
.slide-content .portfolio-description,
.slide-content .portfolio-button {
	opacity: 0;
}

.slide.active .portfolio-number {
	font-size: 14px;
	letter-spacing: 2px;
	margin-bottom: 20px;
	animation: slideInFromTop 0.8s ease-out 0.2s forwards;
}

.slide.active .portfolio-title {
	font-size: 42px;
	font-weight: bold;
	margin-bottom: 20px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	animation: bounceIn 1s ease-out 0.4s forwards;
}

.slide.active .portfolio-description {
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 1.5px;
	margin-bottom: 30px;
	animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.slide.active .portfolio-button {
	display: inline-block;
	padding: 12px 30px;
	background: rgba(255, 255, 255, 0.2);
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 30px;
	color: white;
	text-decoration: none;
	font-weight: 500;
	transform: translateY(20px);
	animation: floatIn 0.8s ease-out 0.8s forwards;
	transition: all 0.3s ease;
}

.slide.active .portfolio-button:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: translateY(-2px);
}

/* Keyframes */
@keyframes slideInFromTop {
	0% { opacity: 0; transform: translateY(-30px); }
	100% { opacity: 0.7; transform: translateY(0); }
}

@keyframes bounceIn {
	0% { opacity: 0; transform: scale(0.3) translateY(-50px); }
	50% { opacity: 1; transform: scale(1.1) translateY(0); }
	100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes fadeInUp {
	0% { opacity: 0; transform: translateY(30px); }
	100% { opacity: 0.9; transform: translateY(0); }
}

@keyframes floatIn {
	0% { opacity: 0; transform: translateY(20px) scale(0.9); }
	50% { opacity: 1; transform: translateY(-5px) scale(1.05); }
	100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Dot 導覽 */
.nav-dots {
	position: absolute;
	right: 30px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	margin: 15px 0;
	cursor: pointer;
	transition: all 0.3s ease;
}

.dot.active {
	background: white;
	transform: scale(1.2);
}

/* Scroll indicator */
.scroll-indicator {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	color: white;
	opacity: 0.7;
	font-size: 14px;
	z-index: 20;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% { opacity: 0.7; }
	50% { opacity: 0.3; }
}

/* RWD */
@media (max-width: 768px) {
	.slide-content {
		padding: 30px 20px;
	}
	.slide.active .portfolio-title {
		font-size: 28px;
	}
	.nav-dots {
		right: 20px;
	}
}



/* B_hot_4-css */
.product .thumbnail{
  padding: 0;
  overflow: hidden;
  min-height: 380px;
  border-radius: 20px;
}
.product .thumbnail .grow-rotate{
  overflow: hidden;
}
.product .thumbnail .grow-rotate:hover{
  transform: scale(1.1);
  border: none;
  box-shadow: none;
}
.product .thumbnail .well{
  display: none;
}
.product .thumbnail .caption{
  padding: 10px 15px;
}
.product .thumbnail .caption h3{
  font-weight: 600;
  font-size: 25px;
  line-height: 1.3;
  margin: 15px 0;
}
.product .thumbnail .caption p{
  display: none;
} 
.product .thumbnail .caption p a{
  padding: 0 0 3px 0;
  border-radius: 0;
  color: #b9b9b9;
  border: none;
  font-size: 16px;
  font-weight: 800;
  border-bottom: 1px solid #b7b7b7;
  margin: 20px 0;
}

.product .thumbnail .caption p a:hover{
  background-color: transparent;
  color: #2b2b2b;
}


/*---------- default-news ----------*/

section .news {
  padding: 70px 0 40px;
  overflow: hidden;
}

.news::after {
  content: "";
  background-image: (url(../../images/bg-gray.png));
  position: absolute;
  width: 100%;
  top:-100px;
  left: 0;
}

#rwdnews_list {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 768px) {
	#rwdnews_list {
    flex-direction: column;
  }
}

#rwdnews_list ul .rwdnewsli .pic {
  overflow: hidden;
  width: 100%;
  margin-bottom: 20px;
}

#rwdnews_list ul .rwdnewsli .pic img {
  display: block;
  width: 100%;
  transform: scale(1);
  transition: all 0.4s;
}

#rwdnews_list ul .rwdnewsli:hover .pic img {
  transform: scale(1.05);
}

#rwdnews_list ul .rwdnewsli .newscontent {
  padding: 0 15px 10px;
  margin-top: 30px;
  background-color: #f3f3f3;
}

.newscontent .ctydate .card-category{
  color: transparent;
}

.newscontent h4 a {
  color: #000;
  font-size: 30px;
  font-weight: bold;
  line-height: 1.3;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 28px;
  margin: 0 20px 20px;
}

.newscontent .desc_cls {
  color: #71706a;
  font-size: 15px;
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
  text-align: center;
  line-height: 1.6;
  text-overflow: ellipsis;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.swiper-container-fade .swiper-slide {
  pointer-events: initial;
}

.news .swiper {
  position: relative;
  overflow: visible;
}

.news .news-swiper {
  margin-bottom: 50px;
  overflow: hidden;
}

/* @media screen and (max-width: 767px) {
  .news .news-swiper {
    margin: 0 0 138px;
  }
} */

.swiper-button-box {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: -4%;
  right: 0;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.news-swiper-button-prev,
.news-swiper-button-next {
  background-color: #a1a1a1;
  border-radius: 50%;
  width: 57px;
  height: 57px;
  transition: all 0.2s;
  position: relative;
  margin: 0 5px;
}

.news-swiper-button-prev {
  margin-left: -30px;
}

.news-swiper-button-next {
  margin-right: -30px;
}

@media screen and (max-width: 767px) {
  .news-swiper-button-prev,
  .news-swiper-button-next {
    display: none;
  }
}

.news-swiper-button-prev:hover,
.news-swiper-button-next:hover {
  background-color: #adadad;
}

.news-swiper-button-prev::before {
  content: "";
  background-image: url("../../images/news-swiper-button-arrow.png");
  background-size: cover;
  width: 11px;
  height: 19px;
  position: absolute;
  top: 50%;
  left: 48%;
  transform: translate(-50%, -50%) rotate(180deg);
}

.news-swiper-button-next::before {
  content: "";
  background-image: url(../../images/news-swiper-button-arrow.png);
  background-size: cover;
  width: 11px;
  height: 19px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-30%, -50%);
}

.news .news-swiper .swiper-pagination {
  margin: 70px 0 0;
  left: 50%;
  transform: translate3d(0, 0, 0) translate(-50%, -50%);
}

.news .news-swiper .swiper-pagination-bullet {
  margin: 4px;
}

.swiper-pagination-bullet {
  background: #d9d9d9;
  opacity: 1;
  border-radius: 100%;
  display: inline-block;
  width: 12px;
  height: 12px;
}

.news .news-swiper .swiper-pagination-bullet-active {
  background: #adadad;
  opacity: 1;
}


.news .article-content{
  margin: 50px -15px!important;
}

/* news日期樣式設定 */

span.newsDate {
  display: none;
}

.newsDateAll {
  display: flex !important;
  position: relative;
  height: 38px;
  font-size: 21px;
  margin: 0 20px;
}

.newDateYear {
  display: block;
  padding-right: 65px;
}

.newsDateMonth {
  width: 31px;
  text-align: center;
  font-weight: bold;
}

.newsDateMonth::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 62px;
  font-size: 29px;
  background: #b9b9b9;
  width: 47px;
  height: 1px;
  transform: rotate(0deg) translateY(-24px);
  transform-origin: center;
}
.newsDateMonth::after {
  content: '.';
  position: absolute;
  bottom: 13px;
  font-size: 13px;
  padding-left: 2px;
}
.newsDateDay {
  font-weight: bold;
} 
@media screen and (max-width: 767px) {
  .news .more-button{
    margin: -10px 0 30px;
  }
} 

/* ---------- more-button ---------- */
.button-wrap {
  text-align: center;
  margin: 30px 0;
}
.more-button a {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 33px 0 25px;
  color: #ffffff;
}
.more-button {
  background-color: #0051a1;
  display: inline-flex; 
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 59px;
  margin: 20px 0;
  transition: all 0.4s;
}
.more-button .text {
  font-size: 15px;
  letter-spacing: 0.5px;
  display: block;
  padding-bottom: 3px;
}
.more-button:hover {
  background-color: #252525;
}
.more-button:hover .arrow::before {
  left: 150%;
  opacity: 0;
}

/* vision */
  .vision{
    background-image: linear-gradient(rgba(99, 93, 93, 0.4), rgba(0, 0, 0, .4)),url(/hipershop/rwd1834/store/F1/vision.jpg);
    background-size: cover;
    background-attachment: fixed;
    padding: 150px 0;
  }
  .vision .box{
    color: #ffffff;
    text-align: center;
  }
  .vision .title-box{
    font-size: 60px;
    font-weight: 400;
    margin: 30px 0;
  }
  .vision .text-box{
    padding: 20px;
  }
  .vision h3{
    line-height: 1.3;
    letter-spacing: 2px;
  }
  .vision hr{
    color: #fff;
    width: 100px;
    text-align: center;
  }

  
/* contact*/
.contact-wrapper .form-control{
  border: none;
}
.contact-wrapper .form-control{
  display: block;
  width: 100%;
  height: 45px;
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.42857143;
  color: #555;
  background-image: none;
  border-bottom: 1px #ddd solid;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.contact-wrapper .content-wrap{
  background-color: #fff;
  margin-top: 50px;
}
@media screen and (max-width: 1200px) {
  .contact-wrapper .content-wrap{
    margin: 30px 10px;
  }
}
.contact-wrapper .img-wrap{
  background-image: linear-gradient(rgba(18, 18, 20, 0.4), rgba(0, 0, 0, 0.4)), url(/hipershop/rwd1798/store/F1/contact.jpeg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover
}
@media screen and (max-width: 1200px) {
  .contact-wrapper .img-wrap{
    max-width: 100%
  }
}

.contact-wrapper .form-group{
  margin: 25px 0;
}
.contact-wrapper .form-wrap {
  padding: 70px 180px;
}
@media screen and (max-width: 992px) {
  .contact-wrapper .form-wrap {
    padding: 50px 40px;
  }
}
@media screen and (max-width: 480px) {
  .contact-wrapper .form-wrap {
    padding: 50px 20px;
  }
}
.contact-wrapper .form-group .control-label {
  font-size: 16px;
  margin: 0;
}

.contact-wrapper .btn-info{
  color: #fff;
  background-color: #000000;
  border-color: transparent;
  border-radius: 0;
  padding: 10px 40px;
  transition: all 0.3s;
}
.contact-wrapper .btn-info:hover{
  color: #616161;
  background-color: #fff;
  border-color: #000000;;
}
.contact-wrapper .has-error .form-control:focus{
  box-shadow: none;
}
