/*
Theme Name: Momoclo Gazou 2026
Description: ももクロ画像まとめ用のメンバーカラーテーマ（2026年リニューアル）
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: momoclo2026
*/

:root {
	--ink: #2B2233;
	--muted: #6B5F70;
	--line: #F1E4EA;
	--soft: #F7F2F5;
	--blush: #FFF5F9;
	--accent: #FF5FA2;
	--red: #E60033;
	--yellow: #F5C400;
	--pink: #FF5FA2;
	--purple: #8A3FD1;
	--green: #2EAF5B;
	--blue: #2B7BE0;
	--radius: 24px;
	--wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: #FFFFFF;
	color: var(--ink);
	font-family: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
	font-weight: 500;
	line-height: 1.7;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: #C2185B; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #FFFFFF; border-radius: 999px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { background: #FFFFFF; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-dots { display: grid; grid-template-columns: repeat(2, 14px); gap: 3px; }
.brand-dots span { width: 14px; height: 14px; border-radius: 50%; }
.brand-name { font-size: 24px; font-weight: 900; letter-spacing: 0.02em; margin: 0; line-height: 1.2; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.main-nav a { padding: 10px 14px; border-radius: 999px; font-weight: 700; white-space: nowrap; }
.main-nav a.is-current { background: var(--ink); color: #FFFFFF; }
.search-form { display: flex; align-items: center; gap: 8px; background: var(--soft); border-radius: 999px; padding: 4px 4px 4px 16px; }
.search-form input { border: 0; background: transparent; font-size: 14px; width: 140px; outline: none; }
.search-form button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--accent); display: grid; place-items: center; cursor: pointer; }
.sp-search { display: none; margin-left: auto; }
.sp-search summary { list-style: none; width: 44px; height: 44px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; cursor: pointer; }
.sp-search summary::-webkit-details-marker { display: none; }
.sp-search[open] .search-form { position: absolute; left: 16px; right: 16px; top: 72px; box-shadow: 0 10px 30px rgba(43, 34, 51, 0.15); background: #FFFFFF; }
.sp-search[open] .search-form input { width: 100%; }

/* Common blocks */
.site-main { padding-top: 32px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 56px; }
.section-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head h2, .section-title { margin: 0; font-size: 26px; font-weight: 900; line-height: 1.4; }
.section-head .note { font-size: 14px; color: var(--muted); }
.section-head .more { margin-left: auto; font-size: 14px; font-weight: 700; }
.tag { display: inline-flex; align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.6; background: var(--mc, var(--ink)); color: var(--mc-ink, #FFFFFF); }
.thumb { display: block; width: 100%; background: var(--mc-tint, #EFEAF1); object-fit: cover; border-radius: 20px; }
.date { font-size: 12px; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 28px; border-radius: 999px; border: 0; font-weight: 700; cursor: pointer; }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-dark:hover { color: #FFFFFF; background: #43354F; }
.btn-soft { background: var(--soft); color: var(--ink); }
.btn-pink { background: var(--accent); color: var(--ink); font-weight: 900; }
.btn-white { background: #FFFFFF; color: var(--ink); }

/* Hero + picks */
.pickup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hero { grid-column: 1 / -1; position: relative; display: block; height: 460px; border-radius: 32px; overflow: hidden; background: var(--mc-tint, #FFE3EE); }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-body { position: absolute; left: 24px; right: 24px; bottom: 24px; max-width: 720px; padding: 24px 28px; border-radius: 24px; background: rgba(255, 255, 255, 0.94); display: flex; flex-direction: column; gap: 10px; }
.hero-title { font-size: 30px; font-weight: 900; line-height: 1.4; }
.pick { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 22px; background: #FFFFFF; box-shadow: 0 8px 24px rgba(43, 34, 51, 0.08); }
.pick .thumb { flex: none; width: 96px; height: 96px; border-radius: 16px; }
.pick-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pick-title { font-size: 15px; font-weight: 700; line-height: 1.5; }

/* Oshi */
.oshi { background: var(--blush); border-radius: 32px; padding: 32px; }
.oshi-list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.oshi-item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.oshi-face { width: 108px; height: 108px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; background: #FFFFFF; border: 4px solid var(--mc); box-shadow: 0 8px 22px var(--mc-shadow); object-fit: cover; }
.oshi-name { font-weight: 900; font-size: 15px; line-height: 1.3; }
.oshi-count { font-size: 12px; color: var(--muted); }

/* Ranking */
.rank-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rank-card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.rank-card .thumb { aspect-ratio: 3 / 4; border-radius: 24px; }
.rank-no { position: absolute; top: 12px; left: 12px; width: 52px; height: 52px; border-radius: 50%; background: var(--mc); color: var(--mc-ink); display: grid; place-items: center; font-size: 26px; font-weight: 900; box-shadow: 0 6px 16px rgba(43, 34, 51, 0.18); }
.rank-title { font-size: 15px; font-weight: 700; line-height: 1.55; }

/* Post grid */
.post-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.card { display: flex; flex-direction: column; gap: 10px; }
.card .thumb { aspect-ratio: 4 / 3; }
.card-title { font-size: 15px; font-weight: 700; line-height: 1.55; }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--soft); display: grid; place-items: center; font-weight: 700; }
.pagination .page-numbers.current { background: var(--ink); color: #FFFFFF; }
.pagination .dots { background: transparent; }

/* Archive header */
.archive-head { display: flex; align-items: center; gap: 20px; padding: 28px 32px; border-radius: 32px; background: var(--mc-tint, var(--blush)); }
.archive-head .oshi-face { flex: none; width: 96px; height: 96px; }
.archive-head h1 { margin: 0; font-size: 30px; font-weight: 900; line-height: 1.3; }
.archive-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* Follow band */
.follow { border-radius: 32px; background: var(--ink); color: #FFFFFF; padding: 32px 36px; display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; }
.follow-text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.follow h2 { margin: 0; font-size: 22px; font-weight: 900; color: #FFFFFF; }
.follow p { margin: 0; font-size: 14px; color: #E5DCE8; }

/* Single */
.entry { max-width: 760px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.breadcrumb { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.member-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--mc-tint); font-size: 14px; font-weight: 700; }
.member-chip::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--mc); }
.entry-title { margin: 0; font-size: 36px; font-weight: 900; line-height: 1.45; }
.entry-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.entry-meta a { color: var(--muted); }
.share { display: flex; gap: 10px; flex-wrap: wrap; }
.share a, .share button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; cursor: pointer; }
.share .x { background: var(--ink); color: #FFFFFF; }
.share .line { background: #06C755; color: #FFFFFF; }
.share .copy { background: var(--soft); }
.entry-content { font-size: 18px; line-height: 2; }
.entry-content p { margin: 0 0 1.4em; }
.entry-content img { display: block; margin: 0 auto; border-radius: 24px; }
.entry-content a { color: #C2185B; text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding: 20px 24px 20px 44px; margin: 0 0 1.4em; border-radius: 20px; background: var(--soft); font-size: 16px; line-height: 1.9; }
.entry-content iframe { max-width: 100%; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content .wp-caption-text, .entry-content figcaption { font-size: 13px; color: var(--muted); text-align: center; }
.entry-tags { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 24px; background: var(--blush); }
.entry-tags .label { font-size: 16px; font-weight: 900; }
.entry-tags ul { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.entry-tags a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.member-box { display: flex; gap: 20px; align-items: center; padding: 24px; border-radius: 24px; border: 3px solid var(--mc); flex-wrap: wrap; }
.member-box .oshi-face { flex: none; width: 96px; height: 96px; }
.member-box-body { display: flex; flex-direction: column; gap: 4px; flex: 1 1 200px; }
.member-box-body .sub { font-size: 13px; font-weight: 700; color: var(--muted); }
.member-box-body .name { font-size: 22px; font-weight: 900; }
.member-box-body .count { font-size: 14px; color: #4E4352; }
.member-box .btn { background: var(--mc); color: var(--mc-ink); font-weight: 900; }
.post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.post-nav a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 20px; background: var(--soft); }
.post-nav .next { text-align: right; grid-column: 2; }
.post-nav .label { font-size: 12px; font-weight: 700; color: var(--muted); }
.post-nav .title { font-size: 15px; font-weight: 700; line-height: 1.5; }

/* Comments */
.comments { max-width: 760px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.comment-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.comment-list .children { list-style: none; margin: 12px 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.comment-body { padding: 16px 18px; border-radius: 20px; background: var(--soft); }
.comment-meta-line { font-size: 13px; font-weight: 700; }
.comment-meta-line time { font-weight: 500; color: var(--muted); margin-left: 8px; }
.comment-text { font-size: 15px; line-height: 1.7; }
.comment-text p { margin: 4px 0 0; }
.comment-respond { padding-top: 8px; }
.comment-respond .comment-reply-title { font-size: 18px; font-weight: 900; margin: 0 0 10px; }
.comment-form p { margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.comment-form label { font-size: 14px; font-weight: 700; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px; font-size: 15px; background: #FFFFFF; }
.comment-form .comment-form-cookies-consent { flex-direction: row; align-items: center; }
.comment-form .submit { min-height: 48px; padding: 0 28px; border-radius: 999px; border: 0; background: var(--ink); color: #FFFFFF; font-weight: 700; cursor: pointer; }

/* Page */
.page-entry { max-width: 860px; width: 100%; margin: 0 auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #FFFFFF; }
.footer-widgets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 40px; padding-bottom: 8px; font-size: 14px; }
.footer-widgets ul { list-style: none; margin: 0; padding: 0; }
.footer-widgets li { margin: 0; }
.footer-widgets .widget-title { font-size: 15px; font-weight: 900; margin: 0 0 10px; }
.footer-widgets .textwidget p { margin: 0; line-height: 2; }
.footer-widgets .tagcloud a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; border-radius: 999px; background: var(--soft); font-size: 13px !important; }
.footer-bottom { display: flex; gap: 16px 32px; flex-wrap: wrap; justify-content: space-between; align-items: center; padding-top: 32px; padding-bottom: 36px; }
.footer-bottom .brand-name { font-size: 20px; }
.footer-nav { display: flex; gap: 8px 24px; flex-wrap: wrap; font-size: 14px; margin: 0; padding: 0; list-style: none; }

/* SP tab bar */
.tabbar { display: none; }

@media (max-width: 1240px) {
	.site-header > .wrap > .search-form { display: none; }
	.sp-search { display: block; margin-left: 0; }
	.sp-search[open] .search-form { left: auto; right: 24px; width: 320px; }
}

@media (max-width: 1024px) {
	.oshi-list { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 20px; }
	.post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-widgets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	.wrap { padding: 0 16px; }
	.site-header .wrap { gap: 10px; padding-top: 14px; padding-bottom: 14px; flex-wrap: nowrap; }
	.brand-dots { grid-template-columns: repeat(2, 10px); gap: 2px; }
	.brand-dots span { width: 10px; height: 10px; }
	.brand-name { font-size: 16px; white-space: nowrap; }
	.main-nav, .site-header > .wrap > .search-form { display: none; }
	.sp-search { display: block; }
	.site-main { padding-top: 16px; gap: 36px; padding-bottom: 110px; }
	.section-head { margin-bottom: 12px; }
	.section-head h2, .section-title { font-size: 20px; }
	.pickup { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.hero { height: 420px; border-radius: 26px; }
	.hero-body { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; border-radius: 18px; }
	.hero-title { font-size: 19px; }
	.oshi { background: transparent; padding: 0; border-radius: 0; }
	.oshi-list { display: flex; overflow-x: auto; gap: 12px; padding: 4px 2px 12px; }
	.oshi-item { flex: none; width: 76px; }
	.oshi-face { width: 68px; height: 68px; border-width: 3px; }
	.oshi-name { font-size: 12px; }
	.rank-grid { display: flex; overflow-x: auto; gap: 12px; padding-bottom: 4px; }
	.rank-card { flex: none; width: 160px; }
	.rank-card .thumb { aspect-ratio: auto; height: 212px; border-radius: 20px; }
	.rank-no { width: 40px; height: 40px; font-size: 20px; top: 8px; left: 8px; }
	.rank-title { font-size: 13px; }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
	.card .thumb { aspect-ratio: 1; border-radius: 18px; }
	.card-title { font-size: 14px; }
	.archive-head { padding: 18px; gap: 14px; border-radius: 24px; }
	.archive-head .oshi-face { width: 64px; height: 64px; }
	.archive-head h1 { font-size: 22px; }
	.follow { padding: 20px; border-radius: 24px; }
	.follow h2 { font-size: 17px; }
	.entry { gap: 22px; }
	.entry-title { font-size: 24px; }
	.entry-content { font-size: 16px; line-height: 1.95; }
	.entry-content img { border-radius: 20px; }
	.share { display: none; }
	.member-box { padding: 18px; gap: 14px; }
	.member-box .oshi-face { width: 64px; height: 64px; }
	.member-box .btn { width: 100%; }
	.post-nav { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.post-nav .next { grid-column: auto; text-align: left; }
	.footer-widgets { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.tabbar { display: grid; position: fixed; left: 12px; right: 12px; bottom: 16px; z-index: 20; height: 64px; border-radius: 999px; background: var(--ink); grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; box-shadow: 0 10px 30px rgba(43, 34, 51, 0.25); }
	.tabbar a, .tabbar button { color: #FFFFFF; background: transparent; border: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 700; min-height: 44px; justify-content: center; cursor: pointer; }
	.tabbar .is-current svg { stroke: var(--accent); }
	.single .tabbar { grid-template-columns: minmax(0, 1fr) auto auto auto; padding: 0 8px; gap: 8px; }
	.single .tabbar .share-label { color: #FFFFFF; font-size: 13px; font-weight: 700; padding-left: 12px; }
	.single .tabbar .round { width: 44px; height: 44px; border-radius: 50%; background: #FFFFFF; color: var(--ink); display: grid; place-items: center; }
	.single .tabbar .line-pill { height: 44px; padding: 0 14px; border-radius: 999px; background: #06C755; color: #FFFFFF; display: grid; place-items: center; font-size: 13px; }
	.single .tabbar .pink { background: var(--accent); }
}
