﻿/************************************************************************************
RESET
*************************************************************************************/
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,font,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,figure,mark,main {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	background: transparent;
}

body {
	line-height: 1;
	-webkit-text-size-adjust: none;
}

ol,ul {
	list-style: none;
}

blockquote,q {
	quotes: none;
}

blockquote:before,blockquote:after,q:before,q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}

del {
	text-decoration: line-through;
}

a img {
	border: none;
}

img {
	max-width: 100%;
	image-rendering: -webkit-optimize-contrast;
}

.clean {
	clear: both;
}

a {
	color: #333333;
	text-decoration: none;
	blr: expression(this.onFocus=this.blur());
	outline: none;
	/* for Firefox */
	hlbr: expression(this.onFocus=this.blur());
}

a:hover {
	text-decoration: none;
}

a:focus {
	-moz-outline-style: none;
}

h1,h2,h3,h4,h5 {
	text-decoration: inherit;
	font: inherit;
	font-weight: inherit;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

* {
	box-sizing: border-box;
}

/*基本變數*/
:root {
	/*基本*/
	--white-color: #ffffff;
	--black-color: #333333;
	--family-basic: "Noto Sans JP","Noto Sans TC", Verdana;
	--family-serif: "Shippori Mincho", "SimSun" ,Verdana;
	--slider-max:1800px;

	/*顏色*/
	--light-brown-bkcolor:#f8f5f2;
	--dark-brown:#5b4b3a;
	--dark-brown-bkcolor:#efeae4;
	--black-bkcolor:#4f4f4f;
	--light-gray-color:#b3b3b3;
	--light-gray-color2:#b8b8b8;
	--gray-color:#929292;
	--brown-link:#976938;
	--light-brown-but:#f2e8de;
	--light-brown-but2:#e1d4c5;
}


/*PC
-----------------------------------------------------------------*/


/*通用框架*/
.container {
	width: 100%;
	margin: auto;
	font-family: var(--family-basic);
}

.block-center {
	width: 100%;
	clear: both;
	max-width: 1460px;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
}

.block-box {
	position: relative;
	padding: 110px 0px;
	background: var(--light-brown-bkcolor);
}

.block-box:nth-child(odd) {
	background:var(--white-color);
}

.block-box h2 {
	width: 100%;
    display: inline-flex;
	flex-wrap: wrap;
    text-align: left;
    padding: 0 0 0 16%;
    font-size: 55px;
    color: var(--dark-brown);
    font-family: var(--family-serif);
    font-weight: 600;
    line-height: 65px;
    letter-spacing: 1px;
    margin: 0 0 18px 0;
	gap: 10px;
}

.block-box h2 span {
	width: 100%;
	text-align: left;
	display: inline-block;
	font-size: 24px;
	line-height: 35px;
	font-family: var(--family-basic);
	font-weight:400;
	color: var(--black-color);
}

.block-box h3 {
	width: 100%;
    display: inline-block;
    text-align: left;
    font-size: 40px;
    color: var(--dark-brown);
    font-family: var(--family-serif);
    font-weight: 600;
    line-height: 50px;
    letter-spacing: 1px;
    margin: 0 0 15px 0;
}


/*主視覺+導覽列*/
.hero {
	height: 620px;
	min-height: 560px;
	position: relative;
	color: var(--white-color);
	overflow: hidden;
	background: var(--black-color);
	margin: 0px;
}

.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity var(--hero-fade, 1.2s) ease;
	overflow: hidden
}

.hero-slide.active {
	opacity: 1
}

.hero-slide:after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, .52), rgba(0, 0, 0, .16) 50%, rgba(0, 0, 0, .12)), linear-gradient(0deg, rgba(0, 0, 0, .48), rgba(0, 0, 0, 0) 46%)
}

.hero-slide .photo {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.08) translateX(2.4%)
}

.hero-slide.active .photo {
	animation: panLeft var(--hero-duration, 6.6s) linear forwards
}

