body.profile-body {
  color: var(--color-ink);
  background: #fbf8f2;
}

body.is-profile-modal-open {
  overflow: hidden;
}

.profile-main {
  overflow-x: clip;
  overflow-y: visible;
  background:
    url("../img/obj-kumo1.webp") left 9vw top 140px / clamp(90px, 16vw, 210px) auto no-repeat,
    url("../img/obj-kumo2.webp") right -28px top 300px / clamp(98px, 15vw, 190px) auto no-repeat,
    url("../img/obj-kumo1.webp") left -36px top 720px / clamp(110px, 18vw, 240px) auto no-repeat,
    #f8f3e8;
}

.profile-intro {
  position: relative;
  margin: 0 auto;
  padding: clamp(112px, 10vw, 150px) 0 0;
  overflow: visible;

}
.profile-intro::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 50vw);
  z-index: 5;
  width: 100vw;
  height: clamp(92px, 10vw, 148px);
  pointer-events: none;
  background: url("../img/divider-blue-to-blue.svg") center top / 100% 100% no-repeat;
  
}

.profile-intro__body {
  --profile-intro-body-space: clamp(28px, 5vw, 84px);
  --profile-intro-divider-height: clamp(92px, 10vw, 148px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 4fr) minmax(0, 6fr);
  column-gap: clamp(28px, 5vw, 84px);
  align-items: start;
  padding: var(--profile-intro-body-space);
  padding-bottom: calc(var(--profile-intro-body-space) + var(--profile-intro-divider-height));

}

.artwork::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  z-index: 5;
  width: 100vw;
  height: var(--profile-intro-divider-height, clamp(92px, 10vw, 148px));
  pointer-events: none;
  background: url("../img/divider-kinari-to-blue-top.svg") center top / 100% 100% no-repeat;
}
.profile-intro__figure {
  position: sticky;
  top: 0;
  display: grid;
  height: 100svh;
  min-height: 0;
  align-items: start;
  justify-items: center;
  align-self: start;
  box-sizing: border-box;
  padding-top: clamp(48px, 8svh, 96px);
  pointer-events: none;
}


.profile-intro__image {
  position: relative;
  z-index: 2;
  display: block;
  width: min(70%, 470px);
  height: auto;
  filter: drop-shadow(0 20px 20px rgba(126, 108, 55, 0.16));
}

.profile-intro__drops {
  position: absolute;
  left: 22%;
  top: 52%;
  z-index: 3;
  display: grid;
  gap: 12px;
  justify-items: center;
  width: 18px;
  opacity: 1;
  aspect-ratio: 1;
}

.profile-intro__drop {
  display: block;
  width: 14px;
  aspect-ratio: 707.1067812 / 951.2365145;
  color: #31c1d0;
  transform-style: preserve-3d;
}

.profile-intro__drop svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.profile-intro__drop polygon {
  fill: currentColor;
  stroke: transparent;
  stroke-width: 0;
  stroke-linejoin: round;
}

.profile-intro__drop:nth-child(even) {
  color: #fff;
}

.profile-intro__drop:nth-child(even) polygon {
  stroke: #AC885D;
  stroke-width: 17px;
}


.profile-intro__drop:nth-last-child(4) {
  animation: profile-drop-flip 3s 1.5s ease-in-out infinite;
  transform-origin: center;
}

