/* =========================================================
   ON STAGE / 地下アイドルポータル
   WHITE THEME - assets/style.css 差し替え用
   ========================================================= */

/* =========================
   1. 基本カラー・リセット
   ========================= */
:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --soft: #f6f7fb;
  --soft-2: #f0f2f7;
  --text: #17171c;
  --muted: #737783;
  --line: #e6e8ee;
  --line-strong: #d8dbe4;
  --pink: #ff3d91;
  --pink-soft: #fff0f7;
  --cyan: #16b9d7;
  --cyan-soft: #ecfbfe;
  --violet: #7d4dff;
  --yellow: #e5aa00;
  --shadow: 0 10px 35px rgba(20, 24, 40, 0.07);
  --shadow-hover: 0 16px 45px rgba(20, 24, 40, 0.11);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Noto Sans JP", "Yu Gothic", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: auto;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

/* =========================
   2. 最上部インフォメーションバー
   ========================= */
.topline {
  background: linear-gradient(90deg, #ff3d91, #8d4dff 55%, #24cbea);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.topline .wrap {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.topline a {
  margin-left: auto;
  border-bottom: 1px solid rgba(255,255,255,.85);
}

/* =========================
   3. ヘッダー・ナビゲーション
   ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(30,35,55,.04);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
  color: #15151a;
}

.brand b { color: var(--pink); }
.brand small {
  display: block;
  font-size: 8px;
  color: #90939d;
  letter-spacing: .14em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pink), #7d4dff 55%, var(--cyan));
  color: #fff;
  font-weight: 1000;
  font-style: italic;
  box-shadow: 0 7px 20px rgba(125,77,255,.18);
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
  color: #34343c;
}

.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--pink); }

.nav-cta {
  padding: 10px 16px;
  border: 1px solid #22242b;
  border-radius: 999px;
  color: #17171c;
}

.nav-cta:hover {
  border-color: var(--pink);
  background: var(--pink-soft);
}

.menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: #17171c;
  font-size: 24px;
}

/* =========================
   4. ヒーローエリア
   ========================= */
.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(255,61,145,.10), transparent 30%),
    radial-gradient(circle at 85% 60%, rgba(40,215,245,.09), transparent 30%),
    #fff;
  border-bottom: 1px solid #f0f1f4;
}

.hero-grid {
  min-height: 570px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 60px 0;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--pink);
  font-weight: 900;
  margin-bottom: 10px;
}

.hero h1,
.page-title h1 {
  font-size: clamp(54px, 7vw, 92px);
  line-height: .96;
  letter-spacing: -.06em;
  margin: 0 0 24px;
  color: #111117;
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1.3px var(--pink);
  text-shadow: 0 0 24px rgba(255,61,145,.14);
}

