#revo * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

#revo {
	font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	color: #2c2c2c;
	line-height: 1.7;
	overflow-x: hidden;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background: #fff;
}

#revo img {
	max-width: 100%;
	display: block;
	border: 0;
}

#revo .rw {
	max-width: 920px;
	margin: 0 auto;
	padding: 0 24px;
	width: 100%;
}

/* HERO */
#revo .hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: center;
	background: url('https://sunjenfabric.com/wp-content/uploads/2026/06/hero_net.jpg') center/cover no-repeat;
	padding: 0;
}

#revo .hero::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	background: linear-gradient(to top,#fff 0%,rgba(255,255,255,0) 40%);
}

#revo .herovid {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

#revo .hero .rw {
	position: relative;
	z-index: 2;
	max-width: none;
	padding: 0 clamp(28px,5vw,90px) 14vh;
}

#revo .hero img.logo {
	height: clamp(30px,3vw,52px);
	width: auto;
	margin-bottom: 22px;
}

#revo .hero h1 {
	color: #fff;
	font-weight: 300;
	font-size: clamp(2.4rem,9.3vw,13rem);
	line-height: 1.18;
	letter-spacing: -.01em;
	text-shadow: 0 2px 24px rgba(0,0,0,.25);
}

/* SECTION base */
#revo section {
	padding: clamp(56px,8vw,92px) 0;
}

#revo .sec-title {
	font-size: clamp(2.1rem,4vw,3.3rem);
	font-weight: 900;
	color: #1BAEC2;
	line-height: 1.15;
	margin-bottom: 10px;
}

#revo .sec-sub {
	font-size: .98rem;
	color: #4b4948;
	line-height: 1.8;
	margin-bottom: 36px;
}

#revo h2.head {
	font-size: clamp(2.1rem,4.1vw,3.4rem);
	font-weight: 900;
	line-height: 1.32;
	margin-bottom: 30px;
}

#revo .lead {
	font-weight: 700;
	font-size: 1.15rem;
	line-height: 1.6;
	margin-bottom: 20px;
}

#revo p.body {
	font-size: 1.05rem;
	line-height: 2;
	color: #4b4948;
}

/* S1 */
#revo #s1 {
	background: #fff;
	position: relative;
	z-index: 3;
	margin-top: -5vh;
}

#revo .s1row {
	display: flex;
	gap: 40px;
	align-items: flex-start;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

#revo .s1row .txt {
	flex: 1 1 320px;
}

#revo .s1row .flow {
	flex: 0 0 120px;
	margin: 0 auto;
}

#revo .s1row .flow img {
	width: 120px;
	margin: 0 auto;
}

#revo .s1photo {
	width: 100%;
	border-radius: 12px;
	max-height: 520px;
	object-fit: cover;
}

#revo .s1left {
	flex: 1 1 320px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

#revo .s1left .txt {
	flex: 0 0 auto;
	width: 100%;
}

#revo .s1left .s1photo {
	width: 100%;
	max-height: none;
}

/* S2 */
#revo #s2 {
	background: linear-gradient(to bottom,#e8f5f8 0%,#fff 600px);
}

#revo .s2row {
	display: flex;
	gap: 36px;
	align-items: flex-start;
	margin-bottom: 46px;
	flex-wrap: wrap;
}

#revo .s2row .ph {
	flex: 0 0 240px;
	width: 240px;
}

#revo .s2row .ph img {
	width: 100%;
	aspect-ratio: 3/4;
	object-fit: cover;
	border-radius: 10px;
}

#revo .s2row .bd {
	flex: 1 1 320px;
}

#revo .s2tech {
	border-top: 1px solid #e0e0e0;
	padding-top: 38px;
}

#revo .tags {
	font-size: .78rem;
	color: #4b4948;
	line-height: 2.1;
	margin-top: 16px;
}

#revo .tags span::after {
	content: '｜';
	color: #ccc;
	margin: 0 4px;
}

#revo .tags span:last-child::after {
	content: '';
}

#revo .certs {
	margin: 40px auto 0;
	max-width: 760px;
	width: 100%;
}

/* S3 */
#revo #s3 {
	padding: 0;
	background: #fff;
}

#revo .s3photo {
	width: 100%;
	height: auto;
	display: block;
}

#revo .s3in {
	padding: clamp(48px,7vw,80px) 0 clamp(56px,8vw,92px);
}

#revo .s3in h2 {
	color: #1BAEC2;
}

#revo .tablewrap {
	overflow-x: auto;
	margin-top: 8px;
}

#revo table.cmp {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
	font-size: .76rem;
}

