:root{
  --bleedPad: 14px;
}

/* ===== Full Bleed Helper (iOS対策) ===== */
.fullBleed{
  width:100%;
  margin-left:calc(50% - 50%);
  margin-right:calc(50% - 50%);
}


/* =========================
   HERO BLOCK (title above image)
   ========================= */
.heroBlock{
  opacity: 0;
  transform: translateY(10px);
  filter: blur(8px);
  transition: opacity 1s ease, transform 1s ease, filter 1s ease;
}
.heroBlock.show{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.heroTitleBar{
  display:flex;
  justify-content:center;
  margin-bottom: 10px;
}

/* Profile Story（画像に重ねず、上部に表示 / 中央80%） */
.heroBadge{
  display:flex;
  align-items:center;
  justify-content:center;

  width: 90%;
  margin: 0 auto;
  text-align:center;

  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 60px rgba(0,0,0,.12);

  color: rgba(11,27,43,.66);
  font-size: 24px;          /* 少し大きく */
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

@media (min-width:900px){
  .heroBadge{
    font-size: 17px;
    width: 72%;
    padding: 13px 16px;
  }
}

/* HERO image frame (3:2 fixed) */
.hero.heroCinematic{
  position:relative;
  overflow:hidden;
  padding:0;
  border-radius: 26px;
  aspect-ratio: 3 / 2;
  height: auto;
  min-height: unset;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.10);
  box-shadow: 0 22px 80px rgba(0,0,0,.14);
}

.heroMedia{ position:absolute; inset:0; }
.heroMedia img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
}
.heroShade{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(255,255,255,.18), rgba(255,255,255,0) 55%),
    radial-gradient(900px 520px at 80% 30%, rgba(120,200,255,.10), rgba(120,200,255,0) 60%),
    linear-gradient(180deg, rgba(3,18,36,.06), rgba(3,18,36,.30));
  mix-blend-mode: multiply;
}
.heroGrain{
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.016), rgba(255,255,255,.016) 1px, rgba(255,255,255,0) 3px, rgba(255,255,255,0) 6px);
  opacity:.33;
  mix-blend-mode: soft-light;
  pointer-events:none;
}

/* =========================
   Scroll Guide (reusable)
   ========================= */
.scrollGuide{
  margin-top: 12px;
  margin-bottom: 6px;
  display:grid;
  justify-items:center;
  gap:10px;

  opacity: 0;
  transform: translateY(8px);
  filter: blur(6px);
  transition: opacity .6s ease, transform .6s ease, filter .6s ease;
}
.scrollGuide.show{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* mid guide spacing */
.scrollGuideMid{
  margin-top: 10px;
  margin-bottom: 4px;
}

.scrollText{
  font-size:12px;
  font-weight:950;
  letter-spacing:.12em;
  color: rgba(11,27,43,.70);
}

.scrollCircle{
  width:44px;
  height:44px;
  border-radius:999px;
  border:1.5px solid rgba(11,27,43,.22);
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0,0,0,.10);
  display:grid;
  place-items:center;
}

.scrollChevron{
  width:10px;
  height:10px;
  border-right:2px solid rgba(11,27,43,.55);
  border-bottom:2px solid rgba(11,27,43,.55);
  transform: rotate(45deg);
  margin-top:-2px;
}

/* dots 10 + 10 */
.dotTrail{
  display:grid;
  gap: 12px;
  padding: 6px 0;
}
.dotTrail.top{ padding-bottom: 6px; }
.dotTrail.bottom{ padding-top: 8px; }

