/*
Theme Name: FANZAレビュー
Theme URI: https://fanza-ero.com/
Description: fanza-ero.com のためのテーマ。白基調に赤の差し色。女優・作品・ジャンル・デビュー予定のページは fanza-core プラグインが持ち、こちらは枠を貸します。
Author: fanza-ero.com
Version: 1.15.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: fanza-theme
*/

/* ════════════════════════════════════════════════════════
   色と寸法

   1か所にまとめます。
   「赤をもう少し暗く」と思ったとき、ここだけ直せば全部に効きます。
   ════════════════════════════════════════════════════════ */

:root {
  --fz-red:      #e8003a;   /* 差し色。記事の中のボタンと同じ色にしています */
  --fz-red-dark: #c60031;
  --fz-ink:      #222;      /* 本文の字 */
  --fz-sub:      #777;      /* 添える字 */
  --fz-line:     #e8e8e8;
  --fz-bg:       #f2f3f5;   /* ページの地。真っ白だと、どこまでが中身か分かりません */
  --fz-panel:    #fff;      /* 中身を乗せる白い板 */
  --fz-soft:     #fafafa;   /* うっすら敷く色 */
  --fz-head:     #1b1c1f;   /* 画面のいちばん上。ここを濃くすると全体が締まります */
  --fz-head2:    #2a2c31;   /* 上の並び */
  --fz-wrap:     1120px;    /* いちばん外の幅 */
  --fz-read:     760px;     /* 本文の読みやすい幅 */
}

/* ════════════════════════════════════════════════════════
   下ごしらえ
   ════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--fz-bg);
  color: var(--fz-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
               "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: #0b57a4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 読み上げの人のための飛び先。ふだんは見えません。 */
.fzt-skip {
  position: absolute;
  left: -9999px;
}

.fzt-skip:focus {
  left: 8px;
  top: 8px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--fz-red);
  color: #fff;
  border-radius: 4px;
}

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

/* ════════════════════════════════════════════════════════
   ヘッダー
   ════════════════════════════════════════════════════════ */

.fzt-head {
  background: var(--fz-head);
  color: #fff;
}

.fzt-head__in {
  max-width: var(--fz-wrap);
  margin: 0 auto;
  padding: 24px 16px 20px;
  display: flex;
  flex-direction: column;   /* 名前と説明を縦に積みます */
  flex-wrap: wrap;
  align-items: center;      /* 帯の中で中央に置きます */
  justify-content: center;
  gap: 4px;
  text-align: center;
}

.fzt-head__name {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .06em;   /* 大きくすると字が詰まって見えるので、少し空けます */
}

.fzt-head__name a {
  color: #fff;
  text-decoration: none;
}

.fzt-head__name a:hover {
  color: #fff;
  opacity: .8;
}

.fzt-head__desc {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.5;
}

/* 探す窓は、下の帯（メニューと同じ行）に移しました。
   指定は「上の並び」のところにあります。 */

/* ── 上の並び ── */

.fzt-nav {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: var(--fz-head2);
}

/* メニューを左、探す窓を右に置きます。 */
.fzt-nav__in {
  max-width: var(--fz-wrap);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fzt-nav__menu {
  min-width: 0;
}

.fzt-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

/* ── 探す窓 ── */

.fzt-nav__find {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
}

.fzt-nav__find input {
  width: 180px;
  padding: 6px 14px;
  border: 0;
  outline: 0;
  font-size: 13px;
  font-family: inherit;
  background: transparent;
  color: #fff;
}

.fzt-nav__find input::placeholder {
  color: rgba(255, 255, 255, .5);
}

.fzt-nav__find button {
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .7);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.fzt-nav__find button:hover {
  color: #fff;
}

.fzt-nav__list > li > a {
  display: block;
  padding: 12px 18px;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.fzt-nav__list > li > a:hover,
.fzt-nav__list > li.current-menu-item > a {
  color: #fff;
  border-bottom-color: var(--fz-red);
  text-decoration: none;
}

/* ぶら下がるメニュー */
.fzt-nav__list li {
  position: relative;
}

.fzt-nav__list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: 200px;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--fz-line);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  display: none;
}

.fzt-nav__list li:hover > .sub-menu,
.fzt-nav__list li:focus-within > .sub-menu {
  display: block;
}

.fzt-nav__list .sub-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--fz-ink);
}

