:root {
    --green: #087d6a;
    --teal: #26a28a;
    --orange: #f49b00;
    --ink: #333;
    --border: #ddd;
    --gutter: clamp(.75rem, 2.5vw, 2rem);
    --footer-height: 3.125rem;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: var(--ink);
    background: #f4f4f4;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, h5, p, dl, dd, ul { margin: 0; }
body { font-size: .875rem; line-height: 1.45; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #00594b; outline-offset: 3px; }

@font-face {
    font-family: Icomoon;
    src: url("../mobile/fonts/icomoon.ttf") format("truetype");
    font-display: block;
}
.icon-details, .icon-left { font: normal 1.2rem/1 Icomoon; }
.icon-details::before { content: "\e604"; }
.icon-left::before { content: "\e605"; }
.clear, .qun { display: none; }

.page-shell {
    display: flex;
    flex-direction: column;
    max-inline-size: 72rem;
    min-block-size: 100vh;
    margin-inline: auto;
    padding-block-end: calc(var(--footer-height) + env(safe-area-inset-bottom));
    background: #fff;
}

.site-header {
    display: grid;
    grid-template-columns: min(20vw, 8.4rem) minmax(0, 1fr);
    align-items: center;
    gap: 3%;
    padding: clamp(.625rem, 3vw, 1.25rem) clamp(.5rem, 2vw, 1.75rem);
}
.site-header a, .site-header img { display: block; }
.site-header .wenzi { padding-inline-start: .6em; border-inline-start: 1px solid #d4d4d4; }
.site-header h2 { color: #000; font-size: 1em; line-height: 1.25; }
.site-header h2 b { color: #de860a; }
.site-header p { color: #000; font-size: .875em; }

.site-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: var(--green) url("../mobile/img/nav_bg.png") repeat;
}
.site-nav a {
    display: grid;
    place-items: center;
    padding: .75em .2em;
    min-block-size: 3rem;
    border: solid #149c81;
    border-width: 1px 1px 0 0;
    color: #fff;
    text-align: center;
    font-size: 1.2em;
    line-height: 1.25;
}
.site-nav a:is(:hover, :focus-visible) { background: #056e5c; }
.site-nav a:focus-visible, .quick-links a:focus-visible { outline-offset: -3px; }

.CategoryList_Title {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
    align-items: center;
    gap: .25rem;
    min-block-size: 3rem;
    padding-inline: .4rem;
    border-block-end: 1px solid #b0b4bb;
    background: linear-gradient(#f2f2f2, #e0e0e0);
    text-align: center;
    font-size: 1.125em;
}
.category-title { font: inherit; }
.CategoryList_Title > a, .CategoryList_Title button {
    display: grid;
    place-items: center;
    min-block-size: 2.75rem;
    border: 0;
    background: transparent;
    color: inherit;
}
.category-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(85vw, 22rem);
    max-width: none;
    height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: #ebebeb;
    color: var(--ink);
}
.category-drawer::backdrop { background: rgb(0 0 0 / .45); }
.drawer-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem 1rem;
    background: var(--green);
    color: white;
    font-size: 1.1em;
}
.drawer-title button {
    min-block-size: 2.75rem;
    padding-inline: .75em;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
}
.category-drawer li a {
    display: block;
    border-block-end: 1px solid #d6d6d6;
    padding: .85em 1.2rem;
}
.category-drawer li a:hover { background: #fff; }
html:has(.category-drawer[open]) { overflow: hidden; }

/* The slide track also works with native touch scrolling and keyboard keys. */
.carousel { position: relative; min-inline-size: 0; }
.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.carousel-track > * {
    flex: 0 0 100%;
    min-inline-size: 0;
    scroll-snap-align: start;
}
.carousel-controls button {
    min-inline-size: 2.5rem;
    min-block-size: 2.5rem;
    border: 0;
    border-radius: 3px;
    background: rgb(30 30 30 / .75);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
}
.carousel-controls button:hover { background: var(--green); }
.carousel-controls > button {
    position: absolute;
    inset-block-start: 50%;
    translate: 0 -50%;
}
[data-slide-step="-1"] { inset-inline-start: .5rem; }
[data-slide-step="1"] { inset-inline-end: .5rem; }
.carousel-indicator {
    display: block;
    block-size: .25rem;
    background: #c9c9c9;
}
.carousel-indicator > span {
    display: block;
    width: calc(100% / var(--slide-count));
    height: 100%;
    background: var(--orange);
    translate: calc(var(--current-slide, 0) * 100%) 0;
}
.banner .carousel-track img {
    display: block;
    width: 100%;
    aspect-ratio: 320 / 119;
    object-fit: cover;
}
@media (hover: none) {
    .banner .carousel-controls > button { opacity: 0; }
    .banner .carousel-controls > button:focus-visible { opacity: 1; }
}

.gg_title { padding-block: 1.2rem .9rem; text-align: center; }
.gg_title h4, .news > h4 { color: #666; font-size: .75em; font-weight: 400; }
.gg_title h3, .news > h3 { color: #000; font-size: 1.3em; }
.gg_title h3::after, .news > h3::after {
    display: block;
    width: 2.4rem;
    height: 2px;
    margin: .9rem auto 0;
    background: var(--orange);
    content: "";
}
.home-feature { background: #f6f6f6; }
.home-feature.th { background: #f3f3f4; }
.home-feature .feature-image { padding: var(--gutter); }
.home-feature .feature-image img { display: block; margin-inline: auto; }
.MIM .feature-image img { width: min(100%, 31rem); }
.home-feature > .bd { min-width: 0; padding-block: .5rem 1.5rem; }
.feature-slide dl {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    align-items: center;
    gap: .75rem;
    width: min(85%, 35rem);
    margin-inline: auto;
    padding: 1rem;
    background: white;
}
.feature-slide h5 { font-size: 1em; }
.feature-slide p { margin-block-start: .3em; font-size: .875em; }
.feature-slide p span { color: #a55700; }
.cpzs { background: var(--teal); color: white; }
.cpzs .gg_title h3, .cpzs .gg_title h4 { color: inherit; }
.cpBox ul, .productLayout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(.75rem, 2vw, 1.5rem);
    padding: var(--gutter);
    text-align: center;
}
.cpBox img, .productLayout img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}
.cpBox p, .productLayout h5 { margin-block-start: .5rem; font-size: .875em; }
.ckgd { padding-block: .5rem 1.75rem; text-align: center; }
.ckgd a { display: inline-block; padding: .6em 1.25em; border: 1px solid currentColor; }
.youshi { padding-block: 1.5rem; background: #2d2d2d; color: white; }
.youshi h3 { margin: 0 var(--gutter) 1.15rem; font-size: 1.5em; text-align: center; }
.youshi h3 b { color: var(--orange); }
.youshi > .bd { width: min(90%, 37rem); margin-inline: auto; }
.youshiBox img {
    display: block;
    width: 100%;
    aspect-ratio: 320 / 338;
    object-fit: contain;
    background: #fff;
}
.news { padding: 1.4rem var(--gutter); }
.news > h3, .news > h4 { text-align: center; }
.newsBox { padding-block-start: 1.1rem; }
.newsBox > a img { display: block; width: 100%; border: 1px solid #e3e3e3; }
.newsBox li, .newsList li {
    padding: .6em .25em .6em 1em;
    border-block-end: 1px dashed #ddd;
    background: url("../mobile/img/news_li.png") no-repeat left .95em;
}

main { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.page-heading {
    padding: .65em var(--gutter);
    border-block-end: 1px solid #e0e1e1;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    line-height: 1.25;
    text-align: center;
}
.productLayout { border-block-end: 1px solid var(--border); }
.productLayout dl { min-width: 0; }
.productLayout a { display: block; }
.productLayout > .pagingNav { grid-column: 1 / -1; margin: 0; }
.productLayout .pagingNav .uls { justify-content: center; }
.productLayout a:hover h5, .m-con-2 a:hover h3, .news a:hover, .newsList a:hover { text-decoration: underline; }
.m-con-2 { padding: .25rem var(--gutter) 1rem; }
.m-con-2 .s-babg, .m-con-2 .prolistbgfa { display: block; }
.m-con-2 dl { padding: .9rem .1rem; border-block-end: 1px solid #e6e6e6; }
.m-con-2 h3 { color: #a75a00; font-size: 1.125em; }
.m-con-2 p { margin-block-start: .3em; color: #555; }
.m-con-2 dt { color: #a75a00; font-weight: 700; }
.m-con-2 dd { margin-block-start: .3em; color: #555; }
.article-list { padding: .4rem var(--gutter); }
.article-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .25rem .75rem;
    padding-block: .7rem;
    border-block-end: 1px solid #e6e6e6;
}
.article-list .last { color: #666; font-size: .875em; white-space: nowrap; }
.article-list a:hover { text-decoration: underline; }
.pagingNav { margin: 1.25rem var(--gutter); }
.pagingNav .uls { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; }
.pagingNav :is(a, [aria-current]) {
    display: grid;
    place-items: center;
    min-width: 2rem;
    min-height: 2rem;
    padding: .2em .55em;
    border: 1px solid #ccc;
}
.pagingNav :is(a:hover, [aria-current]) { border-color: var(--green); background: var(--green); color: white; }

.ProductScroll_img { padding: 1rem var(--gutter); }
.product-gallery { width: min(100%, 18rem); min-width: 0; margin-inline: auto; }
.product-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    padding: 2px;
    border: 1px solid var(--border);
    object-fit: contain;
}
.product-overview p { margin-block: .8rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.product-actions a {
    padding: .55em .8em;
    border: 1px solid var(--green);
    border-radius: 3px;
    color: #056e5c;
}
.product-actions a:hover { background: #e8f5f2; }
.TabBarBox, .ProductTitle {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem;
    padding: .65em var(--gutter);
    border-block: 1px solid #d1d1d1;
    background: #f0f0f0;
}
.TabBarBox a { padding-block-start: .6em; border-block-start: 2px solid var(--orange); }
.cont_t {
    padding: 1rem var(--gutter);
    border-block-end: 1px solid #eee;
}
.cont_t h1 { color: #a55700; font-size: clamp(1.25rem, 2vw, 1.75rem); }
.cont_t p { margin-block-start: .4rem; color: #666; font-size: .875em; }

:is(.cont_c, .DetailedSpan) {
    padding: 1.25rem var(--gutter) 1.75rem;
    font-size: clamp(.9375rem, .9rem + .15vw, 1.0625rem);
    line-height: 1.75;
}
:is(.cont_c, .DetailedSpan) > * + * { margin-block-start: .85em; }
:is(.cont_c, .DetailedSpan) :is(h2, h3, h4) {
    color: #056e5c;
    font-size: 1.15em;
    line-height: 1.4;
}
:is(.cont_c, .DetailedSpan) img {
    display: block;
    max-inline-size: 100%;
    height: auto;
    margin-inline: auto;
}
:is(.cont_c, .DetailedSpan) pre {
    max-inline-size: 100%;
    margin: .75em 0;
    padding: .85rem;
    border: 1px solid var(--border);
    background: #f6f8f7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font: inherit;
}
.cont_c a, .DetailedSpan a { color: #056e5c; text-decoration: underline; text-underline-offset: .15em; }
.cont_c a[href$=".pdf" i] {
    display: inline-block;
    max-inline-size: 100%;
    padding: .4em .8em;
    border: 1px solid var(--green);
    border-radius: 3px;
    background: #f0f8f6;
    font-weight: 600;
}
.cont_c iframe { display: block; width: min(100%, 48rem); height: auto; aspect-ratio: 16 / 9; margin-inline: auto; border: 0; }
.table-scroll {
    max-inline-size: 100%;
    margin-block: .9em;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}
.table-scroll > table {
    inline-size: 100%;
    min-inline-size: var(--table-min-width, 0);
    border-collapse: collapse;
    font-size: .9375rem;
    line-height: 1.5;
    overflow-wrap: normal;
    font-variant-numeric: tabular-nums;
}
.table-scroll :is(th, td) {
    padding: .5em .65em;
    border: 1px solid #cddad7;
    vertical-align: middle;
    overflow-wrap: break-word;
}
.table-scroll th { background: #e7f3ef; font-weight: 600; }
.table-scroll tbody tr:nth-child(even) td { background-color: #f4f8f7; }
.table-scroll .table-value { white-space: nowrap; }
.job-list { display: grid; gap: 1rem; }
.job-card {
    border: 1px solid #cddad7;
    border-radius: 6px;
    padding: clamp(.9rem, 2.2vw, 1.4rem);
}
.job-card h2 {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .35rem 1rem;
    padding-block-end: .6em;
    border-block-end: 1px solid #cddad7;
}
.job-card h2 span { color: var(--ink); font-size: .82em; font-weight: 400; }
.job-facts, .contact-facts { display: grid; gap: .4rem 1.25rem; margin-block: .9rem; }
:is(.job-facts, .contact-facts) > div {
    display: grid;
    grid-template-columns: minmax(5em, max-content) minmax(0, 1fr);
    gap: .3rem .75rem;
}
:is(.job-facts, .contact-facts) dt { font-weight: 600; }
.job-conditions { border-block-start: 1px solid #cddad7; padding-block-start: .75rem; }
.job-conditions h3 { margin-block-end: .35em; font-size: 1em; }
.contact-details { display: grid; gap: 1.25rem; align-items: start; }
.contact-details figure { margin: 0; }
.contact-details figcaption { margin-block-start: .5em; text-align: center; font-size: .9em; }
.contact-details .contact-qr img { inline-size: min(100%, 14rem); }
.cont_c img.service-qr { inline-size: min(100%, 14rem); }
.contact-details .contact-map { grid-column: 1 / -1; }
.contact-details .contact-map img { inline-size: min(100%, 37.5rem); }
.newsList { margin: .5rem var(--gutter) 1rem; }
.SimilarBox { width: min(92%, 42rem); margin: 1rem auto; }
.aboutus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 0 3.25rem; }
.product-item { min-width: 0; text-align: center; }
.product-item img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.product-item h5 { margin: .4rem 0; font-size: .875em; }

.top {
    position: fixed;
    z-index: 2;
    bottom: calc(var(--footer-height) + env(safe-area-inset-bottom) + 1.25rem);
    left: 50%;
    width: 4.9rem;
    translate: -50% 0;
}
.top img { display: block; width: 100%; }
main:not(:has(.home-feature)) + .top {
    position: static;
    align-self: flex-end;
    width: 3.75rem;
    margin: .5rem var(--gutter);
    translate: none;
}
.site-footer { margin-top: auto; }
.quick-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: fixed;
    z-index: 3;
    inset: auto 0 0;
    min-height: var(--footer-height);
    padding-block-end: env(safe-area-inset-bottom);
    background: var(--orange);
    color: white;
}
.quick-links a {
    display: grid;
    justify-items: center;
    align-content: center;
    padding: .4rem .15rem;
    border-inline-end: 1px solid rgb(255 255 255 / .4);
    line-height: 1.2;
}
.quick-links img { display: block; width: 20px; height: 18px; object-fit: contain; }
.site-record {
    padding: .75rem var(--gutter);
    border-block-start: 1px solid var(--border);
    color: #555;
    text-align: center;
    font-size: .8em;
    overflow-wrap: anywhere;
}
.site-record a { text-decoration: underline; }
.site-record a + a { margin-inline-start: 1.1em; }
.site-sections { padding: .75rem var(--gutter); border-block-start: 1px solid var(--border); }
.site-sections summary { cursor: pointer; }
.site-sections > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
    gap: .75rem 1rem;
    padding-block-start: .75rem;
}
.site-sections dt { font-weight: 700; }
.site-sections dd a { display: block; font-size: .875em; }
.site-sections a:hover { text-decoration: underline; }
.sitemap-list { padding: var(--gutter); }
.sitemap-list .sp-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; }
.sitemap-list .linkbox > h3 { margin-block: 1.1em .4em; }
.sitemap-list ul { margin-inline-start: 1.25em; list-style: disc; }
.sitemap-list li { padding-block: .25em; }
.sitemap-list a { color: #056e5c; text-decoration: underline; }

@media (max-width: 374px) {
    body { font-size: .75rem; }
    .site-nav a { min-block-size: 2.65rem; }
}

@media (min-width: 48rem) {
    body { font-size: 1rem; }
    .page-shell { padding-block-end: 0; }
    .site-header h2 { font-size: 1.35rem; }
    .site-nav { grid-template-columns: repeat(8, minmax(0, 1fr)); }
    .site-nav a { min-block-size: 3.25rem; font-size: .95em; }
    .productLayout, .cpBox ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .article-list li { grid-template-columns: minmax(0, 1fr) auto; }
    .home-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
    .home-feature .gg_title { grid-column: 1 / -1; }
    .home-feature .feature-image img { max-block-size: 23rem; object-fit: contain; }
    .newsBox { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; align-items: start; }
    .ProductScroll_img.has-gallery {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(1rem, 3vw, 3rem);
        align-items: center;
    }
    .product-gallery { width: min(100%, 25rem); }
    .cont_c, .DetailedSpan { max-width: 64rem; margin-inline: auto; }
    .job-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-details { grid-template-columns: minmax(0, 1fr) minmax(0, 16rem); }
    .quick-links { position: static; padding-block-end: 0; }
    .top { bottom: 1.25rem; left: auto; right: 1.25rem; translate: none; }
}
