@charset "UTF-8";

.home-renewal,
.home-renewal * {
    box-sizing: border-box;
}

.home-renewal {
    color: #111111;
    flex-shrink: 0;
    overflow: hidden;
    width: 100%;
}

.home-section-title {
    color: #0070bd;
    font-family: "Hind", "Noto Sans JP", sans-serif;
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    text-align: center;
}

/* Main visual */
.home-hero {
    background: #f2f2f2;
}

.home-hero__stage {
    background: #d7d7d7;
    height: 33.854vw;
    max-height: 650px;
    min-height: 320px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.home-hero__stage .home-hero__slide {
    color: inherit;
    display: block;
    height: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    text-decoration: none;
    transition: opacity 1.2s ease;
    width: 100%;
    z-index: 0;
}

.home-hero__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.home-hero__slide picture,
.home-hero__slide img {
    display: block;
    height: 100%;
    width: 100%;
}

.home-hero__slide img {
    object-fit: cover;
    object-position: center;
}

.home-hero__slide:hover img {
    opacity: 1;
}

.home-hero__placeholder {
    align-items: center;
    background: linear-gradient(135deg, #d8d8d8, #bdbdbd);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    font-family: "Hind", "Noto Sans JP", sans-serif;
    font-size: clamp(3rem, 5vw, 7rem);
    font-weight: 500;
    height: 100%;
    justify-content: center;
    letter-spacing: 0.08em;
    text-align: center;
    width: 100%;
}

.home-hero__placeholder small {
    font-size: 0.3em;
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-top: 0.5em;
}

.home-hero__navigation {
    background: #f2f2f2;
}

.home-hero__thumbs {
    display: grid;
    gap: 3px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 720px;
    width: 100%;
}

.home-hero__thumb {
    appearance: none;
    -webkit-appearance: none;
    aspect-ratio: 216 / 123;
    background: #cccccc;
    border: 0;
    cursor: pointer;
    display: block;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
}

.home-hero__thumb::after {
    background: rgba(255, 255, 255, 0.48);
    content: "";
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    inset: 0;
    position: absolute;
    transition: opacity 0.2s ease;
}

.home-hero__thumb.is-active::after,
.home-hero__thumb:hover::after,
.home-hero__thumb:focus-visible::after {
    opacity: 0;
}

.home-hero__thumb:focus-visible {
    outline: 3px solid #0070bd;
    outline-offset: -3px;
}

.home-hero__thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

/* News */
.home-news {
    background: #f2f2f2;
    padding: 52px 20px 64px;
}

.home-news__inner {
    align-items: center;
    display: grid;
    gap: 55px;
    grid-template-columns: 160px minmax(0, 1fr);
    margin: 0 auto;
    max-width: 906px;
}

.home-news__title {
    text-align: left;
}

.home-news__list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-news__list li {
    align-items: center;
    display: grid;
    font-size: 1.4rem;
    font-weight: 500;
    gap: 18px;
    grid-template-columns: 78px 108px minmax(0, 1fr);
    line-height: 1.55;
    margin: 0 0 12px;
}

.home-news__list li:last-child {
    margin-bottom: 0;
}

.home-news__list time {
    white-space: nowrap;
}

.home-news__category {
    background: #0070bd;
    color: #ffffff;
    display: block;
    font-size: 1.2rem;
    line-height: 28px;
    min-width: 0;
    padding: 0 8px;
    text-align: center;
}

.home-news__category.cat-products {
    background: #30b43d;
}

.home-news__category.cat-campaign {
    background: #39c8ab;
}

.home-news__category.cat-information {
    background: #1caee6;
}

.home-news__category.cat-event {
    background: #1881e9;
}

.home-news__category.cat-newsletter {
    background: #646ad9;
}

.home-news__list a {
    color: #111111;
    display: block;
    overflow: hidden;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-news__list a:hover,
.home-news__list a:focus-visible {
    color: #0070bd;
    text-decoration: underline;
}

/* Product */
.home-products {
    background: #ffffff;
    padding: 64px 20px 116px;
}

.home-products__inner {
    margin: 0 auto;
    max-width: 1082px;
}

.home-products__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 18px;
    justify-content: center;
    list-style: none;
    margin: 64px 0 0;
    padding: 0;
}

.home-product-card {
    flex: 0 1 calc((100% - 36px) / 3);
    margin: 0;
    max-width: 350px;
    min-width: 0;
}

.home-product-card a {
    color: #ffffff;
    display: block;
    text-decoration: none;
}

.home-product-card__visual {
    aspect-ratio: 692 / 380;
    border: 1px solid #dddddd;
    display: block;
    overflow: hidden;
}

.home-product-card__visual img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
    width: 100%;
}

.home-product-card__name {
    align-items: center;
    background: var(--product-color);
    display: flex;
    font-size: 1.9rem;
    font-weight: 500;
    height: 64px;
    justify-content: center;
    line-height: 1.4;
    padding: 0 42px 0 18px;
    position: relative;
    text-align: center;
}

.home-product-card__name span {
    font-family: Arial, sans-serif;
    font-size: 3rem;
    font-weight: 300;
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-54%);
}

