/*
 * This file is part of the CouponPro4 Plugin
 *
 * Copyright (C) 2022 Diezon.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

@charset "UTF-8";

/* クーポン一覧----------------------------------------------- */
.coupon-wrap {
  padding-left: 0 !important;
}
.coupon-wrap-list {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d0d0d0;
  background: #f3f3f3;
}
.coupon-wrap-list:nth-of-type(n + 2) {
  margin-top: 8px;
}
.coupon-wrap-list-link {
  color: #525263;
  text-decoration: none !important;
  display: block;
  height: 100%;
}
.coupon-wrap-list-name {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  display: block;
  margin-bottom: 4px;
  color: #525263;
}
.coupon-name-area {
  text-align: center;
}
.coupon-name-area .coupon-wrap-list-name {
  position: relative;
  padding-right: 22px;
  display: inline;
}
.coupon-name-area .coupon-wrap-list-name::before {
  position: absolute;
  content: "";
  background: url(/html/upload/save_image/tab1.png);
  width: 15px;
  height: 15px;
  right: 0;
  background-position: center;
  background-size: cover;
  top: 50%;
  transform: translateY(-50%);
}
.coupon-wrap-list-main {
  background: #fff;
  padding: 16px;
}
.coupon-wrap-list-off {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  color: #de5d50;
  font-weight: bold;
}
.coupon-wrap-list-off-strong {
  font-size: 57px;
  line-height: 1.2;
}
.coupon-wrap-list-off-unit {
  font-size: 29px;
  margin-left: 4px;
}
.coupon-wrap-list-off-middle {
  font-size: 43px;
  margin-left: 4px;
}
.coupon-wrap-list-limit {
  text-align: center;
}
.coupon-wrap-list-limit p {
  text-align: center;
  font-size: 12px;
  margin-top: 6px;
  color: #525263;
  position: relative;
  padding-left: 16px;
  line-height: 1;
  display: inline-block;
}
.coupon-wrap-list-limit p::before {
  position: absolute;
  content: "";
  background: url(/html/upload/save_image/clock1.png);
  width: 13px;
  height: 13px;
  left: 0;
  background-position: center;
  background-size: cover;
}
.coupon-wrap-list-done .coupon-wrap-list-limit p::before {
  position: absolute;
  content: "";
  background: url(/html/upload/save_image/clock2.png);
  width: 13px;
  height: 13px;
  left: 0;
  background-position: center;
  background-size: cover;
}
.coupon-wrap-list-sub {
  background: #f3f3f3;
  padding: 12px;
}
.coupon-wrap-list-sub dd {
  line-height: 1.4;
}
.coupon-wrap-list-sub-link {
  color: #525263;
  text-decoration: underline;
}
.coupon-wrap-list-sub-dl dd object {
  position: relative;
  margin-right: 3px;
}
/* .coupon-wrap-list-sub-dl object:before {
  content: "、";
  color: #525263;
  position: absolute;
  right: 0;
  bottom: 0;
  background-position: center;
}
.coupon-wrap-list-sub-dl object:nth-of-type(3):before {
  content: none;
} */
.coupon-wrap-list-sub-dl {
  margin-bottom: 0;
  color: #525263;
}
.coupon-wrap-list-sub-dl:nth-of-type(n + 2) {
  margin-top: 8px;
}
.coupon-wrap-list-sub-dl dt {
  font-size: 12px;
}
.coupon-wrap-list-sub-dl dd {
  font-size: 12px;
}
.coupon-wrap-free {
  color: #de5d50;
  font-size: 47px;
  font-weight: bold;
  text-align: center;
}
.icon-clock {
  content: "\e920";
}
@media screen and (min-width: 1024px) {
  .coupon-wrap {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .coupon-wrap-list {
    width: 32%;
    list-style-type: none;
    margin-right: 2%;
  }
  .coupon-wrap-list:nth-of-type(2) {
    margin-top: 0;
  }
  .coupon-wrap-list:nth-of-type(3) {
    margin-top: 0;
  }
  .coupon-wrap-list:nth-of-type(n + 4) {
    margin-top: 24px;
  }
  .coupon-wrap-list:nth-of-type(3n) {
    margin-right: 0;
  }
  .coupon-wrap-list-main {
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: column;
  }
  .other-tab .coupon-wrap-list-link:hover {
    opacity: 0.6;
    transition: 0.3s;
  }
  .coupon-wrap-list-sub-link:hover {
    color: #de5d50;
    text-decoration: none;
  }
}
.coupon-wrap-list-done .coupon-wrap-list-name,
.coupon-wrap-list-done .coupon-wrap-list-off,
.coupon-wrap-list-done .coupon-wrap-list-sub-dl,
.coupon-wrap-list-done .coupon-wrap-list-limit p {
  color: #999 !important;
}
.coupon-wrap-list-done .coupon-wrap-list-main {
  background: #ddd;
}
.coupon-wrap-list-done .coupon-wrap-list-sub {
  background: #ccc;
}
.coupon-wrap-list-done {
  position: relative;
}
.coupon-wrap-list-done::before {
  position: absolute;
  content: "";
  background: #de5d50;
  top: 0;
  left: 0;
  font-size: 14px;
  border-radius: 8px 0 8px 0;
  color: #fff;
  font-weight: bold;
  z-index: 1;
  width: 86px;
  height: 28px;
}
.coupon-wrap-list-done::after {
  position: absolute;
  content: "利用済み";
  top: 5px;
  left: 17px;
  font-size: 14px;
  color: #fff;
  font-weight: bold;
  z-index: 1;
}
.coupon-wrap-list-done {
  background: #ccc;
}
.coupon-wrap-list-done .coupon-wrap-list-sub-link {
  color: #999;
}
/* フロント＞クーポンブロック----------------------------------------------- */
.coupon-wrap-block {
  max-height: 650px;
  overflow-y: scroll;
}

/* ご注文手続き----------------------------------------------- */
.ec-orderCoupon {
  margin-bottom: 40px;
}
.ec-orderCoupon .ec-rectHeading h2 {
  margin-bottom: 16px;
}
.shopping-coupon-choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
}
.shopping-coupon-codes {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
  position: relative;
}
.shopping-coupon-fields {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.shopping-coupon-apply-hint {
  font-size: 13px;
  line-height: 1.5;
  color: #333;
  margin: 0;
}
.shopping-coupon-apply-note {
  font-size: 12px;
  color: #8d8d8d;
  margin: 12px 0 0;
  line-height: 1.5;
}
.shopping-coupon-item--coupon_code .shopping-coupon-form {
  margin-top: 10px;
}
.shopping-coupon-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.shopping-coupon-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 20px;
  background: #fff;
  padding: 6px 10px 6px 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #333;
  box-sizing: border-box;
}
.shopping-coupon-tag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  border-radius: 2px 0 0 2px;
}
.shopping-coupon-tag-badge::after {
  content: "";
  position: absolute;
  top: 0;
  right: -5px;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 5px solid #111;
}
.shopping-coupon-tag-code {
  font-weight: bold;
  color: #333;
}
.shopping-coupon-tag-benefit {
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
}
.shopping-coupon-tag-benefit--shipping {
  color: #2b6cb0;
}
.shopping-coupon-tag-benefit--gift {
  color: #2f855a;
}
.shopping-coupon-tag-benefit--discount {
  color: #de5d50;
}
.shopping-coupon .shopping-coupon-tag-remove {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: 2px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #888;
  font-size: 16px;
  font-weight: normal;
  line-height: 20px;
  cursor: pointer;
}
.shopping-coupon-tag-remove:hover,
.shopping-coupon-tag-remove:focus {
  color: #333;
}
.shopping-coupon-button:disabled,
.shopping-coupon-item--coupon_code .js-coupon-entry:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.deliveryDetailTbl_coupon-meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: normal;
  color: #666;
}
.deliveryDetailTbl_coupon-price,
.verifyPrice .coupon-summary-item em,
.verifyBot .coupon-summary-item dd {
  color: #de5d50;
  font-weight: bold;
}
.verifyPrice .coupon-summary-item small,
.verifyBot .coupon-summary-item small {
  display: block;
  font-size: 12px;
  font-weight: normal;
  color: #666;
}
.verifyBot .coupon-summary-item dt {
  word-break: break-word;
}
.shopping-coupon-item {
  position: relative;
  width: 100%;
  min-width: 0;
}
.shopping-coupon-item > .radio {
  position: absolute;
  top: 18px;
  left: 16px;
  z-index: 2;
  opacity: 1;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  overflow: visible;
  clip: auto;
  pointer-events: auto;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  border-radius: 0;
  background: url(../project/img/form/bg_radio.svg) center center no-repeat;
  background-color: transparent;
  background-size: 100%;
  cursor: pointer;
}
.shopping-coupon-item > .radio:checked {
  background-image: url(../project/img/form/bg_radio_checked.svg);
}
.shopping-coupon-item label,
.shopping-coupon-card {
  transition: 0.2s linear;
  cursor: pointer;
  border-radius: 0;
  position: relative;
  display: block;
  border: 1px solid #ddd;
  background: #f7f7f7;
  padding: 16px 18px 18px 42px;
  margin-bottom: 0;
  width: 100%;
  height: 100%;
  min-height: 96px;
  box-sizing: border-box;
  font-size: 13px;
  color: #333;
}
.shopping-coupon-card {
  cursor: default;
}
.shopping-coupon-item .coupon-name {
  font-size: 13px;
  font-weight: normal;
  color: #333;
  line-height: 1.5;
}
.shopping-coupon-item span {
  font-weight: normal;
}
.form-radio-box__label {
  display: block;
}
.form-radio-box__error {
  display: block;
}
.shopping-coupon-discount .price .shopping-coupon-discount-unit {
  font-size: 12px;
  font-weight: bold;
}
.is-error {
  background: #fdf1f0;
  border: 1px solid #cf3f34 !important;
}
.shopping-coupon-button {
  flex-shrink: 0;
  background: #000;
  border: none;
  border-radius: 0;
  margin-left: 8px;
  height: 40px;
  width: 80px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  line-height: 40px;
  padding: 0;
}
.shopping-coupon-form {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 10px;
}
.shopping-coupon-form-textarea {
  width: 100%;
  flex: 1;
  min-width: 0;
}
.shopping-coupon-form-textarea input,
.shopping-coupon input.form-control {
  width: 100%;
  height: 40px;
  padding: 8px 12px;
  font-size: 14px !important;
  line-height: 1.4;
  color: #333;
  background: #fff;
  border: 1px solid #000;
  border-radius: 0;
  box-sizing: border-box;
}
.shopping-coupon-form-textarea input.error,
.shopping-coupon input.form-control.error {
  border-color: #cf3f34;
}
.form-radio-box__code input {
  width: 100%;
}
.shopping-coupon .error-message {
  color: #de5d50;
  font-weight: bold;
  margin-top: 10px;
  display: block;
  font-size: 12px;
}
.shopping-coupon .error-message a {
  color: #de5d50;
  text-decoration: underline;
}
.shopping-coupon ::placeholder {
  color: #9b9b9b;
}
.shopping-coupon-discount {
  display: block;
  margin-top: 8px;
}
.shopping-coupon-discount .free {
  color: #de5d50;
  font-weight: bold;
  font-size: 13px;
}
.shopping-coupon-discount .value {
  font-family: Roboto;
  font-weight: bold;
}
.shopping-coupon-item .price {
  margin-left: 5px;
  color: #de5d50;
  font-size: 14px;
  font-weight: bold;
}
.shopping-coupon-item input[type="radio"]:checked + label {
  background-color: #f0f0f0;
  border-color: #bbb;
}
.shopping-coupon-item .form-item__box__highlight--text {
  margin-top: 10px;
}
@media screen and (min-width: 768px) {
  .shopping-coupon-choices {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .shopping-coupon-codes {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}
/* formリセット */
.shopping-coupon input:not([type="radio"]),
.shopping-coupon button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font: inherit;
  outline: none;
}
.shopping-coupon input[type="submit"],
.shopping-coupon input[type="button"],
.shopping-coupon label,
.shopping-coupon button,
.shopping-coupon select {
  cursor: pointer;
}
.shopping-coupon select::-ms-expand {
  display: none;
}

/* 商品詳細----------------------------------------------- */
.product-detail-coupon-link {
  text-decoration: none !important;
  display: block;
  width: 100%;
  height: 100%;
}
.product-detail-coupon-box-in {
  padding: 12px 8px 4px 8px;
}
.product-detail-coupon-box {
  background: #f7f7f7;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  min-width: 150px;
  width: 100%;
}
.product-detail-free {
  color: #de5d50;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}
.coupon-box-another-tab .coupon-name {
  position: relative;
  padding-right: 15px;
  /* display: inline-block; */
}
.coupon-box-another-tab .coupon-name::before {
  position: absolute;
  content: "";
  background: url(/html/upload/save_image/tab3.png);
  width: 13px;
  height: 13px;
  right: 0;
  background-position: center;
  background-size: cover;
  top: 50%;
  transform: translateY(-50%);
}
.product-detail-coupon-box:nth-of-type(n + 2) {
  margin-left: 8px;
}
.product-detail-coupon-box .coupon-name {
  font-size: 12px;
  text-align: center;
  color: #525263;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.product-detail-coupon-box .coupon-price {
  color: #de5d50;
  text-align: center;
}
.product-detail-coupon-box .coupon-price .price-left,
.price-right {
  font-size: 20px;
}
.product-detail-coupon-box .coupon-price .price-middle {
  font-size: 14px;
}
.product-detail-coupon__sub {
  background: #fff;
  border-radius: 3px;
  padding: 3px;
  margin-top: 4px;
}
.product-detail-coupon__sub dl {
  color: #8d8d8d;
  font-size: 10px;
  display: flex;
  margin-bottom: 0;
}
.product-detail-coupon__sub dl dt,
dd {
  font-weight: normal;
}
.product-detail-coupon__sub dl dt {
  min-width: 30px;
}
.product-detail-coupon-scroll {
  overflow-x: scroll;
  width: 100%;
  padding-bottom: 16px;
}
.product-detail-coupon-wrap {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: 100%;
  align-items: stretch;
}
@media screen and (min-width: 1024px) {
  .coupon-box-another-tab .product-detail-coupon-link:hover {
    opacity: 0.6;
    transition: 0.3s;
  }
}
/* スクロールバー調整 */
.scrollbar::-webkit-scrollbar {
  width: 10px;
  height: 8px;
}
.scrollbar::-webkit-scrollbar-thumb {
  background: #dedede;
  border-radius: 30px;
  margin-left: 10px;
}
.precautionary-text {
  font-size: 12px;
  color: #8d8d8d;
  margin-top: 8px;
}
.product-detail-coupon-block {
  border-bottom: 1px dotted #ccc;
  padding-bottom: 14px;
}

/* クーポンブロック----------------------------------------------- */
.padding-coupon-block {
  padding-top: 1em;
  padding-bottom: 16px;
}

.shopping-coupon-card .form-item__box__highlight--text {
  margin-top: 10px;
}

.coupon-member-notice {
  font-size: 13px;
  line-height: 1.6;
}
