/* 設定CSS變數 */
:root{    
    --pri01:#FF7800; /*主色1橘*/
	--pri02:#F48F05; /*主色2淺橘*/
    --pri03:#D62B22; /*主色3紅*/
    --pri04:#578E23; /*主色4綠*/
    --pri05:#BBC534; /*主色5淺綠*/
	--gray01:#747474; /*常用灰01*/
	--gray02:#9b9b9b; /*常用灰02*/
	--gray03:#DEDEDE; /*常用灰03*/
	--gray04:#F5F5F5; /*常用灰04*/

	--fsXS:1.5rem;    /* 字體大小XS */
	--fsS:1.8rem;   /* 字體大小S */
	--fsP:2rem;   /* 字體大小P */
	--fsM:2.6rem;     /* 字體大小M */
	--fsL:3.2rem;   /* 字體大小L */
	--fsXL:4.8rem;  /* 字體大小XL */
	--fsXL2:6.2rem; /* 字體大小XXL */
    
}
/* =================== 專案CSS =================== */
html, body{ font-size: 10px;} /* 1rem */
body *, body *::before, body *::after{ background-position: center; background-repeat: no-repeat; -webkit-tap-highlight-color: rgba(0,0,0,0) !important;}
* { -webkit-tap-highlight-color: rgba(0,0,0,0) !important; }
a, a *, button, button * { -webkit-tap-highlight-color: rgba(0,0,0,0) !important; -webkit-tap-highlight-color: transparent !important; outline: none !important; }
a:focus, a:active, a:hover { outline: none !important; background-color: transparent !important; background: transparent !important; -webkit-tap-highlight-color: transparent !important; }
.pc, .pc640{ display: inline-block;}
.mobile, .mobile640{ display: none!important;}
.container{ display: block; width: 100%; max-width: var(--maxW); margin: 0 auto; padding: 0 3rem;}

/* ===== uspage ===== */
.bodybox.uspage .bg { position: absolute; top: 50%; transform: translateY(-50%); right: -10%; width: 60%; height: 100%; overflow: hidden; opacity: 0.03; pointer-events: none; z-index: 0; }
.bodybox.uspage .bg::after { content: ''; position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 100%; height: 100%; background-image: url(../Images/uspage/bg.svg); background-size: auto 120%; background-position: left center; background-repeat: no-repeat; }

/* header */
header { display: block; position: relative; z-index: 9; font-size: 0; border-bottom: 0; background: transparent; margin-bottom: 0; height: auto; }
.bodybox.uspage header .group { display: block; width: 100%; text-align: center; background-image: url(../Images/uspage/header_bg.svg); background-size: cover; background-position: top center; background-repeat: no-repeat; position: relative; padding: 2rem 0 3.5rem; }
.bodybox.uspage header b.logo { width: 180px; height: 70px; background-image: url(../Images/uspage/logo_eng.png); background-size: contain; background-position: center; display: inline-block; vertical-align: middle; }

.bodybox.uspage header { margin-bottom: 6rem; border-bottom: 0; }
.bodybox.uspage .mainContent { flex: 1; position: relative; z-index: 1; }
.bodybox.uspage { min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow: hidden; }

/* footer */
footer { position: relative; z-index: 1; text-align: center; margin-top: 10rem; padding: 0; overflow: hidden; }
footer::before { content: ''; display: block; width: 3840px; height: 150px; background-image: url(../Images/uspage/footer_bg.svg); background-size: 3840px 225px; background-position: center top; background-repeat: no-repeat; position: relative; left: 50%; margin-left: -1920px; }
footer::after { display: none; }

