/* =======================================- */
/* ▼▼▼　Cookie同意バナー
/* =======================================- */
.cookie-consent {
  background-color: rgba(0, 0, 0, .85);
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  position: fixed;
  z-index: 10000;
}

.cookie-consent.is-show {
  display: block;
}

.cookie-consent-inner {
  align-items: center;
  column-gap: 20px;
  row-gap: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  padding: 15px 20px;
}

.cookie-consent-text {
  color: #FFF;
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  min-width: 260px;
}

.cookie-consent-text a {
  color: #FFF;
  text-decoration: underline;
}

header#common-header .cookie-consent-text a {
  text-decoration-color: #fff;
}

.cookie-consent-btn {
  background-color: #2D7DD2;
  border: none;
  color: #FFF;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 500;
  padding: .8em 2.5em;
  transition: .3s;
}

.cookie-consent-btn:hover {
  opacity: .8;
}

@media screen and (max-width: 767px) {
  .cookie-consent-inner {
    padding: 12px 15px;
  }

  .cookie-consent-text {
    font-size: 12px;
  }

  .cookie-consent-btn {
    font-size: 13px;
    padding: .7em 1.8em;
  }
}

/* =======================================- */
/* ▼▼▼　プライバシーポリシーモーダル
/* =======================================- */
.privacy-modal {
  display: none;
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
}

.privacy-modal.is-show {
  display: block;
}

.privacy-modal-overlay {
  background-color: rgba(0, 0, 0, .6);
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.privacy-modal-inner {
  background-color: #FFF;
  box-sizing: border-box;
  max-height: 80vh;
  max-width: 800px;
  width: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.privacy-modal-content {
  padding: 50px 40px 40px;
  overflow-y: auto;
  height: 100%;
  max-height: 80vh;
}

.privacy-modal-body h2 {
  border-bottom: 2px solid #B7183F;
  color: #980037;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  padding-bottom: 15px;
}

.privacy-modal-body p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 1em;
}

.privacy-modal-body ul {
  font-size: 14px;
  margin-left: 1.5em;
  display: flex;
  flex-direction: column;
  row-gap: .8em;
}

.privacy-modal-body ul li {
  list-style: disc;
  line-height: 1.6;
}

.privacy-modal-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 1em;
  margin-top: 30px;
}
.privacy-modal-body a {
  text-underline-offset: .2em;
}
header#common-header .privacy-modal-body a {
  color: #d81871;
}
.privacy-modal-body a[target="_blank"] {
  display: grid;
  grid-template-columns: auto 16px;
  align-items: center;
  column-gap: 1em;
  width: fit-content;
}
.privacy-modal-body a[target="_blank"]:after {
  content: "";
  width: 100%;
  aspect-ratio: 1;
  background: url(/ja/common/img/icon_blank_cookie.png) no-repeat center/contain;
  display: block;
}
.privacy-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  height: 40px;
  width: 40px;
  padding: 0;
  position: absolute;
  top: 10px;
  right: 20px;
}

.privacy-modal-close span {
  background-color: #333;
  display: block;
  height: 2px;
  width: 24px;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
}

.privacy-modal-close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.privacy-modal-close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media screen and (max-width: 767px) {
  .privacy-modal-inner {
    max-height: 85vh;
  }
  .privacy-modal-content {
    max-height: 85vh;
    padding: 45px 20px 30px;
  }
  .privacy-modal-close {
    right: 10px;
  }
}