.fzt-nav__list .sub-menu a:hover {
  background: var(--fz-soft);
  color: var(--fz-red);
  text-decoration: none;
}

/* ════════════════════════════════════════════════════════
   本体の骨組み
   ════════════════════════════════════════════════════════ */

.fzt-main {
  display: block;
  min-height: 50vh;
  padding: 20px 0 40px;
}

/* ── 中身を白い板に乗せます ──
 *
 * 地を薄いグレーにしただけでは、中身との境目がありません。
 * 白い板に乗せて、少し浮かせます。
 *
 * プラグイン側の部品（.fz-sc）にも同じ板を当てます。
 * あちらのCSSがあとから読み込まれることがあるので、
 * 親（.fzt-front）を添えて、こちらが勝つようにしています。 */
.fzt-body,
.fzt-front > .fzt-sec,
.fzt-front > .fz-sc,
.fzt-side > .fzt-w,
.fzt-top-foot > .fzt-w {
  background: var(--fz-panel);
  border: 1px solid var(--fz-line);
  border-radius: 8px;
  padding: 18px 20px;
}

/* 板どうしの間。
   板の中に余白があるので、外側は控えめにします。
   両方を広く取ると、間が空きすぎて、下の欄が遠くなります。 */
.fzt-front > .fzt-sec,
.fzt-front > .fz-sc {
  margin-bottom: 16px;
}

/* 板の中の最後のものは、下の余白を落とします。
   板の余白と重なって、そこだけ間延びするためです。 */
.fzt-front > .fz-sc > *:last-child,
.fzt-front > .fzt-sec > *:last-child {
  margin-bottom: 0;
}

.fzt-side > .fzt-w {
  margin-bottom: 20px;
}

/* 横に欄があるとき。 */
.fzt-has-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.fzt-body {
  min-width: 0;   /* これが無いと、長い題名で横に広がります */
}

.fzt-h1 {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.45;
}

.fzt-lead {
  margin: 0 0 22px;
  color: var(--fz-sub);
  font-size: 14px;
}

.fzt-empty {
  margin: 30px 0;
  padding: 24px;
  background: var(--fz-soft);
  border-radius: 6px;
  color: var(--fz-sub);
  text-align: center;
}

/* ════════════════════════════════════════════════════════
   記事のカード
   ════════════════════════════════════════════════════════ */

.fzt-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px 18px;
}

.fzt-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.fzt-card__thumb {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #f2f2f2;
  border: 1px solid var(--fz-line);
  aspect-ratio: 16 / 9;
}

.fzt-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.fzt-card a:hover .fzt-card__thumb img {
  transform: scale(1.04);
}

.fzt-card__noimg {
  display: block;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, #f4f4f4, #f4f4f4 10px, #eee 10px, #eee 20px);
}

.fzt-card__body {
  display: block;
  padding: 10px 2px 0;
}

.fzt-card__ttl {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;

  /* 3行で打ち切ります。題名の長さがまちまちなので、
     揃えないと下の行がでこぼこになります。 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fzt-card a:hover .fzt-card__ttl {
  color: var(--fz-red);
}

.fzt-card__meta {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--fz-sub);
}

/* ════════════════════════════════════════════════════════
   記事の中身

   ここがいちばん大事なところです。
   1,099本の記事が、そのまま流し込まれます。
   ════════════════════════════════════════════════════════ */

.fzt-post {
  margin: 0;
}

.fzt-post__head {
  margin: 0 0 24px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--fz-line);
}

.fzt-post__meta {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--fz-sub);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.fzt-post__cat a {
  color: var(--fz-sub);
}

