ul.image-list li {
  display: none;
  margin: 10px;
}
ul.image-list li .image-box {
  width: 160px;
  height: 180px;
  position: relative;
  text-align: left;
  padding-bottom: 20px;
}
ul.image-list li .image-box span {
  color: #AEAFAF;
}
ul.image-list  {
  padding: 0;
  margin: 0;
}
.image-box img.image {
  width: 100%;
  height: 100%;
  margin-top: 2px;
  border-radius: 10px;
  object-fit: contain;
  filter: drop-shadow(0 5px 5px rgba(0,0,0,0.2));
  cursor: pointer;
  background-color: #fff;
}
.image-box .disabled-checkbox {
  position: absolute;
  right: 12px;
  bottom: 5px;
}

/* 元を非表示 */
input[type="checkbox"]{
  display: none;
}
/* チェックボックスの代わりを成すラベル */
.image-box input[type="checkbox"]+label{
  display: block;
  position: relative;
  cursor: pointer;
}
/* ボックス□ */
.image-box input[type="checkbox"]+label::before{
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  margin-top: -10px;
  right: 10px;
  bottom: 15px;
  border: 1px solid;
  border-color:  #585753;
  background-color: #FFF; /* 背景の色 */
  border-radius: 50%;
}
/* チェックが入った時のボックス */
.image-box input[type="checkbox"]:checked+label::before {
  background-color: #000000;
}

/* チェックが入った時のレ点 */
.image-box input[type="checkbox"]:checked+label::after{
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 18px;
  height: 9px;
  margin-top: -9px;
  bottom: 28px;
  right: 15px;
  transform: rotate(-45deg);
  border-bottom: 2px solid;
  border-left: 2px solid;
  border-color:  #ffffff; /* チェックの色 */
}

html, body {
  height: 100%;
}
body {
  margin: 0;
  padding-left: 20px;
  font-family: 'Noto Sans JP', sans-serif;
}
* {
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}
#base {
  height: 100%;
  min-height: 500px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
.category-btn {
  width: 150px;
}
.category-btn li {
  padding: 15px 2.5em;
  border-radius: 30px 0 0 30px;
  margin: 5px -1px 5px 1px;
}
/* #IDcate00 {
  background-color: #343534;
}
#IDcate01 {
  background-color: #E9CA43;
}
#IDcate02 {
  background-color: #F29DBB;
}
#IDcate03 {
  background-color: #A6D4FB;
}
#IDcate04 {
  background-color: #91CA72;
} */
.tab-wrap {
  height: 100%;
  display: flex;
}
.tab_list {
  border-right: #343434 3px solid;
  height: 100%;
  width: 174px;
}

.a .tab_list {
  border-right: #d66ddf 3px solid;
}
.b .tab_list {
  border-right: #E9CA43 3px solid;
}
.c .tab_list {
  border-right: #F29DBB 3px solid;
}
.d .tab_list {
  border-right: #A6D4FB 3px solid;
}
.e .tab_list {
  border-right: #91CA72 3px solid;
}

.tab-label {
  width: 100%;
  top: 145px;
  white-space: nowrap;
  border-radius: 30px 0 0 30px;
  margin: 5px -1px 5px 1px;
  padding: 10px 1.5em;
  order: -1;
  position: relative;
  cursor: pointer;
  float:left;
  color: #ffffff;
  font-weight: bold;
  left: 20px;/* chekedとの差 */
}

.tab-label.all {
  background-color: #343534;
}
.tab-label.a {
  background-color: #d66ddf;
}
.tab-label.b {
  background-color: #E9CA43;
}
.tab-label.c{
  background-color: #F29DBB;
}
.tab-label.d {
  background-color: #A6D4FB;
}
.tab-label.e {
  background-color: #91CA72;
}
.tab-content {
  display:none;
}
/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}
/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 40px 40px 0;
  clear: both;
  overflow: hidden;
}
/*選択されているタブのコンテンツのみを表示*/
#contents {
  width: 55%;
  overflow: scroll;
}
#base.all .image-list li {
  display: inline-block;
}
#base.a .image-list li.a {
  display: inline-block;
}
#base.b .image-list li.b {
  display: inline-block;
}
#base.c .image-list li.c {
  display: inline-block;
}
#base.d .image-list li.d {
  display: inline-block;
}
#base.e .image-list li.e {
  display: inline-block;
}

/* アクティブなタブ */
.tab-switch:checked+.tab-label {
  width: 113%;
  left: 0;
}

