/* -----店舗在庫状況（モーダルウィンドウ）----- */
/* 共通 */
.block-goods-shopstock-overlay-bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #00000080;
  z-index: 1000000000;
}
.block-goods-shopstock-overlay-item {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: calc(100% - 48px);
  height: calc(80% - 60px);
  max-height: 610px;
  margin: auto;
  z-index: 1000000001;
}
.block-goods-stock-item {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  height: calc(100% - 60px);
  max-height: 550px;
  margin: -30px auto 0;
  padding: 20px 20px 24px;
  background: #fff;
  overflow-y: auto;
  z-index: 1000000002;
}
.block-goods-stock-item-inner {
  height: calc(100% - 45px);
  overflow: auto;
}
.bgs-heading {
  font-size: 20px;
  font-weight: 400;
  text-align: left;
  margin-bottom: 20px;
}
.bgs-heading span {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
.block-goods-stock-inner {
  display: flex;
}
.bgs-img {
  aspect-ratio: 1 / 1;
  width: 122px;
  flex-shrink: 0;
  padding: 9px;
}
.bgs-img img {
  width: 100%;
  height: auto;
}
.bgs-detail {
  position: relative;
  width: 100%;
  font-weight: 400;
  text-align: left;
}
.bgs-goods-name {
  font-size: 13px;
  margin-bottom: 7px;
}
.bgs-goods-color {
  font-size: 10px;
  color: #808080;
}
.bgs-goods-size {
  font-size: 10px;
  margin-top: 15px;
}
.bgs-goods-price {
  margin-bottom: 12px;
}
.bgs-goods-price-num {
  font-family: "Lato", sans-serif;
  font-size: 13px;
}
.bgs-goods-price-tax {
  font-size: 9px;
  margin-left: 3px;
}
.bgs-select-txt {
  font-size: 10px;
  margin-top: 12px;
}
select.bgs-select-size {
  width: 100%;
  height: 34px;
  margin: 4px auto 24px 0;
  padding: 4px 12px 7px;
  font-size: 12px;
  color: #444;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  background: #F5F5F5 url(https://www.sskamo.co.jp/img/top/parts/top_icon_nd_arrow.png) no-repeat center right 15px;
  background-size: 9px auto;
  border-radius: 4px;
  border: none;
  outline: none;
}
/* 店舗 */
.bgs-goods-shop {
  overflow-y: auto;
  max-height: calc(100% - 185px);
}
.bgs-goods-shop .bgs-goods-shop-list {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 5px 0;
  font-size: 12px;
  border-top: 1px solid #E5E5E5;
}
.bgs-goods-shop-store {
  width: 90px;
  padding: 0 10px;
  text-align: left;
}
.bgs-goods-shop-stock {
  width: 80px;
  padding: 0 10px;
  font-size: 10px;
  text-align: left;
  color: #015AB4;
}
.bgs-goods-shop-order {
  width: calc(100% - 90px - 80px);
}
.bgs-goods-shop-order a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 24px;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  background: #015AB4;
  border-radius: 4px;
}
.bgs-goods-shop-order a:hover {
  text-decoration: none;
}
.bgs-goods-shop-notavailable {
  width: calc(100% - 90px - 80px);
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}
.bgs-agree {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid #E5E5E5;
  text-align: left;
}
.bgs-agree-intro {
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 10px;
}
.bgs-agree-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  margin-top: 10px;
}
.bgs-agree-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #015AB4;
  cursor: pointer;
  flex-shrink: 0;
}
.bgs-agree-error {
  margin: 8px 0 0;
  font-size: 12px;
  color: #C00;
}
.bgs-terms {
  border: 1px solid #E5E5E5;
  border-radius: 4px;
}
.bgs-terms-head {
  position: relative;
  margin: 0;
  padding: 10px 36px 10px 14px;
  font-size: 12px;
  font-weight: 600;
  background: #F5F5F5;
  cursor: pointer;
  user-select: none;
}
.bgs-terms-head > span {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 1px solid #444;
  border-bottom: 1px solid #444;
  transform: rotate(45deg);
}
.bgs-terms-head.open > span {
  transform: rotate(-135deg);
  margin-top: -2px;
}
.bgs-terms-body {
  resize: none;
  width: 100%;
  height: 100%;
  max-height: 180px;
  overflow-y: auto;
  font-size: 11px;
  line-height: 1.8;
  color: #444;
}
.bgs-terms-sublist {
  margin: 4px 0;
  padding-left: 1.2em;
  list-style: none;
}
.bgs-terms-sublist li {
  list-style-type: none;
  margin-bottom: 2px;
}
.bgs-terms-sublist li::before {
  content: "└";
  margin-right: 2px;
}
.bgs-terms-note {
  margin: 4px 0 0;
  color: #777;
}
.bgs-notice {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: #C00;
}
/* 店舗在庫状況 */
.bgs-goods-detail {
  margin-bottom: 12px;
}
.bgs-goods-detail .bgs-goods-detail-list {
  display: flex;
  align-items: center;
  height: 40px;
  font-size: 12px;
  border-bottom: 1px solid #E5E5E5;
}
.bgs-goods-detail-heading {
  width: 90px;
  font-size: 14px;
}
.bgs-goods-detail-price {
  width: 90px;
  font-size: 14px;
}
.bgs-goods-detail-price-num {
  font-family: "Lato", sans-serif;
  font-size: 16px;
}
.bgs-goods-detail-price-tax {
  font-size: 10px;
  margin-left: 3px;
}
.bgs-select-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.bgs-select-row .bgs-select-txt {
  font-size: 12px;
  margin-top: 0;
}
select.bgs-select-stock {
  width: 60px;
  height: 34px;
  margin: 4px auto 0 10px;
  padding: 4px 12px 7px;
  font-size: 12px;
  color: #444;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  background: #F5F5F5 url(https://www.sskamo.co.jp/img/top/parts/top_icon_nd_arrow.png) no-repeat center right 15px;
  background-size: 9px auto;
  border-radius: 4px;
  border: none;
  outline: none;
}
.bgss-close-btn {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000000004;
}
.bgss-close-btn:hover {
  opacity: .7;
}
.bgss-close-btn::before, .bgss-close-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 15px;
  background: #7B7B7B;
}
.bgss-close-btn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.bgss-close-btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.bgss-btn-area {
  position: absolute;
  bottom: 0px;
  display: block;
  width: 100%;
  height: 60px;
  z-index: 1000000003;
}
