:root {
    --ink: #111827;
    --muted: #647083;
    --line: #e5e7eb;
    --soft: #f7f8fb;
    --card: #fff;
    --blue: #0b63ce;
    --blue2: #003f8f;
    --cyan: #4cc9f0;
    --navy: #07162f;
    --gold: #e2b84b;
    --purple: #7c3aed;
    --shadow: 0 22px 70px rgba(15, 23, 42, .12);
    --radius: 26px;
    --max: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.85;
    background: #fff
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: saturate(180%) blur(18px);
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(229, 231, 235, .85)
}

.header-inner {
    max-width: var(--max);
    margin: auto;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px
}

.brand {
    font-weight: 850;
    letter-spacing: .04em
}

.nav {
    display: flex;
    gap: 20px;
    font-size: 13px;
    font-weight: 750;
    color: #243044
}

.nav a {
    opacity: .82
}

.nav a:hover {
    opacity: 1;
    color: var(--blue)
}

.contact-btn {
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    box-shadow: 0 10px 28px rgba(17, 24, 39, .18)
}

.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 20% 20%, rgba(76, 201, 240, .18), transparent 32%), radial-gradient(circle at 76% 24%, rgba(11, 99, 206, .25), transparent 34%), linear-gradient(135deg, #061126 0%, #0b1d3b 48%, #0e172a 100%)
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(120deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: .2;
    transform: skewY(-6deg) scale(1.2)
}

.hero:after {
    content: "";
    position: absolute;
    inset: auto -20% -35% -20%;
    height: 55%;
    background: radial-gradient(ellipse at center, rgba(76, 201, 240, .20), transparent 62%)
}

.hero.wg {
    background: radial-gradient(circle at 20% 20%, rgba(226, 184, 75, .18), transparent 32%), linear-gradient(135deg, #090d13 0%, #0d1a25 45%, #15150e 100%)
}

.hero.pg {
    background: radial-gradient(circle at 80% 22%, rgba(59, 130, 246, .24), transparent 34%), linear-gradient(135deg, #061126 0%, #071a36 48%, #0b172e 100%)
}

.hero.wm {
    background: radial-gradient(circle at 80% 22%, rgba(124, 58, 237, .26), transparent 34%), linear-gradient(135deg, #0a0714 0%, #120d2a 48%, #070812 100%)
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--max);
    margin: auto;
    padding: 90px 22px 76px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center
}

.sub-hero .hero-inner {
    grid-template-columns: 1.05fr .95fr
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .12em;
    color: #bfe9ff;
    text-transform: uppercase
}

.eyebrow:before {
    content: "";
    width: 34px;
    height: 1px;
    background: #bfe9ff
}

h1 {
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.12;
    margin: 18px 0 22px;
    letter-spacing: .02em
}

.hero-lead {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, .84);
    max-width: 720px
}

.hero-actions,
.anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 20px;
    font-weight: 850;
    font-size: 14px;
    border: 1px solid transparent
}

.btn.primary {
    background: #fff;
    color: #08142b
}

.btn.ghost {
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
    background: rgba(255, 255, 255, .08)
}

.anchor-nav a {
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: rgba(255, 255, 255, .08)
}

.hero-panel {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .24)
}

.hero-machine {
    position: relative;
    min-height: 330px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03))
}

.hero-machine-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 22px
}

.image-note {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 14px 16px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .52));
    font-size: 12px;
    color: rgba(255, 255, 255, .86)
}

.hero-mini-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 26px
}

.hero-mini-specs div {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
    border-radius: 16px
}

.hero-mini-specs small {
    display: block;
    color: rgba(255, 255, 255, .65);
    font-size: 11px;
    font-weight: 800
}

.hero-mini-specs strong {
    display: block;
    font-size: 20px;
    line-height: 1.3
}

.breadcrumb {
    font-size: 13px;
    color: rgba(255, 255, 255, .72);
    margin-bottom: 12px
}

.section {
    padding: 76px 22px
}

.section.alt {
    background: var(--soft)
}

