﻿@charset "UTF-8";
/* モーダルCSS */

/* .modalWrapper {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 330px;
  height: 280px;
  max-width: 780px;
  max-height: 80%;
  z-index: 10;
}

.closeModal {
  width: 50px;
  height: 30px;
  display: block;
  text-align: center;
  cursor: pointer;
  background-color: black;
  font-size: 30px;
  color: white;
}

.modalContents {
  width: 100%;
  height: 250px;
  font-size: 16px;
  margin: 0 auto;
  line-height: 1;
  text-align: center;
  background-color: #fff;
  border: solid 1px black;
} */

.coupon__wrapper {
  position: fixed;
  bottom: 7.5rem;
  left: 50%;
  transform: translate(-50%, 0);
  width: 92vw;
  /* height: fit-content; */
  height: auto;
  max-height: 80%;
  z-index: 1;
}

.modalWrapper {
  display: none;
  /* position: fixed;
  bottom: 7.5rem;
  left: 50%;
  transform: translate(-50%,0);
  width: 92vw;
  height: fit-content;
  max-height: 80%;
  z-index: 10; */
}
.closeModal {
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: absolute;
  right: -1rem;
  top: -1.5rem;
  background-color: var(--color-gender-women);
  border-radius: 1rem;
  z-index: 1;
}
.closeModal svg {
  aspect-ratio: 1;
  width: 2rem;
}
.modalContents {
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
  padding: 2rem;
  position: relative;
}
.modalContents::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  border-radius: 1rem;
  background-color: #FFF0F0;
  box-shadow: 0px 0px 35px 0px rgba(29, 24, 26, 0.1);
  backdrop-filter: blur(2px) opacity(95%);
}
.coupon__description {
  font-size: 1.3rem;
  font-weight: var(--fw-medium);
  font-family: var(--font-ja), sans-serif;
  letter-spacing: .15em;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.coupon__description--content {
  color: var(--color-gender-women);
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
}
span.coupon__description--text {
  font-size: 1rem;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  display: block;
  margin-top: 0.4rem;
}
.coupon__code--wrap {
  background-color: #fff;
  border-radius: 28px;
  padding: 1rem;
  font-size: 1.4rem;
  letter-spacing: .15em;
}
.coupon__supplement {
  margin-top: 1.2rem;
}
.coupon__supplement--text {
  font-size: 1rem;
  font-weight: var(--fw-regular);
  line-height: 1.8;
  text-align: left;
  letter-spacing: 0.1em;
}
.coupon__supplement--link {
  border: 1px solid var(--color-gender-women);
  letter-spacing: .15em;
  border-radius: 2.8rem;
  width: fit-content;
  margin: 1rem auto 0;
}
.coupon__supplement--link a {
  color: var(--color-gender-women);
  text-decoration: none;
  font-size: 1rem;
  display: block;
  padding: .5rem 1.5rem;
}

@media screen and (min-width: 768px) {
  .coupon__wrapper {
    width: auto;
    min-width: 25rem;
    max-width: 30rem;
    bottom: 2rem;
    left: 2.2rem;
    transform: translate(0, 0);
  }
  .modalWrapper {
    /* width: auto;
    min-width: 25rem;
    max-width: 30rem;
    bottom: 2rem;
    left: 2.2rem;
    transform: translate(0, 0); */
  }
  
  .modalContents {
    padding: 2rem;
  }
}
