:root {
  /*
   * Type: サイト全体 var(--font) — Zen Kaku Gothic New
   *       写真キャッチのみ var(--font-hero) — Shippori Mincho
   * 保証書・正式文書のみ cert-serif / cert-body
   */
  --pink: #FF6B8A;
  --pink-hover: #F05575;
  --pink-deep: #E8456A;
  --pink-light: #FFF0F3;
  --pink-pale: #FFF8FA;
  --blue: #5BC0EB;
  --blue-hover: #45B5E5;
  --blue-deep: #2A9FD4;
  --blue-light: #EBF6FC;
  --blue-pale: #F4FAFE;
  --bg: #FFFFFF;
  --bg-warm: #FFFBF9;
  --bg-sub: #F7F8FA;
  --bg-blue: #EBF6FC;
  --text: #2D3436;
  --text-muted: #636E72;
  --text-light: #B2BEC3;
  --border: #ECEFF1;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --font: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --font-hero: "Shippori Mincho", "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --serif: var(--font);
  --cert-serif: "Zen Old Mincho", "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --cert-body: "Noto Serif JP", "Shippori Mincho", "Yu Mincho", serif;
  --navy: #1A1F3A;
  --navy-mid: #252B4A;
  --content-max: 920px;
  --content-pad: clamp(1.25rem, 4vw, 2rem);
  --hero-gutter: clamp(16px, 2vw, 28px);
  --header-h: 64px;
  --ribbon-h: 0px;
  --header-width: 88%;
  --purple: #6B4FC4;
  --purple-deep: #4A358F;
  --purple-light: #9B7FD4;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.375rem;
  --text-2xl: clamp(1.625rem, 3.5vw, 2.25rem);
  --text-3xl: clamp(2.25rem, 5.5vw, 3.25rem);
  --text-hero: clamp(2.25rem, 6vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 106.25%; /* 17px — site-wide rem base */ }
html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
body {
  font-family: var(--font); background: var(--bg); color: var(--text);
  font-size: var(--text-base);
  line-height: 1.75; -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
[id] { scroll-margin-top: calc(var(--header-h) + var(--ribbon-h) + 8px); }
#fortune-stage { scroll-margin-top: calc(var(--header-h) + var(--ribbon-h) + 12px); }
body.has-campaign-ribbon { --ribbon-h: 44px; }
header, main, footer { position: relative; z-index: 1; }

/* Background dots */
.page-dots {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.page-dots span {
  position: absolute; border-radius: 50%;
  width: var(--s); height: var(--s);
  left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  background: var(--c, var(--pink));
  opacity: var(--o, 0.08);
}

.container { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--content-pad); }

/* Header — with/Pairs風：白帯 ↔ ヒーロー重なり時は濁し */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  padding: 0;
  background: #fff;
  transition: background 0.28s ease, backdrop-filter 0.28s ease;
}
header.is-overlay {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
}
header.is-solid {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.header-inner {
  width: var(--header-width);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { display: flex; align-items: center; flex-shrink: 0; background: transparent; }
.logo img {
  display: block; height: 32px; width: auto;
  max-width: min(280px, 58vw); object-fit: contain; object-position: left center;
}
nav { display: flex; gap: 0.1rem; flex-wrap: wrap; justify-content: flex-end; }
.header-nav a {
  font-family: var(--font);
  font-size: var(--text-sm); font-weight: 500; color: var(--text);
  padding: 0.4rem 0.7rem; border-radius: var(--radius-pill);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.header-nav a:hover { color: var(--pink); }
.header-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 107, 138, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}
.header-menu-toggle:hover { border-color: rgba(255, 107, 138, 0.4); }
.header-menu-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 0.24s ease, opacity 0.24s ease;
}
.header-menu-toggle.is-active .header-menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header-menu-toggle.is-active .header-menu-bar:nth-child(2) {
  opacity: 0;
}
.header-menu-toggle.is-active .header-menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.header-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 198;
  background: rgba(20, 12, 18, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.header-nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}
body.header-nav-open { overflow: hidden; }

/* Campaign ribbon — Pairs「おためし」風 */
.campaign-ribbon {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 199;
  height: var(--ribbon-h);
  background: linear-gradient(90deg, #FF6B8A 0%, #FF8DA6 55%, #FFB3C6 100%);
  color: #fff;
  overflow: hidden;
  transition: height 0.25s ease, opacity 0.25s ease;
}
.campaign-ribbon[hidden] {
  display: block !important;
  height: 0 !important;
  opacity: 0;
  pointer-events: none;
}
.campaign-ribbon-inner {
  width: var(--header-width);
  max-width: 100%;
  height: 44px;
  margin: 0 auto;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  position: relative;
}
.campaign-ribbon-badge {
  flex-shrink: 0;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--pink-deep);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.campaign-ribbon-text {
  margin: 0;
  font-size: clamp(0.72rem, 2.4vw, 0.875rem);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.campaign-ribbon-cta {
  flex-shrink: 0;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}
.campaign-ribbon-cta:hover { background: rgba(255, 255, 255, 0.32); color: #fff; }
.campaign-ribbon-close {
  position: absolute;
  right: max(0.25rem, calc((100% - var(--header-width)) / 2 + 0.25rem));
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
@media (max-width: 520px) {
  .campaign-ribbon-text { display: none; }
  .campaign-ribbon-inner { justify-content: flex-start; padding-left: 1rem; padding-right: 2.5rem; }
}

/* Hero trust badges — IMS / 届出風 */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 107, 138, 0.35);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

/* Promo popup — with退出インターセプト風 */
.promo-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 450;
  background: rgba(20, 12, 18, 0.42);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}
.promo-popup-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.promo-popup {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 460;
  width: min(22rem, calc(100% - 2rem));
  padding: 1.35rem 1.25rem 1.15rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  transform: translate(-50%, 120%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
}
.promo-popup.is-visible { transform: translate(-50%, 0); }
.promo-popup-close {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem;
}
.promo-popup-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--pink-deep);
}
.promo-popup-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.45;
  color: var(--text);
}
.promo-popup-lead {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.5;
}
.promo-popup-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: stretch;
}
.promo-popup-yes { width: 100%; }
.promo-popup-no {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.35rem;
}
.promo-popup-no:hover { color: var(--text); }
.promo-popup-note {
  margin: 0.75rem 0 0;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.85;
}

/* Diag float — with風・右下フローティング */
.diag-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 180;
  width: min(17.5rem, calc(100vw - 2rem));
  border-radius: 0.85rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 107, 138, 0.22);
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s ease, opacity 0.32s ease;
}
.diag-float.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.diag-float.is-dismissed {
  display: none;
}
.diag-float-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  background: var(--pink-pale);
  border-bottom: 1px solid rgba(255, 107, 138, 0.12);
}
.diag-float-headline {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--pink-deep);
  text-align: center;
  line-height: 1.35;
}
.diag-float-close {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  border-radius: 999px;
  background: rgba(45, 52, 54, 0.08);
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.diag-float-close:hover { color: var(--text); }
.diag-float-body {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0.85rem 0.95rem;
  background: linear-gradient(135deg, #3d4a6b 0%, #2a3550 55%, #ff6b8a 140%);
}
.diag-float-art {
  display: block;
  width: 4.25rem;
  height: 4.25rem;
  flex-shrink: 0;
}
.diag-float-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  min-width: 0;
}
.diag-float-badge {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--pink-deep);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.2;
}
.diag-float-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  letter-spacing: 0.02em;
}
.diag-float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  margin-top: 0.15rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6b8a 0%, #e8456a 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.diag-float-btn:hover {
  filter: brightness(1.05);
  color: #fff;
}
@media (max-width: 520px) {
  .diag-float {
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    width: min(16.5rem, calc(100vw - 1.5rem));
  }
}

/* Live toast — ソーシャルプルーフ風 */
.live-toast {
  position: fixed;
  left: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 170;
  max-width: min(18rem, calc(100% - 2rem));
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}
.live-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}
body.has-sticky-cta .live-toast {
  bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
}
.live-toast-dot {
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--pink);
}
.live-toast-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-family: var(--font); font-weight: 700; font-size: var(--text-md);
  border: none; border-radius: var(--radius-pill); cursor: pointer;
  padding: 0.85rem 1.75rem; transition: all 0.2s; white-space: nowrap;
}
.btn-pink { background: var(--pink); color: white; }
.btn-pink:hover { background: var(--pink-hover); }
.btn-blue { background: var(--blue); color: white; }
.btn-blue:hover { background: var(--blue-hover); }
.btn-white { background: white; color: var(--text); border: 1.5px solid var(--border); }
.btn-white:hover { border-color: var(--pink); color: var(--pink); }
.btn-ghost {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.24); border-color: #fff; color: #fff; }
.btn-sm { padding: 0.65rem 1.3rem; font-size: var(--text-sm); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: var(--text-md); }
.btn-purple { background: linear-gradient(90deg, #7B5FD4, #C44F9A); color: white; }
.btn-purple:hover { background: linear-gradient(90deg, #6B4FC4, #B03D88); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.section { padding: 4.5rem 0; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 {
  font-family: var(--font);
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.section-head p { font-size: var(--text-md); color: var(--text-muted); font-weight: 700; }

/* Hero — ヘッダー下限から開始・フルブリード */
.hero--pairs {
  background: #fff;
  padding-top: calc(var(--header-h) + var(--ribbon-h));
}
.hero-pairs-stack {
  padding: 0 var(--hero-gutter) 0;
  background: #fff;
}
.hero-pairs-frame {
  position: relative;
  width: 100%;
  height: clamp(220px, 42svh, 400px);
  border-radius: clamp(32px, 4.5vw, 56px);
  overflow: hidden;
  background: #0e0a12;
  margin-bottom: var(--hero-gutter);
}
.hero-pairs-bar {
  width: 100%;
  background: var(--bg-warm);
}
.hero-pairs-bar--fv {
  padding: clamp(0.85rem, 1.8vw, 1.25rem) var(--hero-gutter) 0;
}
.hero-pairs-bar--detail {
  padding: clamp(1.35rem, 2.5vw, 1.75rem) var(--hero-gutter) clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(255, 107, 138, 0.14);
}
@media (min-width: 769px) {
  .hero-first-view {
    height: calc(100svh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    display: grid;
    grid-template-rows: 1fr auto;
  }
  .hero-pairs-stack {
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 0;
  }
  .hero-pairs-frame {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: clamp(280px, 34svh, 480px);
    max-height: 100%;
    aspect-ratio: unset;
  }
  .hero-pairs-bar--fv {
    flex: 0 0 auto;
    padding-bottom: clamp(0.75rem, 1.4vw, 1rem);
  }
  .hero-pairs-bar--fv .hero-fv-row {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
}
.hero-pairs-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
  filter: contrast(1.12) saturate(0.8) brightness(0.82);
  transform: scale(1.03);
}
.hero-pairs-cinema {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 90% at 50% 40%, transparent 30%, rgba(8, 4, 12, 0.5) 100%),
    linear-gradient(180deg, rgba(20, 12, 28, 0.2) 0%, transparent 35%, rgba(8, 4, 10, 0.55) 100%),
    linear-gradient(90deg, rgba(30, 18, 40, 0.25) 0%, transparent 50%, rgba(40, 20, 30, 0.2) 100%);
  mix-blend-mode: multiply;
}
.hero-pairs-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, transparent 42%, rgba(0,0,0,0.58) 100%);
  pointer-events: none;
}
.hero-pairs-tagline {
  position: absolute;
  left: 50%;
  bottom: clamp(1.15rem, 3vw, 1.75rem);
  transform: translateX(-50%);
  margin: 0;
  z-index: 4;
  font-family: var(--font-hero);
  font-size: clamp(1.15rem, 3.2vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.hero-pairs-bar-inner {
  max-width: min(1080px, 100%);
  margin: 0 auto;
}
.hero-fv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
  padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid rgba(255, 107, 138, 0.14);
}
.hero-authority {
  min-width: 0;
  flex: 1 1 220px;
}
.hero-authority-label {
  margin: 0 0 0.2rem;
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.hero-authority-badge {
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 1.5vw, 0.75rem);
}
.hero-authority-no {
  font-family: var(--font);
  font-size: clamp(2.75rem, 7vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--pink);
}
.hero-authority-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero-authority-stat {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}
.hero-authority-mark {
  font-size: 0.65em;
  font-weight: 800;
  color: var(--pink);
  vertical-align: super;
  line-height: 0;
}
.hero-authority-sub {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.35;
}
.hero-authority-note {
  margin: 0.4rem 0 0;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.55;
  max-width: 28rem;
}
.hero-fv-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  flex-shrink: 0;
}
.hero-pairs-bar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 360px);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.hero-with-headline {
  font-family: var(--font);
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  color: var(--text);
}
.hero-with-accent {
  color: var(--pink);
  font-weight: 800;
}
.hero-with-num {
  font-weight: 900;
  letter-spacing: -0.03em;
}
.hero-with-note {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 1rem;
  max-width: 36rem;
}
.hero-with-body {
  font-family: var(--font);
  font-size: clamp(0.95rem, 1.65vw, 1.1rem);
  font-weight: 700;
  line-height: 1.8;
  color: var(--text);
  margin: 0;
  max-width: 36rem;
}
.btn-hero-main {
  font-family: var(--font);
  font-weight: 800;
  width: auto;
  min-width: min(100%, 300px);
  padding: 1.05rem 2.5rem;
  font-size: var(--text-md);
  box-shadow: none;
}
.hero-pairs-note {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  margin: 0;
}
.hero-pairs-bar-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hero-pairs-photo-card {
  margin: 0;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  border-radius: clamp(20px, 2.8vw, 36px);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 107, 138, 0.14);
}
.hero-pairs-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

@media (max-width: 768px) {
  :root {
    --hero-gutter: 0px;
    --header-width: 100%;
    --content-pad: 1rem;
  }
  .header-inner {
    padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
  }
  .hero-pairs-stack {
    padding-inline: 0;
  }
  .hero-pairs-frame {
    height: clamp(260px, 44svh, 400px);
    border-radius: 0;
    margin-bottom: 0;
    width: 100%;
  }
  .hero-pairs-tagline {
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    white-space: normal;
    text-align: center;
    width: calc(100% - 2.5rem);
  }
  .hero-pairs-bar--fv {
    padding-top: 1rem;
    padding-bottom: 0;
    padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
  }
  .hero-pairs-bar--detail {
    padding-top: 1.35rem;
    padding-bottom: 2.75rem;
    padding-inline: max(1.25rem, env(safe-area-inset-left, 0px)) max(1.25rem, env(safe-area-inset-right, 0px));
    border-top: none;
  }
  .hero-fv-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding-bottom: 1.15rem;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 107, 138, 0.14);
  }
  .hero-fv-cta {
    align-items: stretch;
  }
  .hero-authority-note { max-width: none; }
  .hero-pairs-bar-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-with-body { max-width: none; }
  .hero-pairs-photo-card {
    max-width: min(100%, 280px);
    margin-inline: auto;
  }
  .container {
    width: 100%;
    max-width: 100%;
    padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
  }
  .fortune-section > .container {
    max-width: 100%;
    width: 100%;
  }
  .campaign-ribbon-inner {
    width: 100%;
    padding-inline: max(1rem, env(safe-area-inset-left, 0px)) 2.75rem max(1rem, env(safe-area-inset-right, 0px));
  }
  .campaign-ribbon-close {
    right: max(0.5rem, env(safe-area-inset-right, 0px));
  }
  .fortune-share-sheet-panel {
    border-radius: 22px 22px 0 0;
    padding-bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px));
  }
  .btn-hero-main { width: 100%; min-width: 0; }
}

/* Promo — with「恋愛スタイル診断」ティーザー */
.promo-teaser {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(2rem, 5vw, 3rem) 0;
}
.promo-teaser-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.promo-teaser-kicker {
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--pink-deep);
  margin: 0 0 0.35rem;
}
.promo-teaser-title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.35rem;
  color: var(--text);
}
.promo-teaser-lead {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-muted);
  margin: 0;
}
.voice-more {
  text-align: center;
  margin-top: 1.5rem;
}

/* How — withの使い方（ピンク帯 + スマホモック） */
.how-section {
  background: #fff;
  padding-bottom: 0;
}
.how-panel {
  background: linear-gradient(180deg, #FF8DA6 0%, var(--pink) 42%, var(--pink-deep) 100%);
  padding: clamp(2.5rem, 6vw, 3.5rem) 0 clamp(3rem, 7vw, 4rem);
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: start;
}
.how-step {
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.how-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.45rem 0.85rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
}
.how-step-phone {
  margin: 0 auto 1.15rem;
  width: min(72%, 172px);
  aspect-ratio: 390 / 844;
  border-radius: 34px;
  padding: 8px;
  overflow: hidden;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 42px rgba(45, 52, 54, 0.24);
  flex-shrink: 0;
  position: relative;
}
.how-step-phone::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  border-radius: 99px;
  background: #333;
  z-index: 2;
  pointer-events: none;
}
.how-step-phone img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  object-fit: cover;
  object-position: top center;
  background: #fff;
}
.how-step h3 {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 800;
  line-height: 1.45;
  margin: 0 0 0.5rem;
}
.how-step p {
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.7;
  opacity: 0.92;
  margin: 0;
  max-width: 18rem;
  margin-inline: auto;
}

/* Safety — Pairs風：イラスト枠＋見出し＋説明 */
.safety-section {
  background: #fff;
}
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 0.85rem;
}
.safety-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: transparent;
  border: none;
  min-width: 0;
}
.safety-visual {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 0.6rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
}
.safety-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
}
.safety-item h3 {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 0.3rem;
  color: var(--blue-deep);
}
.safety-item p {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.safety-item .site-note {
  margin-top: 0.3rem;
  font-size: 0.6rem;
  line-height: 1.45;
}
@media (min-width: 901px) {
  .safety-grid {
    gap: 1.75rem 1.1rem;
  }
  .safety-visual {
    margin-bottom: 0.7rem;
    border-radius: 0.85rem;
  }
  .safety-item h3 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
  }
  .safety-item p {
    font-size: 0.8rem;
    line-height: 1.65;
  }
}
@media (max-width: 639px) {
  .safety-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.65rem;
  }
  .safety-visual {
    margin-bottom: 0.5rem;
    border-radius: 0.65rem;
  }
  .safety-item h3 {
    font-size: 0.8rem;
  }
  .safety-item p {
    font-size: 0.7rem;
    line-height: 1.55;
  }
}