.container {
    max-width: var(--max);
    margin: auto
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: end;
    margin-bottom: 30px
}

.section-title {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.28;
    margin: 0;
    letter-spacing: .02em
}

.section-copy {
    margin: 0;
    color: var(--muted);
    max-width: 640px
}

.intro-grid,
.spec-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.intro-card,
.machine-card,
.support-card,
.spec-card,
.feature-card,
.light-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 14px 44px rgba(15, 23, 42, .06)
}

.intro-card,
.spec-card {
    padding: 25px
}

.intro-card h3,
.spec-card h3 {
    margin: 0 0 10px;
    font-size: 18px
}

.intro-card p,
.spec-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

.machine-stack {
    display: grid;
    gap: 26px
}

.machine-card {
    overflow: hidden
}

.machine-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 0;
    min-height: 420px
}

.machine-visual {
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    position: relative;
    overflow: hidden
}

.machine-visual:before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(11, 99, 206, .08);
    filter: blur(8px)
}

.machine-visual img {
    position: relative;
    max-height: 330px;
    width: 100%;
    object-fit: contain
}

.machine-body {
    padding: 34px
}

.machine-kicker {
    font-size: 13px;
    color: var(--blue);
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase
}

.machine-body h2 {
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.22;
    margin: 8px 0 14px
}

.machine-body p {
    color: var(--muted);
    margin: 0 0 20px
}

.chips,
.works-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 18px 0 22px
}

.chip,
.works-tags span {
    font-size: 12px;
    font-weight: 850;
    color: #0b3b7a;
    background: #eef6ff;
    border: 1px solid #d7eaff;
    border-radius: 999px;
    padding: 7px 11px
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px
}

.spec {
    background: #f8fafc;
    border: 1px solid #edf1f6;
    border-radius: 16px;
    padding: 13px
}

.spec small {
    display: block;
    color: #707988;
    font-size: 11px;
    font-weight: 850
}

.spec strong {
    font-size: 18px
}

.spec span {
    font-size: 12px;
    color: #5f6673
}

.note-box {
    margin-top: 22px;
    padding: 15px 16px;
    border-left: 4px solid var(--blue);
    background: #f6f9ff;
    border-radius: 14px;
    color: #4b5563;
    font-size: 14px
}

.detail-link {
    display: inline-flex;
    margin-top: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #0b63ce;
    color: white;
    font-weight: 850;
    font-size: 13px
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.kpi {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 14px 44px rgba(15, 23, 42, .06)
}

.kpi small {
    display: block;
    color: var(--blue);
    font-weight: 900;
    letter-spacing: .09em;
    margin-bottom: 8px
}

.kpi strong {
    display: block;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15
}

.kpi span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 6px
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.feature-card {
    padding: 24px
}

.feature-card .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #eef6ff;
    color: var(--blue);
    font-weight: 900;
    margin-bottom: 14px
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 18px
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

.split-panel,
.support-grid,
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: stretch
}

.dark-card {
    background: linear-gradient(135deg, #07162f, #0b3b7a);
    color: #fff;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow)
}

.dark-card h2 {
    margin: 0 0 14px;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.25
}

.dark-card p {
    color: rgba(255, 255, 255, .78);
    margin: 0
}

.light-card {
    padding: 32px
}

.light-card h2,
.light-card h3 {
    margin-top: 0
}

.check-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    gap: 12px
}

.check-list li {
    position: relative;
    padding-left: 30px;
    color: rgba(255, 255, 255, .86)
}

.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #bfe9ff;
    font-weight: 900
}

.process-steps {
    counter-reset: proc;
    display: grid;
    gap: 12px;
    margin-top: 16px
}

.process-steps div {
    counter-increment: proc;
    padding: 15px 16px 15px 58px;
    position: relative;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #edf1f6;
    color: #374151
}

.process-steps div:before {
    content: counter(proc, decimal-leading-zero);
    position: absolute;
    left: 16px;
    top: 15px;
    font-weight: 900;
    color: var(--blue)
}

.table-wrap {
    overflow: auto;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: #fff
}

.detail-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff
}