.profile-intro__drop:nth-last-child(2) {
  animation: profile-drop-flip 6s 2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes profile-drop-flip {
  0%,
  100% {
    transform: rotateY(0deg);
  }

  50% {
    transform: rotateY(180deg);
  }

}

.profile-intro__content {
  max-width: none;
  height: auto;
  padding: 0;
  overflow: visible;
}

.profile-page__heading {
  position: relative;
  z-index: 6;
  width: min(100%, 760px);
  margin: 0 auto clamp(38px, 5vw, 64px);
}

.profile-intro__content .profile-block:first-child {
  margin-top: 0;
}

.profile-block {
  position: relative;
  margin-top: clamp(46px, 5vw, 74px);
}

.profile-block__title {
  display: grid;
  grid-template-columns: 88px auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: var(--font-size-m);
  font-weight: 900;
  letter-spacing: 0.24em;
  position: relative;
}

.profile-block__title::before {
  width: 88px;
  aspect-ratio: 94 / 36;
  content: "";
  background: url("../img/obj-uroko-blue-dark.webp") center / contain no-repeat;
}

.profile-block__title::after {
  width: 100%;
  height: 2px;
  content: "";
  background: rgba(120, 216, 229, 0.72);
  position: absolute;
  bottom: 0;
  left: 0;
}

.profile-story {
  margin: 0;
  font-size: var(--font-size-ms);
  font-weight: 800;
  line-height: 2.1;
  letter-spacing: 0.08em;
}

.profile-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 58px);
}

.profile-data__column {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  margin: 0;
}

.profile-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px clamp(28px, 4vw, 58px);
  margin: 0;
}

.profile-data__item,
.profile-tags div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
}

.profile-data dt,
.profile-tags dt {
  min-height: 22px;
  padding: 8px 12px;
  color: var(--color-white);
  font-size: var(--font-size-ms);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  background: #8bd8e1;
  border-radius: 999px;
}

.profile-data dd,
.profile-tags dd {
  margin: 0;
 font-size: var(--font-size-ms);
  font-weight: 900;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.profile-inline-link {
  display: inline-block;
  padding: 0;
  margin: 10px 0 0;
  border: 0;
  color: #5ecbd8;
  font: inherit;
  font-size: 0.72rem;
  background: transparent;
  cursor: pointer;
  border:solid #5ecbd8 1px;
  background-color: #fff;
  border-radius: 999px;
  font-size: var(--font-size-s);
  min-height: 22px;
  padding: 4px 10px;
  display: block;
}

.profile-inline-link:hover,
.profile-inline-link:focus-visible {
  color: #23b9c8;
}

.profile-data > .profile-data__item--more {
  align-self: start;
  margin-top: 4px;
}
.profile-data__item--more[hidden] {
  display: none !important;
}

.profile-data__item--more {
  transform-origin: top center;
}

.profile-data__item--more.is-open {
  animation: profile-more-pop 0.42s cubic-bezier(0.18, 1.2, 0.28, 1) both;
}

@keyframes profile-more-pop {
  0% {
    opacity: 0;
    transform: translate3d(0, -10px, 0) scaleY(0.72);
  }

  68% {
    opacity: 1;
    transform: translate3d(0, 3px, 0) scaleY(1.04);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scaleY(1);
  }
}

.profile-goals {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding: 0;
  margin: 0;
  font-size: var(--font-size-s);
  font-weight: 900;
  letter-spacing: 0.08em;
  list-style: none;
}

.profile-goals li {
  position: relative;
  padding-left: 18px;
}

.profile-goals li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background: #e0c979;
}

.profile-note {
  margin: 26px 0 0;
  font-size: var(--font-size-ms);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.profile-note a {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid currentColor;
}

.profile-note a::after {
  content: "〉";
}

.profile-detail__grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr;
  gap: 18px;
}

