@charset "UTF-8";

/* ==========================================================
   スカトロ野郎のスカトロジー通信　黒と茶色のテーマ
   ========================================================== */

:root {
  --bg: #0d0907;
  --bg-soft: #170f0a;
  --card: #21160f;
  --card-hover: #2b1d13;
  --line: rgba(196, 132, 74, 0.28);
  --line-strong: rgba(196, 132, 74, 0.6);
  --text: #efe3d3;
  --text-soft: #bfa891;
  --gold: #c4844a;
  --gold-light: #f2c18c;
  --gold-deep: #7a4a24;
  --gold-grad: linear-gradient(135deg, #5e3519 0%, #f2c18c 28%, #c4844a 50%, #ffe0b8 66%, #7a4a24 100%);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  --glow: 0 0 22px rgba(196, 132, 74, 0.25);
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", YuGothic, Meiryo, "Noto Sans JP", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(196, 132, 74, 0.12), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

body.is-locked {
  overflow: hidden;
}

img,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--gold-light);
  text-underline-offset: 3px;
}

a:hover {
  color: #ffe0b8;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 2px;
}

strong {
  color: #ffe9cf;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.gold-text {
  background: var(--gold-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  from { background-position: 0% 0; }
  to { background-position: 200% 0; }
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 9, 7, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--gold-grad);
  opacity: 0.8;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  white-space: nowrap;
}

.logo img {
  flex: none;
  border-radius: 8px;
  box-shadow: var(--glow);
}

.header-inner {
  flex-wrap: wrap;
}

.global-nav {
  order: 3;
  flex-basis: 100%;
}

.global-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s;
}

.global-nav a:hover,
.global-nav a[aria-current="page"] {
  background: rgba(196, 132, 74, 0.14);
  color: var(--gold-light);
}

.site-search {
  display: flex;
  flex: 0 1 280px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
}

.site-search input {
  flex: 1;
  min-width: 0;
  padding: 7px 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

.site-search button {
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}

.menu-button {
  display: none;
  position: relative;
  flex: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg-soft);
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-light);
  transition: transform 0.3s, opacity 0.3s, top 0.3s;
}

.menu-button span:nth-child(1) { top: 15px; }
.menu-button span:nth-child(2) { top: 22px; }
.menu-button span:nth-child(3) { top: 29px; }

.menu-button.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-button.is-open span:nth-child(2) { opacity: 0; }
.menu-button.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- ヒーロー ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 16px 84px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(196, 132, 74, 0.22), transparent 60%),
    repeating-linear-gradient(45deg, rgba(196, 132, 74, 0.05) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg, rgba(196, 132, 74, 0.05) 0 1px, transparent 1px 22px),
    #0b0705;
  border-bottom: 1px solid var(--line);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(560px, 80%);
  height: 1px;
  transform: translateX(-50%);
  background: var(--gold-grad);
}

.hero::before { top: 32px; }
.hero::after { bottom: 32px; }

.hero-small {
  padding: 60px 16px 54px;
}

.hero-small::before { top: 20px; }
.hero-small::after { bottom: 20px; }

.hero-kicker {
  position: relative;
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4em;
}

.hero-title {
  position: relative;
  margin: 0;
  font-size: clamp(34px, 7vw, 62px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.14em;
  animation: rise 1.2s ease both;
}

.hero-small .hero-title {
  font-size: clamp(24px, 4.6vw, 38px);
  letter-spacing: 0.08em;
}

.hero-lead {
  position: relative;
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--text);
  font-size: 17px;
  animation: rise 1.2s 0.25s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* キラキラ */

.sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  background: radial-gradient(circle, #fff1e0 0%, #f2c18c 30%, transparent 70%);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  opacity: 0;
  animation: twinkle 3s ease-in-out infinite;
}

.sparkle-dot {
  clip-path: circle(50%);
  background: radial-gradient(circle, #ffe0b8 0%, rgba(196, 132, 74, 0.6) 40%, transparent 70%);
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(45deg); }
}

/* ---------- 共通の枠 ---------- */

main {
  display: block;
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 16px 8px;
}

.section-title {
  position: relative;
  margin: 0 0 28px;
  font-size: clamp(22px, 3.4vw, 28px);
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.1em;
}

.section-title span {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 2px;
  margin: 12px auto 0;
  background: var(--gold-grad);
  box-shadow: var(--glow);
}

.section-lead {
  max-width: 760px;
  margin: -10px auto 28px;
  color: var(--text-soft);
  text-align: center;
}

.breadcrumb {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 16px 0;
  font-size: 14px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-soft);
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 4px;
  color: var(--gold);
}