/* ラジオボタン非表示 */
input[name="TAB"] {
  display: none;
}
.icon {
  width: auto;
  height: 155px;
  position: absolute;
  top: 0;
  left: 10px;
}
.icon_sp {
  width: 60px;
  margin-left: 15px;
}
.question {
  width: 200px;
  height: 60px;
  top: 600px;
  position: absolute;
}
.logo {
  width: 100px;
  height: 60px;
  bottom: 15px;
  left: 40px;
  position: absolute;
}
.logo_sp {
  width: 70px;
  padding-bottom: 8px;
}
.about_btn,
.request_btn {
  background-color: #343534;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  position: absolute;
  font-size: inherit;
  font-weight: bold;
  width: 140px;
  padding: 8px 0;
}
.about_btn {
  bottom: 140px;
}
.request_btn {
  bottom: 85px;
}

.arrow1 {
  width: 60px;
  height: 60px;
  top: 300px;
  left: 80px;
  position: absolute;
}
.arrow2 {
  width: 60px;
  height: 60px;
  top: 500px;
  left: 80px;
  position: absolute;
}
.cart {
  height: 100%;
  width: 26%;
  min-width: 250px;
  box-shadow: -8px 0 10px -6px #c8c8c8;
  z-index: 1;
}
.cart .title {
  text-align: center;
  padding: 15px;
  box-shadow: 0px 8px 16px -5px #c8c8c8;
}
.cart ul,.cart_sp ul {
  margin: 0;
  padding: 0;
}
.spinner_block {
  text-align: center;
}
.spinner_block span {
  font-size: 0.8rem;
  color: #343434;
}
.select_box {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  padding: 18px 0;
  border-bottom: 1px solid #AEAFAF;
}
.select_box img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  border: 1px solid #AEAFAF;
}

.select_box .item_no {
  margin-bottom: 20px;
}
.spinner-container {
  display: flex;
  justify-content: center;
  user-select: none;
  -webkit-touch-callout: none;
  align-items: center;
}
.spinner {
  width: 50px;
  padding: 7px 0;
  border-radius: 5px;
  text-align: center;
  border: 1px solid #AEAFAF;
  background: none;
  outline: none;
  pointer-events: none;
  font-size: 1.5rem;
  margin: 0 10px;
  color: #656565;
}
.spinner::-webkit-inner-spin-button,
.spinner::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
.spinner_block .spinner-sub,
.spinner_block .spinner-add {
  display: block;
  width: 35px;
  height: 35px;
  text-align: center;
  border: 1px solid #343534;
  border-radius: 50%;
  cursor: pointer;
  line-height: 32px;
  background-color: #343534;
  color: #FFF;
  font-size: 1.5rem;
}
.spinner_block .spinner-sub {
  line-height: 28px;
}
.disabled {
  opacity: 0.3;
  cursor: inherit;
}
/* 見てみるボタン */
.submit_btn {
  text-align: center;
  cursor: pointer;
  bottom: 0;
  position: fixed;
  background-color: #8e8e8e;
  color: #ffffff;
  width: inherit;
  padding: 20px;
  font-size: 1.5rem;
  border: none;
  /* background: url(../images/button.png) center center no-repeat; */
}

.cart_sp.has_item + .submit_btn, .cart.has_item .submit_btn{
  background-color: #343534;
}

/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
  スマホ
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/

@media (max-width:812px) {
  /* スマホ　767以下でiPadレイアウト非表示 */
  .icon,
  .logo,
  .tab_list,
  .cart {
    display: none;
  }
  #contents .icon {
    display: inline-block;
  }
  body {
    padding: 0;
  }
  .submit_btn {
    text-align: center;
    width: 100%;
    z-index: 9999;
  }
  #base {
    display: block;
  }
  #contents {
    height: calc(100% - 70px);
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .image-box img.image,
  ul.image-list li .image-box  {
    width: 100px;
    height: 100px;
    position: relative;
  }
  ul.image-list li {
    margin: 0;
  }
  ul.image-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  ul.image-list:after {
    content: "";
    display: block;
    width: 100px;  /* .boxに指定したwidthと同じ幅を指定する */
    height: 0;
    margin: 10px;
  }

  ul.image-list li {
    display: none;
    margin: 10px 12px;
  }

  .category-btn li {
    border-radius: 0;
    margin: 0;
  }

  /* カテゴリ出し分け */
  .category-btn {
    list-style-type: none;
    padding: 0;
  }
  #contents .contents_item {
    display: none;
    margin: 60px 0 140px;
  }
  #contents .image-box {
    display: block!important;
    margin: 20px 0;
  }
  .about_btn,
  .request_btn {
    display: none;
  }
}
@media (min-width:813px) {
  /* ipad 769以上でスマホレイアウト非表示 */
  .sp_header,
  #g-nav,
  .bbb,
  nav.cart_sp,
  .submit_btn.sp {
    display: none;
  }
}
@media (min-width:1366px) {
  .cart {
    width: 32%;
  }
}
.sp_header {
  padding: 12px 0 0;
  border-bottom: 2px solid #343434;
  position: fixed;
  z-index: 999;
  background-color: #fff;
  width: 100%;
}

