/* Sections 1*/
.section1 {
	position: relative;
	width: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 110px 30px 30px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	align-content: stretch;
	gap: 80px;
	flex-wrap: wrap;
	overflow: hidden;
	z-index: 0;
}

.section1_swiper {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: -1;
	opacity: .4;
}

.section1_swiper::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(to top,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 0) 40%);
}

.section1_swiper .swiper-wrapper,
.section1_swiper .swiper-slide {
	height: 100%;
}

.section1_swiper.swiper-fade .swiper-slide {
	pointer-events: none;
}

.section1_swiper.swiper-fade .swiper-slide-active {
	pointer-events: none;
}

.section1_swiper .swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cn {
	position: relative;
	z-index: 1;
	display: block;
	width: 20%;
}

.cc {
	display: block;
	width: 100%;
	z-index: 1;
}

.section1 .cc {
	position: absolute;
	bottom: 0;
	left: 0;
}

/* 低於 section2 內容，讓圓形 backdrop-filter 能採樣並視覺上蓋住 .cc */
.section2 .cc {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	z-index: 1;
}

.cc.cc--floating {
	position: fixed;
	bottom: auto;
	transform: none;
	/* 父層為 .section2 時與 .section2_content 疊序正確，blur 才會作用 */
	z-index: 1;
}

.section1__svg-defs {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
	pointer-events: none;
}

