@charset "UTF-8";

.color .color-wrap {
  bottom: 150px;
}

#modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  z-index: 999;
}
.modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background-color: #ffffff;
  max-width: 750px;
  text-align: center;
  z-index: 1000;
}
.modal__content .cartModalClose {
  top: -20px;
  right: -10px;
  left: auto;
  width: 18px;
  height: 18px;
  background: #fff;
  padding: 14px;
  border-radius: 30px;
}
.l-btn {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
}
#btn {
  font-size: 30px;
  color: #8e7874;
  border-bottom: 1px solid #8e7874;
}
@media (width < 768px) {
  .color .color-wrap {
    bottom: 13.5%;
    width: 80%;
  }
  .l-btn {
    bottom: 8vw;
  }
  #btn {
    font-size: 3.733vw;
  }
  .modal__content {
    width: 90%;
  }
  .modal__content .cartModalClose {
    top: -5.333vw;
    right: -2.667vw;
    width: 3.733vw;
    height: 3.733vw;
    padding: 3.2vw;
    border-radius: 5.067vw;
  }
}

/*------------------------------------------------------
  モーダル
------------------------------------------------------*/
.cartModal .cartModalLinks .note {
  text-align: center;
  text-decoration: underline;
}
.cartModal .cartModalLinks .note::after {
  content: " ＞";
}
.cartModal .cartModalItemList .additionalText {
  text-align: center;
  font-weight: bold;
  width: 100%;
  margin: 0 0 12px 0;
  font-size: 12px;
  line-height: 1.3;
}
.cartModal .cartModalItemList {
  gap: 10px 2%;
}
.cartModal .cartModalItemList .limited {
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
  margin: 20px 0 0 0;
  padding: 20px 10px 10px;
  width: 100%;
  background-color: #d4d4d4;
  border-radius: 5px;
}
@media screen and (max-width: 768px) {
  .cartModal .cartModalItemList {
    gap: 10px 2%;
  }
  .cartModalItemList li {
    width: 23.5%;
  }
  .cartModal .cartModalItemList .limited {
    gap: 10px 2%;
  }
}
.cartModal .note.additional {
  display: flex;
  justify-content: center;
  text-align: left;
}
input[type=checkbox] {
  display: none !important;
}
.checkbox {
  position: relative;
  display: inline-block;
  padding: 0 0 0 32px;
  cursor: pointer;
  width: auto;
  line-height: 1;
  box-sizing: border-box;
}
.checkbox::before {
  content: "";
  position: absolute;
  left: 5px;
  display: block;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 1px solid #ae2d35;
}
.checkbox::after {
  border-right: 2px solid #ae2d35;
  border-bottom: 2px solid #ae2d35;
  content: "";
  display: block;
  height: 12px;
  left: 12px;
  margin-top: -8px;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: rotate(45deg);
  width: 6px;
}
input[type=checkbox]:checked + .checkbox::after {
  opacity: 1;
}
.l-note {
  margin: 1em 0;
  padding: 1.5em 1em 1.25em;
  border-radius: 10px;
  background: #dddddd;
}
.cartModal .note.noteAgree {
  margin: 0;
  color: #ae2d35;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-align: left;
}
.noteAgree li + li {
  margin-top: 0.5em;
}
.agree {
  padding: 10px;
  text-align: center;
  color: #ae2d35;
  line-height: 1.5;
}
.agree .note {
  display: block;
  margin-top: 0.5em;
}
.agree .required {
  display: inline-block;
  margin: 0 6px 0 0;
  padding: 4px 6px;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  background: #ae2d35;
  border-radius: 3px;
}
.agree .checkbox em {
  font-weight: bold;
}
@media screen and (max-width: 820px) {
  .checkbox {
    font-size: 13px;
  }
  .agree .note {
    margin-top: 1em;
  }
}

/*------------------------------------------------------
  サイズ選びにお悩みですか？
------------------------------------------------------*/
.size-selection {
  position: relative;
}
.size-selection .btn_chat {
  position: absolute;
  top: 340px;
  left: 50%;
  transform: translateX(-50%);
  width: 903px;
}
@media screen and (max-width: 820px) {
  .size-selection .btn_chat {
    width: 90.3vw;
    top: 33vw;
  }
}