/*
Theme Name: ジッソク
Theme URI: https://jissoku.com/
Description: 旧ジッソク（静的サイト）のデザインを再現したWordPressテーマ。ポイ活ゲーム案件レビュー向け。
Author: jissoku
Version: 1.0
*/

:root {
--bg: #f2f4f6;
--card: #ffffff;
--text: #333333;
--text-mute: #777777;
--line: #e3e6e8;
--accent: #1a73e8;
--accent-dark: #1558b8;
--header: #2c3e50;
--warn: #fff8db;
--warn-line: #e8d98a;
--max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
margin: 0;
font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic",
Meiryo, system-ui, sans-serif;
color: var(--text);
background: var(--bg);
line-height: 1.9;
font-size: 16px;
}

img { max-width: 100%; height: auto; }
a { color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* PR bar */
.pr-bar {
background: #e9ecef;
font-size: .75rem;
color: var(--text-mute);
text-align: center;
padding: 5px 16px;
}

/* Header */
.site-header { background: var(--header); padding: 0; }
.site-header .wrap {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
min-height: 64px;
flex-wrap: wrap;
}
.logo {
font-weight: 700;
font-size: 1.35rem;
letter-spacing: .04em;
text-decoration: none;
color: #fff;
}
.logo span { color: #7db9ff; }
.site-desc { color: #b8c4cf; font-size: .72rem; margin: -6px 0 8px; }
.nav { display: flex; gap: 4px; font-size: .85rem; flex-wrap: wrap; }
.nav a { color: #e8eef4; text-decoration: none; padding: 6px 12px; border-radius: 4px; }
.nav a:hover { background: rgba(255,255,255,.12); }

/* 2-column layout */
.layout {
display: grid;
grid-template-columns: minmax(0,1fr) 320px;
gap: 24px;
margin: 24px auto;
max-width: var(--max);
padding: 0 16px;
align-items: start;
}
@media (max-width: 900px) { .layout { grid-template-columns: minmax(0,1fr); } }
.layout > main, .layout > .sidebar { min-width: 0; }

/* Card */
.box { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 24px; margin-bottom: 24px; }
main .box:last-child { margin-bottom: 0; }

/* Headings */
h2 {
font-size: 1.15rem;
margin: 0 0 18px;
padding: 10px 14px;
background: #f2f5f8;
border-left: 5px solid var(--accent);
border-radius: 3px;
}
article h2 { margin-top: 34px; }
h3 { font-size: 1.02rem; margin: 26px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--accent); }
.lead { color: var(--text-mute); font-size: .92rem; margin: 0 0 16px; }

/* Entry list (home) */
.entry-list { display: flex; flex-direction: column; gap: 14px; }
.entry-card {
display: flex;
gap: 16px;
text-decoration: none;
color: inherit;
border: 1px solid var(--line);
border-radius: 6px;
padding: 14px;
background: #fff;
transition: box-shadow .15s;
}
.entry-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.thumb {
flex: 0 0 150px;
height: 100px;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-weight: 700;
font-size: .85rem;
text-align: center;
padding: 8px;
line-height: 1.4;
}
.thumb.t1 { background: linear-gradient(135deg,#1a73e8,#5c9dff); }
.thumb.t2 { background: linear-gradient(135deg,#e8710a,#ffb45c); }
.thumb.t3 { background: linear-gradient(135deg,#188038,#5bc476); }
.entry-body { min-width: 0; }
.entry-title { font-weight: 700; font-size: 1rem; margin: 0 0 6px; line-height: 1.5; }
.entry-excerpt { font-size: .84rem; color: var(--text-mute); margin: 0 0 6px; }
.entry-meta { font-size: .74rem; color: #999; }
.entry-meta .cat { background: var(--accent); color: #fff; border-radius: 3px; padding: 1px 8px; margin-right: 8px; font-size: .7rem; }
@media (max-width: 600px) { .entry-card { flex-direction: column; } .thumb { flex-basis: auto; width: 100%; } }

/* Sidebar */
.sidebar .box { padding: 0; overflow: hidden; }
.widget-title { background: var(--header); color: #fff; font-size: .9rem; font-weight: 700; padding: 10px 16px; margin: 0; border: 0; }
.widget-body { padding: 16px; font-size: .88rem; }
.widget-body ul { margin: 0; padding: 0; list-style: none; }
.widget-body li { border-bottom: 1px dashed var(--line); }
.widget-body li:last-child { border-bottom: none; }
.widget-body li a { display: block; padding: 9px 2px; text-decoration: none; color: var(--text); font-size: .85rem; line-height: 1.5; }
.widget-body li a:hover { color: var(--accent); }
.profile-icon { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg,#2c3e50,#1a73e8); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.3rem; margin: 0 auto 10px; }
.profile-name { text-align: center; font-weight: 700; margin: 0 0 8px; }
.profile-text { font-size: .82rem; color: var(--text-mute); margin: 0; }

/* Tables */
.table-scroll { overflow-x: auto; margin: 14px 0; -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; min-width: 600px; border-collapse: collapse; font-size: .86rem; }
table.compare th, table.compare td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
table.compare thead th { background: #f2f5f8; font-weight: 600; white-space: nowrap; }
table.compare tbody th { background: #fafbfc; font-weight: 600; }
/* generic tables in content */
article table { width: 100%; border-collapse: collapse; font-size: .86rem; margin: 14px 0; }
article table th, article table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
article table thead th { background: #f2f5f8; font-weight: 600; }
.rank { display: inline-block; background: #e8710a; color: #fff; border-radius: 3px; font-size: .7rem; padding: 1px 7px; margin-right: 6px; vertical-align: 2px; }
.scroll-hint { font-size: .76rem; color: var(--text-mute); margin: 4px 0 0; }

/* CTA */
.cta { display: inline-block; background: #e8710a; color: #fff !important; text-decoration: none; font-weight: 700; padding: 13px 28px; border-radius: 6px; font-size: .95rem; box-shadow: 0 2px 0 #b55606; }
.cta:hover { background: #f8821b; }
.cta-note { font-size: .74rem; color: var(--text-mute); margin-top: 8px; }
.cta-box { background: #fff7ef; border: 1px solid #f5ddc4; border-radius: 6px; padding: 20px; text-align: center; margin: 22px 0; }

/* todo highlight */
.todo { background: var(--warn); border-bottom: 1px dashed var(--warn-line); padding: 0 3px; }

/* Single article (1 column) */
main.wrap { display: block; max-width: 800px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 28px 32px; margin: 24px auto; }
@media (max-width: 600px) { main.wrap { padding: 20px 16px; } }

/* Article body */
article p { margin: 14px 0; }
article ul { padding-left: 22px; }
article li { margin: 6px 0; }
.hero-meta, .entry-info { font-size: .78rem; color: var(--text-mute); }
h1.entry-h1 { font-size: 1.45rem; line-height: 1.5; margin: 0 0 10px; }

.toc { background: #f8f9fa; border: 1px solid var(--line); border-radius: 6px; padding: 14px 20px; margin: 20px 0; }
.toc p { margin: 0 0 6px; font-weight: 700; font-size: .9rem; }
.toc ol { margin: 0; padding-left: 20px; font-size: .86rem; }
.toc a { color: var(--accent); text-decoration: none; }

.pros-cons { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 18px 0; }
.pros, .cons { border-radius: 6px; padding: 16px 18px; font-size: .88rem; }
.pros { background: #f0f9f2; border: 1px solid #cfe8d6; }
.cons { background: #fdf3f2; border: 1px solid #f0d4d1; }
.pros h4, .cons h4 { margin: 0 0 8px; font-size: .92rem; }
.pros ul, .cons ul { margin: 0; padding-left: 20px; }

blockquote { margin: 18px 0; padding: 10px 18px; background: #f8f9fa; border-left: 4px solid #ccc; color: var(--text-mute); }

/* Footer */
.site-footer { background: var(--header); margin-top: 40px; padding: 28px 0 36px; font-size: .82rem; color: #b8c4cf; }
.site-footer .fnav { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; justify-content: center; }
.site-footer a { color: #dfe7ee; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.copy { font-size: .76rem; text-align: center; margin: 0; }

@media (max-width: 600px) { body { font-size: 15.5px; } .box { padding: 18px 16px; } }

/* Article decoration components */
.box-point { background: #eef6ff; border-left: 5px solid #2f6fb0; border-radius: 6px; padding: 14px 18px; margin: 18px 0; }
.box-point .box-title { font-weight: 700; color: #2f6fb0; margin: 0 0 6px; font-size: .95rem; }
.box-warn { background: #fff7e0; border-left: 5px solid #e6a700; border-radius: 6px; padding: 14px 18px; margin: 18px 0; }
.box-warn .box-title { font-weight: 700; color: #b07d00; margin: 0 0 6px; font-size: .95rem; }
.marker { background: linear-gradient(transparent 60%, #ffe97a 60%); font-weight: 700; }

.memo { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0; }
.memo .memo-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: #2f4858; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; }
.memo .memo-body { position: relative; background: #f2f7f4; border: 1px solid #cfe3d6; border-radius: 10px; padding: 12px 16px; font-size: .92rem; }
.memo .memo-body::before { content: ""; position: absolute; left: -8px; top: 16px; border-style: solid; border-width: 6px 8px 6px 0; border-color: transparent #cfe3d6 transparent transparent; }
.memo .memo-name { font-size: .72rem; color: #667; margin: 0 0 4px; font-weight: 700; }

.flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; margin: 18px 0; }
.flow .step { flex: 1 1 140px; background: #fff; border: 2px solid #2f6fb0; border-radius: 8px; padding: 10px 12px; text-align: center; font-size: .85rem; position: relative; }
.flow .step .step-no { display: inline-block; background: #2f6fb0; color: #fff; border-radius: 4px; font-size: .7rem; padding: 1px 8px; margin-bottom: 6px; font-weight: 700; }
.flow .arrow { align-self: center; font-size: 1.2rem; color: #2f6fb0; font-weight: 700; }

.cycle { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; background: #f7f4ef; border: 1px solid #e2dccf; border-radius: 10px; padding: 14px; margin: 18px 0; font-weight: 700; }
.cycle .unit { background: #fff; border: 2px solid #a0522d; color: #7c3a1d; border-radius: 999px; padding: 6px 16px; font-size: .95rem; }
.cycle .gt { color: #a0522d; font-size: 1.1rem; }
.cycle-note { text-align: center; font-size: .78rem; color: #777; margin: -8px 0 18px; }

.stars { color: #f5a623; font-size: 1.3rem; letter-spacing: 2px; }