@keyframes panLeft {
	from {
		transform: scale(1.08) translateX(2.4%)
	}

	to {
		transform: scale(1.08) translateX(-2.4%)
	}
}

.hero-progress {
	position: absolute;
	z-index: 6;
	left: calc((100vw - min(var(--slider-max), 100vw))/2 + 22px);
	right: calc((100vw - min(var(--slider-max), 100vw))/2 + 22px);
	bottom: 100px;
	height: 1px;
	background: rgba(255, 255, 255, .45);
}

.hero-progress .progress {
	height: 100%;
	width: 0;
	background: var(--white-color);
	box-shadow: 0 0 10px rgba(255, 255, 255, .45);
}

.nav {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 40px;
	z-index: 6;
	color: var(--white-color);
}

.nav .inner {
	max-width: var(--slider-max);
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 16px 22px 0
}

.nav ul {
	list-style: none;
	display: flex;
	gap: 34px;
	margin: 0;
	padding: 0;
	align-items: center
}

.nav a {
	position: relative;
	padding:8px 20px;
	opacity: .9;
	color: var(--white-color);
	font-size: 18px;
    transition: .3s;
    border-radius: 10px;
    font-weight: 300;
    letter-spacing: 1px;
}

.nav a.active,
.nav a:hover {
	background:rgba(255, 255, 255, 0.35);
}

.nav.is-sticky {
	position: fixed;
	top:0px;
	bottom: auto;
	background:var(--dark-brown);
	color: var(--text);
}

.nav.is-sticky a {
	border-radius: 0px;
}

.nav.is-sticky .inner {
	justify-content: center;
	padding: 12px 22px
}

.nav.is-sticky ul {
	gap: 44px
}

.hero-title {
	position: absolute;
	z-index: 5;
	left: calc((100vw - min(var(--slider-max), 100vw))/2 + 22px);
	bottom: 150px;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .22);
}

.hero-title h1 {
	font-family: var(--family-serif);
	font-size: clamp(34px, 5vw, 58px);
	line-height: 1.22;
	letter-spacing: 1px;
	font-weight: 600;
}

.hero-title h1 strong {
	font-size: 20px;
	margin: 15px 0 0 0;
	opacity: .8;
	font-family: var(--family-serif);
	letter-spacing: 1px;
	font-weight: 300;
	display:block;
	width: 100%;
}

.hero-title span {
	font-size:30px;
	letter-spacing: 0;
}

/*關於我們*/
#about.block-box {
	padding: 110px 0 0 0;
	overflow: hidden;
}

.about-main {
	background: url(../images/about_bk1.webp) no-repeat left top;
	overflow: hidden;
}

.about-main .block-center {
	z-index: 2;
    position: relative;
}

.about-main-box {
	width: 100%;
	display: flex;
	gap:50px;
	padding: 0 0 0 16%;
}

.about-main-pic img {
	border-radius: 300px 300px 10px 10px;
}

.about-important {
	text-align: left;
    color: var(--black-color);
    font-size: 24px;
    line-height: 43px;
    background: var(--dark-brown-bkcolor);
    padding: 30px;
    position: absolute;
    left: 23%;
    top: 220px;
    border-left: 1px solid var(--dark-brown);
    z-index: 1;
    width: calc(100% - 20px);
}

.about-main-infor {
	width: 60%;
    text-align: left;
	color: var(--black-color);
	line-height: 35px;
	font-size: 18px;
	font-family: var(--family-basic);
	font-weight: 400;
}

.about-main-infor p ,.about-future-infor p {
	margin: 0 0 10px 0;
}

.about-main-infor p:last-child ,.about-future-infor p:last-child {
	margin: 0;
}

.about-main-infor b ,.about-future-infor b {
	font-weight: 700;
}

.about-main-pic {
	text-align: right;
	width: 40%;
}

.about-main-pic img {
	display: inline-block;
}

.about-future {
	width: 100%;
	clear: both;
	background: url(../images/about_bk2.webp) -50px bottom no-repeat;
}

.about-future-box {
	display: flex;
	align-items: center;
	padding: 40px 0;
	gap: 140px;
}

