:root {
	--as-bg: #0d0f1a;
	--as-bg2: #0a0c15;
	--as-bar: #10132a;
	--as-panel: #151829;
	--as-panel2: #1b1f33;
	--as-line: #2a2f48;
	--as-line2: #1c2036;
	--as-text: #eef0f7;
	--as-sub: #b8bdd3;
	--as-muted: #8a90ab;
	--as-accent: #8b5cf6;
	--as-grad: linear-gradient(135deg, #a78bfa 0%, #7c3aed 55%, #6366f1 100%);
	--as-link: #7dd3fc;
	--as-ok: #34d399;
	--as-radius: 16px;
	--as-font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
}

html { background: var(--as-bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--as-bg) !important; color: var(--as-text); font: 16px/1.75 var(--as-font); }
body a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

#as-top { background: var(--as-bg2); border-bottom: 1px solid var(--as-line2); position: relative; z-index: 20; }
.as-top__in { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 14px 20px; }
.as-logo { display: flex; align-items: center; gap: 10px; flex: none; color: var(--as-text); }
.as-logo__mark { width: 38px; height: 38px; flex: none; }
.as-logo__txt { display: flex; flex-direction: column; line-height: 1.1; }
.as-logo__txt b { font-size: 22px; letter-spacing: .01em; font-weight: 800; }
.as-logo__txt b i { font-style: normal; background: var(--as-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.as-logo__txt small { font-size: 11px; color: var(--as-muted); letter-spacing: .12em; margin-top: 3px; }
#as-top .as-search { flex: 1; margin: 0; }
#as-top .as-search input { width: 100%; box-sizing: border-box; height: 42px; border-radius: 999px; border: 1px solid var(--as-line); background: #141729; color: var(--as-text); padding: 0 16px 0 40px; font-size: 14px; outline: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%236b7194' d='M15.5 14h-.79l-.28-.27a6.5 6.5 0 1 0-.7.7l.27.28v.79l5 4.99L20.49 19zm-6 0A4.5 4.5 0 1 1 14 9.5 4.5 4.5 0 0 1 9.5 14'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: 14px center; background-size: 18px; }
#as-top .as-search input:focus { border-color: var(--as-accent); }
#as-top .as-search input::placeholder { color: var(--as-muted); }
.as-later { flex: none; font-size: 14px; color: #d6d9ea; border: 1px solid var(--as-line); border-radius: 999px; padding: 9px 16px; white-space: nowrap; }
.as-later:hover { border-color: var(--as-accent); }
.as-genrebar { background: var(--as-bar); border-bottom: 1px solid var(--as-line2); }
.as-genrebar__in { max-width: 1120px; margin: 0 auto; display: flex; gap: 6px; padding: 8px 20px; overflow-x: auto; scrollbar-width: none; }
.as-genrebar__in::-webkit-scrollbar { display: none; }
.as-genrebar a { flex: none; font-size: 14px; color: #c9cde2; padding: 6px 14px; border-radius: 8px; }
.as-genrebar a:hover { background: #1b1f3a; }
.as-genrebar a.is-on { background: var(--as-grad); color: #fff; }

#as-container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
#as-main { padding: 22px 0 56px; min-height: 60vh; }

.as-hero { text-align: center; padding: 34px 16px 26px; }
.as-hero__eyebrow { margin: 0; font-size: 12px; letter-spacing: .22em; color: #a78bfa; font-weight: 700; }
.as-hero__title { margin: 6px 0 8px; font-size: 34px; line-height: 1.3; font-weight: 800; }
#as-main .as-hero__title, #as-main .as-archive-head h1, #as-main .as-h2, #as-main .as-genre-tile b { color: var(--as-text); opacity: 1; }
.as-hero__desc { margin: 0; color: var(--as-sub); font-size: 15px; }
.as-hero__desc b { color: #fff; }

.as-sec { margin-top: 34px; }
.as-sec__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.as-h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; margin: 0; color: var(--as-text); }
.as-h2::before { content: ""; width: 22px; height: 22px; border-radius: 7px; background: var(--as-grad); box-shadow: 0 0 0 3px rgba(139, 92, 246, .18); flex: none; }
.as-more { color: var(--as-link); font-weight: 700; font-size: 14px; white-space: nowrap; }

.as-archive-head { margin: 4px 0 20px; }
.as-archive-head h1 { font-size: 28px; line-height: 1.35; margin: 0 0 8px; font-weight: 800; }
.as-archive-page { font-size: 16px; color: var(--as-muted); font-weight: 400; }
.as-archive-desc { margin: 0; color: var(--as-sub); font-size: 14.5px; }
.as-archive-date { display: inline-block; margin-left: 8px; color: var(--as-muted); font-size: 13px; }

.as-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.as-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #dfe2f0; background: var(--as-panel); border: 1px solid var(--as-line); border-radius: 999px; padding: 6px 14px; }
.as-chip:hover { border-color: var(--as-accent); color: #fff; }
.as-chip .n { font-size: 12px; color: var(--as-muted); }
.as-fetish-group { margin-top: 26px; }
.as-fetish-group .as-h2 { margin-bottom: 12px; }

.as-genre-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.as-genre-tile { display: flex; flex-direction: column; gap: 4px; background: var(--as-panel); border: 1px solid var(--as-line); border-radius: 14px; padding: 16px 18px; }
.as-genre-tile:hover { border-color: var(--as-accent); }
.as-genre-tile b { font-size: 17px; }
.as-genre-tile .n { font-size: 13px; color: #c4b5fd; font-weight: 700; }
.as-genre-tile small { font-size: 12.5px; color: var(--as-sub); line-height: 1.6; }
.as-genre-tiles--compact { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.as-genre-tiles--compact .as-genre-tile { padding: 14px 16px; gap: 2px; }
.as-genre-tiles--compact .as-genre-tile b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.as-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px 0 0; }
.as-pagination a, .as-pagination span { min-width: 40px; text-align: center; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--as-line); background: var(--as-panel); color: #d6d9ea; font-size: 14px; box-sizing: border-box; }
.as-pagination .as-page-current { background: var(--as-grad); border-color: transparent; color: #fff; }
.as-pagination .as-page-gap { border: 0; background: none; }

#as-main form.as-search { display: flex; gap: 8px; margin: 0 0 22px; }
#as-main form.as-search input { flex: 1; height: 44px; border-radius: 12px; border: 1px solid var(--as-line); background: var(--as-panel); color: var(--as-text); padding: 0 14px; font-size: 15px; }
#as-main form.as-search button { height: 44px; border: 0; border-radius: 12px; background: var(--as-grad); color: #fff; font-weight: 700; padding: 0 20px; cursor: pointer; }
.as-section-title { font-size: 19px; margin: 26px 0 12px; }
.as-search-count { margin-left: 8px; font-size: 13px; color: var(--as-muted); font-weight: 400; }

#as-foot { border-top: 1px solid var(--as-line2); background: var(--as-bg2); text-align: center; padding: 26px 16px 40px; color: var(--as-sub); font-size: 14px; }
#as-foot-nav ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
#as-foot-nav a { color: #d6d9ea; }
.as-foot__note { margin: 8px 0 4px; font-size: 12.5px; color: var(--as-muted); }
.as-foot__copy { margin: 0; font-size: 12.5px; color: var(--as-muted); }
.as-foot__fresh { max-width: 1080px; margin: 0 auto 18px; }
.as-fresh-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: 12.5px; }
.as-fresh-links a { color: var(--as-sub); }
.as-fresh-links__label { color: var(--as-muted); font-weight: 700; }
.as-fresh-links__more { color: var(--as-link) !important; }

.as-banner-area { margin: 16px 0 0; text-align: center; }

#as-main #mainContentInner { padding-top: 0; }
#as-main #postHeader { margin: 0 0 22px; }
#as-main .entry-title,
#as-main #postHeader h1 { font-size: 28px; line-height: 1.4; margin: 0 0 14px; padding: 0; color: var(--as-text); font-weight: 800; }
#as-main #postContent,
#as-main .entry-content { color: var(--as-text); }
#as-main #postContent h2 { font-size: 20px; line-height: 1.45; margin: 38px 0 12px; padding: 0 0 8px; border-bottom: 2px solid var(--as-line); color: var(--as-text); background: none; }
#as-main #postContent h2::before, #as-main #postContent h2::after { display: none; }
#as-main #postContent h3 { font-size: 16.5px; line-height: 1.5; margin: 22px 0 8px; padding: 0 0 0 10px; border-left: 4px solid var(--as-accent); color: var(--as-text); background: none; }
#as-main #postContent p { margin: 0 0 16px; line-height: 1.9; font-size: 15px; color: #dfe2ee; }
#as-main #postContent a { color: var(--as-link); }
#as-main #postContent table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14.5px; }
#as-main #postContent th, #as-main #postContent td { border-bottom: 1px solid var(--as-line); padding: 9px 10px; text-align: left; vertical-align: top; line-height: 1.6; color: #e6e8f2; }
#as-main #postContent th { width: 8.5em; color: var(--as-sub); font-weight: 600; white-space: nowrap; background: var(--as-panel); }
#as-main #postContent ul, #as-main #postContent ol { margin: 0 0 16px; padding-left: 1.4em; }
#as-main #postContent li { margin: 0 0 4px; line-height: 1.8; color: #dfe2ee; }
#as-main .wpcf7 input[type=text], #as-main .wpcf7 input[type=email], #as-main .wpcf7 input[type=url], #as-main .wpcf7 textarea, #as-main .wpcf7 select, #as-main .wpcf7 input.wpcf7-quiz {
	width: 100%; box-sizing: border-box; background: var(--as-panel); color: var(--as-text); border: 1px solid var(--as-line); border-radius: 10px; padding: 10px 12px; font-size: 15px; }
#as-main .wpcf7 .wpcf7-form-control-wrap select.wpcf7-select { -webkit-appearance: menulist; appearance: menulist; }
#as-main .wpcf7 input[type=submit] { background: var(--as-grad); color: #fff; border: 0; border-radius: 12px; padding: 12px 28px; font-weight: 700; cursor: pointer; }

@media (max-width: 768px) {
	.as-top__in { padding: 10px 14px; gap: 10px; flex-wrap: wrap; }
	.as-logo__txt b { font-size: 19px; }
	#as-top .as-search { order: 3; flex-basis: 100%; }
	#as-top .as-search input { height: 38px; }
	.as-later { margin-left: auto; padding: 6px 12px; font-size: 13px; }
	.as-genrebar__in { padding: 8px 14px; }
	#as-container { padding: 0 14px; }
	#as-main { padding-top: 14px; }
	.as-hero__title { font-size: 26px; }
	.as-archive-head h1, #as-main .entry-title, #as-main #postHeader h1 { font-size: 22px; }
	.as-genre-tiles { grid-template-columns: 1fr; }
	.as-genre-tiles--compact { grid-template-columns: repeat(2, 1fr); }
	#as-main #postContent table, #as-main #postContent tbody, #as-main #postContent tr, #as-main #postContent th, #as-main #postContent td { display: block; width: auto; }
	#as-main #postContent th { border-bottom: none; padding: 9px 10px 3px; white-space: normal; background: transparent; font-size: 12.5px; }
	#as-main #postContent td { padding: 0 10px 10px; }
}

/* 通常の固定ページ（運営者情報・プライバシーポリシー・お問い合わせ）: JIN:R の記事枠は白・文字はサイト共通の明るい色で「白地に白」になっていた（2026-09-25 ユーザー指摘）→ 記事枠をサイトの暗い配色に */
/* JIN:R はカスタマイザの色を ID（#mainContent・#jinrArticle）で白に塗るので、ID で上書きする */
body.page-template-default #mainContent { background-color: transparent; }
body.page-template-default #jinrArticle { background-color: var(--as-panel); color: var(--as-text); border: 1px solid var(--as-line); border-radius: var(--as-radius); padding-top: 32px; padding-bottom: 24px; }
body.page-template-default .jinr-article h1,
body.page-template-default .jinr-article h2,
body.page-template-default .jinr-article h3,
body.page-template-default .jinr-article strong,
body.page-template-default .jinr-article b { color: var(--as-text); }
body.page-template-default .jinr-article p,
body.page-template-default .jinr-article li,
body.page-template-default .jinr-article dd,
body.page-template-default .jinr-article td { color: var(--as-sub); }
body.page-template-default .jinr-article h2,
body.page-template-default .jinr-article h3 { border-color: var(--as-line); }
body.page-template-default .jinr-article a { color: var(--as-link); }
body.page-template-default .jinr-article table,
body.page-template-default .jinr-article th,
body.page-template-default .jinr-article td { border-color: var(--as-line); background: transparent; }
body.page-template-default .jinr-article th { background: var(--as-panel2); color: var(--as-text); }
body.page-template-default .jinr-article input:not([type="submit"]),
body.page-template-default .jinr-article textarea,
body.page-template-default .jinr-article select { background: var(--as-bg2); color: var(--as-text); border: 1px solid var(--as-line); }