.dotTrail .dot{
  width:6px;
  height:6px;
  border-radius:999px;
  background: rgba(11,27,43,.26);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

/* subtle pulsing */
@keyframes dotPulse{
  0%{ opacity:.18; transform: translateY(0); }
  50%{ opacity:.62; transform: translateY(2px); }
  100%{ opacity:.18; transform: translateY(0); }
}
.scrollGuide.show .dotTrail .dot{ animation: dotPulse 1.9s ease-in-out infinite; }
.scrollGuide.show .dotTrail .dot:nth-child(1){ animation-delay: .00s; }
.scrollGuide.show .dotTrail .dot:nth-child(2){ animation-delay: .10s; }
.scrollGuide.show .dotTrail .dot:nth-child(3){ animation-delay: .20s; }
.scrollGuide.show .dotTrail .dot:nth-child(4){ animation-delay: .30s; }
.scrollGuide.show .dotTrail .dot:nth-child(5){ animation-delay: .40s; }
.scrollGuide.show .dotTrail .dot:nth-child(6){ animation-delay: .50s; }
.scrollGuide.show .dotTrail .dot:nth-child(7){ animation-delay: .60s; }
.scrollGuide.show .dotTrail .dot:nth-child(8){ animation-delay: .70s; }
.scrollGuide.show .dotTrail .dot:nth-child(9){ animation-delay: .80s; }
.scrollGuide.show .dotTrail .dot:nth-child(10){ animation-delay: .90s; }

@media (prefers-reduced-motion: reduce){
  .heroBlock{ transition:none !important; opacity:1 !important; transform:none !important; filter:none !important; }
  .scrollGuide{ transition:none !important; opacity:1 !important; transform:none !important; filter:none !important; }
  .dotTrail .dot{ animation:none !important; }
}

/* =========================
   Videos (100vw)
   ========================= */
.videoSection{
  padding: 12px var(--bleedPad) 18px;
}

.videoShell{
  width:min(1200px, 100%);
  margin:0 auto;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.55);
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.10));
  box-shadow: 0 22px 80px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow:hidden;
  position:relative;
}

/* groom portrait */
.videoShell.portraitShell{ width: min(520px, 100%); }

.videoFrame{
  position:relative;
  width:100%;
  aspect-ratio: 16 / 9;
  background: rgba(3,18,36,.18);
  overflow:hidden;
}
.videoFrame.portrait{ aspect-ratio: 9 / 16; }

@media (max-width:560px){
  .videoFrame.portrait{ max-height: 78vh; }
}

.videoFrame video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
  background: rgba(3,18,36,.18);
}

.videoOverlay{
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  padding: 12px;
}
.videoTag{
  display:inline-flex;
  align-items:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,.94);
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform: uppercase;
  text-shadow: 0 10px 40px rgba(0,0,0,.35);
  box-shadow: 0 18px 60px rgba(0,0,0,.14);
}

.tapHint{
  position:absolute;
  left:12px;
  bottom:12px;
  z-index:4;
  padding:10px 12px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,.60);
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px rgba(0,0,0,.14);
  color: rgba(11,27,43,.82);
  font-weight:900;
  font-size:12px;
  letter-spacing:.06em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events:none;
}
.tapHint.show{ opacity: 1; transform: translateY(0); }

/* =========================
   Profile images: full-bleed 3:2
   ========================= */
.profileSection{ margin-top: 4px; }

.bleedImage{
  position:relative;
  width:100%;
  overflow:hidden;
  background: rgba(255,255,255,.10);
}
.bleedImage.r3x2{ aspect-ratio: 3 / 2; }

.bleedImage img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.01);
  filter: saturate(1.03) contrast(1.03);
}
.bleedImage::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(900px 360px at 18% 10%, rgba(255,255,255,.45), rgba(255,255,255,0) 60%),
    radial-gradient(900px 420px at 85% 80%, rgba(120,200,255,.20), rgba(120,200,255,0) 65%);
  opacity:.85;
  pointer-events:none;
  mix-blend-mode: soft-light;
  z-index:1;
}

.bleedShade{
  position:absolute;
  top:0; bottom:0;
  width:72%;
  z-index:2;
  pointer-events:none;
}
.bleedShade.left{
  left:0;
  background: linear-gradient(90deg, rgba(3,18,36,.42), rgba(3,18,36,.12), rgba(3,18,36,0));
}
.bleedShade.right{
  right:0;
  background: linear-gradient(270deg, rgba(3,18,36,.42), rgba(3,18,36,.12), rgba(3,18,36,0));
}

