/* .koyo-ab-page {
    overflow-x: hidden;
} */

.koyo-ab-page .container-xl {
    max-width: 1580px;
}

.koyo-ab-section-title {
    margin: 0 0 40px;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: #333;
}

/* Manufacturer — left column matches homepage About Us */
.koyo-ab-manufacturer {
    padding: 100px 0 80px;
    background: #fff;
}

.koyo-ab-manufacturer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.koyo-ab-manufacturer .koyo-hp-about-title {
    margin: 0 0 24px;
    font-size: 40px;
    font-weight: 700;
    color: #1E1919;
    width:100%;
}

.koyo-ab-manufacturer .koyo-hp-about-intro {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    display: flex;  
}

.koyo-ab-manufacturer .koyo-hp-about-intro::before {
    background-color: #FA1C01;
    content: '';
    width: 5px;
    height: 60px;
    margin-right: 15px;
    flex-shrink: 0;
}

.koyo-ab-manufacturer .koyo-hp-about-intro p {
    color: #000;
    font-size: 18px;
    font-weight: 700;
    max-width: 420px;
    margin: 0;
}

.koyo-ab-manufacturer .koyo-hp-about-list {
    margin: 0 0 28px;
    padding-left: 18px;
    color: #444;
    line-height: 1.8;
}

.koyo-ab-manufacturer .koyo-hp-about-list li {
    font-size: 16px;
    color: #595657;
}

.koyo-ab-manufacturer .koyo-hp-about-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.koyo-ab-manufacturer .koyo-hp-about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 158px;
    padding: 8px 28px;
    border-radius: 25px;
    background: #FA1C01;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.koyo-ab-manufacturer .koyo-hp-about-btn:hover {
    color: #fff;
    background: #e01800;
}

.koyo-ab-manufacturer .koyo-hp-about-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-weight: 700;
    text-decoration: none;
}

.koyo-ab-manufacturer .koyo-hp-about-phone-text {
    color: #4d4d4d;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
}

.koyo-ab-manufacturer .koyo-hp-about-phone-text p {
    color: #1E1919;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 0;
}

.koyo-ab-manufacturer-video {
    width: 100%;
}

.koyo-ab-video-wrap {
    position: relative;
    overflow: hidden;
}

.koyo-ab-video-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.koyo-ab-video-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 72px;
    height: 72px;
    border: 0;
    border-radius: 50%;
    background: #FA1C01;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    transition: transform 0.25s ease, background 0.25s ease;
}

.koyo-ab-video-play:hover {
    transform: scale(1.08);
    background: #e01800;
}

.koyo-ab-page .advantage-banner {
    margin: 0;
    background-image: linear-gradient(to right, #FA1C01, #E60F01);
}

/* Product Categories */
.koyo-ab-cat-section {
    padding: 80px 0 90px;
    background: #fff;
}

.koyo-ab-cat-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.koyo-ab-cat-tab {
    width:302px;
    height:51px;
    border: 1px solid #ddd;
    background: #F3F3F3;
    color: #595657;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    padding: 0px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.koyo-ab-cat-tab.is-active {
    background: #FA1C01;
    border-color: #FA1C01;
    color: #fff;
}

.koyo-ab-cat-panel[hidden] {
    display: none;
}

.koyo-ab-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.koyo-ab-cat-item {
    margin: 0;
    display: block;
    color: inherit;
    text-align: center;
}

.koyo-ab-cat-item-img {
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 4 / 3;
}

.koyo-ab-cat-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.koyo-ab-cat-item:hover .koyo-ab-cat-item-img img {
    transform: scale(1.04);
}

.koyo-ab-cat-item-label {
    display: block;
    margin-top: 14px;
    font-size: 30px;
    font-weight: 700;
    color: #333;
}

/* Corporate Culture icons */
.koyo-ab-culture-icons {
    padding: 80px 0;
    background: #fff;
}

.koyo-ab-culture-icons-bg {
    background-image: url('../../../../../uploads/2026/08/直线-482.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position:center 68.5%;
}

.koyo-ab-culture-icons-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-inline: auto;
}

.koyo-ab-culture-icon-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    min-height: 440px;
    text-align: center;
}