.about-future-infor {
	text-align: left;
	color: var(--black-color);
	line-height: 35px;
	font-size: 18px;
	font-family: var(--family-basic);
	font-weight: 400;
	flex: 2;
}

.about-future-pic {
	flex: 3;
	padding: 0 0 0 40px;
}

.about-future-pic img {
	border-radius: 10px;
}

.block-box h3.timeline-title {
	max-width: 1460px;
	margin: 0px auto;
	padding: 0 20px;
	display: block;
}

.about-timeline {
	width: 100%;
	background: url(../images/about_bk3.webp) no-repeat left bottom;
	padding: 60px 0 202px 0;
	position: relative;
}

.about-timeline-space {
    justify-content: center;
	width: 100%;
	display: flex;
	gap: 100px;
	position: relative;
	flex-wrap: wrap;
	margin: 40px 0 20px 0;
}

.about-timeline-space::after {
	height: 1px;
	width: 100%;
	position: absolute;
	top:66px;
	left: 0px;
	content: '';
	background: var(--dark-brown);
}

.about-timeline-box {
	display: inline-block;
	position: relative;
	text-align: center;
	font-size: 20px;
	font-family: var(--family-basic);
	font-weight: 500;
	color: var(--black-color);
	padding: 0 0 77px 0;
}


.about-timeline-box::before {
	position: absolute;
	content: '';
	width: 100%;
	background: url(../images/timelinedot.webp) center top no-repeat;
	height: 56px;
	bottom: 0;
}

.about-timeline-box span {
	color: var(--dark-brown);
	margin: 0 0 5px 0;
}

.about-timeline-box span ,.about-timeline-box b {
	width: 100%;
	display: inline-block;
	text-align: center;
}

.about-timeline-box a {
	color: var(--brown-link);
}

/*業務與技術*/
#services.block-box {
	background: url(../images/service_bk1.webp) no-repeat center 110px;
}

.service-photos {
	width: 100%;
	padding: 40px 0px 0px 13%;
	display: inline-flex;
	gap: 50px;
}

.service-photos img {
	display: inline-block;
	border-radius: 10px;
}

.service-pic-box {
	flex: 1;
	display: inline-block;
}

.service-pic-box:nth-child(even) {
	padding: 40px 0 0 0;
}

.service-infor-box {
	margin: 0px 0px 0px 13%;
	padding: 50px 30px;
	border-bottom:1px solid var(--dark-brown);
}

.about-main-infor a ,.service-infor-box a {
	text-decoration: underline;
	text-underline-offset: 0.2em;
	color: var(--brown-link);
}

.about-main-infor a:hover ,.service-infor-box a:hover {
	color: var(--dark-brown);
}

.service-infor-text ,.service-infor-list {
	text-align: left;
	color: var(--black-color);
	line-height: 30px;
	font-size: 18px;
	margin: 0 0 10px 0;
}

.service-infor-list li {
	list-style: disc;
	margin: 0 0 10px 30px;
}


/* 跑馬燈：只要外層加 .js-marquee，裡面放自己的圖片/文字皆可 */
.logo-marquee{
	padding:20px 0 0 0;
	overflow:hidden;
}

.marquee-row{
	display:flex;
	width:max-content;
	margin:30px 0;
	gap:30px;
	animation:marqueeLeft var(--marquee-speed,60s) linear infinite;
}

.marquee-row[data-direction="right"]{
	animation-name:marqueeRight;
}

.logo-pill{
	max-height:58px;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:0px;
}

.logo-pill img{
	max-height:58px;
	width:auto;
	object-fit:contain;
}

@keyframes marqueeLeft{to{transform:translateX(-50%)}}
@keyframes marqueeRight{from{transform:translateX(-50%)}to{transform:translateX(0)}}

/*深度開發*/
#deep.block-box {
	background: url(../images/deep_bk.webp) no-repeat center 110px var(--light-brown-bkcolor);
	padding: 110px 0px 200px 0;
}