.fzt-content {
  max-width: var(--fz-read);
  font-size: 16px;
  line-height: 1.9;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* 記事は <h4> を見出しに使っています。
   <h2><h3> を飛ばしているので、h4 を見出しらしく整えます。 */
.fzt-content h2,
.fzt-content h3,
.fzt-content h4,
.fzt-content h5 {
  margin: 40px 0 16px;
  line-height: 1.5;
  font-weight: 800;
}

.fzt-content h2 { font-size: 22px; }
.fzt-content h3 { font-size: 20px; }
.fzt-content h4 { font-size: 18px; }
.fzt-content h5 { font-size: 16px; }

/* 記事の中で背景色が指定されている見出しがあります。
   こちらで枠や線を足すと、二重になって重くなります。何も足しません。 */

.fzt-content p {
  margin: 0 0 1.4em;
}

/* 記事は &nbsp; だけの段落で行間をあけています。
   そのまま余白を足すと、間が空きすぎます。 */
.fzt-content p:empty {
  margin: 0;
  height: 0;
}

.fzt-content img {
  height: auto;
  border-radius: 4px;
}

.fzt-content a {
  color: #0b57a4;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fzt-content a:hover {
  color: var(--fz-red);
}

/* 画像だけのリンクに下線は要りません。 */
.fzt-content a:has(> img) {
  text-decoration: none;
}

.fzt-content ul,
.fzt-content ol {
  margin: 0 0 1.4em;
  padding-left: 1.6em;
}

.fzt-content blockquote {
  margin: 1.6em 0;
  padding: 14px 18px;
  border-left: 4px solid var(--fz-line);
  background: var(--fz-soft);
  color: #555;
}

.fzt-content hr {
  margin: 2.4em 0;
  border: 0;
  border-top: 1px solid var(--fz-line);
}

.fzt-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 15px;
}

.fzt-content th,
.fzt-content td {
  padding: 8px 10px;
  border: 1px solid var(--fz-line);
}

/* 埋め込み。JSが包んだもの。 */
.fzt-embed {
  position: relative;
  width: 100%;
  height: 0;
  margin: 1.6em 0;
  overflow: hidden;
}

.fzt-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 記事に直接書かれた埋め込みの入れ物（padding-top で比率を保つ形）。
   そのままで正しく出るので、余白だけ整えます。 */
.fzt-content div[style*="padding-top"] {
  margin: 1.6em 0;
}

.fzt-content iframe {
  max-width: 100%;
}

/* ── 記事の下にあるもの ── */

.fzt-inpage {
  margin: 24px 0;
  font-size: 14px;
}

.fzt-inpage a,
.fzt-inpage > span > span {
  display: inline-block;
  min-width: 32px;
  margin: 0 4px;
  padding: 4px 8px;
  text-align: center;
  border: 1px solid var(--fz-line);
  border-radius: 4px;
}

.fzt-post__tags {
  margin: 28px 0 0;
  font-size: 13px;
}

.fzt-post__tags a {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 3px 12px;
  border: 1px solid var(--fz-line);
  border-radius: 999px;
  color: var(--fz-sub);
  text-decoration: none;
}

.fzt-post__tags a:hover {
  border-color: var(--fz-red);
  color: var(--fz-red);
}

/* 前後の記事 */
.fzt-around {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 36px 0;
}

.fzt-around__item {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--fz-line);
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
}

.fzt-around__item:hover {
  border-color: var(--fz-red);
  text-decoration: none;
}

.fzt-around__item--next {
  text-align: right;
}

.fzt-around__label {
  display: block;
  font-size: 11px;
  color: var(--fz-sub);
  margin-bottom: 4px;
}

.fzt-around__ttl {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

/* ════════════════════════════════════════════════════════
   トップと欄
   ════════════════════════════════════════════════════════ */

/* ── 見出しの行 ──
 *
 * 見出しと「もっと見る」を、同じ行の左右に置きます。
 * 下に置くと、欄が続くたびに1行ぶんの余白が積み上がります。 */
.fzt-sec {
  margin: 0 0 22px;
}

.fzt-sec__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px;
  padding: 0 0 7px;
  border-bottom: 2px solid var(--fz-line);
  position: relative;
}

.fzt-sec__head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 70px;
  height: 2px;
  background: var(--fz-red);
}

.fzt-sec__head .fzt-sec__ttl {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.fzt-sec__head .fzt-sec__ttl::after {
  display: none;
}

a.fzt-sec__more {
  flex: 0 0 auto;
  padding: 4px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
  color: #555;
  white-space: nowrap;
}

a.fzt-sec__more:hover {
  border-color: #999;
  background: #fafafa;
  color: #333;
  text-decoration: none;
}

/* 板の中の見出しは、板の縁まで線を伸ばしません。 */
.fzt-front > .fzt-sec > .fzt-sec__ttl:first-child,
.fzt-body > .fzt-h1:first-child {
  margin-top: 0;
}

.fzt-sec__ttl {
  margin: 0 0 16px;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--fz-line);
  font-size: 19px;
  font-weight: 800;
  position: relative;
}