.detail-table th,
.detail-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top
}

.detail-table tr:last-child th,
.detail-table tr:last-child td {
    border-bottom: none
}

.detail-table th {
    width: 30%;
    background: #f8fafc;
    color: #374151
}

.detail-table.wide {
    min-width: 760px
}

.two-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.mini-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    background: #fff
}

.mini-table th,
.mini-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    font-size: 14px
}

.mini-table tr:last-child th,
.mini-table tr:last-child td {
    border-bottom: none
}

.mini-table th {
    background: #f8fafc;
    color: #374151;
    width: 43%
}

.notice-list {
    display: grid;
    gap: 12px
}

.notice-list div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    color: #4b5563
}

.notice-list strong {
    display: block;
    color: #111827;
    margin-bottom: 4px
}

.comparison-highlight {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px
}

.comparison-highlight div {
    border: 1px solid #d7eaff;
    background: #f6f9ff;
    border-radius: 16px;
    padding: 14px
}

.comparison-highlight strong {
    display: block;
    color: #0b3b7a
}

.comparison-highlight span {
    font-size: 13px;
    color: #5f6673
}

.flow {
    counter-reset: step;
    display: grid;
    gap: 12px;
    margin-top: 18px
}

.flow div {
    counter-increment: step;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #edf1f6;
    border-radius: 16px;
    padding: 14px
}

.flow div:before {
    content: counter(step);
    flex: 0 0 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    font-weight: 900
}