/* Try — 無料体験タブ */
.try-section {
  background: var(--pink-pale);
  padding: 4.5rem 0;
}
.try-section > .container.section-head {
  margin-bottom: 1.25rem;
}
.try-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.try-tab {
  flex: 1 1 auto;
  min-width: 140px;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.try-tab.is-active {
  color: #fff;
  background: var(--pink);
  border-color: var(--pink);
}
.try-panel {
  display: none;
}
.try-panel.is-active {
  display: block;
}
.try-panel .diagnosis-band {
  padding-top: 2rem;
}
.try-panel .fortune-section,
.try-panel .cert-section {
  padding-top: 2rem;
  padding-bottom: 4.5rem;
}

/* Footer CTA — Pairs/with王道（スマホモック + 最終CTA） */
.site-footer {
  padding: 0;
}
.footer-cta {
  position: relative;
  isolation: isolate;
  margin-top: clamp(-1.25rem, -2.5vw, -1.75rem);
  background:
    radial-gradient(ellipse 80% 60% at 88% 12%, rgba(255, 255, 255, 0.2) 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 12% 88%, rgba(255, 184, 202, 0.28) 0%, transparent 62%),
    linear-gradient(155deg, #FF9BB0 0%, var(--pink) 36%, #F04F73 72%, var(--pink-deep) 100%);
  border-radius: clamp(2.5rem, 6vw, 4rem) clamp(2.5rem, 6vw, 4rem) 0 0;
  padding: clamp(2.75rem, 6vw, 4rem) 0 clamp(3.25rem, 7vw, 4.5rem);
  color: #fff;
  overflow: hidden;
}
.footer-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  z-index: 2;
  pointer-events: none;
}
.footer-cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}
.footer-cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
}
.footer-cta-orb--1 {
  width: min(440px, 58vw);
  height: min(440px, 58vw);
  top: -22%;
  right: -10%;
  background: rgba(255, 255, 255, 0.24);
}
.footer-cta-orb--2 {
  width: min(300px, 42vw);
  height: min(300px, 42vw);
  bottom: -16%;
  left: 4%;
  background: rgba(255, 214, 227, 0.38);
}
.footer-cta-orb--3 {
  width: 140px;
  height: 140px;
  top: 38%;
  left: 46%;
  background: rgba(91, 192, 235, 0.14);
}
.footer-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.25rem, 4vw, 2.75rem);
  align-items: center;
}
.footer-phones {
  position: relative;
  min-height: clamp(260px, 44vw, 340px);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 0.25rem;
}
.footer-phones::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(68%, 200px);
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(23, 15, 20, 0.22) 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.footer-phone {
  margin: 0;
  width: min(34vw, 156px);
  aspect-ratio: 390 / 844;
  border-radius: 34px;
  padding: 8px;
  overflow: hidden;
  background: linear-gradient(165deg, #2a2a2a 0%, #141414 100%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  position: relative;
  z-index: 1;
}
.footer-phone::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  border-radius: 99px;
  background: #333;
  z-index: 2;
  pointer-events: none;
}
.footer-phone img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  object-fit: cover;
  object-position: top center;
  background: #fff;
}
.footer-phone--back {
  position: absolute;
  left: 50%;
  transform: translateX(calc(-50% - 3.25rem)) rotate(-7deg) translateY(0.75rem);
  z-index: 1;
  width: min(30vw, 140px);
  opacity: 0.95;
}
.footer-phone--front {
  position: relative;
  z-index: 2;
  transform: translateX(1.75rem) rotate(4deg);
}
.footer-app-icon {
  position: absolute;
  left: 50%;
  bottom: 0.25rem;
  transform: translateX(calc(-50% - 5.75rem));
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: #fff;
}
.footer-cta-kicker {
  margin: 0 0 0.45rem;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  opacity: 0.92;
}
.footer-cta-copy h2 {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  text-shadow: 0 1px 18px rgba(23, 15, 20, 0.12);
}
.footer-cta-lead {
  font-size: var(--text-md);
  font-weight: 700;
  opacity: 0.92;
  margin: 0 0 1.15rem;
}
.footer-cta-actions {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.btn-footer-cta {
  padding: 1.05rem 2.4rem;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255, 255, 255, 0.72);
  color: var(--pink-deep);
  font-weight: 800;
  background: #fff;
}
.btn-footer-cta:hover {
  background: var(--pink-light);
  border-color: #fff;
}
.footer-cta-sub {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  padding-bottom: 1px;
  line-height: 1.5;
  transition: opacity 0.2s;
}
.footer-cta-sub:hover {
  opacity: 0.78;
}
.footer-bottom {
  background: #fff;
  color: var(--text-muted);
  padding: 3rem 1.25rem 2rem;
  border-top: 1px solid var(--border);
}

/* Proof — legacy (unused) kept minimal */
.proof-section {
  background: var(--pink-pale);
}

/* Features — Pairs-style image cards (系統E media-flat) */
.features-section { background: var(--pink-pale); }
.features-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.feature-card {
  display: block;
  text-decoration: none;
  color: #fff;
  border-radius: 1.35rem;
  overflow: hidden;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}
.feature-card:focus-visible {
  outline: 2px solid var(--pink-deep);
  outline-offset: 3px;
}
.feature-card-body {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 22rem;
  isolation: isolate;
}
.feature-card--pink .feature-card-body { background: #ff6b8a; }
.feature-card--blue .feature-card-body { background: #5bc0eb; }
.feature-card--navy .feature-card-body { background: #3d4a6b; }
.feature-card-title {
  position: relative;
  z-index: 10;
  flex: 1 1 auto;
  margin: 0;
  padding: 1.75rem 1.35rem 0.75rem;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.feature-card-art {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: 78%;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
}
.features-section > .container.site-note--features {
  margin-top: 1rem;
  text-align: center;
}
.feature-card-detail {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.7rem 0.3rem 0.3rem;
  border-radius: 999px;
  background: rgba(45, 52, 54, 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  pointer-events: none;
}
.feature-card-detail svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
@media (min-width: 901px) and (max-width: 1100px) {
  .feature-card-body { min-height: 20rem; }
  .feature-card-title { font-size: 1.05rem; padding-inline: 1.1rem; }
}

/* Diagnosis band */
.why-section { background: linear-gradient(180deg, var(--bg-sub) 0%, var(--pink-pale) 100%); }
.diagnosis-band { background: linear-gradient(135deg, var(--bg-blue) 0%, var(--blue-pale) 50%, var(--pink-pale) 100%); padding: 3rem 0; position: relative; }
.diagnosis-layout { display: flex; flex-direction: column; gap: 1.25rem; }
.diagnosis-head h2 { font-size: var(--text-2xl); font-weight: 800; margin: 0 0 0.45rem; line-height: 1.35; }
.diagnosis-lead {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}
.diagnosis-grid {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(260px, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}
.diagnosis-card {
  background: white;
  border-radius: var(--radius);
  padding: 0;
  border: 1px solid rgba(255,107,138,0.18);
  overflow: hidden;
  min-height: 480px;
  max-width: 440px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.diagnosis-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem 0.75rem;
  background: linear-gradient(180deg, var(--pink-pale) 0%, #fff 100%);
  border-bottom: 1px solid rgba(255,107,138,0.1);
  flex-shrink: 0;
}
.diagnosis-kicker {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--pink-deep);
}
.diagnosis-card-meta {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.04em;
}
.diagnosis-progress-track {
  height: 4px;
  background: var(--border);
  overflow: hidden;
  flex-shrink: 0;
}
.diagnosis-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  border-radius: 0 99px 99px 0;
  transition: width 0.35s ease;
}
.diagnosis-card-body {
  flex: 1;
  min-height: 0;
  position: relative;
}
.diagnosis-intro,
#diagnosis-questions,
.diagnosis-result {
  display: none;
  flex-direction: column;
  min-height: 100%;
  padding: 1.15rem 1.1rem 1.2rem;
}
.diagnosis-intro.is-active,
#diagnosis-questions.is-active,
.diagnosis-result.is-active {
  display: flex;
  animation: fadeUp 0.35s ease;
}
.diagnosis-intro {
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 0.65rem;
}
.diagnosis-intro-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pink-pale);
  margin-bottom: 0.15rem;
}
.diagnosis-intro-title {
  font-size: var(--text-lg);
  font-weight: 800;
  margin: 0;
  color: var(--text);
}
.diagnosis-intro-lead {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-muted);
  margin: 0;
}
.diagnosis-intro-points {
  list-style: none;
  margin: 0.35rem 0 0.85rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  width: 100%;
}
.diagnosis-intro-points li {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
  padding: 0.45rem 0.75rem;
  background: var(--bg-sub);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.diagnosis-start-btn {
  width: 100%;
  max-width: 240px;
  font-weight: 800;
}
#diagnosis-questions {
  padding: 1rem 1.1rem 1.15rem;
}
.diagnosis-q-wrap {
  animation: fadeUp 0.35s ease;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.diagnosis-q-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}
.diagnosis-q-category {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--pink-deep);
  background: var(--pink-pale);
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-pill);
}
.diagnosis-q-count {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-light);
}
.diagnosis-q {
  font-size: var(--text-md);
  font-weight: 800;
  margin: 0 0 0.85rem;
  line-height: 1.55;
  color: var(--text);
}
.diagnosis-options {
  display: grid;
  gap: 0.45rem;
  flex: 1;
  align-content: start;
}
.diag-option {
  width: 100%;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.65rem;
  align-items: center;
  background: var(--bg-sub);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.8rem;
  text-align: left;
  font-family: var(--font);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  color: var(--text);
}
.diag-option:hover {
  border-color: var(--pink);
  background: var(--pink-light);
}
.diag-option.is-selected {
  border-color: var(--pink);
  background: var(--pink-light);
  transform: scale(0.985);
}
.diag-option-key {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--pink-deep);
  background: #fff;
  border: 1.5px solid rgba(255,107,138,0.25);
  flex-shrink: 0;
}
.diag-option.is-selected .diag-option-key {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}
.diag-option-text {
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.5;
}
.diagnosis-ritual {
  text-align: center;
  padding: 2rem 0.5rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.diagnosis-ritual-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.85rem;
  border: 2.5px solid var(--border);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
.diagnosis-ritual-step {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  min-height: 1.4em;
  transition: opacity 0.18s;
}
.diagnosis-ritual-step.is-fade { opacity: 0.35; }
.diagnosis-ritual-bar {
  height: 4px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  width: min(100%, 220px);
  margin: 0 auto;
}
.diagnosis-ritual-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  border-radius: 99px;
  transition: width 0.35s ease;
}
.diagnosis-result {
  gap: 0.65rem;
  overflow-y: auto;
}
.diagnosis-result-hero {
  display: block;
}
.diagnosis-result-score-block { min-width: 0; }
.diagnosis-result-kicker {
  font-size: var(--text-xs);
  color: var(--text-light);
  letter-spacing: 0.1em;
  font-weight: 800;
  margin: 0 0 0.2rem;
}
.diagnosis-result-rank {
  font-size: var(--text-sm);
  font-weight: 800;
  margin: 0.35rem 0 0;
  color: var(--text);
}
.diagnosis-result-type {
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--pink-deep);
  margin: 0;
  line-height: 1.45;
}
.diagnosis-insight {
  margin: 0;
  padding: 0.7rem 0.8rem;
  background: var(--pink-pale);
  border: 1px solid rgba(255,107,138,0.14);
  border-radius: var(--radius-sm);
}
.diagnosis-insight-headline {
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--pink-deep);
  margin: 0 0 0.35rem;
  line-height: 1.45;
}
.diagnosis-insight-summary {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}
.diagnosis-insight-advice {
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--pink-deep);
  line-height: 1.6;
  margin: 0.5rem 0 0;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(255, 107, 138, 0.22);
}
.diagnosis-result-traits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.diagnosis-result-traits li {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 0.45rem 0.65rem;
  background: var(--bg-sub);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.diagnosis-result-traits li::before { display: none; }
.diagnosis-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.35rem;
}
.diagnosis-reset-btn { font-weight: 800; }
.result-score {
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.result-score small {
  font-size: 0.45em;
  font-weight: 800;
}
.diagnosis-loading { text-align: center; color: var(--text-muted); padding: 2rem 0; font-size: var(--text-sm); }

/* Diagnosis aside — intro slides / tips / result radar */
.diagnosis-aside {
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.diagnosis-aside-panel {
  display: none;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 107, 138, 0.14);
  border-radius: var(--radius);
  min-height: 480px;
}
.diagnosis-aside-panel.is-active {
  display: flex;
  animation: fadeUp 0.35s ease;
}
.diagnosis-aside-slides {
  position: relative;
  width: 100%;
  max-width: 280px;
  min-height: 180px;
  margin-bottom: 1rem;
}
.diagnosis-aside-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.diagnosis-aside-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.diagnosis-aside-slide img {
  display: block;
  width: 96px;
  height: 96px;
}
.diagnosis-aside-slide figcaption {
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--pink-deep);
  line-height: 1.55;
  margin: 0;
}
.diagnosis-aside-slide.is-active img {
  animation: diagnosis-aside-float 2.6s ease-in-out infinite;
}
.diagnosis-aside-slides--tips {
  margin-top: 0.35rem;
}
@keyframes diagnosis-aside-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.diagnosis-aside-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
}
.diagnosis-aside-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 107, 138, 0.25);
  transition: background 0.3s ease, transform 0.3s ease;
}
.diagnosis-aside-dots span.is-active {
  background: var(--pink);
  transform: scale(1.25);
}
.diagnosis-aside-kicker {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin: 0 0 0.75rem;
}
.diagnosis-aside-tip {
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--pink-deep);
  line-height: 1.55;
  margin: 0 0 0.85rem;
  max-width: 22em;
}
.diagnosis-aside-type {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--pink-deep);
  margin: 0 0 1rem;
  line-height: 1.4;
}
.diagnosis-aside-radar {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}
.diagnosis-aside-radar svg {
  width: 100%;
  max-width: min(320px, 100%);
  height: auto;
  display: block;
}
.diagnosis-aside-radar .radar-label { font-size: 0.68rem; fill: var(--text-muted); }

/* Diagnosis — SP */
@media (max-width: 640px) {
  .diagnosis-band {
    padding: 1.25rem 0 1.5rem;
  }
  .diagnosis-layout {
    gap: 0.75rem;
  }
  .diagnosis-head h2 {
    font-size: 1.28rem;
    margin: 0 0 0.375rem;
    line-height: 1.38;
  }
  .diagnosis-lead {
    font-size: 0.78rem;
    line-height: 1.5;
  }
  .diagnosis-head .site-note {
    margin-top: 0.375rem;
    font-size: 0.68rem;
    line-height: 1.55;
  }
  .diagnosis-grid {
    gap: 0.625rem;
  }
  .diagnosis-card {
    min-height: min(56svh, 400px);
    max-width: none;
    width: 100%;
    border: none;
    border-radius: 18px;
    box-shadow:
      0 10px 32px rgba(255, 107, 138, 0.12),
      0 2px 8px rgba(0, 0, 0, 0.04);
  }
  .diagnosis-card-head {
    padding: 0.75rem 1rem 0.625rem;
    gap: 0.5rem;
    border-bottom-color: rgba(255, 107, 138, 0.08);
  }
  .diagnosis-kicker {
    font-size: 0.62rem;
  }
  .diagnosis-card-meta {
    font-size: 0.62rem;
  }
  .diagnosis-progress-track {
    height: 3px;
  }
  .diagnosis-card-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .diagnosis-intro.is-active,
  #diagnosis-questions.is-active,
  .diagnosis-result.is-active {
    padding: 1rem;
    flex: 1 1 auto;
    min-height: 0;
  }
  .diagnosis-intro {
    gap: 0.5rem;
    justify-content: flex-start;
    padding-top: 1.25rem;
  }
  .diagnosis-intro-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 0.25rem;
  }
  .diagnosis-intro-icon img {
    width: 52px;
    height: 52px;
  }
  .diagnosis-intro-title {
    font-size: 1.05rem;
  }
  .diagnosis-intro-lead {
    font-size: 0.78rem;
  }
  .diagnosis-intro-points {
    margin: 0.375rem 0 0.625rem;
    gap: 0.375rem;
  }
  .diagnosis-intro-points li {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
    border-radius: 10px;
    background: #fff;
    border-color: rgba(255, 107, 138, 0.12);
    box-shadow: 0 1px 4px rgba(255, 107, 138, 0.05);
  }
  .diagnosis-intro .site-note {
    margin: 0 0 0.5rem;
    font-size: 0.65rem;
    line-height: 1.55;
  }
  .diagnosis-start-btn {
    max-width: none;
    margin-top: 0.125rem;
  }
  #diagnosis-questions.is-active {
    padding: 1rem;
  }
  .diagnosis-q-wrap {
    flex: 1 1 auto;
    min-height: 100%;
    justify-content: flex-start;
  }
  .diagnosis-q-meta {
    margin-bottom: 0.5rem;
  }
  .diagnosis-q-category {
    padding: 0.2rem 0.55rem;
    font-size: 0.62rem;
  }
  .diagnosis-q-count {
    font-size: 0.62rem;
  }
  .diagnosis-q {
    font-size: 0.9rem;
    margin: 0 0 0.75rem;
    line-height: 1.52;
  }
  .diagnosis-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1 1 auto;
    align-content: start;
  }
  .diagnosis-options::after {
    content: "";
    flex: 1 1 auto;
    min-height: 0.75rem;
    background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(255, 107, 138, 0.04), transparent 72%);
    pointer-events: none;
  }
  .diag-option {
    background: #fff;
    border: 1px solid rgba(255, 107, 138, 0.14);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(255, 107, 138, 0.06);
    padding: 0.7rem 0.75rem;
    gap: 0.625rem;
    grid-template-columns: 1.875rem 1fr;
  }
  .diag-option-key {
    width: 1.875rem;
    height: 1.875rem;
    font-size: 0.62rem;
  }
  .diag-option-text {
    font-size: 0.78rem;
    line-height: 1.55;
  }
  .diagnosis-ritual {
    padding: 1.5rem 0.5rem 1rem;
  }
  .diagnosis-result {
    gap: 0.5rem;
  }
  .diagnosis-result-type {
    font-size: 0.82rem;
    margin-top: 0.125rem;
  }
  .diagnosis-insight {
    padding: 0.75rem 0.8rem;
    border-radius: 12px;
    margin-top: 0.125rem;
  }
  .diagnosis-insight-headline {
    font-size: 0.82rem;
    margin-bottom: 0.375rem;
    line-height: 1.5;
  }
  .diagnosis-insight-summary {
    font-size: 0.74rem;
    line-height: 1.65;
  }
  .diagnosis-result-traits {
    gap: 0.375rem;
    margin: 0.125rem 0 0;
  }
  .diagnosis-result-traits li {
    padding: 0.5rem 0.7rem;
    font-size: 0.72rem;
    border-radius: 10px;
  }
  .diagnosis-result-actions {
    gap: 0.4375rem;
    margin-top: 0.375rem;
  }
  .diagnosis-aside {
    min-height: 0;
  }
  .diagnosis-aside-panel {
    min-height: auto;
    padding: 0.875rem 1rem 0.75rem;
    border: none;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, #fff 70%, #f8fcff 100%);
    box-shadow:
      0 8px 24px rgba(91, 192, 235, 0.1),
      0 2px 6px rgba(0, 0, 0, 0.03);
  }
  .diagnosis-aside-kicker {
    margin: 0 0 0.5rem;
    font-size: 0.62rem;
  }
  .diagnosis-aside-tip {
    font-size: 0.82rem;
    line-height: 1.55;
    margin: 0 0 0.625rem;
    padding: 0 0.125rem;
    max-width: none;
  }
  .diagnosis-aside-slides {
    min-height: 132px;
    margin-bottom: 0.5rem;
    max-width: none;
  }
  .diagnosis-aside-slides--tips {
    margin-top: 0;
  }
  .diagnosis-aside-slide {
    gap: 0.5rem;
  }
  .diagnosis-aside-slide img {
    width: 76px;
    height: 76px;
  }
  .diagnosis-aside-slide figcaption {
    font-size: 0.7rem;
    line-height: 1.5;
    padding: 0 0.25rem;
  }
  .diagnosis-aside-dots {
    gap: 0.375rem;
    margin-top: 0.125rem;
  }
  .diagnosis-aside-dots span {
    width: 5px;
    height: 5px;
  }
  .diagnosis-aside-type {
    font-size: 1rem;
    margin: 0 0 0.75rem;
  }
  .diagnosis-aside-panel--result {
    padding: 1rem 0.875rem 0.875rem;
  }
  .diagnosis-aside-radar svg {
    max-width: min(260px, 88vw);
  }
}

.fortune-reset-btn { margin-top: 1rem; }

.cert-section { background: linear-gradient(180deg, var(--bg-sub) 0%, white 100%); }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; flex-shrink: 0; }
.phone {
  width: 228px;
  background: #1a1a1a;
  border-radius: 32px;
  padding: 10px;
  border: 1px solid #333;
}
.phone-screen {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  padding: 0.95rem 0.8rem 1.05rem;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.phone-notch { width: 52px; height: 4px; background: #eee; border-radius: 99px; margin: 0 auto 0.65rem; }
.phone-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 0.25rem;
}
.phone-title {
  font-size: var(--text-sm);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--pink-deep);
  line-height: 1.35;
}
.radar-wrap { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; }
.radar-wrap svg { width: 100%; max-width: 168px; }
.radar-label { font-size: 0.55rem; fill: var(--text-muted); }

/* Fortune */
.fortune-section { background: var(--pink-pale); }
.fortune-section > .container { max-width: min(1120px, 96vw); }
.fortune-section:has(.fortune-result.visible) {
  background-color: var(--pink-pale);
  background-image:
    radial-gradient(1.5px 1.5px at 14% 28%, rgba(255, 107, 138, 0.45) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 18% 62%, rgba(255, 182, 205, 0.35) 50%, transparent 52%),
    radial-gradient(2px 2px at 86% 22%, rgba(91, 192, 235, 0.42) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 82% 58%, rgba(255, 107, 138, 0.3) 50%, transparent 52%),
    radial-gradient(ellipse 42% 58% at 12% 22%, rgba(91, 192, 235, 0.16) 0%, transparent 72%),
    radial-gradient(ellipse 38% 52% at 88% 28%, rgba(255, 107, 138, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 55% 45% at 50% 100%, rgba(255, 182, 205, 0.12) 0%, transparent 68%),
    linear-gradient(165deg, #f3f9fd 0%, var(--blue-pale) 28%, var(--pink-pale) 62%, #fff 100%);
  position: relative;
  overflow: visible;
}
.fortune-section:has(.fortune-result.visible)::before,
.fortune-section:has(.fortune-result.visible)::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(1px);
}
.fortune-section:has(.fortune-result.visible)::before {
  left: -4%;
  top: 8%;
  width: min(34vw, 360px);
  height: min(34vw, 360px);
  background: radial-gradient(circle, rgba(91, 192, 235, 0.22) 0%, rgba(91, 192, 235, 0) 72%);
  animation: fortune-ambient-drift 18s ease-in-out infinite alternate;
}
.fortune-section:has(.fortune-result.visible)::after {
  right: -3%;
  bottom: 10%;
  width: min(30vw, 320px);
  height: min(30vw, 320px);
  background: radial-gradient(circle, rgba(255, 107, 138, 0.2) 0%, rgba(255, 107, 138, 0) 70%);
  animation: fortune-ambient-drift 22s ease-in-out infinite alternate-reverse;
}
.fortune-section:has(.fortune-result.visible) > .container {
  position: relative;
  z-index: 1;
}
@keyframes fortune-ambient-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(12px, -16px, 0) scale(1.04); }
}

