/* 商品確認画面 */

.product-check {
  width: 100%;         /* 親要素の幅を100%に */
}

.product-main-image, 
.product-check-list {
  width: 50%;          /* 左右の要素を50%ずつ */
  padding: 20px;
  box-sizing: border-box;
}

.product-main-image img{
  width: 100%;
  height: auto;
}

/* 商品名など一覧 */

.product-check-list dt {
  width: 100%;
  display: flex;
  line-height: 54px;
  border-bottom: 1px solid;
  position: relative;
  box-sizing: border-box;
  justify-content: space-between;
}


.label {
  width: 30%;
  color: #444;
  font-size: 15px;
  padding-left: 15px;
  box-sizing: border-box;
}

.check-name {
  font-weight: bold;
  width: 60%;
  padding: 0 45px 0 0;
  box-sizing: border-box;
  color: #444;
  font-size: 15px;
}

/* アコーディオンメニュー */

.accordion-label {
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 30%;
  color: #444;
  font-size: 15px;
  padding-left: 15px;
  box-sizing: border-box;
}

.arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

/* 開いたときに矢印を回転 */
.arrow.open {
  transform: rotate(180deg);
}


.accordion-container dt {
  cursor: pointer;
  padding: 10px;
  background-color: #71b8ff;
  margin: 2px 0;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
}

.accordion-container .accordion-content {
  display: none;
  margin-top: 5px;
}

.accordion-container .accordion-content dt {
  background-color: #fff;
  border: 1px solid #ccc;
  margin: 2px 0;
  padding: 0;
  border-radius: 4px;
}

/* 合計金額 */

.subtotal-list dt {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  line-height: 54px;
  border-bottom: none;
  position: relative;
  box-sizing: border-box;
}

.total-price {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  line-height: 54px;
  border-bottom: 1px solid !important;
  position: relative;
  box-sizing: border-box;
}


.subtotal-label{
  flex: 3;
  text-align: right;
  color: #444;
  padding-left: 15px;
  box-sizing: border-box;
}

.total-price-label{
  flex: 3;
  text-align: right;
  font-weight: bold;
  color: #444;
  padding-left: 15px;
  box-sizing: border-box;
}

.price {
  flex: 1;
  text-align: right;
  font-weight: bold;
  padding: 0 45px 0 0;
  box-sizing: border-box;
  color: #444;
}

.total-price-price{
  flex: 1;
  text-align: right;
  font-weight: bold;
  padding: 0 45px 0 0;
  box-sizing: border-box;
  color: #444;
}

/* ボタン */

.button-area{
  display: flex;
  justify-content: center;
}

.cart-btn{
  background-color: #f5a6a6;
}

.button-area button{
  margin: 10px;
}


@media (max-width: 480px) {
  .d-flex{
    display: block !important;
  }

  .product-main-image, 
  .product-check-list{
    width: 100%;
  }

  .accordion-label {
    width: 100%;
  }

  button{
    width: 100% !important;
  }

  .button-area{
    padding: 20px;
    flex-direction: column-reverse;
  }

  .button-area button{
    margin: 0;
    margin-bottom: 20px;
  }
}