.cnPath,
.ccPath {
	--path-length: 800;
	fill: var(--Text);
	fill-opacity: 0;
	stroke: url(#gradation-1);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: var(--path-length);
	stroke-dashoffset: var(--path-length);
}

.section1.isReady .cnPath {
	animation: cncc-dash 1s linear forwards;
}

.cc.cc--revealed:not(.cc--drawn) .ccPath {
	animation: cncc-dash 1s linear forwards;
}

.cc.cc--drawn .ccPath {
	animation: none;
}

.ccPath.ccPath--complete {
	fill: var(--Text);
	fill-opacity: 1;
	stroke: var(--Text);
	stroke-width: 0;
	stroke-dashoffset: 0;
}

@keyframes cncc-dash {
	0% {
		stroke-dashoffset: var(--path-length);
		stroke-width: 1px;
	}

	50% {
		stroke-dashoffset: calc(var(--path-length) * 2);
		stroke-width: 0.1px;
	}

	50.1% {
		stroke-dashoffset: var(--path-length);
	}

	80% {
		stroke-width: 1px;
		fill: var(--Text);
		fill-opacity: 0;
	}

	100% {
		stroke-dashoffset: 0;
		stroke: var(--Text);
		stroke-width: 0;
		fill: var(--Text);
		fill-opacity: 1;
		stroke-dasharray: calc(var(--path-length) * 0.5);
	}
}

@media (prefers-reduced-motion: reduce) {

	.section1.isReady .cnPath,
	.cc.cc--revealed .ccPath {
		animation: none;
		fill-opacity: 1;
		stroke-width: 0;
	}

	.cc.cc--drawn .ccPath {
		fill-opacity: 1;
		stroke-width: 0;
	}
}

.section1__title,
.section1__Text {
	position: relative;
	z-index: 1;
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 標題淡入延遲：在 main.css 調整，勿由 JS 覆寫 */
.section1.isReady .section1__title {
	opacity: 1;
	transform: translateY(0);
	transition-delay: .5s;
}

.section1.isReady .section1__Text {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 1s;
}

.section1__title {
	width: 100%;
	font-size: 3.5vw;
	line-height: 1em;
	color: var(--White);
	text-align: center;
}

.section1__title_en {
	text-transform: uppercase;
}

.section1__title_zh {
	font-size: 2vw;
	font-weight: 600;
}

.section1__Text {
	width: 50%;
	font-family: var(--Sans);
	line-height: 1.5em;
	font-weight: 300;
	text-align: center;
}


/* Sections 2*/
.section2 {
	position: relative;
	height: 110vh;
	height: 110dvh;
	overflow: visible;
	z-index: 1;
	isolation: isolate;
}

.section2_content {
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: center;
}

.section2_title {
	position: absolute;
	bottom: 25%;
	left: 50%;
	z-index: 2;
	width: 100%;
	margin: 0;
	transform: translateX(-50%);
	font-size: 4vw;
	font-weight: 400;
	line-height: 1em;
	text-align: center;
	white-space: nowrap;
	text-transform: uppercase;
}

.section2_title .small {
	font-family: var(--Sans);
	font-weight: 300;
	line-height: 1em;
}

.section2_circles {
	width: 100%;
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
}

.section2_bg {
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
	z-index: 0;
}

.section2_circle {
	position: relative;
	width: 15%;
	aspect-ratio: 1/1;
	border-radius: 50%;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.7);
	background: rgba(0, 0, 0, 0.5);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding: 30px;
	text-align: center;
	font-size: 20px;
	line-height: 1.5em;
	font-weight: 600;
}

.section2_circle_num {
	width: 100%;
	flex-shrink: 0;
	font-family: var(--Sans);
	font-size: 14px;
	font-weight: 400;
	line-height: 1em;
	letter-spacing: 0.05em;
	opacity: 0.6;
}

.section2_circle_text {
	width: 100%;
	flex-shrink: 0;
}

/* 最後一顆圓疊在最上，blur 才能蓋過底下的 .cc */
.section2_circle:last-child {
	z-index: 3;
	isolation: isolate;
}

.section2_bg_circles {
	width: 100%;
	height: 100%;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
}

.section2_bg_circles02 {
	gap: 10%;
}

@keyframes bgCircle-rotate-cw {
	to {
		transform: rotate(360deg);
	}
}

@keyframes bgCircle-rotate-ccw {
	to {
		transform: rotate(-360deg);
	}
}

.bgCircle_big_wrap {
	flex-shrink: 0;
	width: 30%;
	aspect-ratio: 1/1;
	transform-origin: 50% 50%;
	will-change: transform;
}

.bgCircle_big {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 1px dashed rgba(255, 255, 255, 0.5);
	transform-origin: 50% 50%;
	will-change: transform;
	animation: bgCircle-rotate-cw 72s linear infinite;
}

.bgCircle_small_wrap {
	flex-shrink: 0;
	width: 20%;
	aspect-ratio: 1/1;
	transform-origin: 50% 50%;
	will-change: transform;
}

.bgCircle_small {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 1px dashed rgba(255, 255, 255, 0.5);
	transform-origin: 50% 50%;
	will-change: transform;
	animation: bgCircle-rotate-ccw 48s linear infinite;
}

@media (prefers-reduced-motion: reduce) {

	.bgCircle_big,
	.bgCircle_small {
		animation: none;
		will-change: auto;
	}

	.bgCircle_big_wrap,
	.bgCircle_small_wrap {
		will-change: auto;
	}
}

/* Sections 3*/
.section3,
.section4,
.section5,
.section6,
.section7,
.section8 {
	position: relative;
	width: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	z-index: 0;
	background: var(--White);
	color: var(--Black);
}

.servicesDeck {
	position: relative;
	background: var(--White);
	color: var(--Black);
}

.sectionContent {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 100px;
	padding: 150px 30px;
}

.left {
	width: calc(50% - 50px);
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-direction: column;
	gap: 20px;
}

.right {
	width: calc(50% - 50px);
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-direction: column;
}

.smallTitle {
	font-size: 12px;
	font-family: var(--Sans);
	color: var(--Gray);
	line-height: 1em;
	opacity: .6;
}

.number {
	font-size: 20vw;
	font-family: var(--Serif);
	line-height: .8em;
}

.bigTitle {
	font-size: 36px;
	font-family: var(--Serif);
	line-height: 1em;
}

.subTitle {
	font-size: 16px;
	font-family: var(--Sans);
	font-weight: 400;
	line-height: 1em;
}

.contentSilder {
	position: relative;
	width: 100%;
	aspect-ratio: 16/9;
	overflow: hidden;
}

.contentSilder .swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.contentSilder .swiper-button-prev,
.contentSilder .swiper-button-next {
	width: 40px;
	height: 40px;
	background: rgba(0, 0, 0, 0.15);
	border-radius: 50%;
	color: var(--White);
}

.contentSilder .swiper-button-prev::after,
.contentSilder .swiper-button-next::after {
	font-size: 16px;
}

.aPoint {
	width: 100%;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-direction: column;
	gap: 10px;
	position: relative;
	padding: 40px 50px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.aPoint:first-child {
	border-top: 3px solid rgba(0, 0, 0, 1);
}

.aPoint:last-child {
	border-bottom: 3px solid rgba(0, 0, 0, 1);
}

.aPoint h2 {
	line-height: 1.2em;
}

.aPoint p {
	font-size: 16px;
	font-family: var(--Sans);
	font-weight: 300;
	line-height: 1.5em;
}

.aPoint::before {
	content: none;
}

/*Section 9*/
.section9 {
	min-height: auto;
}

.section9 .sectionContent {
    gap: 50px;
}
.section9_title{
	font-size: 28px;
	line-height: 1.2em;
	width: 100%;
	text-align: center;
}

.contactInfo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	width: 100%;
}

.contactInfo p {
	margin: 0;
	text-align: center;
}

.contactInfo__mailBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: min(92vw, 560px);
	padding: 12px 50px;
	border: 1px solid currentColor;
	background: transparent;
	color: inherit;
	font-family: var(--Sans);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0;
	text-align: center;
	overflow-wrap: anywhere;
	transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.contactInfo__mailBtn:hover {
	color: var(--Black);
	background: var(--White);
	border-color: var(--Gray);
	opacity: 1;
}


@media screen and (min-width:1025px) and (orientation:landscape) and (hover:hover) and (pointer:fine) {
	.servicesDeck--presentation {
		--services-number-size: clamp(96px, min(20vw, 26vh), 20vw);
		--services-number-size: clamp(96px, min(20vw, 26dvh), 20vw);
		--services-column-gap: clamp(50px, 7vw, 100px);
		--services-left-gap: clamp(10px, 1.8vh, 20px);
		--services-left-gap: clamp(10px, 1.8dvh, 20px);
		--services-slide-padding: clamp(60px, 8vh, 100px);
		--services-slide-padding: clamp(60px, 8dvh, 100px);
		--services-point-y: clamp(18px, 3vh, 34px);
		--services-point-y: clamp(18px, 3dvh, 34px);
		isolation: isolate;
	}

	.servicesDeck--presentation .servicesDeck__sourceSlide {
		display: flex;
		align-items: center;
		height: 100vh;
		min-height: 100vh;
		height: 100dvh;
		min-height: 100dvh;
		overflow: hidden;
		z-index: 0;
	}

	.servicesDeck--presentation .servicesDeck__sourceSlide > .sectionContent {
		visibility: hidden;
		pointer-events: none;
	}

	.servicesDeck__presentationStage {
		position: absolute;
		inset: 0;
		z-index: 20;
		display: flex;
		align-items: center;
		width: 100%;
		height: 100vh;
		height: 100dvh;
		background: var(--White);
		color: var(--Black);
		overflow: hidden;
	}

	.servicesDeck__presentationContent {
		height: 100%;
		min-height: 100%;
		align-items: center;
		flex-wrap: nowrap;
		gap: var(--services-column-gap);
		padding: var(--services-slide-padding) 30px;
	}

	.servicesDeck__presentationLeft,
	.servicesDeck__presentationPointsLayer {
		width: calc((100% - var(--services-column-gap)) / 2);
	}

	.servicesDeck__presentationLeft {
		gap: var(--services-left-gap);
	}

	.servicesDeck__presentationTextLayer {
		position: relative;
		display: grid;
		width: 100%;
	}

	.servicesDeck__presentationTextSet {
		grid-area: 1 / 1;
		display: flex;
		width: 100%;
		flex-direction: column;
		gap: var(--services-left-gap);
		pointer-events: none;
	}

	.servicesDeck__presentationTextSet.is-current {
		pointer-events: auto;
	}

	.servicesDeck__presentationLeft .number {
		font-size: var(--services-number-size);
	}

	.servicesDeck__presentationLeft .bigTitle {
		font-size: clamp(24px, 4vh, 36px);
		font-size: clamp(24px, 4dvh, 36px);
		line-height: 1.05em;
	}

	.servicesDeck__presentationLeft .subTitle {
		font-size: clamp(12px, 2.1vh, 16px);
		font-size: clamp(12px, 2.1dvh, 16px);
		line-height: 1.25em;
	}

	.servicesDeck__presentationSliderLayer {
		position: relative;
		width: 100%;
	}

	.servicesDeck__presentationSlider {
		aspect-ratio: 16 / 9;
	}

	.servicesDeck__presentationPointsLayer {
		max-height: calc(100vh - (var(--services-slide-padding) * 2));
		max-height: calc(100dvh - (var(--services-slide-padding) * 2));
		overflow: hidden;
	}

	.servicesDeck__presentationPointsLayer .aPoint {
		gap: clamp(6px, 1vh, 10px);
		gap: clamp(6px, 1dvh, 10px);
		padding: var(--services-point-y) clamp(28px, 4vw, 50px);
	}

	.servicesDeck__presentationPointsLayer .aPoint p {
		font-size: clamp(14px, 1.35vw, 16px);
		line-height: 1.45em;
	}

	.servicesDeck__presentationStage .word {
		display: inline-block;
		perspective: 1000px;
	}

	.servicesDeck__presentationStage .char {
		display: inline-block;
		transform-style: preserve-3d;
	}
}

@media screen and (min-width:1025px) and (orientation:landscape) and (hover:hover) and (pointer:fine) and (max-height:665px) {
	.servicesDeck__presentationPointsLayer .aPoint h2 {
		font-size: 22px;
		line-height: 1.15em;
	}
}

/*////RWD////*/
@media screen and (max-width:1660px) {}

@media screen and (max-width:1440px) {}

@media screen and (max-width:1366px) {}

@media screen and (max-width:1280px) {
	.sectionContent {

		gap: 50px;
	}

	.left,
	.right {
		width: calc(50% - 25px);
	}

}

@media screen and (max-width:1024px) {
	.section2_circle {
		gap: 6px;
		font-size: 16px;
	}

	.section2_circle_num {
		font-size: 12px;
	}
}

@media (orientation:portrait) and (max-width:768px) {
	.section1 {
		height: 100vh;
		min-height: 100vh;
		height: 100svh;
		min-height: 100svh;
	}
}

@media (orientation:landscape) and (max-height:767px) {
	.section1 {
		align-content: flex-start;
		gap: clamp(28px, 6vh, 56px);
		gap: clamp(28px, 6dvh, 56px);
		padding-top: clamp(72px, 12vh, 110px);
		padding-top: clamp(72px, 12dvh, 110px);
		padding-bottom: calc(6.25vw + 36px);
	}

	.section1__title {
		font-size: clamp(34px, 3.2vw, 58px);
		line-height: 1em;
	}

	.section1__title_zh {
		font-size: clamp(20px, 1.8vw, 34px);
	}

	.section1__Text {
		width: min(58%, 760px);
		font-size: clamp(13px, 1.45vw, 17px);
		line-height: 1.45em;
	}
}

@media (orientation:portrait) and (max-height:1180px) {

	.section1__title {
		font-size: 6vw;
		line-height: 1em;
	}

	.section1__title_zh {
		font-size: 3.5vw;
	}

	.section1__Text {
		width: 80%;
	}

	.section2 {
		height: 120dvh;
	}

	.section2_circles {
		width: 100%;
		height: 100%;
		flex-direction: column;
	}

	/* 拆開兩行標題，分別貼齊 .cc 左上角／右下角（.cc 寬度=100%、垂直置中，高度≈寬度*90/1440） */
	/* 撐滿與 .cc 相同的高度基準（.section2_content 全高），子元素的 top:50% 才會對齊 .cc 的垂直中心 */
	.section2_title {
		bottom: auto;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		transform: none;
		white-space: normal;
		text-align: left;
	}

	.section2_title_en {
		position: absolute;
		left: 10px;
		top: calc(50% - 3.125vw - 20px);
		transform: translateY(-100%);
	}

	.section2_title .small {
		position: absolute;
		right: 10px;
		top: calc(50% + 3.125vw + 20px);
		font-size: 3.5vmax;
	}

	.section2_circle {
		width: 24%;
		gap: 6px;
		font-size: 18px;
	}

	.section2_circle_num {
		font-size: 13px;
	}

	.section2_bg_circles {
		flex-direction: column;
	}

	.bgCircle_big_wrap {
		width: 44%;
	}

	.bgCircle_small_wrap {
		width: 30%;
	}

	.left,
	.right {
		width: 100%;
	}

	.number {
		font-size: 25vw;
	}

	.bigTitle {
		font-size: 40px;
	}

	.subTitle {
		font-size: 20px;
		font-weight: 300;
	}


}

@media (orientation:portrait) and (max-height:1024px) {}

@media screen and (max-width:480px) {
	.sectionContent {
		padding: 100px 30px;
	}

	.section1 {
		align-content: start;
	}

	.cn {
		width: 30%;
	}

	.section1__title {
		font-size: 7vw;
	}

	.section1__title_zh {
		font-size: 4vw;
	}

	.section1__Text {
		width: 90%;
		font-size: 12px;
	}

	.section2_title_en {
		top: calc(50% - 3.125vw - 10px);
	}

	.section2_title .small {
		top: calc(50% + 3.125vw + 10px);
		font-size: 2.5vmax;
	}

	.section2_circle {
		width: 30%;
		gap: 4px;
		padding: 10px;
		font-size: 14px;
	}

	.section2_circle_num {
		font-size: 10px;
	}

	.bgCircle_big_wrap {
		width: 55%;
	}

	.bgCircle_small_wrap {
		width: 42%;
	}

	.number {
		font-size: 30vw;
	}

	.bigTitle {
		font-size: 32px;
		line-height: 1.2em;
	}

	.subTitle {
		font-size: 16px;
		line-height: 1.2em;
	}
}

@media (orientation: portrait) and (max-height:896px) {}

@media (orientation: portrait) and (max-height:844px) {}

@media (orientation: portrait) and (max-width:390px) {}

@media (orientation: portrait) and (max-height:812px) {}

@media (orientation: portrait) and (max-width:375px) {}

@media (orientation: portrait) and (max-height:736px) {}

@media (orientation: portrait) and (max-height:667px) {}

@media screen and (max-width:360px) {}

@media screen and (max-width:320px) {}
