@charset "utf-8";

/* =========================================
   Base & Components
   ========================================= */

.breadcrumb {
	font-size: 12px;
	margin-bottom: 10px;
}

/* ---------------------------------------------------------
 * card
 * --------------------------------------------------------- */
.card {
	width:96%;
	margin:100px auto;
    padding: 14px 16px;
}

.card__body {
	max-width:800px;
	margin:0 auto;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
}
/* image */
.card__image {
	flex: 0 0 300px;
}

.card__img-box {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.card__img-box img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.card__no-image {
    font-size: 12px;
    color: #666;
}
/* content */
.card__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
	align-self:stretch;
    gap: 10px;
	position:relative;
}

.card__name {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    line-height: 1.6;
	border-bottom:1px solid #eee;
}

/* meta */
.card__meta {
    margin: auto 0; /* 縦中央 */
}

.badge {
    display: block;
    font-size: 14px;
}

.badge--cat{
	margin-bottom:20px;
}

.badge__link{
	text-decoration:underline 1px dotted #ccc;
	text-underline-offset: 4px;
}

.badge__link:hover{
	text-decoration:underline 1px dotted #333;
}

.badge--model {
	font-size:16px;
    border-color: #ccc;
    background: #fff;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
}

.badge--price {
	font-size:30px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
}

/* actions */
.card__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
	justify-content:flex-end;
}
a.card__actions-btn{
	display:block;
	padding:14px 30px 12px 30px;
	font-size:14px;
	line-height:1.1;
	letter-spacing:0.3px;
	text-decoration:none;
	border:1px solid #000;
	border-radius:30px;
	color:#fff;
	background:#000;
	transition: transform 0.3s ease, background-color 0.3s ease;
}
a.card__actions-btn:hover{
	opacity:1;
	transform:translateY(-1px);
	color:#000;
	background:#fff;
	text-decoration:none;
}




/* =========================================
   stock-table
   ========================================= */

.stock-table {
	width:96%;
	max-width:1200px;
	margin:0 auto;
}

.stock-table__heading {
    margin: 0 auto 30px auto;
    text-align: center;
    font-size: 20px;
    line-height: 1.6;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
}

.stock-table__updated {
	width:100%;
    font-size: 12px;
	text-align:right;
	padding:0 10px 0 0;
    margin:0 auto 10px auto;
}

.stock-table__note {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin: 5px 0 10px;
	text-align:right;
}

.stock-table__empty {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

.stock-table__wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.stock-table__table {
    table-layout: fixed;
    min-width: 780px;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
}

.stock-table__table th,
.stock-table__table td {
    border-bottom: 1px solid #eee;
    padding: 10px;
    font-size: 13px;
    vertical-align: middle;
    box-sizing: border-box;
}

.stock-table__table th {
    background: #fafafa;
    text-align: center;
    white-space: nowrap;
}

.stock-table__table tbody td {
    text-align: center;
}

.stock-table__table tr:last-child td {
    border-bottom: none;
}

.stock-table__table th:first-child,
.stock-table__table td:first-child {
    width: 200px;
    min-width: 200px;
    text-align: left;
    white-space: normal;
}

.stock-table__table th:not(:first-child),
.stock-table__table td:not(:first-child) {
    width: auto;
}

/* =========================================
   cell（stock-table内のセルコンテンツ）
   ========================================= */

.cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    line-height: 1.2;
}

.cell__stock {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.cell__stock--zero {
    color: #ccc;
}

.cell__price {
    font-size: 12px;
    color: #444;
}

.cell--empty {
    color: #aaa;
    font-weight: 400;
}

.cell__arrival {
    display: block;
    font-size: 10px;
    color: #0066cc;
    font-weight: bold;
    margin-top: 2px;
    line-height: 1.2;
}