.koyo-ab-culture-icon-face--default {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 20px 36px;
    transition: opacity 0.35s ease;
}

.koyo-ab-culture-icon-face--hover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 28px 88px;
    background: #FA1C01;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    overflow: hidden;
}

.koyo-ab-culture-icon-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 0 32px;
}

.koyo-ab-culture-icon-title {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: #595657;
}

.koyo-ab-culture-icon-node {
    position: relative;
    width: 100%;
    height: 20px;
    margin: 32px 0;
    z-index: 2;
}

.koyo-ab-culture-icon-node-circle {
    display: block;
    width: 20px;
    height: 20px;
    margin: 3px auto 0;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: #fff;
}
.koyo-ab-culture-icon-node-circle::after {
    content: '';
    position: relative;
    top: 0;
    left: 0;
    width: 350px;
    height: 1px;
    background: #707070;
}
.koyo-ab-culture-icon-num-default {
    font-size: 70px;
    font-weight: 700;
    line-height: 1;
    color: #F0B0A0;
}

.koyo-ab-culture-icon-num-hover {
    position: relative;
    text-align: center;
    font-size: 70px;
    font-weight: 700;
    margin: 5%;
    line-height: 1;
    color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.koyo-ab-culture-icon-desc {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 280px;
    font-size: 18px;
    line-height: 1.65;
    color: #fff;
    text-align: center;
    min-height: 0;
    overflow: hidden;
}

.koyo-ab-culture-icon-btn {
    position: absolute;
    left: 50%;
    bottom: 36px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0px 10px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 34px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transform: translateX(-50%);
    transition: background 0.25s ease, color 0.25s ease;
}

.koyo-ab-culture-icon-btn:hover {
    background: #fff;
    color: #FA1C01;
}

@media (hover: hover) {
    .koyo-ab-culture-icon-card:hover {
        z-index: 4;
    }

    .koyo-ab-culture-icon-card:hover .koyo-ab-culture-icon-face--default {
        opacity: 0;
    }

    .koyo-ab-culture-icon-card:hover .koyo-ab-culture-icon-face--hover {
        opacity: 1;
        pointer-events: auto;
    }

    .koyo-ab-culture-icons-grid:has(.koyo-ab-culture-icon-card:hover)::before {
        opacity: 0;
    }
}

/* Why Choose Us */
.koyo-ab-why {
    padding: 80px 0;
    background: #f6f6f6;
}

.koyo-ab-why-title {
    margin: 0 0 20px;
    font-size: 60px;
    font-weight: 700;
    width:350px;
    line-height: 1.2;
    color: #1E1919;
}

.koyo-ab-why-intro {
    margin: 0;
    font-size: 30px;
    line-height: 1.7;
    color: #AEAEAE;
    width:350px;
    font-weight:500;
}

.koyo-ab-why-intro::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 9%;
    width: 5%;
    height: 1px;
    background: #707070;
}

.koyo-ab-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
}

.koyo-ab-why-item {
    padding: 0 8px;
}

.koyo-ab-why-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 12px;
}

.koyo-ab-why-item-title {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 700;
    color: #1E1919;
}

.koyo-ab-why-item-desc {
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
    color: #595657;
    font-family: Arial, Helvetica, sans-serif;
}

/* Corporate Culture showcase — same card hover as homepage Product Categories */
.koyo-ab-showcase {
    padding: 80px 0 90px;
    background: #fff;
}

.koyo-ab-showcase-page[hidden] {
    display: none;
}

.koyo-ab-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.koyo-ab-showcase-pages--tablet {
    display: none;
}

.koyo-ab-showcase-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

.koyo-ab-showcase-dots.koyo-ab-showcase-dots--tablet {
    display: none;
}

.koyo-ab-showcase-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 420px;
    color: inherit;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.koyo-ab-showcase-visual {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    background: #f8f8f8;
}

