/* デフォルトのカテゴリ表示を1階層目までにする*/
.aside section.__block.__block--category .__body ul.__tree > li.__item.__item--has-children > span.__js-toggle {
    display: inline-block;
}
.aside section.__block.__block--category .__body ul.__tree > li.__item.__item--has-children > ul {
    display: none;
}

/* <--商品説明　カーソル変更--> */
 
summary　{
cursor: pointer;
}



/* 商品画面　カート画面固定（importantなし版） */

/* 念のため（stickyの効き/切れ対策） */
.wrapper,
.wrapper > .__inner,
.main,
.c-form {
  overflow: visible;
  transform: none;
}

/* 追従ボタン本体：基本は sticky */
section.__add-cart {
  position: sticky;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  justify-content: flex-end;
  padding: 0 10px 0 0;
  margin: 0;
}

/* ボタン */
section.__add-cart > button.__submit.c-button-submit {
  width: auto;
  min-width: 10em;
  padding: 10px;
  font-size: 1.2em;
}

/* ★ 画面が広い時だけ：右余白へ“外す”（fixedに切替） */
@media (min-width: 1700px) {
  section.__add-cart {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);

    /* ▼ここがポイント：画面端ではなく“中央のコンテンツ箱の右端”へ */
    left: calc(50% + (1200px / 2) + 50px);

    right: auto;
    bottom: auto;
    padding-right: 0;
    z-index: 9999;
  }
}

/* スマホ：中央・下余白なし */
@media (max-width: 599px) {
  section.__add-cart {
    position: sticky;
    bottom: 0;
    justify-content: center;
    padding-right: 0;
  }

  section.__add-cart > button.__submit.c-button-submit {
    width: 50%;
    min-width: 0;
  }
}
  
/* 在庫0　問合せボタン　CSS */

.__notice .__stock{
  text-align:center!important;
  font-size:0!important;
}
.__notice .__stock dt,
.__notice .__stock dd{
  display:inline-block!important;
  float:none!important;
  margin:0!important;
  vertical-align:top!important;
  font-size:14px!important;
}
.__notice .__stock dt{
  color:inherit!important;
}
.__notice .__stock dd{
  text-align:center!important;
  margin-left:2px!important;
}
.__notice .__stock dd .s0{
  display:inline!important;
  font-size:14px!important;
}
.__notice .__stock dd .s1{
  display:inline-block!important;
  margin:8px auto 0!important;
  padding:10px 18px!important;
  background:#1677ff!important;
  color:#fff!important;
  text-decoration:none!important;
  font-size:14px!important;
  font-weight:bold!important;
  line-height:1.2!important;
  border-radius:999px!important;
  white-space:nowrap!important;
}

/* 商品上部カテゴリー欄 デザイン変更 */

.main.main--product-list section.__child ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 2px;
  margin: 0;
  list-style: none;
  box-sizing: border-box;
}

.main.main--product-list section.__child ul li {
  display: block;
  padding: 0;
  margin: 0;
  letter-spacing: normal;
}

.main.main--product-list section.__child ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #d6d6d6 !important;
  border-radius: 10px;
  text-decoration: none;
  color: #222;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  background: #fff;
  transition: background .15s ease, border-color .15s ease, transform .06s ease;
}

.main.main--product-list section.__child ul li a:hover{
  background:#f7f7f7;
  border-color:#e3e3e3;
  transform:translateY(-1px);
}

/* 600px〜959px */
@media screen and (max-width: 959px) {
  .main.main--product-list section.__child ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 〜599px */
@media screen and (max-width: 599px) {
  .main.main--product-list section.__child ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .main.main--product-list section.__child ul li a {
    font-size: 12px;
    padding: 9px 10px;
    min-height: 42px;
  }
}

/* サイド　文字　デザイン変更 */
h3.__heading.__heading--default.c-heading-aside {
  display: block;
  width: 100%;
  margin: 0 8px 12px!important;
  padding: 12px 16px!important;
  background: #fff!important;
  color: #222!important;
  font-size: 20px!important;
  font-weight: 1000!important;
  line-height: 1.4!important;
  border-bottom: 2px solid #1d2d61!important;
  box-sizing: border-box!important;
}

h3.__heading.__heading--default.c-heading-aside span {
  display: inline;
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
}

/* メイン　文字　デザイン変更 */
h2.__heading.__heading--default.c-heading-main {
  display: block;
  width: 100%;
  margin: 0 8px 12px!important;
  padding: 12px 16px!important;
  background: #fff!important;
  color: #222!important;
  font-size: 20px!important;
  font-weight: 1000!important;
  line-height: 1.4!important;
  border-bottom: 2px solid #1d2d61!important;
  box-sizing: border-box!important;

}

h2.__heading.__heading--default.c-heading-main span { 
  display: inline;
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
    
}

/* 商品名文字 デザイン */
.p-product-block ul.__product li.__item a .__title {
    font-size: 0.9em!important;
    color: #222!important;
    font-weight: 500;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}