.bodybox.uspage footer .footer-logo { display: block; width: 48px; height: 48px; background-image: url(../Images/uspage/logo_eng.png); background-size: contain; background-position: center; background-repeat: no-repeat; margin: 0 auto 1rem; filter: brightness(0) invert(1); position: absolute; top: 32%; left: 50%; transform: translateX(-50%); }
.bodybox.uspage footer .bottom { line-height: 1.5; font-size: var(--fsXS); font-weight: 400; text-align: center; color: #fff; position: absolute; bottom: 18%; width: 100%; left: 0; }
.bodybox.uspage footer .container { display: flex; justify-content: center; }

/* store list */
.bodybox.uspage .list { display: flex; align-items: center; justify-content: center; gap: 5rem;}
.bodybox.uspage .list .item { vertical-align: top; display: inline-block; padding: 0 3rem; width: calc(100%/3); max-width: 300px; text-align: center; position: relative; }
.bodybox.uspage .list .item.logo02 { max-width: 360px; }
.bodybox.uspage .list b.photo { display: inline-block; width: 100%; height: auto; aspect-ratio: 1 / 1; padding-top: 0; background-size: contain; background-repeat: no-repeat; background-position: center; transition: .3s; }
.bodybox.uspage .list b.photo:hover { transform: scale(1.1); }
.bodybox.uspage .list .item + .item::before { content: ""; position: absolute; left: -2.5rem; top: 50%; transform: translate(-50%, -50%); width: 1px; height: 5rem; background-color: var(--pri01); }

/* text */
.bodybox.uspage ul { font-size: var(--fsP); padding:1rem 2rem; text-align: center; color: #1b1b1b; position: relative; }
.bodybox.uspage ul li.title { font-size: var(--fsXL2); color: var(--pri01); font-weight: 700; margin-bottom: 3rem; }
.bodybox.uspage ul li.subtitle { font-size: var(--fsL); color: #000; font-weight: 500; margin-bottom: 1rem; }
.bodybox.uspage ul li.subtitle b { color: var(--pri01); font-weight: 500; }
.bodybox.uspage ul li.content { font-size: var(--fsP); color: #000; font-weight: 500; line-height: 1.5; }

/* contact-box */
.bodybox.uspage .contact-box { display: flex; align-items: center; justify-content: center; gap: 3rem; max-width: 500px; border-radius: 1rem; width: 100%; margin: 5rem auto 0; padding: 1.6rem 3rem; border: 1px solid var(--pri01); background-color: #fff; }
.bodybox.uspage .contact-box::before { content: ''; display: block; width: 50px; height: 50px; background-image: url(../Images/uspage/icon_envelope.svg); background-size: contain; background-position: center; background-repeat: no-repeat; flex-shrink: 0; }
.bodybox.uspage .contact-box .txt { text-align: left; font-size: var(--fsXS); line-height: 1.5; font-weight: 700; }
.bodybox.uspage .contact-box .txt p { margin: 0; padding: 0; font-weight: 700; }
.bodybox.uspage .contact-box .txt p:last-child{font-weight: 400;}
.bodybox.uspage .contact-box .txt a { color: var(--pri01); font-weight: 700;}
.bodybox.uspage .contact-box .txt a:hover { text-decoration: underline; }


@media screen and (max-width: 800px) {
    html, body{ font-size: 14px;}
    .pc{ display: none!important;}
    .mobile{ display: inline-block!important;}
	.container{ padding: 0 2rem;}
    
	/* uspage */
	footer{margin-top: 7rem;}
	footer::before{height: 207px;}

    .bodybox.uspage .bg { position: absolute; top: 50%; right: -10%; left: auto; transform: translateY(-50%); width: 85%; height: 100%; opacity: 0.03; }
    .bodybox.uspage .bg::after { position: absolute; top: 47%; left: 0; transform: translateY(-50%); width: 100%; height: 100%; background-size: auto 60%; }

    .bodybox.uspage header .group { padding: 1.5rem 0 2.5rem; }
    .bodybox.uspage header b.logo { width: 179px; }
    .bodybox.uspage header { margin-bottom: 1rem; }

    .bodybox.uspage ul { margin-bottom: 0;padding: 2rem; }
    .bodybox.uspage ul li.title { margin-bottom: 2rem; font-size: var(--fsL); }
    .bodybox.uspage ul li.subtitle { font-size: var(--fsP); }
	.bodybox.uspage ul li.content { font-size: var(--fsS);}
	.bodybox.uspage .container ul:last-of-type { padding: 0;}

    .bodybox.uspage .list { display: flex; flex-direction: column; margin: 2.5rem 0 2rem 0; gap: 0; }
	.bodybox.uspage .list b.photo { width: 100%; aspect-ratio: 4 / 2.5; background-size: cover; background-position: center; margin-bottom: 0; }
	.bodybox.uspage .list b.photo:hover { transform: none; }
	.bodybox.uspage .list .item { width: 60%; max-width: none; padding: 0; }
	.bodybox.uspage .list .item.logo02 { width: 100%; max-width: 500px;}
	.bodybox.uspage .list .item + .item::before { display: block; position: absolute; left: 50%; transform: translate(-50%, -50%); width: 5rem; height: 1px; background-color: var(--pri01); }
    .bodybox.uspage .list .item:nth-child(2)::before { top: 3rem; }
    .bodybox.uspage .list .item:nth-child(3)::before { top: -3rem; }

    .bodybox.uspage .contact-box { max-width: 100%; margin: 3rem auto 0; padding: 1.6rem 5rem; }
    .bodybox.uspage .contact-box::before { width: 70px; height: 70px; }

}