/* IDOLWatch サイト共通ヘッダー・フッター・メニュー（案E）。色は Elementor のグローバル変数（--iw-*）を優先。 */
.iw-s-header, .iw-s-footer, .iw-s-drawer {
	--s-primary: var(--iw-color-primary, #C73C77);
	--s-yellow: var(--iw-color-yellow, #FFD93D);
	--s-turq: var(--iw-color-turquoise, #2ED3C8);
	--s-turq-text: var(--iw-color-turquoise-text, #138F87);
	--s-pink-soft: var(--iw-color-pink-soft, #FCE8F1);
	--s-ink: var(--iw-color-ink, #26232B);
	--s-muted: var(--iw-color-muted, #6B6775);
	--s-line: var(--iw-color-line, #ECEAF0);
	font-family: "Noto Sans JP", sans-serif;
	color: var(--s-ink);
	box-sizing: border-box;
}
.iw-s-header *, .iw-s-footer *, .iw-s-drawer * { box-sizing: border-box; }
.iw-s-header img.iw-s-logo, .iw-s-footer img.iw-s-logo, .iw-s-drawer img.iw-s-logo { display: block; height: 26px; width: auto; max-width: none; }
.iw-s-logo.is-text { font-family: "Montserrat", sans-serif; font-weight: 800; font-style: italic; font-size: 22px; color: var(--s-primary); }
.iw-s-drawer img.iw-s-logo--sm { height: 18px; }
.iw-s-footer img.iw-s-logo--white { height: 30px; filter: brightness(0) invert(1); }

/* ヘッダー */
.iw-s-header { background: #fff; border-bottom: 1px solid var(--s-line); position: relative; z-index: 60; }
.iw-s-header__in { max-width: 1328px; margin: 0 auto; display: flex; align-items: center; gap: 32px; padding: 14px 24px; }
.iw-s-brand { display: block; flex-shrink: 0; line-height: 0; }
.iw-s-nav { display: flex; gap: 24px; align-items: center; font-size: 14px; font-weight: 500; }
.iw-s-nav > a, .iw-s-area > summary { color: var(--s-ink) !important; text-decoration: none; white-space: nowrap; padding: 8px 0; }
.iw-s-nav > a:hover, .iw-s-area > summary:hover { color: var(--s-primary) !important; }
.iw-s-nav > a.is-current { color: var(--s-primary) !important; font-weight: 700; }
.iw-s-area { position: relative; }
.iw-s-area > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.iw-s-area > summary::-webkit-details-marker { display: none; }
.iw-s-area > summary svg { color: var(--s-muted); }
.iw-s-area__menu { position: absolute; top: calc(100% + 8px); left: -16px; min-width: 220px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--s-line); box-shadow: 0 8px 24px rgba(38,35,43,.12); }
.iw-s-area__menu a { padding: 8px 10px; border-radius: 8px; color: var(--s-ink) !important; text-decoration: none; font-size: 14px; }
.iw-s-area__menu a:hover { background: var(--s-pink-soft); }
.iw-s-area__menu .iw-s-area__all { grid-column: 1 / -1; font-size: 13px; color: var(--s-primary) !important; }
.iw-s-search { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--s-line); border-radius: 999px; background: #FAF9FB; color: var(--s-muted); margin: 0 0 0 auto; width: 260px; }
.iw-s-search input { border: 0 !important; background: transparent !important; font: inherit; font-size: 13px; outline: none; width: 100%; padding: 0 !important; min-height: 0 !important; box-shadow: none !important; color: var(--s-ink); }
.iw-s-search:focus-within { border-color: var(--s-primary); background: #fff; }
.iw-s-today { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--s-yellow); color: var(--s-ink) !important; font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap; }
.iw-s-today:hover { filter: brightness(.96); }
.iw-s-icon { width: 44px; height: 44px; border: 0 !important; padding: 0 !important; background: transparent !important; color: var(--s-ink) !important; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 10px; }
.iw-s-icon:hover { background: #F6F5F8 !important; }
.iw-s-only-sp { display: none; }
@media (max-width: 1279px) {
	/* 検索欄が狭くなる幅では虫めがねボタン（メニュー内の検索欄を開く）にする */
	.iw-s-header .iw-s-search { display: none; }
	.iw-s-today { margin-left: auto; }
	.iw-s-only-sp { display: inline-flex; }
}
@media (max-width: 1023px) {
	.iw-s-header__in { gap: 0; padding: 8px 8px 8px 16px; }
	.iw-s-header img.iw-s-logo { height: 18px; }
	.iw-s-nav, .iw-s-header .iw-s-search { display: none; }
	.iw-s-today { margin-left: auto; margin-right: 4px; min-height: 32px; padding: 0 12px; font-size: 11px; }
	.iw-s-only-sp { display: inline-flex; }
}

/* メニュー（引き出し） */
.iw-s-drawer { margin: 0 0 0 auto; padding: 0; border: 0; width: min(420px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; background: #fff; overflow-y: auto; }
.iw-s-drawer::backdrop { background: rgba(38,35,43,.45); }
.iw-s-drawer[open] { animation: iw-s-in .18s ease-out; }
@keyframes iw-s-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.iw-s-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--s-line); }
.iw-s-drawer__body { padding: 16px; display: flex; flex-direction: column; gap: 18px; }
.iw-s-search--block { width: 100%; margin: 0; min-height: 46px; font-size: 14px; }
.iw-s-search--block input { font-size: 16px; } /* iOS のズーム防止 */
.iw-s-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.iw-s-quick a { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 12px; color: var(--s-ink) !important; text-decoration: none; }
.iw-s-quick b { font-size: 15px; }
.iw-s-quick span { font-size: 11px; }
.iw-s-quick__today { background: var(--s-yellow); }
.iw-s-quick__weekend { background: var(--s-turq); color: #0F3D3A !important; }
.iw-s-drawer__nav { display: flex; flex-direction: column; }
.iw-s-drawer__nav a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; border-bottom: 1px solid #F1EFF4; color: var(--s-ink) !important; text-decoration: none; font-weight: 700; font-size: 16px; }
.iw-s-drawer__nav a[aria-current] { color: var(--s-primary) !important; }
.iw-s-drawer__nav span { font-family: "Montserrat", sans-serif; font-style: italic; font-weight: 700; font-size: 11px; color: var(--s-primary); }
.iw-s-label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; color: var(--s-muted); }
.iw-s-drawer__areas div { display: flex; flex-wrap: wrap; gap: 8px; }
.iw-s-drawer__areas a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--s-turq); color: var(--s-turq-text) !important; font-size: 13px; text-decoration: none; }
.iw-s-drawer__sub { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; padding-top: 6px; }
.iw-s-drawer__sub a { color: var(--s-ink) !important; }
html.iw-s-lock { overflow: hidden; }

/* フッター */
.iw-s-footer { background: var(--s-ink); color: #E9E7EE; }
.iw-s-footer__in { max-width: 1328px; margin: 0 auto; padding: 48px 24px 28px; display: flex; flex-direction: column; gap: 32px; }
.iw-s-foot { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.iw-s-foot__brand { display: flex; flex-direction: column; gap: 12px; }
.iw-s-foot__brand a { align-self: flex-start; line-height: 0; }
.iw-s-foot__tagline { font-size: 13px; color: #C9C5D3; }
.iw-s-foot__lead { font-size: 12px; color: #A9A4B6; line-height: 1.7; }
.iw-s-foot__col { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.iw-s-foot__col a { color: #E9E7EE !important; text-decoration: none; }
.iw-s-foot__col a:hover { color: #fff !important; text-decoration: underline; }
.iw-s-foot__title { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .08em; }
.iw-s-foot__title.is-yellow { color: var(--s-yellow); } .iw-s-foot__title.is-turq { color: var(--s-turq); } .iw-s-foot__title.is-pink { color: var(--s-pink-soft); } .iw-s-foot__title.is-gray { color: #C9C5D3; }
.iw-s-foot__areas { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.iw-s-foot__bottom { border-top: 1px solid #3A3642; padding-top: 18px; color: #A9A4B6; }
.iw-s-foot__bottom small { font-size: 12px; }
@media (max-width: 1023px) {
	.iw-s-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
	.iw-s-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.iw-s-footer__in { padding: 32px 20px 28px; gap: 20px; }
	.iw-s-footer img.iw-s-logo--white { height: 24px; }
	.iw-s-foot__col { gap: 8px; }
	.iw-s-foot__title { font-size: 11px; }
	body:has(.iw-e-sticky) .iw-s-footer__in { padding-bottom: 100px; }
}