.a .sp_header {
  border-bottom: #d66ddf 3px solid;
}
.b .sp_header {
  border-bottom: #E9CA43 3px solid;
}
.c .sp_header {
  border-bottom: #F29DBB 3px solid;
}
.d .sp_header {
  border-bottom: #A6D4FB 3px solid;
}
.e .sp_header {
  border-bottom: #91CA72 3px solid;
}


#g-nav{
  position:fixed;
  z-index: 999;
  top:-120%;
    left:0;
  width:100%;
  transition: all 0.4s;
}

@media (min-width:769px) and (max-width:812px) {
  #g-nav{
    display: none;
  }
}

#g-nav.panelactive {
  display: block;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
  top: 0;
}
/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  /* height: 100vh;表示する高さ */
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#g-nav-list li,
#terms-nav-list li {
  color: #ffffff;
  padding: 10px;
  font-size: 1.2rem;
}
#g-nav-list li:first-child {
  background-color: #343434;
}
#g-nav-list li:nth-child(2) {
  background-color: #d66ddf;
}
#g-nav-list li:nth-child(3) {
  background-color: #E9CA43;
}
#g-nav-list li:nth-child(4) {
  background-color: #F29DBB;
}
#g-nav-list li:nth-child(5) {
  background-color: #A6D4FB;
}
#g-nav-list li:nth-child(6) {
  background-color: #91CA72;
}

/*ナビゲーション*/
#g-nav ul,
#terms-nav ul {
  z-index: 999;
  width: 100%;
  padding: 0;
  margin-top: 0;
}
.g-nav_header,
.terms-nav_header {
  text-align: center;
  padding: 20px 0;
  background-color: #ffffff;
}

/*リストのレイアウト設定*/
#g-nav li,
#terms-nav li {
  list-style: none;
  text-align: center;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1{
  position:fixed;
  top:15px;
  right: 20px;
  width: 150px;
  cursor: pointer;
  background-color: #343434;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
}

.a .openbtn1{
  background-color: #d66ddf;
}
.b .openbtn1{
  background-color: #E9CA43;
}
.c .openbtn1{
  background-color: #F29DBB;
}
.d .openbtn1{
  background-color: #A6D4FB;
}
.e .openbtn1{
  background-color: #91CA72;
}

.openbtn1 p {
    margin: 0;
    padding-right: 10px;
    font-size: 85%;
}
.openbtn1 p::after {
  content: "▼";
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 85%;
}

.openbtn1.nonactive {
  z-index: 0;
  display: none;
}

.openbtn1.active {
  background-color: currentcolor;
  color: transparent;
  padding: 0;
}

.g-nav_header p {
  width: 50px;
  height: 45px;
  position: absolute;
  top: 15px;
  right: 10px;
  margin: 0;
}


/*×に変化*/
.panelactive .g-nav_header span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #343434;
  width: 45%;
}

.panelactive .g-nav_header span:nth-of-type(1)
{
  top: 10px;
  left: 27px;
  transform: translateY(6px) rotate(-45deg);
  width: 50%;
}
.openbtn2.active span:nth-of-type(1) {
  top: 10px;
  left: 88px;
  transform: translateY(6px) rotate(-45deg);
  width: 50%;
}
.panelactive .g-nav_header span:nth-of-type(2),
.openbtn2.active span:nth-of-type(2) {
  opacity: 0;
}
.panelactive .g-nav_header span:nth-of-type(3){
  top: 22px;
  left: 27px;
  transform: translateY(-6px) rotate(45deg);
  width: 50%;
}
.openbtn2.active span:nth-of-type(3){
  top: 22px;
  left: 88px;
  transform: translateY(-6px) rotate(45deg);
  width: 50%;
}

