/* ***********************
    lp_variation.tpl
*********************** */

.lp_cart-section {
  float: none !important;
  margin: auto;
  overflow-x: hidden;
}
.lp_variation{
  display: block;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 16px;
  color: #333333 !important;
  margin: auto;
  max-width: 720px;
}
.lp_variation-select{
  width: 67%;
  margin-right: 2%;
  padding-left: 1em;
  height: 48px;
  font-size: 16px;
  border: 1px solid #666;
  color: #333333;
}
.lp_variation-input{
  width: 30%;
  height: 48px;
  font-size: 16px;
  margin-left: 0 !important;
}
.amount select{
  width: 30%;
  color: #333333;
  margin-right: 2%;
  padding-left: 1em;
  height: 48px;
  font-size: 16px;
}
.amount td {
  width: 80%;
}

/* レスポンシブ */
@media screen and (min-width: 641px) {
  .lp_cart-section {
    width: calc(100% - 40px) !important;
  }
}

@media screen and (max-width: 640px) {
  .lp_variation-select{
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
    font-size: 0.8em;
    
  }
  .lp_cart-section {
    width: 90% !important;
  }
  .lp_variation-input{
    width: 100%;
    margin-top: 8px;
    margin-left: 0;
  } 
}

@media screen and (max-width: 374px){
  .lp_variation-select{
    width: 100%;
    font-size: 0.65em;
  }
  
}

/* ***********************
        lp_cart.tpl
*********************** */
.lpcart_table, .lpcart_table tr, .lpcart_total {
  width: 100% !important;
  line-height: 48px;
}
.lpcart_table {
  margin: 0px !important;
}
.lpcart_table tr {
  display: table-row;
}
.lpcart_table th, .lpcart_table td {
  display: table-cell;
}
.lpcart_total {
  margin-top: 10px;
}
.lpcart_table, .lpcart_table td, .lpcart_table th {
  border: 1px rgb(221, 221, 221) solid;
  border-collapse: separate;
  border-spacing: 2px;
}
.lpcart_table-tr{
  text-align: left;
}
.lpcart_table-tr th {
  width: 40%;
}
.lpcart_table-tr td {
  width: calc(60% - 10px);
}
.lpcart_table-tr th,
.lpcart_table-tr td{
  padding: 10px;
}

/* レスポンシブ */

@media screen and (min-width: 641px) {
  .sp-only {
    display: none;
  }
  
  .lpcart_variation_table .item_name {
    text-align: left;
    width: 60%;
  }
  .lpcart_variation_table .qty {
    width: 10%;
  }
  .lpcart_variation_table .qty select {
    width: 100%;
    color: #333333;
    text-align: center;
    height: 48px;
    font-size: 16px;
  }
  .lpcart_variation_table .unit_price {
    text-align: right;
    padding-right: 10px;
    width: 15%;
  }
  .lpcart_variation_table .subtotal {
    text-align: right;
    padding-right: 10px;
    width: 15%;
  }
}

@media screen and (max-width: 640px) {
  .lpcart_table, .lpcart_table tr, .lpcart_total  {
    font-size: 16px !important;
    line-height: 26px;
    letter-spacing: 0.05em;
  }
  .lpcart_table tr {
    width: calc(100% - 20px) !important;
  }
  .sp-only {
    display: block;
  }
  
  .lpcart_variation_table .item_name {
    text-align: left;
    width: 40%;
  }
  .lpcart_variation_table .qty {
    width: 20%;
  }
  .lpcart_variation_table .qty select {
    width: 100%;
    color: #333333;
    text-align: center;
    height: 48px;
    font-size: 16px;
  }
  .lpcart_variation_table .unit_price {
    text-align: right;
    width: 20%;
  }
  .lpcart_variation_table .subtotal {
    text-align: right;
    width: 20%;
  }
}

