.jpt-color {
    background-color: #1b1d72 !important;
}


/* -------------------- sidenav -------------------- */
/* #sidenav-1 {
    width: 80% !important
} */
@media(max-width: 767px) {
    #sidenav-1 {
        width: 260px; /* スマートフォンの場合にはデフォルトの260pxを使用 */
    }
}

@media(min-width: 768px) {
    #sidenav-1 {
        width: 80% !important; /* タブレットやデスクトップの場合には80%を使用 */
    }
}

/* -------------------- navbar -------------------- */
.navbar-scroll .fa-bars,.navbar-scroll .nav-link {
    color: var(--mdb-navbar-scrolled-color)
}
#navbar-1 {
    padding-left: 0; /* 初期のpadding-left値 */
    transition: padding-left 0.3s ease; /* アニメーションのトランジション設定 */
}


/* -------------------- catalog -------------------- */


#catalog-filter-categories a.sidenav-link,
#catalog-filter-brands a.sidenav-link {
    padding-left: 1.0rem !important;
    overflow: revert !important;
    /* overflow: overlay !important; */
    white-space: normal;
    float: left;
    width: 100%;
    height: auto;
}
ul.pagination, ul.pagination-circle {
    margin: 0 !important;
}
/* spinnerを画面の中央に表示する */
.spinner-border {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    z-index: 1060 !important;
}

/* 画像ファイルのアスペクト比を1:1にする */
.square {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 400px; /* 最大幅を指定 */
    height: 0;
    padding-bottom: 100%; /* 高さを0にして、アスペクト比を1:1に保つ */
    overflow: hidden;
}
.square img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
h5.card-title.item_name {
    font-size: 1.0rem;
}
.catalog-card-item-data {
	display:flex;
    align-items: baseline;
    font-size: 1.0rem;
}
.catalog-card-item-data .column {
	flex: 2;
}
.catalog-card-item-data .data span {
	float: right;
}
.catalog-card-item-data .item_qtyut {
	padding-right: 30px;
}
.catalog-card-button {
    width: 100%;
}
.column-data .item_qtyut {
	padding-right: 30px;
}
.itemNumberLine {
    font-size: 0.85rem;
}
.item_quantity {
	width: 70px;
	text-align: right;
	/* padding:3px 0; */
}
/* order deitalやinvoiceのサムネイル画像 */
.item-thumb img {
    max-height: 72px;
    max-width: 72px;
}
/* modal */
#imageModalBody {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
#imageModalBody .carousel-inner {
    width: 1000px;
    height: 1000px;
    background: #fff;
    display: block;
    margin: 0 auto;
}
#imageModalBody .carousel-item {
    width: 1000px;
    height: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff; /* or any other color you prefer */
    overflow: hidden;
}

#imageModalBody .carousel-item img {
    max-height: fit-content;
    max-width: fit-content;
    width: auto;
    height: auto;
}