/* 見出しの下に、赤い線を少しだけ重ねます。 */
.fzt-sec__ttl::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 70px;
  height: 2px;
  background: var(--fz-red);
}

.fzt-sec__more {
  margin: 16px 0 0;
  text-align: right;
  font-size: 14px;
}

.fzt-sec__more a {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #555;
  text-decoration: none;
}

.fzt-sec__more a:hover {
  border-color: var(--fz-red);
  color: var(--fz-red);
  text-decoration: none;
}

.fzt-top-head,
.fzt-top-foot {
  margin: 0 0 32px;
}

/* ── 横の欄 ── */

.fzt-side {
  min-width: 0;
}

.fzt-w {
  margin: 0 0 30px;
}

.fzt-w__ttl {
  margin: 0 0 12px;
  padding: 0 0 7px;
  border-bottom: 2px solid var(--fz-line);
  font-size: 15px;
  font-weight: 800;
  position: relative;
}

.fzt-w__ttl::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 50px;
  height: 2px;
  background: var(--fz-red);
}

.fzt-w ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.fzt-w li {
  padding: 7px 0;
  border-bottom: 1px dotted var(--fz-line);
  line-height: 1.6;
}

.fzt-w img {
  max-width: 100%;
  height: auto;
}

/* ════════════════════════════════════════════════════════
   ページ送り・探す
   ════════════════════════════════════════════════════════ */

.fzt-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 36px 0 0;
  font-size: 14px;
}

.fzt-pager a {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #444;
  text-decoration: none;
}

.fzt-pager a:hover {
  border-color: var(--fz-red);
  color: var(--fz-red);
  text-decoration: none;
}

.fzt-pager__now {
  color: var(--fz-sub);
}

.fzt-find {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 0 36px;
}

.fzt-find input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
}

.fzt-find button {
  flex: 0 0 auto;
  padding: 10px 22px;
  border: 0;
  border-radius: 4px;
  background: var(--fz-red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.fzt-find button:hover {
  background: var(--fz-red-dark);
}

/* ════════════════════════════════════════════════════════
   コメント
   ════════════════════════════════════════════════════════ */

.fzt-comments {
  margin: 44px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--fz-line);
}

.fzt-comments__n {
  color: var(--fz-red);
}

.fzt-comments__list,
.fzt-comments__list .children {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fzt-comments__list .children {
  margin-left: 20px;
  padding-left: 16px;
  border-left: 2px solid var(--fz-line);
}

.fzt-comments__list li.comment {
  margin: 0 0 20px;
  padding: 16px 18px;
  background: var(--fz-soft);
  border-radius: 6px;
  font-size: 15px;
}

.fzt-comments__list .comment-meta,
.fzt-comments__list .comment-author {
  font-size: 13px;
  color: var(--fz-sub);
}

.fzt-comments__list .comment-author .fn {
  color: var(--fz-ink);
  font-weight: 700;
  font-style: normal;
}

.fzt-comments__list .avatar {
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.fzt-comments__list .comment-awaiting-moderation {
  display: block;
  margin: 6px 0;
  color: var(--fz-red);
  font-size: 13px;
}

.fzt-comments__closed {
  margin: 20px 0;
  color: var(--fz-sub);
  font-size: 14px;
}

.fzt-cform {
  margin: 28px 0 0;
}

.fzt-cform__note {
  font-size: 13px;
  color: var(--fz-sub);
}

.fzt-cform__row label,
.fzt-cform p label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
}

.fzt-cform textarea,
.fzt-cform input[type="text"],
.fzt-cform input[type="email"],
.fzt-cform input[type="url"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
}

.fzt-cform .submit {
  padding: 10px 28px;
  border: 0;
  border-radius: 4px;
  background: var(--fz-red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.fzt-cform .submit:hover {
  background: var(--fz-red-dark);
}

/* ════════════════════════════════════════════════════════
   フッター
   ════════════════════════════════════════════════════════ */

.fzt-foot {
  margin-top: 40px;
  border-top: 1px solid var(--fz-line);
  background: var(--fz-panel);
}

.fzt-foot__w {
  padding: 30px 0 10px;
  border-bottom: 1px solid var(--fz-line);
}

.fzt-foot__in {
  padding-top: 26px;
  padding-bottom: 30px;
  text-align: center;
}

.fzt-foot__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
  font-size: 14px;
}

.fzt-foot__list a {
  color: #555;
}

.fzt-foot__note {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--fz-sub);
  line-height: 1.8;
}

.fzt-foot__copy {
  margin: 0;
  font-size: 12px;
  color: var(--fz-sub);
}

/* ── 上へ戻る ── */

.fzt-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--fz-red);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .2);
}

