/*
Theme Name: スロット倶楽部
Theme URI: https://sro-kurabu.com/
Author: スロット倶楽部
Description: スロット倶楽部のオリジナルWordPressテーマ。スマスロ・ボーナストリガーのレビューや狙い目考察、日記を載せるブログ向け。
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: slot-club
*/

/* =========================================
   色・サイズの設定(ここを変えると全体が変わる)
========================================= */
:root {
  --text: #262626;
  --muted: #6b6b6b;
  --accent: #c0392b;
  --accent-dark: #962d22;
  --accent-soft: #fdecea;
  --line: #e6e6e6;
  --bg: #f5f5f5;
  --card: #ffffff;
  --home: #111111;       /* HOMEボタンの黒 */
  --radius: 12px;
}

/* =========================================
   基本
========================================= */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

img { max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

.container-narrow { max-width: 800px; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background: #fff;
  clip: auto !important;
  clip-path: none;
  color: #000;
  display: block;
  height: auto;
  left: 8px;
  padding: 12px 20px;
  top: 8px;
  width: auto;
  z-index: 100000;
}

/* =========================================
   ヘッダー
========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.header-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
}

.site-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
}

.site-title a { color: var(--accent); }

.site-tagline {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.global-nav .nav-list {
  display: flex;
  gap: 4px;
  padding: 8px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.global-nav a {
  display: block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.global-nav a:hover { background: var(--accent-soft); }

/* いま見ているページ(赤) */
.global-nav .current-menu-item > a,
.global-nav .current-menu-parent > a,
.global-nav .current-menu-ancestor > a,
.global-nav .current-post-ancestor > a {
  background: var(--accent);
  color: #fff;
}

/* HOMEだけは常に黒 */
.global-nav .menu-home > a {
  background: var(--home);
  color: #fff;
}

.global-nav .menu-home > a:hover { background: #333; }

/* =========================================
   パンくず
========================================= */
.breadcrumb {
  padding: 14px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 0;
}

.breadcrumb li + li::before {
  content: "›";
  margin: 0 8px;
}

.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }

/* =========================================
   トップ:チップとバナー
========================================= */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0 4px;
}

.chip {
  padding: 4px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
}

.chip:hover { border-color: var(--accent); color: var(--accent); }

.banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0 0;
}

.banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 110px;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 700;
  overflow: hidden;
  /* 重ね順(上→下):文字を読みやすくする影 / 設定した画像 / 画像がないときの色 */
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.05) 70%),
    var(--img, none),
    var(--fallback);
  background-size: cover;
  background-position: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.banner small {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  opacity: 0.9;
}

.banner:hover { filter: brightness(1.08); }

