.project-more,
.ask-entry {
  position: relative;
  overflow: hidden;
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 35, 91, .07);
}

/* 補足資料を読み進める間、既存の戻るボタンが内容へ重ならないようにします。 */
#details .detail-back {
  position: static;
}

.project-more {
  padding: clamp(22px, 4vw, 38px);
}

.project-more::before,
.ask-entry::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(255, 109, 82, .22);
  border-radius: 50%;
  pointer-events: none;
}

.project-more::before {
  top: -76px;
  right: -40px;
  box-shadow: -28px 42px 0 -60px var(--coral), -62px 61px 0 -62px var(--coral);
}

.project-more-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.project-more-heading > span,
.ask-copy > span {
  display: inline-block;
  color: var(--coral);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}

.project-more-heading > span {
  padding: 7px 10px;
  border-radius: 99px;
  background: #fff0ed;
}

.project-more-heading h3,
.ask-copy h3 {
  margin: 0;
  color: var(--navy);
  letter-spacing: -.03em;
}

.project-more-heading h3 {
  font-size: clamp(25px, 4vw, 35px);
}

.project-more-heading p,
.ask-copy p {
  margin: 8px 0 0;
  color: #62697a;
  font-size: 13px;
  line-height: 1.8;
}

.watch-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 28px;
  align-items: center;
}

.watch-entry .project-more-heading {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.watch-entry-visual {
  display: flex;
  gap: 9px;
}

.watch-entry-visual span {
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 9 / 12;
  border: 1px solid #eadfd8;
  border-radius: 12px;
  background: linear-gradient(150deg, #fff0ed, #fffaf0 56%, #e6f5f3);
  color: var(--coral);
  font: 700 15px Georgia, serif;
}

.watch-entry-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 99px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.watch-entry-link:hover,
.watch-entry-link:focus-visible { background: var(--teal); }

.watch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.watch-card {
  min-width: 0;
  padding: 12px 12px 16px;
  border: 1px solid #e8e3da;
  border-radius: 19px;
  background: var(--paper);
}

.watch-media {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(150deg, #fff0ed, #fffaf0 52%, #e6f5f3);
}

.watch-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #10162a;
}

.watch-placeholder {
  position: relative;
  display: grid;
  place-content: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  color: var(--navy);
  text-align: center;
}

.watch-placeholder::before,
.watch-placeholder::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--coral);
  opacity: .16;
}

.watch-placeholder::before {
  top: 11%;
  right: 12%;
  width: 44px;
  height: 44px;
}

.watch-placeholder::after {
  bottom: 15%;
  left: 14%;
  width: 18px;
  height: 18px;
}

.watch-placeholder span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.watch-placeholder b {
  margin: 8px 0 12px;
  color: var(--coral);
  font: 700 clamp(42px, 6vw, 64px) Georgia, serif;
}

.watch-placeholder small {
  justify-self: center;
  padding: 7px 11px;
  border: 1px solid rgba(16, 35, 91, .14);
  border-radius: 99px;
  background: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 800;
}

.watch-number {
  color: var(--coral);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.watch-card h4 {
  margin: 7px 0 8px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.45;
}

.watch-card p {
  margin: 0;
  color: #62697a;
  font-size: 12px;
  line-height: 1.75;
}

.watch-related {
  margin-top: 13px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  text-align: left;
}

.watch-related:hover,
.watch-related:focus-visible {
  text-decoration: underline;
}

.watch-all {
  display: block;
  margin: 24px auto 0;
  padding: 12px 18px;
  border: 1px solid var(--navy);
  border-radius: 99px;
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.watch-all[hidden] {
  display: none;
}

.watch-empty,
.watch-noscript {
  grid-column: 1 / -1;
  padding: 18px;
  border-radius: 14px;
  background: var(--cream);
  color: #62697a;
  font-size: 13px;
  text-align: center;
}

.ask-entry {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  background: linear-gradient(130deg, #fff7f4, #fffdf8 58%, #eef8f6);
}

.ask-entry::before {
  right: 15%;
  bottom: -100px;
  border-color: rgba(26, 154, 152, .18);
}

.ask-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--coral);
  color: #fff;
  font: 700 31px Georgia, serif;
  box-shadow: 0 10px 24px rgba(255, 109, 82, .2);
}

.ask-copy h3 {
  margin-top: 5px;
  font-size: clamp(22px, 3vw, 30px);
}

.ask-entry > a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 99px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 11px 24px rgba(16, 35, 91, .17);
}

.ask-entry > a:hover,
.ask-entry > a:focus-visible {
  background: var(--teal);
}

@media (max-width: 760px) {
  .watch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ask-entry {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .ask-mark {
    width: 50px;
    height: 50px;
  }

  .ask-entry > a {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 550px) {
  .project-more,
  .ask-entry {
    margin: 22px 0;
    border-radius: 19px;
  }

  .project-more-heading {
    display: block;
  }

  .project-more-heading > span {
    margin-bottom: 11px;
  }

  .watch-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .watch-card {
    padding: 14px 14px 18px;
  }

  .watch-media {
    width: min(100%, 300px);
    margin-right: auto;
    margin-left: auto;
  }

  .watch-card h4 {
    font-size: 18px;
  }

  .watch-entry { grid-template-columns: 1fr; }
  .watch-entry .project-more-heading { grid-column: auto; }
  .watch-entry-visual { justify-content: center; }
  .watch-entry-link { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .watch-related,
  .watch-all,
  .ask-entry > a {
    scroll-behavior: auto;
    transition: none;
  }
}

@media print {
  .project-more,
  .ask-entry {
    break-inside: avoid;
    box-shadow: none;
  }

  .watch-media {
    aspect-ratio: 3 / 4;
  }

  .watch-all,
  .watch-related,
  .ask-entry > a {
    display: none !important;
  }
}