.profile-detail__card {
  display: grid;
  gap: 8px;
  padding: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.profile-detail__card--logo {
  grid-column: 1 / -1;
}

.profile-detail__placeholder,
.profile-detail__mark,
.profile-detail__card img,
.mascot-card__detail button {
  display: grid;
  min-height: 200px;
  place-items: center;
  border: 1px solid rgba(55, 55, 50, 0.38);
  background: rgba(255, 255, 255, 1);
  box-sizing: border-box;
  padding: clamp(18px, 3vw, 34px);
  transition: transform 0.24s var(--ease-pop), border-color 0.24s ease;

}

.profile-detail__card img {
  width: 100%;
  object-fit: contain;
  box-sizing: border-box;
}
.profile-detail__card--logo img {
  width: 100%;
  max-height: 148px;
  object-fit: contain;
  padding: clamp(34px, 5vw, 56px) clamp(48px, 7vw, 76px);
}


.profile-detail__mark {
  background-image: url(../img/profile-symbol.webp);
  background-size: 70% auto;
  background-repeat: no-repeat;
  background-position: center;
}

.profile-detail__caption {
  font-size: var(--font-size-s);
  font-weight: 900;
}

.profile-detail__card:hover .profile-detail__placeholder,
.profile-detail__card:focus-visible .profile-detail__placeholder,
.profile-detail__card:hover .profile-detail__mark,
.profile-detail__card:focus-visible .profile-detail__mark,
.profile-detail__card:hover img,
.profile-detail__card:focus-visible img,
.mascot-card__detail button:hover,
.mascot-card__detail button:focus-visible {
  border-color: #5ecbd8;
  transform: translateY(-4px) rotate(-1deg);
}


.fan-mascot {
  position: relative;
  padding: clamp(116px, 13vw, 170px) clamp(24px, 6vw, 96px) clamp(150px, 25vw, 350px);
  background: #eef9fb;
}




.fan-mascot__heading,
.fan-mascot__lead,
.fan-mascot__list {
  position: relative;
  z-index: 1;
}

.fan-mascot__lead {
  max-width: 740px;
  margin: 34px auto 74px;
  font-size: var(--font-size-ms);
  font-weight: 900;
  line-height: 2;
  text-align: center;
  letter-spacing: 0.08em;
}

.fan-mascot__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 430px));
  justify-content: center;
  gap: clamp(52px, 8vw, 112px);
}

.mascot-card {
  display: grid;
  justify-items: center;
  text-align: center;
}

