@charset "UTF-8";
/* ============================================
   P-03 / P-04 共通：ライバー一覧・ランキング v2
   ============================================ */

/* ============= HERO ============= */
.livers-hero {
  position: relative;
  padding: calc(80px + 80px) 0 var(--section-pad-y);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0, rgba(255, 181, 200,0.22), transparent 60%),
    linear-gradient(180deg, #FFFCF7 0%, #FBF4E4 60%, #FFE0EA 100%);
  text-align: center;
}
.livers-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, #fff);
  pointer-events: none;
}
.livers-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  text-align: left;
}
.livers-hero-copy { text-align: left; }
.livers-hero-copy .livers-hero-tag { display: inline-flex; }
.livers-hero-copy .livers-hero-title { text-align: left; }
.livers-hero-copy .livers-hero-sub { text-align: left; }
.livers-hero-badge {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.livers-hero-badge img {
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 22px 48px rgba(255,143,177,0.35));
  animation: badgeBob 4s ease-in-out infinite;
}
@keyframes badgeBob {
  0%,100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-6px) rotate(1.5deg); }
}
.livers-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 999px;
  letter-spacing: 0.2em;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 143, 177, 0.18);
  box-shadow: 0 6px 16px rgba(255, 143, 177, 0.08);
}
.livers-hero-tag svg { fill: var(--orange); }
.livers-hero-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.22;
  margin-bottom: 18px;
  letter-spacing: 0.005em;
}
.livers-hero-title .accent { color: var(--orange); }
.livers-hero-title .dot {
  display: inline-block;
  width: 12px; height: 12px;
  background: var(--orange);
  border-radius: 50%;
  margin-left: 4px;
  vertical-align: 5px;
}
.livers-count {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--orange);
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.livers-count .num-xl { font-size: 1.2em; }
.livers-count small { font-size: 0.5em; font-weight: 700; margin-left: 4px; }
.livers-hero-sub {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text);
  font-weight: 500;
}

/* ============= 一覧グリッド（カード型・温かい背景） ============= */
.livers-section {
  position: relative;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(255,200,220,0.32), transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(255,246,230,0.5), transparent 55%),
    #fff;
  overflow: hidden;
}
.livers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("../images/deco/nikukyu.png"),
    url("../images/deco/hosi.png");
  background-position: 4% 12%, 94% 88%;
  background-size: 64px, 48px;
  background-repeat: no-repeat;
  opacity: .12;
  pointer-events: none;
}
.livers-section > .container { position: relative; z-index: 2; }
.livers-collage {
  max-width: 980px;
  margin: 0 auto 48px;
  border-radius: 28px;
  overflow: hidden;
}
.livers-collage img {
  width: 100%;
  height: auto;
  display: block;
}
.livers-grid-all {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px 18px;
  margin-bottom: 56px;
}
.livers-grid-all .liver-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s, transform .7s;
}
.livers-grid-all .liver-item.is-in { opacity: 1; transform: none; }
.livers-grid-all .liver-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 10px 14px;
  background: linear-gradient(180deg, #fff 0%, #FBF4E4 100%);
  border: 1.5px solid #FFE0EA;
  border-radius: 20px;
  box-shadow: 0 8px 18px rgba(255, 143, 177, 0.10);
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s, border-color .3s;
}
.livers-grid-all .liver-link:hover {
  transform: translateY(-4px);
  border-color: var(--pink-soft);
  box-shadow: 0 18px 32px rgba(255, 143, 177, 0.22);
  opacity: 1;
}
.livers-grid-all .liver-icon {
  position: relative;
  width: 96px; height: 96px;
  border-radius: 50%;
  overflow: hidden;
  padding: 3px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-soft) 100%);
  transition: box-shadow .3s, padding .25s;
}
.livers-grid-all .liver-link:hover .liver-icon {
  box-shadow: 0 12px 22px rgba(255, 143, 177, 0.36);
}
.livers-grid-all .liver-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
}
.livers-grid-all .liver-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  word-break: break-all;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.livers-grid-all .liver-item.is-hidden { display: none; }

/* ヒーロー：カウントインライン */
.livers-count-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 14px;
  padding: 6px 18px;
  background: #fff;
  border: 1.5px solid #FFE0EA;
  border-radius: 999px;
  color: var(--pink-deep);
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(255,143,177,0.14);
}
.livers-count-inline .num-xl { font-size: 22px; font-family: "DM Serif Display", serif; line-height: 1; color: var(--pink-deep); }
.livers-count-inline small { font-size: 12px; font-weight: 700; }

.livers-more-wrap { text-align: center; margin-bottom: 48px; }
.btn-more {
  position: relative;
  background: #fff;
  color: var(--ink);
  height: 64px;
  padding: 0 36px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  justify-content: center;
  border: 1.5px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  cursor: pointer;
  transition: all .25s cubic-bezier(.22,.61,.36,1);
}
.btn-more:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--orange);
}
.btn-more svg { transition: transform .25s; }
.btn-more:hover svg { transform: translateY(3px); }

/* ============= Return CTA ============= */
.return-cta {
  position: relative;
  background: linear-gradient(135deg, #FBF6F4 0%, #FBF4E4 50%, #F6EEDD 100%);
  overflow: hidden;
}
.return-cta-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 32px;
  padding: 72px 56px 60px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(93, 58, 82,0.10);
  border: 1px solid #FFE0EA;
}
.return-cta-card h2 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: 0.005em;
}
.return-cta-card p {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 32px;
  color: var(--text);
}
.return-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.return-cta-icon {
  width: 72px; height: 72px;
  margin: -110px auto 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 32px rgba(255, 143, 177,0.4);
  transform: rotate(-6deg);
}
.return-cta-icon svg { width: 36px; height: 36px; }

@media (max-width: 960px) {
  .livers-hero-title { font-size: 32px; }
  .livers-hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .livers-hero-copy { text-align: center; }
  .livers-hero-copy .livers-hero-title,
  .livers-hero-copy .livers-hero-sub { text-align: center; }
  .livers-hero-badge img { max-width: 380px; }
  .livers-grid-all { grid-template-columns: repeat(5, 1fr); gap: 32px 14px; }
  .livers-grid-all .liver-icon { width: 90px; height: 90px; }
  .return-cta-card { padding: 56px 36px 48px; }
  .return-cta-card h2 { font-size: 22px; }
}
@media (max-width: 640px) {
  .livers-hero { padding: calc(56px + 32px) 0 var(--section-pad-y); }
  .livers-hero-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .livers-hero-copy { text-align: center; }
  .livers-hero-copy .livers-hero-title,
  .livers-hero-copy .livers-hero-sub { text-align: center; }
  .livers-hero-badge img { max-width: 280px; }
  .livers-hero-title { font-size: 24px; line-height: 1.32; }
  .livers-hero-title .dot { width: 8px; height: 8px; vertical-align: 3px; }
  .livers-hero-sub { font-size: 13px; }
  .livers-grid-all { grid-template-columns: repeat(3, 1fr); gap: 22px 8px; }
  .livers-grid-all .liver-icon { width: 88px; height: 88px; padding: 2px; }
  .livers-grid-all .liver-name { font-size: 11px; }
  .btn-more { height: 52px; font-size: 14px; min-width: 0; width: 100%; padding: 0 24px; }
  .return-cta-card { padding: 48px 24px 40px; border-radius: 22px; }
  .return-cta-icon { width: 60px; height: 60px; margin-top: -78px; border-radius: 18px; }
  .return-cta-icon svg { width: 30px; height: 30px; }
  .return-cta-card h2 { font-size: 20px; }
  .return-cta-buttons { flex-direction: column; }
}