/* 占い結果 — モバイル: タイトル → カード → 操作 / PC: 左操作・右カード */
.f-report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "deck"
    "controls";
  gap: 0.75rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  --f-report-summary-visual-h: 188px;
  scroll-margin-top: calc(var(--header-h) + var(--ribbon-h) + 12px);
}
.f-report-side-head {
  grid-area: head;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  max-width: 100%;
}
.f-report-side-controls {
  grid-area: controls;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  max-width: 100%;
}
.f-report-deck {
  grid-area: deck;
  min-height: 0;
  max-height: none;
}
@media (min-width: 641px) {
  .f-report-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "deck"
      "controls";
    gap: 0.75rem;
    justify-content: center;
    width: 100%;
    max-width: min(600px, 100%);
    margin-inline: auto;
    position: relative;
    z-index: 1;
  }
  .f-report-side-head,
  .f-report-side-controls {
    align-self: stretch;
  }
  .f-report-side-controls .f-report-deck-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }
  .f-report-side-controls .f-report-deck-step-label,
  .f-report-side-controls .f-report-deck-actions,
  .f-report-side-controls .f-report-footer {
    text-align: center;
  }
  .f-report-side-controls .f-report-deck-actions {
    min-height: 0;
  }
  .f-report-deck {
    min-height: 0;
  }
}
@media (min-width: 900px) {
  .f-report-layout {
    max-width: min(720px, 100%);
  }
}
.f-report-side-kicker {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--pink-deep);
  margin: 0;
}
.f-report-side-meta {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}
.f-report-side-slide {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--pink-deep);
  margin: 0;
}
.f-report-side-guide {
  display: none;
}
@media (max-width: 640px) {
  .f-report-layout {
    gap: 0.625rem;
  }
  .f-report-side-head {
    gap: 0.3rem;
    padding-bottom: 0.125rem;
  }
  .f-report-side-kicker {
    font-size: 0.58rem;
    margin: 0;
  }
  .f-report-side-meta {
    font-size: 0.76rem;
    line-height: 1.45;
    margin: 0;
  }
  .f-report-side-slide {
    margin-top: 0.125rem;
    line-height: 1.32;
  }
  .f-report-side-controls {
    gap: 0.5rem;
    padding-top: 0.5rem;
    margin-top: 0.25rem;
    position: relative;
    z-index: 1;
    background: transparent;
  }
  body.has-sticky-cta .f-report-layout {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }
  .f-report-side-controls .f-report-footer {
    display: none;
  }
  .f-report-side-controls .f-report-deck-actions {
    margin-top: 0.125rem;
  }
  .f-report-side-controls .f-report-deck-dots {
    margin-bottom: 0;
    gap: 0.4375rem;
  }
  .f-report-side-controls .f-report-deck-step-label {
    margin-top: 0.125rem;
    line-height: 1.4;
  }
  .f-report-side-controls .f-report-deck-actions .f-report-share-hint {
    margin: 0 0 0.5rem;
    padding: 0 0.125rem;
    line-height: 1.6;
  }
}
.f-report-side-controls .f-report-deck-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0;
}
.f-report-side-controls .f-report-deck-dots {
  justify-content: center;
}
.f-report-side-controls .f-report-deck-step-label {
  text-align: center;
  margin-top: 0;
}
.f-report-side-controls .f-report-deck-actions {
  text-align: center;
  margin-top: 0.15rem;
  min-height: 0;
}
.f-report-side-controls .f-report-footer {
  margin-top: 0.25rem;
  padding-top: 0;
  text-align: center;
}

/* Result card deck — 縦型カード（SP/PC共通・ペラ1枚で全表示） */
.f-report-deck-card {
  width: 100%;
  min-height: 0;
  height: auto;
  max-height: none;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: var(--f-report-summary-visual-h, 156px) auto;
  border: 1px solid rgba(255, 107, 138, 0.12);
  border-radius: 18px;
  overflow: visible;
  background: #fff;
  --f-report-summary-visual-h: 188px;
}
.f-report-deck-card--summary {
  position: relative;
}
.f-report-deck-card--summary > .f-report-deck-score {
  grid-row: 1;
  grid-column: 1;
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 6;
  pointer-events: none;
}
.f-report-deck-card--summary .f-report-deck-card-head {
  top: 0.65rem;
  bottom: auto;
  left: 0.85rem;
  right: auto;
  width: min(58%, 13.5rem);
  max-width: 58%;
  padding: 0;
  z-index: 4;
}
.f-report-deck-card--summary .f-report-deck-card-body {
  margin-top: 0;
  padding-top: 1.15rem;
}
.f-report-deck-card--summary .f-report-deck-score-rank {
  display: inline-block;
  margin-top: 0.22rem;
  padding: 0.18rem 0.55rem;
  font-size: 0.62rem;
}
.f-report-deck-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  height: var(--f-report-deck-h, auto);
  align-self: flex-start;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}
.f-report-deck-slide .f-report-deck-card {
  flex: 0 0 auto;
  min-height: 0;
  width: 100%;
  height: auto;
}
.f-report-deck-slide .f-report-deck-card.f-report-deck-card--unified {
  flex: 1 1 auto;
  height: var(--f-report-deck-h);
  min-height: var(--f-report-deck-h);
  max-height: var(--f-report-deck-h);
  grid-template-rows: var(--f-report-summary-visual-h, 156px) minmax(0, 1fr);
}
.f-report-deck-card--unified .f-report-deck-card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
}
.f-report-deck-card--unified .f-report-deck-card-content {
  flex: 0 0 auto;
}
.f-report-deck-card-visual {
  position: relative;
  grid-row: 1;
  grid-column: 1;
  flex: none;
  min-height: var(--f-report-summary-visual-h, 156px);
  max-height: var(--f-report-summary-visual-h, 156px);
  height: var(--f-report-summary-visual-h, 156px);
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: var(--f-report-hero-bg, linear-gradient(180deg, #FF9DB5 0%, #FF7A96 100%));
  z-index: 1;
}
.f-report-deck-card-body {
  overflow: visible !important;
}
.f-report-deck-card-shade {
  background: linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.34) 72%, rgba(0,0,0,0.42) 100%);
}
.f-report-deck {
  max-width: 100%;
  width: 100%;
  margin: 0;
  height: auto;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.f-report-deck-stage {
  position: relative;
  width: 100%;
  min-width: 0;
}
.f-report-deck-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  color: rgba(55, 55, 55, 0.92);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.f-report-deck-arrow--prev { left: 0.375rem; }
.f-report-deck-arrow--next { right: 0.375rem; }
.f-report-deck-arrow:not(:disabled):hover {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
}
.f-report-deck-arrow:disabled,
.f-report-deck-arrow.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.f-report-deck-arrow svg {
  display: block;
  flex: none;
}
@media (max-width: 640px) {
  .f-report-deck-arrow {
    width: 1.75rem;
    height: 1.75rem;
  }
  .f-report-deck-arrow svg {
    width: 16px;
    height: 16px;
  }
  .f-report-deck-arrow--prev { left: 0.25rem; }
  .f-report-deck-arrow--next { right: 0.25rem; }
}
@media (max-width: 640px) {
  .f-report-deck {
    min-height: 0;
  }
}
.f-report-deck-viewport {
  overflow-x: hidden;
  overflow-y: visible;
  height: var(--f-report-deck-h, auto);
  max-height: var(--f-report-deck-h, none);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 0 0 auto;
  transition: none;
  border-radius: 18px;
  background: transparent;
}
.f-report-deck-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.fortune-shell {
  background: transparent; border: none; border-radius: 0; overflow: visible;
  min-width: 0;
  max-width: 100%;
}
.f-report-radar-wrap--card {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  width: 100%;
}
.f-report-radar-wrap--card .f-report-radar-svg { max-width: 200px; width: 100%; }
.f-report-detail-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
}
.f-report-detail-stack .f-report-radar-wrap--card {
  margin-bottom: 0;
}
.f-report-detail-stack .f-report-radar-wrap--card .f-report-radar-svg {
  max-width: 220px;
  width: 100%;
}
.f-report-detail-stack--wide {
  grid-template-columns: 1fr;
  gap: 0.625rem;
  align-items: stretch;
}
.f-report-detail-stack--wide .f-report-radar-wrap--card {
  justify-content: center;
  align-self: stretch;
}
.f-report-detail-stack--wide .f-report-radar-wrap--card .f-report-radar-svg {
  max-width: min(280px, 100%);
  width: 100%;
}
.f-report-detail-stack--wide .f-report-radar-icon img {
  width: 15px;
  height: 15px;
}
.f-report-detail-stack--wide .f-report-radar-stars .f-report-star,
.f-report-detail-stack--wide .f-report-radar-stars .f-report-star img {
  width: 12px;
  height: 12px;
}

.fortune-picker {
  padding: 1.5rem 0 1rem;
  background: transparent;
  border-bottom: none;
}
.fortune-picker-head { text-align: center; margin-bottom: 1.15rem; }
.fortune-picker-kicker {
  font-size: var(--text-sm); font-weight: 700; color: var(--pink-deep);
  letter-spacing: 0.08em; margin-bottom: 0.45rem;
}
.fortune-picker-title {
  font-family: var(--font); font-size: var(--text-2xl);
  font-weight: 800; color: var(--text); margin: 0 0 0.45rem;
  letter-spacing: -0.01em;
}
.fortune-picker-title em { font-style: normal; color: var(--pink-deep); }
.fortune-picker-lead {
  font-size: var(--text-md); color: var(--text-muted); line-height: 1.75; margin: 0;
}

.fortune-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.25rem 0 0.5rem;
}
.fortune-card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4.1;
  padding: 0;
  border: none;
  border-radius: 16px;
  background: #ddd;
  cursor: pointer;
  overflow: hidden;
  transition: outline-color 0.2s, opacity 0.2s, transform 0.2s;
  font-family: var(--font);
  opacity: 0.92;
}
.fortune-card:hover { opacity: 1; }
.fortune-card.active {
  opacity: 1;
  outline: 2.5px solid var(--pink);
  outline-offset: 2px;
}
.fortune-card-art {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.fortune-card-copy {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 0.85rem 0.75rem 0.9rem;
  text-align: left;
  background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.72) 42%, rgba(255,255,255,0.08) 72%, transparent 100%);
}
.fortune-card.active .fortune-card-copy {
  background: linear-gradient(180deg, rgba(255,248,250,0.96) 0%, rgba(255,255,255,0.75) 44%, rgba(255,255,255,0.1) 74%, transparent 100%);
}
.fortune-card-check {
  position: absolute; top: 0.5rem; right: 0.5rem; z-index: 2;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--pink); color: #fff; font-size: var(--text-sm); font-weight: 800;
  display: none; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.fortune-card.active .fortune-card-check { display: flex; }
.fortune-card-title {
  display: block; font-size: var(--text-base); font-weight: 800;
  color: var(--text); line-height: 1.35; margin-bottom: 0.2rem;
}
.fortune-card-desc {
  display: block; font-size: var(--text-sm); color: var(--text-muted);
  line-height: 1.5;
}

@media (min-width: 640px) {
  .fortune-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (min-width: 900px) {
  .fortune-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 720px;
    margin: 0 auto;
    gap: 0.85rem;
  }
  .fortune-card { aspect-ratio: 3 / 3.85; }
}

.fortune-panel-intro {
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(255,107,138,0.1);
  max-width: 360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  scroll-margin-top: calc(var(--header-h) + var(--ribbon-h) + 12px);
}
.fortune-panel-intro-visual { margin: 0; }
.fortune-panel-intro-visual img {
  width: 100%;
  height: 168px;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  border: none;
  border-radius: 0;
}
.fortune-panel-intro-body {
  padding: 1.15rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
}
.fortune-panel-intro-title {
  font-family: var(--serif); font-size: var(--text-xl); font-weight: 800;
  color: var(--pink-deep); margin: 0 0 0.4rem;
}
.fortune-panel-intro-desc {
  font-size: var(--text-base); font-weight: 700; color: var(--text-muted); line-height: 1.85; margin: 0 0 1.1rem;
}
.fortune-panel-intro-body .fortune-panel-label { text-align: left; margin-bottom: 0.85rem; }
.fortune-panel-intro--form .fortune-panel-intro-desc { margin-bottom: 0.85rem; }

.fortune-preview-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin-bottom: 0.85rem;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(255,107,138,0.1);
  border-bottom: 1px solid rgba(255,107,138,0.1);
}
.fortune-preview-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  flex: 1 1 calc(50% - 0.55rem);
  min-width: 0;
}
.fortune-preview-item + .fortune-preview-item {
  border-left: none;
  padding-left: 0;
}
.fortune-preview-item-icon { width: 24px; height: 24px; flex-shrink: 0; display: block; }
.fortune-preview-item-body { min-width: 0; }
.fortune-preview-item-label {
  display: block; font-size: var(--text-xs); font-weight: 700; color: var(--text-muted); line-height: 1.3;
}
.fortune-preview-item-stars {
  display: inline-flex; align-items: center; gap: 2px; margin-top: 0.15rem;
}
.fortune-preview-item-stars img {
  width: 12px; height: 12px; display: block; opacity: 0.22;
}
.fortune-preview-item-stars img.is-on { opacity: 1; }

.fortune-advice-teaser {
  display: flex; gap: 0.55rem; align-items: flex-start;
  padding: 0 0 0 0.75rem; margin-bottom: 1.35rem;
  background: none; border: none;
  border-left: 3px solid var(--pink);
  border-radius: 0;
}
.fortune-advice-teaser-icon { flex-shrink: 0; width: 22px; height: 22px; display: block; }
.fortune-advice-teaser-copy { flex: 1; min-width: 0; }
.fortune-advice-teaser-copy strong {
  display: block; font-size: var(--text-base); color: var(--pink-deep); margin-bottom: 0.2rem;
}
.fortune-advice-teaser-copy p {
  font-size: var(--text-sm); color: var(--text-muted); line-height: 1.75; margin: 0;
}
.fortune-advice-teaser::after { display: none; }

.fortune-panel-intro-body .btn-lg { align-self: stretch; width: 100%; min-width: 0; }

.compat-input-panel--inline,
.seimei-input-panel--inline,
.fortune-panel--inline {
  max-width: 360px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: none;
}
.seimei-input-panel--inline .seimei-input-badge { margin-bottom: 0.65rem; }

.fortune-main { padding: 0.75rem 0 2rem; position: relative; background: transparent; min-height: 320px; min-width: 0; max-width: 100%; }
.tab-panel { display: none; max-width: 640px; margin: 0 auto; min-width: 0; }
.tab-panel.tab-panel--wide { max-width: 100%; }
.tab-panel.active { display: block; animation: fadeUp 0.35s ease; }
.fortune-result { max-width: 100%; width: 100%; margin: 0; min-width: 0; }
.f-report { max-width: 100%; min-width: 0; }
.fortune-panel-label { font-size: var(--text-md); font-weight: 700; color: var(--text); margin-bottom: 1rem; text-align: center; }

.fortune-start {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  align-items: center;
}
.fortune-start-visual {
  position: relative;
  width: 160px;
  aspect-ratio: 1;
  overflow: visible;
}
.fortune-blob {
  position: absolute;
  inset: 4%;
  background: linear-gradient(135deg, rgba(255,107,138,0.18), rgba(91,192,235,0.14));
  border-radius: 58% 42% 55% 45% / 48% 52% 48% 52%;
  z-index: 0;
}
.fortune-start-photo {
  position: absolute;
  inset: 6%;
  width: 88%;
  height: 88%;
  object-fit: cover;
  border-radius: 55% 45% 50% 50% / 48% 52% 48% 52%;
  z-index: 1;
}
.fortune-start-deco {
  position: absolute;
  z-index: 2;
  width: 38%;
  bottom: -4%;
  right: -12%;
  pointer-events: none;
}
.fortune-start-copy h3 {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--pink-deep);
  margin-bottom: 0.5rem;
}
.fortune-start-copy p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.fortune-panel {
  max-width: 400px;
  margin: 0 auto;
}

.fortune-ritual {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: calc(var(--header-h) + var(--ribbon-h));
  bottom: 0;
  z-index: 190;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.97);
}
.fortune-ritual.active { display: flex; }
body.fortune-ritual-active {
  overflow: hidden;
}
.analyze-loading { text-align: center; padding: 2rem; width: 100%; max-width: 320px; }
.analyze-spinner {
  width: 44px; height: 44px; margin: 0 auto 1.25rem; border-radius: 50%;
  border: 2.5px solid var(--border); border-top-color: var(--pink);
  animation: spin 0.9s linear infinite;
}
.ritual-step { font-size: var(--text-md); font-weight: 600; min-height: 1.5em; margin-bottom: 1rem; color: var(--text); transition: opacity 0.3s; }
.ritual-step.fade { opacity: 0; }
.ritual-bar-wrap { width: 220px; height: 4px; background: var(--border); border-radius: 99px; overflow: hidden; margin: 0 auto; }
.ritual-bar { height: 100%; background: linear-gradient(90deg, var(--pink), var(--blue)); width: 0; transition: width 0.5s; }
.ritual-dots { display: flex; gap: 0.35rem; margin-top: 0.85rem; justify-content: center; }
.ritual-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--border); transition: all 0.3s; }
.ritual-dot.done, .ritual-dot.current { background: var(--pink); }
.ritual-dot.current { transform: scale(1.2); }

.fortune-form { display: flex; flex-direction: column; gap: 0.75rem; }
.fortune-form label { font-size: var(--text-sm); font-weight: 600; color: var(--text-muted); }
.fortune-form input, .fortune-form select {
  padding: 0.8rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: var(--text-base); outline: none; background: white;
}
.fortune-form input:focus, .fortune-form select:focus { border-color: var(--pink); outline: 2px solid rgba(255,107,138,0.15); outline-offset: 0; }
.fortune-form-note { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.65; margin: 0; }

/* Seimei — site tokens only: border / flat / no shadow */
.seimei-input-panel {
  max-width: 400px; margin: 0 auto;
  padding: 1.35rem 1.15rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: none;
}
.seimei-input-head { text-align: center; margin-bottom: 1.1rem; }
.seimei-input-badge {
  display: inline-block; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em;
  color: var(--pink-deep); background: var(--pink-pale);
  border: 1px solid var(--border); padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill); margin-bottom: 0.55rem;
}
.seimei-input-title {
  font-family: var(--serif); font-size: var(--text-xl);
  font-weight: 700; color: var(--text); margin: 0 0 0.4rem;
}
.seimei-input-desc { font-size: var(--text-base); color: var(--text-muted); line-height: 1.75; margin: 0; }
.seimei-input-fields { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 0.65rem; margin-bottom: 0.85rem; }
.seimei-field { display: flex; flex-direction: column; gap: 0.35rem; position: relative; }
.seimei-field label { font-size: var(--text-sm); font-weight: 700; color: var(--text-muted); }
.seimei-field input {
  width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: var(--serif); font-size: var(--text-base); background: var(--bg);
  box-shadow: none;
}
.seimei-field input:focus { border-color: var(--pink); outline: 2px solid rgba(255,107,138,0.12); outline-offset: 0; }
.seimei-field-hint { position: absolute; top: 0; right: 0; font-size: var(--text-xs); color: var(--text-light); }
.seimei-input-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem;
  list-style: none; padding: 0; margin: 0 0 1rem;
}
.seimei-input-meta li {
  font-size: var(--text-sm); font-weight: 600; color: var(--text-muted);
  padding: 0.2rem 0.6rem; background: var(--bg-sub); border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}
.seimei-submit-btn { font-weight: 700; letter-spacing: 0.04em; }