.koyo-ab-showcase-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    display: block;
    box-sizing: border-box;
    padding: 0px;
    transition: transform 0.35s ease;
}

.koyo-ab-showcase-hot {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #FA1C01;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.koyo-ab-showcase-hover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    padding: 24px 28px;
    border-radius: 8px 8px 0 0;
    background: rgba(255, 49, 18, 0.9);
    color: #fff;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.koyo-ab-showcase-hover-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
}

.koyo-ab-showcase-hover-head i{
    font-size: 20px;
}

.koyo-ab-showcase-hover-head span{
    font-style: italic;
    font-size: 20px;
}
.koyo-ab-showcase-hover-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    font-size: 16px;
    line-height: 1.6;
}

.koyo-ab-showcase-hover-body p {
    margin: 0 0 8px;
}
.koyo-ab-showcase-hover-body p::before {
    content: '';
    position: relative;
    display: inline-block;
    margin-right: 10px;
    left: 0;
    width: 5px;
    height: 5px;
    background: #ffffff;
    border-radius: 50%;
}
.koyo-ab-showcase-hover-body ul {
    margin: 0;
    padding-left: 18px;
}

.koyo-ab-showcase-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    height: 60px;
    padding: 0 24px;
    background: #e8e8e8;
    transition: background 0.35s ease, color 0.35s ease;
    z-index: 10;
}

.koyo-ab-showcase-name {
    flex: 1;
    min-width: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.35s ease;
}

.koyo-ab-showcase-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    color: #333;
    font-size: 12px;
    flex-shrink: 0;
    transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.koyo-ab-showcase-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #ddd;
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.koyo-ab-showcase-dot.is-active {
    width: 36px;
    background: #333;
}

.koyo-ab-showcase-card:hover .koyo-ab-showcase-hover,
.koyo-ab-showcase-card.is-open .koyo-ab-showcase-hover,
.koyo-ab-showcase-card.is-inview .koyo-ab-showcase-hover {
    opacity: 1;
    pointer-events: auto;
}

.koyo-ab-showcase-card:hover .koyo-ab-showcase-hot,
.koyo-ab-showcase-card.is-open .koyo-ab-showcase-hot,
.koyo-ab-showcase-card.is-inview .koyo-ab-showcase-hot {
    opacity: 0;
}

.koyo-ab-showcase-card:hover .koyo-ab-showcase-visual img,
.koyo-ab-showcase-card.is-open .koyo-ab-showcase-visual img,
.koyo-ab-showcase-card.is-inview .koyo-ab-showcase-visual img {
    transform: scale(1.03);
}

.koyo-ab-showcase-card:hover .koyo-ab-showcase-foot,
.koyo-ab-showcase-card.is-open .koyo-ab-showcase-foot,
.koyo-ab-showcase-card.is-inview .koyo-ab-showcase-foot {
    background: #333;
}

.koyo-ab-showcase-card:hover .koyo-ab-showcase-name,
.koyo-ab-showcase-card:hover .koyo-ab-showcase-arrow,
.koyo-ab-showcase-card.is-open .koyo-ab-showcase-name,
.koyo-ab-showcase-card.is-open .koyo-ab-showcase-arrow,
.koyo-ab-showcase-card.is-inview .koyo-ab-showcase-name,
.koyo-ab-showcase-card.is-inview .koyo-ab-showcase-arrow {
    color: #fff;
}

.koyo-ab-showcase-card:hover .koyo-ab-showcase-arrow,
.koyo-ab-showcase-card.is-open .koyo-ab-showcase-arrow,
.koyo-ab-showcase-card.is-inview .koyo-ab-showcase-arrow {
    background: rgba(255, 255, 255, 0.16);
    transform: translateX(4px);
}

/* Quality inspection */
.koyo-ab-quality {
    padding: 80px 0 100px;
    background: #fff;
}

