@charset "UTF-8";
/* CSS Document */

.catalog-new{margin-top:30px;}
.catalog-new .row{margin: 0!important;}
.catalog-product-panel {
    display: none;
}

.catalog-product-panel.active {
    display: block;
}

.catalog-car-table {
    display: none;
}

.catalog-car-table.active {
    display: block;
}
	.maker-logo{
		display: block;
		width: 100px;
	}
		
/**********メニューカスタマイズ******************/
	@media (max-width : 480px){
		
		.navbar-nav{flex-direction: row;}
		.nav-item{width: 33%; padding: 0!important;}
		.nav-link .name{font-size: 1em!important;}
		
	}
	.catalog-no-result {
    padding: 40px 20px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    background: #f5f5f5;
    border-radius: 6px;
}



/*******テーブルスタイル上書き***************/

table.dm-table tbody td{
	vertical-align: baseline;
}
@media (min-width : 481px){
table.dm-table tbody td{
	min-width: 150px;}
	
	.dm-table tbody tr:nth-child(2) {
    border-top: 0.5px solid #ddd;
		 display: table;
    width: 100%;
}
	
	
}
@media (max-width : 480px){
	table.dm-table tbody td{width:100%;}
	}

@media (max-width : 480px){
td.product_id{
	display: none;
}
}

    table.dm-table tbody td.product_id p{
	background-color: #d20000;
    border-radius: 10px;
    color: white;
    display: inline-block;
    border: none;
    padding: 5px 10px;
    font-size: 1.2em;
}


/*******フラットキット色分け***************/
.td-match .match-ok {
    color: #28a745;
    font-weight: bold;
}

.td-match .match-ng {
    color: #dc3545;
    font-weight: bold;
}
@media (max-width : 480px){
    .flatkit-table .td-seat, .flatkit-table .td-bed, .flatkit-table .td-console {
        width: calc(100% / 3);
}
}


/* ==============================
   商品切替ボタン
============================== */

.catalog-product-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 30px 0;
}

.catalog-product-btn {
    width: 100%;
    min-width: 0;
    padding: 16px 10px;

    border: 1px solid #ddd;
    border-radius: 6px;

    background: #fff;
    color: #333;

    font-size: 15px;
    font-weight: bold;
    line-height: 1.4;

    text-align: center;
    cursor: pointer;

    transition: 0.2s;
}

.catalog-product-btn:hover {
    border-color: #333;
    background: #f5f5f5;
}

.catalog-product-btn.active {
    border-color: #222;
    background: #222;
    color: #fff;
}

@media (max-width: 767px) {

    .catalog-product-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin: 20px 0;
    }

    .catalog-product-btn {
        padding: 13px 5px;
        font-size: 13px;
    }

}

.catalog-product-btn {
    position: relative;
}

.catalog-product-btn.active::after {
    content: "";
    position: absolute;
    left: 15%;
    right: 15%;
    bottom: -1px;
    height: 4px;
    background: #ffc107;
}
}