.cta {
    background: linear-gradient(135deg, #07162f, #0b3b7a);
    color: #fff;
    border-radius: 34px;
    padding: 42px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
    box-shadow: var(--shadow)
}

.cta h2 {
    font-size: clamp(26px, 3vw, 40px);
    margin: 0 0 10px
}

.cta p {
    margin: 0;
    color: rgba(255, 255, 255, .78)
}

.contact-strip {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    margin-top: 20px
}

.contact-strip div {
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 16px;
    padding: 14px;
    background: rgba(255, 255, 255, .08)
}

.contact-strip small {
    display: block;
    color: rgba(255, 255, 255, .65);
    font-weight: 800
}

.disclaimer {
    font-size: 13px;
    color: #6b7280;
    margin-top: 14px
}

footer {
    padding: 34px 22px;
    color: #6b7280;
    font-size: 12px;
    border-top: 1px solid var(--line);
    background: #fff
}

.footer-inner {
    max-width: var(--max);
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap
}

@media(max-width:900px) {
    .nav {
        display: none
    }

    .hero-inner,
    .sub-hero .hero-inner,
    .machine-layout,
    .support-grid,
    .cta,
    .two-col,
    .split-panel,
    .two-tables {
        grid-template-columns: 1fr
    }

    .hero-inner {
        padding-top: 70px
    }

    .hero-panel {
        order: -1
    }

    .section-head {
        display: block
    }

    .intro-grid,
    .spec-cards,
    .spec-grid,
    .kpi-grid,
    .feature-grid,
    .contact-strip,
    .comparison-highlight {
        grid-template-columns: 1fr
    }

    .machine-body {
        padding: 26px
    }

    .cta {
        padding: 30px
    }

    .detail-table th,
    .detail-table td {
        display: block;
        width: 100%
    }

    .hero-mini-specs {
        grid-template-columns: 1fr
    }

    .hero-machine-img {
        padding: 16px
    }

    .section {
        padding: 58px 18px
    }
}

/* HUAWIN individual hero background overrides
   画像配置先:
   - ../img/huawin/pg_blueline-mg.webp
   - ../img/huawin/wg_yellowline-mg.webp
   - ../img/huawin/wm_purpleline-mg.webp
*/

/* PG250/PG400 hero background */
.hero.pg-hero {
    background:
        linear-gradient(
            90deg,
            rgba(5, 15, 35, .92) 0%,
            rgba(5, 15, 35, .74) 38%,
            rgba(5, 15, 35, .34) 68%,
            rgba(5, 15, 35, .18) 100%
        ),
        url("../img/huawin/pg_blueline-mg.webp") center center / cover no-repeat;
}

/* WG2000 hero background */
.hero.wg-hero {
    background:
        linear-gradient(
            90deg,
            rgba(8, 10, 14, .92) 0%,
            rgba(8, 10, 14, .74) 38%,
            rgba(8, 10, 14, .36) 68%,
            rgba(8, 10, 14, .18) 100%
        ),
        url("../img/huawin/wg_yellowline-mg.webp") center center / cover no-repeat;
}

/* WM1560 hero background */
.hero.wm-hero {
    background:
        linear-gradient(
            90deg,
            rgba(13, 8, 24, .92) 0%,
            rgba(18, 13, 42, .74) 38%,
            rgba(50, 24, 88, .36) 68%,
            rgba(50, 24, 88, .18) 100%
        ),
        url("../img/huawin/wm_purpleline-mg.webp") center center / cover no-repeat;
}

/* Disable generic decorative overlays so the photo background is clear */
.hero.pg-hero::before,
.hero.pg-hero::after,
.hero.wg-hero::before,
.hero.wg-hero::after,
.hero.wm-hero::before,
.hero.wm-hero::after {
    opacity: 0;
}

/* Mobile background tuning */
@media (max-width: 760px) {
    .hero.pg-hero {
        background:
            linear-gradient(
                180deg,
                rgba(5, 15, 35, .94) 0%,
                rgba(5, 15, 35, .80) 48%,
                rgba(5, 15, 35, .58) 100%
            ),
            url("../img/huawin/pg_blueline-mg.webp") center center / cover no-repeat;
    }

    .hero.wg-hero {
        background:
            linear-gradient(
                180deg,
                rgba(8, 10, 14, .94) 0%,
                rgba(8, 10, 14, .80) 48%,
                rgba(8, 10, 14, .60) 100%
            ),
            url("../img/huawin/wg_yellowline-mg.webp") center center / cover no-repeat;
    }

    .hero.wm-hero {
        background:
            linear-gradient(
                180deg,
                rgba(13, 8, 24, .94) 0%,
                rgba(18, 13, 42, .82) 48%,
                rgba(50, 24, 88, .62) 100%
            ),
            url("../img/huawin/wm_purpleline-mg.webp") center center / cover no-repeat;
    }
}

/* Product sample gallery */
.sample-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.sample-gallery figure {
    margin: 0;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

.sample-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: 14px;
    background: linear-gradient(180deg, #ffffff, #f4f7fb);
}

.sample-gallery figcaption {
    padding: 10px 14px 12px;
    font-size: 13px;
    font-weight: 850;
    color: #374151;
    border-top: 1px solid var(--line);
    background: #fff;
}

@media (max-width: 760px) {
    .sample-gallery {
        grid-template-columns: 1fr;
    }
}

/* Index top hero background - fixed */
.hero.top-hero {
    background:
        linear-gradient(
            90deg,
            rgba(5, 8, 14, .90) 0%,
            rgba(7, 10, 18, .76) 34%,
            rgba(7, 10, 18, .30) 68%,
            rgba(7, 10, 18, .10) 100%
        ),
        url("../img/huawin/web-top_huawin.webp") center center / cover no-repeat;
}

/* Hide generic hero decorative overlays on the top page */
.hero.top-hero::before,
.hero.top-hero::after {
    opacity: 0;
}

.hero.top-hero .hero-inner {
    min-height: 660px;
}

.hero.top-hero .hero-inner > div:first-child {
    max-width: 700px;
}

.hero.top-hero h1,
.hero.top-hero .hero-lead {
    text-shadow: 0 2px 18px rgba(0, 0, 0, .46);
}

@media (max-width: 760px) {
    .hero.top-hero {
        background:
            linear-gradient(
                180deg,
                rgba(5, 8, 14, .94) 0%,
                rgba(7, 10, 18, .82) 48%,
                rgba(7, 10, 18, .62) 100%
            ),
            url("../img/huawin/web-top_huawin.webp") center center / cover no-repeat;
    }

    .hero.top-hero .hero-inner {
        min-height: 560px;
    }
}

/* HUAWIN about section */
.huawin-about {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(11, 99, 206, .10), transparent 34%),
        radial-gradient(circle at 88% 12%, rgba(76, 201, 240, .10), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.huawin-about .container {
    position: relative;
    z-index: 1;
}

.about-huawin-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 26px;
    align-items: stretch;
}

.about-huawin-main,
.about-huawin-side {
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 56px rgba(15, 23, 42, .08);
    backdrop-filter: blur(10px);
}

.about-huawin-main {
    padding: 38px;
}

.about-huawin-side {
    padding: 22px;
    display: grid;
    gap: 14px;
    align-content: stretch;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    color: var(--blue);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-kicker::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--blue);
    border-radius: 999px;
}

.about-huawin-main h2 {
    margin: 0 0 18px;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.25;
    letter-spacing: .02em;
    color: var(--ink);
}

.about-huawin-main p {
    margin: 0;
    color: #4b5563;
    line-height: 2;
}

.about-huawin-main p + p {
    margin-top: 14px;
}

.about-point {
    padding: 18px;
    border: 1px solid #d7eaff;
    background:
        linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    border-radius: 20px;
}

.about-point small {
    display: block;
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.about-point strong {
    display: block;
    color: #10213f;
    line-height: 1.45;
    margin-bottom: 6px;
}

.about-point span {
    display: block;
    color: #647083;
    font-size: 13px;
    line-height: 1.65;
}

/* Keep the top page hero image */
.hero.top-hero {
    background:
        linear-gradient(
            90deg,
            rgba(5, 8, 14, .90) 0%,
            rgba(7, 10, 18, .76) 34%,
            rgba(7, 10, 18, .30) 68%,
            rgba(7, 10, 18, .10) 100%
        ),
        url("../img/huawin/web-top_huawin.webp") center center / cover no-repeat;
}

.hero.top-hero::before,
.hero.top-hero::after {
    opacity: 0;
}

.hero.top-hero .hero-inner {
    min-height: 660px;
}

.hero.top-hero .hero-inner > div:first-child {
    max-width: 700px;
}

.hero.top-hero h1,
.hero.top-hero .hero-lead {
    text-shadow: 0 2px 18px rgba(0, 0, 0, .46);
}

@media(max-width:900px) {
    .about-huawin-panel {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-huawin-main {
        padding: 28px;
    }

    .about-huawin-side {
        padding: 18px;
    }
}

@media(max-width:760px) {
    .about-huawin-main {
        padding: 24px 20px;
    }

    .about-huawin-main p {
        line-height: 1.85;
    }

    .section-kicker {
        font-size: 11px;
        letter-spacing: .10em;
    }

    .hero.top-hero {
        background:
            linear-gradient(
                180deg,
                rgba(5, 8, 14, .94) 0%,
                rgba(7, 10, 18, .82) 48%,
                rgba(7, 10, 18, .62) 100%
            ),
            url("../img/huawin/web-top_huawin.webp") center center / cover no-repeat;
    }

    .hero.top-hero .hero-inner {
        min-height: 560px;
    }
}

/* Animated machining sample carousel after ABOUT HUAWIN */
.motion-samples {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 30px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 20%, rgba(11, 99, 206, .22), transparent 34%),
        linear-gradient(135deg, #061126 0%, #07162f 48%, #0e172a 100%);
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.motion-samples-track {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: huawinSampleSlide 46s linear infinite;
}

.motion-samples:hover .motion-samples-track {
    animation-play-state: paused;
}

.motion-sample-card {
    position: relative;
    flex: 0 0 300px;
    height: 220px;
    overflow: hidden;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(245,248,252,.92));
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .28);
    transform: translateZ(0);
}

.motion-sample-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    transition: transform .55s ease, filter .55s ease;
}

.motion-sample-card:hover img {
    transform: scale(1.08) rotate(-1deg);
    filter: saturate(1.08) contrast(1.04);
}

.motion-sample-card span {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(7, 22, 47, .82);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .04em;
    backdrop-filter: blur(10px);
}

.motion-sample-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,.28), transparent 34%),
        linear-gradient(180deg, transparent 58%, rgba(5, 12, 28, .22) 100%);
    pointer-events: none;
}

