/* FanTerrace — サイト全体のスタイル（デザイン見本をそのまま移したもの） */
:root { --accent: #FF5A1F; --band: var(--accent); --ink: #111111; --sub: #444444; --pale: #E6E6E6; --display: 'Dela Gothic One', sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: "Noto Sans JP", system-ui, sans-serif; line-height: 1.7; -webkit-text-size-adjust: 100%; }
a { color: var(--ink); }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 4px solid var(--ink); outline-offset: 3px; }
.on-dark a:focus-visible, .head a:focus-visible, .foot a:focus-visible { outline-color: #FFFFFF; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.display { font-family: var(--display); font-weight: 400; }
[hidden] { display: none !important; }

/* 見本・確認用の帯 */
.notice { background: #FFD400; border-bottom: 4px solid var(--ink); font-weight: 700; font-size: 14px; padding: 8px 24px; text-align: center; }

/* ヘッダー・フッター */
.head { background: var(--ink); color: #FFFFFF; }
.head .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; }
.brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; color: #FFFFFF; text-decoration: none; padding: 8px 0; }
.brand b { font-family: var(--display); font-weight: 400; font-size: 24px; }
.brand span { font-size: 13px; font-weight: 700; color: var(--pale); }
.menu { display: flex; flex-wrap: wrap; gap: 0 4px; }
.menu a { padding: 12px 14px; font-weight: 700; font-size: 15px; color: #FFFFFF; text-decoration: none; }
.menu a:hover { text-decoration: underline; }
.foot { background: var(--ink); color: #FFFFFF; margin-top: 96px; }
.foot .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.foot b { font-family: var(--display); font-weight: 400; font-size: 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot a { color: var(--pale); padding: 8px 0; }

/* 色の帯（ページの頭） */
.band { background: var(--band); border-bottom: 4px solid var(--ink); }
.crumb { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; font-weight: 700; }
.crumb > * { padding: 6px 0; }
.tag { align-self: flex-start; background: var(--ink); color: #FFFFFF; font-weight: 700; padding: 5px 12px; }

/* トップ */
.hero .wrap { padding-top: 72px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 28px; }
.hero .tag { font-size: 15px; padding: 6px 14px; }
.hero h1 { font-size: clamp(40px, 8vw, 108px); line-height: 1.15; }
.hero .lead { max-width: 807px; font-size: 19px; font-weight: 700; }
.search { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; max-width: 680px; }
.search div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.search label { font-weight: 700; font-size: 14px; }
.search input { height: 56px; border: 4px solid var(--ink); background: #FFFFFF; padding: 0 16px; font-size: 18px; font-family: inherit; color: var(--ink); border-radius: 0; width: 100%; }
.btn { height: 56px; padding: 0 28px; border: 4px solid var(--ink); background: var(--ink); color: #FFFFFF; font-weight: 700; font-size: 17px; font-family: inherit; cursor: pointer; border-radius: 0; }
.sec { padding-top: 80px; display: flex; flex-direction: column; gap: 28px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.sec h2.big { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4vw, 40px); line-height: 1.3; }
.sec-note { font-size: 15px; color: var(--sub); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(150px, 22%), 1fr)); gap: clamp(12px, 2vw, 20px); }
.tile { min-width: 0; min-height: clamp(128px, 30vw, 176px); border: 4px solid var(--ink); background: #FFFFFF; box-shadow: 6px 6px 0 var(--ink); padding: clamp(12px, 3vw, 18px); display: flex; flex-direction: column; justify-content: space-between; gap: 10px; text-decoration: none; text-align: left; font-family: inherit; color: var(--ink); cursor: pointer; border-radius: 0; }
.tile svg { width: clamp(36px, 9vw, 56px); height: clamp(36px, 9vw, 56px); }
.tile b { display: block; font-weight: 900; font-size: clamp(19px, 5vw, 26px); line-height: 1.3; }
.tile small { display: block; font-size: clamp(12px, 3.2vw, 14px); line-height: 1.5; color: var(--sub); }
.tile[aria-pressed="true"] { background: var(--accent); }
.tile:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.status { font-weight: 700; font-size: 16px; border: 4px solid var(--ink); padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.status button { border: 0; background: none; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 8px 0; color: var(--ink); }
.rows { border-top: 4px solid var(--ink); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 22px 4px; border-bottom: 4px solid var(--ink); text-decoration: none; }
.row:hover .row-title { text-decoration: underline; text-decoration-thickness: 3px; }
.row-no { font-family: var(--display); font-size: 30px; line-height: 1; width: 56px; }
.row-genre { background: var(--accent); border: 3px solid var(--ink); font-weight: 700; font-size: 14px; padding: 2px 10px; }
.row-main { flex: 999 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.row-hook { font-weight: 900; font-size: 21px; line-height: 1.5; }
.row-title { font-size: 15px; color: var(--sub); line-height: 1.6; }
.row-by { flex: 1 1 200px; font-size: 14px; color: var(--sub); }
.box { border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--accent); padding: 40px 32px; display: flex; flex-direction: column; gap: 14px; }
.box h2 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.6vw, 34px); line-height: 1.3; }
.box p { max-width: 760px; font-size: 17px; }
.more { align-self: flex-start; background: var(--ink); color: #FFFFFF; font-weight: 700; font-size: 16px; padding: 12px 20px; text-decoration: none; }
a.more:hover { color: #FFFFFF; text-decoration: underline; }

/* 記事 */
.a-head .wrap { max-width: 848px; padding-top: 36px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 18px; }
.a-head .tag { font-size: 14px; }
.a-head h1 { font-size: clamp(27px, 4.4vw, 52px); line-height: 1.3; }
.a-meta { font-size: 15px; font-weight: 700; }
.article { max-width: 800px; margin: 0 auto; padding: 40px 24px 0; display: flex; flex-direction: column; gap: 20px; }
.hook { border: 4px solid var(--ink); background: #FFFFFF; box-shadow: 8px 8px 0 var(--ink); padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; }
.hook .tag { font-size: 15px; }
.hook-line { font-family: var(--display); font-size: clamp(22px, 3.2vw, 34px); line-height: 1.45; }
.because { margin-top: 6px; align-self: flex-start; background: var(--accent); border: 3px solid var(--ink); font-weight: 900; font-size: 15px; padding: 3px 12px; }
.hook-reason { font-size: 18px; line-height: 1.9; }
.hook-by { font-size: 14px; font-weight: 700; color: var(--sub); }
.lead-blocks { margin-top: 12px; display: flex; flex-direction: column; gap: 28px; }
.lead-blocks > * { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.lead-blocks h2 { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.4; }
.toc ol { margin: 0; padding: 6px 14px; list-style: none; border: 4px solid var(--ink); display: flex; flex-direction: column; }
.toc li + li { border-top: 2px solid var(--ink); }
.toc a { display: flex; gap: 10px; padding: 9px 0; font-size: 15px; font-weight: 700; line-height: 1.5; text-decoration: none; }
.toc a:hover span + span { text-decoration: underline; }
.toc a span:first-child { font-family: var(--display); font-weight: 400; }
.quick { border: 4px solid var(--ink); }
.quick div { display: flex; flex-wrap: wrap; }
.quick div + div { border-top: 3px solid var(--ink); }
.quick dt { flex: 0 0 132px; background: var(--ink); color: #FFFFFF; font-weight: 700; font-size: 15px; padding: 10px 12px; }
.quick dd { margin: 0; flex: 1 1 160px; font-size: 16px; font-weight: 700; padding: 10px 12px; }
.article h2.h { margin-top: 44px; display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; border-bottom: 4px solid var(--ink); font-family: var(--display); font-weight: 400; font-size: clamp(23px, 3vw, 32px); line-height: 1.4; scroll-margin-top: 16px; }
.article h2.h .n { font-size: 18px; background: var(--ink); color: #FFFFFF; padding: 2px 10px; }
.article .p { font-size: 18px; line-height: 1.9; }
.items { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.items li { display: flex; gap: 12px; align-items: baseline; font-size: 18px; line-height: 1.7; border: 3px solid var(--ink); padding: 10px 14px; }
.sq { flex: 0 0 10px; height: 10px; background: var(--ink); }
.photos { display: flex; flex-wrap: wrap; gap: 16px; }
.photos figure { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; }
.photos img, .ph { border: 4px solid var(--ink); width: 100%; }
.ph { height: 150px; background: #EDEDED; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: var(--sub); }
.photos figcaption { font-size: 14px; line-height: 1.6; color: var(--sub); }
.qa { border: 4px solid var(--ink); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.qa h3 { font-size: 18px; font-weight: 900; line-height: 1.6; display: flex; gap: 10px; }
.qa h3 span:first-child { font-family: var(--display); font-weight: 400; }
.qa p { font-size: 17px; line-height: 1.85; }
.writer { margin-top: 40px; border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--accent); padding: 22px; display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; }
.writer-mark { flex: 0 0 72px; height: 72px; border: 4px solid var(--ink); background: var(--ink); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 22px; overflow: hidden; }
.writer-body { flex: 999 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.writer-body small { font-size: 14px; font-weight: 700; color: var(--sub); }
.writer-body b { font-size: 20px; font-weight: 900; }
.writer-body p { font-size: 16px; line-height: 1.8; }
.sources { display: flex; flex-direction: column; gap: 8px; background: #F2F2F2; padding: 18px 20px; }
.sources h2 { font-size: 17px; font-weight: 900; }
.sources ul { padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.7; }
.sources p { font-size: 14px; color: var(--sub); }
.sources a { word-break: break-all; }
.dark { margin-top: 72px; background: var(--ink); color: #FFFFFF; }
.dark .wrap { padding-top: 56px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 18px; }
.dark h2 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.4; }
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 260px; max-width: 520px; min-height: 128px; border: 4px solid var(--ink); background: #FFFFFF; box-shadow: 6px 6px 0 var(--accent); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; text-decoration: none; color: var(--ink); }
.card b { font-weight: 900; font-size: 22px; line-height: 1.4; }
.card span { font-size: 15px; line-height: 1.6; }
.dark + .foot { margin-top: 0; }

/* このメディアについて・文章のページ */
.p-head .wrap { padding-top: 36px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 20px; }
.p-head h1 { font-size: clamp(34px, 6vw, 76px); line-height: 1.2; }
.p-head .lead { max-width: 720px; font-size: 19px; font-weight: 700; line-height: 1.8; }
.sec.tight { padding-top: 72px; }
.two { display: flex; flex-wrap: wrap; gap: 20px; }
.num-box { flex: 1 1 300px; border: 4px solid var(--ink); background: #FFFFFF; box-shadow: 6px 6px 0 var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.num-box .num { font-family: var(--display); font-size: 48px; line-height: 1; }
.num-box .num span { background: var(--accent); padding: 0 10px; border: 3px solid var(--ink); }
.num-box h3 { font-weight: 900; font-size: 24px; line-height: 1.4; }
.dots { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.dots li { display: flex; gap: 10px; align-items: baseline; font-size: 17px; line-height: 1.7; }
.dark.gap { margin-top: 88px; }
.dark.gap .wrap { padding-top: 72px; padding-bottom: 72px; gap: 28px; }
.dark.gap h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.3; }
.dark.gap .sub { font-size: 17px; color: var(--pale); margin-top: 8px; }
.line-box { flex: 1 1 280px; border: 4px solid #FFFFFF; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.line-box .num { font-family: var(--display); font-size: 48px; line-height: 1; color: var(--accent); }
.line-box h3 { font-weight: 900; font-size: 22px; line-height: 1.5; }
.line-box p { font-size: 16px; line-height: 1.8; color: var(--pale); }
.split { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-start; }
.split h2 { flex: 1 1 280px; }
.split div { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.split p { font-size: 18px; line-height: 1.9; }
.cta { border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--accent); padding: 36px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.cta div { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cta h2 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.35; }
.cta p { font-size: 17px; line-height: 1.8; }
.cta a { flex: 0 1 auto; background: var(--ink); color: #FFFFFF; font-weight: 700; font-size: 18px; padding: 16px 28px; text-decoration: none; }
.doc { max-width: 800px; margin: 0 auto; padding: 56px 24px 0; display: flex; flex-direction: column; gap: 18px; }
.doc h2 { margin-top: 28px; padding-bottom: 10px; border-bottom: 4px solid var(--ink); font-family: var(--display); font-weight: 400; font-size: clamp(21px, 2.8vw, 28px); line-height: 1.4; }
.doc p, .doc li { font-size: 17px; line-height: 1.9; }
.doc ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.doc dl { margin: 0; border: 4px solid var(--ink); }
.doc dl div { display: flex; flex-wrap: wrap; }
.doc dl div + div { border-top: 3px solid var(--ink); }
.doc dt { flex: 0 0 160px; background: var(--ink); color: #FFFFFF; font-weight: 700; font-size: 15px; padding: 12px 14px; }
.doc dd { margin: 0; flex: 1 1 220px; font-size: 16px; padding: 12px 14px; }
.doc .small { font-size: 14px; color: var(--sub); }
.todo { background: #FFD400; padding: 0 4px; font-weight: 700; }

@media (max-width: 520px) {
  .head .wrap { padding-top: 8px; padding-bottom: 8px; gap: 0 16px; }
  .menu { gap: 0; margin: 0 -6px; }
  .menu a { padding: 10px 6px; font-size: 14px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(30px, 9.2vw, 40px); }
  .hero .lead { font-size: 17px; }
  .box, .cta { padding: 28px 20px; }
  .row-no { width: 44px; font-size: 24px; }
  .doc dt { flex-basis: 100%; }
}
@media (prefers-reduced-motion: no-preference) { .tile { transition: transform .12s, box-shadow .12s; } }

/* トップの帯のあしらい：ジャンルのカード、「入り方。」の囲み、図形 */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
@media (max-width: 900px) { .hero .lead br { display: none; } }

/* ジャンルのカード：8つのジャンルの絵を、貼り紙のように並べる */
.hero-art { display: flex; gap: 12px; margin: 4px -24px 0 0; padding: 10px 6px 14px; overflow: hidden; }
.stk { flex: 0 0 auto; width: 60px; height: 60px; background: #FFFFFF; border: 4px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); display: flex; align-items: center; justify-content: center; }
.stk svg { width: 34px; height: 34px; }
.stk:nth-child(odd) { transform: rotate(-6deg); }
.stk:nth-child(even) { transform: rotate(5deg) translateY(4px); }
/* 中くらいの幅では余白を詰めて、カードの列まで最初の画面に入れる */
@media (min-width: 521px) and (max-width: 1099px) {
  .hero .wrap { padding-top: 32px; padding-bottom: 40px; gap: 16px; }
  .hero .lead { font-size: 17px; }
}
@media (min-width: 1100px) {
  .hero-art { display: block; position: absolute; right: 24px; bottom: 64px; width: 240px; height: 352px; margin: 0; padding: 0; overflow: visible; }
  .stk { position: absolute; width: 104px; height: 104px; box-shadow: 6px 6px 0 var(--ink); }
  .stk svg { width: 60px; height: 60px; }
  .hero h1 { font-size: clamp(76px, 7.2vw, 92px); }   /* カードの置き場をあけるため、広い画面では少しだけ小さくする */
  .stk1 { right: 124px; bottom: 186px; transform: rotate(-8deg) !important; }
  .stk2 { right: 0; bottom: 248px; transform: rotate(5deg) !important; }
  .stk3 { right: 2px; bottom: 124px; transform: rotate(-4deg) !important; }
  .stk4 { right: 128px; bottom: 60px; transform: rotate(7deg) !important; }
  .stk5 { right: 4px; bottom: 0; transform: rotate(-7deg) !important; }
  .stk6, .stk7, .stk8 { display: none; }
}

/* 囲み：「入り方。」を、カードと同じ白い貼り紙にする */
.hero .mark { display: inline-block; background: #FFFFFF; border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 0 .14em .04em; transform: rotate(-2deg); margin: .1em 0 0 .06em; }
@media (max-width: 520px) { .hero .mark { box-shadow: 4px 4px 0 var(--ink); } }

/* 図形：無地のところに、丸・ぎざぎざ・十字などを少しだけ置く */
.hero::after { content: ""; position: absolute; top: -70px; right: -70px; width: 140px; height: 140px; border-radius: 50%; background: #FFFFFF; border: 4px solid var(--ink); }
.hero-deco { display: block; position: absolute; inset: 0; pointer-events: none; }
.sh { position: absolute; display: block; background: no-repeat center / contain; pointer-events: none; }
.sh2 { width: 30px; height: 30px; border: 4px solid var(--ink); border-radius: 50%; right: 128px; top: 22px; }
.sh3 { width: 66px; height: 19px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 19'%3E%3Cpath d='M3 15 L13 4 L23 15 L33 4 L43 15 L53 4 L63 15' fill='none' stroke='%23fff' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); right: 26px; top: 116px; }
.sh4 { width: 24px; height: 24px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 V22 M2 12 H22' fill='none' stroke='%23fff' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E"); right: 190px; top: 182px; }
.sh5 { width: 26px; height: 26px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M13 3 L24 23 H2 Z' fill='%23111'/%3E%3C/svg%3E"); right: 84px; top: 170px; transform: rotate(14deg); }
.sh6 { width: 34px; height: 34px; background: radial-gradient(circle, var(--ink) 2.6px, rgba(17, 17, 17, 0) 3.1px) 0 0 / 12px 12px; right: 236px; top: 30px; }
@media (max-width: 520px) {
  .hero::after { top: -56px; right: -56px; width: 112px; height: 112px; }
  .sh2 { right: 88px; top: 22px; width: 24px; height: 24px; }
  .sh3 { right: 22px; top: 76px; width: 52px; height: 15px; }
  .sh4 { right: 26px; top: auto; bottom: 0; display: none; }
  .sh5, .sh6 { display: none; }
}
@media (min-width: 1100px) {
  .hero::after { top: -120px; right: -120px; width: 240px; height: 240px; }
  .sh2 { width: 44px; height: 44px; right: 110px; top: 96px; }
  .sh3 { width: 99px; height: 28px; right: 40px; top: 166px; }
  .sh4 { width: 34px; height: 34px; right: 150px; top: 214px; }
  .sh5 { width: 36px; height: 36px; right: 276px; top: auto; bottom: 34px; }
  .sh6 { width: 46px; height: 46px; right: 204px; top: 66px; }
}

/* 中くらいの幅では、囲みに重ならないように図形の位置をずらす */
@media (min-width: 521px) and (max-width: 1099px) {
  .hero .wrap { padding-top: 24px; }
  .sh4 { right: 28px; top: 170px; }
  .sh5 { right: 96px; top: 196px; }
  .sh2 { top: 14px; }
  .sh6 { top: 20px; }
  .sh3 { top: 106px; }
}

/* トップ以外の帯のあしらい：右上に白い円・輪・ぎざぎざだけを小さく置く（トップより控えめ。404 には置かない） */
.a-head, .p-head { position: relative; overflow: hidden; }
.a-head .wrap, .p-head .wrap { position: relative; z-index: 1; }
.a-head::after, .p-head:not(.plain)::after { content: ""; position: absolute; top: -48px; right: -48px; width: 96px; height: 96px; border-radius: 50%; background: #FFFFFF; border: 4px solid var(--ink); }
.a-head::before, .p-head:not(.plain)::before { content: ""; position: absolute; top: 14px; right: 20px; width: 120px; height: 77px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 96'%3E%3Ccircle cx='40' cy='22' r='11' fill='none' stroke='%23111' stroke-width='4'/%3E%3Cpath d='M84 78 L93 68 L102 78 L111 68 L120 78 L129 68 L138 78' fill='none' stroke='%23fff' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; pointer-events: none; }
@media (max-width: 520px) {
  .a-head::after, .p-head:not(.plain)::after { top: -40px; right: -40px; width: 80px; height: 80px; }
  .a-head::before, .p-head:not(.plain)::before { top: 10px; right: 14px; width: 96px; height: 61px; }
}
@media (min-width: 1100px) {
  .a-head::after, .p-head:not(.plain)::after { top: -80px; right: -80px; width: 160px; height: 160px; }
  .a-head::before, .p-head:not(.plain)::before { top: 24px; right: 40px; width: 190px; height: 122px; }
}

/* 本文の中のリンク */
.p a, .items a { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.p a:hover, .items a:hover { background: #FFD400; }

/* ジャンルのページ */
.g-title { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.g-icon { flex: 0 0 96px; height: 96px; border: 4px solid var(--ink); background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.g-title h1 { font-size: clamp(40px, 7vw, 88px); line-height: 1.15; }
.filters { padding-top: 48px; display: flex; flex-direction: column; gap: 14px; }
.filters h2 { font-size: 17px; font-weight: 900; }
.fbtns { display: flex; flex-wrap: wrap; gap: 12px; }
.fbtn { min-height: 48px; padding: 0 18px; border: 4px solid var(--ink); background: #FFFFFF; color: var(--ink); font-weight: 700; font-size: 16px; font-family: inherit; cursor: pointer; border-radius: 0; }
.fbtn[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
.gcards { padding-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.gcard { border: 4px solid var(--ink); background: #FFFFFF; box-shadow: 8px 8px 0 var(--ink); padding: 24px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; text-decoration: none; }
.gcard[hidden] { display: none; }
.gcard:hover .gcard-theme { text-decoration: underline; text-decoration-thickness: 4px; }
.gcard-main { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.gcard-theme { font-family: var(--display); font-size: clamp(28px, 4vw, 44px); line-height: 1.25; }
.gcard-hook { font-size: 17px; font-weight: 700; line-height: 1.7; }
.gcard-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gcard-chips span { border: 3px solid var(--ink); font-size: 14px; font-weight: 700; padding: 3px 10px; background: #FFFFFF; }
.gcard-side { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.gcard-by { font-size: 14px; color: var(--sub); }
.gcard-go { align-self: flex-start; background: var(--ink); color: #FFFFFF; font-weight: 700; font-size: 16px; padding: 10px 18px; }
.og { padding-top: 80px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 20px; }
.og h2 { font-size: 32px; line-height: 1.3; }
.og-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: clamp(12px, 2vw, 20px); }
@media (min-width: 521px) { .og-grid { grid-template-columns: repeat(auto-fill, minmax(max(210px, 22%), 1fr)); } }
.og-item { min-width: 0; border: 4px solid var(--ink); background: #FFFFFF; box-shadow: 6px 6px 0 var(--ink); padding: clamp(12px, 3vw, 18px); display: flex; align-items: center; gap: clamp(10px, 2.5vw, 16px); text-decoration: none; }
.og-item svg { flex: 0 0 auto; width: clamp(32px, 8vw, 48px); height: clamp(32px, 8vw, 48px); }
.og-item span { min-width: 0; font-weight: 900; font-size: clamp(17px, 4.4vw, 24px); line-height: 1.3; }
@media (max-width: 520px) { .gcard { padding: 18px; box-shadow: 6px 6px 0 var(--ink); } .g-icon { flex-basis: 72px; height: 72px; } .g-icon svg { width: 44px; height: 44px; } }
