@import url("https://use.typekit.net/emd7llm.css");

.coupon {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 8px;
}

.p-top-recommend-bottom {
  margin-bottom: 5rem;
}

.c-heading-h3-side-menu__inner {
  background-image: none;
}

.left-txt {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.coupon__not__exist {
  background: #fdf7f7;
  color: #cd1919;
}

.coupon__list {
  display: flex;
  flex-wrap: wrap;
}

.coupon__list .item {
  width: 100%;
  background-color: #f8f4e1;
  margin-bottom: 24px;
  padding-bottom: 1.5rem;
}
.coupon__list .item:last-child {
  margin-bottom: 0;
}

.coupon__list .item--nocoupon {
  padding: 3rem 0;
  background-color: #f8f8f8;
}

.coupon__list .item a {
  display: inline-block;
  max-width: 400px;
  width: 100%;
}

.coupon__link__rect {
  text-align: center;
}
.coupon__image {
  margin-bottom: 1.5rem;
  max-width: 400px;
  margin: 20px auto;
  background-color: #fff;
  border-radius: 10px;
  text-align: center;
  position: relative;
  background-size: 45px;
  overflow: hidden;
}

.coupon__image:before,
.coupon__image:after {
  position: absolute;
  top: calc(50% - 19px);
  width: 35px;
  height: 40px;
  content: "";
  border-radius: 50%;
  background: #f8f4e1;
}

.coupon__image:before {
  left: -15px;
}

.coupon__image:after {
  right: -15px;
}



.coupon__image img {
  max-width: 100%;
}
.coupon__image .coupon__display__name {
/*  border-bottom: 3px dashed #e8e3ce;*/
  padding: 1rem 0 0.9rem;
  width: calc(100% - 5rem);
  margin: 0 auto;

}

#couponDisplayName {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
}