.b0 { --fallback: linear-gradient(135deg, #2b2b2b, #5a5a5a); }
.b1 { --fallback: linear-gradient(135deg, #c0392b, #e8776b); }
.b2 { --fallback: linear-gradient(135deg, #2c3e50, #5d7b99); }
.b3 { --fallback: linear-gradient(135deg, #8e44ad, #c58ae0); }
.b4 { --fallback: linear-gradient(135deg, #d68910, #f2c14e); }

/* =========================================
   レイアウト(スマホ:1列 / PC:本文+サイドバー)
========================================= */
.layout {
  display: grid;
  gap: 32px;
  padding: 24px 0 40px;
}

.content { min-width: 0; }

.section-title {
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 5px solid var(--accent);
  font-size: 1.1rem;
  line-height: 1.5;
}

.block { margin-bottom: 36px; }

/* =========================================
   おすすめ記事(横スクロール)
========================================= */
.picks {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.pick {
  flex: none;
  width: 220px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.pick:hover { border-color: var(--accent); }
.pick .thumb { aspect-ratio: 4 / 3; }

.pick h3 {
  margin: 0;
  padding: 8px 12px 12px;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* =========================================
   記事カード(一覧)
========================================= */
.thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8e8e8;
  color: #999;
  font-size: 0.75rem;
  overflow: hidden;
}

.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-list { display: grid; gap: 14px; }

.post-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.post-card:hover { border-color: var(--accent); }

.post-card .thumb {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--muted);
}

.post-tag {
  padding: 0 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-weight: 700;
}

a.post-tag:hover { background: var(--accent); color: #fff; }

.post-card h3 {
  margin: 4px 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.post-card p {
  display: none;      /* スマホでは抜粋を隠してすっきり見せる */
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

.empty {
  padding: 24px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

/* ページ送り */
.pager {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.pager .page-numbers {
  min-width: 36px;
  padding: 4px 10px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.85rem;
}

.pager a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.pager .current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager .dots { border-color: transparent; background: transparent; }

/* =========================================
   お知らせ
========================================= */
.news {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.news li {
  display: flex;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px dashed var(--line);
  font-size: 0.88rem;
}

.news li:last-child { border-bottom: none; }
.news time { flex: none; color: var(--muted); }
.news a:hover { color: var(--accent); text-decoration: underline; }

/* =========================================
   カテゴリのトップページの見出し
========================================= */
.cat-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 170px;
  margin-top: 16px;
  padding: 20px 20px 18px;
  border-radius: var(--radius);
  color: #fff;
  /* 重ね順(上→下):文字を読みやすくする影 / 設定した画像 / 画像がないときの色 */
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.15) 80%),
    var(--img, none),
    var(--fallback);
  background-size: cover;
  background-position: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.cat-label {
  margin: 0 0 2px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  opacity: 0.85;
}

.cat-hero h1 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.4;
}

.cat-intro {
  margin: 8px 0 0;
  max-width: 640px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.cat-count {
  margin: 10px 0 0;
  font-size: 0.78rem;
  opacity: 0.9;
}

/* =========================================
   一覧ページの見出し
========================================= */
.archive-head { margin: 24px 0 16px; }

.archive-head h1 {
  margin: 0;
  padding-left: 12px;
  border-left: 5px solid var(--accent);
  font-size: 1.3rem;
  line-height: 1.5;
}

.archive-head p { margin: 8px 0 0; font-size: 0.9rem; color: var(--muted); }

/* =========================================
   サイドバー
========================================= */
.widget {
  margin-bottom: 20px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.widget h2 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: var(--accent);
}

.widget p { margin: 0; font-size: 0.85rem; }

.search-box { display: flex; gap: 6px; }

.search-box input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.9rem;
}

.search-box button {
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.search-box button:hover { background: var(--accent-dark); }

.profile-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.avatar {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-head strong { font-size: 1rem; }

.ranking { counter-reset: rank; }

.ranking li {
  counter-increment: rank;
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.85rem;
  line-height: 1.5;
}

.ranking li:last-child { border-bottom: none; }

.ranking li::before {
  content: counter(rank);
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 22px;
}

.ranking a:hover { color: var(--accent); text-decoration: underline; }

.cat-list li { border-bottom: 1px dashed var(--line); }
.cat-list li:last-child { border-bottom: none; }

.cat-list a {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.88rem;
}

.cat-list a:hover { color: var(--accent); }
.cat-list span { color: var(--muted); }

/* =========================================
   記事ページ
========================================= */
.article-card {
  padding: 20px 16px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.entry-header { margin-bottom: 20px; }

.entry-title {
  margin: 8px 0 12px;
  font-size: 1.5rem;
  line-height: 1.4;
}

.entry-thumb {
  margin: 0 0 4px;
  border-radius: var(--radius);
  overflow: hidden;
}

.entry-thumb img { display: block; width: 100%; }

.entry-content { font-size: 1rem; overflow-wrap: anywhere; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.2em; }

.entry-content h2 {
  margin: 2.2em 0 0.8em;
  padding-left: 12px;
  border-left: 5px solid var(--accent);
  font-size: 1.25rem;
  line-height: 1.5;
}

.entry-content h3 {
  margin: 1.8em 0 0.6em;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent-soft);
  font-size: 1.1rem;
  line-height: 1.5;
}

.entry-content h4 { margin: 1.5em 0 0.5em; font-size: 1rem; }

.entry-content ul,
.entry-content ol { margin: 0 0 1.2em; padding-left: 1.6em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 0.3em; }

.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content a:hover { color: var(--accent-dark); }

.entry-content blockquote {
  margin: 0 0 1.2em;
  padding: 8px 16px;
  border-left: 4px solid var(--line);
  color: var(--muted);
}

.entry-content table {
  width: 100%;
  margin: 0 0 1.2em;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.entry-content th,
.entry-content td { padding: 8px 10px; border: 1px solid var(--line); }
.entry-content th { background: #f4f4f4; }

.entry-content figure { margin: 0 0 1.2em; }
.entry-content figcaption { margin-top: 6px; font-size: 0.82rem; color: var(--muted); }

.entry-footer { margin-top: 24px; font-size: 0.85rem; }
.entry-footer .tags a { margin-right: 8px; color: var(--muted); }
.entry-footer .tags a:hover { color: var(--accent); }

/* 記事の中で使える部品(図解・強調・注意書き) */
.entry-content .em {
  background: linear-gradient(transparent 60%, #ffe08a 60%);
  font-weight: 700;
}

.entry-content .note {
  margin: 24px 0;
  padding: 12px 16px;
  background: #fff8e1;
  border-left: 4px solid #f0b400;
  font-size: 0.9rem;
}

.entry-content .diagram {
  margin: 24px 0;
  padding: 16px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.entry-content .diagram h3 {
  margin: 0 0 16px;
  padding: 0;
  border: none;
  font-size: 1rem;
}

.entry-content .diagram figcaption { margin-top: 12px; }

.flow { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }

.flow-block {
  padding: 12px;
  text-align: center;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  border-radius: 10px;
  font-weight: 700;
}

.flow-block small { display: block; font-weight: 400; color: var(--muted); }
.flow-arrow { text-align: center; color: var(--accent); font-size: 1.2rem; line-height: 1; }
.flow-return { margin-top: 8px; text-align: center; font-size: 0.9rem; color: var(--accent); }

.compare { display: grid; gap: 12px; }

.compare-item {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f6f6f6;
}

.compare-item.is-new { background: var(--accent-soft); border-color: var(--accent); }
.compare-item h4 { margin: 0 0 4px; }
.compare-item p { margin: 0; font-size: 0.95rem; }

.entry-content .check-list { margin: 0; padding: 0; list-style: none; }

.check-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px dashed var(--line);
}

.check-list li:last-child { border-bottom: none; }

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 4px;
  color: var(--accent);
}

/* WordPressの標準クラス */
.alignleft { float: left; margin: 0 1em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.82rem; color: var(--muted); }

/* 前後の記事・関連記事 */
.post-navigation .nav-links { display: grid; gap: 10px; margin: 24px 0; }

.post-navigation a {
  display: block;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.88rem;
  line-height: 1.5;
}

.post-navigation a:hover { border-color: var(--accent); color: var(--accent); }
.related { margin-top: 32px; }

/* =========================================
   注意書き・フッター
========================================= */
.notice {
  margin: 0 0 24px;
  padding: 12px 16px;
  background: #fff8e1;
  border-left: 4px solid #f0b400;
  font-size: 0.85rem;
}

.site-footer {
  padding: 24px 0;
  background: #262626;
  color: #ddd;
  font-size: 0.85rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 12px;
}

.footer-links a:hover { text-decoration: underline; }
.site-footer p { margin: 0; }

/* =========================================
   PC向けの調整
========================================= */
@media (min-width: 640px) {
  .flow { flex-direction: row; align-items: center; }
  .flow-block { flex: 1; }
  .compare { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 800px) {
  .banners { grid-template-columns: repeat(4, 1fr); }
  .banner { min-height: 130px; }

  .layout { grid-template-columns: 1fr 300px; align-items: start; }
  .container-narrow .layout { grid-template-columns: 1fr; }

  .post-card { grid-template-columns: 160px 1fr; padding: 14px; }
  .post-card h3 { font-size: 1.02rem; }
  .post-card p { display: block; }

  .pick { width: 240px; }

  .cat-hero { min-height: 220px; padding: 28px 32px 24px; }
  .cat-hero h1 { font-size: 2rem; }

  .article-card { padding: 28px 32px 32px; }
  .entry-title { font-size: 1.8rem; }

  .post-navigation .nav-links { grid-template-columns: 1fr 1fr; }
  .post-navigation .nav-next { text-align: right; }
}

/* =========================================
   ユーザー評価・コメント(v1.2.0〜)
========================================= */
[hidden] { display: none !important; }

.user-feedback {
  margin-top: 24px;
  padding: 20px 16px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* 星(--v に 0〜5 を入れると、その分だけ色がつく。小数もOK) */
.sc-stars {
  display: inline-block;
  position: relative;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0;
  color: transparent;
  background: linear-gradient(90deg, #f0a500 calc(var(--v, 0) / 5 * 100%), #d9d9d9 0);
  -webkit-background-clip: text;
  background-clip: text;
  white-space: nowrap;
}

.ur-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.ur-avg { margin: 0; }
.ur-avg-num { font-size: 1.8rem; line-height: 1; }
.ur-of, .ur-count, .ur-none { color: var(--muted); font-size: .9rem; }

.ur-vote {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.ur-label { margin: 0 0 8px; font-weight: 700; }
.ur-hint { margin: 8px 0 0; color: var(--muted); font-size: .8rem; }

/* 0.5点ずつ選べるボタン(星の上に10個、すき間なく並べる) */
.sc-stars-input { font-size: 2.6rem; cursor: pointer; }
.ur-btn {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.ur-btn:nth-of-type(1)  { left: 0; }
.ur-btn:nth-of-type(2)  { left: 10%; }
.ur-btn:nth-of-type(3)  { left: 20%; }
.ur-btn:nth-of-type(4)  { left: 30%; }
.ur-btn:nth-of-type(5)  { left: 40%; }
.ur-btn:nth-of-type(6)  { left: 50%; }
.ur-btn:nth-of-type(7)  { left: 60%; }
.ur-btn:nth-of-type(8)  { left: 70%; }
.ur-btn:nth-of-type(9)  { left: 80%; }
.ur-btn:nth-of-type(10) { left: 90%; }
.ur-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.ur-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; }
.ur-selected { color: var(--muted); font-size: .9rem; }
.ur-msg { margin: 10px 0 0; font-weight: 700; }
.ur-msg:empty { display: none; }

.ur-submit,
.comment-form .submit {
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.ur-submit:hover:not(:disabled),
.comment-form .submit:hover { background: var(--accent-dark); }
.ur-submit:disabled { background: #bdbdbd; cursor: not-allowed; }

/* コメント */
.comments-area { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.comments-title { margin: 0 0 12px; font-size: 1.05rem; }
.comments-count { color: var(--muted); font-weight: 400; }
.comment-list, .comment-list .children { margin: 0; padding: 0; list-style: none; }
.comment-list .children { margin-left: 16px; padding-left: 12px; border-left: 3px solid var(--line); }
.comment-body { padding: 12px 0; border-bottom: 1px solid var(--line); }
.comment-meta { margin-bottom: 4px; color: var(--muted); font-size: .8rem; }
.comment-author .fn { font-weight: 700; color: var(--text); font-style: normal; }
.comment-author .says { display: none; }
.comment-content p { margin: 0 0 .6em; overflow-wrap: anywhere; }
.reply a { font-size: .8rem; color: var(--accent); }
.comment-awaiting-moderation { color: var(--muted); font-size: .85rem; }

.comment-respond { margin-top: 22px; }
.comment-reply-title { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; }
.comment-notes, .comment-form p { margin: 0 0 12px; }
.comment-notes { color: var(--muted); font-size: .85rem; }
.comment-form label { display: block; margin-bottom: 4px; font-size: .9rem; font-weight: 700; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.comment-form-cookies-consent label { display: inline; font-weight: 400; font-size: .8rem; }

@media (min-width: 768px) {
  .user-feedback { padding: 28px 32px 32px; }
}

/* 読んだ位置の線(画面の下に固定。左がスタート、右がゴールの絵) */
.reading-progress {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 5px;
  background: linear-gradient(to top, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0));
  z-index: 9999;
  pointer-events: none;
}
.rp-track {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .12);
  overflow: hidden;
}
.reading-progress-fill {
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .1s linear;
}
.rp-icon { display: inline-flex; flex: none; line-height: 0; }
.rp-goal {
  filter: grayscale(1);
  opacity: .5;
  transition: opacity .3s, transform .3s, filter .3s;
}
.rp-goal.is-goal {
  filter: none;
  opacity: 1;
  transform: scale(1.18);
}
@media (prefers-reduced-motion: reduce) {
  .reading-progress-fill, .rp-goal { transition: none; }
}