/*聯絡我們*/
#contact.block-box {
	background: var(--black-bkcolor);
}

.footer-inner {
	max-width: 1460px;
	margin: 0 auto;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr 2.8fr;
	gap: 30px;
	align-items: start;
}

.footer-section-title {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--gray-color);
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.accordion-item {
	border-bottom: 1px solid rgba(255,255,255,0.08);
}

.accordion-trigger {
	width: 100%;
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 0;
	font-family: var(--family-basic);
	font-size: 15px;
	color: var(--light-gray-color);
	text-align: left;
	transition: color 0.2s;
	gap: 12px;
}

.accordion-trigger:hover {
	color: var(--white-color);
}

.acc-arrow {
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	position: relative;
	transition: transform 0.3s ease;
}

.acc-arrow::before,
.acc-arrow::after {
	content: '';
	position: absolute;
	background: currentColor;
	border-radius: 1px;
	top: 50%; left: 50%;
}

.acc-arrow::before {
	width: 10px;
	height: 1.5px;
	transform: translate(-50%, -50%);
}

.acc-arrow::after  {
	width: 1.5px;
	height: 10px;
	transform:
	translate(-50%, -50%);
	transition: opacity 0.25s, transform 0.25s;
}

.accordion-trigger[aria-expanded="true"] .acc-arrow::after {
	opacity: 0;
	transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.35s ease;
}

.accordion-content-inner {
	padding: 4px 0 18px;
	font-size: 14px;
	line-height: 1.85;
	color: #909090;
}

/* Schedule table */
.schedule-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.schedule-table th {
	color: rgba(255,255,255,0.6);
	font-weight: 400;
	font-size: 15px;
	letter-spacing: 0.05em;
	text-align: center;
	padding: 0 4px 10px;
	border-bottom: 1px solid rgba(255,255,255,0.15);
}

.schedule-table td {
	text-align: center;
	padding: 10px 2px 6px;
	color: var(--light-gray-color);
	font-size: 13px;
	line-height: 1.6;
	vertical-align: top;
}

.schedule-table td.closed {
	color: rgba(255,255,255,0.2);
}

.contact-grid {
	display: grid;
	grid-template-columns:2fr 1fr 1fr;
	gap: 16px 32px;
}

.contact-item {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.contact-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-top: -2px;
	color: rgba(255,255,255,0.35);
}

.contact-label {
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.3);
	margin-bottom: 4px;
}

.contact-value {
	font-size: 15px;
	color: var(--light-gray-color2);
	line-height: 1.55;
}

.contact-value a {
	color: var(--light-gray-color2);
	text-decoration: none;
	transition: color 0.2s;
}

.contact-value a:hover {
	color: var(--white-color);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.accordion-logo-space {
	width: 100%;
	display: inline-flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin: 20px 0;
}

.accordion-logo-pic {
	display: inline-block;
	background: var(--white-color);
	padding: 5px;
	border-radius: 5px;
}

.deep-slide-space {
	width: 100%;
	padding: 0 0 0 20%;
	overflow: hidden;
}

.basic-slide {
	padding: 60px 0 0 0;
}

.deep-slide-space .deep-slide-box {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	height: 605px;
	padding: 30px;
	color: var(--white-color);
	border-radius: 10px 200px 10px 10px;
	margin: 0 30px;
}

.deep-slide-space .slick-initialized .slick-slide {
	display: flex;
	flex-direction: column;
    justify-content: flex-end;
}

.deep-slide-space .deep-slide-box:nth-child(even) {
	margin: 30px 30px 0 30px;
}

.deep-slide-space .slick-arrow {
	position: absolute;
	top: 0px;
	border-radius: 500px;
	height: 30px;
	width: 75px;
	background: transparent;
	border: 1px solid var(--dark-brown);
	display: inline-block;
    overflow: hidden;
	opacity: .5;
	text-indent: -9999px;
}

.deep-slide-space .slick-arrow:hover {
	cursor: pointer;
	opacity: 1;
}

.deep-slide-space .slick-prev {
	right: 23%;
	background: url(../images/slide_arrow_left.webp) no-repeat center;
}


.deep-slide-space .slick-next {
	right: 17%;
	background: url(../images/slide_arrow_right.webp) no-repeat center;
}

#deep.block-box h2 {
	margin: 0;
}

