.item-filter {
  padding: 20px 30px;
  margin-bottom: 70px;
  border-radius: 10px;
  background-color: #fdf7ed;
}

.item-filter p{
  font-size: 1.8rem;
  font-weight: 500;
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid #4B4743;
}

.category-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-left: 0;
}

.tag-button{
  width: 24%;
  border: none;
  background-color: #ccc;
  color: #fff;
  border-radius: 5px;
  padding: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.tag-button:hover {
  background-color: #999;
}

.tag-button.active {
  background-color: #61BB7C;
}

.item_box{
  border-bottom: solid 1px #e0e2e3;
  padding-bottom: 50px;
  margin-top: 50px;
  scroll-margin-top: 160px;
}

.item-image{
  position: relative;
  display: inline-block;
  width: 35%;
  height: auto;
  overflow: hidden;
  border-radius: 5px;
}

.item-image img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  vertical-align: middle;
}

.item-info{
  width: 60%;
  margin-left: 5%;
}

.item-info h2{
  font-size: 1.8rem;
  border-bottom: 2px dotted #ccc;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.item-description{
	margin-bottom: 10px;
}

.item-price_min{
    font-size: 1.8rem;
    font-weight: 500;
	margin-bottom: 10px;
}

.item-price_min span{
	font-size: 1.4rem;
}

.item-prices{
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto 10px;
}


@media (max-width: 768px) {
  .item-filter {
    padding: 15px 10px;
    margin-bottom: 50px;
  }

  .item-filter p{
    font-size: 1.4rem;
  }

  .tag-button{
    width: 49%;
  }

  .item_box{
    max-width: 600px;
    margin: 0 auto 50px;
  }

  .item_box .flex_wrapper{
    flex-direction: column;
  }

  .item-info{
    width: 100%;
    margin-left: 0;
  }

  .item-image{
    width: 100%;
    margin-bottom: 20px;
  }
}

/* 画像表示 */
.lg-toolbar {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;  /* ← 右左に分ける */
  align-items: flex-start;
  padding: 20px 30px 0 30px;
  z-index: 999999;
  background-color: #0d0a0a00 !important;
}

.lg-counter {
  order: 1;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  padding: 6px 14px;
  font-size: 1.1em;
  margin-top: 0;
  margin-right: auto;
}

.lg-close {
  order: 2;
  position: static !important;
  margin-left: auto;
  width: 36px !important;
  height: 36px !important;
  color: #fff !important;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  font-size: 32px !important;
  opacity: 1 !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 999999 !important;
}

.lg-outer.lg-visible{
  width: 100vw;
  height: 95vh;
}

.lg-backdrop{
  background-color: #00000099 !important;
}

.lg-outer .lg-thumb-outer{
  background-color: #0d0a0a00 !important;
}

body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-item.lg-complete .lg-object{
  padding: 8% 5%;
}

.lg-thumb.lg-group{
    margin: 10px auto 0;
}

.zoom-image-wrapper {
  position: relative;
  display: inline-block;
}

.zoom-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 1.6rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 4px 6px;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.zoom-link:hover .zoom-icon {
  background-color: rgba(0, 0, 0, 0.8);
}

/* 追記 */
.item-table{
	width: 100%;
	border-collapse: collapse;
}

.item-table tr{
	border-top: 1px solid #B4B4B4;
}

.item-table tr:last-child{
	border-bottom: 1px solid #B4B4B4;
}

.item-table th{
	width: 32%;
	font-size: 1.4rem;
	background: #f5f5f5;
	padding: 5px 10px;
}

.item-table td{
	width: 68%;
	font-size: 1.4rem;
	line-height: 1.8;
	padding: 5px 10px;
}

.item-category-tag{
	font-size: 1.2rem;
	font-weight: 500;
	color: #fff;
	background: #F3B02B;
/* 	border: 1px solid #4b4743; */
	margin-bottom: 10px;
    padding: 5px 10px;
}

@media (max-width: 768px) {
	.item-table td{
		font-size: 1.2rem;
	}
}