@keyframes huawinSampleSlide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 11px));
    }
}

@media(max-width:760px) {
    .motion-samples {
        padding: 22px 0;
    }

    .motion-samples-track {
        gap: 16px;
        animation-duration: 38s;
    }

    .motion-sample-card {
        flex-basis: 230px;
        height: 170px;
        border-radius: 22px;
    }

    .motion-sample-card img {
        padding: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .motion-samples-track {
        animation: none;
        transform: none;
        overflow-x: auto;
        width: auto;
        padding: 0 18px;
    }

    .motion-samples {
        overflow-x: auto;
    }
}

/* WG2000 sample motion section before ABOUT HUAWIN PRECISION */
.wg-pre-samples {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 34px 0 38px;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 24%, rgba(76, 201, 240, .20), transparent 34%),
        radial-gradient(circle at 82% 18%, rgba(11, 99, 206, .16), transparent 30%),
        linear-gradient(135deg, #050b16 0%, #07162f 55%, #08111f 100%);
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.wg-pre-samples-copy {
    max-width: var(--max);
    margin: 0 auto 20px;
    padding: 0 22px;
    color: #fff;
}

.wg-pre-samples-copy span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    color: #bfe9ff;
    text-transform: uppercase;
}

.wg-pre-samples-copy span::before {
    content: "";
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: #4cc9f0;
}

.wg-pre-samples-copy strong {
    display: block;
    margin-top: 8px;
    font-size: clamp(22px, 3vw, 36px);
    line-height: 1.35;
    letter-spacing: .02em;
}

.wg-pre-samples-track {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: wgPreSampleFlow 54s linear infinite;
    will-change: transform;
}

.wg-pre-samples:hover .wg-pre-samples-track {
    animation-play-state: paused;
}

.wg-pre-sample-card {
    position: relative;
    flex: 0 0 360px;
    height: 210px;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(242,246,251,.92));
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 26px 76px rgba(0,0,0,.34);
}

