@charset "utf-8";

/* ============================ ガス機器・設備--テーブルコンロ ============================ */

#product-tableconro .product-hero::before {
    left: 40%;
    background-image: url(../../img/product/product-tableconro/hero_tableconro.jpg);
    background-position: center 18%;
    background-size: 118% auto;
}

@media screen and (max-width: 1920px) {
    #product-tableconro .product-hero::before {
        background-size: 122% auto;
    }
}

@media screen and (max-width: 1536px) {
    #product-tableconro .product-hero::before {
        background-size: 128% auto;
    }
}

@media screen and (max-width: 1280px) {
    #product-tableconro .product-hero::before {
        background-size: 136% auto;
    }
}

#product-tableconro .product__recommend-img img {
    max-width: 260px;
    max-height: 150px;
}

#product-tableconro .product__point-list h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
}

#product-tableconro .product__recommend-table-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#product-tableconro .product__recommend-table-data dt,
#product-tableconro .product__recommend-table-data dd {
    text-align: center;
}

.product-consult__links a img {
    width: 70px;
}

.product-consult__links p {
    color: #00a291;
}

#product-tableconro .product__recommend-table-data .tableconro-number {
    width: fit-content;
    text-align: left;
}

#product-tableconro .product__recommend-table--dynamic .product__recommend-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

#product-tableconro .product__recommend-table--dynamic .product__recommend-link {
    position: relative;
    width: 100%;
}

#product-tableconro .product__recommend-table--dynamic .product__recommend-link::before {
    content: none;
}

#product-tableconro .product__recommend-table--dynamic .product__recommend-maker-name {
    display: block;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
    word-break: keep-all;
}

#product-tableconro .product__recommend-table--dynamic .tableconro-number {
    font-weight: 600;
    line-height: 1.7;
    text-align: center;
}

.tableconro-number p {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.tableconro-number p+p {
    margin-top: 8px;
}

.tableconro-number span {
    display: inline-block;
    flex-shrink: 0;
    border: solid 1px #231815;
    padding: 5px 6px;
    line-height: 1.2;
    font-weight: 400;
}

#product-tableconro__detail .tableconro-number {
    margin-top: 10px;
}

#product-tableconro__detail .tableconro-number p {
    font-size: inherit;
}

#product-tableconro__detail .tableconro-number span {
    font-size: 16px;
}

@media screen and (max-width: 1024px) {
    #product-tableconro .product-hero::before {
        background-position: center -30%;
        background-size: 200% auto;
    }

    #product-tableconro .product__recommend-table td:not(.empty) {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 250px;
    }

    #product-tableconro .product__recommend-table-data {
        height: 100%;
    }
}

@media screen and (max-width: 1024px) and (min-width: 769px) {
    #product-tableconro .product__recommend-table td:not(.empty) {
        display: table-cell;
        min-height: 0;
        vertical-align: middle;
    }

    #product-tableconro .product__recommend-img img {
        max-width: min(150px, 100%);
        max-height: 92px;
    }
}

@media screen and (max-width: 768px) {
    #product-tableconro .product-hero::before {
        left: 0;
        background-position: center 28%;
        background-size: 135% auto;
    }

    #product-tableconro .product__recommend-table--dynamic .product__recommend-products {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #product-tableconro .product__recommend-table--dynamic .product__recommend-link + .product__recommend-link {
        padding-top: 20px;
        border-top: 1px solid #d8d8d8;
    }
}

@media screen and (max-width: 480px) {
    #product-tableconro .product-hero::before {
        background-size: 155% auto;
    }
}
