@charset "UTF-8";


/* 商品モーダル
------------------------------------------------------------------------------------*/
#js_itemModal_wrap {
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  overflow: hidden;
  opacity: 0;
  transition: opacity 250ms;
  pointer-events: none;
}

#js_itemModal_wrap.js_itemModal_wrap_open {
  opacity: 1;
  pointer-events: auto;
}

#js_itemModal_inner {
  width: 88%;
  height: calc(100% - 48px);
  background: #fff;
  position: relative;
  overflow: hidden auto;
  margin: 24px auto 0;
  padding: 0 2%;
}

#js_itemModal_shadowImg {
  width: 88%;
  height: 56px;
  display: block;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  transition: height 300ms;
}
#js_itemModal_shadowImg.js_itemModal_shadowImg_none { height: 0; }

.js_itemModal_title {
  width: 84%;
  background: #fff;
  border-bottom: #ccc solid 1px;
  font-size: 1.6rem;
  position: fixed;
  z-index: 1;
  margin: 0 0 16px 0;
  padding: 20px 0 8px 2px;
}

.js_itemModal_crossBtn {
  font-size: 3.3rem;
  font-weight: bold;
  position: fixed;
  top: 32px;
  right: 8.6%;
  z-index: 1;
  cursor: pointer;
}

.js_itemModal_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 61px;
  padding: 0 10px;
}

.js_itemModal_imgLink {
  width: 28.8%;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  display: grid;
  align-items: center;
  position: relative;
  margin-right: 6.8%;
  margin-bottom: 20px;
  transition: background 300ms;
}
.js_itemModal_imgLink:nth-of-type(3n) { margin-right: 0; }

.js_itemModal_imgLink_empty {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}
.js_itemModal_imgLink_current { background: #efc2d5; }

.js_itemModal_imgLink img {
  width: 100%;
  height: auto;
}

img.js_itemModal_imgLink_icon {
  width: 17%;
  height: auto;
  position: absolute;
  bottom: 3px;
  right: 3px;
}