.wg-pre-sample-card.wide {
    flex-basis: 400px;
}

.wg-pre-sample-card.long {
    flex-basis: 460px;
}

.wg-pre-sample-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    transition: transform .7s ease, filter .7s ease;
}

.wg-pre-sample-card:hover img {
    transform: scale(1.07) translateY(-2px);
    filter: saturate(1.06) contrast(1.05);
}

.wg-pre-sample-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,.26), transparent 38%),
        linear-gradient(180deg, transparent 64%, rgba(5,12,28,.18) 100%);
    pointer-events: none;
}

@keyframes wgPreSampleFlow {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 11px));
    }
}

@media(max-width:760px) {
    .wg-pre-samples {
        padding: 28px 0 32px;
    }

    .wg-pre-samples-track {
        gap: 16px;
        animation-duration: 42s;
    }

    .wg-pre-sample-card,
    .wg-pre-sample-card.wide,
    .wg-pre-sample-card.long {
        flex-basis: 280px;
        height: 165px;
        border-radius: 22px;
    }

    .wg-pre-sample-card img {
        padding: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wg-pre-samples-track {
        animation: none;
        width: auto;
        overflow-x: auto;
        padding: 0 18px;
    }

    .wg-pre-samples {
        overflow-x: auto;
    }
}

/* WG pre-sample section adjustment: no heading, caption labels on cards */
.wg-pre-samples {
    padding: 30px 0;
}

.wg-pre-samples-copy {
    display: none;
}

.wg-pre-sample-card span {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(7, 22, 47, .82);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .04em;
    backdrop-filter: blur(10px);
}

@media(max-width:760px) {
    .wg-pre-samples {
        padding: 22px 0;
    }

    .wg-pre-sample-card span {
        left: 12px;
        bottom: 10px;
        font-size: 11px;
        min-height: 28px;
        padding: 5px 10px;
    }
}

/* WG2000 inline sample motion section after 導入検討のポイント */
.wg-inline-samples {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 30px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 24%, rgba(76, 201, 240, .20), transparent 34%),
        radial-gradient(circle at 82% 18%, rgba(11, 99, 206, .16), transparent 30%),
        linear-gradient(135deg, #050b16 0%, #07162f 55%, #08111f 100%);
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.wg-inline-samples-track {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: wgInlineSampleFlow 54s linear infinite;
    will-change: transform;
}

.wg-inline-samples:hover .wg-inline-samples-track {
    animation-play-state: paused;
}

.wg-inline-sample-card {
    position: relative;
    flex: 0 0 360px;
    height: 210px;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(242,246,251,.92));
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 26px 76px rgba(0,0,0,.34);
}

.wg-inline-sample-card.wide {
    flex-basis: 400px;
}

.wg-inline-sample-card.long {
    flex-basis: 460px;
}

.wg-inline-sample-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    transition: transform .7s ease, filter .7s ease;
}

