body {
    font-family: 'Kosugi Maru', sans-serif;
}

.ec-newItemRole__listItem a{
    display: block;
}

.ec-newItemRole__listItemPrice{
    white-space: nowrap;
    display: inline-block;
    text-align: right;
}
.ec-newItemRole__listItem .price-tax{
    display: block;
    text-align: right;
}

/*カテゴリーメニュー調整*/
.category-nav {
    font-size: 16px;
    padding: 0 1rem;
}

.category-item {
    border-bottom: 1px solid #ccc;
}

.toggle-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    height: 60px; /* ← 縦幅を固定 */
    box-sizing: border-box;
}

.toggle-category.no-children {
    display: flex;
    align-items: center;
    padding: 1rem;
    height: 60px; /* ← 同じく縦幅固定 */
    box-sizing: border-box;
}

.sub-menu .toggle-category.no-children, .ec-newItemRole__listItemPrice {
    display: flex;
    align-items: center;
    padding: 1rem;
    height: 20px; /* ← 同じく縦幅固定 */
    box-sizing: border-box;
}
.sub-menu .category-item {
    border-bottom: none;
    border-left: 2px solid #ccc;
}

.category-name {
    font-weight: bold;
    text-decoration: none;
    color: #333;
    flex: 1;
}

.category-name:hover {
    text-decoration: underline;
}

.toggle-button {
    all: unset;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.icon-cross {
    position: relative;
    width: 16px;
    height: 16px;
    display: inline-block;
}

.icon-cross .line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background-color: #333;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.icon-cross .horizontal {
    transform: translate(-50%, -50%) rotate(0deg);
}

.icon-cross .vertical {
    transform: translate(-50%, -50%) rotate(90deg);
}

.icon-cross.open .horizontal {
    transform: translate(-50%, -50%) rotate(45deg);
}

.icon-cross.open .vertical {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.sub-menu {
    display: none;
    list-style: none;
    padding-left: 1.5rem;
    margin: 0;
}

.sub-menu li {
    padding: 0.5rem 0;
}

.sub-menu li a {
    color: #555;
    text-decoration: none;
}

.sub-menu li a:hover {
    text-decoration: underline;
}
/*一覧ページ調整*/
.price02-default , .product_item_inc_price{
    font-size: 1.3rem;
    font-weight: bold;
    color: #e60012; /* ECサイトでよく使われる赤系 */
    text-decoration: underline;
    text-align: right;
    margin-bottom: 10px;
}
.ec-newItemRole__listItemPrice{
    font-size: 1.3rem !important;
    font-weight: bold;
    color: #e60012; /* ECサイトでよく使われる赤系 */
    text-decoration: underline;
    padding: 0;
    margin-bottom: 6px;
    display: block;
    text-align: right;
}
.ec-newItemRole__listItemPrice .price-tax{
    font-size: 0.65rem !important;
    white-space: nowrap;
    display: inline-block;
    align-items: flex-end;
}
.ec-price__price{
    font-size: 1.5rem;
    font-weight: bold;
    color: #e60012; /* ECサイトでよく使われる赤系 */
    text-decoration: underline;
    text-align: right;
    margin-bottom: 10px;
}
.price-tax {
    font-size: 0.85rem;
    color: #666;
}

.ec-shelfGrid__item {
    /* スムーズにアニメーションするための設定 */
    border: 1px solid #eee;        /* 薄いグレーの境界線で区切り */
    border-radius: 6px;            /* 少し角丸にして柔らかく */
    background-color: #fff;        /* 背景は白で清潔感 */
    overflow: hidden;              /* 画像などのはみ出しを防止 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ec-shelfGrid__item img{
    padding-top: 10px;
}

.ec-shelfGrid__item:hover {
    /* 少し上に移動させて浮き上がり感 */
    transform: translateY(-5px);
    /* 軽めのシャドウで立体感をプラス */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ec-shelfGrid__item:hover img {
    filter: brightness(1.05);
}

.btn-view-product {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #000;
    color: white !important;
    font-size: 0.9rem;
    font-weight: bold;
    border: none;
    text-decoration: none;
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s ease;
}

.btn-view-product:hover {
    background-color: #333;
}

.product-button, .btn-view-product{
    margin-top: auto;
    text-align: center;
}


.category-title{
    position: relative;
    color: black;
    line-height: 1.4;
    -webkit-box-reflect: below -10px -webkit-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,0) 10%,rgba(0, 0, 0, 0.6));
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}
.notification {
    font-weight: bold;
    color: red;
}