@charset "UTF-8";

.sales-history-wrapper {
  width: calc(100% - 60px);
  max-width: 840px;
  margin: 40px auto;
}

.sales-history-wrapper .product-name {
  padding: 0 15px;
  font-size: 2.6rem;
  font-family: Avenir;
  font-weight: bold;
  line-height: 1.3;
}

.sales-history-wrapper .product-img {
  background: #fff;
  height: auto;
  width: calc(100% - 80px);
  margin: 0 auto;
  overflow: hidden;
}

.sales-history-wrapper .product-img img {
  width: 100%;
  height: auto;
}

.sales-history-wrapper .size-area {
  padding: 20px 15px 15px;
}

.sales-history-wrapper .size-title {
  position: relative;
  font-size: 1.8rem;
  font-family: Avenir;
  font-weight: bold;
  line-height: 1.2;
}


/* 売買履歴 */

.sales-history-wrapper .sales-history.item-title {
  margin: 15px 0 0 0;
}

.sales-history-wrapper .sales-history.item-title li {
  border-bottom: 1px solid #e5e5e5;
  padding: 0 0 2px;
}

.sales-history-wrapper .sales-history.item-title .date,
.sales-history-wrapper .sales-history.item-title .size,
.sales-history-wrapper .sales-history.item-title .price {
  font-size: 1.1rem;
  color: #999;
}

.sales-history-wrapper .sales-history.item-list {
  width: 100%;
  padding: 10px 0 10px 0;
  margin: 0 0 25px 0;
  overflow-y: scroll;
  min-height: 10px;
  max-height: 170px;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid #e5e5e5;
}

.sales-history-wrapper .sales-history li {
  display: flex;
  flex-wrap:nowrap;
  flex-direction: row;
  align-items: center;
  padding: 3px 0;
}

.sales-history-wrapper .sales-history li .no-text {
  font-size: 1.3rem;
  color: #999;
  text-align: center;
  margin: 10px auto;
  font-weight: bold;
}

.sales-history-wrapper .sales-history .icon-box {
  width: 22px;
  height: 22px;
  overflow: hidden;
  border-radius: 100px;
  background: #fff;
}

.sales-history-wrapper .sales-history .icon-box img {
  width: 100%;
}

.sales-history-wrapper .sales-history .date {
  font-size: 1.2rem;
  color: #666;
  padding: 0 0 0 10px;
  flex-basis: 55%;
}

.sales-history-wrapper .sales-history .size {
  font-size: 1.4rem;
  color: #000;
  flex-basis: 20%;
}

.sales-history-wrapper .sales-history .price {
  font-size: 1.4rem;
  color: #000;
  text-align: right;
  flex-basis: 25%;
}

/* 中古売買履歴 */

.sales-history-wrapper .sales-history li.used .size{
  position: relative;
}

.sales-history-wrapper .sales-history li.used .size:before{
  position: absolute;
  content: "中古";
  left: -38px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  border: 1px solid #ccc;
  color: #ccc;
  border-radius: 3px;
  padding: 3px 4px 1px;
  box-sizing: border-box;
  font-weight: bold;
}

/* 売買相場 */

.sales-history-wrapper .sales-market-price {
  margin: 15px 0 20px 0;
}

.sales-history-wrapper .sales-market-price .highcharts-figure {
  margin: 20px 0 0 0;
}

.sales-history-wrapper .sales-market-price .highcharts-figure {
  margin: 20px 0 0 0;
}

.sales-history-wrapper .sales-market-price .chart-button-wrapper {
  margin: 15px 0 15px;
  display: flex;
  justify-content: center;
  justify-content: space-between;
  background: #eee;
  border-radius: 6px;
}

.sales-history-wrapper .sales-market-price .chart-button-wrapper input[type=radio] {
  display: none;
}

.sales-history-wrapper .sales-market-price .chart-button-wrapper li {
  padding: 3px;
  flex-grow: 1;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1;
}

.sales-history-wrapper .sales-market-price .chart-button-wrapper label {
  border-radius: 5px;
  display: block;
  padding: 10px 0 8px;
  color: #000;
  box-sizing: border-box;
}

.sales-history-wrapper .sales-market-price .chart-button-wrapper input:checked + label {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 0px rgb(0 0 0 / 8%);
  color: #000;
  font-weight: bold;
}

.sales-history-wrapper .sales-market-price .chart-button-wrapper input:disabled + label {
  color: #ccc;
}

.sales-history-wrapper .sales-market-price .highcharts-figure {
  position: relative;
}

.sales-history-wrapper .sales-market-price .highcharts-figure .none {
  position: absolute;
  width: 100%;
  margin: auto;
  top: 50px;
  left: 0px;
}

.sales-history-wrapper .sales-market-price .highcharts-figure .none .img {
  background: url("../../../img/product/product-graph-none.png") no-repeat top center;
  background-size: auto 100%;
  height: 115px;
  width: 300px;
  margin: auto;
}

.sales-history-wrapper .sales-market-price .highcharts-figure .none .text {
  font-size: 1.3rem;
  color: #999;
  text-align: center;
  font-weight: bold;
}

.sales-history-notes{
  position: absolute;
  right: 0;
  font-size: 1.1rem;
  color: #999;
  font-weight: normal;
  bottom: 0;
}

/* 商品情報 */

.product-info-area {
  padding: 20px 15px 0;
}

.product-info-area .title {
  font-size: 1.8rem;
  font-family: Avenir;
  font-weight: bold;
  line-height: 1.2;

}

.product-detail-info-table {
  width: 100%;
  margin: 10px 0 0 0;
  border: 0;
}

.product-detail-info-table tr {
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 0 8px 0;
  display: block;
}

.product-detail-info-table tr:last-child {
  border: none;
}

.product-detail-info-table tr th {
  width: 30%;
  display: inline-block;
  text-align: left;
  font-size: 1.2rem;
  font-weight: bold;
  color: #999;
  line-height: 2;
  vertical-align: top;
}

.product-detail-info-table tr td {
  width: 69%;
  display: inline-block;
  text-align: right;
  font-size: 1.3rem;
  color: #000;
  line-height: 1.4;
}
