/* ========================================
    新製品共通
======================================== */
.product-new {
    padding-bottom: 60px;
}
.product-new  .black-text-link:hover .color-black-50 {
    color: #006462;
}

@media only screen and (max-width: 559px) {
    .product-new-breadcrumb {
        display: none;
    }
    
    .product-new-title {
        margin-top: 40px;
    }
}


/* ========================================
    新製品トップ
======================================== */
.product-new-container {
    max-width: 1732px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 48px;
    padding-right: 48px;
}
.product-new-main {
    padding: 0 0 24px;
    position: relative;
    display: flex;
    align-items: center;
}
.product-new-main-img {
    display: block;
    width: 71.5%;
    margin-right: -7.5%;
    overflow: hidden;
}
.product-new-box {
    padding: 64px 40px;
    z-index: 10;
    width: clamp(380px , 38% , 608px);
}

.product-new-featured-area {
    position: relative;
}
.product-new-featured-area .button-next,
.product-new-featured-area .button-prev {
    position: absolute;
    top: calc(50% - 30px);
    z-index: 30;
    cursor: pointer;
}
.product-new-featured-area .button-next {
    right: -30px;
}
.product-new-featured-area .button-prev {
    left: -30px;
}
.product-new-featured-area .swiper-button-disabled.button-next,
.product-new-featured-area .swiper-button-disabled.button-prev {
    opacity: 0;
}

.product-new-more {
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-new-more-box {
    padding: 44px 40px;
    position: relative;
    z-index: 10;
    width: 540px;
    flex: none;
}
.product-new-more-img {
    margin-left: -160px;
}


@media only screen and (max-width: 1216px) {
    .product-new-main {
        flex-direction: column;
    }
    .product-new-main-img {
        margin-right: -16px;
        margin-left: -16px;
        margin-bottom: -72px;
        border-radius: 0;
        width: calc(100% + 32px);
    }
    .product-new-box,
    .product-new-more-box {
        width: 100%;
        box-shadow: 0 -24px 24px rgba(20, 30, 30, .1);
    }
    .product-new-more {
        flex-direction: column-reverse;
    }
    .product-new-more-img {
        margin-left: -16px;
        margin-right: -16px;
        margin-bottom: -72px;
    }
}
@media only screen and (max-width: 959px) {
    .product-new-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .product-new-main-img,
    .product-new-more-img {
        margin-bottom: -32px;
    }
    .product-new-box,
    .product-new-more-box {
        padding: 32px 24px;
    }
    .product-new-featured-area {
        margin-right: -16px;
    }
    .product-new-featured-area .button-next,
    .product-new-featured-area .button-prev {
        display: none;
    }
}


/* ========================================
    新製品一覧
======================================== */
.product-new-nav {
    border-top: 1px solid rgba(20, 30, 30, .2);
    border-bottom: 1px solid rgba(20, 30, 30, .2);
    overflow: hidden;
}
.product-new-nav > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    overflow: auto;
}
.product-new-nav > div a {
    display: grid;
    gap: 8px;
    padding: 20px 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: inherit;
    white-space: nowrap;
}

.product-new-nav > div a.active,
.product-new-nav > div a.active span {
    color: #006462;
    position: relative;
}
.product-new-nav > div a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #006462;
}
.product-new-nav > div a.btn-main-md {
    color: #fff;
    margin-top: auto;
    margin-bottom: auto;
    padding: 12px 24px;
    align-items: center;
    height: auto;
}

.product-new-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px 32px;
    padding-top: 44px;
    padding-bottom: 44px;
}
.product-new-list > a {
    display: grid;
    gap: 16px;
}
.product-new-list img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.product-new-text {
}

@media only screen and (max-width: 959px) {
    .product-new-nav > div {
        gap: 12px;
        justify-content:flex-start;
    }
    .product-new-nav > div a {
        padding: 16px;
    }
}

@media only screen and (max-width: 559px) {
    .product-new-list {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 24px 4px;
        margin-left: -16px;
        margin-right: -16px;
        width: calc(100% + 32px);
    }
    .product-new-text {
        padding: 0 12px;
    }

}

/* ========================================
    注目の新製品
======================================== */
.product-featured-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px 24px;
    padding: 60px 0 64px;
}
.product-featured-img {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
}
.product-featured-text {
    font-size: 14px;
    line-height: 1.5;
}

@media only screen and (max-width: 959px) {
    .product-featured-list {
        grid-template-columns: 1fr;
    }
}