.fzt-top:hover {
  background: var(--fz-red-dark);
}

.fzt-top[hidden] {
  display: none;
}

/* ── スマホの下のバー ── */

.fzt-bar {
  display: none;
}

/* ════════════════════════════════════════════════════════
   ここから下は、記事の中で使われているもの

   もとは「外観 → カスタマイズ → 追加CSS」に書かれていました。
   テーマを変えると消えてしまうので、こちらへ移しました。

   もとは !important だらけでした。
   AFFINGER5 の指定と押し合っていたためです。
   こちらにはぶつかる指定が無いので、外しました。
   ════════════════════════════════════════════════════════ */

/* ── 赤い丸ボタン（同人記事の自動生成が出すもの） ── */

.fdp-cta {
  text-align: center;
  margin: 2rem auto;
}

.fdp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: .8rem 2.4rem;
  border-radius: 60px;
  background: var(--fz-red);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
  text-decoration: none;
  transition: opacity .2s;
}

.fzt-content a.fdp-btn {
  color: #fff;
  text-decoration: none;
}

.fdp-btn:hover {
  opacity: .85;
  background: var(--fz-red);
  color: #fff;
  text-decoration: none;
}

.fdp-btn-text {
  display: inline;
  line-height: 1;
  vertical-align: middle;
}

/* ── サンプル画像（縦に等幅で並べる） ── */

.fdp-sample-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.fdp-sample-grid a {
  display: block;
  width: 100%;
  text-decoration: none;
}

.fdp-sample-grid a img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #eee;
  border-radius: 4px;
}

.fdp-sample-grid a:hover img {
  opacity: .85;
}

/* ── Pz-LinkCard（画像を実寸で出し、説明文は省略しない） ── */

.lkc-external-wrap,
.lkc-internal-wrap {
  margin: 24px 0;
}

.lkc-external-wrap .lkc-link,
.lkc-internal-wrap .lkc-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.lkc-external-wrap .lkc-card,
.lkc-internal-wrap .lkc-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  overflow: hidden;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.lkc-external-wrap:hover .lkc-card,
.lkc-internal-wrap:hover .lkc-card {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}

/* 画像は実寸（300×300）のまま出します。引き伸ばすとぼやけます。 */
.lkc-external-wrap .lkc-content,
.lkc-internal-wrap .lkc-content {
  grid-template-columns: 300px 1fr;
}