.seimei-report,
.seimei-report * {
  box-shadow: none;
}
.seimei-report {
  background: transparent; border: none; border-radius: 0;
  padding: 0; margin: 0;
}
.seimei-animate { opacity: 0; transform: translateY(8px); transition: opacity 0.45s ease, transform 0.45s ease; }
.seimei-animate.revealed { opacity: 1; transform: none; }
.seimei-report > .seimei-animate:nth-child(2) { transition-delay: 0.06s; }
.seimei-report > .seimei-animate:nth-child(3) { transition-delay: 0.1s; }
.seimei-report > .seimei-animate:nth-child(4) { transition-delay: 0.14s; }
.seimei-report > .seimei-animate:nth-child(5) { transition-delay: 0.18s; }
.seimei-report > .seimei-animate:nth-child(6) { transition-delay: 0.22s; }
.seimei-report > .seimei-animate:nth-child(7) { transition-delay: 0.26s; }

.seimei-report-head {
  text-align: center; padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border); margin-bottom: 0;
}
.seimei-report-meta { font-size: 0.68rem; color: var(--text-light); letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.seimei-report-name {
  display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap;
  gap: 0.2rem 0.45rem; margin: 0 0 0.85rem;
}
.seimei-name-line {
  display: inline-flex; align-items: baseline; justify-content: center; flex-wrap: nowrap;
  gap: 0.45rem; font-family: var(--serif); font-size: clamp(1.35rem, 4vw, 1.65rem);
  font-weight: 700; color: var(--text); line-height: 1.2;
}
.seimei-name-part { white-space: nowrap; }
.seimei-name-suffix { font-family: var(--font); font-size: 0.82rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }

.seimei-report-summary {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
  flex-wrap: wrap; margin-bottom: 0.75rem;
}
.seimei-report-rank {
  font-family: var(--serif); font-size: clamp(1.75rem, 5vw, 2rem);
  font-weight: 900; color: var(--pink-deep); line-height: 1; min-width: 4.5rem;
}
.seimei-score-block {
  min-width: 148px; max-width: 200px; text-align: left;
}
.seimei-score-label { display: block; font-size: 0.62rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0.15rem; }
.seimei-score-value { display: block; font-size: 1.25rem; font-weight: 900; color: var(--text); line-height: 1; }
.seimei-score-value small { font-size: 0.65rem; font-weight: 700; color: var(--text-muted); margin-left: 0.1rem; }
.seimei-score-block .meter { margin-top: 0.4rem; }

.seimei-tags { display: flex; gap: 0.35rem; flex-wrap: wrap; justify-content: center; opacity: 0; transition: opacity 0.5s 0.35s; }
.seimei-tags.revealed { opacity: 1; }

.seimei-section { padding: 1.15rem 0; border-top: 1px solid var(--border); margin: 0; }
.seimei-section-title {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; color: var(--pink-deep);
  margin: 0 0 0.75rem; padding-left: 0.55rem; border-left: 3px solid var(--pink);
}

/* Seimei detail — editorial / accordion */
.f-report-extra.seimei-detail { padding-top: 0.25rem; }
.f-report-extra.seimei-detail .seimei-section:first-child { border-top: none; padding-top: 0; }
.f-report-extra.seimei-detail .seimei-section { border-top: none; padding: 0 0 1.15rem; }

.seimei-name-flow { display: flex; flex-direction: column; gap: 0.65rem; }
.seimei-name-flow-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.45rem 0.65rem;
}
.seimei-name-flow-label {
  font-size: 0.62rem; font-weight: 800; color: var(--pink-deep); letter-spacing: 0.06em;
}
.seimei-name-flow-chars { display: flex; flex-wrap: wrap; gap: 0.35rem; flex: 1 1 auto; }
.seimei-name-flow-total {
  font-family: var(--serif); font-size: 0.82rem; font-weight: 700; color: var(--text-muted);
  margin-left: auto;
}

.seimei-strokes-card {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,107,138,0.14);
  background: #fff;
}
@media (min-width: 560px) {
  .seimei-strokes-card {
    display: grid;
    grid-template-columns: minmax(148px, 40%) 1fr;
    align-items: stretch;
  }
}
.seimei-strokes-visual {
  position: relative;
  min-height: 168px;
  background: linear-gradient(180deg, #FFD6E3 0%, #FFB8CA 100%);
}
.seimei-strokes-scene {
  width: 100%; height: 100%; min-height: 168px;
  object-fit: cover; object-position: center; display: block;
}
.seimei-strokes-total-chip {
  position: absolute; left: 50%; bottom: 0.75rem;
  transform: translateX(-50%);
  min-width: 72px; padding: 0.45rem 0.75rem 0.5rem;
  text-align: center;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,107,138,0.28);
  border-radius: 14px;
}
.seimei-strokes-total-label {
  display: block; font-size: 0.55rem; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.06em;
}
.seimei-strokes-total-num {
  display: block;
  font-family: var(--serif); font-size: 1.45rem; font-weight: 800;
  color: var(--pink-deep); line-height: 1.05;
}
.seimei-strokes-total-num::after { content: "画"; font-size: 0.52em; font-weight: 700; margin-left: 0.04em; }
.seimei-strokes-body {
  padding: 1rem 1.05rem 1.05rem;
  display: flex; flex-direction: column; justify-content: center;
}
.seimei-strokes-lead {
  font-family: var(--serif); font-size: 0.78rem; font-weight: 600;
  color: var(--text-muted); line-height: 1.65; margin: 0 0 0.85rem;
}
.seimei-strokes-rows { display: flex; flex-direction: column; gap: 0.85rem; }
.seimei-strokes-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.65rem;
}
.seimei-strokes-row-label {
  flex: 0 0 auto;
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.08em;
  color: var(--pink-deep); padding: 0.28rem 0.55rem;
  background: var(--pink-pale); border: 1px solid rgba(255,107,138,0.16);
  border-radius: var(--radius-pill);
}
.seimei-strokes-tiles {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem;
  flex: 1 1 auto;
}
.seimei-strokes-row-sum {
  flex: 0 0 auto; margin-left: auto;
  font-family: var(--serif); font-size: 0.88rem; font-weight: 700; color: var(--text);
}
.seimei-char-tile {
  position: relative;
  width: 50px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #FFF8FA 0%, #FFECF1 100%);
  border: 1.5px solid rgba(255,107,138,0.28);
  border-radius: 12px;
}
.seimei-char-tile.estimate { border-style: dashed; border-color: rgba(255,107,138,0.45); }
.seimei-char-tile .seimei-char-glyph {
  font-family: var(--serif); font-size: 1.35rem; line-height: 1; color: var(--text);
}
.seimei-char-badge {
  position: absolute; bottom: -5px; right: -5px;
  min-width: 18px; height: 18px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.55rem; font-weight: 800; color: #fff;
  background: var(--pink-deep); border-radius: 99px;
  border: 1.5px solid #fff;
}
.seimei-char-plus {
  font-size: 0.75rem; font-weight: 700; color: rgba(255,107,138,0.42);
  line-height: 1; user-select: none;
}

.seimei-char {
  display: inline-flex; flex-direction: column; align-items: center; min-width: 2.1rem;
  padding: 0.28rem 0.42rem; background: var(--pink-pale);
  border: 1px solid rgba(255,107,138,0.16); border-radius: 12px;
}
.seimei-char.estimate { border-style: dashed; border-color: rgba(255,107,138,0.4); }
.seimei-char-glyph { font-family: var(--serif); font-size: 1.05rem; line-height: 1.1; color: var(--text); }
.seimei-char-num { font-size: 0.58rem; font-weight: 700; color: var(--pink-deep); margin-top: 0.1rem; }

.seimei-grid-strip {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
}
.seimei-grid-pill {
  flex: 1 1 calc(33% - 0.45rem); min-width: 88px;
  display: flex; flex-direction: column; align-items: center; gap: 0.08rem;
  padding: 0.55rem 0.45rem; text-align: center;
  background: var(--pink-pale); border: 1px solid rgba(255,107,138,0.14);
  border-radius: 14px;
}
.seimei-grid-pill.great { border-color: rgba(255,107,138,0.38); background: #fff; }
.seimei-grid-pill-label { font-size: 0.58rem; font-weight: 700; color: var(--text-muted); }
.seimei-grid-pill-num {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 800; color: var(--text); line-height: 1.1;
}
.seimei-grid-pill-num::after { content: "画"; font-size: 0.62em; font-weight: 700; margin-left: 0.05em; }
.seimei-grid-pill-luck { font-size: 0.6rem; font-weight: 800; color: var(--pink-deep); }

.seimei-sancai-lead {
  font-family: var(--serif); font-size: 0.82rem; font-weight: 600;
  color: var(--text); line-height: 1.8; margin: 0 0 0.65rem;
}
.seimei-sancai-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.seimei-sancai-tag {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.32rem 0.62rem; font-size: 0.66rem; font-weight: 700; color: var(--text-muted);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-pill);
}
.seimei-sancai-tag em { font-style: normal; font-weight: 800; color: var(--pink-deep); }
.seimei-sancai-tag.great { border-color: rgba(255,107,138,0.35); background: var(--pink-pale); }
.seimei-sancai-tag.good { border-color: rgba(255,107,138,0.22); }

.seimei-technical {
  border: 1px solid rgba(255,107,138,0.16); border-radius: var(--radius);
  background: #fff; margin-bottom: 1rem; overflow: hidden;
}
.seimei-technical-summary {
  margin: 0;
  padding: 0.85rem 1rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--pink-deep);
  background: var(--pink-pale);
  border-bottom: 1px solid var(--border);
}
.seimei-technical-body { padding: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.seimei-technical-block { display: flex; flex-direction: column; gap: 0.55rem; }
.seimei-technical-label {
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em;
  color: var(--pink-deep); margin: 0;
}

.seimei-readings { display: flex; flex-direction: column; gap: 0.55rem; }
.seimei-reading-card {
  border: 1px solid rgba(255,107,138,0.16); border-radius: 16px;
  background: #fff; overflow: hidden;
}
.seimei-reading-card.great { border-color: rgba(255,107,138,0.32); }
.seimei-reading-card.good { border-color: rgba(255,107,138,0.22); }
.seimei-reading-summary {
  display: flex; align-items: flex-start; gap: 0.65rem;
  padding: 0.85rem 0.95rem 0.55rem;
}
.seimei-reading-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--pink-pale); border: 1px solid rgba(255,107,138,0.18);
  border-radius: 50%;
}
.seimei-reading-icon img { width: 18px; height: 18px; display: block; }
.seimei-reading-summary-main { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }
.seimei-reading-summary-top {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.35rem;
}
.seimei-reading-summary-top strong {
  font-family: var(--serif); font-size: 0.88rem; font-weight: 700; color: var(--text);
}
.seimei-reading-preview { display: none; }
.seimei-reading-body {
  padding: 0 0.95rem 0.95rem 3.95rem;
}
.seimei-luck-badge { font-size: 0.62rem; font-weight: 800; color: var(--pink-deep); }
.seimei-fortune-name { font-size: 0.66rem; font-weight: 700; color: var(--text-light); margin-left: auto; }
.seimei-reading-meaning {
  font-family: var(--serif); font-size: 0.8rem; color: var(--text);
  line-height: 1.8; margin: 0 0 0.35rem;
}
.seimei-reading-hint { font-size: 0.74rem; color: var(--text-muted); line-height: 1.75; margin: 0 0 0.45rem; }
.seimei-formula-details {
  font-size: 0.68rem;
  color: var(--text-light);
  margin-top: 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255,107,138,0.12);
}
.seimei-formula-details-label {
  margin: 0 0 0.25rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.seimei-formula-details p:last-child { margin: 0; line-height: 1.5; word-break: break-word; }

/* Legacy seimei report (standalone fallback) */
.seimei-strokes-panel { display: flex; flex-direction: column; gap: 0; }
.seimei-stroke-group {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.55rem;
  padding: 0.65rem 0; background: transparent;
  border: none; border-bottom: 1px solid var(--border); border-radius: 0;
}
.seimei-stroke-group:last-child { border-bottom: none; }
.seimei-stroke-label { font-size: 0.62rem; font-weight: 800; color: var(--pink-deep); }
.seimei-stroke-chars { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.seimei-stroke-sum { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); white-space: nowrap; }

.seimei-grid-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 0.15rem; }
.seimei-grid-overview {
  display: grid; grid-template-columns: repeat(5, minmax(96px, 1fr)); gap: 0.45rem; min-width: 520px;
}
.seimei-cell {
  background: transparent; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.6rem 0.35rem; text-align: center; display: flex; flex-direction: column; gap: 0.12rem;
}
.seimei-cell.great { border-color: var(--pink); background: transparent; }
.seimei-cell.good { border-color: rgba(255,107,138,0.35); background: transparent; }
.seimei-cell-label { font-size: 0.6rem; font-weight: 700; color: var(--text-muted); }
.seimei-cell-num { font-size: 0.92rem; font-weight: 800; color: var(--text); }
.seimei-cell-luck { font-size: 0.62rem; font-weight: 800; color: var(--pink-deep); }
.seimei-cell-role { font-size: 0.55rem; color: var(--text-light); line-height: 1.35; }

.seimei-sancai { background: transparent; border: none; border-radius: 0; padding: 0; }
.seimei-sancai-note {
  font-size: 0.68rem; color: var(--text-muted); line-height: 1.6; margin: 0 0 0.75rem;
}
.seimei-sancai-flow {
  display: flex; align-items: stretch; justify-content: center; gap: 0.35rem;
  flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 0.35rem; margin-bottom: 0.75rem;
}
.seimei-sancai-node {
  flex: 0 0 88px; text-align: center; padding: 0.65rem 0.4rem;
  background: transparent; border: 1px solid var(--border); border-radius: var(--radius-sm);
  display: flex; flex-direction: column; gap: 0.12rem; justify-content: center;
}
.seimei-sancai-node.is-core { border-color: var(--pink); background: transparent; }
.seimei-sancai-node-label { font-size: 0.6rem; font-weight: 800; color: var(--text-muted); }
.seimei-sancai-node-num { font-family: var(--serif); font-size: 1.05rem; font-weight: 800; color: var(--text); line-height: 1.1; }
.seimei-sancai-node-role { font-size: 0.52rem; color: var(--text-light); line-height: 1.35; }

.seimei-sancai-bridge {
  flex: 0 0 108px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.25rem; padding: 0.35rem 0.15rem; color: var(--text-light);
}
.seimei-sancai-bridge.great { color: var(--pink-deep); }
.seimei-sancai-bridge.good { color: var(--pink); }
.seimei-sancai-bridge.fair { color: var(--text-muted); }
.seimei-sancai-arrow { width: 42px; height: 18px; flex-shrink: 0; }
.seimei-sancai-badge {
  display: inline-block; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 0.12rem 0.45rem; border-radius: var(--radius-pill);
  background: transparent; border: 1px solid currentColor; color: inherit;
}
.seimei-sancai-bridge-text {
  font-size: 0.62rem; color: var(--text-muted); line-height: 1.55; margin: 0; text-align: center;
}

.seimei-sancai-summary-box {
  display: flex; align-items: flex-start; gap: 0.65rem;
  padding: 0.75rem 0 0; background: transparent;
  border: none; border-top: 1px dashed var(--border); border-radius: 0;
}
.seimei-sancai-deco { flex-shrink: 0; width: 44px; height: 44px; opacity: 0.9; filter: none; }
.seimei-sancai-summary-box p {
  font-size: 0.78rem; font-weight: 600; color: var(--text); line-height: 1.75; margin: 0;
}

.seimei-advice-layout {
  display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: start;
}
.seimei-advice-visual { display: flex; flex-direction: column; align-items: center; gap: 0.55rem; }
.seimei-advice-stamp {
  width: 104px; height: 104px; border-radius: 50%;
  border: 2px solid var(--pink-light); background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0.35rem;
}
.seimei-advice-stamp-rank {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 900; color: var(--pink-deep); line-height: 1.15;
}
.seimei-advice-stamp-label { font-size: 0.58rem; font-weight: 700; color: var(--text-muted); margin-top: 0.1rem; }
.seimei-advice-gogyo-chip {
  display: flex; flex-direction: column; align-items: center; gap: 0.05rem;
  padding: 0.35rem 0.55rem; border-radius: var(--radius-pill);
  background: transparent; border: 1px solid var(--border); min-width: 72px;
}
.seimei-advice-gogyo-chip span { font-size: 0.55rem; font-weight: 700; color: var(--text-light); }
.seimei-advice-gogyo-chip strong { font-size: 0.82rem; font-weight: 800; color: var(--pink-deep); }
.seimei-advice-copy { min-width: 0; }

.seimei-reading-row {
  display: grid; grid-template-columns: 36px 1fr; gap: 0.65rem; align-items: start;
  padding: 0.85rem 0; border-bottom: 1px solid var(--border);
  border-left: 3px solid var(--border); padding-left: 0.55rem;
}
.seimei-reading-row:last-child { border-bottom: none; }
.seimei-reading-row.great { border-left-color: var(--pink-deep); }
.seimei-reading-row.good { border-left-color: var(--pink); }
.seimei-reading-top {
  display: flex; align-items: baseline; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.35rem;
}
.seimei-reading-title { font-size: 0.82rem; font-weight: 800; color: var(--text); }
.seimei-reading-meaning span {
  display: inline-block; font-size: 0.58rem; font-weight: 800; color: var(--pink-deep);
  margin-right: 0.35rem; letter-spacing: 0.04em;
}

.seimei-advice { background: transparent; border: none; border-radius: 0; padding: 0; margin-top: 0; }
.seimei-advice .seimei-section-title { margin-top: 0; }
.seimei-verdict { font-size: 0.86rem; font-weight: 600; color: var(--text); line-height: 1.85; margin: 0 0 0.65rem; }
.seimei-advice-list { margin: 0 0 0.65rem; padding-left: 1.1rem; }
.seimei-advice-list li { font-size: 0.78rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 0.25rem; }
.seimei-gogyo { font-size: 0.72rem; color: var(--text-muted); margin: 0; }
.seimei-gogyo strong { color: var(--pink-deep); }

.seimei-footer { padding-top: 0.85rem; border-top: 1px solid var(--border); }
.seimei-footer p { font-size: 0.62rem; color: var(--text-light); line-height: 1.65; margin: 0; }
.seimei-note { font-size: 0.68rem; color: var(--text-muted); margin-top: 0.35rem; }