#revo table.cmp th {
	padding: 12px;
	text-align: center;
	font-weight: 700;
	border-bottom: 1px solid #e0e0e0;
	line-height: 1.5;
}

#revo table.cmp th.hl {
	color: #1BAEC2;
	border-bottom-color: #e0e0e0;
}

#revo table.cmp td {
	padding: 12px;
	text-align: center;
	vertical-align: middle;
	border-bottom: 0;
	line-height: 1.6;
	color: #4b4948;
}

#revo table.cmp td:first-child {
	text-align: left;
	font-weight: 700;
	color: #2c2c2c;
	white-space: nowrap;
}

#revo table.cmp td.hl {
	background: #73cbdf;
	color: #fff;
	font-weight: 500;
}

/* S4 fabric */
#revo #s4 {
	background: linear-gradient(to bottom,#e8f5f8 0%,#fff 600px);
}

#revo .grid {
	display: grid;
	gap: 12px;
}

#revo .g4 {
	grid-template-columns: repeat(4,1fr);
}

#revo .g3 {
	grid-template-columns: repeat(3,1fr);
}

#revo .fitem {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
}

#revo .fitem img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

#revo .flabel {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	color: #fff;
	font-size: .7rem;
	font-weight: 500;
	padding: 18px 8px 8px;
	background: linear-gradient(transparent,rgba(0,0,0,.55));
}

#revo .mt12 {
	margin-top: 12px;
}

/* S4b logo */
#revo #s4b {
	background: #fff;
}

#revo .logo3 img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 12px;
}

/* S5 print */
#revo #s5 {
	background: #fff;
}

#revo .printimg {
	width: 100%;
	border-radius: 14px;
	margin-top: 4px;
	display: block;
}

#revo .edge3 {
	margin: 48px 0 40px;
}

#revo .edge3 img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 12px;
}

/* S6 */
#revo #s6 {
	padding: 0;
	background: #fff;
}

#revo .s6hero {
	width: 100%;
	max-height: 64vh;
	object-fit: cover;
}

#revo .s6in {
	padding: clamp(48px,7vw,80px) 0 clamp(56px,8vw,90px);
}

#revo .sizerow {
	display: flex;
	gap: 48px;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 64px;
}

#revo .sizerow .dia {
	flex: 0 0 260px;
	margin: 0 auto;
}

#revo .sizerow .dia img {
	width: 260px;
	margin: 0 auto;
}

#revo .sizelist {
	flex: 1 1 300px;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

#revo .szt {
	font-size: .95rem;
	font-weight: 700;
	margin-bottom: 4px;
}

#revo .szn {
	font-size: clamp(1.8rem,5vw,2.4rem);
	font-weight: 300;
	letter-spacing: -.01em;
	line-height: 1.1;
}

#revo .szn small {
	font-size: .5em;
	color: #4b4948;
	font-weight: 400;
}

#revo .moq {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	border-top: 1px solid #e8e8e8;
	border-bottom: 1px solid #e8e8e8;
}

#revo .moqc {
	text-align: center;
	padding: 40px 20px;
	border-right: 1px solid #e8e8e8;
}

#revo .moqc:last-child {
	border-right: none;
}

#revo .moqc img {
	width: 70px;
	height: 70px;
	margin: 0 auto 18px;
	object-fit: contain;
}

#revo .mtt {
	font-size: .98rem;
	font-weight: 700;
	color: #1BAEC2;
	margin-bottom: 8px;
}

#revo .mnn {
	font-size: .92rem;
	font-weight: 700;
	margin-bottom: 12px;
}

#revo .mnn b {
	font-size: 1.15em;
}

#revo .mdd {
	font-size: .76rem;
	color: #4b4948;
	line-height: 1.95;
}

#revo .moqfoot {
	text-align: center;
	font-size: .84rem;
	color: #4b4948;
	line-height: 2.1;
	padding-top: 26px;
}

/* FOOTER */
#revo footer {
	background: #181818;
	color: rgba(255,255,255,.45);
	text-align: center;
	padding: 28px 16px;
	font-size: .72rem;
	letter-spacing: .05em;
}

#revo footer b {
	color: #1BAEC2;
}

/* ====== RESPONSIVE ====== */
@media(max-width:760px) {
	#revo .s2row .ph {
		flex: 0 0 100%;
		width: 100%;
		max-width: 300px;
		margin: 0 auto;
	}
	
	#revo .g4 {
		grid-template-columns: repeat(2,1fr);
	}
	
	#revo .sizerow {
		gap: 28px;
	}
	
	#revo .sizerow .dia,#revo .sizerow .dia img {
		flex-basis: 200px;
		width: 200px;
	}
}