.breadcrumb a {
  color: var(--text-soft);
}

/* フワッと表示 */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-title, .hero-lead, .gold-text { animation: none; }
}

/* ---------- カード ---------- */

.card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s, background-color 0.35s;
}

.card a:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background: var(--card-hover);
  box-shadow: var(--shadow), var(--glow);
}

.card-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.card a:hover .card-thumb img {
  transform: scale(1.05);
}

.card-thumb::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 224, 184, 0.28), transparent);
  transform: skewX(-20deg);
}

.card a:hover .card-thumb::after {
  animation: sweep 0.9s ease;
}

@keyframes sweep {
  to { left: 130%; }
}

.card-label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid var(--line-strong);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 18px;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.card-desc {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.card-meta {
  color: var(--gold);
  font-size: 13px;
}

/* ---------- ボタン ---------- */

.more {
  margin: 30px 0 0;
  text-align: center;
}

.button {
  display: inline-block;
  margin: 4px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--gold-grad);
  background-size: 200% 100%;
  color: #1c0f06;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--glow);
  transition: background-position 0.6s, transform 0.25s;
}

.button:hover {
  background-position: 100% 0;
  color: #000;
  transform: translateY(-2px);
}

.button-ghost {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--gold-light);
}

.button-ghost:hover {
  background: rgba(196, 132, 74, 0.12);
  color: #ffe0b8;
}

/* ---------- トップ ---------- */

.intro {
  max-width: 820px;
  margin: 0 auto;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(196, 132, 74, 0.08), transparent 60%),
    var(--card);
  box-shadow: var(--shadow);
}

.intro p {
  margin: 0 0 1em;
}

.intro .more {
  margin: 10px 0 0;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cat-grid a {
  display: block;
  height: 100%;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--text);
  text-align: center;
  text-decoration: none;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}

.cat-grid a:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--glow);
}

.cat-grid img {
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
}

.cat-grid strong {
  display: block;
  color: var(--gold-light);
  font-size: 18px;
}

.cat-grid span {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- 記事 ---------- */

.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 16px 0;
}

.article-header {
  position: relative;
  margin-bottom: 30px;
  padding: 38px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0, rgba(196, 132, 74, 0.18), transparent 70%),
    var(--card);
  text-align: center;
  overflow: hidden;
}

.article-cat {
  position: relative;
  display: inline-block;
  margin: 0 0 12px;
  padding: 2px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
}

.article-cat a {
  color: inherit;
  text-decoration: none;
}

.article-header h1 {
  position: relative;
  margin: 0;
  font-size: clamp(23px, 4vw, 32px);
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.article-date {
  position: relative;
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

.article-figure {
  margin: 0 0 30px;
}

.article-figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pr-note {
  margin: 0 0 24px;
  color: var(--text-soft);
  font-size: 13px;
  text-align: right;
}

.article-body {
  font-size: 17px;
}

.article-body > * + * {
  margin-top: 1.3em;
}

.article-body p {
  margin: 0;
}

.article-body p + p {
  margin-top: 1.1em;
}

.article-body h2 {
  position: relative;
  margin: 2.4em 0 1em;
  padding: 14px 18px 14px 22px;
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: linear-gradient(90deg, rgba(196, 132, 74, 0.16), rgba(196, 132, 74, 0.02));
  color: #ffe9cf;
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.5;
}

.article-body h3 {
  margin: 2em 0 0.8em;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line-strong);
  color: var(--gold-light);
  font-size: 19px;
  line-height: 1.55;
}

.article-body ul,
.article-body ol {
  padding: 18px 22px 18px 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
}

.article-body li + li {
  margin-top: 0.4em;
}

.article-body li::marker {
  color: var(--gold);
}

.article-body blockquote {
  position: relative;
  margin: 1.8em 0;
  padding: 20px 24px 20px 54px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(196, 132, 74, 0.14), rgba(196, 132, 74, 0.03));
  color: #ffe9cf;
  font-weight: 700;
}

