@charset "UTF-8";

/* 劇場版までにしたい10のこと */
#wishlist {
  padding: 30px 24px 30px;
}

#wishlist .headingL {
  margin-bottom: 35px;
  line-height: 1.7;
}

#wishlist .wishlist__notebook {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 65px 48px 100px;
  border: 1px solid #e9e4d9;
  border-radius: 8px 14px 14px 8px;
  background-color: #f9f7ef;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 35px, #dfddd345 35px, #dfddd345 36px);
  box-shadow: 0 8px 18px #423c3020, 0 2px 4px #423c3010;
}

#wishlist .wishlist__notebook::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 16px;
  width: 18px;
  background: radial-gradient(circle at 9px 18px, #b5ad9d 0, #d4cdbc 6px, #fffdf6 7px, transparent 8px) 0 0 / 18px 48px repeat-y;
  pointer-events: none;
}

#wishlist .wishlist__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 90%;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

#wishlist .wishlist__note {
  --note-color: #8fcdd5;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: stretch;
  min-width: 0;
  color: #303934;
  background: #fff;
  box-shadow: -2px 2px 2px #40392c25, 2px 7px 10px #393b3820;
  font-family: var(--font-family-accent);
  font-size: clamp(1.15rem, 0.9rem + 0.8vw, 1.6rem);
  line-height: 1.7;
  transform: rotate(-0.5deg);
}

#wishlist .wishlist__note:nth-child(3n + 2) {
  --note-color: #f6c68e;
  transform: rotate(0.4deg);
}

#wishlist .wishlist__note:nth-child(3n) {
  --note-color: #c9a7da;
  transform: rotate(-0.7deg);
}

#wishlist .wishlist__number {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.4em;
  padding: 15px 0;
  background: linear-gradient(110deg, #ffffff08, #ffffff30), var(--note-color);
  font-size: 1.2em;
  line-height: 1;
}

#wishlist .wishlist__text {
  display: block;
  align-self: center;
  flex: 1;
  min-width: 0;
  padding: 16px 16px;
  overflow-wrap: anywhere;
}

#wishlist a.wishlist__text {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--color-03);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: opacity 0.25s ease;
}

#wishlist a.wishlist__text:hover {
  opacity: 0.5;
}

#wishlist a.wishlist__text:focus-visible {
  outline: 2px solid #008c79;
  outline-offset: 6px;
}

/* 文字の絵文字化を避け、PC・SP共通の右上矢印を描画 */
#wishlist .wishlist__external {
  position: relative;
  display: inline-block;
  width: 0.75em;
  height: 0.75em;
  margin-left: 0.5em;
  vertical-align: 0.02em;
  color: var(--color-03);
  text-decoration: none;
}

#wishlist .wishlist__external::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0.55em;
  height: 0.55em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

#wishlist .wishlist__external::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  width: 0.95em;
  height: 2px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
}

#wishlist .wishlist__note--soon .wishlist__text {
  color: #85877d;
}

#wishlist .wishlist__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  #wishlist {
    padding: 20px 16px 20px;
  }

  #wishlist .headingL {
    margin-bottom: 17.5px;
    letter-spacing: 0.04em;
  }

  #wishlist .wishlist__notebook {
    padding: 30px 16px 30px 34px;
  }

  #wishlist .wishlist__notebook::before {
    left: 5px;
    width: 14px;
    background-size: 18px 40px;
  }

  #wishlist .wishlist__list {
    gap: 16px;
    width: 94%;
  }

  #wishlist .wishlist__note {
    font-size: 1.15rem;
    line-height: 1.65;
  }

  #wishlist .wishlist__number {
    flex-basis: 1.975em;
    padding: 12px 0;
  }

  #wishlist .wishlist__text {
    padding: 14px 10px;
  }
}

/* メインビジュアル：既存2ボタンの下に横幅いっぱいで配置 */
.top_bt_set .top_bt--wishlist {
  width: 100%;
  margin-top: 4%;
}

.top_bt_set .top_bt--wishlist a,
.top_bt_set .top_bt--wishlist img {
  display: block;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .top_bt_set {
    bottom: 2%;
  }
}

@media screen and (min-width: 768px) {
  .top_bt_set {
    width: 28.75%;
    right: 12.625%;
    bottom: 12%;
  }
}