@media(max-width:560px) {
	#revo .g3 {
		grid-template-columns: repeat(2,1fr);
	}
	
	#revo .logo3.g3 {
		grid-template-columns: 1fr;
	}
	
	#revo .moq {
		grid-template-columns: 1fr;
	}
	
	#revo .moqc {
		border-right: none;
		border-bottom: 1px solid #e8e8e8;
		padding: 32px 20px;
	}
	
	#revo .moqc:last-child {
		border-bottom: none;
	}
}

/* WAVES */
#revo #s1,#revo #s2,#revo #s3,#revo #s4,#revo #s4b,#revo #s6 {
	position: relative;
}

#revo .wv-top {
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	height: clamp(34px,4.5vw,60px);
	z-index: 3;
	display: block;
	pointer-events: none;
}

#revo .hero {
	background-attachment: fixed;
}

/* PHOTO BOTTOM FADE */
#revo .imgfade {
	position: relative;
	display: block;
	line-height: 0;
}

#revo .imgfade img {
	display: block;
	width: 100%;
}

#revo .imgfade::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 56%;
	background: linear-gradient(to bottom,rgba(255,255,255,0) 0%,#fff 100%);
	pointer-events: none;
	z-index: 2;
}

/* TBL ZEBRA */
#revo table.cmp tbody tr.zb td {
	background: #ececec;
}

#revo table.cmp tbody tr.zb td.hl {
	background: #99d9e7;
}

#revo table.cmp tbody tr.zb td:first-child {
	background: transparent;
}

/* S3/S6 OVERLAP */
#revo #s3 .s3in,#revo #s6 .s6in {
	position: relative;
	z-index: 3;
	margin-top: -18vh;
}

/* === mobile menu fix (方案 A) === */
@media (max-width: 599.98px) {
	/* 1) 讓菜單在 modal 內垂直置中，消除下方大片空白 */
	.wp-block-navigation.is-responsive
	    .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay)
	    .wp-block-navigation__responsive-container-content {
		justify-content: center;
		padding-top: 0;
	}
	
	/* 2) 把每項行高從 50px 收回正常值 */
	.wp-block-navigation.blockbase-responsive-navigation-linear.is-responsive
	    .wp-block-navigation__responsive-container.is-menu-open.has-modal-open
	    .wp-block-navigation-item a {
		line-height: 1.6;
		padding: 6px 0;
	}
	
	/* 3) 子選單字級拉齊主項 */
	.wp-block-navigation.blockbase-responsive-navigation-linear.is-responsive
	    .wp-block-navigation__responsive-container.is-menu-open.has-modal-open
	    .wp-block-navigation__submenu-container a {
		line-height: 1.6;
		padding: 4px 0;
	}
}

/* === mobile header fix 2: site-brand display contents 導致 logo 跟 title/hamburger 換行間距 === */
@media (max-width: 599.98px){
  .site-header.site-header-linear > .site-brand{
    display: flex !important;
    flex: 0 1 auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  .site-header.site-header-linear > .site-brand > .wp-block-site-logo{
    flex: 0 0 auto;
  }
  .site-header.site-header-linear{
    flex-wrap: nowrap !important;
  }
}

/* MOBILE HEADER TIGHTEN */
@media (max-width:782px){
#wp--skip-link--target{margin-top:6px}
header .wp-block-site-logo{margin-top:6px!important;margin-bottom:8px!important}
header.wp-block-template-part>.wp-block-group{padding-top:10px!important;padding-bottom:10px!important}
#revo .hero{min-height:80vh}
}

/* language switch hover */
#revo a.langswitch:hover{background:#127e8f !important;box-shadow:0 12px 28px rgba(0,0,0,0.32) !important;}

/* zh mobile tags one-line */
@media (max-width:600px){body.page-id-5166 #revo .s2tech .tags{font-size:11px;letter-spacing:-.2px;}}

/* gap between print image and edge title */
#revo .printimg + .sec-title{margin-top:clamp(60px,8vw,96px);}

/* S6 photo stronger fade */
#revo #s6 .imgfade::after{height:82%;background:linear-gradient(to bottom,rgba(255,255,255,0) 0%,#fff 72%);}
#revo #s3 .imgfade::after{height:88%;background:linear-gradient(to bottom,rgba(255,255,255,0) 0%,rgba(255,255,255,0.1) 36%,rgba(255,255,255,0.45) 62%,rgba(255,255,255,0.85) 82%,#fff 92%);}
