@charset "UTF-8";

.body {
  background-color: #eaeded;
}

.contents-and-side-contents {
  display: flex;
  justify-content: center;
}

.contents {
  background-color: white;
  margin-top: 20px;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
}

/* カートが空のもの */
.contents-empty {
  background-color: white;
  margin-top: 20px;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  width: 500px;
  padding-top: 20px;
  padding-left: 20px;
  padding-bottom: 20px;
}

.empty-text {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 20px;
}

.backtolist {
  font-size: 16px; 
  border: solid 1px black;
  border-radius: 5px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 2px;
  padding-bottom: 2px;
  width:150px;
  text-align: center;
}

.side_contents {
  background-color: white;
  margin-top: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
}

.title {
  font-size: 24px;
  margin-left: 30px;
  margin-right: 30px;
  margin-top: 20px;  
  margin-bottom: 20px;
  padding-bottom: 30px;
  border-bottom: solid 1px lightgray;
}

.product {
  display: flex;
  border-bottom: solid 1px lightgray;
  margin-left: 30px;
  margin-right: 30px;
  padding-bottom: 20px;
}

.checkbox {
  margin-left: 30px;
  margin-right: 30px;
}

.gazou {
  min-width: 130px;
  max-width: 130px;
  height: 130px;
  margin-right: 30px;
  overflow: hidden;
}

.gazou img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
}

.image-container {
  width: 300px;
  height: 200px;
  background-color: #f0f0f0;
}

.pro_name_and_textbox {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 130px;
}


.quantity-box {
  display: flex;
  flex-direction: row;
  border: solid 2px #ffd900;
  width: 80px;
  height: 24px;
  border-radius: 20px;
  padding-left: 5px;
  padding-right: 5px;
  text-align: center;
  overflow: hidden;
}

.textbox {
  border: none;
  width: 50px;
  text-align: center;
}

.kazu_change {
  background-color: white;
}

.delete-btn {
  background-color: white;
  border: none;
}

.delete {
  border: none;
  background-color: white;
  color: gray;
  border-left: solid 1px lightgray;
  border-right: solid 1px lightgray;
  padding-left: 8px;
  padding-right: 8px;
  font-size: 12px;
}

.delete:hover {
  cursor: pointer;
}

.price {
  /* align-self: flex-end; */
  text-align: right;
  margin-left: auto;
  font-weight: bold;
  margin-right: 30px;
  font-size: 16px;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}
.price span {
  font-weight: normal;
}

.syoukei {
  font-weight: bold;
  margin-right: 30px;
  font-size: 16px;
}

.total {
  font-weight: bold;
  font-size: 16px;
  text-align: right;
  margin-right: 30px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-right: 30px;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;

}

.total span {
  font-weight: normal;
}

.side_contents {
  width: 240px;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 16px;
  padding-right: 16px;
  text-align: right;
}

.side_total {
  font-weight: bold;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}
.side_total span {
  font-weight: normal;
}

.order, .kaiin-order{
  border-radius: 50px;
  background-color: #ffd900;
  min-width: 200px;
  padding-top: 2px;
  padding-bottom: 2px;
  text-align: center;
  font-size: 12px;
  margin-bottom: 10px;
}

.order:hover {
  background-color:#f8d300;
}
.kaiin-order:hover {
  background-color:#f8d300;
}

.kazu_change {
  border: none;
}

.shipping, .side_shipping {
  font-size: 0.9em;
  margin-top: 5px;
}

.grand_total, .side_grand_total {
  font-weight: bold;
  margin-top: 10px;
}