.hero-copy > p {
  max-width: 590px;
  color: #626671;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 34px 0;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255,61,145,.18);
}
.btn.primary:hover { box-shadow: 0 12px 28px rgba(255,61,145,.25); }
.btn.ghost {
  border-color: var(--line-strong);
  background: #fff;
  color: #24252b;
}
.btn.ghost:hover { background: #f7f8fb; }
.btn.white {
  background: #fff;
  color: #121219;
}

.stats {
  display: flex;
  gap: 36px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.stats div { display: flex; flex-direction: column; }
.stats strong { font-size: 22px; color: #19191f; }
.stats span {
  font-size: 9px;
  color: #8a8d97;
  letter-spacing: .16em;
}

/* ヒーロー右側のビジュアルは「画像枠」として濃色を維持 */
.hero-feature { position: relative; }
.sponsor {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  background: #fff;
  color: #111;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 900;
  box-shadow: 0 4px 16px rgba(0,0,0,.10);
}
.poster {
  position: relative;
  height: 390px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg,#2b0e21,#101c31 65%,#112b2d);
  box-shadow: 0 24px 60px rgba(30,35,55,.16);
}
.poster:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,rgba(0,0,0,.7),transparent 55%);
}
.poster-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  filter: blur(15px);
  background: rgba(255,61,145,.25);
  top: -50px;
  right: -40px;
}
.poster-figure {
  position: absolute;
  bottom: -10%;
  width: 34%;
  height: 95%;
  border-radius: 110px 110px 0 0;
  background: linear-gradient(#f4d9dc 0 12%,#222533 12% 36%,#0b0b10 36%);
  box-shadow: 0 0 40px rgba(0,0,0,.35);
}
.poster-figure:before {
  content: "";
  position: absolute;
  left: 27%;
  top: 2%;
  width: 46%;
  height: 12%;
  border-radius: 50%;
  background: #ffd8c8;
}
.poster-figure.f1 { left: 6%; transform: rotate(-5deg); opacity: .9; }
.poster-figure.f2 {
  left: 33%;
  height: 102%;
  z-index: 1;
  background: linear-gradient(#eed8db 0 12%,#51223f 12% 36%,#0d0d12 36%);
}
.poster-figure.f3 { right: 5%; transform: rotate(5deg); opacity: .88; }
.poster-copy { position: absolute; z-index: 3; left: 28px; bottom: 25px; color: #fff; }
.poster-copy small { display: block; color: #66e5fa; font-weight: 900; letter-spacing: .2em; }
.poster-copy strong { display: block; font-size: 48px; line-height: .86; letter-spacing: -.06em; margin: 7px 0 12px; }
.poster-copy span { font-size: 12px; }

.hero-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  color: #30313a;
}
.hero-mini div { display: flex; gap: 14px; align-items: center; }
.hero-mini b { font-size: 12px; color: var(--pink); }
.hero-mini span,
.hero-mini a { font-size: 11px; }

/* =========================
   5. GIRLS / MEN'S 切替タブ
   ========================= */
.quick-tabs {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fafbfc;
}
.quick-tabs .wrap { display: flex; }
.type-tab {
  appearance: none;
  background: transparent;
  color: #8b8e98;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 15px 38px;
  font-weight: 900;
  letter-spacing: .14em;
}
.type-tab:first-child { border-left: 1px solid var(--line); }
.type-tab.active { color: #1b1b21; background: #fff; }
.type-tab.girls.active { color: var(--pink); background: var(--pink-soft); }
.type-tab.mens.active { color: #0799b4; background: var(--cyan-soft); }

/* =========================
   6. 共通セクション
   ========================= */
.section { padding: 82px 0; background: #fff; }
.section:nth-of-type(even) { background: #fcfcfd; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 30px;
}
.section-head h2 {
  font-size: 34px;
  line-height: 1;
  margin: 0;
  color: #17171c;
}
.section-head p,
.section-head > a {
  margin: 0;
  color: #80848e;
  font-size: 12px;
}
.section-head > a:hover { color: var(--pink); }

/* =========================
   7. 検索フォーム
   ========================= */
.search-box {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px;
  gap: 10px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.search-box label span,
.apply-form label span {
  display: block;
  font-size: 9px;
  color: #858995;
  font-weight: 900;
  letter-spacing: .13em;
  margin: 0 0 4px 4px;
}

.search-box input,
.search-box select,
.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  color: #1c1d23;
  padding: 13px 14px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.search-box input::placeholder,
.apply-form input::placeholder,
.apply-form textarea::placeholder { color: #a6a9b2; }

.search-box input:focus,
.search-box select:focus,
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255,61,145,.10);
}

.search-submit {
  border: 0;
  border-radius: 7px;
  background: var(--pink);
  color: #fff;
  font-weight: 900;
  padding: 0 28px;
  box-shadow: 0 8px 18px rgba(255,61,145,.14);
}

/* =========================
   8. グループカード
   ========================= */
.group-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 26px;
}

.group-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(30,35,55,.045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.group-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #dcdfe7;
}

/* グループ画像部分は写真枠としてカラーを維持 */
.group-visual,
.profile-visual {
  position: relative;
  display: block;
  height: 220px;
  background: linear-gradient(135deg,#271725,#431529 60%,#17131b);
  overflow: hidden;
}
.group-visual.cyan,
.profile-visual.cyan { background: linear-gradient(135deg,#102329,#0c3c49 55%,#11171b); }
.group-visual.red,
.profile-visual.red { background: linear-gradient(135deg,#291010,#51191d 55%,#171113); }
.group-visual.violet,
.profile-visual.violet { background: linear-gradient(135deg,#1e1531,#3a2469 55%,#111018); }
.group-visual.yellow,
.profile-visual.yellow { background: linear-gradient(135deg,#2d260f,#66511b 55%,#191710); }
.group-visual.blue,
.profile-visual.blue { background: linear-gradient(135deg,#111f33,#173f72 55%,#10131a); }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  color: #0b0b0f;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 900;
  box-shadow: 0 3px 10px rgba(0,0,0,.10);
}
.fake-logo {
  position: absolute;
  right: 20px;
  top: 8px;
  font-size: 140px;
  line-height: 1;
  font-weight: 1000;
  color: rgba(255,255,255,.07);
  font-style: italic;
}
.fake-logo.big { font-size: 280px; right: 25px; }
.member-dots {
  position: absolute;
  bottom: -15px;
  left: 16px;
  right: 16px;
  height: 200px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 0;
}
.member-dots i {
  display: block;
  width: 21%;
  max-width: 80px;
  height: 74%;
  margin-left: -7px;
  border-radius: 70px 70px 0 0;
  background: linear-gradient(#f1d1c8 0 15%,#252532 15% 42%,#0d0d12 42%);
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
}
.member-dots i:nth-child(even) {
  height: 86%;
  background: linear-gradient(#ead0c6 0 15%,#3b233b 15% 42%,#0d0d12 42%);
}

.group-info { padding: 18px; color: #191a20; }
.meta { display: flex; gap: 7px; flex-wrap: wrap; }
.meta span {
  padding: 2px 7px;
  background: #f1f2f6;
  border: 1px solid #e8e9ee;
  border-radius: 4px;
  color: #636772;
  font-size: 9px;
}
.group-info h3 { margin: 8px 0 4px; font-size: 20px; color: #18181e; }
.group-info h3 em,
.profile-copy h1 em { font-style: normal; color: var(--cyan); font-size: .7em; }
.group-info p { margin: 0; color: #777b86; font-size: 12px; }
.card-foot {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 12px;
  font-size: 9px;
  color: #8a8d96;
}
.card-foot a { color: #202127; font-weight: 800; }
.card-foot a:hover { color: var(--pink); }

/* =========================
   9. 有料広告ストリップ
   ========================= */
.ad-strip {
  padding: 38px 0;
  background: linear-gradient(100deg,#ff3d91,#8a4dff 55%,#2ed5ef);
  color: #fff;
}
.ad-strip .wrap { display: flex; align-items: center; gap: 34px; }
.ad-label {
  font-size: 9px;
  border: 1px solid rgba(255,255,255,.7);
  padding: 6px 8px;
}
.ad-copy { display: flex; align-items: center; gap: 28px; flex: 1; }
.ad-copy strong { font-size: 24px; line-height: 1.15; }
.ad-copy span { font-size: 12px; }

/* =========================
   10. ランキング
   ========================= */
.ranking-section { background: #f7f8fb; }
.ranking-grid { display: grid; gap: 9px; }

.rank-card {
  display: grid;
  grid-template-columns: 80px 74px 1fr auto;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(30,35,55,.035);
}
.rank-card.top {
  border-color: #ead8a4;
  background: linear-gradient(90deg,#fff9e8,#fff 35%);
}
.rank-no {
  font-size: 28px;
  font-weight: 1000;
  font-style: italic;
  text-align: center;
  color: #1b1b21;
}
.rank-no small {
  display: block;
  font-size: 8px;
  color: #9699a2;
  letter-spacing: .1em;
}

.idol-avatar,
.mini-avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%,#ffe6dc 0 15%,var(--idol) 16% 42%,#f0f1f5 43%);
  border: 2px solid var(--idol);
  box-shadow: 0 0 20px color-mix(in srgb,var(--idol) 18%,transparent);
}
.idol-avatar span { font-size: 0; }
.rank-copy > span { color: #858995; font-size: 9px; letter-spacing: .12em; }
.rank-copy h3 { margin: 2px 0; font-size: 20px; color: #17171c; }
.rank-copy p { margin: 0; color: #7d818c; font-size: 11px; }

.vote-box {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 8px;
  align-items: end;
}
.vote-box strong { font-size: 24px; text-align: right; color: #17171c; }
.vote-box span { font-size: 8px; color: #92959e; margin-bottom: 6px; }
.vote-btn {
  grid-column: 1/-1;
  margin-top: 5px;
  border: 1px solid #d6d9e1;
  background: #fff;
  color: #22232a;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: .18s ease;
}
.vote-btn:hover,
.vote-btn.voted {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

/* =========================
   11. ライブ・イベント一覧
   ========================= */
.event-list { border-top: 1px solid var(--line); }
.event-list article {
  display: grid;
  grid-template-columns: 95px 85px 1fr auto;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 18px 10px;
}
.event-list article:hover { background: #fafafd; }
.date strong { display: block; font-size: 19px; color: #1a1a20; }
.date span,
.event-type { font-size: 9px; color: #898d97; }
.event-type {
  border: 1px solid #d9dce3;
  background: #fff;
  padding: 4px 7px;
  text-align: center;
}
.event-main h3 { margin: 0; font-size: 16px; color: #19191f; }
.event-main p { margin: 2px 0 0; color: #81858f; font-size: 11px; }
.event-list article > a { font-size: 9px; color: #474a53; font-weight: 800; }
.event-list article > a:hover { color: var(--pink); }

/* =========================
   12. SNSエリア
   ========================= */
.social-section { background: #f7f8fb; }
.social-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
}
.social-card {
  min-height: 230px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 22px rgba(30,35,55,.04);
}
.social-card:after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  right: -60px;
  bottom: -80px;
  filter: blur(3px);
  opacity: .13;
}
.social-card.x:after { background: #17171c; }
.social-card.insta:after { background: #ff3d91; }
.social-card.tiktok:after { background: #28d7f5; }
.social-card > span { font-size: 9px; color: #858995; letter-spacing: .16em; }
.social-card h3 { font-size: 32px; line-height: .94; margin: 16px 0; color: #17171c; }
.social-card p { max-width: 270px; color: #747884; font-size: 11px; }
.social-card a { font-size: 10px; font-weight: 900; color: #26272d; }
.social-card a:hover { color: var(--pink); }

/* =========================
   13. ニュース
   ========================= */
.news-list { border-top: 1px solid var(--line); }
.news-list a {
  display: grid;
  grid-template-columns: 110px 90px 1fr auto;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 18px 8px;
}
.news-list a:hover { background: #fafafd; }
.news-list time { font-size: 10px; color: #8e919a; }
.news-list span { font-size: 9px; color: var(--pink); font-weight: 900; }
.news-list strong { font-size: 13px; color: #202127; }

/* =========================
   14. フッター
   ========================= */
.site-footer {
  background: #fafbfc;
  border-top: 1px solid var(--line);
  padding: 55px 0 20px;
  color: #33353d;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 45px;
}
.footer-brand { margin-bottom: 15px; }
.footer-grid p { font-size: 11px; color: #81858f; }
.footer-grid h4 { font-size: 10px; color: #878b95; letter-spacing: .16em; }
.footer-grid > div > a {
  display: block;
  font-size: 11px;
  margin: 8px 0;
  color: #42454e;
}
.footer-grid > div > a:hover { color: var(--pink); }
.copyright {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #9a9da5;
  font-size: 9px;
}

/* =========================
   15. 下層ページ共通タイトル
   ========================= */
.page-title {
  padding: 72px 0 50px;
  background:
    radial-gradient(circle at 75% 30%,rgba(255,61,145,.08),transparent 30%),
    #fff;
  border-bottom: 1px solid var(--line);
}
.page-title h1 { font-size: 64px; margin-bottom: 14px; }
.page-title p { color: #777b86; }

/* =========================
   16. グループ・アイドル詳細
   ========================= */
.profile-hero {
  padding: 60px 0;
  background: #fff;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.profile-visual {
  height: 500px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.profile-copy h1 {
  font-size: 48px;
  line-height: 1;
  margin: 16px 0;
  color: #17171c;
}
.lead { color: #666a75; }
.profile-stats {
  display: flex;
  gap: 34px;
  margin: 28px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.profile-stats div { display: flex; flex-direction: column; }
.profile-stats strong { font-size: 22px; color: #17171c; }
.profile-stats span { font-size: 8px; color: #90939c; }
.social-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.social-actions a {
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 7px;
  font-size: 10px;
  color: #34363e;
}
.social-actions a:hover { border-color: var(--pink); color: var(--pink); background: var(--pink-soft); }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}
.detail-main h3 {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--pink);
  margin-top: 0;
}
.detail-main p { color: #626671; }
.member-mini-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
}
.member-mini-grid a {
  background: #fff;
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 9px;
  box-shadow: 0 4px 15px rgba(30,35,55,.03);
}
.member-mini-grid a:hover { border-color: #d5d8e0; box-shadow: var(--shadow); }
.member-mini-grid .mini-avatar { width: 50px; height: 50px; margin-bottom: 12px; }
.member-mini-grid b,
.member-mini-grid small { display: block; }
.member-mini-grid b { color: #1a1b21; }
.member-mini-grid small { font-size: 9px; color: #8b8e98; }

/* 広告クリエイティブ枠は視認性のため濃色を維持 */
.side-ad {
  min-height: 270px;
  border-radius: 12px;
  padding: 25px;
  background: linear-gradient(140deg,#2b1630,#172c3d);
  color: #fff;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow);
}
.side-ad > span { font-size: 9px; }
.side-ad strong { display: block; font-size: 30px; line-height: 1; margin: 25px 0; }
.side-ad p { font-size: 11px; color: #d6d7dd; }
.side-ad a { font-size: 10px; font-weight: 900; color: #fff; }

.idol-big {
  height: 500px;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 22%,#ffe9dd 0 10%,var(--idol) 10.4% 27%,#e8eaf0 27.4% 52%,#f7f8fa 52.4%);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 100px rgba(30,35,55,.08), var(--shadow);
}
.idol-big span { font-size: 0; }
.subgroup { font-weight: 900; color: #0799b4; }
.big-vote { display: flex; align-items: center; gap: 20px; margin: 25px 0; }
.big-vote > div { display: flex; flex-direction: column; }
.big-vote strong { font-size: 30px; color: #17171c; }
.big-vote span { font-size: 8px; color: #8f929c; }
.vote-btn.large { grid-column: auto; padding: 12px 18px; }

/* =========================
   17. 掲載申請フォーム
   ========================= */
.narrow { max-width: 820px; }
.apply-form {
  border: 1px solid var(--line);
  background: #fff;
  padding: 28px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}
.form-grid .full { grid-column: 1/-1; }
.apply-form textarea { resize: vertical; }
.form-note { color: #888c96; font-size: 10px; }

/* =========================
   18. 広告料金プラン
   ========================= */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}
.price-grid article {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 6px 24px rgba(30,35,55,.045);
}
.price-grid article.featured {
  border-color: var(--pink);
  transform: translateY(-10px);
  box-shadow: 0 18px 55px rgba(255,61,145,.12);
}
.price-grid article > span { font-size: 9px; color: var(--pink); font-weight: 900; }
.price-grid h3 { font-size: 22px; color: #18191f; }
.price-grid strong { display: block; font-size: 35px; color: #16171c; }
.price-grid strong small { font-size: 11px; color: #8b8e98; }
.price-grid p,
.price-grid li { font-size: 11px; color: #737782; }
.price-grid ul { padding-left: 18px; }
.ad-note {
  margin-top: 35px;
  padding: 20px;
  border-left: 3px solid var(--cyan);
  background: var(--cyan-soft);
  display: flex;
  flex-direction: column;
}
.ad-note span { font-size: 11px; color: #69717b; }
.ranking-full { max-width: 920px; margin: auto; }

/* =========================
   19. タブレット
   ========================= */
@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(30,35,55,.08);
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .menu-btn { display: block; }
  .hero-grid,
  .profile-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 25px; }
  .hero-copy { padding-top: 10px; }
  .group-grid,
  .social-grid,
  .price-grid { grid-template-columns: 1fr 1fr; }
  .search-box { grid-template-columns: 1fr 1fr; }
  .search-submit { min-height: 52px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .side-ad { position: static; }
  .profile-visual,
  .idol-big { height: 380px; }
  .ad-strip .wrap,
  .ad-copy { align-items: flex-start; flex-direction: column; }
  .price-grid article.featured { transform: none; }
}

/* =========================
   20. スマートフォン
   ========================= */
@media (max-width: 600px) {
  .wrap { width: min(calc(100% - 24px), var(--max)); }
  .topline .wrap span:nth-child(2) { display: none; }
  .topline .wrap { gap: 10px; }
  .site-header .header-inner { height: 64px; }
  .brand small { display: none; }
  .main-nav { top: 64px; }

  .hero-grid { min-height: auto; padding: 45px 0; }
  .hero h1 { font-size: 58px; }
  .poster { height: 330px; }
  .poster-copy strong { font-size: 38px; }
  .stats { gap: 20px; }

  .quick-tabs .wrap { width: 100%; }
  .type-tab { flex: 1; padding: 13px 8px; }

  .section { padding: 58px 0; }
  .section-head h2 { font-size: 27px; }
  .section-head p { display: none; }

  .search-box { grid-template-columns: 1fr; }
  .group-grid,
  .social-grid,
  .price-grid { grid-template-columns: 1fr; }
  .group-visual { height: 245px; }

  .rank-card {
    grid-template-columns: 48px 56px 1fr;
    padding: 12px 10px;
    gap: 10px;
  }
  .idol-avatar { width: 52px; height: 52px; }
  .vote-box {
    grid-column: 2/-1;
    display: flex;
    align-items: center;
    gap: 7px;
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }
  .vote-box strong { font-size: 17px; }
  .vote-box .vote-btn { margin-left: auto; }

  .event-list article { grid-template-columns: 62px 1fr; gap: 8px; }
  .event-type { justify-self: start; }
  .event-main { grid-column: 2; }
  .event-list article > a { display: none; }

  .news-list a { grid-template-columns: 80px 1fr; gap: 7px; }
  .news-list span { grid-column: 1; }
  .news-list strong { grid-column: 2; grid-row: 1/3; }
  .news-list b { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1/-1; }

  .page-title h1 { font-size: 48px; }
  .profile-copy h1 { font-size: 39px; }
  .profile-stats { gap: 18px; }
  .profile-visual,
  .idol-big { height: 330px; }
  .fake-logo.big { font-size: 200px; }

  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .member-mini-grid { grid-template-columns: 1fr 1fr; }
  .big-vote { align-items: flex-start; flex-direction: column; }
}

/* ==================================================
   ON STAGE ロゴ
================================================== */
.brand.brand-onstage {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.onstage-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.onstage-logo-sub {
  display: block;
  margin-bottom: 5px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .20em;
  color: var(--pink);
}

.onstage-logo-main {
  display: block;
  font-size: 29px;
  font-weight: 900;
  line-height: .9;
  letter-spacing: .04em;
  color: #111111;
}

.onstage-logo-main b {
  color: var(--pink);
  font-weight: 900;
}

.brand.brand-onstage:hover {
  opacity: .78;
}

@media (max-width: 600px) {
  .onstage-logo-sub {
    margin-bottom: 4px;
    font-size: 8px;
    letter-spacing: .16em;
  }

  .onstage-logo-main {
    font-size: 23px;
  }
}


/* ==================================================
   ON STAGE 王冠ロゴマーク
================================================== */
.crown-mark {
  font-size: 22px;
  line-height: 1;
  font-style: normal;
  font-weight: 700;
}

/* ==================================================
   CMS連携：登録画像表示
================================================== */
.group-photo,
.profile-photo,
.idol-profile-photo,
.idol-avatar img,
.mini-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.group-photo,
.profile-photo { position: absolute; inset: 0; }
.group-visual .badge,
.profile-visual .badge { z-index: 3; }
.group-visual::after,
.profile-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.16));
}
.idol-avatar { overflow: hidden; }
.idol-avatar img { border-radius: 50%; }
.idol-big { overflow: hidden; }
.idol-profile-photo { border-radius: inherit; }
.mini-photo { object-fit: cover; border-radius: 50%; padding: 0; }

/* CMS広告画像 */
.ad-poster { display:block; overflow:hidden; position:relative; }
.ad-poster img { width:100%; height:100%; object-fit:cover; display:block; }
.ad-overlay { position:absolute; left:16px; right:16px; bottom:14px; z-index:2; color:#fff; font-size:12px; font-weight:900; text-shadow:0 1px 8px rgba(0,0,0,.55); }
.paid-ad .wrap > img { width:160px; height:74px; object-fit:cover; border-radius:8px; border:1px solid rgba(255,255,255,.35); }
@media (max-width: 760px) { .paid-ad .wrap > img { width:100%; height:120px; } }

/* ==================================================
   CMS v2：週間ランキング表示
================================================== */
.week-period {
  margin: 6px 0 0;
  color: #8a8f9a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}
.total-votes {
  display: block;
  margin-top: 4px;
  color: #8a8f9a;
  font-size: 11px;
  font-weight: 700;
}

/* ==================================================
   CMS v2：有料広告枠
================================================== */
.cms-ad-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 18px 0 24px;
  padding: 10px 14px;
  border: 1px solid #eceef3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(18, 24, 40, .06);
  overflow: hidden;
}
.cms-ad-banner > span {
  align-self: start;
  padding: 4px 7px;
  border-radius: 999px;
  background: #f3f4f7;
  color: #777d88;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}
.cms-ad-banner img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 9px;
}
.cms-ad-banner strong {
  max-width: 200px;
  color: #17171c;
  font-size: 14px;
  line-height: 1.45;
}
.cms-ad-ranking { margin-top: 0; }
.cms-ad-area { margin-top: 20px; }

.side-ad.side-ad-image {
  padding: 14px;
  background: #fff;
  color: #17171c;
}
.side-ad.side-ad-image > span {
  display: inline-block;
  margin-bottom: 10px;
  color: #838894;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}
.side-ad.side-ad-image a {
  display: block;
}
.side-ad.side-ad-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
}
.side-ad.side-ad-image strong {
  display: block;
  margin-top: 10px;
  color: #17171c;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .cms-ad-banner {
    grid-template-columns: 1fr;
    padding: 10px;
  }
  .cms-ad-banner img { height: 120px; }
  .cms-ad-banner strong { max-width: none; }
}

/* ==================================================
   CMS v3：固定ページ・フォーム
================================================== */
.cms-page-body{margin:0 0 28px;color:#4b505c;line-height:1.9}.cms-page-body h2{margin:34px 0 12px;color:#17171c;font-size:23px}.cms-page-body h3{margin:26px 0 10px;color:#17171c;font-size:18px}.cms-page-body p{margin:0 0 16px}.cms-page-body ul{margin:0 0 18px;padding-left:1.35em}.cms-page-body li{margin:5px 0}.centered-copy{max-width:780px;margin-left:auto;margin-right:auto;text-align:center}.legal-wrap{max-width:860px}.form-success{margin:0 0 22px;padding:15px 17px;border:1px solid #bfead4;border-radius:12px;background:#effaf4;color:#146b47;font-weight:800}.page-cta{display:flex;justify-content:center;margin-top:28px}.honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
