/* トップ画面 */
.top-image{
  width: calc(100% + 2em);
  margin: -1em -1em 1em -1em;
  position: relative;
}
.top-image img{
  width: 100%;
  box-sizing: border-box;
}
.top-image span{
  position: absolute;
  top: 10%;
  left: 10%;
  line-height: 2;
  font-family: "Hiragino Mincho Pro", "MS Mincho", serif;
  color: var(--primary-color);
  font-size: calc(3vw);  
  font-weight: bold;
  z-index: 1;  
}

/*写真ボックス */
.photo-box{
  width: 90%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  margin: 2.5em auto;
}
.photo-box button{
  display: block;
  width:45%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border:0;
}
.photo-box img{
  display: block;
  width:100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}
.photo-box span{
  display:block;
  color: #fff;
  margin: 0;
  padding: 0.3em;
  font-size: 1.3em;
  text-align: center;
}
.photo-box__green{
  background-color: #0ad848;
}
.photo-box__lightblue{
  background-color: #2c81e3;
}

/* トップ画面　写真ボックス */
.picture-box-flex{
  width: 90%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  margin: 3em auto;
}
.picture-box{
  display: block;
  width:45%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border:0;
}
.picture-box img{
  display: block;
  width:100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}
.picture-box-title{
  display:block;
  color: #fff;
  margin: 0;
  padding: 0.5em;
  font-size: 1.5em;
  text-align: center;
}
.picture-box-title.green{
  background-color: #0ad848;
}
.picture-box-title.lightblue{
  background-color: #2c81e3;
}

/* 運営者からのお知らせ*/
.information{
  margin: 2em auto;
}
.information summary {
  display: block;
}
.information summary::-webkit-details-marker {
  display: none;
}
.information__summary-inner{
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0.8em;
  border: 1px solid #ccc;
  font-weight: bold;
  color: #002255;
}
.information__important{
  color:red;
  padding-left:0.5em;
}
.information__detail{
  background-color: #fafafa;
  padding:1em;
  margin:0.1em 0em 2em 2em;
}
.information__icon {
  display: block;
  position: relative;
  width: 24px;
  margin-left: 6px;
  flex-shrink: 0;
  transform-origin: center 43%;
  transition: transform 0.4s;
}
.information details[open] .information__icon {
  transform: rotate(180deg);
}
.information__icon::before,
.information__icon::after {
  content: "";
  position: absolute;
  display: block;
  width: 15px;
  height: 3px;
  background-color:var(--primary-color) ;
}
.information__icon::before {
  left: 0;
  transform: rotate(45deg);
}
.information__icon::after {
  right: 0;
  transform: rotate(-45deg);
}

/* 商品詳細 */
.product-detail{
  display: flex;
  flex-direction:row-reverse;
}
.product-detail .product-img{
  padding:1em;
  width:30%;
  text-align: center;
}
.product-detail .product-img img{
  max-width:90%;
  max-height:50em;
  border:#ddd 1px solid;
}
.product-detail table{
  width:70%;
  font-size: 0.9em;
}
@media (max-width: 580px) {
  .product-detail{
    display: block;
  }
  .product-detail .product-img{
    padding:0.5em;
    width:100%;
    box-sizing: border-box;
  }
  .product-detail table{
    width:100%;
    box-sizing: border-box;
  }
} 

/* 商品ファイル一覧 */
.file-list{
  width:100%;
}
.file-list summary {
  display: block;
}
.file-list.summary::-webkit-details-marker {
  display: none;
}
.file-list span.summary-inner{
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;  
  align-items: center;
  padding: 0.8em;
  border: 1px solid #ccc;
  color: #111;
}
.file-list div.detail{
  background-color: #fafafa;
  padding:1em;
}
.file-list-icon {
  display: block;
  position: relative;
  width: 24px;
  margin-right: 6px;
  flex-shrink: 0;
  transform-origin: center 43%;
  transition: transform 0.4s;
}
.file-list details[open] .file-list-icon {
  transform: rotate(180deg);
}
.file-list-icon::before,
.file-list-icon::after {
  content: "";
  position: absolute;
  display: block;
  width: 15px;
  height: 3px;
  background-color: var(--primary-color) ;
}
.file-list-icon::before {
  left: 0;
  transform: rotate(45deg);
}
.file-list-icon::after {
  right: 0;
  transform: rotate(-45deg);
}

/* 購入オプション選択 */
.purchase-option{
  width:95%;
  box-sizing: border-box;
  max-width:500px;
  background-color: #eee;
  margin:1em auto;
  padding:1em;
  text-align: center;
  font-size: 1.2em;
}



/* 総合評価 */
.total-review-box{
  display: flex;
  justify-content:space-around;
  background-color: #f7f6fd;
  width:90%;
  max-width:500px;
  padding: 1em;
  margin: 1em auto;
  border: 1px solid #6a63f6;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  color: #333;
}

/* 売上合計 */

.total-sales{
  font-weight: bold;
  background-color: #eee;
  text-align: center!important;
}

