/* 百合支部リニューアル：ヘッダー（案3）・トップページ（body.yz-site のときだけ読み込む） */
body.yz-site {
	--yz-main: #7E57C2;
	--yz-main-dk: #5E35B1;
	--yz-sub: #26A69A;
	--yz-buy: #FF6D00;
	--yz-chip: #E6DDF5;
	--yz-bg: #F8F5FC;
	--yz-text: #2E2A33;
	--yz-mute: #6E6878;
	--yz-line: #E4DCEF;
	--yz-r: 10px;
}

/* ===== ヘッダー ===== */
.yz-hd { background: #fff; position: relative; z-index: 50; }
.yz-hd-top {
	background-color: #F6F1FC;
	background-image: url("img/lily-wm.png");
	background-repeat: no-repeat; background-position: right 4% center; background-size: auto 140%;
	border-bottom: 1px solid var(--yz-line);
}
.yz-hd-in { display: flex; align-items: center; gap: 22px; min-height: 120px; padding: 6px 16px; box-sizing: border-box; }
.yz-hd-logo { margin: 0; padding: 0; line-height: 0; font-size: 0; }
.yz-hd-logo img { display: block; width: 260px; height: auto; }
.yz-hd-catch { margin: 0; font-size: 14px; letter-spacing: .08em; color: var(--yz-mute); }
.yz-hd-icon { display: none; appearance: none; border: 0; background: none; color: var(--yz-main); width: 44px; height: 44px; padding: 0; cursor: pointer; }
.yz-hd-burger span { display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; border-radius: 2px; }

.yz-nav { background: #fff; border-bottom: 1px solid var(--yz-line); position: relative; }
.yz-nav-in { display: flex; align-items: center; gap: 16px; padding: 0 16px; box-sizing: border-box; }
.yz-nav-list { display: flex; align-items: stretch; gap: 4px; margin: 0; padding: 0; list-style: none; flex: 1; min-width: 0; }
.yz-nav-list li { margin: 0; padding: 0; list-style: none; }
.yz-nav-list a, .yz-nav-list button {
	display: flex; align-items: center; gap: 4px; height: 52px; padding: 0 14px; box-sizing: border-box;
	appearance: none; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700;
	color: var(--yz-text); text-decoration: none; white-space: nowrap; cursor: pointer;
	border-bottom: 3px solid transparent;
}
.yz-nav-list a:hover, .yz-nav-list button:hover { color: var(--yz-main); }
.yz-nav-list a.is-current { border-bottom-color: var(--yz-sub); }
.yz-nav-list button[aria-expanded="true"] { color: var(--yz-main); border-bottom-color: var(--yz-main); }
.yz-nav-list i { font-style: normal; font-size: 12px; transition: transform .2s; }
.yz-nav-list button[aria-expanded="true"] i { transform: rotate(180deg); }
.yz-nav-list a.yz-nav-sister { color: var(--yz-sub); }

.yz-search { display: flex; align-items: center; margin: 0; }
.yz-search input {
	width: 220px; height: 36px; margin: 0; padding: 0 12px; box-sizing: border-box;
	border: 1px solid var(--yz-line); border-right: 0; border-radius: 999px 0 0 999px; background: var(--yz-bg);
	font-size: 14px; color: var(--yz-text);
}
.yz-search input:focus { outline: 2px solid var(--yz-main); outline-offset: -1px; background: #fff; }
.yz-search button { height: 36px; padding: 0 12px; margin: 0; border: 1px solid var(--yz-line); border-radius: 0 999px 999px 0; background: var(--yz-bg); color: var(--yz-main); cursor: pointer; display: flex; align-items: center; }
.yz-search-sp { padding: 10px 16px; background: #F6F1FC; }
.yz-search-sp[hidden] { display: none; }
.yz-search-sp input { flex: 1; width: auto; }
.yz-search-sp button { font-size: 14px; font-weight: 700; }

.yz-sub { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--yz-line); box-shadow: 0 10px 20px rgba(60, 30, 110, .08); padding: 14px 0; }
.yz-sub[hidden] { display: none; }
.yz-sub .wrap { padding: 0 16px; box-sizing: border-box; }
.yz-sub-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.yz-drawer { position: fixed; inset: 0; z-index: 100001; background: rgba(30, 20, 45, .45); }
.yz-drawer[hidden] { display: none; }
.yz-drawer-in { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); overflow-y: auto; background: #fff; padding: 56px 16px 24px; box-sizing: border-box; }
.yz-drawer-close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; background: none; font-size: 26px; color: var(--yz-mute); cursor: pointer; }
.yz-drawer-home { display: block; font-weight: 700; color: var(--yz-text); text-decoration: none; margin-bottom: 8px; }
.yz-drawer-h { margin: 18px 0 8px; font-size: 13px; font-weight: 700; color: var(--yz-main); }
.yz-drawer-sister { display: block; margin-top: 22px; color: var(--yz-sub); font-weight: 700; text-decoration: none; }

/* スマホ：≡・ロゴ中央・検索、下に横スワイプのメニュー */
@media (max-width: 834px) {
	.yz-hd-in { min-height: 64px; gap: 0; justify-content: space-between; padding: 4px 6px; }
	.yz-hd-icon { display: block; flex: 0 0 44px; }
	.yz-hd-logo img { width: 170px; }
	.yz-hd-catch { display: none; }
	.yz-search-pc { display: none; }
	.yz-nav-in { padding: 0; }
	.yz-nav-list { overflow-x: auto; scrollbar-width: none; padding: 8px 10px; gap: 6px; -webkit-overflow-scrolling: touch; }
	.yz-nav-list::-webkit-scrollbar { display: none; }
	.yz-nav-list a, .yz-nav-list button { height: 34px; padding: 0 12px; font-size: 13px; border: 1px solid var(--yz-line); border-radius: 999px; background: var(--yz-bg); }
	.yz-nav-list a.is-current { border-color: var(--yz-sub); background: #E0F2F1; }
	.yz-nav-list button[aria-expanded="true"] { border-color: var(--yz-main); background: var(--yz-chip); }
	.yz-sub { padding: 12px 0; max-height: 60vh; overflow-y: auto; }
}

/* Cocoon の元のヘッダー部品は使わない */
.yz-site #header-container-in, .yz-site .mobile-header-menu-buttons { display: none; }

/* 外部の広告スクリプトがヘッダー（最初の header 要素）の直後に入れる 728x90 枠：ヘッダーと同じ帯に収める */
.yz-hd > div:not([class]):not([id]) { margin: 0 !important; padding: 8px 0 !important; background: #F6F1FC; border-bottom: 1px solid var(--yz-line); overflow: hidden; }
.yz-hd > div:not([class]):not([id]) > div { max-width: 100%; }

/* サイドバーの見出し（Cocoon の紺）を配色Aに */
.yz-site .sidebar h3, .yz-site .sidebar .widget-sidebar-title { background: var(--yz-main) !important; color: #fff !important; border: 0 !important; border-radius: 6px; }

/* フッター（Cocoon の灰色 → 濃いラベンダー） */
.yz-site #footer { background: #3A2F52 !important; color: #E9E3F3 !important; border-top: 4px solid var(--yz-main); }
.yz-site #footer .widget-footer-left h3, .yz-site #footer .widget-footer-right h3,
.yz-site #footer .widget-footer-mobile h3, .yz-site #footer .footer-widget-title { color: #fff !important; background: none !important; border: 0 !important; border-left: 4px solid var(--yz-sub) !important; padding: 0 0 0 10px !important; font-size: 17px; }
.yz-site #footer a { color: #E6DDF5 !important; text-decoration: none; }
.yz-site #footer a:hover { color: #fff !important; text-decoration: underline; }
.yz-site #footer .widget_custom_html a[href*="adult-review.net"] { color: #80CBC4 !important; font-weight: 700; } /* 姉妹サイトはミント */
.yz-site #footer .copyright, .yz-site #footer .source-org { color: #B9AECB !important; }

/* 「今週のオススメ」帯（Cocoon のカルーセル。記事ページなどで表示）：色だけ配色Aに */
.yz-site #carousel { background: var(--yz-bg) !important; border: 0 !important; border-top: 1px solid var(--yz-line) !important; border-bottom: 1px solid var(--yz-line) !important; box-shadow: none !important; }
.yz-site #carousel .carousel-in { background: #fff !important; border: 1px solid var(--yz-line) !important; border-radius: var(--yz-r); }
.yz-site #carousel .carousel-entry-card-title { color: var(--yz-text) !important; }
.yz-site #carousel ~ .carousel-label, .yz-site .carousel .carousel-label, .yz-site [class*="carousel"] .label { background: var(--yz-main) !important; color: #fff !important; border-color: var(--yz-main) !important; }

/* サイト全体の背景（配色A） */
body.yz-site { background-color: var(--yz-bg) !important; background-image: none !important; }

/* 18歳未満の表示（Cocoon のお知らせ欄） */
.yz-site #notice-area.notice-area { background: #FDECEA !important; color: #B3261E !important; font-size: 13px; font-weight: 700; padding: 6px 12px; }
.yz-site #notice-area .notice-area-message { color: #B3261E !important; }

/* ===== トップ ===== */
.yz-home #carousel, .yz-home .carousel { display: none !important; } /* 「今週のオススメ」帯はトップでは出さない */
.yz-home { color: var(--yz-text); }
.yz-home-sec { margin: 0 0 32px; }
.yz-site .yz-home-h2 {
	display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; padding: 0 0 8px 14px; position: relative;
	font-size: 19px; line-height: 1.4; font-weight: 700; color: var(--yz-text) !important; background: none !important;
	border: 0 !important; border-bottom: 2px solid var(--yz-chip) !important; border-radius: 0;
}
.yz-site .yz-home-h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: 12px; width: 5px; border-radius: 3px; background: linear-gradient(var(--yz-main), var(--yz-sub)); }
.yz-site .yz-home-h2::after { display: none; }
.yz-home-h2 span { font-size: 13px; font-weight: 400; color: var(--yz-mute); }

/* チップ（記事ページと同じ見た目） */
.yz-site .yz-chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 13px; border-radius: 999px; background: var(--yz-chip); color: var(--yz-main-dk); font-size: 13.5px; line-height: 1.4; text-decoration: none; }
.yz-site .yz-chip-sit { background: var(--yz-main); color: #fff; }
.yz-site .yz-chip-circle { background: #fff; border: 1px solid var(--yz-line); color: var(--yz-text); }
.yz-site a.yz-chip:hover { filter: brightness(.95); }
.yz-site .yz-chip small { font-size: 11px; opacity: .8; }
.yz-find-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* 新着一覧：大きめの画像 */
.yz-bcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 600px) { .yz-bcards { grid-template-columns: 1fr; gap: 16px; } }
.yz-bcard { margin: 0; background: #fff; border: 1px solid var(--yz-line); border-radius: var(--yz-r); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.yz-bcard:hover { box-shadow: 0 6px 18px rgba(94, 53, 177, .14); transform: translateY(-2px); }
.yz-bcard a { display: block; color: var(--yz-text); text-decoration: none; }
.yz-bcard-img { display: block; aspect-ratio: 4 / 3; background: var(--yz-bg); }
.yz-bcard-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.yz-bcard-body { display: block; padding: 10px 12px 12px; }
.yz-bcard-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; font-weight: 700; line-height: 1.5; }
.yz-bcard-meta { display: block; margin-top: 4px; font-size: 12px; color: var(--yz-mute); }
.yz-bcard-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.yz-bcard-chips .yz-chip { padding: 3px 9px; font-size: 11.5px; }

/* ページ送り */
.yz-paging { margin: 22px 0 0; }
/* ul にも page-numbers が付き、Cocoon がボタン1個分の幅・高さを当てるので打ち消す */
.yz-site .yz-paging ul.page-numbers { width: auto !important; height: auto !important; min-width: 0; border: 0 !important; background: none !important; padding: 0 !important; overflow: visible; }
.yz-site .yz-paging a.page-numbers, .yz-site .yz-paging span.page-numbers { width: auto !important; }
.yz-paging ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.yz-paging li { margin: 0; list-style: none; }
.yz-paging a, .yz-paging span { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; box-sizing: border-box; border-radius: 999px; border: 1px solid var(--yz-line); background: #fff; color: var(--yz-main); font-size: 14px; text-decoration: none; }
.yz-paging .current { background: var(--yz-main); border-color: var(--yz-main); color: #fff; font-weight: 700; }
.yz-paging .dots { border: 0; background: none; color: var(--yz-mute); min-width: 20px; }

/* ピックアップ */
.yz-pick { margin: 0 0 20px; }
.yz-pick-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 8px; }
.yz-site .yz-pick-head h3 { margin: 0; padding: 0; font-size: 16px; color: var(--yz-main-dk) !important; background: none !important; border: 0 !important; }
.yz-site .yz-pick-head h3::before, .yz-site .yz-pick-head h3::after { display: none; }
.yz-pick-head a { font-size: 13px; color: var(--yz-main); }
.yz-pick-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 600px) {
	.yz-pick-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; scrollbar-width: none; margin: 0 -4px; padding: 0 4px; }
	.yz-pick-row::-webkit-scrollbar { display: none; }
	.yz-pick-row .yz-card { flex: 0 0 42%; scroll-snap-align: start; }
}
.yz-site .yz-card { display: block; color: var(--yz-text); text-decoration: none; }
.yz-site .yz-card:hover { color: var(--yz-main); }
.yz-site .yz-card-thumb { display: block; aspect-ratio: 3 / 4; background: var(--yz-bg); border-radius: 6px; overflow: hidden; margin-bottom: 6px; }
.yz-site .yz-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yz-site .yz-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.5; font-weight: 700; }
.yz-site .yz-card-circle { display: block; margin-top: 2px; font-size: 11.5px; color: var(--yz-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== 一覧ページ（サークル・ジャンル・シチュエーション・見どころ・検索） ===== */
.yz-list .yz-bc ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 10px; padding: 0; font-size: 12px; color: var(--yz-mute); }
.yz-list .yz-bc li { display: inline-flex; align-items: center; }
.yz-list .yz-bc li + li::before { content: "›"; margin: 0 6px; color: #B9AECB; }
.yz-list .yz-bc a { color: var(--yz-main); text-decoration: none; }
.yz-list-head { margin: 0 0 22px; padding: 18px 18px 16px; background: linear-gradient(135deg, #F3EDFB, #EAF7F5); border-radius: var(--yz-r); }
.yz-list-kind { display: inline-block; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px; background: var(--yz-main); color: #fff; font-size: 12px; font-weight: 700; }
.yz-site .yz-list-title { margin: 0; padding: 0; font-size: 22px; line-height: 1.45; color: var(--yz-text) !important; background: none !important; border: 0 !important; }
.yz-site .yz-list-title::before, .yz-site .yz-list-title::after { display: none; }
.yz-list-count { margin: 6px 0 0; font-size: 13px; color: var(--yz-mute); }
.yz-list-desc { margin: 10px 0 0; font-size: 14px; line-height: 1.8; }
.yz-list-search { margin-top: 12px; }
.yz-list-search input { flex: 1; width: auto; background: #fff; }
.yz-list-empty { padding: 18px; background: #fff; border: 1px dashed var(--yz-line); border-radius: var(--yz-r); color: var(--yz-mute); }
.yz-site .yz-chip[aria-current="page"] { outline: 2px solid var(--yz-sub); outline-offset: 1px; }

/* メニューの「すべて見る」 */
.yz-sub-all { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--yz-sub) !important; text-decoration: none; }
.yz-sub-all:hover { text-decoration: underline; }
.yz-drawer .yz-sub-all { margin-top: 8px; font-size: 13px; }

/* 「すべて見る」ページ */
.yz-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 28px; }
@media (max-width: 600px) { .yz-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.yz-tile { display: block; background: #fff; border: 1px solid var(--yz-line); border-radius: var(--yz-r); overflow: hidden; color: var(--yz-text); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.yz-tile:hover { box-shadow: 0 6px 18px rgba(94, 53, 177, .14); transform: translateY(-2px); color: var(--yz-main); }
.yz-tile-img { display: block; aspect-ratio: 4 / 3; background: var(--yz-bg); }
.yz-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yz-tile-body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; }
.yz-tile-body b { font-size: 14.5px; line-height: 1.45; }
.yz-tile-body small { font-size: 12px; color: var(--yz-main); }
.yz-index-filter { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.yz-index-filter input { flex: 1; max-width: 360px; height: 40px; padding: 0 14px; border: 1px solid var(--yz-line); border-radius: 999px; background: #fff; font-size: 14px; }
.yz-index-hit { font-size: 13px; color: var(--yz-mute); }
.yz-index-chips { margin: 0 0 28px; }
.yz-tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 800px) { .yz-tiles-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.yz-tile-img { position: relative; }
.yz-tile-rank { position: absolute; top: 6px; left: 6px; z-index: 1; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--yz-main); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.yz-tile:nth-child(1) .yz-tile-rank { background: #D4A017; }
.yz-tile:nth-child(2) .yz-tile-rank { background: #9E9E9E; }
.yz-tile:nth-child(3) .yz-tile-rank { background: #B87333; }

/* 50音 */
.yz-kana-nav { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 10px 0; background: var(--yz-bg); }
.yz-kana-nav a { display: flex; align-items: center; justify-content: center; min-width: 38px; height: 34px; padding: 0 10px; box-sizing: border-box; border-radius: 8px; background: #fff; border: 1px solid var(--yz-line); color: var(--yz-main-dk); font-size: 14px; font-weight: 700; text-decoration: none; }
.yz-kana-nav a:hover { background: var(--yz-main); border-color: var(--yz-main); color: #fff; }
.yz-kana-nav a.is-off { opacity: .35; pointer-events: none; }
.yz-kana-group { margin: 0 0 22px; scroll-margin-top: 70px; }
.yz-kana-group[hidden] { display: none; }
.yz-site .yz-kana-h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 0; font-size: 16px; color: var(--yz-text) !important; background: none !important; border: 0 !important; }
.yz-site .yz-kana-h::before, .yz-site .yz-kana-h::after { display: none; }
.yz-kana-h span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 8px; box-sizing: border-box; border-radius: 8px; background: linear-gradient(135deg, var(--yz-main), var(--yz-sub)); color: #fff; font-size: 15px; }
.yz-kana-h small { font-size: 12px; font-weight: 400; color: var(--yz-mute); }
.yz-kana-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 700px) { .yz-kana-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.yz-kana-list li { margin: 0; padding: 0; list-style: none; }
.yz-kana-list li[hidden] { display: none; }
.yz-kana-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 100%; padding: 10px 12px; box-sizing: border-box; background: #fff; border: 1px solid var(--yz-line); border-radius: 8px; color: var(--yz-text); font-size: 14px; line-height: 1.4; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.yz-kana-list a:hover { border-color: var(--yz-main); box-shadow: 0 3px 10px rgba(94, 53, 177, .12); color: var(--yz-main); }
.yz-kana-list a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yz-kana-list a small { flex: 0 0 auto; min-width: 24px; padding: 1px 7px; border-radius: 999px; background: var(--yz-chip); color: var(--yz-main-dk); font-size: 11.5px; text-align: center; }
.yz-index-other { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 28px; padding: 14px 16px; background: #fff; border: 1px solid var(--yz-line); border-radius: var(--yz-r); }
.yz-index-other a { color: var(--yz-main); font-weight: 700; font-size: 14px; text-decoration: none; }

/* ===== 固定ページ（記事一覧・新着ランキング・利用規約など。中身は管理画面のまま、見た目だけ整える） ===== */
.yz-site.page .article { color: var(--yz-text); }
.yz-site.page .article .entry-title {
	margin: 0 0 20px; padding: 18px 18px 16px; font-size: 22px; line-height: 1.45;
	color: var(--yz-text) !important; background: linear-gradient(135deg, #F3EDFB, #EAF7F5) !important; border: 0 !important; border-radius: var(--yz-r);
}
.yz-site.page .article .entry-title::before, .yz-site.page .article .entry-title::after { display: none; }
.yz-site.page .entry-content h2 {
	position: relative; margin: 34px 0 14px !important; padding: 0 0 8px 14px !important; font-size: 19px; line-height: 1.45;
	color: var(--yz-text) !important; background: none !important; border: 0 !important; border-bottom: 2px solid var(--yz-chip) !important; border-radius: 0;
}
.yz-site.page .entry-content h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: 12px; width: 5px; border-radius: 3px; background: linear-gradient(var(--yz-main), var(--yz-sub)); }
.yz-site.page .entry-content h2::after { display: none; }
.yz-site.page .entry-content h3 { margin: 24px 0 10px !important; padding: 0 0 0 10px !important; font-size: 16px; color: var(--yz-main-dk) !important; background: none !important; border: 0 !important; border-left: 3px solid var(--yz-sub) !important; border-radius: 0; }
.yz-site.page .entry-content h3::before, .yz-site.page .entry-content h3::after { display: none; }
.yz-site.page .entry-content p, .yz-site.page .entry-content li { font-size: 15px; line-height: 1.9; }
.yz-site.page .entry-content a { color: var(--yz-main); }
.yz-site.page .entry-content hr { border: 0; border-top: 1px solid var(--yz-line); }
.yz-site.page .entry-content table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--yz-line); border-radius: var(--yz-r); overflow: hidden; }
.yz-site.page .entry-content th { background: var(--yz-bg); color: var(--yz-main-dk); }
.yz-site.page .entry-content th, .yz-site.page .entry-content td { border: 0; border-bottom: 1px solid var(--yz-line); padding: 10px 12px; }

/* 利用規約：手書きの赤い注意枠を配色に合わせる */
.yz-site.page .legal-page-container { color: var(--yz-text) !important; }
.yz-site.page .legal-page-container > section:first-child { background: #FDF3F6 !important; border: 1px solid #F3C6D3 !important; border-left: 5px solid #D81B60 !important; border-radius: var(--yz-r) !important; padding: 18px 20px !important; }
.yz-site.page .legal-page-container > section:first-child h2 { margin-top: 0 !important; color: #AD1457 !important; border-bottom-color: #F3C6D3 !important; }
.yz-site.page .legal-page-container > section:first-child h2::before { background: #D81B60; }

/* 利用規約：各セクションをカードに */
.yz-site.page .legal-page-container > section { margin: 0 0 18px !important; padding: 20px 22px !important; background: #fff; border: 1px solid var(--yz-line); border-radius: var(--yz-r); box-shadow: 0 2px 8px rgba(94, 53, 177, .05); }
.yz-site.page .legal-page-container > section h2 { margin-top: 0 !important; }
.yz-site.page .legal-page-container > hr { display: none; }
.yz-site.page .legal-page-container > section > h3 { counter-increment: none; }
.yz-site.page .legal-page-container ul { padding-left: 1.2em; }
.yz-site.page .legal-page-container li::marker { color: var(--yz-main); }

/* 記事一覧（Rank Math の HTML サイトマップ） */
.yz-site .rank-math-html-sitemap__title { display: none; }
.yz-site .rank-math-html-sitemap__list { margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid var(--yz-line); border-radius: var(--yz-r); overflow: hidden; }
.yz-site .rank-math-html-sitemap__item { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--yz-line); list-style: none; }
.yz-site .rank-math-html-sitemap__item:nth-child(even) { background: var(--yz-bg); }
.yz-site .rank-math-html-sitemap__item:last-child { border-bottom: 0; }
.yz-site .rank-math-html-sitemap__link { flex: 1; min-width: 0; color: var(--yz-text) !important; font-size: 14px; line-height: 1.6; text-decoration: none; }
.yz-site .rank-math-html-sitemap__link:hover { color: var(--yz-main) !important; text-decoration: underline; }
.yz-site .rank-math-html-sitemap__date { flex: 0 0 auto; font-size: 12px; color: var(--yz-mute); white-space: nowrap; }
@media (max-width: 600px) { .yz-site .rank-math-html-sitemap__item { flex-direction: column; gap: 2px; } }

/* 新着ランキング（Cocoon の人気記事カード）：大きめのカードの2列に */
.yz-site.page .entry-content .popular-entry-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: yzrank; }
@media (max-width: 600px) { .yz-site.page .entry-content .popular-entry-cards { grid-template-columns: 1fr; } }
.yz-site.page .entry-content .popular-entry-card-link { position: relative; display: block; margin: 0 !important; padding: 0 !important; background: #fff; border: 1px solid var(--yz-line) !important; border-radius: var(--yz-r); overflow: hidden; color: var(--yz-text) !important; text-decoration: none; transition: box-shadow .2s, transform .2s; counter-increment: yzrank; }
.yz-site.page .entry-content .popular-entry-card-link:hover { box-shadow: 0 6px 18px rgba(94, 53, 177, .14); transform: translateY(-2px); }
.yz-site.page .entry-content .popular-entry-card-link::before {
	content: counter(yzrank); position: absolute; top: 8px; left: 8px; z-index: 2; width: 30px; height: 30px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; background: var(--yz-main); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.yz-site.page .entry-content .popular-entry-card-link.no-1::before { background: #D4A017; }
.yz-site.page .entry-content .popular-entry-card-link.no-2::before { background: #9E9E9E; }
.yz-site.page .entry-content .popular-entry-card-link.no-3::before { background: #B87333; }
.yz-site.page .entry-content .popular-entry-card { display: block !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.yz-site.page .entry-content .popular-entry-card::before, .yz-site.page .entry-content .popular-entry-card::after { display: none !important; }
.yz-site.page .entry-content .popular-entry-card-thumb { float: none !important; width: 100% !important; margin: 0 !important; aspect-ratio: 4 / 3; background: var(--yz-bg); }
.yz-site.page .entry-content .popular-entry-card-thumb img { width: 100% !important; height: 100% !important; object-fit: contain; display: block; }
.yz-site.page .entry-content .popular-entry-card-content { margin: 0 !important; padding: 10px 12px 12px !important; }
.yz-site.page .entry-content .popular-entry-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px !important; font-weight: 700; line-height: 1.5 !important; }
.yz-site.page .entry-content .popular-entry-card-meta { margin-top: 4px; font-size: 12px; color: var(--yz-mute); }
.yz-site.page .entry-content .ranking-visible .popular-entry-card-link .card-thumb::before,
.yz-site.page .entry-content .ranking-visible .popular-entry-card-link::after { display: none !important; } /* Cocoon の順位ラベルは使わない */

/* 姉妹サイト・このサイトについて */
.yz-home .yz-sister, .yz-list .yz-sister { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 32px; padding: 14px 16px; border-radius: var(--yz-r); background: #E0F2F1; color: #00695C; text-decoration: none; font-size: 13px; }
.yz-home .yz-sister-label { background: var(--yz-sub); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.yz-home .yz-sister-name { font-weight: 700; font-size: 14px; }
.yz-about p { margin: 0 0 .8em; font-size: 14px; line-height: 1.9; color: var(--yz-mute); }

/* 本館（dojindb）へのリンク：インディゴ */
.yz-nav-list a.yz-nav-main, .yz-drawer-main { color: #3F51B5 !important; }
.yz-home .yz-sister.yz-sister-main { background: #ECEFFB; color: #283593; margin-top: -20px; }
.yz-home .yz-sister-main .yz-sister-label { background: #3F51B5; }

/* 404ページ（2026-11-22） */
.yz-404 .yz-list-search { margin-top: 12px; max-width: 520px; }
.yz-404 .yz-list-search input { flex: 1; }
.yz-404-more { margin: 12px 0 0; text-align: right; font-size: 14px; }
.yz-404-more a { color: var(--yz-main); font-weight: 700; text-decoration: none; }