.mascot-card__visual {
  display: grid;
  width: min(72%, 260px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
}

.mascot-card__visual img {
  width: 72%;
  height: auto;
  transform-origin: center;
}

.fan-mascot__list[data-reveal] .mascot-card__visual img {
  opacity: 0;
  transform: scale(0.32);
}

.fan-mascot__list.is-visible .mascot-card__visual img {
  animation: mascot-thumb-pop 0.58s cubic-bezier(0.18, 1.35, 0.32, 1) var(--mascot-thumb-delay, 0.42s) both;
}

.mascot-card:nth-child(1) {
  --mascot-thumb-delay: 0.1s;
}

.mascot-card:nth-child(2) {
  --mascot-thumb-delay: 0.1s;
}

@keyframes mascot-thumb-pop {
  0% {
    opacity: 0;
    transform: scale(0.32);
  }

  58% {
    opacity: 1;
    transform: scale(1.14);
  }

  78% {
    opacity: 1;
    transform: scale(0.94);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.mascot-card__en {
  margin: 22px 0 4px;
  color: var(--mascot-accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.42em;
}

.mascot-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--font-size-m);
  letter-spacing: 0.08em;
}


.mascot-card__text {
  width: 100%;
  margin: 28px 0 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(55, 55, 50, 0.36);
  font-size: var(--font-size-ms);
  font-weight: 800;
  line-height: 2;
  text-align: left;
  letter-spacing: 0.06em;
}

.mascot-card__detail {
  width: 100%;
  margin: 0;
}

.mascot-card__detail figcaption {
  margin-bottom: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(55, 55, 50, 0.36);
  font-family: var(--font-display);
  font-size: var(--font-size-m);
  font-weight: 900;
  letter-spacing: 0.1em;
}

.mascot-card__detail button {
  width: 100%;
  min-height: 300px;
  cursor: pointer;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #EEF9FB;
  border: none;
}

.mascot-card--pink .mascot-card__en{
  color: #e54e5b;
}

.mascot-card--gold .mascot-card__en{
  color: #ffaa07;
}
.mascot-card--pink button{
  background-image: url(../img/profile-3men-koihime.webp);
  
}

.mascot-card--gold button{
  background-image: url(../img/profile-3men-koibosi.webp);
  
}

.profile-modal {
  width: min(80vw, 880px);
  max-height: 78svh;
  padding: clamp(68px, 7vw, 88px) clamp(18px, 3vw, 34px) clamp(18px, 3vw, 34px);
  border: 0;
  color: var(--color-ink);
  background: #fffdf8;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.97);
  transition:
    opacity 0.56s ease,
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-modal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.profile-modal::backdrop {
  background: rgba(0, 0, 0, 0);
  transition: background-color 0.72s ease;
}

.profile-modal.is-visible::backdrop {
  background: rgba(0, 0, 0, 0.62);
}

.profile-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  width: 44px;
  aspect-ratio: 1;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.7rem;
  font-weight: 900;
  background: var(--color-ink);
  cursor: pointer;
}

.profile-modal__figure {
  display: grid;
  gap: 14px;
  margin: 0;
  opacity: 0;
  transform: translate3d(0, -26px, 0) scale(0.985);
}

.profile-modal.is-visible .profile-modal__figure {
  animation: profile-modal-content-in 0.72s 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes profile-modal-content-in {
  0% {
    opacity: 0;
    transform: translate3d(0, -26px, 0) scale(0.985);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.profile-modal__image {
  display: none;
  width: 100%;
  max-height: 80svh;
  object-fit: contain;
}


.profile-modal.has-image .profile-modal__image {
  display: block;
}

.profile-modal.has-image .profile-modal__placeholder {
  display: none;
}

.profile-modal__caption {
  font-family: var(--font-display);
  font-size: var(--font-size-m);
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.12em;
}

@media (max-width: 900px) {
  .profile-main {
    background-size: 130px auto, 120px auto, 150px auto, auto;
  }

  .profile-intro {
    display: block;
    width: auto;
    height: auto;
    min-height: 0;
    padding: 112px 0 30px;
    overflow: visible;
  }

  .profile-page__heading {
    width: auto;
    margin-bottom: 44px;
  }

  .profile-intro__body {
    position: static;
    top: auto;
    display: block;
    height: auto;
    min-height: 0;
  }

  .profile-intro__figure {
    position: relative;
    height: auto;
    min-height: 0;
    margin: 0 auto 44px;
    padding-top: 18px;
  }

  .profile-intro__figure::before {
    width: min(82vw, 370px);
  }

  .profile-intro__image {
    width: min(64vw, 330px);
  }

  .profile-intro__content {
    max-width: 680px;
    height: auto;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    overscroll-behavior-y: auto;
  }
  .profile-page__heading .section-heading__en,
  .fan-mascot__heading .section-heading__en {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .profile-block__title {
    grid-template-columns: 48px auto 1fr;
  }

  .profile-block__title::before {
    width: 48px;
  }

  .profile-data,
  .profile-tags {
    grid-template-columns: 1fr;
  }

  .profile-detail__grid {
    grid-template-columns: 2fr 1.1fr;
  }

  .fan-mascot__list {
    grid-template-columns: 1fr;
  }

  .profile-detail__placeholder,
  .profile-detail__mark,
  .profile-detail__card img {
    min-height: 126px;
  }

  .fan-mascot {
    padding-inline: 20px;
  }

  .fan-mascot__lead {
    margin-bottom: 54px;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .profile-data__item,
  .profile-tags div {
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 12px;
    
  }

.profile-data {
  gap:12px;
}

  .profile-goals {
    gap: 12px 18px;
    font-size: 0.84rem;
  }

  .mascot-card__detail button {
    min-height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-divider__koban {
    animation: none;
  }
}
.artwork {
  position: relative;
  display: grid;
  min-height: clamp(420px, 100svh, 1200px);
  place-items: center;
  overflow: clip;
  color: transparent;
  background: url(../img/profile-bg.webp) center / cover no-repeat;
  background-attachment: fixed;
  isolation: isolate;
}

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .artwork {
    min-height: 60svh;
    background-attachment: scroll;
  }
}