.home-product-card--datacenter {
    --product-color: #0b357f;
}

.home-product-card--fa {
    --product-color: #459ba8;
}

.home-product-card--pest-control {
    --product-color: #1a2d58;
}

.home-product-card--sanitary {
    --product-color: #458cc4;
}

.home-product-card--industrial {
    --product-color: #a32324;
}

.home-product-card--datacenter .home-product-card__name {
    background: #0b357f;
}

.home-product-card--fa .home-product-card__name {
    background: #459ba8;
}

.home-product-card--pest-control .home-product-card__name {
    background: #1a2d58;
}

.home-product-card--sanitary .home-product-card__name {
    background: #458cc4;
}

.home-product-card--industrial .home-product-card__name {
    background: #a32324;
}

.home-product-card a:hover .home-product-card__visual img,
.home-product-card a:focus-visible .home-product-card__visual img {
    transform: scale(1.025);
}

.home-product-card p {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 2;
    margin: 14px 0 0;
}

/* Company links */
.home-company-links {
    background: #ffffff;
    padding: 0 20px 140px;
    scroll-margin-top: 30px;
}

.home-company-links ul {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0 auto;
    max-width: 1082px;
    padding: 0;
}

.home-company-links li {
    margin: 0;
}

.home-company-links a {
    align-items: center;
    background: #0875bd;
    color: #ffffff;
    display: flex;
    font-size: 1.6rem;
    font-weight: 500;
    height: 103px;
    justify-content: center;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.home-company-links a::after {
    border-color: transparent #ff1421 #ff1421 transparent;
    border-style: solid;
    border-width: 10px;
    bottom: 0;
    content: "";
    position: absolute;
    right: 0;
}

.home-company-links a:hover,
.home-company-links a:focus-visible {
    background: #005fa3;
}

@media screen and (max-width: 900px) {
    .home-products__grid {
        gap: 36px 18px;
    }

    .home-product-card {
        flex-basis: calc((100% - 18px) / 2);
    }
}

@media screen and (max-width: 600px) {
    .home-section-title {
        font-size: 2.8rem;
    }

    .home-product-card {
        flex-basis: 100%;
    }
}

@media screen and (max-width: 480px) {
    .home-hero__thumbs {
        display: grid;
        gap: 3px;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        max-width: 310px;
        overflow: visible;
        padding: 0;
        width: 82%;
    }

    .home-hero__thumb {
        grid-column: span 2;
    }

    .home-hero__thumb:nth-child(4) {
        grid-column: 2 / span 2;
    }
}

@media screen and (max-width: 480px) {
    .home-renewal {
        padding-top: 56px;
    }

    .home-hero__stage {
        aspect-ratio: 750 / 1040;
        height: auto;
        max-height: none;
        min-height: 0;
    }

    .home-hero__slide img {
        object-position: center;
    }

    .home-hero__navigation {
        padding: 0 0 18px;
    }

    .home-news {
        padding: 34px 22px 44px;
    }

    .home-news__inner {
        display: block;
    }

    .home-news__title {
        margin-bottom: 28px;
        text-align: center;
    }

    .home-news__list li {
        align-items: start;
        border-bottom: 1px solid #dddddd;
        gap: 8px;
        grid-template-columns: 72px 80px minmax(0, 1fr);
        margin: 0;
        padding: 13px 0;
    }

    .home-news__list li:first-child {
        border-top: 1px solid #dddddd;
    }

    .home-news__category {
        font-size: 1.1rem;
        line-height: 24px;
    }

    .home-news__list a {
        line-height: 1.55;
    }

    .home-products {
        padding: 52px 20px 82px;
    }

    .home-products__grid {
        gap: 34px;
        margin-top: 40px;
    }

    .home-product-card {
        max-width: 360px;
    }

    .home-product-card__name {
        font-size: 1.7rem;
        height: 58px;
    }

    .home-product-card p {
        font-size: 1.3rem;
        line-height: 1.85;
    }

    .home-company-links {
        padding: 0 20px 80px;
    }

    .home-company-links ul {
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-company-links a {
        font-size: 1.4rem;
        height: 78px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__stage .home-hero__slide,
    .home-hero__thumb::after,
    .home-product-card__visual img {
        transition: none;
    }
}
