@charset "UTF-8";

/*Copyright 2018 Hyuga Kouzai.*/
/* CSS Document */
/* ------------------------------------------------ */
/* ▼在庫一覧用(stock.html)
/* ------------------------------------------------ */
.wrapper {
  width: 70%;
  margin: 0 auto 3rem;
  font-family: YuGothic, "游ゴシック体", "Yu Gothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  text-align: center;
}
.wrapper p{
  margin:1rem auto;
}
.top_string {
  display: block;
  width: 95%;
  margin:1rem auto 2rem;
  font-size: 0.8rem;
  text-align: left;
  & > p{
    display: block;
    margin-block-start: 1rem;
    margin-block-end: 1rem;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding: 0;
    line-height: 1rem;
    }
  & > p:nth-of-type(n+2){
    padding-left:1em;
    text-indent:-1em;
  }
  & > p:nth-of-type(n+2)::before{
          content: "※" ;
        }
}
.wrapper .category{
  position: relative;
  display: block;
  width:100%;
  margin: 0rem auto;
}
.wrapper .category .list_header {
  position: relative;
  display: flex;
  height: 4rem;
  padding-left: 1rem;
  padding-right: 2rem;
  background-color: #00afcc;
  border-bottom: 1px solid #fff;
  color: #fff;
  font-size: min(1.5rem, 1.6vw);
  font-weight: bold;
  line-height: 1.5rem;
  align-items: center;
  cursor: pointer;
  transition-duration: 0.2s;
  z-index: +1;
}
.wrapper .category .list_inner .list_header {
  background-color: #e0e0e0;
  padding-left: 1.5rem;
  color:#444;
}
.wrapper .category .list_inner .list_inner .list_header {
  background-color: #fff;
  color:#444;
}
.wrapper .category .list_header:after {
  position: absolute;
  top: 1.5rem;
  right: 1rem;
  display: block;
  width: 7px;
  height: 7px;
  margin: auto;
  content: '';
  transform: rotate(135deg);
  border-top: 2px solid #000;
  border-right: 2px solid #000;
}
.wrapper .category .open::after {
  transform: rotate(-45deg);
}
.wrapper .category .list_header p:first-child {
  width:60%;
  text-align: left;
}
.wrapper .category .list_header p:nth-last-of-type(2) {
  width:15%;
  text-align: right;
  padding-right: 1rem;
}
.wrapper .category .list_header p:last-child {
  width:15%;
  text-align: right;
  padding-right: 1rem;
}
.wrapper .category .list_header:hover {
  opacity: .8;
}
.wrapper .category .list_inner {
  display: none;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  border: #e0e0e0 solid 1px;
  border-top:0px;
  line-height: 2rem;
}
.wrapper .category .list_inner .code p {
  display: inline-flex;
  font-size: min(1.5rem, 1.6vw);
  font-weight: bold;
  margin-block-start: 0.5em;
  margin-block-end:   0.5em;
}
.wrapper .category .list_inner .code p:first-child {
  width:20%;
  padding-left: 6rem;
}
.wrapper .category .list_inner .code p:last-child {
  width:70%;
  padding-left: 2.5rem;
}

@media screen and (max-width: 1024px) {
  .top_string {
    font-size: 0.8rem;
    margin-bottom: 1rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    width: 95%;
  }
  .wrapper .category .list_header {
    font-size: min(1rem, 3.5vw);
    line-height: 1.2rem;
   }
  .wrapper .category .list_inner .code p {
    font-size: min(1rem, 3.5vw);
    font-weight: bold;
  }
}

/* ------------------------------------------------ */
/* タブレット*/
/* ------------------------------------------------ */
@media screen and (orientation: portrait) and (min-width: 760px) and (max-width:1300px) {
  .wrapper {
      width: 80%;
  }
}

/* ------------------------------------------------ */
/* レスポンシブ（780px以下）
/* ------------------------------------------------ */
@media screen and (max-width: 780px) {
  .wrapper  {
    width: 95%;
  }
  .top_string {
    font-size: 0.8rem;
    margin:0 auto;
    width: 90%;
  }
  .wrapper .category .list_header {
    line-height: 1rem;
    letter-spacing: -0.01rem;
    font-size: min(0.9rem, 3.3vw);
  }
  .wrapper .category .list_inner .list_header {
    padding-left: 1rem;
  }
  .wrapper .category .list_header:after {
    top: 1rem;
    right: 1rem;
  }  
  .wrapper .category .list_header p:first-child {
    width:60%;
    font-size: min(1.1rem, 4vw);
  }
  .wrapper .category .list_header p:nth-last-of-type(2) {
    width:12%;
    text-align: right;
    padding-right: 0;
    font-size: min(0.8rem,3.2vw);
  }
  .wrapper .category .list_header p:last-child {
    width:18%;
    text-align: right;
    padding-right: 0.5rem;
    font-size: min(1.1rem, 4vw);
  }
  .wrapper .category .list_inner {
    line-height: 3rem;
  }
  .wrapper .category .list_inner .code p:first-child {
    width:15%;
    padding-left: 1.5rem;
    letter-spacing: -0.1em;
  }
  .wrapper .category .list_inner .code p:last-child {
    width:70%;
    font-size: min(1.1rem,4vw);
    font-weight: bold;
  }  
   .wrapper .category .list_inner .code p {
    line-height: 1rem;
    font-size: min(1rem, 3.5vw);
  }
}