/* 固定ページメニュー */
#terms-nav{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 1;
  /*ナビのスタート位置と形状*/
  top:-120%;
  width:100%;
  height: auto;
  transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#terms-nav.panelactive{
  top: 0;
}

/*ナビゲーションの縦スクロール*/
#terms-nav.panelactive #terms-nav-list{
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;/*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
/*リストのレイアウト設定*/
#terms-nav li{
  list-style: none;
  text-align: center;
}
#terms-nav-list li {
  background-color: #343434;
}
#terms-nav-list .arrow{
  position: relative;
  display: block;
  padding-left: 20px;
}
#terms-nav-list .arrow::before{
  content: '';
  width: 10px;
  height: 10px;
  border: 0px;
  border-top: solid 3px #ffffff;
  border-right: solid 3px #ffffff;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: -20px;
  right: 0;
}

#terms-nav li a{
  color: #ffffff;
  text-decoration: none;
  padding:10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}
#terms-nav li:last-child {
  font-size: 1rem;
  font-weight: normal;
  padding: 20px 0;
}

/* ボタン */
.openbtn2{
  position:fixed;
  z-index: 999;/*ボタンを最前面に*/
  top:15px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height:45px;
  border: 2px solid #343434;
  border-radius: 8px;
}
.openbtn2.active {
  z-index: 9999;
  border: none;
}

/*×に変化*/
.openbtn2 span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 12px;
  height: 3px;
  border-radius: 2px;
  background-color: #343434;
  width: 45%;
}
.openbtn2 span:nth-of-type(1) {
  top:10px;
}
.openbtn2 span:nth-of-type(2) {
  top:50%;
}
.openbtn2 span:nth-of-type(3) {
  top:31px;
}
.openbtn2.active span:nth-of-type(1) {
  left: 18px;
}
.openbtn2.active span:nth-of-type(3){
  left: 18px;
}
.back_arrow{
  position: relative;
  display: block;
  padding-left: 20px;
}
.back_arrow::before{
  content: '';
  width: 10px;
  height: 10px;
  border: 0px;
  border-top: solid 3px #343434;
  border-right: solid 3px #343434;
  -ms-transform: rotate(225deg);
  -webkit-transform: rotate(225deg);
  transform: rotate(225deg);
  position: absolute;
  top: 22px;
  left: 20px;
}

/* チェックボックス 調整 */
.image-box input[type="checkbox"]+label::before{
  width: 20px;
  height: 20px;
  right: 6px;
  bottom: 10px;
}
.image-box input[type="checkbox"]:checked+label::after {
  bottom: 18px;
  right: 11px;
  width: 10px;
  height: 7px;
  border-bottom: 1px solid;
  border-left: 1px solid;
  border-color: #fff;
}

/* 選択アイテム */
.cart_sp{
  position: fixed;
  top: 80%;
  width: 100%;
  padding-bottom: 80px;
  height: 70%;
  border-radius: 25px 25px 0 0;
  transition: all 0.4s;
  background-color: #fff;
  box-shadow: 5px 0 10px 7px #c8c8c8;
}

.cart_sp.has_item{
  top: 70%;
}
.cart_sp.has_item.panelactive{
  top: 30%;
}

.cart_sp .description {
  font-size: small;
  text-align: center;
  margin: 10px 0;
  display: none;
}

.cart_sp.has_item .description {
  display: block;
}

.cart_sp-list {
  overflow-y: scroll;
  height: 100%;
  padding-bottom: 70px;
}
.select_item_header {
  border-bottom: 2px solid #AEAFAF;
  padding: 17px 17px 10px;
  position: relative;
  font-size: 120%;
  cursor: pointer;
}
.select_item_header span {
  width: 17%;
  height: 4px;
  background-color: #AEAFAF;
  border-radius: 15px;
  position: absolute;
  margin: auto;
  top: 27px;
  left: 0;
  right: 0;
}
.select_item_header .touch {
  display: none;
  background-image: url(/images/touch.png);
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  margin-right: 5%;
  top: 13px;
  right: 0;
  width: 57px;
  height: 57px;
  animation: flash 3s ease-in infinite;
}

@keyframes flash {
  0%,100% {
    opacity: 0.05;
  }
  50% {
    opacity: 1;
  }
}

.has_item .select_item_header .touch {
  display: block;
}

.cart_sp-list .image {
  width: 50px;
  height: 50px;
  border: 1px solid #AEAFAF;
  border-radius: 5px;
}
.item_image {
  align-items: center;
  display: flex;
}
.item_image .item_num {
  padding-left: 10px;
}


