
.idi-pv,
.idi-pv * {
  box-sizing: border-box;
}

.idi-pv {
  --pink: #db0053;
  --pink-soft: rgba(219, 0, 83, .12);
  --pink-pale: #fff3f7;
  --ink: #17171b;
  --body: #3d3d42;
  --muted: #85817c;
  --line: #d9d7d1;
  --ease: cubic-bezier(.16,1,.3,1);
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  padding: clamp(24px, 3.2vw, 42px) 24px clamp(64px, 7vw, 100px);
}

.idi-pv__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.idi-pv__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(46px, 5vw, 76px);
  row-gap: clamp(54px, 6vw, 84px);
}

.idi-pv__voice {
  position: relative;
  min-width: 0;
  padding-top: 23px;
}

.idi-pv__rule {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .95s var(--ease);
}

.idi-pv__voice.is-visible .idi-pv__rule {
  animation: idi-pv-rule-in .85s var(--ease) both;
}

.idi-pv__person {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 24px;
}

.idi-pv__portrait-wrap {
  position: relative;
  width: 142px;
  height: 142px;
  opacity: 0;
  transform: translateY(24px) scale(.88) rotate(-3deg);
  transition:
    opacity .75s ease,
    transform .95s var(--ease);
}

.idi-pv__voice.is-visible .idi-pv__portrait-wrap {
  animation: idi-pv-portrait-in .9s var(--ease) both;
  animation-delay: calc(120ms + (var(--i) * 115ms));
}

.idi-pv__portrait {
  position: absolute;
  inset: 13px;
  overflow: hidden;
  border-radius: 50% 48% 52% 46%;
  background: #f7f5f3;
  box-shadow: 0 14px 34px rgba(23, 23, 27, .07);
  z-index: 3;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .88s cubic-bezier(.16,1,.3,1);
}

.idi-pv__voice.is-visible .idi-pv__portrait {
  animation: idi-pv-image-open .88s var(--ease) both;
  animation-delay: calc(155ms + (var(--i) * 115ms));
}

.idi-pv__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.idi-pv__voice:hover .idi-pv__portrait img {
  transform: scale(1.035);
}

.idi-pv__portrait-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #fff4f8, #f6f3ef);
  color: var(--pink);
  font: 600 34px/1 "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

.idi-pv__hatch {
  position: absolute;
  left: 4px;
  top: 0;
  width: 108px;
  height: 118px;
  border-radius: 60% 52% 48% 55%;
  opacity: .8;
  background:
    repeating-linear-gradient(
      52deg,
      rgba(219, 0, 83, .25) 0 1px,
      transparent 1px 6px
    );
  transform: rotate(-7deg);
  z-index: 1;
}

.idi-pv__orbit {
  position: absolute;
  right: -3px;
  bottom: 2px;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(219, 0, 83, .30);
  border-radius: 50%;
  z-index: 1;
}

.idi-pv__spark {
  position: absolute;
  width: 18px;
  height: 18px;
  opacity: 0;
  z-index: 4;
  pointer-events: none;
}

.idi-pv__spark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.96) 0 10%, transparent 11%),
    conic-gradient(
      from 0deg,
      transparent 0deg 37deg,
      rgba(219,0,83,.92) 38deg 52deg,
      transparent 53deg 127deg,
      rgba(219,0,83,.92) 128deg 142deg,
      transparent 143deg 217deg,
      rgba(219,0,83,.92) 218deg 232deg,
      transparent 233deg 307deg,
      rgba(219,0,83,.92) 308deg 322deg,
      transparent 323deg 360deg
    );
  clip-path: polygon(
    50% 0%,
    59% 38%,
    100% 50%,
    59% 62%,
    50% 100%,
    41% 62%,
    0% 50%,
    41% 38%
  );
  filter: drop-shadow(0 0 7px rgba(219,0,83,.18));
}

.idi-pv__spark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(255,255,255,.85);
}

.idi-pv__spark--a {
  right: 1px;
  top: 12px;
}

.idi-pv__spark--b {
  left: 2px;
  bottom: 12px;
  width: 13px;
  height: 13px;
}

.idi-pv__voice.is-settled .idi-pv__spark--a {
  animation: idi-pv-twinkle 2.6s ease-in-out .15s infinite;
}

.idi-pv__voice.is-settled .idi-pv__spark--b {
  animation: idi-pv-twinkle 3.1s ease-in-out 1.1s infinite;
}

.idi-pv__voice.is-settled .idi-pv__orbit {
  animation: idi-pv-orbit-breathe 5.6s ease-in-out infinite;
}

.idi-pv__identity {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity .65s ease,
    transform .85s var(--ease);
}

.idi-pv__voice.is-visible .idi-pv__identity {
  animation: idi-pv-copy-in .75s var(--ease) both;
  animation-delay: calc(235ms + (var(--i) * 115ms));
}

.idi-pv__name {
  margin: 0 0 7px;
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.025em;
}

.idi-pv__affiliation {
  color: var(--muted);
  font-family: "Noto Sans JP Thin", "Noto Sans JP", sans-serif;
  font-size: 11.5px;
  line-height: 1.55;
  font-weight: 500;
}

.idi-pv__copy {
  position: relative;
  padding-left: 2px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity .75s ease,
    transform .9s var(--ease);
}