.article-body blockquote::before {
  content: "✦";
  position: absolute;
  top: 18px;
  left: 20px;
  color: var(--gold-light);
  font-size: 20px;
}

.table-wrap {
  overflow-x: auto;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.7;
}

.article-body th,
.article-body td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-body th {
  background: rgba(196, 132, 74, 0.16);
  color: var(--gold-light);
  white-space: nowrap;
}

.article-body td {
  background: var(--bg-soft);
}

.official-link {
  text-align: center;
}

.official-link a {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #1c0f06;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--glow);
}

.official-link a::after {
  content: " ›";
}

/* 旧記事のレビュー本文 */

.review-box {
  padding: 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.review-box h2:first-child {
  margin-top: 0;
}

.review-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
  margin: 0 0 30px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  font-size: 15px;
}

.review-facts dt {
  color: var(--gold);
  font-weight: 700;
}

.review-facts dd {
  margin: 0;
}

/* 動画プレーヤー */

.player {
  position: relative;
  margin: 1.8em 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #000;
  overflow: hidden;
  box-shadow: var(--glow);
}

.player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 !important;
  padding: 10px 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 700;
  pointer-events: none;
  transition: opacity 0.4s;
}

.player.is-playing .player-title {
  opacity: 0;
}

/* 目次 */

.toc {
  margin: 0 0 32px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
}

.toc-title {
  margin: 0 0 6px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.toc ol {
  margin: 0;
  padding-left: 1.4em;
  font-size: 15px;
}

.toc a {
  color: var(--text);
  text-decoration: none;
}

.toc a:hover {
  color: var(--gold-light);
}

/* 前後の記事 */

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 46px 0 0;
}

.post-nav a {
  display: block;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  text-decoration: none;
}

.post-nav a:hover {
  border-color: var(--line-strong);
}

.post-nav span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.post-nav .next {
  grid-column: 2;
  text-align: right;
}

/* 一覧ページ */

.list-group {
  margin: 0 0 40px;
}

.list-group h2 {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 20px;
}

.list-group ul {
  margin: 0;
  padding: 16px 22px 16px 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.list-group li + li {
  margin-top: 6px;
}

/* 検索 */

.search-form {
  display: flex;
  max-width: 620px;
  margin: 0 auto 20px;
  gap: 8px;
}

.search-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text);
  font: inherit;
}

.search-form button {
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #1c0f06;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.search-status {
  text-align: center;
  color: var(--text-soft);
}

/* ---------- フッター ---------- */

.site-footer {
  position: relative;
  margin-top: 80px;
  padding: 50px 16px 30px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 0, rgba(196, 132, 74, 0.14), transparent 60%),
    #090604;
  text-align: center;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-grad);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.footer-name {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.footer-tagline {
  margin: 4px 0 22px;
  color: var(--text-soft);
  font-size: 14px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--gold-light);
}

.footer-banner {
  width: 100%;
  max-width: 700px;
  height: 200px;
  margin: 0 auto 24px;
  overflow: hidden;
}

.footer-banner iframe {
  display: block;
  width: 700px;
  max-width: none;
  height: 200px;
  border: 0;
  transform-origin: 0 0;
}

.footer-note,
.copyright {
  margin: 4px 0;
  color: var(--text-soft);
  font-size: 13px;
}

/* ---------- 年齢確認 ---------- */

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.88);
}

.age-gate[hidden] {
  display: none;
}

.age-gate-box {
  width: 100%;
  max-width: 440px;
  padding: 34px 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--card);
  text-align: center;
  box-shadow: var(--glow);
  animation: rise 0.6s ease both;
}

