/* IDOLWatch グループDB（/search、第2版のルール、DESIGN.md §12-11）
   角丸の箱を使わない・傾けない・区切りは線・英字 Bebas Neue／和文 Noto Sans JP 400/500・X の画像は丸 */
.iw-s {
	--s-pink: var(--iw-color-primary, #C73C77);
	--s-ink: var(--iw-color-ink, #26232B);
	--s-sub: #4A4652;
	--s-muted: var(--iw-color-muted, #6B6775);
	--s-line: #DAD7E0;
	--s-ground: var(--iw-color-ground, #FFFDF8);
	max-width: 1328px;
	margin: 0 auto;
	padding: 0 24px;
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 400;
	font-synthesis: none;
	color: var(--s-ink);
	background: var(--s-ground);
}
.iw-s *, .iw-s *::before, .iw-s *::after { box-sizing: border-box; }
.iw-s a { color: inherit; text-decoration: none; }
.iw-s p { margin: 0; }
.iw-s .iw-s-circle img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.iw-s-num { font-family: "Bebas Neue", sans-serif; font-weight: 400; line-height: 1; }
.iw-s-num.is-pink { color: var(--s-pink); }
.iw-s-circle { flex: 0 0 auto; display: block; width: 104px; height: 104px; border-radius: 50%; overflow: hidden; background: #EDEAF1; }
.iw-s-circle.is-sm { width: 48px; height: 48px; }
.iw-s-h { margin: 0; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; font-weight: 500; }
.iw-s-h__en { font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: 52px; line-height: 1; }
.iw-s-h__ja { font-size: 13px; font-weight: 500; }
.iw-s-h__ja .iw-s-num { font-size: 22px; margin: 0 2px; }
.iw-s-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 2px solid var(--s-ink); }
.iw-s-link { align-self: flex-start; font-size: 13px; font-weight: 500; border-bottom: 1px solid var(--s-ink); padding-bottom: 2px; }
.iw-s-link:hover { color: var(--s-pink); border-color: var(--s-pink); }
.iw-s .iw-s-btn, .elementor .iw-s .iw-s-btn { min-height: 52px; padding: 0 40px; border: 0; border-radius: 0; background: var(--s-pink); color: #fff; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; }
.iw-s .iw-s-btn:hover, .elementor .iw-s .iw-s-btn:hover { background: #A32F61; }

/* パンくず（group.css と同じ見た目） */
.iw-s .iw-g-bc { padding: 14px 0 0; font-size: 12px; color: var(--s-muted); }
.iw-s .iw-g-bc ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.iw-s .iw-g-bc li + li::before { content: "›"; margin: 0 8px; color: #B9B5C0; }
.iw-s .iw-g-bc a:hover { color: var(--s-pink); }

/* 見出し */
.iw-s-hero { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: end; padding-bottom: 24px; border-bottom: 2px solid var(--s-ink); }
.iw-s-hero__text { display: flex; flex-direction: column; gap: 10px; }
.iw-s-hero__en { font-family: "Bebas Neue", sans-serif; font-size: 120px; line-height: .9; }
.iw-s-title { margin: 0; font-size: 28px; font-weight: 500; line-height: 1.4; }
.iw-s-lead { margin-top: 6px !important; max-width: 640px; font-size: 14px; line-height: 1.9; color: var(--s-sub); }
.iw-s-totals { display: flex; gap: 40px; margin: 0; padding-bottom: 6px; }
.iw-s-totals div { display: flex; flex-direction: column; gap: 8px; }
.iw-s-totals dt { font-size: 12px; }
.iw-s-totals dd { margin: 0; }
.iw-s-totals .iw-s-num { font-size: 56px; }

/* 検索フォーム */
.iw-s-form { display: flex; flex-direction: column; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--s-line); }
.iw-s-form__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.iw-s .iw-s-form__q { width: 100%; border: 0; border-bottom: 1px solid var(--s-ink); border-radius: 0; background: transparent; font: inherit; font-size: 22px; padding: 10px 0; outline: none; box-shadow: none; }
.iw-s .iw-s-form__q:focus { border-bottom-color: var(--s-pink); }
.iw-s-form__opts { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; font-size: 14px; }
.iw-s-tabs { display: flex; gap: 22px; }
.iw-s .iw-s-tabs button, .elementor .iw-s .iw-s-tabs button { padding: 0 0 4px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--s-muted); font: inherit; font-size: 14px; cursor: pointer; }
.iw-s .iw-s-tabs button[aria-pressed], .elementor .iw-s .iw-s-tabs button[aria-pressed] { color: var(--s-ink); font-weight: 500; border-bottom-color: var(--s-pink); }
.iw-s .iw-s-tabs button:hover, .elementor .iw-s .iw-s-tabs button:hover { color: var(--s-ink); background: none; }
.iw-s-form__more { flex: 1; min-width: 0; }
.iw-s-form__more summary { display: inline-block; cursor: pointer; list-style: none; padding-bottom: 4px; color: var(--s-muted); }
.iw-s-form__more summary::-webkit-details-marker { display: none; }
.iw-s-form__more summary::after { content: " ▾"; }
.iw-s-form__more[open] summary::after { content: " ▴"; }
.iw-s-form__fields { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 12px; }
.iw-s-form__fields label { display: flex; align-items: center; gap: 8px; }
.iw-s .iw-s-form__fields select, .iw-s .iw-s-form__fields input { border: 0; border-bottom: 1px solid #C9C5D3; border-radius: 0; background: transparent; font: inherit; padding: 6px 0; box-shadow: none; }
.iw-s .iw-s-form__fields select { min-width: 140px; }
.iw-s .iw-s-form__fields input { width: 64px; }
.iw-s-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 16px; font-size: 13px; }
.iw-s-chips a { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border: 1px solid var(--s-ink); }
.iw-s-chips a span { color: var(--s-muted); }
.iw-s-chips a:hover { border-color: var(--s-pink); color: var(--s-pink); }
.iw-s .iw-s-chips .iw-s-chips__clear { border: 0; padding: 6px 4px; color: var(--s-muted); text-decoration: underline; }

/* 今日ステージに立つグループ */
.iw-s-stage { margin-top: 64px; display: flex; flex-direction: column; gap: 20px; }
.iw-s-stage__list { display: flex; gap: 28px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.iw-s-stage__list a { flex: 0 0 120px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13px; }
.iw-s-stage__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.iw-s-stage__list small { font-size: 11px; color: var(--s-muted); }
.iw-s-stage__list a:hover .iw-s-stage__name { color: var(--s-pink); }

/* 入口（活動拠点・コンセプト・結成年・事務所） */
.iw-s-browse { margin-top: 96px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px 72px; }
.iw-s-block { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.iw-s-block > .iw-s-h { padding-bottom: 12px; border-bottom: 2px solid var(--s-ink); }
.iw-s-block .iw-s-h__en { font-size: 44px; }
.iw-s-pref { display: grid; grid-template-columns: repeat(3, 1fr); font-size: 14px; }
.iw-s-pref a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--s-line); border-left: 1px solid var(--s-line); }
.iw-s-pref a:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.iw-s-pref .iw-s-num { font-size: 22px; }
.iw-s-pref a:hover span { color: var(--s-pink); }
.iw-s-pref__more summary { display: inline-block; cursor: pointer; list-style: none; font-size: 13px; border-bottom: 1px solid var(--s-ink); padding-bottom: 2px; }
.iw-s-pref__more summary::-webkit-details-marker { display: none; }
.iw-s-pref__more[open] summary { margin-bottom: 8px; }
.iw-s-chipset { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.iw-s-chipset a { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border: 1px solid var(--s-ink); }
.iw-s-chipset .iw-s-num { font-size: 18px; }
.iw-s-chipset a:hover { background: var(--s-ink); color: #fff; }
.iw-s-debut { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); text-align: center; }
.iw-s-debut a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--s-line); border-left: 1px solid var(--s-line); }
.iw-s-debut a:first-child { border-left: 0; }
.iw-s-debut .iw-s-num { font-size: 28px; }
.iw-s-debut .is-before .iw-s-num { font-size: 22px; padding-top: 6px; }
.iw-s-debut small { font-size: 11px; color: var(--s-muted); }
.iw-s-debut a:hover .iw-s-num { color: var(--s-pink); }
.iw-s-office { display: flex; flex-direction: column; font-size: 14px; }
.iw-s-office a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--s-line); }
.iw-s-office small { font-size: 13px; color: var(--s-muted); white-space: nowrap; }
.iw-s-office a:hover span { color: var(--s-pink); }

/* ランキング・新着 */
.iw-s-rank { margin-top: 96px; display: grid; grid-template-columns: 5fr 7fr; gap: 72px; }
.iw-s-rank .iw-s-block { gap: 0; }
.iw-s-rank .iw-s-block > .iw-s-link { margin-top: 16px; }
.iw-s-ranklist { margin: 0; padding: 0; list-style: none; }
.iw-s-ranklist a { display: grid; grid-template-columns: 40px 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--s-line); }
.iw-s-ranklist a > .iw-s-num { font-size: 30px; }
.iw-s-ranklist li:first-child a > .iw-s-num { font-size: 34px; }
.iw-s-ranklist__name { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iw-s-ranklist__n .iw-s-num { font-size: 24px; }
.iw-s-ranklist__n small { margin-left: 2px; font-size: 11px; }
.iw-s-ranklist a:hover .iw-s-ranklist__name { color: var(--s-pink); }
.iw-s-newface { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding-top: 20px; text-align: center; font-size: 12px; }
.iw-s-newface a { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.iw-s-newface .iw-s-circle { width: 96px; height: 96px; }
.iw-s-newface a:hover span { color: var(--s-pink); }

/* すべてのグループ・検索結果 */
.iw-s-list { margin-top: 96px; scroll-margin-top: 80px; }
.iw-s.is-list:first-child .iw-s-list, .iw-s-form + .iw-s-list { margin-top: 48px; }
.iw-s-sort { display: flex; gap: 18px; font-size: 13px; }
.iw-s-sort a { color: var(--s-muted); padding-bottom: 3px; border-bottom: 2px solid transparent; }
.iw-s-sort a[aria-current] { color: var(--s-ink); font-weight: 500; border-bottom-color: var(--s-pink); }
.iw-s-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 28px; padding-top: 32px; }
.iw-s-item { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; min-width: 0; }
.iw-s-item .iw-s-circle { width: 132px; height: 132px; max-width: 100%; aspect-ratio: 1; height: auto; }
.iw-s-item b { font-size: 15px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.iw-s-item small { font-size: 11px; color: var(--s-muted); }
.iw-s-item:hover b { color: var(--s-pink); }
.iw-s-empty { padding: 32px 0; font-size: 14px; line-height: 1.9; color: var(--s-sub); }
.iw-s-empty a { text-decoration: underline !important; }
.iw-s-pager { margin-top: 48px; display: flex; justify-content: center; gap: 6px; font-size: 14px; }
.iw-s-pager a, .iw-s-pager span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.iw-s-pager__n { font-family: "Bebas Neue", sans-serif; font-size: 18px; border: 1px solid var(--s-line); }
.iw-s-pager span.iw-s-pager__n { background: var(--s-ink); border-color: var(--s-ink); color: #fff; }
.iw-s-pager a.is-step { padding: 0 16px; border: 1px solid var(--s-line); }
.iw-s-pager a:hover { border-color: var(--s-ink); }
.iw-s-more { display: none; }
.iw-s-note { margin: 40px 0 72px !important; font-size: 12px; line-height: 1.8; color: var(--s-muted); }

@media (max-width: 1024px) {
	.iw-s-browse, .iw-s-rank { grid-template-columns: 1fr; gap: 56px; }
	.iw-s-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.iw-s { padding: 0 20px; }
	.iw-s .iw-g-bc { padding-top: 12px; font-size: 11px; }
	.iw-s-h__en { font-size: 36px; }
	.iw-s-h__ja { font-size: 12px; }
	.iw-s-h { flex-direction: column; gap: 4px; }
	.iw-s-hero { margin-top: 16px; grid-template-columns: 1fr; gap: 12px; padding-bottom: 16px; }
	.iw-s-hero__en { font-size: 64px; }
	.iw-s-title { font-size: 18px; }
	.iw-s-lead { margin-top: 0 !important; font-size: 12px; line-height: 1.8; }
	.iw-s-totals { order: -1; position: absolute; right: 20px; gap: 14px; }
	.iw-s-hero { position: relative; }
	.iw-s-totals { top: 6px; }
	.iw-s-totals div { align-items: flex-end; gap: 4px; flex-direction: column-reverse; }
	.iw-s-totals dt { font-size: 10px; }
	.iw-s-totals .iw-s-num { font-size: 26px; }
	.iw-s-form { padding: 18px 0; gap: 12px; }
	.iw-s-form__row { gap: 8px; }
	.iw-s .iw-s-form__q { font-size: 16px; padding: 8px 0; }
	.iw-s .iw-s-btn, .elementor .iw-s .iw-s-btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
	.iw-s-form__opts { gap: 12px 18px; font-size: 13px; justify-content: space-between; }
	.iw-s .iw-s-tabs { gap: 18px; }
	.iw-s .iw-s-tabs button { font-size: 13px; }
	.iw-s-form__more { flex: 0 0 auto; }
	.iw-s-form__more summary { padding: 6px 12px; border: 1px solid var(--s-ink); color: var(--s-ink); font-size: 12px; }
	.iw-s-form__more[open] { flex: 1 0 100%; }
	.iw-s-form__fields { flex-direction: column; gap: 12px; }
	.iw-s-stage { margin: 48px -20px 0 0; gap: 14px; }
	.iw-s-stage .iw-s-head { margin-right: 20px; }
	.iw-s-stage__list { gap: 14px; padding-right: 20px; }
	.iw-s-stage__list a { flex-basis: 84px; font-size: 11px; gap: 6px; }
	.iw-s-stage .iw-s-circle { width: 76px; height: 76px; }
	.iw-s-stage__list small { font-size: 10px; }
	.iw-s-head .iw-s-link { font-size: 12px; }
	.iw-s-browse { margin-top: 48px; gap: 40px; }
	.iw-s-block { gap: 12px; }
	.iw-s-block > .iw-s-h { flex-direction: row; gap: 10px; padding-bottom: 10px; }
	.iw-s-block .iw-s-h__en { font-size: 36px; }
	.iw-s-pref { grid-template-columns: repeat(2, 1fr); font-size: 13px; }
	.iw-s-pref a { padding: 11px 0 11px 12px; }
	.iw-s-pref a:nth-child(3n+1) { padding-left: 12px; border-left: 1px solid var(--s-line); }
	.iw-s-pref a:nth-child(2n+1) { padding: 11px 12px 11px 0; border-left: 0; }
	.iw-s-pref .iw-s-num { font-size: 20px; }
	.iw-s-chipset { gap: 6px; font-size: 13px; }
	.iw-s-chipset a { padding: 7px 12px; }
	.iw-s-chipset .iw-s-num { font-size: 16px; }
	.iw-s-debut { grid-template-columns: repeat(3, 1fr); }
	.iw-s-debut a:nth-child(3n+1) { border-left: 0; }
	.iw-s-debut .iw-s-num { font-size: 24px; }
	.iw-s-office { font-size: 13px; }
	.iw-s-rank { margin-top: 48px; gap: 48px; }
	.iw-s-ranklist a { grid-template-columns: 30px 44px minmax(0, 1fr) auto; gap: 10px; padding: 10px 0; }
	.iw-s-ranklist .iw-s-circle.is-sm { width: 44px; height: 44px; }
	.iw-s-ranklist a > .iw-s-num { font-size: 24px; }
	.iw-s-ranklist li:first-child a > .iw-s-num { font-size: 28px; }
	.iw-s-ranklist__name { font-size: 14px; }
	.iw-s-ranklist__n .iw-s-num { font-size: 22px; }
	.iw-s-newface { grid-template-columns: repeat(3, 1fr); gap: 20px 12px; font-size: 11px; }
	.iw-s-newface a:nth-child(n+4) { display: none; }
	.iw-s-newface .iw-s-circle { width: 84px; height: 84px; }
	.iw-s-list { margin-top: 48px; }
	.iw-s-list .iw-s-head { align-items: flex-end; }
	.iw-s-sort { gap: 12px; font-size: 12px; }
	.iw-s-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 12px; padding-top: 20px; }
	.iw-s-item { gap: 6px; }
	.iw-s-item .iw-s-circle { width: 92px; }
	.iw-s-item b { font-size: 12px; }
	.iw-s-item small { font-size: 10px; }
	.iw-s-pager { display: none; }
	.iw-s-more { margin-top: 28px; display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--s-pink); color: var(--s-pink) !important; font-size: 14px; font-weight: 500; }
	.iw-s-more[aria-busy="true"] { opacity: .5; pointer-events: none; }
	.iw-s-note { margin: 24px 0 40px !important; font-size: 10px; }
}