.idi-pv__voice.is-visible .idi-pv__copy {
  animation: idi-pv-copy-in .82s var(--ease) both;
  animation-delay: calc(340ms + (var(--i) * 115ms));
}

.idi-pv__quote {
  position: relative;
  margin: 0 0 18px;
  padding: 0 0 14px;
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: -.025em;
}

.idi-pv__quote::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .7s var(--ease);
}

.idi-pv__voice.is-visible .idi-pv__quote::after {
  animation: idi-pv-rule-in .7s var(--ease) both;
  animation-delay: calc(520ms + (var(--i) * 115ms));
}

.idi-pv__body {
  color: var(--body);
  font-family: "Noto Sans JP Thin", "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 2.05;
  font-weight: 500;
  letter-spacing: 0;
}

.idi-pv__body p {
  margin: 0 0 .75em;
}

.idi-pv__body p:last-child {
  margin-bottom: 0;
}

.idi-pv__body strong,
.idi-pv__body b {
  color: var(--ink);
  font-weight: 700;
}

.idi-pv__body u {
  text-decoration-color: var(--pink);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.idi-pv-pink-underline {
  position: relative;
  display: inline;
  padding: 0 .02em;
  background:
    linear-gradient(
      transparent 74%,
      rgba(219, 0, 83, .23) 74%,
      rgba(219, 0, 83, .23) 94%,
      transparent 94%
    );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.idi-pv-marker {
  display: inline;
  padding: 0 .08em;
  background:
    linear-gradient(
      transparent 48%,
      rgba(255, 219, 102, .42) 48%,
      rgba(255, 210, 224, .54) 96%,
      transparent 96%
    );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.idi-pv-pink {
  color: var(--pink);
  font-weight: 700;
}

.idi-pv-emphasis {
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: 1.12em;
  font-weight: 600;
  letter-spacing: -.02em;
}

.idi-pv__more {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 15px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--pink);
  font-family: "Noto Sans JP Thin", "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.idi-pv__more i {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .3s ease;
}

.idi-pv__more-close {
  display: none;
}

.idi-pv__more[aria-expanded="true"] .idi-pv__more-open {
  display: none;
}

.idi-pv__more[aria-expanded="true"] .idi-pv__more-close {
  display: inline;
}

.idi-pv__more[aria-expanded="true"] i {
  transform: rotate(225deg) translate(-2px, -2px);
}

@keyframes idi-pv-rule-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes idi-pv-portrait-in {
  from { opacity: 0; transform: translateY(28px) scale(.84) rotate(-4deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}

@keyframes idi-pv-image-open {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes idi-pv-copy-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes idi-pv-twinkle {
  0%, 100% { opacity: .10; transform: scale(.62) rotate(0deg); }
  28% { opacity: .95; transform: scale(1.06) rotate(0deg); }
  52% { opacity: .42; transform: scale(.82) rotate(0deg); }
  72% { opacity: .88; transform: scale(.96) rotate(0deg); }
}

@keyframes idi-pv-orbit-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: .55; }
}

@media (max-width: 900px) {
  .idi-pv__grid {
    column-gap: 32px;
    row-gap: 56px;
  }

  .idi-pv__person {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 16px;
  }

  .idi-pv__portrait-wrap {
    width: 118px;
    height: 118px;
  }

  .idi-pv__hatch {
    width: 90px;
    height: 98px;
  }

  .idi-pv__orbit {
    width: 60px;
    height: 60px;
  }

  .idi-pv__name {
    font-size: 16px;
  }

  .idi-pv__body {
    font-size: 13.5px;
    line-height: 1.95;
  }
}

@media (max-width: 720px) {
  .idi-pv {
    padding: 20px 18px 72px;
  }

  .idi-pv__grid {
    display: block;
  }

  .idi-pv__voice {
    padding-top: 22px;
    margin-bottom: 56px;
  }

  .idi-pv__voice:last-child {
    margin-bottom: 0;
  }

  .idi-pv__person {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 17px;
    margin-bottom: 20px;
  }

  .idi-pv__portrait-wrap {
    width: 112px;
    height: 112px;
  }

  .idi-pv__quote {
    margin-bottom: 16px;
    font-size: 19px;
    line-height: 1.6;
  }

  .idi-pv__body {
    font-size: 13.5px;
    line-height: 1.95;
  }

  .idi-pv__body-shell.is-collapsible {
    position: relative;
    max-height: 11.2em;
    overflow: hidden;
    transition: max-height .6s var(--ease);
  }

  .idi-pv__body-shell.is-collapsible::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4.2em;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0), #fff 82%);
    transition: opacity .25s ease;
  }

  .idi-pv__body-shell.is-collapsible.is-open {
    max-height: 1000px;
  }

  .idi-pv__body-shell.is-collapsible.is-open::after {
    opacity: 0;
  }

  .idi-pv__more.is-active {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .idi-pv *,
  .idi-pv *::before,
  .idi-pv *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }

  .idi-pv__rule {
    transform: none !important;
  }

  .idi-pv__portrait-wrap,
  .idi-pv__identity,
  .idi-pv__copy {
    opacity: 1 !important;
    transform: none !important;
  }

  .idi-pv__portrait {
    clip-path: none !important;
  }

  .idi-pv__quote::after {
    transform: none !important;
  }
}