.age-gate-title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.age-gate-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.age-gate-buttons button,
.age-gate-buttons a {
  padding: 12px 24px;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.age-gate-buttons button {
  border: 0;
  background: var(--gold-grad);
  color: #1c0f06;
}

.age-gate-buttons a {
  border: 1px solid var(--line-strong);
  color: var(--text);
}

/* ---------- スマホ・タブレット ---------- */

@media (max-width: 960px) {
  .card-list { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; }
  .site-search { order: 3; flex: 1 1 100%; margin-left: 0; }
  .menu-button { display: block; }
  .global-nav {
    display: none;
    order: 4;
    flex-basis: 100%;
  }
  .global-nav.is-open {
    display: block;
    animation: rise 0.35s ease both;
  }
  .global-nav ul {
    flex-direction: column;
    padding: 6px 0 10px;
  }
  .global-nav a {
    padding: 12px 14px;
    border-radius: 10px;
    border-bottom: 1px solid rgba(196, 132, 74, 0.12);
  }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .article-body { font-size: 16px; }
  .logo { font-size: 18px; }
  .hero { padding: 70px 16px 64px; }
  .card-list { gap: 12px; }
  .card-body { padding: 10px 10px 14px; }
  .card-title { font-size: 14px; }
  .card-desc { display: none; }
  .card-meta { font-size: 12px; }
  .cat-grid { gap: 10px; }
  .cat-grid a { padding: 16px 10px; }
  .cat-grid span { font-size: 13px; }
  .intro { padding: 22px 18px; }
  .article-header { padding: 30px 16px 24px; }
  .review-box { padding: 20px 16px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { grid-column: 1; }
}

/* ==========================================================
   スカトロジー通信 追加分（作品ページ・一覧のページ送り）
   ========================================================== */

.card-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #1c0f06;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}

.card-thumb-duga img,
.work-figure-duga img {
  object-position: right center;
}

.work-figure-duga img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.work-label {
  margin: 1.4em 0 0.2em !important;
  color: var(--gold-light);
  font-weight: 700;
}

.work-label:first-child {
  margin-top: 0 !important;
}

.work-title a {
  color: var(--gold-light);
}

.official-link {
  margin-top: 1.6em !important;
  text-align: center;
}

.comment-box {
  margin-top: 28px;
  padding: 26px 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(196, 132, 74, 0.12), rgba(196, 132, 74, 0.02));
}

.comment-title {
  margin-top: 0 !important;
  color: var(--gold-light);
  font-weight: 700;
}

.list-count {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 15px;
  text-align: right;
}

.pager ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.pager a,
.pager span {
  display: inline-block;
  min-width: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
}

.pager a:hover {
  background: rgba(196, 132, 74, 0.18);
  box-shadow: var(--glow);
}

.pager [aria-current="page"] {
  background: var(--gold-grad);
  color: #1c0f06;
  font-weight: 700;
}

.pager .pager-gap {
  border: 0;
  min-width: 0;
  padding: 8px 2px;
}

.link-banner {
  margin: 1.6em 0 0;
  overflow-x: auto;
}

.link-banner iframe {
  display: block;
  margin: 0 auto;
  background: #fff;
}

@media (max-width: 600px) {
  .comment-box { padding: 20px 16px; }
  .card-badge { font-size: 11px; padding: 1px 8px; }
  .pager a, .pager span { min-width: 38px; padding: 6px 8px; }
}

/* サイト名が長いので、スマホではロゴを縮めてメニューボタンを右上に置く */
@media (max-width: 860px) {
  .logo { flex: 1 1 0; min-width: 0; letter-spacing: 0.04em; }
  .logo span { overflow: hidden; text-overflow: ellipsis; }
  .menu-button { flex: none; margin-left: auto; }
}

@media (max-width: 600px) {
  .logo { font-size: 15px; gap: 8px; }
  .logo img { width: 32px; height: 32px; }
}

@media (max-width: 360px) {
  .logo { font-size: 13px; }
}
