﻿@import url("productList_m.css") (max-width: 1230px);

/* .products */

.products
{
    display: flex;
    flex-wrap: wrap;
}
.products li
{
    width: 400px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,.125);
    /*border-radius: .25rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);*/
}
.products li:not(:nth-child(3n+1))
{
    border-left: 0;
}
.products li:nth-child(n+4)
{
    border-top: 0;
}
.products li a
{
    position: relative;
    padding: 30px;
}
.products li a:hover dd
{
    color: var(--primary-color) !important;
}
.products li dt
{
    max-width: 100%;
    height: 250px;
}
.products li dd
{
    text-align: center;
}
    .products li dd.name
    {
        margin: 1rem 0;
        font-size: 28px;
        font-weight: 600;
        color: var(--primary-color);
    }
    .products li dd.support
    {
        margin-bottom: 1rem;
        height: 30px;
        font-weight: 500;
        font-size: 18px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        color: var(--primary-color);
    }
.products li dd.remark
{
    min-height: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
}
.products li sub
{
    position: absolute;
    top: -1px;
    right: 20px;
    padding: 5px;
    font-size: 14px;
    line-height: 1.2;
    writing-mode: vertical-lr;
    text-align: center;
    color: #fff;
    background: #f94c00dd;
}
.products li sub::before
{
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    border-top: 15px solid #f94c00dd;
    border-right: 15px solid transparent;
}
.products li sub::after
{
    content: '';
    position: absolute;
    right: 0;
    bottom: -15px;
    border-top: 15px solid #f94c00dd;
    border-left: 15px solid transparent;
}
.products li sub + sub
{
    right: 60px;
}
.products li sub.new
{
    background: #FE9500dd;
}
.products li sub.new::before,
.products li sub.new::after
{
    border-top-color: #FE9500dd;
}
.products li sub.type
{
    background: #0255A3;
}
.products li:hover
{
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.3);
}
