@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: 60%;
  height: calc(100% - 96px);
  background: #fff;
  position: relative;
  overflow: hidden auto;
  margin: 48px auto 0;
  padding: 0 2%;
}

#js_itemModal_shadowImg {
  width: 60%;
  height: 50px;
  display: block;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  transition: height 300ms;
}

#js_itemModal_shadowImg.js_itemModal_shadowImg_none { height: 0; }

.js_itemModal_title {
  width: 56%;
  background: #fff;
  border-bottom: #ccc solid 1px;
  font-size: 20px;
  line-height: 100%;
  position: fixed;
  z-index: 1;
  margin: 0 0 32px 0;
  padding: 40px 0 16px 0;
}

.js_itemModal_crossBtn {
  font-size: 50px;
  font-weight: bold;
  line-height: 100%;
  position: fixed;
  top: 68px;
  right: 22.2%;
  z-index: 1;
  cursor: pointer;
}

.js_itemModal_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 109px;
  padding: 0 10px;
}

.js_itemModal_imgLink {
  width: 120px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  display: grid;
  align-items: center;
  position: relative;
  margin: 0 8px 40px;
  transition: background 300ms;
}

.js_itemModal_imgLink_current {
  background: #efc2d5;
}

.js_itemModal_imgLink_empty {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

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

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