/* .........................................
//
// ページ：カート機能の商品一覧ページ
//
// ......................................... */

.product-category-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
}

.product-category a {
    display: flex;
    width: 320px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px;
    background-color: #F7F7F6;
    text-decoration: none;
    color: var(--Main);;
     font-weight: var(--font-weight-bold);
}

.product-category .icon img {
    width: 24px;
    height: 24px;
}

.product-description-wrap {
  margin-top: 64px;
  line-height: var(--line-height-180);
}

.section-wrap {
  margin-top: 24px;
}

.section-label {
  background-color: var(--Main);
  color: var(--White);
  width: fit-content;
  padding: 0px 10px;
  margin-bottom: 16px;
}

.bank-table-wrap {
  margin-top: 24px;
}

.bank-table {
  margin-top: 16px;
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.bank-table thead tr {
  background-color: var(--Sub);
}

.bank-table th,
.bank-table td {
  border: 1px solid #ddd;
  padding: 20px;
  font-weight: var(--font-weight-bold);
}

.bank-table tbody td {
  background-color: var(--White);
  font-weight: bold;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 64px;
}

.product-card {
  width: 231px;
  background: var(--White);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  box-sizing: border-box;
}

.product-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.product-title {
  font-weight: var(--font-weight-bold);
  margin-bottom: 16px;
}

/* 金額表示 */
.product-price {
  border-top: 1px solid var(--Border);
  padding-top: 8px;
  font-size: var(--font-size-18);
  margin-bottom: 16px;
}

.add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--Accent);
  color: var(--White);
  border: none;
  border-radius: 8px;
  padding: 8px 24px;
  font-weight: var(--font-weight-bold);
  cursor: pointer;
}

.add-btn img {
  width: 24px;
  height: 24px;
}

.show-btn-wrap {
  margin: 48px 0px 0px 0px;
}

.show-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--Main);
  color: var(--White);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-14);
  padding: 16px 48px;
  border-radius: 8px;
  text-decoration: none;
  position: relative;
}

.show-btn img {
  width: 24px;
  height: 24px;
}

.cart-count {
    position: absolute;
    top: 6px;
    right: 11px;
    background-color: var(--Important);
    color: var(--White);
    font-size: var(--font-size-12);
    font-weight: var(--font-weight-bold);
    border-radius: 50%;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
    padding: 8px;
    line-height: var(--line-height-none);
}


.fw-bold {
  font-weight: 700;
}

.badge-flow-wrap {
  margin-top: 48px;
}

.attention-credit {
  font-size:24px;
  padding:16px;
  margin-top: 20px;
  color: #FF0000;
  background-color: #FFE100;
  font-weight: 700;
}
@media(max-width: 1310px){
  .attention-credit {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .product-category-wrap{
    gap: 30px;
  }
  .product-list{
    gap: 0;
    justify-content: space-around;
  }
  .product-card{
    width: 210px;
  }
  .add-btn{
    padding: 8px 19px;
  }
}
@media (max-width: 480px) {
  .bank-table thead {
    display: none; /* ヘッダー非表示 */
  }
  .bank-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
  }
  .bank-table td {
    display: block;
    text-align: left;
    padding: 0;
  }
  .bank-table tbody td{
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .bank-table td::before {
    content: attr(data-label); /* ヘッダー名を表示 */
    font-weight: bold;
    display: inline-block;
    width: 7.5em;
    padding: 12px 16px;
    background-color: var(--Sub);
  }
  .product-card{
    width: 180px;
  }
  .product-title{
    font-size: 14px;
  }
  .product-price{
    font-size: 16px;
  }
  .add-btn{
    width: 140px;
    padding: 8px 7px;
  }
}