.koyo-ab-quality-flow {
    position: relative;
    max-width: 1920px;
    background: url('../../../../../uploads/2026/08/路径-154.png') no-repeat 30% 70%;
}

.koyo-ab-quality-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.koyo-ab-quality-row--top {
    margin-bottom: 180px;
}

.koyo-ab-quality-row--bottom {
    justify-content: center;
    gap: 48px;
    margin-left:5%;
}

.koyo-ab-quality-step {
    position: relative;
    flex: 1;
    min-width: 180px;
    max-width: 260px;
    min-height: 304px;
    padding: 20px 16px 24px;
    background-color: #F8F8F8;
    text-align: center;
    box-sizing: border-box;
    overflow: visible;
}

.koyo-ab-quality-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    width: 0;
    height: 0;
    margin-left: calc(var(--quality-arrow-offset, 0px) - 0.45rem);
    transform: translateY(-50%);
    border-top: 0.6rem solid transparent;
    border-bottom: 0.6rem solid transparent;
    border-left: 0.9rem solid #000;
    pointer-events: none;
    z-index: 2;
}

.koyo-ab-quality-row--top .koyo-ab-quality-step:last-child::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    margin-top: calc((90px - 0.779rem) / 2);
    transform: none;
    border-top: 0;
    border-left: 0.45rem solid transparent;
    border-right: 0.45rem solid transparent;
    border-bottom: 0.779rem solid #000;
    pointer-events: none;
    z-index: 2;
}

.koyo-ab-quality-row--bottom .koyo-ab-quality-step:first-child::before {
    content: "";
    position: absolute;
    top: 51.5%;
    right: 80%;
    width: 0;
    height: 0;
    margin-right: calc(var(--quality-arrow-left-offset, 24px) - 0.45rem);
    transform: translateY(-50%);
    border-top: 0.6rem solid transparent;
    border-bottom: 0.6rem solid transparent;
    border-left: 0.9rem solid #000;
    pointer-events: none;
    z-index: 2;
}

.koyo-ab-quality-icon {
    width: 100px;
    height: 100px;
    margin: 15px auto 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.koyo-ab-quality-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.koyo-ab-quality-label {
    margin: 0;
    font-size: 22px;
    line-height: 1.4;
    color: #666;
    height: 172px;
    place-content: center;
}

/* Partner Merchant marquee */
.koyo-ab-partner {
    padding: 80px 0 100px;
    overflow: hidden;
}

.koyo-ab-partner-rows {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
    
}

.koyo-ab-partner-row {
    overflow: hidden;
    width: 100%;
}

.koyo-ab-partner-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
}

.koyo-ab-partner-row--left .koyo-ab-partner-track {
    animation: koyoAbScrollLeft 35s linear infinite;
}

.koyo-ab-partner-row--right .koyo-ab-partner-track {
    animation: koyoAbScrollRight 35s linear infinite;
}

.koyo-ab-partner-logo {
    flex-shrink: 0;
    width: 320px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #F8F8F8;
    border-radius: 8px;
}

.koyo-ab-partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes koyoAbScrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes koyoAbScrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* YouTube modal */
.koyo-ab-video-modal[hidden] {
    display: none !important;
}