.coupon__image .coupon__discount__price {
  font-size: 3.6rem;
  color: #ff0000;
  font-family: "din-2014", sans-serif;
  margin-top: 10px;
  padding: 0 20px;
  line-height: 1;
  word-break: keep-all;
}
.coupon__image .coupon__discount__price .price {
  font-size: 6.6rem;
  font-weight: 900;
  font-family: "din-2014", sans-serif;
  padding-right: 0.2rem;
  display: inline-block;
}
.coupon__image .coupon__image__bottom {
  color: #ffffff;
  background-color: #1d2087;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  font-size: 1.2rem;
  padding-top: 5px;
  padding-bottom: 3px;
  letter-spacing: 0.05rem;
  font-family: "Yu Mincho Light", "YuMincho", "Yu Mincho", "游明朝体", serif;
}
.coupon__image .coupon__display__name {
  position: relative;
}
.coupon__image .coupon__display__name::after{
  content: '';
  position: absolute;
  bottom: -4px;
  display: inline-block;
  width: 300px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-image : linear-gradient(to right, #e8e3ce 7px, transparent 7px, transparent 18px);  /* 幅7の線を作る */
  background-size: 11px 3px;
  border-radius: 2px;
  background-repeat: repeat-x;/* 横向きにのみ繰り返す */
}
.coupon__heading {
  font-size: 2rem;
  text-align: center;
  font-weight: bold;
  margin-bottom: 0.8rem;
}
.coupon__code__area {
  font-size: 1.6rem;
  text-align: center;
  padding: 0 0.8rem;
  z-index: 1;
}
.coupon__code {
  color: #ff0000;
  font-size: 2rem;
}
.coupon__code__used {
  background-color: #b4b4b4;
  font-size: 1.6rem;
  text-align: center;
  padding: 5px 2rem;
  color: #ff0000;
}
.couponCodeCopyBtn {
  margin-left: 20px;
  display: flex;
  margin: 0 auto;
  margin-top: 15px;
  align-items: center;
  justify-content: center;
  padding: 0 50px;
  height: 50px;
}
.coupon .c-button--quaternary:hover {
  background-color:#8eb1df;
}
.coupon .c-button--quaternary:focus {
  background-color:#8eb1df;
}
.coupon__description {
  font-size: 1.6rem;
  text-align: center;
  padding: 5px 2rem;
}
.coupon .coupon__text{
  padding-bottom: 10px;
  font-weight: bold;
  color: #ff0000;
}
.coupon .coupon__text2 {
  width: 80%;
  margin: 10px auto;
  font-size: 14px;
  color: #cd1919;
}
.coupon .coupon__text2 li {
  margin-left: 1rem;
  margin-bottom: 3px;
  text-indent: -1.4rem;
  color: #cd1919;
}
.coupon .coupon__text2 li::before {
  content: "・";
}
.coupon__list .item a:hover {
  opacity: 0.6;
}
.coupon .mailmagazine {
  margin: 12px auto;
  max-width: 700px;
  background: #fdf7f7;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
}
.coupon .mailmagazine p.mmsend {
  color: #cd1919;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 20px;
}
.coupon .mailmagazine p.mmcheck {
  margin-top: 8px;
  text-decoration: underline;
}
.coupon .mailmagazine p.mmsend::before {
  content: "";
  background-image: url("/images/top/subscription/icon-envelope01.svg");
  margin-right: 12px;
  vertical-align: middle;
  display: inline-block;
  background-size: contain;
  width: 27px;
  height: 27px;
}
.coupon .bold {
  font-weight: bold;
}
.coupon .mark {
  display: inline;
  font-weight: bold;
  background: linear-gradient(0deg, #f8cf9f 30%, transparent 30%);
}
.coupon .alert {
  color: #e70000;
  font-weight: bold;
  margin-top: 0.8rem;
}
.coupon .explanation {
  background: #f2f2f2;
  padding: 20px 30px;
  margin-bottom: 5rem;
  border-radius: 1rem;
}
.coupon .explanation p {
  font-size: 18px;
  color: #1d2087;
  font-weight: bold;
  margin-bottom: 8px;
}
.coupon .explanation ul {
  margin: 8px 1rem;
}
.coupon .explanation li {
  margin-left: 1rem;
  margin-bottom: 3px;
  font-size: 14px;
  color: #333;
  text-indent: -1.4rem;
}
.coupon .explanation li::before {
  content: "・";
}
.coupon .mailregist__block {
  margin: 1rem 0 4rem;
  text-align: center;
}
.mailregist__block .subscription__link {
  display: grid;
  justify-content: center;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, 36rem);
}
.mailregist__block .subscription__link li span {
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 500;
}
.mailregist__block .subscription__link .btn_member {
  display: flex;
  justify-content: center;
  padding: 1rem 2rem;
  text-align: center;
  align-items: center;
  height: 7rem;
  border-radius: 3.6rem;
  color: #fff;
  background: #f2a041;
  font-weight: 700;
  transition: all 0.3s ease;
}
.mailregist__block .subscription__link .btn_mm {
  display: flex;
  justify-content: center;
  padding: 1rem 2rem;
  text-align: center;
  align-items: center;
  height: 7rem;
  border-radius: 3.6rem;
  color: #fff;
  background: #5ea1cb;
  font-weight: 700;
  transition: all 0.3s ease;
}
.coupon .onlysp {
  display: none;
}
.coupon .i-block{
  display: inline-block;
}
.ui-dialog .ui-dialog-content {
    overflow: unset!important;
}

.ui-dialog.couponDialog {
  position: fixed;
  top: 50% !important;
  transform: translateX(-50%) translateY(-50%);
  height: 90vh  !important;
  overflow-y: auto;
  left: 50% !important;
}

.couponDialogBody {
  overflow: hidden;
}

.couponDialog .l-main {
  margin-bottom: 1rem;
}

@media screen and (max-width: 767px) {
  .p-top-recommend-bottom {
    margin-bottom: 4rem;
  }

  .coupon {
  padding: 0;
  }
  .couponDialog .u-wrap {
    padding: 0;
  }
  .p-top-recommend-bottom__inner {
    width: calc(100%);
    padding: 0 2rem 3rem;
    margin-left: 0;
  }
  .coupon__list {
    display: block;
  }
  .coupon__list p {
    padding: 0 1rem;
  }
  .coupon__list .item {
    width: 100%;
  }
  .coupon .coupon__text2 {
    width: 90%;
    margin: 10px auto;
    font-size: 14px;
    color: #cd1919;
  }
  .coupon__image {
    margin-bottom: 1.5rem;
    width: 90%;
    padding-top: 12px;
    margin: 0px auto;
    margin-top: 15px;
    margin-bottom: 10px;
  }
  .coupon__image img {
    max-width: 100%;
  }
  .coupon__image .coupon__display__name {
    width: calc(100% - 2.5rem);
  }
  .coupon__image .coupon__display__name::after{
    width: 230px;
  }
  .coupon__image .coupon__discount__price {
    font-size: 2.7rem;
    margin-top:10px;
  }
  .coupon__image .coupon__discount__price .price {
    font-size: 4.3rem;
  }
  .coupon__image .coupon__image__bottom {
    font-size: 1rem;
    padding-top: 3px;
    padding-bottom: 2px;
  }
  .coupon .coupon__text {
    padding-bottom: 8px;
    font-size: 16px;
  }
  .coupon .coupon__text2 li {
    font-size: 13px;
  }
  .coupon__list .item {
    padding-bottom: 1rem;
  }
  .coupon__list .item:nth-last-child(n + 3) {
    margin-bottom: 0;
  }

  .coupon__list .item:not(:last-child) {
    margin-bottom: 1rem;
  }
  .coupon__image .coupon__display__name {
    padding-top: 0;
  }

  #couponDisplayName {
    font-size: 1.6rem;
    padding: 0.8rem 1rem;
  }

  .coupon__code {
    font-size: 1.6rem;
  }
  .coupon__code__area {
    padding: 0.5rem;
  }
  .couponCodeCopyBtn {
    padding: 0 35px;
    height: 45px;
  }

  .coupon .alert {
    font-size: 1.4rem;
  }
  .coupon .explanation {
    background: #f2f2f2;
    padding: 16px 10px;
    margin-bottom: 5rem;
    border-radius: 1rem;
  }
  .mailregist__block .subscription__link {
    gap: 2rem;
    grid-template-columns: repeat(1, 32rem);
  }
  .coupon .onlysp {
    display: block;
  }
  .coupon .mailmagazine p.mmsend {
  font-size: 17px;
  }
  .coupon .c-heading-h3-side-menu__inner{
    padding: 0;
  }
  .mailregist__block .subscription__link .btn_mm {
    width: 80%;
    margin: 0 auto;
  }
  .mailregist__block .subscription__link .btn_member {
    width: 90%;
    margin: 0 auto;
  }
  .mailregist__block .subscription__link li span {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .couponDialog .p-top-recommend {
    padding-top: 0;
  }
  .ui-dialog .ui-dialog-content {
    padding: 1rem 0;
  }
  .couponDialog .l-main {
    margin-bottom: 0;
  }
  .couponDialog.ui-dialog .ui-dialog-content {
    padding-bottom: 0;
  }

}