.deep-slide-infor {
	width: 100%;
	color: var(--white-color);
	text-align: left;
}

.deep-slide-infor h3 {
	display: inline-block;
	font-family: var(--family-serif);
	font-weight: 600;
	font-size: 30px;
	line-height: 40px;
	width: 100%;
	padding: 0 0 16px 0;
	border-bottom: 1px solid #ffffffbb;
	color: var(--white-color);
}

.deep-slide-infor p {
	font-family: var(--family-basic);
	font-weight: 300;
	text-align: left;
	line-height: 1.8rem;
    font-size: 1rem;
}

/*招募資訊*/
#careers.block-box {
	background: url(../images/careers_bk.webp) no-repeat center 110px;
}

.careers-basic {
	margin: 0px 0px 0px 13.8%;
}

.careers-infor-box {
	padding: 20px 30px;
}

.careers-infor-box h3 {
	font-size: 35px;
	line-height: 50px;
}

.careers-infor-box a {
	text-decoration: underline;
	text-underline-offset: 0.2em;
	color: var(--brown-link);
}

.careers-infor-box a:hover {
	color: var(--dark-brown);
}

.careers-infor-text {
    text-align: left;
    color: var(--black-color);
    line-height: 30px;
    font-size: 18px;
	margin: 0 0 20px 0;
}

.careers-infor-text h4 {
	font-size: 22px;
    line-height: 26px;
	display: inline-block;
	width: 100%;
	text-align: left;
	font-family: var(--family-serif);
	font-weight: 800;
	margin: 0 0 10px 0;
	color: var(--dark-brown);
}

.careers-infor-list li {
	text-align: left;
    color: var(--black-color);
    line-height: 30px;
    font-size: 18px;
	margin: 0 0 10px 30px;
	list-style-type: disc;
}

.careers-infor-open {
max-height: 0;
overflow: hidden;
transition: max-height 0.35s ease;
}

button.careers-infor-click {
	border: 0;
	background: var(--light-brown-but);
	width: 100%;
	max-width: 160px;
	position: relative;
	display: inline-block;
	border-radius: 500px;
	text-align: center;
	margin: 20px 0 0 0;
	min-height: 35px;
	transition: .3s;
	font-family: var(--family-basic);
	font-weight: 600;
}

button.careers-infor-click:hover {
	cursor: pointer;
	background: var(--light-brown-but2);
}

/* button.careers-infor-click[aria-expanded="true"]::after {
	content: '一覧を見る ▲';
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
    line-height: 35px;
    top: 0px;
} */

button.careers-infor-click[aria-expanded="true"] {
	display: none;
}

/* button.careers-infor-click[aria-expanded="false"]::after {
	content: '一覧を見る ▼';
	position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
    line-height: 35px;
    top: 0px;
} */


/*中間調度區
-----------------------------------------------------------------*/
@media screen and (max-width: 1800px) {
	html,
	body {
		width: 100%;
		min-height: 100%;
	}

	.block-box h2 ,.about-main-box {
		padding: 0 0 0 23%;
	}

	.deep-slide-space {
		padding: 0;
	}

	.about-future-box {
		gap: 40px;
	}

	.about-future {
		background: transparent;
	}

	.deep-slide-space .slick-next {
		right: 10px;
	}

	.deep-slide-space .slick-prev {
		right: 100px;
	}

}