.wg-inline-sample-card:hover img {
    transform: scale(1.07) translateY(-2px);
    filter: saturate(1.06) contrast(1.05);
}

.wg-inline-sample-card span {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(7, 22, 47, .82);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .04em;
    backdrop-filter: blur(10px);
}

.wg-inline-sample-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,.26), transparent 38%),
        linear-gradient(180deg, transparent 64%, rgba(5,12,28,.18) 100%);
    pointer-events: none;
}

@keyframes wgInlineSampleFlow {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 11px));
    }
}

@media(max-width:760px) {
    .wg-inline-samples {
        padding: 22px 0;
    }

    .wg-inline-samples-track {
        gap: 16px;
        animation-duration: 42s;
    }

    .wg-inline-sample-card,
    .wg-inline-sample-card.wide,
    .wg-inline-sample-card.long {
        flex-basis: 280px;
        height: 165px;
        border-radius: 22px;
    }

    .wg-inline-sample-card img {
        padding: 14px;
    }

    .wg-inline-sample-card span {
        left: 12px;
        bottom: 10px;
        font-size: 11px;
        min-height: 28px;
        padding: 5px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wg-inline-samples-track {
        animation: none;
        width: auto;
        overflow-x: auto;
        padding: 0 18px;
    }

    .wg-inline-samples {
        overflow-x: auto;
    }
}

/* PG250/PG400 inline sample motion section after 導入検討のポイント */
.pg-inline-samples {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 30px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 20%, rgba(11, 99, 206, .22), transparent 34%),
        linear-gradient(135deg, #061126 0%, #07162f 48%, #0e172a 100%);
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.pg-inline-samples-track {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: pgInlineSampleSlide 46s linear infinite;
    will-change: transform;
}

.pg-inline-samples:hover .pg-inline-samples-track {
    animation-play-state: paused;
}

.pg-inline-sample-card {
    position: relative;
    flex: 0 0 300px;
    height: 220px;
    overflow: hidden;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(245,248,252,.92));
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .28);
    transform: translateZ(0);
}

.pg-inline-sample-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    transition: transform .55s ease, filter .55s ease;
}

.pg-inline-sample-card:hover img {
    transform: scale(1.08) rotate(-1deg);
    filter: saturate(1.08) contrast(1.04);
}

.pg-inline-sample-card span {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(7, 22, 47, .82);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .04em;
    backdrop-filter: blur(10px);
}

.pg-inline-sample-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,.28), transparent 34%),
        linear-gradient(180deg, transparent 58%, rgba(5, 12, 28, .22) 100%);
    pointer-events: none;
}

@keyframes pgInlineSampleSlide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 11px));
    }
}