/* Fortune report — unified layout */
.f-report,
.f-report * { box-shadow: none; filter: none; }
.f-report .f-report-deck-card {
  box-shadow:
    0 10px 28px rgba(255, 107, 138, 0.14),
    0 2px 8px rgba(45, 52, 54, 0.05);
}
.f-report { background: transparent; border: none; padding: 0; }
.f-report-animate {
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.f-report-animate.revealed { opacity: 1; transform: none; }
.f-report > .f-report-animate:nth-child(2) { transition-delay: 0.05s; }
.f-report > .f-report-animate:nth-child(3) { transition-delay: 0.1s; }
.f-report > .f-report-animate:nth-child(4) { transition-delay: 0.15s; }
.f-report > .f-report-animate:nth-child(5) { transition-delay: 0.2s; }
.f-report > .f-report-animate:nth-child(6) { transition-delay: 0.25s; }
.f-report > .f-report-animate:nth-child(7) { transition-delay: 0.3s; }
.f-report > .f-report-animate:nth-child(8) { transition-delay: 0.35s; }

/* Share export card — 1080×1350 illustrated fortune card */
.f-share-export-host {
  position: fixed;
  left: -12000px;
  top: 0;
  width: 1080px;
  height: 1350px;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}
.f-share-export-host--capturing {
  left: 0;
  top: 0;
  z-index: 10050;
  opacity: 1;
}
.f-share-export-card {
  position: relative;
  width: 1080px;
  height: 1350px;
  overflow: hidden;
  background: var(--f-share-gradient, linear-gradient(165deg, #FF9DB5 0%, #FF6B8A 52%, #E878A8 100%));
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  color: #2D3436;
}
.f-share-export-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.38) 0%, transparent 44%),
    radial-gradient(circle at 86% 88%, rgba(255, 255, 255, 0.16) 0%, transparent 40%);
  pointer-events: none;
}
.f-share-export-sparkle {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  pointer-events: none;
}
.f-share-export-sparkle--tl { top: 32px; left: 40px; }
.f-share-export-sparkle--tr { top: 56px; right: 52px; font-size: 30px; opacity: 0.75; }
.f-share-export-sparkle--br { bottom: 40px; right: 64px; font-size: 26px; opacity: 0.65; }
.f-share-export-frame {
  position: absolute;
  left: 44px;
  right: 44px;
  top: 52px;
  bottom: 52px;
  display: flex;
  flex-direction: column;
  border-radius: 42px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 28px 72px rgba(72, 36, 56, 0.24),
    0 0 0 3px rgba(255, 255, 255, 0.72);
}
.f-share-export-hero {
  position: relative;
  flex: none;
  height: 488px;
  overflow: hidden;
  background: var(--f-share-gradient);
}
.f-share-export-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.f-share-export-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.04) 0%,
    rgba(0, 0, 0, 0.06) 42%,
    rgba(0, 0, 0, 0.52) 100%
  );
}
.f-share-export-deco {
  position: absolute;
  right: -8px;
  top: 12px;
  width: 220px;
  height: auto;
  opacity: 0.48;
  pointer-events: none;
}
.f-share-export-hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 40px 108px;
  color: #fff;
}
.f-share-export-kicker {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.14em;
  opacity: 0.92;
}
.f-share-export-type {
  margin: 0 0 8px;
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.22;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}
.f-share-export-meta {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0.94;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}
.f-share-export-score {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 3;
  min-width: 188px;
  padding: 20px 22px 18px;
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-radius: 22px;
}
.f-share-export-score-label {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.f-share-export-score-value {
  display: block;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: 68px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.f-share-export-score-value small {
  font-size: 0.38em;
  font-weight: 700;
  margin-left: 2px;
}
.f-share-export-stars {
  display: inline-flex;
  gap: 3px;
  margin: 8px 0 10px;
}
.f-share-export-stars .f-report-star,
.f-share-export-stars .f-report-star img {
  width: 20px;
  height: 20px;
  opacity: 0.28;
}
.f-share-export-stars .f-report-star.is-on,
.f-share-export-stars .f-report-star.is-on img {
  opacity: 1;
}
.f-share-export-rank {
  display: inline-block;
  padding: 7px 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--f-share-accent, #FF6B8A);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}
.f-share-export-body {
  position: relative;
  z-index: 4;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: -28px;
  padding: 40px 40px 32px;
  border-radius: 32px 32px 0 0;
  background: linear-gradient(180deg, #fff 0%, #fffaf9 100%);
  min-height: 0;
}
.f-share-export-headline {
  margin: 0 0 14px;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.48;
  color: #E8456A;
}
.f-share-export-subtext {
  margin: 0 0 24px;
  font-size: 23px;
  line-height: 1.72;
  color: #636E72;
}
.f-share-export-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 107, 138, 0.14);
  border-bottom: 1px solid rgba(255, 107, 138, 0.14);
}
.f-share-export-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 10px;
  border-right: 1px solid rgba(255, 107, 138, 0.1);
}
.f-share-export-metric:last-child {
  border-right: none;
}
.f-share-export-metric-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFF0F3;
}
.f-share-export-metric-icon img {
  width: 24px;
  height: 24px;
  display: block;
}
.f-share-export-metric-label {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  color: #2D3436;
}
.f-share-export-metric-stars {
  display: inline-flex;
  gap: 2px;
}
.f-share-export-metric-stars .f-report-star,
.f-share-export-metric-stars .f-report-star img {
  width: 15px;
  height: 15px;
  opacity: 0.28;
}
.f-share-export-metric-stars .f-report-star.is-on,
.f-share-export-metric-stars .f-report-star.is-on img {
  opacity: 1;
}
.f-share-export-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: auto;
}
.f-share-export-tag {
  display: inline-flex;
  padding: 9px 18px;
  border-radius: 999px;
  background: #FFF0F3;
  color: #E8456A;
  border: 1px solid rgba(255, 107, 138, 0.22);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}
.f-share-export-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed rgba(255, 107, 138, 0.22);
}
.f-share-export-footer-logo {
  flex: none;
  width: 48px;
  height: 48px;
  padding: 5px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(255, 107, 138, 0.14);
}
.f-share-export-footer-copy {
  min-width: 0;
}
.f-share-export-site {
  margin: 0 0 3px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #2D3436;
}
.f-share-export-hashtags {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #636E72;
  letter-spacing: 0.02em;
}
.f-share-export-card--zodiac .f-share-export-rank { color: #9B7FD4; }
.f-share-export-card--zodiac .f-share-export-headline { color: #7B5FB8; }
.f-share-export-card--timing .f-share-export-rank { color: #2A9FD4; }
.f-share-export-card--timing .f-share-export-headline { color: #2A9FD4; }
.f-share-export-card--name .f-share-export-rank { color: #E8456A; }

/* Fortune share sheet */
.fortune-share-sheet[hidden] { display: none !important; }
body.fortune-share-open { overflow: hidden; }
.fortune-share-sheet {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.fortune-share-sheet.is-visible .fortune-share-sheet-backdrop {
  opacity: 1;
}
.fortune-share-sheet.is-visible .fortune-share-sheet-panel {
  transform: translateY(0);
  opacity: 1;
}
.fortune-share-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 31, 58, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.fortune-share-sheet-panel {
  position: relative;
  width: 100%;
  max-width: 100%;
  max-height: min(92vh, 780px);
  overflow: auto;
  padding: 1.35rem 1.15rem 1.4rem;
  border-radius: 22px 22px 18px 18px;
  background: linear-gradient(180deg, #fff 0%, #fff8fa 100%);
  border: 1px solid rgba(255, 107, 138, 0.14);
  box-shadow: 0 18px 48px rgba(26, 31, 58, 0.18);
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
.fortune-share-sheet-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 2.1rem;
  height: 2.1rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 107, 138, 0.1);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}
.fortune-share-sheet-kicker {
  margin: 0 0 0.25rem;
  padding-right: 2rem;
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--pink-deep);
}
.fortune-share-sheet-title {
  margin: 0 0 0.4rem;
  padding-right: 1.5rem;
  font-family: var(--font-hero);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}
.fortune-share-sheet-lead {
  margin: 0 0 0.95rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text-muted);
}
.fortune-share-sheet-preview {
  margin-bottom: 1rem;
  padding: 0.6rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff0f3 0%, #fff 100%);
  border: 1px solid rgba(255, 107, 138, 0.12);
}
.fortune-share-sheet-preview img {
  display: block;
  width: 100%;
  max-height: min(46vh, 340px);
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(255, 107, 138, 0.16);
}
.fortune-share-sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.fortune-share-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.12s ease;
}
.fortune-share-action:hover {
  border-color: rgba(255, 107, 138, 0.35);
  background: #fffafb;
}
.fortune-share-action:active {
  transform: scale(0.98);
}
.fortune-share-action--primary {
  grid-column: 1 / -1;
  min-height: 3rem;
  background: linear-gradient(135deg, #FF6B8A 0%, #E8456A 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(232, 69, 106, 0.28);
}
.fortune-share-action--primary:hover {
  background: linear-gradient(135deg, #FF7A96 0%, #F04F74 100%);
  border-color: transparent;
}
.fortune-share-action-label {
  white-space: nowrap;
}
.fortune-share-action[data-share-action="stories"] {
  padding-inline: 0.55rem;
}
.fortune-share-action[data-share-action="stories"] .fortune-share-action-label {
  font-size: 0.74rem;
  letter-spacing: -0.01em;
}
@media (max-width: 380px) {
  .fortune-share-action {
    font-size: 0.74rem;
    gap: 0.4rem;
    padding: 0.65rem 0.55rem;
  }
  .fortune-share-action[data-share-action="stories"] .fortune-share-action-label {
    font-size: 0.68rem;
  }
}
.fortune-share-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: currentColor;
}
.fortune-share-action-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.fortune-share-action-icon--brand {
  width: 1rem;
  height: 1rem;
}
.fortune-share-action-icon--line {
  width: 1.2rem;
  height: 1.2rem;
}
.fortune-share-action-icon--stories {
  width: 1.2rem;
  height: 1.2rem;
}
.fortune-share-sheet-note {
  min-height: 1.2rem;
  margin: 0.8rem 0 0;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}
@media (min-width: 641px) {
  .fortune-share-sheet {
    align-items: center;
    padding: 2rem;
  }
  .fortune-share-sheet-panel {
    border-radius: 22px;
    max-width: 440px;
  }
}

/* Share card — screenshot-friendly summary (legacy in-page) */
.f-report-share-wrap {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.85rem; margin-bottom: 1.5rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
}
.f-report-share-card {
  width: 100%; max-width: 360px;
  border: 1px solid rgba(255,107,138,0.32);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--f-report-hero-bg, linear-gradient(180deg, #FF9DB5 0%, #FF7A96 42%, #FF9A6E 100%));
}
.f-report-share-visual {
  position: relative; min-height: 168px; overflow: hidden;
}
.f-report-share-scene {
  width: 100%; height: 168px; object-fit: cover; object-position: center top; display: block;
}
.f-report-share-score {
  position: absolute; right: 0.85rem; bottom: 0.85rem;
  min-width: 108px; padding: 0.65rem 0.75rem 0.75rem;
  text-align: center; color: #fff;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: calc(var(--radius-sm) + 2px);
}
.f-report-share-score-label {
  display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; opacity: 0.96;
}
.f-report-share-score-value {
  display: block;
  font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.45rem);
  font-weight: 800; line-height: 1; margin: 0.05rem 0 0.2rem;
}
.f-report-share-score-value small { font-size: 0.42em; font-weight: 700; }
.f-report-share-stars { margin-bottom: 0.35rem; display: inline-flex; gap: 2px; align-items: center; }
.f-report-share-stars .f-report-star,
.f-report-share-stars .f-report-star img { width: 12px; height: 12px; opacity: 0.28; }
.f-report-share-stars .f-report-star.is-on,
.f-report-share-stars .f-report-star.is-on img { opacity: 1; }
.f-report-share-rank {
  display: inline-block; padding: 0.28rem 0.85rem;
  background: #fff; color: var(--pink-deep);
  border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 800;
  border: 1px solid rgba(255,255,255,0.85);
}
.f-report-share-body { padding: 1.05rem 1.15rem 0.95rem; color: #fff; }
.f-report-share-kicker {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em;
  opacity: 0.9; margin: 0 0 0.35rem;
}
.f-report-share-title {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 700;
  margin: 0 0 0.3rem; line-height: 1.4;
}
.f-report-share-meta {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em;
  opacity: 0.88; margin: 0 0 0.55rem;
}
.f-report-share-headline {
  font-family: var(--serif); font-size: 0.98rem; font-weight: 700;
  line-height: 1.55; margin: 0 0 0.45rem;
}
.f-report-share-summary {
  font-size: 0.74rem; line-height: 1.85; opacity: 0.94; margin: 0 0 0.75rem;
}
.f-report-share-chips {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.65rem;
}
.f-report-share-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.38rem 0.62rem;
  background: rgba(255,255,255,0.96); color: var(--text);
  border: 1px solid rgba(255,255,255,0.65); border-radius: var(--radius-pill);
  font-size: 0.66rem; font-weight: 700;
}
.f-report-share-chip img,
.f-report-share-chip svg { width: 14px; height: 14px; display: block; flex-shrink: 0; }
.f-report-share-axes {
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.55rem; margin-bottom: 0.55rem;
}
.f-report-share-axis {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.28rem 0.55rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: var(--radius-pill); font-size: 0.62rem;
}
.f-report-share-axis-label { font-weight: 700; opacity: 0.92; }
.f-report-share-axis-stars { display: inline-flex; gap: 1px; align-items: center; }
.f-report-share-axis-stars .f-report-star,
.f-report-share-axis-stars .f-report-star img { width: 9px; height: 9px; opacity: 0.28; }
.f-report-share-axis-stars .f-report-star.is-on,
.f-report-share-axis-stars .f-report-star.is-on img { opacity: 1; }
.f-report-share-tags { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.f-report-share-tags .tag {
  background: rgba(255,255,255,0.18); color: #fff;
  border-color: rgba(255,255,255,0.32);
}
.f-report-share-brand {
  padding: 0.55rem 1rem; text-align: center;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.88);
  background: rgba(0,0,0,0.06);
  border-top: 1px solid rgba(255,255,255,0.18);
}
.f-report-share-actions { text-align: center; max-width: 360px; width: 100%; }
.f-report-share-hint {
  font-size: 0.68rem; color: var(--text-muted); line-height: 1.65; margin: 0 0 0.55rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.f-report-share-btn { min-width: 148px; }

.f-report-deck-card-scene {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.f-report-deck-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.34) 72%, rgba(0,0,0,0.42) 100%);
  pointer-events: none;
}
.f-report-deck-card-head {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.65rem 0.85rem 0.85rem;
  color: #fff;
  z-index: 4;
  word-break: keep-all;
  line-break: strict;
}
.f-report-deck-card-kicker {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.92;
  margin: 0 0 0.2rem;
  white-space: nowrap;
}
.f-report-deck-card-title {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}
.f-report-deck-card-meta {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.9;
  margin: 0.18rem 0 0;
  line-height: 1.5;
}
.f-report-deck-score {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 4;
  min-width: 96px;
  padding: 0.55rem 0.65rem 0.62rem;
  text-align: center;
  color: #fff;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 14px;
  backdrop-filter: blur(4px);
}
.f-report-deck-score-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.f-report-deck-score-value {
  display: block;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.05;
  margin: 0.02rem 0 0.15rem;
}
.f-report-deck-score-value small { font-size: 0.42em; font-weight: 700; }
.f-report-deck-score-stars {
  margin-bottom: 0.28rem;
  display: inline-flex;
  gap: 2px;
  align-items: center;
}
.f-report-deck-score-stars .f-report-star,
.f-report-deck-score-stars .f-report-star img { width: 11px; height: 11px; opacity: 0.28; }
.f-report-deck-score-stars .f-report-star.is-on,
.f-report-deck-score-stars .f-report-star.is-on img { opacity: 1; }
.f-report-deck-score-rank {
  display: inline-block;
  padding: 0.22rem 0.72rem;
  background: #fff;
  color: var(--pink-deep);
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 800;
}
.f-report-deck-rank-chip {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  padding: 0.28rem 0.72rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-pill);
}
.f-report-deck-rank-chip--inline {
  position: static;
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.22rem 0.72rem;
  font-size: 0.64rem;
  color: var(--pink-deep);
  background: #fff;
  border: none;
  border-radius: var(--radius-pill);
}

.f-report-deck-card-body {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  z-index: 2;
  flex: none;
  min-height: 0;
  margin-top: -10px;
  padding: 1rem 1rem 0.625rem;
  border-radius: 18px 18px 0 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  background: linear-gradient(180deg, #fff 0%, #fff 72%, #fffaf9 100%);
  justify-content: flex-start;
}
.f-report-deck-card--summary .f-report-deck-card-body {
  margin-top: 0;
}
.f-report-deck-card-body::after {
  content: "";
  flex: none;
  min-height: 0.35rem;
  pointer-events: none;
}
.f-report-deck-card-body--summary {
  background: linear-gradient(180deg, #fff 0%, #fff 68%, #fff7f9 100%);
  color: var(--text);
}
.f-report-deck-card-lead {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}
.f-report-deck-card-body--summary .f-report-deck-card-lead { color: var(--text-muted); }
.f-report-deck-card-content {
  flex: 0 0 auto;
  min-height: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
}
.f-report-deck-card-body--summary .f-report-deck-card-content {
  background: transparent;
  color: inherit;
  padding: 0;
}
.f-report-deck-card-brand {
  flex: none;
  margin: 0.45rem 0 0;
  padding: 0;
  text-align: right;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-light);
  background: none;
  border: none;
}
.f-report-deck-card-body--summary .f-report-deck-card-brand {
  color: rgba(255,255,255,0.72);
}

.f-report-summary-headline {
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 0.375rem;
  color: var(--pink-deep);
}
.f-report-summary-text {
  font-size: 0.74rem;
  line-height: 1.7;
  opacity: 1;
  margin: 0 0 0.5rem;
  color: var(--text-muted);
}
.f-report-summary-compact-point {
  margin: 0 0 0.45rem;
  padding: 0.45rem 0.55rem;
  font-size: 0.68rem;
  line-height: 1.6;
  color: var(--text-muted);
  border-radius: 10px;
  background: var(--pink-pale);
  border: 1px solid rgba(255, 107, 138, 0.12);
}
.f-report-summary-compact-point strong {
  color: var(--pink-deep);
  font-weight: 800;
}
.f-report-share-axes--compact {
  gap: 0.28rem;
  margin-bottom: 0.4rem;
}
.f-report-share-axes--compact .f-report-share-axis {
  width: 100%;
  justify-content: space-between;
}
.f-report-summary-insight {
  font-size: 0.68rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 0.55rem;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff7f9 0%, #fff 100%);
  border: 1px solid rgba(255, 107, 138, 0.12);
}
.f-report-summary-spotlight {
  margin: 0 0 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(255, 107, 138, 0.14);
}
.f-report-summary-spotlight-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--pink-deep);
  margin-bottom: 0.25rem;
}
.f-report-summary-spotlight-label img,
.f-report-summary-spotlight-label svg {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
}
.f-report-summary-spotlight p {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.f-report-share-chips--deck {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}
.f-report-share-axes--deck {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}
.f-report-share-axes--deck .f-report-share-axis {
  background: var(--pink-pale);
  border: 1px solid rgba(255, 107, 138, 0.14);
  color: var(--text);
  padding: 0.3rem 0.5rem;
  font-size: 0.62rem;
}
.f-report-share-axes--deck .f-report-share-axis-label {
  opacity: 1;
  color: var(--text);
}
.f-report-deck-card-body--summary .f-report-share-tags .tag {
  background: rgba(255, 107, 138, 0.1);
  color: var(--pink-deep);
  border-color: rgba(255, 107, 138, 0.2);
  font-weight: 700;
}
.f-report-deck-card-head {
  left: 0.75rem;
  right: auto;
  bottom: 0.75rem;
  width: 56%;
  max-width: 56%;
  padding: 0;
}
.f-report-deck-card:not(.f-report-deck-card--summary) .f-report-deck-card-head {
  width: 60%;
  max-width: 60%;
  bottom: 0.7rem;
}
.f-report-deck-card-kicker {
  margin: 0 0 0.15rem;
}
.f-report-points-stack--traits .f-report-trait-card {
  background: #fff;
  border: 1px solid rgba(255, 107, 138, 0.14);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(255, 107, 138, 0.06);
  padding: 0.7rem 0.75rem;
}
.f-report-axes-stack .f-report-mini-axis {
  background: #fff;
  border: 1px solid rgba(255, 107, 138, 0.14);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(255, 107, 138, 0.06);
  padding: 0.5625rem 0.75rem;
}
.f-report-deck-card-brand { display: none; }

.f-report-mini-axis-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
/* デッキ内 — ポイント（テキスト全文） */
.f-report-points-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.f-report-points-stack--traits .f-report-traits--stack {
  gap: 0.45rem;
  margin-bottom: 0;
}
.f-report-points-stack--traits .f-report-trait-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  padding: 0.65rem 0.7rem;
}
.f-report-points-stack--traits .f-report-trait-body p {
  font-size: 0.74rem;
  line-height: 1.65;
  overflow: visible;
}
.f-report-points-stack .f-report-share-tags {
  margin: 0;
}
/* 指標スライド — 1列・横並びで統一 */
.f-report-axes-stack .f-report-mini-axis-list {
  grid-template-columns: 1fr;
  gap: 0.4rem;
}
.f-report-axes-stack .f-report-mini-axis {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 0.45rem;
  padding: 0.5rem 0.65rem;
  aspect-ratio: auto;
  min-height: 0;
}
.f-report-axes-stack .f-report-mini-axis-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.f-report-axes-stack .f-report-mini-axis-icon img,
.f-report-axes-stack .f-report-mini-axis-icon svg {
  width: 15px;
  height: 15px;
}
.f-report-axes-stack .f-report-mini-axis-label {
  flex: 1;
  min-width: 0;
  font-size: 0.72rem;
  line-height: 1.35;
}
.f-report-axes-stack .f-report-mini-axis-stars {
  flex-shrink: 0;
  padding: 0.12rem 0.32rem;
}
@media (min-width: 641px) {
  .f-report-axes-stack .f-report-mini-axis-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.35rem;
  }
  .f-report-axes-stack .f-report-mini-axis {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.22rem;
    padding: 0.5rem 0.35rem;
    min-height: 88px;
  }
  .f-report-axes-stack .f-report-mini-axis-label {
    flex: none;
    font-size: 0.68rem;
    line-height: 1.3;
  }
}
.f-report-detail-stack--wide .f-report-mini-axis-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.28rem;
}
.f-report-detail-stack--wide .f-report-mini-axis {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.18rem;
  padding: 0.35rem 0.18rem;
}
.f-report-detail-stack--wide .f-report-mini-axis-label {
  flex: none;
  font-size: 0.56rem;
  line-height: 1.2;
}
.f-report-detail-stack--wide .f-report-mini-axis-icon {
  width: 22px;
  height: 22px;
}
.f-report-deck-card-body .f-report-mini-axis-list,
.f-report-detail-stack .f-report-mini-axis-list {
  grid-template-columns: 1fr;
  gap: 0.28rem;
}
.f-report-traits--stack + .f-report-mini-axis-list,
.f-report-share-tags + .f-report-mini-axis-list {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,107,138,0.12);
}
.f-report-deck-card-body .f-report-traits--stack + .f-report-mini-axis-list {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}
.f-report-mini-axis {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  aspect-ratio: 1;
  min-width: 0;
  padding: 0.5rem 0.35rem;
  background: linear-gradient(180deg, #fff 0%, #FFF8FA 100%);
  border: 1px solid rgba(255,107,138,0.16);
  border-radius: 14px;
  text-align: center;
}
.f-report-deck-card-body .f-report-mini-axis,
.f-report-detail-stack .f-report-mini-axis {
  aspect-ratio: auto;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.38rem 0.55rem;
  border-radius: 10px;
  text-align: left;
}
.f-report-deck-card-body .f-report-mini-axis-icon,
.f-report-detail-stack .f-report-mini-axis-icon {
  width: 26px;
  height: 26px;
}
.f-report-deck-card-body .f-report-mini-axis-icon img,
.f-report-deck-card-body .f-report-mini-axis-icon svg,
.f-report-detail-stack .f-report-mini-axis-icon img,
.f-report-detail-stack .f-report-mini-axis-icon svg {
  width: 14px;
  height: 14px;
}
.f-report-deck-card-body .f-report-mini-axis-label,
.f-report-detail-stack .f-report-mini-axis-label {
  flex: 1;
  font-size: 0.68rem;
}
.f-report-deck-card-body .f-report-mini-axis-stars,
.f-report-detail-stack .f-report-mini-axis-stars {
  flex-shrink: 0;
  padding: 0.12rem 0.32rem;
}
.f-report-deck-card-body .f-report-mini-axis-list--count-5 .f-report-mini-axis:nth-child(5),
.f-report-detail-stack .f-report-mini-axis-list--count-5 .f-report-mini-axis:nth-child(5) {
  grid-column: auto;
  width: auto;
  justify-self: stretch;
}
.f-report-mini-axis--s5 {
  border-color: rgba(255,107,138,0.28);
  background: linear-gradient(180deg, #fff 0%, #FFF0F4 100%);
}
.f-report-mini-axis-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--pink-deep);
  border: 1px solid rgba(255,107,138,0.2);
  flex-shrink: 0;
}
.f-report-mini-axis-icon img,
.f-report-mini-axis-icon svg { width: 17px; height: 17px; display: block; }
.f-report-mini-axis-label {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.f-report-mini-axis-stars {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.42rem;
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,107,138,0.12);
}
.f-report-mini-axis-stars .f-report-star,
.f-report-mini-axis-stars .f-report-star img {
  width: 13px;
  height: 13px;
  opacity: 0.16;
}
.f-report-mini-axis-stars .f-report-star.is-on,
.f-report-mini-axis-stars .f-report-star.is-on img {
  opacity: 1;
}
.f-report-deck-card--summary .f-report-deck-card-head { padding-right: 0.85rem; }

