/* 羅雅印刷 網站樣式 */
*{box-sizing:border-box}
html,body{margin:0;background:#FFFFFF;color:#000000;font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif}
a{color:#1B1F23;text-decoration:none}
a:hover{color:#0E0E0E}

/* 頁首與選單 */
.site-header{padding:18px 3.2vw;display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;position:relative;z-index:60}
.brand{display:flex;align-items:center;gap:12px;font-weight:700;font-size:18px}
.brand img{height:44px;width:auto;display:block}
.site-nav{display:flex;flex-wrap:wrap;gap:36px;align-items:center;font-size:15px;letter-spacing:.2em}
.site-nav .boxed{border:1px solid #6B6B6B;padding:12px 18px}

/* 下拉選單 */
.dd{position:relative}
.dd>a{display:inline-flex;align-items:center;gap:8px;padding:14px 0}
.dd>a::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
.dd:hover>a::after,.dd:focus-within>a::after{transform:rotate(-135deg) translateY(-2px)}
.dd-m{position:absolute;left:-24px;top:100%;transform:translateY(6px);width:max-content;min-width:0;display:flex;flex-direction:column;background:#FFFFFF;border:1px solid #D4D4D4;padding:8px 0;box-shadow:0 10px 28px rgba(0,0,0,.08);opacity:0;visibility:hidden;transition:opacity .18s ease,transform .18s ease,visibility .18s;z-index:50}
.dd:hover .dd-m,.dd:focus-within .dd-m{opacity:1;visibility:visible;transform:translateY(0)}
.dd-m a{padding:11px 22px 11px 24px;white-space:nowrap;font-size:14px;letter-spacing:.12em}
.dd-m a:hover{background:#F2F2F2;color:#000000}

/* 首頁主視覺：影片（含標題與旋轉型錄）＋右側圖示 */
.hero{container-type:inline-size;width:100%;overflow:hidden}
.hero-inner{position:relative;width:100%;aspect-ratio:16/9;background:#FFFFFF}
.hero-inner video{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;display:block}
.dot{position:absolute;z-index:4;width:6.28cqw;height:6.28cqw;border-radius:50%;transition:transform .25s ease;outline:none}
.dot img{width:100%;height:100%;display:block}
.dot .tx{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:50%;background:#808080;color:#FFFFFF;display:flex;align-items:center;justify-content:center;text-align:center;padding:12%;font-weight:700;line-height:1.35;letter-spacing:.04em;font-size:clamp(10px,1cqw,19px);opacity:0;transition:opacity .2s ease}
.dot:hover,.dot:focus{transform:scale(1.2);z-index:7}
.dot:hover .tx,.dot:focus .tx{opacity:1}

/* 頁尾 */
.site-footer{background:#000000;color:#F7F6F2;height:141px;padding:0 32px;display:flex;align-items:center;justify-content:center;font-weight:300}
.site-footer .inner{width:100%;max-width:1200px;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;font-size:14px;line-height:1.7}
.site-footer .name{font-size:15px;letter-spacing:.12em}
.site-footer .row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 18px}
.site-footer .row i{width:1px;height:12px;background:rgba(255,255,255,.35)}
.site-footer a{color:#F7F6F2}

/* 內頁：印刷及裝訂 */
body.pb{background:#F5F5F5}
.page{max-width:1400px;margin:0 auto;padding:56px 3.2vw 96px}
.page h1{margin:0 0 28px;font-size:40px;font-weight:900;letter-spacing:.04em;line-height:1.2;display:flex;align-items:center;gap:14px}
.page h1 i{width:2px;height:1.1em;background:#000;display:block}
.rows{border-top:1px solid #9A9A9A}
.grp{display:grid;grid-template-columns:200px 1fr;gap:0 24px;padding:40px 0 44px;border-bottom:1px solid #9A9A9A;scroll-margin-top:16px}
.grp:last-child{border-bottom:0}
.grp h2{margin:0;font-size:20px;font-weight:400;letter-spacing:.06em;line-height:1.4}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 72px;max-width:960px}
.card{margin:0}
.ph{aspect-ratio:5/4;background:#333234}
.card figcaption{margin-top:16px;font-size:14px;letter-spacing:.06em;line-height:1.5}
@media (max-width:900px){.grp{grid-template-columns:1fr;gap:20px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px}.page h1{font-size:32px}}
@media (max-width:520px){.cards{grid-template-columns:1fr}}
.grp h2 i{display:inline-block;width:2px;height:1em;background:#000;vertical-align:-.12em;margin:0 12px}

/* 關於羅雅 */
.about{padding:0}
.a-hero{display:grid;grid-template-columns:minmax(0,1fr) 48%;min-height:min(82vh,860px);margin-top:8px}
.a-copy{padding:72px 4vw 72px max(3.2vw,calc((100vw - 1400px)/2 + 3.2vw));display:flex;flex-direction:column;justify-content:center;gap:0}
.a-eyebrow{display:flex;align-items:center;gap:20px;font-size:13px;letter-spacing:.3em;color:#6B6B6B;margin-bottom:auto}
.a-eyebrow i{width:54px;height:1px;background:#6B6B6B;display:block}
.a-copy h1{margin:120px 0 36px;font-size:clamp(44px,5.6vw,88px);font-weight:900;line-height:1.18;letter-spacing:.02em;border-bottom:3px solid #111;padding-bottom:12px;align-self:flex-start}
.a-copy p{margin:0;max-width:30em;font-size:17px;line-height:2.1;letter-spacing:.04em;color:#333}
.a-img{position:relative;min-height:420px}
.a-img .ph{position:absolute;inset:0;aspect-ratio:auto;border:0;background:#1d1d1f}
.a-tag{position:absolute;right:32px;bottom:24px;z-index:3;font-size:12px;letter-spacing:.3em;color:rgba(255,255,255,.6)}
.a-more{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:72px;max-width:1400px;margin:0 auto;padding:72px 3.2vw 96px;border-top:1px solid #9A9A9A}
.a-col h2{margin:0 0 20px;font-size:22px;font-weight:900;letter-spacing:.06em}
.a-col ul{margin:0;padding-left:1.2em;font-size:15px;line-height:1.9;letter-spacing:.04em}
.a-col li{margin-bottom:8px}
@media (max-width:900px){.a-hero{grid-template-columns:1fr;min-height:0}.a-img{order:-1;min-height:300px}.a-copy{padding:40px 3.2vw}.a-copy h1{margin:48px 0 24px}.a-more{grid-template-columns:1fr;gap:40px;padding:48px 3.2vw 72px}}

/* 聯絡我們 */
body.ct{background:#EEEEEE}
.ct-main{max-width:1400px;margin:0 auto;padding:72px 3.2vw 120px}
.ct-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:80px;align-items:start}
.ct-eyebrow{font-size:13px;letter-spacing:.3em;color:#6B6B6B;margin-bottom:28px}
.ct-left h1{margin:0 0 32px;font-size:clamp(44px,5vw,80px);font-weight:900;line-height:1.2;letter-spacing:.02em}
.ct-left p{margin:0 0 56px;max-width:22em;font-size:17px;line-height:2.1;letter-spacing:.04em;color:#333}
.ct-info{margin:0;border-top:1px solid #9A9A9A;padding-top:36px;display:grid;gap:22px}
.ct-info div{display:grid;grid-template-columns:110px 1fr;gap:12px;font-size:16px;line-height:1.7}
.ct-info dt{font-size:13px;letter-spacing:.2em;color:#555;font-weight:700;padding-top:3px}
.ct-info dd{margin:0}
.ct-form{display:grid;gap:40px}
.f2{display:grid;grid-template-columns:1fr 1fr;gap:40px 44px}
.fld{display:block}
.fld.half{max-width:50%}
.fld>span,.flabel{display:block;font-size:13px;letter-spacing:.2em;color:#555;font-weight:700;margin-bottom:10px}
.fld input,.fld select,.fld textarea{width:100%;font:inherit;font-size:20px;color:#111;background:transparent;border:0;border-bottom:1.5px solid #8A8A8A;border-radius:0;padding:10px 0 12px;outline:none;appearance:none;-webkit-appearance:none}
.fld select{background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23111' stroke-width='1.4'><path d='M1 1l5 5 5-5'/></svg>") right 4px center no-repeat}
.fld textarea{resize:vertical;min-height:130px;line-height:1.7}
.fld input::placeholder,.fld textarea::placeholder{color:#9A9A9A}
.fld input:focus,.fld select:focus,.fld textarea:focus{border-bottom-color:#000}
.chips{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.chip input{position:absolute;opacity:0;pointer-events:none}
.chip span{display:block;padding:15px 24px;border:1.5px solid #B5B5B5;font-size:17px;cursor:pointer;transition:background .15s,color .15s}
.chip:hover span{border-color:#111}
.chip input:checked+span{background:#111;color:#fff;border-color:#111}
.chip input:focus-visible+span{outline:2px solid #000;outline-offset:2px}
.send{justify-self:start;display:inline-flex;align-items:center;gap:16px;background:#111;color:#fff;border:0;padding:0 44px;height:76px;font:inherit;font-size:15px;font-weight:700;letter-spacing:.2em;cursor:pointer}
.send:hover{background:#000}
@media (max-width:900px){.ct-grid{grid-template-columns:1fr;gap:48px}.f2{grid-template-columns:1fr}.chips{grid-template-columns:1fr 1fr}.fld.half{max-width:none}.ct-main{padding:40px 3.2vw 80px}}
@media (max-width:520px){.chips{grid-template-columns:1fr}}
.fld input,.fld select{line-height:1.5;height:3.1em}
.specs{display:grid;grid-template-columns:1fr 1fr;gap:26px 64px}
.inl{display:flex;align-items:flex-end;gap:12px}
.inl>span{flex:0 0 7.2em;font-size:17px;letter-spacing:.12em;padding-bottom:10px;white-space:nowrap;text-align:justify;text-align-last:justify}
.inl input,.inl textarea{flex:1;min-width:0;font:inherit;font-size:18px;color:#111;background:transparent;border:0;border-bottom:1.5px solid #8A8A8A;border-radius:0;padding:8px 0;outline:none}
.inl input:focus,.inl textarea:focus{border-bottom-color:#000}
.inl.note{margin-top:8px}
.inl.note>span{flex:0 0 auto;text-align:left;text-align-last:auto}
.inl textarea{resize:vertical;min-height:90px;line-height:1.7}
@media (max-width:900px){.specs{grid-template-columns:1fr;gap:20px}}
.f-status{margin:0;min-height:1.6em;font-size:16px;letter-spacing:.04em;line-height:1.7}
.f-status.ok{color:#1f6b35}
.f-status.err{color:#a3261c}
.send:disabled{opacity:.5;cursor:default}
.ph img{width:100%;height:100%;object-fit:cover;display:block}

/* 關於羅雅：形象圖淡入輪播 */
.a-slides{overflow:hidden}
.a-slides img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;animation:aFade 21s infinite}
.a-slides .s1{animation-delay:-1.5s}
.a-slides .s2{animation-delay:5.5s}
.a-slides .s3{animation-delay:12.5s}
@keyframes aFade{0%{opacity:0}6%{opacity:1}33.3%{opacity:1}39.3%{opacity:0}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.a-slides img{animation:none}.a-slides .s1{opacity:1}}
.a-img::after{content:"";position:absolute;left:0;right:0;bottom:0;height:120px;background:linear-gradient(0deg,rgba(0,0,0,.45),rgba(0,0,0,0));z-index:2;pointer-events:none}
.a-tag{color:rgba(255,255,255,.85)}
.a-slides img{object-position:center}

/* 多語言 */
.lang .dd-m{left:auto;right:-24px}
.lang>a{gap:8px}
.lang>a svg{display:block;flex:none}
.lang .dd-m a[aria-current="true"]{font-weight:700}
html[data-l="ja"] body,html[data-l="ja"] input,html[data-l="ja"] textarea,html[data-l="ja"] button{font-family:"Noto Sans JP","Noto Sans TC","Hiragino Sans","Yu Gothic","Meiryo",sans-serif}
html[data-l="ko"] body,html[data-l="ko"] input,html[data-l="ko"] textarea,html[data-l="ko"] button{font-family:"Noto Sans KR","Noto Sans TC","Malgun Gothic","Apple SD Gothic Neo",sans-serif}
html.lat body,html.lat input,html.lat textarea,html.lat button{font-family:"Noto Sans","Noto Sans TC","Segoe UI",Arial,sans-serif}
/* 日、韓、拉丁語系：標題不要比中文大，字距收斂 */
html:not([data-l="zh"]) .a-copy h1,html:not([data-l="zh"]) .ct-left h1{font-size:clamp(30px,3.6vw,56px);letter-spacing:0;line-height:1.25}
html:not([data-l="zh"]) .page h1{letter-spacing:0}
html[data-l="ja"] .site-nav,html[data-l="ko"] .site-nav{letter-spacing:.08em;gap:30px}
html.lat .site-nav{letter-spacing:.02em;gap:26px;font-size:14px}
html.lat .dd-m a{letter-spacing:.01em}
html.lat .grp h2,html.lat .card figcaption,html.lat .a-col h2,html.lat .a-col ul,html.lat .a-copy p,html.lat .ct-left p,html.lat .f-status{letter-spacing:0}
html.lat .a-copy p,html.lat .ct-left p{font-size:16px;line-height:1.85}
html.lat .a-eyebrow,html.lat .ct-eyebrow,html.lat .fld>span,html.lat .flabel,html.lat .ct-info dt{letter-spacing:.08em}
html.lat .inl>span{flex:0 0 11.5em;white-space:normal;text-align:left;text-align-last:auto;letter-spacing:0;font-size:15px;line-height:1.35}
html[data-l="ja"] .inl>span,html[data-l="ko"] .inl>span{flex-basis:8.6em;letter-spacing:.04em;font-size:15px}
html:not([data-l="zh"]) .dot .tx{font-size:clamp(7px,.66cqw,12px);letter-spacing:0;padding:9%;line-height:1.25}
html.lat .send{letter-spacing:.04em}
html:not([data-l="zh"]) .ct-info dd{letter-spacing:0}
html.lat .brand span{letter-spacing:0}
/* 多語言：避免長文字撐破表單 */
.ct-grid>*{min-width:0}
.ct-form{min-width:0;grid-template-columns:minmax(0,1fr)}
.f2,.specs{grid-template-columns:repeat(2,minmax(0,1fr))}
.chips{grid-template-columns:repeat(3,minmax(0,1fr))}
.chip span{overflow-wrap:anywhere}
html:not([data-l="zh"]) .chip span{padding:14px 18px;font-size:16px;line-height:1.35}
html:not([data-l="zh"]) .inl.note>span{flex:0 0 auto}
html.lat .specs{gap:22px 40px}
@media (max-width:900px){.f2,.specs{grid-template-columns:minmax(0,1fr)}.chips{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.chips{grid-template-columns:minmax(0,1fr)}}
html:not([data-l="zh"]) .a-copy h1,html:not([data-l="zh"]) .ct-left h1{font-size:clamp(28px,3.2vw,50px)}
a.dot{cursor:pointer;color:inherit;text-decoration:none}
/* 首頁圖標：灰色圓放大一點，文字限制在圓內 */
.dot .tx{left:-7%;top:-7%;right:-7%;bottom:-7%;padding:15%;overflow-wrap:anywhere;hyphens:auto;word-break:normal}
html:not([data-l="zh"]) .dot .tx{padding:14%}
@media (max-width:800px){
  .dot .tx,html:not([data-l="zh"]) .dot .tx{left:50%;top:108%;right:auto;bottom:auto;transform:translateX(-50%);width:max-content;max-width:150px;border-radius:6px;padding:5px 9px;font-size:11px;line-height:1.3;letter-spacing:0;overflow-wrap:normal;z-index:9}
  .dot:hover,.dot:focus{transform:scale(1.08)}
}