/* ★メタ：左右固定 */
.bleedMeta{
  position:absolute;
  top:14px;
  z-index:3;
  width:min(340px, 78%);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 60px rgba(0,0,0,.14);
  padding:12px 12px 10px;
  color: rgba(255,255,255,.96);
  text-shadow: 0 2px 18px rgba(0,0,0,.22);
  overflow:hidden;
}
.bleedMeta::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(520px 160px at 15% 0%, rgba(120,200,255,.40), rgba(120,200,255,0) 62%);
  opacity:.9;
  pointer-events:none;
}
.bleedMeta.left{ left:14px; text-align:left; }
.bleedMeta.right{ right:14px; text-align:right; }

.metaTitle{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  gap:2px;
  margin-bottom:8px;
}
.metaTitle .name{
  font-size:18px;
  font-weight:950;
  letter-spacing:.04em;
  line-height:1.15;
  margin:0;
}
.metaTitle .kana{
  font-size:12.5px;
  letter-spacing:.18em;
  color: rgba(255,255,255,.88);
  margin:0;
}
.metaGrid{
  position:relative;
  z-index:1;
  display:grid;
  gap:8px;
}
.kv{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  padding-top:8px;
  border-top: 1px solid rgba(255,255,255,.22);
}
.kv:first-child{ border-top:0; padding-top:0; }
.k{
  font-size:11px;
  letter-spacing:.14em;
  color: rgba(255,255,255,.78);
  white-space:nowrap;
}
.v{
  font-size:13px;
  font-weight:800;
  color: rgba(255,255,255,.96);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width: 70%;
}

/* right側は中身も右寄せに */
.bleedMeta.right .kv{ flex-direction: row-reverse; }
.bleedMeta.right .v{ text-align:right; }

/* ★スマホでも左右を維持しつつ、下側に寄せて見やすく */
@media (max-width:560px){
  .bleedShade{ width:100%; }
  .bleedShade.left,
  .bleedShade.right{
    background: linear-gradient(180deg, rgba(3,18,36,0), rgba(3,18,36,.12), rgba(3,18,36,.55));
  }

  .bleedMeta{
    top:auto;
    bottom:14px;
    width:min(320px, 86%);
  }
  .bleedMeta.left{ left:14px; right:auto; }
  .bleedMeta.right{ right:14px; left:auto; text-align:right; }
  .bleedMeta.right .kv{ flex-direction: row-reverse; }
  .bleedMeta.right .v{ text-align:right; }
}

/* =========================
   Reveal animation
   ========================= */
.revealWrap{
  opacity: 0;
  transform: translateY(10px);
  filter: blur(6px);
  pointer-events: none;
  transition: opacity .55s ease, transform .55s ease, filter .55s ease;
}
.revealWrap.on{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  pointer-events: auto;
}
.revealItem{
  opacity: 0;
  transform: translateY(12px);
  filter: blur(6px);
  transition: opacity .7s ease, transform .7s ease, filter .7s ease;
}
.revealItem.on{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* =========================
   Profile card
   ========================= */
.profileCard{
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.62);
  background: linear-gradient(180deg, rgba(255,255,255,.70), rgba(255,255,255,.40));
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding:14px;
  position:relative;
  overflow:hidden;
}
.profileCard::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(520px 180px at 18% 0%, rgba(120,200,255,.28), rgba(120,200,255,0) 62%);
  opacity:.9;
  pointer-events:none;
}
.softP{
  margin:0;
  line-height:1.85;
  color: rgba(11,27,43,.86);
}
.tagRow{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}
.tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.62);
  background: rgba(255,255,255,.22);
  color: rgba(11,27,43,.84);
  font-size:12px;
  font-weight:800;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.tag .tDot{
  width:7px; height:7px;
  border-radius: 999px;
  background: rgba(120,200,255,.95);
  box-shadow: 0 0 0 4px rgba(120,200,255,.18);
}