.koyo-ab-video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.koyo-ab-video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.koyo-ab-video-modal-box {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.koyo-ab-video-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 2;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.koyo-ab-video-modal-inner {
    position: relative;
    padding-top: 56.25%;
}

.koyo-ab-video-modal-inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

body.koyo-ab-modal-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .koyo-ab-quality-flow{
        background-image: none;
    }
    .koyo-ab-culture-icons-bg{
        background-image: none;
    }
    .koyo-ab-manufacturer {
        padding: 60px 0 50px;
    }

    .koyo-ab-manufacturer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .koyo-ab-manufacturer .koyo-hp-about-title {
        font-size: 36px;
    }

    .koyo-ab-manufacturer .koyo-hp-about-intro p {
        max-width: 100%;
    }

    .koyo-ab-section-title {
        font-size: 32px;
        margin-bottom: 28px;
    }

    .koyo-ab-culture-icons-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .koyo-ab-culture-icons-grid::before {
        display: none;
    }

    .koyo-ab-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .koyo-ab-cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .koyo-ab-why > .container-xl .col-lg-4{
        text-align: center;
        place-items:center;
    }
    /* Tablet: Quality snake 1 2 / 4 3 / 5 6 / 8 7; arrows 1→ 2↓ 3← 4↓ ... */
    .koyo-ab-quality {
        overflow: visible;
    }
    .koyo-ab-quality-flow {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 32px;
        align-items: stretch;
        overflow: visible;
    }
    .koyo-ab-quality-row {
        display: contents;
    }
    .koyo-ab-quality-row--top,
    .koyo-ab-quality-row--bottom {
        margin: 0;
        gap: 0;
        overflow: visible;
    }
    .koyo-ab-quality-step {
        flex: unset;
        width: 100%;
        max-width: none;
        min-width: 0;
        min-height: 260px;
        overflow: visible;
    }
    .koyo-ab-quality-label {
        height: auto;
        min-height: 120px;
        font-size: 18px;
    }
    .koyo-ab-quality-row--bottom .koyo-ab-quality-step:first-child::before {
        display: none;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="1"] {
        grid-row: 1;
        grid-column: 1;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="2"] {
        grid-row: 1;
        grid-column: 2;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="3"] {
        grid-row: 2;
        grid-column: 2;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="4"] {
        grid-row: 2;
        grid-column: 1;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="5"] {
        grid-row: 3;
        grid-column: 1;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="6"] {
        grid-row: 3;
        grid-column: 2;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="7"] {
        grid-row: 4;
        grid-column: 2;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="8"] {
        grid-row: 4;
        grid-column: 1;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="9"] {
        grid-row: 5;
        grid-column: 1;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="10"] {
        grid-row: 5;
        grid-column: 2;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="11"] {
        grid-row: 6;
        grid-column: 2;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="12"] {
        grid-row: 6;
        grid-column: 1;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="1"]::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 5;
        width: 0;
        height: 0;
        box-sizing: border-box;
        top: 50%;
        left: 100%;
        right: auto;
        bottom: auto;
        margin: 0 0 0 8px;
        transform: translateY(-50%);
        border-style: solid;
        border-width: 0.55rem 0 0.55rem 0.85rem;
        border-color: transparent transparent transparent #111;
        pointer-events: none;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="2"]::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 5;
        width: 0;
        height: 0;
        box-sizing: border-box;
        top: 100%;
        left: 50%;
        right: auto;
        bottom: auto;
        margin: 10px 0 0;
        transform: translateX(-50%);
        border-style: solid;
        border-width: 0.85rem 0.55rem 0 0.55rem;
        border-color: #111 transparent transparent transparent;
        pointer-events: none;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="3"]::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 5;
        width: 0;
        height: 0;
        box-sizing: border-box;
        top: 50%;
        left: auto;
        right: 100%;
        bottom: auto;
        margin: 0 8px 0 0;
        transform: translateY(-50%);
        border-style: solid;
        border-width: 0.55rem 0.85rem 0.55rem 0;
        border-color: transparent #111 transparent transparent;
        pointer-events: none;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="4"]::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 5;
        width: 0;
        height: 0;
        box-sizing: border-box;
        top: 100%;
        left: 50%;
        right: auto;
        bottom: auto;
        margin: 10px 0 0;
        transform: translateX(-50%);
        border-style: solid;
        border-width: 0.85rem 0.55rem 0 0.55rem;
        border-color: #111 transparent transparent transparent;
        pointer-events: none;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="5"]::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 5;
        width: 0;
        height: 0;
        box-sizing: border-box;
        top: 50%;
        left: 100%;
        right: auto;
        bottom: auto;
        margin: 0 0 0 8px;
        transform: translateY(-50%);
        border-style: solid;
        border-width: 0.55rem 0 0.55rem 0.85rem;
        border-color: transparent transparent transparent #111;
        pointer-events: none;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="6"]::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 5;
        width: 0;
        height: 0;
        box-sizing: border-box;
        top: 100%;
        left: 50%;
        right: auto;
        bottom: auto;
        margin: 10px 0 0;
        transform: translateX(-50%);
        border-style: solid;
        border-width: 0.85rem 0.55rem 0 0.55rem;
        border-color: #111 transparent transparent transparent;
        pointer-events: none;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="7"]::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 5;
        width: 0;
        height: 0;
        box-sizing: border-box;
        top: 50%;
        left: auto;
        right: 100%;
        bottom: auto;
        margin: 0 8px 0 0;
        transform: translateY(-50%);
        border-style: solid;
        border-width: 0.55rem 0.85rem 0.55rem 0;
        border-color: transparent #111 transparent transparent;
        pointer-events: none;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="8"]::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 5;
        width: 0;
        height: 0;
        box-sizing: border-box;
        top: 100%;
        left: 50%;
        right: auto;
        bottom: auto;
        margin: 10px 0 0;
        transform: translateX(-50%);
        border-style: solid;
        border-width: 0.85rem 0.55rem 0 0.55rem;
        border-color: #111 transparent transparent transparent;
        pointer-events: none;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="9"]::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 5;
        width: 0;
        height: 0;
        box-sizing: border-box;
        top: 50%;
        left: 100%;
        right: auto;
        bottom: auto;
        margin: 0 0 0 8px;
        transform: translateY(-50%);
        border-style: solid;
        border-width: 0.55rem 0 0.55rem 0.85rem;
        border-color: transparent transparent transparent #111;
        pointer-events: none;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="10"]::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 5;
        width: 0;
        height: 0;
        box-sizing: border-box;
        top: 100%;
        left: 50%;
        right: auto;
        bottom: auto;
        margin: 10px 0 0;
        transform: translateX(-50%);
        border-style: solid;
        border-width: 0.85rem 0.55rem 0 0.55rem;
        border-color: #111 transparent transparent transparent;
        pointer-events: none;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="11"]::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 5;
        width: 0;
        height: 0;
        box-sizing: border-box;
        top: 50%;
        left: auto;
        right: 100%;
        bottom: auto;
        margin: 0 8px 0 0;
        transform: translateY(-50%);
        border-style: solid;
        border-width: 0.55rem 0.85rem 0.55rem 0;
        border-color: transparent #111 transparent transparent;
        pointer-events: none;
    }
    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep="12"]::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 5;
        width: 0;
        height: 0;
        box-sizing: border-box;
        top: 100%;
        left: 50%;
        right: auto;
        bottom: auto;
        margin: 10px 0 0;
        transform: translateX(-50%);
        border-style: solid;
        border-width: 0.85rem 0.55rem 0 0.55rem;
        border-color: #111 transparent transparent transparent;
        pointer-events: none;
    }
    /* Last step in whole flow: no arrow */
    .koyo-ab-quality-flow .koyo-ab-quality-row:last-child .koyo-ab-quality-step:last-child::after {
        display: none !important;
        content: none !important;
        border-width: 0 !important;
    }

    .koyo-ab-showcase-pages--desktop,
    .koyo-ab-showcase-dots.koyo-ab-showcase-dots--desktop {
        display: none;
    }

    .koyo-ab-showcase-pages--tablet {
        display: block;
    }

    .koyo-ab-showcase-dots.koyo-ab-showcase-dots--tablet {
        display: flex;
    }

    .koyo-ab-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .koyo-ab-showcase-card {
        min-width: 0;
        height: 360px;
    }

    .koyo-ab-showcase-visual img {
        max-width: none;
        max-height: none;
        padding: 12px;
    }
    .koyo-ab-quality-row--bottom{
        margin-left: 0;
    }

    /* #23 culture icons: collapsed by default; .is-inview expands (row-pair on 2-col) */
    .koyo-ab-culture-icon-card.is-inview {
        z-index: 4;
    }
    .koyo-ab-culture-icon-card.is-inview .koyo-ab-culture-icon-face--default {
        opacity: 0;
    }
    .koyo-ab-culture-icon-card.is-inview .koyo-ab-culture-icon-face--hover {
        opacity: 1;
        pointer-events: auto;
    }
    .koyo-ab-culture-icons-grid:has(.koyo-ab-culture-icon-card.is-inview)::before {
        opacity: 0;
    }
    .koyo-ab-culture-icon-card {
        min-height: auto;
        overflow: hidden;
    }
    .koyo-ab-culture-icon-face--default {
        position: absolute;
        inset: 0;
        padding:36px 20px 36px;
    }
    .koyo-ab-culture-icon-face--hover {
        position: relative;
        inset: auto;
        justify-content: flex-start;
        padding: 28px 20px 72px;
        overflow: hidden;
    }
    .koyo-ab-culture-icon-num-hover {
        font-size: 56px;
        margin: 0 0 12px;
        flex-shrink: 0;
    }
    .koyo-ab-culture-icon-num-default,
    .koyo-ab-culture-icon-node{
        display: none;
    }
    .koyo-ab-culture-icon-desc {
        font-size: 15px;
        line-height: 1.5;
        max-width: 100%;
        margin: 0 0 12px;
        flex: 0 1 auto;
        min-height: 0;
        overflow: hidden;
    }
    .koyo-ab-culture-icon-btn {
        bottom: 20px;
        font-size: 22px;
        padding: 4px 14px;
        white-space: nowrap;
    }

    /* #24 showcase: ensure expanded overlay text fully visible */
    .koyo-ab-showcase-card.is-inview .koyo-ab-showcase-hover,
    .koyo-ab-showcase-card.is-open .koyo-ab-showcase-hover {
        overflow: auto;
        pointer-events: auto;
    }
    .koyo-ab-showcase-card.is-inview .koyo-ab-showcase-name,
    .koyo-ab-showcase-card.is-open .koyo-ab-showcase-name {
        white-space: normal;
        text-overflow: unset;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 767px) {
    .koyo-ab-manufacturer {
        padding: 40px 0;
    }

    .koyo-ab-manufacturer .koyo-hp-about-title {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .koyo-ab-manufacturer .koyo-hp-about-list li {
        font-size: 14px;
    }

    .koyo-ab-manufacturer .koyo-hp-about-intro p {
        font-size: 16px;
    }

    .koyo-ab-manufacturer .koyo-hp-about-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        place-items:center;
    }

    .koyo-ab-section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .koyo-ab-cat-section,
    .koyo-ab-culture-icons,
    .koyo-ab-why,
    .koyo-ab-showcase,
    .koyo-ab-quality,
    .koyo-ab-partner {
        padding: 40px 0;
    }

    .koyo-ab-cat-tabs {
        gap: 10px;
        margin-bottom: 24px;
    }

    .koyo-ab-cat-tab {
        font-size: 14px;
        padding: 8px 16px;
    }

    .koyo-ab-cat-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .koyo-ab-culture-icons-grid {
        grid-template-columns: 1fr;
    }

    .koyo-ab-culture-icons-grid::before {
        display: none;
    }

    .koyo-ab-culture-icon-card,
    .koyo-ab-culture-icon-face--default {
        min-height: 230px;
    }

    .koyo-ab-culture-icon-card {
        overflow: hidden;
    }

    .koyo-ab-culture-icon-face--default {
        position: absolute;
        inset: 0;
    }

    .koyo-ab-culture-icon-num-default {
        font-size: 60px;
    }

    .koyo-ab-culture-icon-num-hover {
        font-size: 48px;
        margin-bottom: 8px;
    }

    .koyo-ab-culture-icon-face--hover {
        position: relative;
        inset: auto;
        padding: 20px 16px 64px;
    }

    .koyo-ab-culture-icon-desc {
        font-size: 14px;
        line-height: 1.45;
        flex: 0 1 auto;
    }

    .koyo-ab-culture-icon-btn {
        bottom: 16px;
        font-size: 18px;
        padding: 4px 12px;
    }

    .koyo-ab-showcase-foot {
        gap: 8px;
        padding: 10px 14px;
        min-height: 72px;
        height: auto;
    }

    .koyo-ab-showcase-name {
        white-space: normal;
        overflow: hidden;
        text-overflow: unset;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 1.25;
    }

    .koyo-ab-showcase-arrow {
        flex-shrink: 0;
    }

    .koyo-ab-why-title {
        font-size: 24px;
    }

    .koyo-ab-why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .koyo-ab-showcase-pages--desktop {
        display: block;
    }

    .koyo-ab-showcase-dots.koyo-ab-showcase-dots--desktop {
        display: flex;
    }

    .koyo-ab-showcase-pages--tablet,
    .koyo-ab-showcase-dots.koyo-ab-showcase-dots--tablet {
        display: none;
    }

    .koyo-ab-showcase-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .koyo-ab-showcase-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: 320px;
    }

    .koyo-ab-showcase-visual img {
        max-width: none;
        max-height: none;
        padding: 12px;
    }

    .koyo-ab-showcase-hover {
        border-radius: 8px 8px 0 0;
        padding: 16px 14px;
    }

    .koyo-ab-showcase-foot {
        height: 72px;
    }

    .koyo-ab-showcase-name {
        font-size: 16px;
    }

    /* Mobile: single column, all arrows down */
    .koyo-ab-quality-flow {
        display: block;
    }
    .koyo-ab-quality-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
        grid-template-columns: none;
    }
    .koyo-ab-quality-flow > .koyo-ab-quality-step {
        /* no-op if contents restored; steps live under rows again */
        grid-row: auto;
        grid-column: auto;
    }

    .koyo-ab-quality-row--top {
        margin-bottom: 0;
    }

    .koyo-ab-quality-row--bottom {
        margin-left: 0;
        gap: 0;
    }

    .koyo-ab-quality-step {
        width: 100%;
        max-width: 280px;
        min-width: 0;
        min-height: auto;
        margin-bottom: 36px;
    }

    .koyo-ab-quality-flow .koyo-ab-quality-step[data-qstep]::after,
    .koyo-ab-quality-step::after,
    .koyo-ab-quality-step:not(:last-child)::after,
    .koyo-ab-quality-step:nth-child(odd)::after,
    .koyo-ab-quality-step:nth-child(even)::after,
    .koyo-ab-quality-step:last-child:nth-child(odd)::after,
    .koyo-ab-quality-row--top .koyo-ab-quality-step:last-child::after {
        content: "";
        display: block;
        position: absolute;
        top: 100%;
        left: 50%;
        right: auto;
        bottom: auto;
        width: 0;
        height: 0;
        margin: 12px 0 0;
        transform: translateX(-50%);
        border: none;
        border-left: 0.6rem solid transparent;
        border-right: 0.6rem solid transparent;
        border-top: 0.9rem solid #000;
        border-bottom: 0;
        pointer-events: none;
        z-index: 2;
    }

    .koyo-ab-quality-row--bottom .koyo-ab-quality-step:first-child::before {
        display: none;
    }

    .koyo-ab-quality-row--bottom .koyo-ab-quality-step:last-child {
        margin-bottom: 0;
    }

    .koyo-ab-quality-flow .koyo-ab-quality-row:last-child .koyo-ab-quality-step:last-child::after,
    .koyo-ab-quality-row:last-child .koyo-ab-quality-step:last-child::after,
    .koyo-ab-quality-row--bottom .koyo-ab-quality-step:last-child::after {
        display: none;
    }

    .koyo-ab-quality-label {
        height: auto;
        min-height: 0;
        padding: 8px 0 0;
    }

    .koyo-ab-quality-icon {
        width: 80px;
        height: 80px;
        padding: 14px;
    }

    .koyo-ab-partner-logo {
        width: 120px;
        height: 60px;
    }
}