.f-report-card-footnote,
.f-report-card-quote {
  margin-top: 0.65rem;
  padding: 0.55rem 0.65rem;
  font-family: var(--serif);
  font-size: 0.74rem;
  line-height: 1.75;
  color: var(--text-muted);
  background: var(--pink-pale);
  border-left: 3px solid var(--pink);
  border-radius: 0 10px 10px 0;
}
.f-report-card-action {
  margin-top: 0.65rem;
  padding: 0.65rem 0.75rem;
  background: var(--pink-pale);
  border: 1px solid rgba(255,107,138,0.16);
  border-radius: 12px;
}
.f-report-card-action-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--pink-deep);
  margin-bottom: 0.25rem;
}
.f-report-card-action p {
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.75;
  color: var(--text);
  margin: 0;
}

.f-report-deck-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.f-report-deck-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.f-report-deck-dot {
  width: 8px; height: 8px;
  padding: 0; border: 1px solid rgba(255,107,138,0.45);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.f-report-deck-dot.is-active {
  background: var(--pink);
  border-color: var(--pink);
}
.f-report-deck-step-label {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: 0;
}
.f-report-deck-actions {
  text-align: center;
  margin-top: 0.75rem;
}
.f-report-deck-actions .f-report-share-hint {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 0.55rem;
}
.f-report-deck-actions .f-report-share-btn { min-width: 148px; }
.f-report-deck .f-report-footer {
  margin-top: 0.85rem;
  padding-top: 0;
}

.f-report-traits--stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.f-report-traits--stack .f-report-trait-card {
  flex: none;
  width: 100%;
  padding: 0.62rem 0.72rem;
}
.f-report-detail-grid--card {
  flex-direction: column;
  padding: 0;
  background: transparent;
  border: none;
  gap: 0.65rem;
}
.f-report-detail-grid--card .f-report-radar-wrap { flex: none; }
.f-report-detail-grid--card .f-report-radar-svg { max-width: 220px; }
.f-report-axis-list--compact { gap: 0.4rem; }
.f-report-axis-list--compact .f-report-axis-row {
  padding: 0.5rem 0.62rem;
  grid-template-columns: 28px 1fr;
}
.f-report-axis-list--compact .f-report-axis-icon {
  width: 28px;
  height: 28px;
}
.f-report-axis-list--compact .f-report-axis-body p {
  font-size: 0.66rem;
  line-height: 1.55;
}
.f-report-advice-text--card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.f-report-advice-text--card p {
  font-family: var(--serif);
  font-size: 0.72rem;
  line-height: 1.65;
  margin: 0;
  color: var(--text);
}
.f-report-deck-card--advice .f-report-deck-card-content {
  justify-content: flex-start;
}
.f-report-deck-card--cta .f-report-deck-card-content {
  justify-content: flex-start;
}
.f-report-deck-card--cta .f-report-deck-card-scene,
.f-report-deck-card--cta .f-report-deck-card-shade,
.f-report-deck-card--cta .f-report-deck-card-head {
  display: none;
}
.f-report-deck-card--cta .f-report-deck-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.65rem;
  min-height: 0;
}
.f-report-deck-card--cta .f-report-deck-rank-chip {
  position: static;
}
.f-report-deck-card--cta .f-report-deck-card-lead {
  text-align: center;
  margin-bottom: 0.65rem;
}
.f-report-timeline--card {
  flex-direction: row;
  align-items: stretch;
  gap: 0.35rem;
}
.f-report-timeline--card::before { display: none; }
.f-report-timeline--card .f-report-step {
  flex: 1;
  min-width: 0;
  width: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  text-align: center;
  padding: 0.35rem 0.25rem;
  border-bottom: none;
  border-right: 1px solid rgba(255,107,138,0.12);
}
.f-report-timeline--card .f-report-step:last-child {
  border-bottom: none;
  border-right: none;
}
.f-report-timeline--card .f-report-step-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto;
}
.f-report-timeline--card .f-report-step-arrow { display: none; }
.f-report-deck-card-body .f-report-card-action {
  margin-top: 0.45rem;
  padding: 0.55rem 0.65rem;
}
.f-report-deck-card-body .f-report-card-action p {
  font-size: 0.72rem;
  line-height: 1.6;
}
.f-report-cta-icon {
  width: 64px;
  height: auto;
  display: block;
  margin: 0 auto 0.35rem;
}
.f-report-cta-benefits {
  margin: 0 0 0.65rem;
  padding: 0;
  list-style: none;
  text-align: left;
}
.f-report-cta-benefits li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1rem;
  font-size: 0.74rem;
  line-height: 1.65;
  color: var(--text);
  border-bottom: 1px solid rgba(255,107,138,0.1);
}
.f-report-cta-benefits li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--pink-deep);
  font-size: 0.62rem;
}
.f-report-cta-benefits li:last-child { border-bottom: none; }
.f-report-cta-note {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 0.75rem;
  text-align: center;
}
.f-report-deck-card-body .f-report-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
}
.f-report-deck-card-body .seimei-readings { gap: 0.4rem; }
.f-report-deck-card-body .seimei-reading-summary { padding: 0.65rem 0.75rem 0.45rem; }
.f-report-deck-card-body .seimei-reading-body { padding: 0 0.75rem 0.75rem 3.35rem; }
.f-report-deck-card--readings .f-report-deck-card-content,
.f-report-deck-card--technical .f-report-deck-card-content {
  justify-content: flex-start;
  overflow: hidden;
}
.f-report-deck-card-body .seimei-deck-panel {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 0;
}
.f-report-deck-card-body .seimei-readings--deck { gap: 0.35rem; }
.f-report-deck-card-body .seimei-readings--deck .seimei-reading-summary {
  padding: 0.55rem 0.65rem 0.35rem;
}
.f-report-deck-card-body .seimei-readings--deck .seimei-reading-body {
  padding: 0 0.65rem 0.65rem 2.85rem;
}
.f-report-deck-card-body .seimei-readings--deck .seimei-reading-icon {
  width: 28px;
  height: 28px;
}
.f-report-deck-card-body .seimei-readings--deck .seimei-reading-icon img {
  width: 15px;
  height: 15px;
}
.f-report-deck-card-body .seimei-readings--deck .seimei-reading-preview {
  display: none;
}
.f-report-deck-card-body .seimei-deck-panel .seimei-strokes-card {
  grid-template-columns: minmax(108px, 34%) 1fr;
}
.f-report-deck-card-body .seimei-deck-panel .seimei-strokes-visual {
  min-height: 96px;
}
.f-report-deck-card-body .seimei-deck-panel .seimei-strokes-scene {
  min-height: 96px;
}
.f-report-deck-card-body .seimei-deck-panel .seimei-strokes-body {
  padding: 0.65rem 0.75rem;
}
.f-report-deck-card-body .seimei-deck-panel .seimei-strokes-lead {
  margin-bottom: 0.45rem;
  font-size: 0.68rem;
}
.f-report-deck-card-body .seimei-deck-panel .seimei-strokes-rows {
  gap: 0.55rem;
}
.f-report-deck-card-body .seimei-deck-panel .seimei-char-tile {
  width: 42px;
  height: 48px;
}
.f-report-deck-card-body .seimei-deck-panel .seimei-char-tile .seimei-char-glyph {
  font-size: 1.1rem;
}
.f-report-deck-card-body .seimei-deck-panel .seimei-grid-strip {
  gap: 0.35rem;
}
.f-report-deck-card-body .seimei-deck-panel .seimei-grid-pill {
  padding: 0.42rem 0.32rem;
  min-width: 68px;
}
.f-report-deck-card-body .seimei-deck-panel .seimei-sancai-lead {
  font-size: 0.74rem;
  margin-bottom: 0.45rem;
}
.f-report-deck-card-body .seimei-technical { margin-bottom: 0; }
.f-report-deck-card-body .seimei-strokes-card { border-radius: 12px; }
.seimei-footer--card {
  padding-top: 0.65rem;
  margin-top: 0.65rem;
  border-top: 1px solid var(--border);
}

.f-report-deck-card--zodiac .f-report-deck-score-rank,
.f-report-deck-card--zodiac .f-report-deck-rank-chip--inline { color: var(--purple-deep); }
.f-report-deck-card--timing .f-report-deck-score-rank,
.f-report-deck-card--timing .f-report-deck-rank-chip--inline { color: var(--blue-deep); }

.f-report-details { padding-top: 0.15rem; }
.f-report-details-head { text-align: center; margin-bottom: 1.25rem; }
.f-report-details-title {
  font-family: var(--serif); font-size: clamp(1.2rem, 3.2vw, 1.45rem);
  font-weight: 700; color: var(--text); margin: 0 0 0.4rem;
}
.f-report-details-lead {
  font-size: 0.78rem; color: var(--text-muted); line-height: 1.75;
  max-width: 34rem; margin: 0 auto;
}
.f-report-highlights {
  margin-bottom: 0.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}

.f-report-head { text-align: center; margin-bottom: 1.25rem; }
.f-report-kicker {
  font-size: 0.72rem; font-weight: 700; color: var(--pink-deep);
  letter-spacing: 0.08em; margin-bottom: 0.45rem;
}
.f-report-title {
  font-family: var(--serif); font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 700; color: var(--text); margin: 0 0 0.45rem;
}
.f-report-title em { font-style: normal; color: var(--pink-deep); }
.f-report-lead {
  font-size: 0.78rem; color: var(--text-muted); line-height: 1.75; max-width: 34rem; margin: 0 auto;
}

.f-report-hero { padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.f-report-hero-panel {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(168px, 200px);
  gap: 1.15rem 1.35rem;
  align-items: stretch;
  padding: 1.25rem 1.35rem;
  background: var(--f-report-hero-bg, linear-gradient(180deg, #FF9DB5 0%, #FF7A96 42%, #FF9A6E 100%));
  border: 1px solid rgba(255,107,138,0.32);
  border-radius: var(--radius);
}
.f-report-score-card {
  display: flex; flex-direction: column;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
}
.f-report-score-visual {
  position: relative; flex: 1 1 auto; min-height: 168px; overflow: hidden;
}
.f-report-score-scene {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
}
.f-report-score-panel {
  padding: 0.85rem 1rem 1.15rem; text-align: center; color: #fff;
  background: rgba(255,255,255,0.1);
  border-top: 1px solid rgba(255,255,255,0.22);
}
.f-report-score-label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; opacity: 0.96; }
.f-report-score-value {
  display: block;
  font-family: var(--serif); font-size: clamp(2.75rem, 7vw, 3.5rem);
  font-weight: 800; line-height: 1; margin: 0.08rem 0 0.28rem;
}
.f-report-score-value small { font-size: 0.4em; font-weight: 700; }
.f-report-score-stars { margin-bottom: 0.5rem; display: inline-flex; gap: 2px; align-items: center; }
.f-report-star,
.f-report-star img {
  width: 14px; height: 14px; display: inline-block; opacity: 0.28;
}
.f-report-star.is-on,
.f-report-star.is-on img { opacity: 1; }
.f-report-score-stars .f-report-star,
.f-report-score-stars .f-report-star img { width: 15px; height: 15px; }
.f-report-score-rank {
  display: inline-block; padding: 0.34rem 1.15rem;
  background: #fff; color: var(--pink-deep);
  border-radius: var(--radius-pill); font-size: 0.92rem; font-weight: 800;
  border: 1px solid rgba(255,255,255,0.85);
}

.f-report-hero-copy {
  min-width: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 0.15rem 0;
}
.f-report-meta-label {
  font-size: 0.68rem; font-weight: 700; color: rgba(255,255,255,0.88); letter-spacing: 0.06em; margin-bottom: 0.35rem;
}
.f-report-headline {
  font-family: var(--serif); font-size: clamp(1.08rem, 2.4vw, 1.28rem);
  font-weight: 700; color: #fff; line-height: 1.55; margin: 0 0 0.55rem;
  text-shadow: 0 1px 0 rgba(232,69,106,0.15);
}
.f-report-subtext {
  font-size: 0.78rem; color: rgba(255,255,255,0.92); line-height: 1.9; margin: 0 0 0.85rem;
}
.f-report-traits { display: grid; gap: 0.55rem; margin-bottom: 0.5rem; }
.f-report-traits--row { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.f-report-trait-card {
  display: grid; grid-template-columns: 36px 1fr; gap: 0.6rem; align-items: start;
  padding: 0.72rem 0.8rem; background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.65);
  flex: 1 1 140px; border-radius: 16px;
}
.f-report-trait-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--pink-pale); color: var(--pink-deep);
  border: 1px solid rgba(255,107,138,0.22);
}
.f-report-trait-icon img,
.f-report-trait-icon svg { width: 18px; height: 18px; display: block; }
.f-report-trait-body strong { display: block; font-size: 0.8rem; margin-bottom: 0.12rem; color: var(--text); }
.f-report-trait-body p { font-size: 0.68rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.f-report-tags { display: flex; gap: 0.35rem; flex-wrap: wrap; }

.f-report-hero-frame {
  border: 2px solid rgba(255,255,255,0.72);
  border-radius: var(--radius-sm);
  overflow: hidden; background: #fff; padding: 0.4rem;
  display: flex; align-items: stretch; justify-content: center;
  min-height: 100%;
}
.f-report-frame-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: calc(var(--radius-sm) - 6px); }

.f-report-section-title {
  text-align: center; font-size: 0.82rem; font-weight: 800;
  color: var(--pink-deep); letter-spacing: 0.06em; margin: 0 0 1rem;
}

.f-report-detail { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.f-report-detail-box {
  padding: 1.15rem 1rem 1rem;
  background: #fff;
  border: 1px solid rgba(255,107,138,0.18);
  border-radius: var(--radius);
}
.f-report-detail-grid {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: center;
  padding: 1rem 0.85rem; background: var(--pink-pale);
  border: 1px solid var(--border); border-radius: 18px;
}
.f-report-radar-wrap { flex: 1 1 240px; display: flex; justify-content: center; }
.f-report-axis-list { flex: 1 1 260px; display: flex; flex-direction: column; gap: 0.55rem; }
.f-report-radar-svg { width: 100%; max-width: 280px; height: auto; }
.f-report-radar-label-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center;
}
.f-report-radar-icon {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--pink-deep);
  border: 1px solid rgba(255,107,138,0.25);
}
.f-report-radar-icon img { width: 13px; height: 13px; display: block; }
.f-report-radar-label-text { font-size: 9px; font-weight: 700; color: var(--text-muted); line-height: 1.2; }
.f-report-radar-stars { display: inline-flex; justify-content: center; gap: 1px; align-items: center; }
.f-report-radar-stars .f-report-star,
.f-report-radar-stars .f-report-star img { width: 10px; height: 10px; opacity: 0.22; }
.f-report-radar-stars .f-report-star.is-on,
.f-report-radar-stars .f-report-star.is-on img { opacity: 1; }