.lkc-external-wrap .lkc-thumbnail,
.lkc-internal-wrap .lkc-thumbnail {
  grid-area: thumb;
  align-self: start;
  width: 300px;
  height: 300px;
  max-width: 300px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.lkc-external-wrap .lkc-thumbnail-img,
.lkc-internal-wrap .lkc-thumbnail-img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

.lkc-external-wrap .lkc-title,
.lkc-internal-wrap .lkc-title {
  grid-area: title;
  padding: 16px 18px 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: #1f2937;
}

.lkc-external-wrap .lkc-excerpt,
.lkc-internal-wrap .lkc-excerpt {
  grid-area: excerpt;
  padding: 8px 18px 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #666;
  display: block;
  overflow: visible;
  max-height: none;
  -webkit-line-clamp: none;
}

/* ════════════════════════════════════════════════════════
   狭い画面

   ここから下に書きます。
   先に書くと、あとに来る広い画面向けの指定に打ち消されます。
   ════════════════════════════════════════════════════════ */

@media screen and (max-width: 900px) {

  .fzt-has-side {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .fzt-side {
    border-top: 1px solid var(--fz-line);
    padding-top: 28px;
  }
}

@media screen and (max-width: 600px) {

  body {
    font-size: 15px;
  }

  .fzt-main {
    padding: 14px 0 40px;
  }

  /* 狭い画面で板の余白をそのままにすると、
     中身の幅がそのぶん削られます。 */
  .fzt-body,
  .fzt-front > .fzt-sec,
  .fzt-front > .fz-sc,
  .fzt-side > .fzt-w,
  .fzt-top-foot > .fzt-w {
    padding: 16px 14px;
    border-radius: 6px;
  }

  /* 下のバーのぶん、本文の終わりに余白を足します。
     そうしないと、最後の行がバーに隠れます。 */
  body.fzt-has-bar .fzt-foot {
    padding-bottom: 60px;
  }

  .fzt-head__in {
    padding: 18px 16px 16px;
    gap: 4px;
  }

  .fzt-head__name {
    font-size: 24px;
  }

  .fzt-head__desc {
    order: 3;
    flex: 1 1 100%;
    font-size: 11px;
  }

  /* 狭い画面では、メニューと窓を上下に積みます。
     横に並べると、どちらも窮屈になります。 */
  .fzt-nav__in {
    display: block;
    padding: 0;
  }

  .fzt-nav__find {
    margin: 0 12px 10px;
    border-radius: 6px;
  }

  .fzt-nav__find input {
    width: 100%;
    padding: 8px 12px;
  }

  .fzt-nav__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 8px;
  }

  .fzt-nav__list::-webkit-scrollbar {
    display: none;
  }

  .fzt-nav__list > li > a {
    padding: 11px 14px;
    white-space: nowrap;
    font-size: 13px;
  }

  .fzt-h1 {
    font-size: 21px;
  }

  .fzt-sec__ttl {
    font-size: 16px;
  }

  .fzt-sec__head {
    gap: 10px;
    margin-bottom: 10px;
  }

  a.fzt-sec__more {
    padding: 3px 10px;
    font-size: 12px;
  }

  .fzt-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .fzt-card__ttl {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }

  .fzt-card__meta {
    font-size: 11px;
  }

  .fzt-content {
    font-size: 15px;
    line-height: 1.85;
  }

  .fzt-content h2 { font-size: 19px; }
  .fzt-content h3 { font-size: 18px; }
  .fzt-content h4 { font-size: 17px; }

  .fzt-around__item--next {
    text-align: left;
  }

  .fzt-comments__list .children {
    margin-left: 8px;
    padding-left: 10px;
  }

  .fzt-top {
    right: 12px;
    bottom: 70px;   /* 下のバーに重ならないように */
    width: 42px;
    height: 42px;
  }

  /* Pz-LinkCard は、画像を上に大きく、下にテキスト。 */
  .lkc-external-wrap .lkc-content,
  .lkc-internal-wrap .lkc-content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "thumb"
      "title"
      "excerpt";
  }

  .lkc-external-wrap .lkc-thumbnail,
  .lkc-internal-wrap .lkc-thumbnail {
    width: 100%;
    height: 210px;
    min-height: 0;
  }

  .lkc-external-wrap .lkc-title,
  .lkc-internal-wrap .lkc-title {
    padding-top: 14px;
  }

  .fdp-btn {
    font-size: 1.1rem;
    padding: .75rem 1.6rem;
  }

  /* ── 下に貼り付くバー ── */

  .fzt-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: #fff;
    border-top: 1px solid var(--fz-line);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .06);
  }

  .fzt-bar__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
  }

  .fzt-bar__list li {
    flex: 1 1 0;
    min-width: 0;
  }

  .fzt-bar__list a {
    display: block;
    padding: 12px 4px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #555;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .fzt-bar__list a:hover,
  .fzt-bar__list .current-menu-item a {
    color: var(--fz-red);
  }
}

/* ── 足りていなかったもの ── */

/* フッターの並びの入れもの。中の一覧に指定があるので、外側は間だけ。 */
.fzt-foot__nav {
  margin: 0 0 4px;
}

/* 「◯月◯日更新」。公開日より後に手が入ったときだけ出ます。
   公開日と見分けがつくよう、少し薄くします。 */
.fzt-post__up {
  color: #999;
}

/* ════════════════════════════════════════════════════════
   HERO（トップのいちばん上）

   絵は背景に敷くだけで、文字は上に重ねます。
   焼き込むと、狭い画面で字が小さくなりすぎ、
   文言を変えるたびに絵を作り直すことになります。
   ════════════════════════════════════════════════════════ */

.fzt-hero {
  position: relative;
  background-color: #0a0a0a;
  background-image: url(assets/img/hero.jpg);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  overflow: hidden;
}