@media screen and (max-width: 1500px) {
	.about-main ,#services.block-box ,#careers.block-box {
		background: transparent;
	}

	#deep.block-box {
		background: var(--light-brown-bkcolor);
	}

	.about-important {
		left: 10px;
		top: 200px;
		padding: 20px 30px;
		font-size: 20px;
    	line-height: 40px;
	}

	.block-box h2 ,.about-main-box {
		padding: 0 0 0 40px;
	}

	.about-main-pic {
		padding: 40px 0 0 0;
	}

	.about-main-box {
		gap: 20px;
	}

	.about-future-pic {
		flex: 1;
	}

	.service-photos {
		padding: 20px 0 0 0;
	}

	.service-infor-box ,.careers-basic {
		margin: 0;
	}

	.careers-infor-box {
		padding: 20px 40px;
	}
}

@media screen and (max-width: 1200px) {
	.about-future-box {
		align-items: flex-start;
	}

	.deep-slide-space .deep-slide-box {
		margin: 10px;
	}

	.contact-grid {
		grid-template-columns: 1.5fr 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr 1.8fr;
	}

	.deep-slide-space .deep-slide-box:nth-child(even) {
		margin: 30px 10px 0 10px;
	}

	.deep-slide-space .deep-slide-box {
		height: 450px;
	}

	.deep-slide-space .slick-arrow {
		top: 20px;
	}

	.nav ul ,.nav.is-sticky ul {
		gap: 10px;	
	}

	.nav a {
		padding: 8px 10px;
	}

	.about-timeline-space {
		gap: 40px;
		position: relative;
		flex-wrap: wrap;
		margin: 20px 0;
		padding: 0 20px;
		justify-content: flex-start;
	}

	.about-timeline-box::before {
		display: none;
	}

	.about-timeline-box {
		padding: 15px;
		background: var(--white-color);
		border-bottom: 1px solid var(--dark-brown);
	}

	.about-timeline-space::after {
		display: none;
	}

	.about-timeline-box {
		font-size: 16px;
		padding: 10px 2px;
		max-width: 200px;
        line-height: 1.2rem;
        display: inline-flex;
        flex-wrap: wrap;
        align-items: center;
        align-content: center;
	}

	.about-timeline-box::after {
		content: '▶';
		position: absolute;
		right: -30px;
        top: 38%;
		font-size: var(--dark-brown);
		font-size: 15px;
	}

	.about-timeline-box:last-child::after {
		display: none;
	}
}



/*平板
-----------------------------------------------------------------*/

@media screen and (max-width: 768px) {
	
	.hero {
		margin: 0;
	}

	.hero-title {
		bottom: 80px;
	}

	.hero-progress {
    	bottom: 40px;
	}

	.about-important {
		line-height: 32px;
    	font-size: 18px;
		top: 123px;
		padding: 20px 10px;
	}

	.about-main-infor {
		line-height: 35px;
    	font-size: 18px;
		/* padding:183px 0 0 0; */
	}

	.about-future-infor {
		line-height: 35px;
    	font-size: 18px;
	}

	.block-box h2 {
		font-size: 35px;
    	line-height: 45px;
		padding: 0px;
	}

	.block-box h3 {
		font-size: 28px;
    	line-height: 36px;
		margin: 0 0 10px 0;
	}

	.about-main-box {
		padding: 0px;
	}

	.block-box ,#deep.block-box {
		padding: 60px 0px;
	}

	#about.block-box {
		padding: 60px 0 0 0;
	}

	.about-future-box {
		flex-wrap: wrap;
    	flex-direction: column;
	}

	.about-future-pic {
		padding: 0;
		text-align: center;
	}

	.about-timeline {
		background: transparent;
		padding: 0 0 60px 0;
	}

	.service-infor-box {
		padding: 10px;
	}

	.careers-infor-box {
		padding: 10px 0;
	}

	.service-photos {
		gap: 20px;
	}

	.service-infor-text ,.service-infor-list ,.careers-infor-text ,.careers-infor-list li {
		line-height: 28px;
    	font-size: 15px;
	}

	.careers-infor-list li {
		margin: 0 0 5px 30px;
	}

	.footer-grid {
      grid-template-columns: 1fr;
    }
    .footer-grid > :last-child {
      grid-column: auto;
    }
    .contact-grid {
      grid-template-columns: 1fr;
    }
    .site-footer { padding: 40px 20px 24px; }

	.block-box h2 span {
		font-size: 20px;
    	line-height: 30px;
	}
	

	/*消失*/
	.js-scroll-nav {
		display: none;
	}

}


