/* Product single – campaign detail layout */

.ny-product,
.ny-others {
  --ny-detail-red: #e50020;
  --ny-detail-pink: #f57eb6;
  --ny-detail-vote: #fb5c73;
  --ny-detail-eat: #3dc8e2;
  --ny-gumi: #e83b6c;
  --ny-gumi-soft: #f4a0bc;
  --ny-detail-related: #fde5f0;
}

.ny-product {
  padding: 128px 0 80px;
  background: #fff;
}

.ny-product__inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  overflow-x: hidden;
}

.ny-product__head {
  display: flex;
  align-items: center;
  gap: 28px;
}

.ny-product__area {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 138px;
  height: 138px;
  margin: 0;
  padding: 10px;
  border-radius: 50%;
  background: var(--ny-detail-red);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-align: center;
}

.ny-product__intro {
  min-width: 0;
  flex: 1;
  text-align: left;
}

.ny-product__lead {
  margin: 0;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.ny-product__lead-part:first-child {
  display: inline-block;
  padding: 0.1em 0.5em;
  border: 1px solid var(--ny-detail-red);
  line-height: 1.4;
}

.ny-product__lead-part + .ny-product__lead-part::before {
  content: '　';
}

.ny-product__lead-part:nth-child(2) {
  font-weight: 400;
}

.ny-product__title {
  margin: 6px 0 0;
  color: #111;
  font-weight: 400;
  text-align: left;
}

.ny-product__name {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

.ny-product__txt {
  margin-top: 12px;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.9;
  text-align: left;
}

.ny-product__txt > *:first-child {
  margin-top: 0;
}

.ny-product__txt > *:last-child {
  margin-bottom: 0;
}

.ny-product__txt p {
  margin: 0 0 0.6em;
}

.ny-product__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: start;
  gap: 36px 48px;
  margin-top: 40px;
}

.ny-product__wrap--solo {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}

.ny-product__wrap--solo:has(.ny-product__detail) {
  grid-template-columns: minmax(0, 640px);
}

.ny-product__main {
  text-align: center;
}

.ny-product__thumb {
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 1312 / 1962;
  overflow: hidden;
}

.ny-product__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.ny-product__detail {
  padding-top: 8px;
}

.ny-product__about {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  margin-bottom: 50px;
}

.ny-product__info {
  min-width: 0;
  width: 100%;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.85;
  text-align: left;
}

.ny-product__info-title {
  margin: 0 0 12px;
  color: var(--ny-detail-pink);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.ny-product__info > *:last-child {
  margin-bottom: 0;
}

.ny-product__info p {
  margin: 0 0 0.8em;
}

.ny-product__sample {
  width: 100%;
  max-width: 280px;
  overflow: hidden;
  border-radius: 20px;
}

.ny-product__sample img {
  display: block;
  width: 100%;
  height: auto;
}

.ny-product__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-top: 28px;
  align-items: center;
  justify-items: center;
}

.ny-product__buy,
.ny-product__vote {
  display: block;
  width: 100%;
  color: inherit;
  text-align: center;
}

.ny-product__buy img,
.ny-product__vote img {
  display: block;
  width: 100%;
  height: auto;
}

.ny-product__vote:hover,
.ny-product__buy:hover {
  opacity: 0.92;
  text-decoration: none;
}

.ny-product__links {
  display: grid;
  /* single_yell.png 500×220 / ja_link.png 567×220 なので、列幅を実寸比にして高さを揃える */
  grid-template-columns: 500fr 567fr;
  gap: 20px 28px;
  max-width: 860px;
  margin: 56px auto 0;
}

.ny-product__link {
  display: block;
}

.ny-product__link img {
  display: block;
  width: 100%;
  height: auto;
}

.ny-product__link:hover {
  opacity: 0.92;
  text-decoration: none;
}

.ny-talent__box {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 64px auto 0;
}

.ny-talent--multiple .ny-talent__box + .ny-talent__box {
  margin-top: 36px;
}

.ny-talent__pref {
  position: absolute;
  top: 36px;
  left: 36px;
  z-index: 2;
  width: max-content;
  max-width: calc(100% - 48px);
  min-width: 0;
  padding: 12px 32px 14px;
  border: 3px solid #fff;
  border-radius: 4px;
  background: var(--ny-detail-pink);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.ny-talent__pref::before,
.ny-talent__pref::after {
  content: "";
  position: absolute;
  left: 36px;
  border-style: solid;
  border-color: transparent;
}

.ny-talent__pref::before {
  bottom: -14px;
  border-width: 14px 12px 0 0;
  border-top-color: #fff;
}

.ny-talent__pref::after {
  bottom: -9px;
  border-width: 11px 9px 0 0;
  border-top-color: var(--ny-detail-pink);
}

.ny-talent__card {
  position: relative;
  overflow: visible;
  padding: 52px 48px 56px;
  border: 0;
  border-radius: 40px;
  background: var(--ny-detail-pink);
  color: #fff;
}

.ny-talent__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 44px;
  margin-top: 0;
}

.ny-talent__body {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  gap: 36px 40px;
  width: 100%;
  min-width: 0;
}

.ny-talent__sign {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  overflow: visible;
  width: 48.9%;
}

.ny-talent__sparkle {
  position: absolute;
  z-index: 2;
  width: 28px;
  height: 28px;
  background: url("../img/top/kira.png") center / contain no-repeat;
  pointer-events: none;
}

.ny-talent__sparkle:nth-child(1) {
  top: 0.8%;
  left: 120.4%;
  width: 79px;
  height: 74px;
}

.ny-talent__sparkle:nth-child(2) {
  top: 91%;
  left: -33.9%;
  width: 79px;
  height: 74px;
  transform: translate(-50%, -50%);
}

.ny-talent__sign-card {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
}

.ny-talent__sign-card img {
  display: block;
  width: 100%;
  height: auto;
}

.ny-talent__photo {
  flex: 0 0 225px;
  width: 225px;
  overflow: hidden;
  margin: 0;
}

.ny-talent__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.ny-talent__member {
  display: flex;
  flex: 0 1 434px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: auto;
  max-width: 434px;
  min-width: 0;
  color: #fff;
  text-align: left;
}

.ny-talent__label {
  margin: 0 0 16px;
  color: #fff;
  text-align: left;
}

.ny-talent__label span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.ny-talent__label .ny-talent__product {
  margin-top: 8px;
  max-width: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: normal;
}

.ny-talent__name {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.ny-talent__name > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6em;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 12px 40px;
  border-radius: 999px;
  background: #fff;
  color: var(--ny-detail-pink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.ny-tiktok {
  width: 100%;
  max-width: 750px;
  margin: 48px auto 0;
  padding: 25px 25px 30px 25px;
  border: 5px solid #000;
  background: #fff url("../img/product/sns_bg.jpg") center / cover no-repeat;
  color: #111;
  text-align: center;
}

.ny-tiktok__inner {
  padding: 25px 15px 35px;
  background: rgba(255, 255, 255, 0.8);
}

.ny-tiktok__icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ny-tiktok__icon {
  width: 60px;
  height: 60px;
}

.ny-tiktok__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.ny-tiktok__title {
  margin: 22px 0 0;
  color: #111;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.ny-tiktok__lead {
  margin: 14px 0 0;
  color: #111;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.75;
}

.ny-tiktok__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.ny-tiktok__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 18px 8px 12px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.ny-tiktok__mark {
  display: block;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
}

.ny-tiktok__ext {
  display: block;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.ny-tiktok__button:hover {
  opacity: 0.85;
  color: #fff;
  text-decoration: none;
}

.ny-others {
  padding: 72px 0 160px;
  background: var(--ny-detail-related);
}

.ny-others__inner {
  width: min(1280px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.ny-others__title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  text-align: center;
}

.ny-others__title img {
  display: block;
  width: min(778px, 100%);
  height: auto;
}

.ny-others__title span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  color: var(--ny-detail-red);
  font-size: 40px;
  font-family: "Kaisei Opti", "Shippori Mincho", "Noto Serif JP", "游明朝", "Yu Mincho", "YuMincho", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.ny-others .ny-product-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: stretch;
  gap: 48px 28px;
  max-width: none;
  margin: 56px auto 0;
}

.ny-others .ny-product-list::before,
.ny-others .ny-product-list::after {
  display: none;
}

.ny-others .ny-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
}

.ny-others .ny-product-card__thumb {
  width: 100%;
  aspect-ratio: 1312 / 1962;
  overflow: hidden;
}

.ny-others .ny-product-card__thumb img {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
}

.ny-others .ny-product-card__thumb:hover img {
  transform: none;
}

.ny-others .ny-product-card__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin-top: 20px;
  padding-bottom: 16px;
  flex: 1 0 auto;
}

.ny-others .ny-product-card__prefecture {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  margin-bottom: 10px;
  padding: 6px 18px;
  border: 1px solid var(--ny-gumi-soft);
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.ny-others .ny-product-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: normal;
}

.ny-others .ny-product-card__title a:hover {
  color: inherit;
}

.ny-others .ny-product-card__more {
  position: relative;
  width: 100%;
  max-width: 220px;
  height: 44px;
  margin-top: 0;
  padding: 0 40px 0 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f57eb6 0%, #e50020 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ny-others .ny-product-card__more::after {
  position: absolute;
  top: 50%;
  right: 18px;
  content: "→";
  transform: translateY(-50%);
}

.ny-others .ny-product-card__more:hover {
  background: linear-gradient(180deg, #e50020 0%, #e50020 100%);
  color: #fff;
}

.ny-others__nav {
  margin: 56px 0 0;
  text-align: center;
}

.ny-others__back {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 72px;
  margin: 0 auto;
  padding: 12px 24px 12px 88px;
  border: 2px solid var(--ny-detail-red);
  border-radius: 4px;
  background: #fff;
  color: var(--ny-detail-red);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ny-others__back::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ny-detail-red);
  transform: translateY(-50%);
}

.ny-others__back::before {
  content: "→";
  position: absolute;
  top: 50%;
  right: 14px;
  z-index: 1;
  width: 44px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  transform: translateY(-50%);
}

.ny-others__back:hover {
  background: var(--ny-detail-red);
  color: #fff;
  text-decoration: none;
}

.ny-others__back:hover::after {
  background: #fff;
}

.ny-others__back:hover::before {
  color: var(--ny-detail-red);
}

@media (max-width: 999px) {
  .ny-others .ny-product-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ny-talent__pref {
    top: 24px;
    left: 24px;
    padding: 8px 20px 10px;
    font-size: 16px;
    border-width: 2px;
  }

  .ny-talent__pref::before {
    bottom: -11px;
    border-width: 11px 9px 0 0;
  }

  .ny-talent__pref::after {
    bottom: -7px;
    border-width: 8px 7px 0 0;
  }

  .ny-talent__card {
    padding: 40px 32px 44px;
    border-radius: 32px;
  }

  .ny-talent__inner {
    gap: 32px;
  }

  .ny-talent__body {
    gap: 24px 32px;
  }

  .ny-talent__sign {
    width: 32%;
  }

  .ny-talent__sparkle:nth-child(1) {
    width: 60px;
    height: 60px;
  }

  .ny-talent__sparkle:nth-child(2) {
    width: 60px;
    height: 60px;
  }

  .ny-talent__photo {
    flex-basis: 180px;
    width: 180px;
    height: auto;
  }

  .ny-talent__name > span {
    min-width: 0;
    font-size: 16px;
    padding: 10px 28px;
  }

  .ny-talent__product {
    font-size: 16px !important;
  }
}

@media (max-width: 821px) {
  .ny-product {
    padding: 80px 0 48px;
  }

  .ny-product__inner,
  .ny-others__inner {
    width: calc(100% - 2rem);
  }

  .ny-product__head {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .ny-product__area {
    width: 124px;
    height: 124px;
    font-size: 14px;
  }

  .ny-product__intro,
  .ny-product__title,
  .ny-product__txt {
    text-align: center;
  }

  .ny-product__lead {
    font-size: 13px;
  }

  .ny-product__lead-part {
    display: block;
  }

  .ny-product__lead-part:first-child {
    display: inline-block;
  }

  .ny-product__lead-part + .ny-product__lead-part::before {
    content: none;
  }

  .ny-product__name {
    font-size: 24px;
  }

  .ny-product__wrap,
  .ny-product__wrap--solo {
    display: block;
    margin-top: 28px;
  }

  .ny-product__thumb {
    max-width: 280px;
  }

  .ny-product__detail {
    margin-top: 28px;
    padding-top: 0;
  }

  .ny-product__about {
    align-items: center;
    gap: 20px;
  }

  .ny-product__info,
  .ny-product__info-title {
    text-align: center;
  }

  .ny-product__info-title {
    font-size: 15px;
  }

  .ny-product__sample {
    max-width: 220px;
    margin-inline: auto;
  }

  .ny-product__buttons {
    width: min(360px, 100%);
    gap: 16px;
    margin: 24px auto 0;
  }

  .ny-product__buy,
  .ny-product__vote {
    width: min(240px, 100%);
  }

  .ny-product__links {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
  }

  .ny-talent__box {
    margin-top: 48px;
  }

  .ny-talent--multiple .ny-talent__box + .ny-talent__box {
    margin-top: 28px;
  }

  .ny-talent__box--tab {
    padding-top: 0;
  }

  .ny-talent__pref {
    top: 16px;
    left: 16px;
    min-width: 0;
    padding: 6px 14px 8px;
    font-size: 14px;
    letter-spacing: 0.08em;
  }

  .ny-talent__card {
    padding: 64px 20px 36px;
    border-radius: 28px;
  }

  .ny-talent__inner {
    gap: 24px;
  }

  .ny-talent__body {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

  .ny-talent__sign {
    flex: 0 0 auto;
    width: min(220px, 72%);
  }

  .ny-talent__sparkle:nth-child(1) {
    top: -10%;
    left: 108%;
    width: 40px;
    height: 40px;
  }

  .ny-talent__sparkle:nth-child(2) {
    top: 104%;
    left: -30px;
    width: 40px;
    height: 40px;
  }

  .ny-talent__sparkle:nth-child(3) {
    top: 98%;
    left: -10%;
    width: 20px;
    height: 20px;
  }

  .ny-talent__sparkle:nth-child(4) {
    top: 112%;
    left: 2%;
    width: 14px;
    height: 14px;
  }

  .ny-talent__photo {
    flex-basis: auto;
    width: 160px;
    height: auto;
  }

  .ny-talent__product {
    font-size: 16px !important;
  }

  .ny-talent__name > span {
    min-width: 0;
    font-size: 16px;
    gap: 1.4em;
    padding: 10px 22px;
  }

  .ny-talent__member {
    flex: 0 0 auto;
    width: min(320px, 100%);
    max-width: none;
    align-items: center;
    text-align: center;
  }

  .ny-talent__label {
    text-align: center;
  }

  .ny-tiktok {
    max-width: none;
    margin-top: 28px;
    padding: 28px 16px 32px;
    border-width: 3px;
  }

  .ny-tiktok__icon {
    width: 48px;
    height: 48px;
  }

  .ny-tiktok__mark {
    width: 22px;
    height: 22px;
  }

  .ny-tiktok__title {
    font-size: 20px;
    letter-spacing: 0.04em;
  }

  .ny-tiktok__lead {
    font-size: 14px;
  }

  .ny-tiktok__actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
  }

  .ny-tiktok__button {
    width: min(280px, 100%);
    min-height: 48px;
    font-size: 14px;
  }

  .ny-others {
    padding: 48px 0 120px;
  }

  .ny-others__title img {
    width: min(420px, 100%);
  }

  .ny-others__title span {
    width: 74%;
    font-size: 20px;
    letter-spacing: 0.06em;
  }

  .ny-others .ny-product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
    margin-top: 36px;
  }

  .ny-others .ny-product-card__prefecture {
    min-width: 0;
    width: 100%;
    padding: 4px 8px;
    font-size: 11px;
  }

  .ny-others .ny-product-card__title {
    font-size: 13px;
  }

  .ny-others .ny-product-card__more {
    max-width: none;
    height: 38px;
    font-size: 12px;
  }

  .ny-others__nav {
    margin-top: 36px;
  }

  .ny-others__back {
    min-height: 56px;
    padding: 10px 0 10px 0;
    font-size: 14px;
  }

  .ny-others__back::after {
    width: 32px;
    height: 32px;
    right: 10px;
  }

  .ny-others__back::before {
    width: 32px;
    right: 10px;
    font-size: 14px;
  }
}