@media(max-width:760px) {
    .pg-inline-samples {
        padding: 22px 0;
    }

    .pg-inline-samples-track {
        gap: 16px;
        animation-duration: 38s;
    }

    .pg-inline-sample-card {
        flex-basis: 230px;
        height: 170px;
        border-radius: 22px;
    }

    .pg-inline-sample-card img {
        padding: 14px;
    }

    .pg-inline-sample-card span {
        left: 12px;
        bottom: 10px;
        font-size: 11px;
        min-height: 28px;
        padding: 5px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pg-inline-samples-track {
        animation: none;
        transform: none;
        overflow-x: auto;
        width: auto;
        padding: 0 18px;
    }

    .pg-inline-samples {
        overflow-x: auto;
    }
}

/* Spec comparison table column tuning */
.spec-compare-table {
    table-layout: fixed;
}

.spec-compare-table .col-model {
    width: 12%;
}

.spec-compare-table .col-usage {
    width: 31%;
}

.spec-compare-table .col-accuracy {
    width: 15%;
}

.spec-compare-table .col-range {
    width: 32%;
}

.spec-compare-table .col-control {
    width: 10%;
}

.spec-compare-table th,
.spec-compare-table td {
    line-height: 1.65;
}

.spec-compare-table td:first-child,
.spec-compare-table th:first-child {
    white-space: nowrap;
}

.spec-compare-table td:nth-child(3) {
    font-weight: 850;
    color: #0b3b7a;
}

@media(max-width:900px) {
    .spec-compare-table {
        table-layout: auto;
    }

    .spec-compare-table colgroup {
        display: none;
    }

    .spec-compare-table td:first-child,
    .spec-compare-table th:first-child {
        white-space: normal;
    }
}


/* HUAWIN catalog request linkage */
.btn.catalog {
    background: linear-gradient(135deg, #e2b84b, #f5d67d);
    color: #08142b;
    border-color: rgba(255, 255, 255, .35);
    box-shadow: 0 14px 34px rgba(226, 184, 75, .24);
}

.btn.catalog-dark {
    background: linear-gradient(135deg, #07162f, #0b3b7a);
    color: #fff;
    border-color: rgba(11, 99, 206, .25);
    box-shadow: 0 16px 36px rgba(7, 22, 47, .18);
}

.catalog-request-section {
    background:
        radial-gradient(circle at 14% 18%, rgba(226, 184, 75, .16), transparent 34%),
        radial-gradient(circle at 88% 12%, rgba(76, 201, 240, .10), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.catalog-request-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 24px;
    align-items: stretch;
}

.catalog-request-copy,
.catalog-request-card {
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 56px rgba(15, 23, 42, .08);
}

.catalog-request-copy {
    padding: 38px;
}

.catalog-request-copy h2 {
    margin: 0 0 16px;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.28;
    letter-spacing: .02em;
}

.catalog-request-copy p {
    margin: 0;
    color: #4b5563;
    line-height: 2;
}

.catalog-request-notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.catalog-request-notes div {
    border: 1px solid #d7eaff;
    background: #f6f9ff;
    border-radius: 18px;
    padding: 16px;
}

.catalog-request-notes strong {
    display: block;
    color: var(--blue);
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 4px;
}

.catalog-request-notes span {
    display: block;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.65;
}

.catalog-request-card {
    padding: 30px;
    background:
        radial-gradient(circle at 20% 10%, rgba(226, 184, 75, .16), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.catalog-request-card small {
    display: inline-flex;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
}

.catalog-request-card h3 {
    margin: 10px 0 12px;
    font-size: 28px;
    line-height: 1.25;
}

.catalog-request-card p {
    color: var(--muted);
    margin: 0 0 20px;
    font-size: 14px;
}

.catalog-request-privacy {
    margin-top: 18px !important;
    font-size: 12px !important;
    line-height: 1.7;
}

.cta-actions {
    display: grid;
    gap: 12px;
    min-width: 180px;
}

@media(max-width:900px) {
    .catalog-request-panel,
    .catalog-request-notes {
        grid-template-columns: 1fr;
    }

    .catalog-request-copy,
    .catalog-request-card {
        padding: 26px;
    }

    .cta-actions {
        min-width: 0;
        display: flex;
        flex-wrap: wrap;
    }
}

@media(max-width:760px) {
    .catalog-request-copy,
    .catalog-request-card {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .catalog-request-copy p {
        line-height: 1.85;
    }
}