/*中間調度區
-----------------------------------------------------------------*/

@media screen and (max-width:550px) {
	.hero {
		height: auto;
		min-height: 300px;
	}

	.about-main-box ,.about-future-box {
		flex-wrap: wrap;
	}

	.about-important {
		line-height: 28px;
        font-size: 15px;
	}

	.about-main-infor {
		width: 100%;
		line-height: 30px;
        font-size: 15px;
		/* padding: 166px 0 0 0; */
	}

	.service-photos {
		padding: 0;
	}

	.service-infor-box {
		padding: 10px 0;
	}

	.marquee-row {
		margin: 10px 0;
	}

	.logo-pill img {
		max-height: 35px;
	}

	.block-box h2 span {
		font-size: 18px;
        line-height: 20px;
	}

	.about-future-infor p {
		line-height: 30px;
        font-size: 15px;
	}

	button.careers-infor-click {
		max-width: unset;
	}

	/*消失*/
	.about-main-pic ,.service-pic-box:last-child {
		display: none;
	}

}


/*手機
-----------------------------------------------------------------*/

@media (max-width: 480px) {
	.about-timeline-box {
		width: 100%;
		max-width: unset;
	}

	.about-timeline-box::after {
		right: 47%;
        top: unset;
        transform: rotate(90deg);
        bottom: -30px;
        text-align: center;
	}
}




@media (max-width: 380px) {
	
}

/* ==========================================
   GoTop Button
========================================== */
.gotop-btn {
  position: fixed;
  right: 10px;
  bottom: 20px;
  z-index: 100;
  width: 52px;
  height: 52px;
  background: var(--dark-brown);
  color: var(--white-color);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(91,75,58,0.35);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s;
}

.gotop-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.gotop-btn:hover {
  background: #7a6248;
}

.gotop-btn svg {
  width: 28px;
  height: 28px;
}

.gotop-btn circle {
	background: transparent;
    fill: unset;
}

/* ==========================================
   漢堡按鈕 Hamburger Button
========================================== */
.hamburger-btn {
	display: none;
	position: fixed;
	top: 0px;
	right: 0px;
	z-index: 999;
	width: 46px;
	height: 46px;
	background: rgb(91 75 58);
	border: 0px;
	border-radius: 0px;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 0;
	backdrop-filter: blur(4px);
	transition: background 0.2s;
}

.hamburger-btn span {
  display: block;
  width:24px;
  height: 1.8px;
  background: var(--white-color);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

/* X 形態 */
.hamburger-btn.is-open span:nth-child(1) {
  transform: translateY(7.8px) rotate(45deg);
}
.hamburger-btn.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger-btn.is-open span:nth-child(3) {
  transform: translateY(-7.8px) rotate(-45deg);
}

/* sticky 狀態下的漢堡按鈕 */
.nav.is-sticky .hamburger-btn {
  background: rgba(255,255,255,0.15);
}

/* ==========================================
   行動版導覽列 Mobile Nav Overlay
========================================== */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  position: absolute;
  top: 0;
  right: 0;
  width: min(300px, 80vw);
  height: 100%;
  background: var(--dark-brown);
  padding: 80px 0 40px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-nav-overlay.is-open .mobile-nav {
  transform: translateX(0);
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav ul li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav ul li a {
  display: block;
  padding: 20px 30px;
  color: var(--white-color);
  font-size: 17px;
  font-family: var(--family-serif);
  font-weight: 500;
  letter-spacing: 1px;
  transition: background 0.2s, padding-left 0.2s;
}

.mobile-nav ul li a:hover {
  background: rgba(255,255,255,0.12);
  padding-left: 38px;
}

/* 768px 以下顯示漢堡按鈕與行動選單 */
@media screen and (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }

  .mobile-nav-overlay {
    display: block;
  }
}
