/* iPhone 6 and 6 Plus */
@media only screen
  and (max-device-width: 640px),
  only screen and (max-device-width: 667px),
  only screen and (max-width: 480px){
    .purchase-history {
      padding: 0px !important;
    }
    .product-category-link-container {
      padding: 0px;
    }
    .purchase-item {
      border-bottom: 1px solid #e5e5e5;
    }
}
.purchase-history {
  padding:0px 75px;
}
.purchase-history .panel-heading{
  height:82px;

  display: flex;
  align-items: center;

  -webkit-box-pack: justify!important;
  -webkit-justify-content: space-between!important;
  -ms-flex-pack: justify!important;
  justify-content: space-between!important;

  width: 100%;
  padding: 20px 15px 0px;
}
.purchase-history  hr{
  margin-top: 0;
  margin-left: 15px;
  margin-right: 15px;
}
.purchase-history .account-name {
  font-size: 14px;
}
.purchase-history .account-name {
  color:#00b1af;
}
.purchase-history .account-name::after {
  color: #000;
  content:'さん'
}



.purchase-history .title, .purchase-history .title-mobile{
  text-align: center;
  font-size: 24px;
}
.purchase-history .account-name,.purchase-history .title,.purchase-history .edit-account-btn-container{
   max-width: 50%;
}


.purchase-history .panel-body{
  margin-top: 10px;
}

.purchase-history .card  {
    max-width: 200px;
    margin-right: auto;
    margin-left: auto;
    display: block;
}


.purchase-item-container {
  margin-top: 15px;
}

.purchase-item {
  /*background-color: red;*/
  /*padding: 0;*/
  padding:15px;
}

@media only screen and (max-width : 768px) {

  .purchase-item .purchase-info {
    padding: 10px !important;
  }
}

/* iPhone 6 and 6 Plus */
@media only screen
  and (max-device-width: 640px),
  only screen and (max-device-width: 667px),
  only screen and (max-width: 480px){
    .purchase-item .product-image-container{
      height: 100px !important;
    }

}
.purchase-item .product-image-container{
  height: 200px;
  background: #dfe8f7;
  padding: 0;
  /*padding-left: 0;*/
}


.purchase-item .product-image-container img{
  max-height: 100%;
  max-width: 100%;
  width: auto;
  margin-right: auto;
  margin-left: auto;
  display: block;
}

.purchase-history .purchase-date{
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
}
.purchase-history   .footer {
    position: static;
    height: auto;
}
 .purchase-history  .description {
    font-weight: bold;
    color: #000;
}
.purchase-history .price {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
}
.purchase-history .description{
  font-size: 16px;
  letter-spacing: 0.14em;
}
@media only screen and (max-width : 768px), screen and (max-width : 1243px) and (-webkit-min-device-pixel-ratio:2){
  .purchase-history  .product-detail-link {
    position: absolute;
    transform: translate(0, -50%);
    top: 50%;
    right: -10px;
    margin: 0;

  }
  .purchase-history  .product-detail-link .text {
    display: none;
  }

  .purchase-history .edit-account-btn {
    color: #00b1af;
    background-color: #fff !important;
    border-radius: 0 !important;
    font-size:24px;
    padding: 0 !important;
  }
  .purchase-history .edit-account-btn .icon-container {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 38px;
    color: #fff;
    background-color: #00b1af !important;
    border-radius: 30px !important;
  }
}

.purchase-history  .product-detail-link a{
  color:#a8a8a8;
  font-weight: bold;
  letter-spacing: 0.16em;
}
.purchase-history  .product-detail-link a:focus, a:hover{
  text-decoration: none;
}

.purchase-history .edit-account-btn {
  padding:5px 15px;
  background-color: #00b1af;
  font-size: 14px;
  border-radius: 30px;
}