.f-report-axis-row {
  display: grid; grid-template-columns: 34px 1fr; gap: 0.65rem; align-items: start;
  padding: 0.65rem 0.75rem; background: #fff;
  border: 1px solid var(--border); border-radius: 16px;
}
.f-report-axis-icon {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--pink-pale); color: var(--pink-deep);
  border: 1px solid rgba(255,107,138,0.2);
}
.f-report-axis-icon img,
.f-report-axis-icon svg { width: 18px; height: 18px; display: block; }
.f-report-axis-top {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.15rem;
}
.f-report-axis-top strong { font-size: 0.8rem; color: var(--pink-deep); }
.f-report-axis-stars { display: inline-flex; gap: 1px; align-items: center; }
.f-report-axis-stars .f-report-star,
.f-report-axis-stars .f-report-star img { width: 11px; height: 11px; opacity: 0.22; }
.f-report-axis-stars .f-report-star.is-on,
.f-report-axis-stars .f-report-star.is-on img { opacity: 1; }
.f-report-axis-body p { font-size: 0.72rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

.f-report-advice {
  position: relative; margin: 1.25rem 0; padding: 1.65rem 5rem;
  background: linear-gradient(180deg, #F8F0FF 0%, #FFF0F5 100%);
  border: 1px solid rgba(200,160,230,0.35); border-radius: var(--radius); text-align: center;
}
.f-report-advice--compat {
  background: linear-gradient(90deg, #F4F0FF 0%, #FFF0F5 50%, #F4F0FF 100%);
  border-color: rgba(200,160,230,0.4);
}
.f-report-advice--daily { background: linear-gradient(180deg, #FFF8E8 0%, #FFF0F5 100%); border-color: rgba(245,200,66,0.35); }
.f-report-advice--zodiac { background: linear-gradient(180deg, #F4F0FF 0%, #FFF0F5 100%); }
.f-report-advice--blood { background: linear-gradient(180deg, #FFF0F5 0%, #F4F0FF 100%); }
.f-report-advice--timing { background: linear-gradient(180deg, #EBF6FC 0%, #FFF0F5 100%); border-color: rgba(91,192,235,0.35); }
.f-report-advice--name { background: linear-gradient(180deg, #FFF0F5 0%, #FFF8FA 100%); }
.f-report-advice-body { position: relative; z-index: 1; max-width: 36rem; margin: 0 auto; }
.f-report-advice-text p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.95; margin: 0 0 0.35rem; }
.f-report-advice-text p:last-child { margin-bottom: 0; }
.f-report-advice-deco {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 80px; opacity: 0.95; pointer-events: none;
}
.f-report-advice-deco img { width: 100%; height: auto; display: block; }
.f-report-advice-deco-left { left: 1.25rem; width: 72px; }
.f-report-advice-deco-right { right: 1.25rem; width: 96px; }

.f-report-future { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.f-report-timeline {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.65rem 0.85rem;
  align-items: flex-start; margin-bottom: 0.85rem; position: relative; padding-top: 0.25rem;
}
.f-report-timeline::before {
  content: ""; position: absolute; top: 36px; left: 8%; right: 8%; height: 2px; z-index: 0;
  background: linear-gradient(90deg, transparent, #FFD6E3 12%, #FFD6E3 88%, transparent);
  border-radius: 99px;
}
.f-report-step {
  flex: 0 1 118px; text-align: center; padding: 0.35rem 0.25rem; position: relative; z-index: 1;
}
.f-report-step-icon {
  width: 48px; height: 48px; margin: 0 auto 0.45rem;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--pink-deep);
  border: 1px solid rgba(255,107,138,0.22);
}
.f-report-step-icon img,
.f-report-step-icon svg { width: 22px; height: 22px; display: block; }
.f-report-step-period { font-size: 0.72rem; font-weight: 800; color: var(--pink-deep); margin-bottom: 0.25rem; }
.f-report-step-text { font-size: 0.68rem; color: var(--text-muted); line-height: 1.65; margin: 0; }
.f-report-step-arrow { display: none; }
.f-report-future-banner {
  text-align: center; font-size: 0.78rem; font-weight: 700; color: var(--pink-deep);
  padding: 0.75rem 1rem; margin-bottom: 0.65rem;
  background: linear-gradient(90deg, #FFF5F8, #FFECF1, #FFF5F8);
  border: 1px solid rgba(255,107,138,0.16); border-radius: 18px;
}
.f-report-skyline { width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }

.f-report-extra { padding-top: 0.5rem; border-top: 1px solid var(--border); margin-top: 0.5rem; }

.f-report-cta {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 0.85rem 1.15rem;
  align-items: center; margin-top: 1.25rem; padding: 1.15rem 1.35rem;
  background: linear-gradient(180deg, #FFF5F8 0%, #FFECF1 100%);
  border: 1px solid rgba(255,107,138,0.22); border-radius: var(--radius);
}
.f-report-cta-icon { width: 72px; height: auto; display: block; }
.f-report-cta-copy strong {
  display: block; font-family: var(--serif); font-size: 0.92rem; line-height: 1.55; margin-bottom: 0.25rem;
}
.f-report-cta-copy p { font-size: 0.68rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.f-report-cta-btn { white-space: nowrap; padding: 0.95rem 1.5rem; font-size: 0.84rem; font-weight: 800; }
.f-report-footer { text-align: center; padding-top: 1rem; }

.f-report--zodiac .f-report-score-rank { color: var(--purple-deep); }
.f-report--zodiac .f-report-step-period,
.f-report--zodiac .f-report-section-title { color: var(--purple-deep); }
.f-report--timing .f-report-score-rank { color: var(--blue-deep); }
.f-report--timing .f-report-step-period,
.f-report--timing .f-report-section-title { color: var(--blue-deep); }

.f-report-share-card--zodiac .f-report-share-rank { color: var(--purple-deep); }
.f-report-share-card--timing .f-report-share-rank { color: var(--blue-deep); }

.compat-input-panel,
.f-report-input-panel {
  max-width: 520px; margin: 0 auto;
  padding: 1.35rem 1.15rem 1.5rem;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.compat-input-head, .f-report-input-head { text-align: center; margin-bottom: 1rem; }
.compat-input-title, .f-report-input-title {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 700; margin: 0 0 0.35rem;
}
.compat-input-desc, .f-report-input-desc { font-size: 0.76rem; color: var(--text-muted); line-height: 1.75; margin: 0; }
.compat-input-groups, .f-report-input-groups { display: grid; gap: 0.85rem; margin-bottom: 1rem; }
.compat-input-group, .f-report-input-group {
  padding: 0.85rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--pink-pale);
}
.compat-input-group-label, .f-report-input-group-label {
  display: block; font-size: 0.68rem; font-weight: 800; color: var(--pink-deep);
  letter-spacing: 0.06em; margin-bottom: 0.55rem;
}
.compat-input-fields, .f-report-input-fields { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 0.55rem; }
.compat-field, .f-report-field { display: flex; flex-direction: column; gap: 0.3rem; }
.compat-field label, .f-report-field label { font-size: 0.68rem; font-weight: 700; color: var(--text-muted); }
.compat-field input, .f-report-field input {
  width: 100%; padding: 0.7rem 0.8rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: var(--serif); font-size: 0.95rem; background: #fff;
}
.compat-field input:focus, .f-report-field input:focus {
  border-color: var(--pink); outline: 2px solid rgba(255,107,138,0.12); outline-offset: 0;
}

@media (max-width: 640px) {
  .seimei-input-fields { grid-template-columns: 1fr; }
  .seimei-report-summary { flex-direction: column; gap: 0.75rem; }
  .seimei-score-block { text-align: center; max-width: 220px; width: 100%; }
  .seimei-strokes-panel { grid-template-columns: 1fr; }
  .seimei-strokes-card { grid-template-columns: 1fr; }
  .seimei-strokes-visual { min-height: 140px; }
  .seimei-strokes-scene { min-height: 140px; }
  .seimei-strokes-row-sum { margin-left: 0; width: 100%; text-align: right; padding-top: 0.15rem; }
  .seimei-reading-body { padding-left: 0.95rem; }
  .seimei-grid-pill { flex: 1 1 calc(50% - 0.45rem); }
  .seimei-sancai-flow { flex-direction: column; align-items: center; overflow-x: visible; }
  .seimei-sancai-node { flex: 0 0 auto; width: 100%; max-width: 220px; }
  .seimei-sancai-bridge { flex: 0 0 auto; width: 100%; max-width: 260px; }
  .seimei-sancai-arrow { transform: rotate(90deg); }
  .seimei-advice-layout { grid-template-columns: 1fr; }
  .seimei-advice-visual { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .fortune-panel-intro-body { padding: 1.1rem 1rem 1.2rem; }
  .fortune-panel-intro-visual img { height: 160px; }
  .fortune-preview-item { flex: 1 1 calc(50% - 0.55rem); padding-right: 0; }
  .fortune-preview-item:nth-child(odd) { border-left: none; padding-left: 0; }
  .fortune-preview-item:nth-child(even) { border-left: none; }
  .fortune-panel-intro-body .btn-lg { width: 100%; }
  .f-report-hero-frame { display: none; }
  .tab-panel { max-width: 100%; }
  .f-report-side-head,
  .f-report-side-controls {
    min-height: 0;
    height: auto;
    width: 100%;
    max-width: 100%;
  }
  .f-report-side-meta,
  .f-report-side-slide,
  .f-report-share-hint,
  .f-report-side-controls .site-note {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .f-report-deck-card,
  .f-report-deck-card--summary {
    grid-template-columns: 1fr;
    grid-template-rows: var(--f-report-summary-visual-h, 156px) auto;
    height: auto;
    max-height: none;
    min-height: 0;
    min-width: 0;
    border: 1px solid rgba(255, 107, 138, 0.12);
    border-radius: 18px;
    --f-report-summary-visual-h: 156px;
  }
  .f-report-deck-card.f-report-deck-card--unified,
  .f-report-deck-card--summary.f-report-deck-card--unified {
    height: var(--f-report-deck-h);
    min-height: var(--f-report-deck-h);
    max-height: var(--f-report-deck-h);
    grid-template-rows: var(--f-report-summary-visual-h, 156px) minmax(0, 1fr);
  }
  .f-report-deck-slide {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
  }
  .f-report-deck-slide .f-report-deck-card {
    flex: 0 0 auto;
    min-height: 0;
    width: 100%;
    height: auto;
  }
  .f-report-deck-slide .f-report-deck-card.f-report-deck-card--unified {
    flex: 1 1 auto;
    height: var(--f-report-deck-h);
    min-height: var(--f-report-deck-h);
    max-height: var(--f-report-deck-h);
    grid-template-rows: var(--f-report-summary-visual-h, 156px) minmax(0, 1fr);
  }
  .f-report-deck-viewport {
    border-radius: 18px;
    background: transparent;
  }
  .f-report-deck-card-visual {
    grid-column: 1;
    grid-row: 1;
    min-height: var(--f-report-summary-visual-h, 156px);
    max-height: var(--f-report-summary-visual-h, 156px);
    height: var(--f-report-summary-visual-h, 156px);
  }
  .f-report-deck-slide--summary .f-report-deck-card-visual {
    min-height: var(--f-report-summary-visual-h, 196px);
    max-height: var(--f-report-summary-visual-h, 196px);
    height: var(--f-report-summary-visual-h, 196px);
    --f-report-summary-visual-h: 196px;
  }
  .f-report-deck-card-shade {
    background: linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.34) 72%, rgba(0,0,0,0.42) 100%);
  }
  .f-report-deck-card-body {
    grid-column: 1;
    grid-row: 2;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: none;
    min-height: 0;
    margin-top: -10px;
    padding: 1rem 1rem 0.625rem;
    border-radius: 18px 18px 0 0;
    overflow: visible;
    background: linear-gradient(180deg, #fff 0%, #fff 72%, #fffaf9 100%);
  }
  .f-report-deck-card--summary .f-report-deck-card-body {
    margin-top: 0;
    padding-top: 1.1rem;
  }
  .f-report-deck-card-body::after {
    content: "";
    flex: none;
    min-height: 0.35rem;
    pointer-events: none;
  }
  .f-report-deck-card-lead {
    margin: 0 0 0.5rem;
    font-size: 0.7rem;
    line-height: 1.6;
  }
  .f-report-deck-card-body--summary {
    background: linear-gradient(180deg, #fff 0%, #fff 68%, #fff7f9 100%);
    color: var(--text);
  }
  .f-report-deck-card-body--summary .f-report-deck-card-content {
    background: transparent;
    color: inherit;
    border-radius: 0;
    padding: 0;
    flex: 0 0 auto;
    gap: 0;
  }
  .f-report-deck-card-body--summary .f-report-deck-card-lead {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
  }
  .f-report-summary-headline {
    font-size: 0.9rem;
    margin: 0 0 0.375rem;
    color: var(--pink-deep);
    line-height: 1.5;
    letter-spacing: 0.01em;
  }
  .f-report-summary-text {
    font-size: 0.74rem;
    line-height: 1.7;
    margin: 0 0 0.625rem;
    color: var(--text-muted);
    opacity: 1;
  }
  .f-report-deck-card-body--summary .f-report-summary-headline {
    font-size: 0.86rem;
    margin-bottom: 0.3rem;
  }
  .f-report-deck-card-body--summary .f-report-summary-text {
    font-size: 0.7rem;
    line-height: 1.6;
    margin-bottom: 0.4rem;
  }
  .f-report-deck-card-body--summary .f-report-share-tags {
    margin-top: 0.125rem;
    gap: 0.4rem;
  }
  .f-report-deck-card-body--summary .f-report-share-tags .tag {
    background: rgba(255, 107, 138, 0.1);
    color: var(--pink-deep);
    border-color: rgba(255, 107, 138, 0.2);
    font-weight: 700;
    padding: 0.2rem 0.55rem;
  }
  .f-report-deck-card-content {
    flex: 0 0 auto;
    gap: 0.5rem;
  }
  .f-report-points-stack {
    gap: 0.5rem;
  }
  .f-report-points-stack--traits .f-report-traits--stack {
    gap: 0.5rem;
  }
  .f-report-points-stack--traits .f-report-trait-card {
    background: #fff;
    border: 1px solid rgba(255, 107, 138, 0.14);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(255, 107, 138, 0.06);
    padding: 0.7rem 0.75rem;
    gap: 0.625rem;
  }
  .f-report-points-stack--traits .f-report-trait-body strong {
    margin-bottom: 0.2rem;
    font-size: 0.78rem;
  }
  .f-report-points-stack--traits .f-report-trait-body p {
    font-size: 0.72rem;
    line-height: 1.65;
  }
  .f-report-axes-stack .f-report-mini-axis-list {
    gap: 0.35rem;
  }
  .f-report-axes-stack .f-report-mini-axis {
    background: #fff;
    border: 1px solid rgba(255, 107, 138, 0.14);
    border-radius: 12px;
    box-shadow: none;
    padding: 0.45rem 0.65rem;
    gap: 0.4rem;
  }
  .f-report-axes-stack .f-report-mini-axis-label {
    font-size: 0.68rem;
  }
  .f-report-deck-card-brand { display: none; }
  .f-report-deck-card--timeline .f-report-deck-card-lead {
    display: none;
  }
  .f-report-deck-card-body--summary .f-report-deck-card-content {
    justify-content: flex-start;
  }
  .f-report-detail-stack--wide .f-report-radar-wrap--card .f-report-radar-svg {
    max-width: min(196px, 68vw);
  }
  .f-report-deck-card--cta .f-report-cta-icon { width: 44px; }
  .f-report-deck-card--cta .f-report-cta-benefits li {
    padding: 0.22rem 0 0.22rem 0.9rem;
    font-size: 0.66rem;
    line-height: 1.5;
  }
  .f-report-deck-card--cta .f-report-cta-note {
    font-size: 0.62rem;
    margin-bottom: 0.45rem;
  }
  /* ビジュアル内 — スコア（右上）と見出し（左下）のゾーンを分離 */
  .f-report-deck-card--summary > .f-report-deck-score {
    top: 0.625rem;
    right: 0.625rem;
    min-width: 0;
    width: min(38%, 108px);
    padding: 0.4rem 0.5rem 0.45rem;
    backdrop-filter: blur(8px);
  }
  .f-report-deck-card--summary .f-report-deck-score-rank {
    margin-top: 0.18rem;
    padding: 0.16rem 0.5rem;
    font-size: 0.58rem;
  }
  .f-report-deck-card-head {
    left: 0.75rem;
    right: auto;
    bottom: 0.75rem;
    width: 56%;
    max-width: 56%;
    padding: 0;
    z-index: 4;
  }
  .f-report-deck-card--summary .f-report-deck-card-head {
    top: 0.625rem;
    bottom: auto;
    left: 0.75rem;
    width: min(56%, 12.5rem);
    max-width: 56%;
  }
  .f-report-deck-card--summary .f-report-deck-score-label {
    margin-bottom: 0.05rem;
  }
  .f-report-deck-card--summary .f-report-deck-score-value {
    font-size: 1.28rem;
    margin: 0 0 0.15rem;
  }
  .f-report-deck-card--summary > .f-report-deck-score .f-report-deck-score-stars {
    margin-bottom: 0;
    gap: 1px;
  }
  .f-report-deck-card:not(.f-report-deck-card--summary) .f-report-deck-card-head {
    width: 60%;
    max-width: 60%;
    bottom: 0.7rem;
  }
  .f-report-deck-card-kicker {
    white-space: normal;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
    margin: 0 0 0.15rem;
  }
  .f-report-deck-card-title {
    font-size: 0.92rem;
    line-height: 1.4;
    margin: 0;
  }
  .f-report-deck-card-meta {
    margin-top: 0.15rem;
    font-size: 0.62rem;
    line-height: 1.45;
  }
  .f-report-deck-rank-chip {
    top: 0.625rem;
    right: 0.625rem;
    z-index: 3;
    padding: 0.26rem 0.68rem;
  }
  .f-report-deck-card-body .seimei-deck-panel .seimei-strokes-card {
    grid-template-columns: 1fr;
  }
  .f-report-deck-card-body .seimei-deck-panel .seimei-strokes-visual,
  .f-report-deck-card-body .seimei-deck-panel .seimei-strokes-scene {
    min-height: 110px;
  }
  .f-report-detail-stack--wide {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 0.625rem;
  }
  .f-report-detail-stack--wide .f-report-radar-wrap--card {
    margin-bottom: 0;
    padding: 0.25rem 0;
  }
  .f-report-detail-stack--wide .f-report-radar-wrap--card .f-report-radar-svg {
    max-width: min(280px, 100%);
    margin-inline: auto;
  }
  .f-report-advice-text--card {
    grid-template-columns: 1fr;
  }
  .f-report-timeline--card {
    flex-direction: column;
    gap: 0;
  }
  .f-report-timeline--card .f-report-step {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      "icon period"
      "icon text";
    align-items: start;
    gap: 0.1rem 0.5625rem;
    text-align: left;
    padding: 0.5rem 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,107,138,0.12);
  }
  .f-report-timeline--card .f-report-step-icon {
    grid-area: icon;
    width: 28px;
    height: 28px;
    margin: 0.1rem 0 0;
  }
  .f-report-timeline--card .f-report-step-icon img,
  .f-report-timeline--card .f-report-step-icon svg {
    width: 14px;
    height: 14px;
  }
  .f-report-timeline--card .f-report-step-period {
    grid-area: period;
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.35;
  }
  .f-report-timeline--card .f-report-step-text {
    grid-area: text;
    margin: 0;
    font-size: 0.66rem;
    line-height: 1.5;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .f-report-timeline--card .f-report-step:last-child { border-bottom: none; }
  .f-report-share-card { max-width: 100%; }
  .f-report-share-score { right: 0.65rem; bottom: 0.65rem; min-width: 96px; }
  .f-report-traits--row { grid-template-columns: 1fr; }
  .f-report-detail-grid { flex-direction: column; }
  .f-report-advice { padding: 1.25rem 1rem; }
  .f-report-advice-deco { display: none; }
  .f-report-timeline::before { display: none; }
  .f-report-step { flex: 0 1 calc(50% - 0.5rem); }
  .f-report-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .compat-input-fields, .f-report-input-fields { grid-template-columns: 1fr; }
}

.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}
.zodiac-btn {
  width: 100%;
  min-width: 0;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  border: 1.5px solid rgba(255,107,138,0.14);
  border-radius: 14px;
  padding: 0.75rem 0.35rem;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  text-align: center;
  background: white;
  box-sizing: border-box;
}
.zodiac-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 auto 0.25rem;
  flex-shrink: 0;
}
.zodiac-symbol img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.zodiac-name {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.35;
  min-height: 1.35em;
}
.zodiac-period {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-light);
  margin-top: 0.12rem;
  line-height: 1.35;
  min-height: calc(2 * 1.35 * 1em);
}
.zodiac-btn:hover { border-color: var(--pink); background: var(--pink-pale); }
.zodiac-btn.selected { border-color: var(--pink); background: var(--pink-light); color: var(--pink-deep); }

.blood-grid {
  display: flex; flex-wrap: wrap; gap: 0.45rem; justify-content: flex-start; max-width: none;
}
.blood-btn {
  flex: 0 1 calc(25% - 0.45rem); min-width: 88px;
  font-family: var(--font); border: 1.5px solid rgba(255,107,138,0.14); border-radius: 14px;
  padding: 1rem 0.5rem; cursor: pointer; transition: border-color 0.18s, background 0.18s; text-align: center; background: white;
  display: flex; flex-direction: column; align-items: center;
}
.blood-letter { font-size: 1.75rem; font-weight: 900; line-height: 1; color: var(--text); }
.blood-type-label { font-size: var(--text-sm); font-weight: 700; color: var(--text-muted); }
.blood-sub { font-size: var(--text-xs); color: var(--text-light); margin-top: 0.2rem; }
.blood-btn:hover { border-color: var(--pink); background: var(--pink-pale); }
.blood-btn.selected { border-color: var(--pink); background: var(--pink-light); }
.blood-btn.selected .blood-letter { color: var(--pink-deep); }

.fortune-input-area.hidden { opacity: 0; pointer-events: none; position: absolute; visibility: hidden; }
.fortune-result { display: none; }
.fortune-result.visible { display: block; animation: fadeUp 0.5s ease; }
.fortune-result-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 1.5rem; margin-top: 0.5rem;
}
.fortune-rank { font-size: 2rem; font-weight: 900; color: var(--pink-deep); margin-bottom: 0.5rem; opacity: 0; transform: scale(0.98); transition: all 0.5s 0.1s; }
.fortune-rank.revealed { opacity: 1; transform: scale(1); }
.fortune-rank.accent { color: var(--pink-deep); }
.fortune-msg { font-size: var(--text-base); color: var(--text-muted); line-height: 1.85; margin-bottom: 0.75rem; opacity: 0; transition: opacity 0.5s 0.3s; }
.fortune-msg.revealed { opacity: 1; }
.fortune-detail { background: #FAFBFC; border-radius: var(--radius-sm); padding: 0.85rem 1rem; font-size: var(--text-sm); color: var(--text-muted); line-height: 1.75; opacity: 0; transition: opacity 0.5s 0.5s; border: 1px solid var(--border); }
.fortune-detail.revealed { opacity: 1; }
.fortune-tags { display: flex; gap: 0.35rem; flex-wrap: wrap; margin-top: 0.75rem; opacity: 0; transition: opacity 0.5s 0.7s; }
.fortune-tags.revealed { opacity: 1; }
.tag { font-size: var(--text-xs); font-weight: 700; padding: 0.3rem 0.7rem; border-radius: var(--radius-pill); background: var(--pink-pale); color: var(--pink-deep); border: 1px solid rgba(255,107,138,0.2); }
.result-meta { font-size: var(--text-sm); color: var(--text-light); margin-bottom: 0.5rem; letter-spacing: 0.06em; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Certificate */
.cert-issue-panel { margin-bottom: 2rem; }
.cert-form { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; }
.cert-form input { flex: 1; padding: 0.85rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font); font-size: 0.88rem; outline: none; }
.cert-form input:focus { border-color: var(--pink); }
.cert-form-note { font-size: 0.72rem; color: var(--text-light); margin-bottom: 0.35rem; }
.cert-parody-note { font-size: 0.68rem; color: var(--text-light); line-height: 1.7; margin-bottom: 0.75rem; }

/* Site-wide parody / disclaimer notes */
.site-note {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0.45rem 0 0;
}
.site-note-mark {
  font-size: 0.55em;
  font-weight: 800;
  color: var(--text-muted);
  vertical-align: super;
  line-height: 0;
  margin-left: 0.1em;
}
.site-note--section {
  max-width: 36rem;
  margin: 0.65rem auto 0;
  text-align: center;
}
.site-note--hero {
  position: absolute;
  left: 50%;
  bottom: clamp(0.75rem, 2vw, 1.1rem);
  transform: translateX(-50%);
  z-index: 2;
  width: min(92%, 22rem);
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.site-note--on-dark { color: rgba(255, 255, 255, 0.78); margin-top: 0.35rem; }
.site-note--result { margin-top: 0.65rem; text-align: center; }
.site-note--result-inline { margin-top: 0.75rem; }
.site-note--cert,
.site-note--cert-paper {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
}
.site-note--cert-paper {
  color: var(--text-muted);
  font-size: 0.62rem;
  margin-top: 0.5rem;
}
.site-note--footer-cta {
  color: rgba(255, 255, 255, 0.82);
  margin: 0.35rem 0 0.85rem;
}
.site-note--fortune { margin-top: 0.75rem; }
.site-note--sticky {
  width: min(var(--header-width), 100%);
  margin: 0.35rem auto 0;
  text-align: center;
  font-size: 0.62rem;
}
.safety-item .site-note { margin-top: 0.4rem; }
.campaign-ribbon-note {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 800;
  opacity: 0.85;
  white-space: nowrap;
}
.live-toast-main { display: block; }
.live-toast-sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted);
}
.cert-issuing { display: none; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--text-muted); padding: 0.5rem 0; }
.cert-issuing.active { display: flex; }
.cert-issuing-spinner { width: 18px; height: 18px; border: 2px solid var(--border); border-top-color: var(--pink); border-radius: 50%; animation: spin 0.8s linear infinite; }
.cert-actions { display: none; gap: 0.65rem; flex-wrap: wrap; margin-top: 0.75rem; }
.cert-actions.visible { display: flex; }
.cert-wrap { display: none; }
.cert-wrap.visible { display: block; animation: fadeUp 0.6s ease; }

/* PDF export: force A4 landscape layout on visible element during capture */
.cert-wrap.cert-exporting {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  padding: 1rem;
  overflow: auto;
  animation: none;
}
.cert-wrap.cert-exporting .cert-document {
  width: 1120px;
  max-width: none;
  height: calc(1120px * 210 / 297);
  aspect-ratio: auto;
  flex-shrink: 0;
}
.cert-wrap.cert-exporting .cert-folder {
  grid-template-columns: 42% 1fr;
  height: 100%;
}
.cert-wrap.cert-exporting .cert-folder-left {
  border-right: 1px solid rgba(91, 192, 235, 0.15);
  border-bottom: none;
  padding: 2rem;
}
.cert-wrap.cert-exporting .cert-folder-right {
  padding: 1.35rem;
}

.cert-document {
  background: var(--navy);
  aspect-ratio: 297/210;
  width: 100%;
  color: white;
  overflow: hidden;
  position: relative;
  font-family: var(--cert-body);
  font-feature-settings: "palt" 1;
}
.cert-folder-left,
.cert-folder-right,
.cert-paper,
.cert-congrats,
.cert-folder-brand {
  font-family: var(--cert-body);
}
.cert-document h1,
.cert-document h2,
.cert-paper-title,
.cert-recipient-name,
.cert-recipient-honorific,
.cert-paper-tagline,
.cert-sign-name {
  font-family: var(--cert-serif);
}
.cert-folder {
  display: grid;
  grid-template-columns: 42% 1fr;
  height: 100%;
  min-height: 0;
}
.cert-folder-left {
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  overflow: hidden;
  border-right: 1px solid rgba(91,192,235,0.15);
}
.cert-burst {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 50% 50%, rgba(91,192,235,0.22) 0%, rgba(91,192,235,0.08) 28%, transparent 58%),
    radial-gradient(circle at 50% 50%, rgba(255,107,138,0.1) 0%, transparent 45%);
  pointer-events: none;
}
.cert-congrats { position: relative; z-index: 1; }
.cert-congrats-title {
  font-family: var(--cert-serif);
  font-size: clamp(1rem, 2.6vw, 1.4rem);
  font-weight: 700;
  color: #C8D8E8;
  line-height: 1.55;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}
.cert-congrats-lead {
  font-size: clamp(0.58rem, 1.35vw, 0.72rem);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.04em;
  margin-bottom: 0.55rem;
}
.cert-congrats-body {
  font-size: clamp(0.48rem, 1.1vw, 0.6rem);
  color: rgba(255,255,255,0.78);
  line-height: 2.05;
  letter-spacing: 0.03em;
  margin-bottom: 0.45rem;
}
.cert-sign { margin-top: clamp(0.75rem, 2vw, 1.15rem); }
.cert-sign-line { width: clamp(90px, 24vw, 130px); height: auto; margin-bottom: 0.4rem; opacity: 0.55; }
.cert-sign-name {
  font-size: clamp(0.52rem, 1.15vw, 0.62rem);
  font-weight: 700;
  color: #B8CCE0;
  letter-spacing: 0.1em;
}
.cert-sign-role {
  font-size: clamp(0.42rem, 0.95vw, 0.5rem);
  color: rgba(255,255,255,0.58);
  margin-top: 0.15rem;
  letter-spacing: 0.14em;
}

.cert-folder-right {
  display: flex;
  flex-direction: column;
  padding: clamp(0.75rem, 2.2vw, 1.35rem);
  min-width: 0;
}
.cert-case {
  flex: 1;
  background: white;
  padding: clamp(0.45rem, 1.2vw, 0.75rem);
  min-height: 0;
  display: flex;
}
.cert-case-border {
  flex: 1;
  border: 2px solid var(--blue);
  padding: clamp(0.35rem, 1vw, 0.55rem);
  display: flex;
  min-height: 0;
}
.cert-paper {
  flex: 1;
  background: #FAFBFD;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--navy);
  padding: clamp(0.55rem, 1.8vw, 1.1rem) clamp(0.65rem, 2vw, 1.25rem);
  overflow: hidden;
}
.cert-paper-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 11px, rgba(26,31,58,0.03) 11px, rgba(26,31,58,0.03) 12px),
    repeating-linear-gradient(90deg, transparent, transparent 11px, rgba(26,31,58,0.03) 11px, rgba(26,31,58,0.03) 12px);
}
.cert-emblem {
  width: clamp(44px, 10vw, 58px);
  height: clamp(44px, 10vw, 58px);
  margin-bottom: 0.4rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-emblem-ring {
  position: absolute;
  inset: -4px;
  border: 1.5px solid rgba(26,31,58,0.2);
  border-radius: 50%;
}
.cert-emblem img { width: 72%; height: 72%; object-fit: contain; position: relative; z-index: 1; }
.cert-paper-title {
  font-size: clamp(0.78rem, 2.1vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.42em;
  margin-right: -0.42em;
  color: var(--navy);
  position: relative;
  z-index: 1;
  margin-bottom: 0.25rem;
}
.cert-title-rule {
  width: clamp(80px, 28vw, 140px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,31,58,0.35), transparent);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}
.cert-name-line {
  position: relative;
  z-index: 1;
  margin-bottom: 0.45rem;
  line-height: 1.2;
}
.cert-recipient-name {
  font-size: clamp(1.05rem, 3.4vw, 1.65rem);
  font-weight: 700;
  color: #0F0F0F;
  letter-spacing: 0.1em;
}
.cert-recipient-honorific {
  font-size: clamp(0.72rem, 1.9vw, 0.95rem);
  font-weight: 600;
  margin-left: 0.2rem;
  letter-spacing: 0.12em;
}
.cert-paper-body {
  font-size: clamp(0.46rem, 1.08vw, 0.58rem);
  line-height: 2.05;
  letter-spacing: 0.04em;
  color: #2A2A2A;
  max-width: 92%;
  position: relative;
  z-index: 1;
  margin-bottom: 0.4rem;
}
.cert-paper-body strong { color: #7A1E32; font-weight: 700; }
.cert-paper-stats {
  display: flex;
  gap: clamp(0.5rem, 2vw, 1rem);
  font-size: clamp(0.42rem, 0.98vw, 0.5rem);
  color: #444;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
  margin-bottom: 0.4rem;
}
.cert-paper-stats strong { color: var(--navy); font-weight: 700; }
.cert-paper-tagline {
  font-size: clamp(0.52rem, 1.3vw, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--navy);
  position: relative;
  z-index: 1;
  margin-bottom: 0.4rem;
}
.cert-paper-meta {
  display: flex;
  gap: clamp(0.65rem, 2.5vw, 1.25rem);
  font-size: clamp(0.38rem, 0.9vw, 0.48rem);
  color: #555;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}
.cert-mono { font-family: "Courier New", "Noto Serif JP", monospace; letter-spacing: 0.06em; }
.cert-hanko {
  position: absolute;
  bottom: clamp(0.4rem, 1.2vw, 0.7rem);
  right: clamp(0.4rem, 1.2vw, 0.7rem);
  z-index: 2;
  text-align: center;
}
.cert-hanko-svg {
  width: clamp(50px, 12vw, 68px);
  height: auto;
  display: block;
  filter: drop-shadow(0 1px 0 rgba(155,27,27,0.2));
}
.cert-hanko-caption {
  display: block;
  font-family: var(--cert-serif);
  font-size: clamp(0.32rem, 0.75vw, 0.4rem);
  color: #777;
  letter-spacing: 0.18em;
  margin-top: 0.12rem;
}
.cert-folder-brand {
  text-align: center;
  font-size: clamp(0.4rem, 0.95vw, 0.5rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.62);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

/* Voice — Pairs 幸せレポート: compact horizontal cards */
.section--voice { padding: 3rem 0; }
.section-head--compact { margin-bottom: 1.5rem; }

.voice-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 1.25rem 0.35rem;
  margin: 0 -1.25rem;
  scrollbar-width: none;
}
.voice-scroll::-webkit-scrollbar { display: none; }
.voice-grid {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  min-width: 100%;
  padding: 0 0.25rem;
  justify-content: center;
}
.voice-card {
  flex: 0 0 220px;
  width: 220px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.voice-card:hover { border-color: rgba(255,107,138,0.35); }
.voice-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--pink-light);
}
.voice-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.voice-text {
  font-family: var(--font);
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  padding: 0.75rem 0.85rem 0.45rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.voice-user {
  padding: 0 0.85rem 0.85rem;
}
.voice-name { font-size: var(--text-xs); font-weight: 700; margin-bottom: 0.1rem; color: var(--text); }
.voice-meta { font-size: 0.6875rem; color: var(--text-light); margin: 0; }

@media (min-width: 780px) {
  .voice-grid {
    width: auto;
    max-width: 720px;
    margin: 0 auto;
    justify-content: center;
  }
}

/* Why grid */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.why-item { text-align: center; padding: 1.25rem 0.75rem; }
.why-icon {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 0.65rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--pink-pale); color: var(--pink-deep);
  border: 1px solid var(--border);
}
.why-item h3 { font-size: var(--text-md); font-weight: 700; margin-bottom: 0.35rem; }
.why-item p { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.7; }

/* FAQ */
.faq-list { max-width: 640px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; padding: 1.2rem 0;
  text-align: left; font-family: var(--font); font-size: var(--text-md); font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--text);
}
.faq-q:hover { color: var(--pink); }
.faq-toggle { color: var(--pink); font-size: 1.15rem; transition: transform 0.25s; flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 1.2rem; font-size: var(--text-sm); color: var(--text-muted); line-height: 1.85; }
.faq-item.open .faq-a { display: block; }

/* Footer links */
.footer-inner { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.footer-brand { margin-bottom: 0.35rem; }
.footer-brand a {
  display: inline-flex;
  align-items: center;
}
.footer-brand img {
  display: block;
  height: 28px;
  width: auto;
  max-width: min(260px, 72vw);
  object-fit: contain;
  object-position: left center;
}
.footer-brand a:hover img { opacity: 0.82; }
.footer-tagline { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); margin: 0; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; color: var(--text-light); letter-spacing: 0.08em; margin-bottom: 0.65rem; }
.footer-col a { display: block; font-size: 0.78rem; font-weight: 500; color: var(--text-muted); margin-bottom: 0.35rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--pink); }
.disclaimer { grid-column: 1 / -1; font-size: 0.65rem; color: var(--text-light); line-height: 1.75; border-top: 1px solid var(--border); padding-top: 1.25rem; margin-top: 0.5rem; }
.disclaimer p + p { margin-top: 0.75rem; }


/* ── Fortune report + seimei typography (site-scale) ── */
.f-report-deck-card-kicker,
.f-report-share-kicker,
.f-report-share-score-label,
.f-report-share-axis,
.f-report-share-brand,
.f-report-deck-score-label,
.f-report-card-action-label,
.f-report-kicker,
.f-report-score-label,
.seimei-input-badge,
.seimei-score-label,
.seimei-section-title,
.seimei-strokes-row-label,
.seimei-technical-label,
.seimei-stroke-label,
.seimei-sancai-node-label,
.seimei-sancai-badge,
.seimei-luck-badge {
  font-size: var(--text-xs) !important;
}

.f-report-deck-card-meta,
.f-report-deck-score-rank,
.f-report-deck-rank-chip,
.f-report-deck-step-label,
.f-report-share-meta,
.f-report-share-chip,
.f-report-share-hint,
.f-report-meta-label,
.f-report-mini-axis-label,
.f-report-trait-body p,
.f-report-axis-body p,
.f-report-step-text,
.f-report-cta-copy p,
.f-report-field label,
.compat-field label,
.seimei-field label,
.seimei-input-meta li,
.seimei-report-meta,
.seimei-fortune-name,
.seimei-char-num,
.seimei-grid-pill-label,
.seimei-grid-pill-luck,
.seimei-cell-label,
.seimei-cell-luck,
.seimei-note,
.seimei-footer p {
  font-size: var(--text-sm) !important;
}

.f-report-deck-card-title,
.f-report-deck-card-lead,
.f-report-summary-headline,
.f-report-summary-text,
.f-report-share-title,
.f-report-share-headline,
.f-report-share-summary,
.f-report-share-rank,
.f-report-subtext,
.f-report-advice-text p,
.f-report-trait-body strong,
.f-report-axis-top strong,
.f-report-card-footnote,
.f-report-card-quote,
.f-report-card-action p,
.f-report-details-lead,
.f-report-lead,
.f-report-cta-btn,
.seimei-input-desc,
.seimei-input-title,
.seimei-name-suffix,
.seimei-strokes-lead,
.seimei-reading-preview,
.seimei-reading-hint,
.seimei-verdict,
.seimei-advice-list li,
.seimei-gogyo,
.seimei-reading-title,
.seimei-sancai-summary-box p,
.compat-input-desc,
.f-report-input-desc {
  font-size: var(--text-base) !important;
}

.f-report-details-title,
.f-report-title,
.seimei-report-rank {
  font-size: var(--text-xl) !important;
}

.f-report-headline,
.f-report-score-rank {
  font-size: var(--text-lg) !important;
}

.f-report-deck-card-brand {
  font-size: 0.54rem !important;
  padding: 0 !important;
}

.f-report-deck-card-body {
  padding: 1rem 1.05rem 0.85rem;
}

.f-report-share-stars .f-report-star,
.f-report-share-stars .f-report-star img,
.f-report-deck-score-stars .f-report-star,
.f-report-deck-score-stars .f-report-star img {
  width: 14px !important;
  height: 14px !important;
}

.f-report-share-axis-stars .f-report-star,
.f-report-share-axis-stars .f-report-star img,
.f-report-mini-axis-stars .f-report-star,
.f-report-mini-axis-stars .f-report-star img {
  width: 14px !important;
  height: 14px !important;
}

.f-report-star,
.f-report-star img {
  width: 16px !important;
  height: 16px !important;
}

.f-report-radar-label-text {
  font-size: 11px !important;
}

.seimei-field input {
  font-size: var(--text-base) !important;
  padding: 0.85rem 1rem;
}

.seimei-field-hint {
  font-size: var(--text-xs) !important;
}

.seimei-char-glyph,
.seimei-grid-pill-num,
.seimei-sancai-node-num {
  font-size: var(--text-lg) !important;
}

.seimei-score-value {
  font-size: var(--text-xl) !important;
}


@media (max-width: 900px) {
  :root {
    --header-width: 100%;
  }
  .header-menu-toggle { display: inline-flex; }
  .header-nav {
    position: fixed;
    top: calc(var(--header-h) + var(--ribbon-h));
    right: 0;
    bottom: 0;
    z-index: 210;
    width: min(17.5rem, 86vw);
    margin: 0;
    padding: 0.75rem 0.85rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.15rem;
    background: #fff;
    border-left: 1px solid rgba(255, 107, 138, 0.12);
    box-shadow: -10px 0 36px rgba(255, 107, 138, 0.12);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, visibility 0.28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .header-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .header-nav a {
    display: block;
    padding: 0.85rem 0.9rem;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 12px;
    border-bottom: none;
  }
  .header-nav a:hover,
  .header-nav a:focus-visible {
    color: var(--pink-deep);
    background: var(--pink-pale);
  }
  .diagnosis-grid, .fortune-start { grid-template-columns: 1fr; }
  .diagnosis-card { max-width: none; width: 100%; }
  .diagnosis-aside-panel { min-height: auto; }
  .diagnosis-aside { min-height: 0; }
  .fortune-start { text-align: center; justify-items: center; gap: 1.25rem; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .promo-teaser-inner { flex-direction: column; align-items: flex-start; }
  .try-tab { flex: 1 1 calc(33.333% - 0.35rem); min-width: 0; }
  .features-showcase { grid-template-columns: 1fr; gap: 0.85rem; }
  .feature-card-body { min-height: 18.5rem; }
  .feature-card-title {
    font-size: 1.15rem;
    padding: 1.45rem 1.2rem 0.65rem;
  }
  .footer-cta-inner { grid-template-columns: 1fr; }
  .footer-cta-copy { text-align: center; }
  .footer-cta-actions { align-items: center; width: 100%; max-width: 320px; margin-inline: auto; }
  .footer-phones { min-height: 240px; margin-bottom: 0.25rem; }
  .btn-footer-cta { width: 100%; max-width: 320px; }
  .footer-inner { grid-template-columns: 1fr; }
  .cert-folder { grid-template-columns: 1fr; }
  .cert-folder-left { border-right: none; border-bottom: 1px solid rgba(91,192,235,0.15); padding: 1.25rem; }
  .cert-folder-right { padding: 1rem; }
}
@media (max-width: 520px) {
  .why-grid { grid-template-columns: 1fr; }
  .try-tab { flex: 1 1 100%; }
  .cert-form { flex-direction: column; }
  .zodiac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zodiac-btn { min-height: 108px; }
  .blood-btn { flex: 0 1 calc(50% - 0.45rem); }
}

/* SP — 画面幅いっぱい（640px以下の追補・デッキ等） */
@media (max-width: 640px) {
  :root {
    --content-pad: 1rem;
    --header-width: 100%;
    --hero-gutter: 0px;
  }
}