/* 左から黒をかぶせます。
   絵の左側はもともと黒ですが、画面の幅によっては
   本のほうが寄ってきて、字と重なります。
   かぶせておけば、どの幅でも字が読めます。 */
.fzt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #0a0a0a 0%,
    rgba(10, 10, 10, .92) 34%,
    rgba(10, 10, 10, .55) 55%,
    rgba(10, 10, 10, 0) 78%
  );
}

.fzt-hero__in {
  position: relative;          /* かぶせた黒より前に出します */
  max-width: var(--fz-wrap);
  margin: 0 auto;
  padding: 64px 16px 68px;
}

.fzt-hero__lead {
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.3;
}

/* 収録数。
   「事典」で効くのは中身の量なので、いちばん目立つ赤にします。 */
.fzt-hero__num {
  margin: 10px 0 0;
  color: #9a9a9a;
  font-size: 14px;
  letter-spacing: .02em;
}

.fzt-hero__num span + span {
  margin-left: 18px;
}

.fzt-hero__num b {
  color: var(--fz-red);
  font-size: 22px;
  font-weight: 700;
  margin-right: 2px;
}

/* 探す窓。
   上の帯にもありますが、小さく右端にあります。
   このサイトで最初にすることなので、ここでは大きく置きます。 */
.fzt-hero__find {
  display: flex;
  max-width: 520px;
  margin: 24px 0 0;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .45);
}

.fzt-hero__find input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: 0;
  font-size: 16px;            /* 16px 未満だと iPhone が勝手に拡大します */
  color: var(--fz-ink);
  background: transparent;
}

.fzt-hero__find input:focus {
  outline: 2px solid var(--fz-red);
  outline-offset: -2px;
}

.fzt-hero__find button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  border: 0;
  background: var(--fz-red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.fzt-hero__find button:hover {
  background: var(--fz-red-dark);
}

/* ── 狭い画面 ── */

@media (max-width: 767px) {

  /* 本が寄ってくるので、絵を少し右へ逃がします。 */
  .fzt-hero {
    background-position: 78% center;
  }

  /* 縦に短い画面で、字と窓だけは必ず収まるようにします。 */
  .fzt-hero::before {
    background: linear-gradient(
      90deg,
      #0a0a0a 0%,
      rgba(10, 10, 10, .93) 50%,
      rgba(10, 10, 10, .72) 100%
    );
  }

  .fzt-hero__in {
    padding: 40px 16px 44px;
  }

  .fzt-hero__lead {
    font-size: 24px;
  }

  .fzt-hero__num b {
    font-size: 19px;
  }

  .fzt-hero__find {
    margin-top: 20px;
  }

  .fzt-hero__find input {
    padding: 12px 14px;
  }

  /* 狭いところで「さがす」の字まで並べると、窓が細くなります。
     虫めがねだけにします。 */
  .fzt-hero__find button span {
    display: none;
  }

  .fzt-hero__find button {
    padding: 0 16px;
  }
}

/* ── 帯を横切る赤い線 ──

   名前だけの帯が寂しいので、差し色を1本だけ通します。
   HEROの絵と同じ考えで、色数は増やしません。

   名前と同じ高さを通して、名前のところだけ線を隠します。
   線の上に名前が乗っているように見えます。

   絵にせず線として描きます。画面の幅に合わせて伸び、
   画面の細かさに関わらず、いつでも同じ太さで出ます。 */

/* サイト名の帯だけを包みます。
   包まずに header 全体を基準にすると、下のメニュー帯まで含めた
   中央になり、線が名前より下に落ちます。 */
.fzt-head__top {
  position: relative;
  overflow: hidden;
}

.fzt-head__deco {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 50%;
  height: 1px;
  background: var(--fz-red);
  transform: translateY(-50%);
  pointer-events: none;
}

/* 矢の先。線の右端で終わらせます。 */
.fzt-head__deco::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 1px solid var(--fz-red);
  border-right: 1px solid var(--fz-red);
  transform: translateY(-50%) rotate(45deg);
}

.fzt-head__in {
  position: relative;
  z-index: 1;
}

/* 名前の後ろを帯と同じ色で塗って、線を隠します。
   線を途中で切るより、名前が線の上に乗っているように見えます。 */
.fzt-head__name {
  background: var(--fz-head);
  padding: 0 26px;
}
