#colorbox,
#cboxOverlay,
#cboxWrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999999;
  overflow: hidden;
}

#cboxWrapper {
  max-width: none;
}

#cboxOverlay {
  position: fixed;
  width: 100%;
  height: 100%;
}

#cboxMiddleLeft,
#cboxBottomLeft {
  clear: left;
}

#cboxContent {
  position: relative;
}

#cboxLoadedContent {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#cboxTitle {
  margin: 0;
}

#cboxLoadingOverlay,
#cboxLoadingGraphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
  cursor: pointer;
}

.cboxPhoto {
  float: left;
  margin: auto;
  border: 0;
  display: block;
  max-width: none;
  -ms-interpolation-mode: bicubic;
}

.cboxIframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
}

#colorbox,
#cboxContent,
#cboxLoadedContent {
  width: 600px;
  height: auto;
  box-sizing: content-box;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
}

@media screen and (max-width: 767px) {
  #colorbox,
  #cboxContent,
  #cboxLoadedContent {
    width: 280px;
    max-width: 100%;
  }
}

#cboxOverlay {
  background: #000;
  opacity: 0.5 !important;
}

#colorbox {
  outline: 0;
}

#cboxContent {
  margin-top: 20px;
  background: #fff;
}

.cboxIframe {
  background: #fff;
}

#cboxError {
  padding: 50px;
  border: 1px solid #ccc;
}

#cboxLoadedContent {
  background: #fff;
  padding: 70px 80px;
  position: relative;
}

@media screen and (max-width: 767px) {
  #cboxLoadedContent {
    padding: 5rem 4rem;
  }
}

#cboxTitle {
  position: absolute;
  top: -20px;
  left: 0;
  color: #ccc;
  display: none;
}

#cboxCurrent {
  position: absolute;
  top: -20px;
  right: 0px;
  color: #ccc;
}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious,
#cboxNext,
#cboxSlideshow,
#cboxClose {
  border: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
  width: auto;
  background: none;
  display: none;
}

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active,
#cboxNext:active,
#cboxSlideshow:active,
#cboxClose:active {
  outline: 0;
}

#cboxSlideshow {
  position: absolute;
  top: -20px;
  right: 90px;
  color: #fff;
  display: none;
}

#cboxPrevious {
  background-position: bottom left;
  display: none;
}

#cboxNext {
  background-position: bottom right;
  display: none;
}

#cboxClose {
  background-position: bottom center;
  display: none;
}

.p-shopMail__btn-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

@media screen and (max-width: 767px) {
  .p-shopMail__btn-close {
    top: 1.6vw;
    right: 1.6vw;
  }
}

.p-shopMail__btn-close img {
  max-width: 100%;
}

@media screen and (max-width: 767px) {
  .p-shopMail__btn-close img {
    width: 8vw;
  }
}

.p-shopMail__form {
  display: flex;
  align-items: center;
}

.p-shopMail__input {
  width: 82%;
  height: 36px;
  font-size: 1.6rem;
  text-indent: 10px;
  border: 1px solid #999;
  border-radius: 3px;
  margin-right: 1rem;
  -webkit-appearance: none;
}

@media screen and (max-width: 767px) {
  .p-shopMail__input {
    width: 60vw;
    height: 9.6vw;
    font-size: 3.2vw;
    text-indent: 1.33vw;
    margin-right: 1vw;
  }
}

.p-shopMail__btn {
  width: 18%;
  height: 40px;
  font-size: 1.6rem;
  color: #fff;
  border: 1px solid #000;
  border-radius: 3px;
  background-color: #000;
}

@media screen and (max-width: 1028px) {
  .p-shopMail__btn {
    width: 12vw;
    height: auto;
  }
}

@media screen and (max-width: 767px) {
  .p-shopMail__btn {
    width: 20vw;
    height: 9.38vw;
    font-size: 3.12vw;
  }
}
