/*
Theme Name: ハヤラボ
Theme URI: https://lab-hayari.com/
Author: ハヤラボ
Description: ハヤラボ公式サイトのUnrailed!風ドット絵デザインを引き継いだ、ブログ・お知らせ・実績用のオリジナルテーマ。ハイブリッド構成（外枠はPHPテンプレートで固定・記事本文はブロックエディタ）。
Version: 0.4.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: hayalabo
*/

/* =========================================================
   デザイントークンは hayalabo-site/src/styles.css と共通。
   色や余白を変えるときは、まず theme.json 側を確認すること。
   ========================================================= */

:root {
  --sky:        #7cdbe0;
  --sky-light:  #8fe3e8;
  --ink:        #23282d;
  --ink-deep:   #101315;
  --ink-soft:   #4a4636;
  --yellow:     #ffcc33;
  --cream:      #f7f1e1;
  --grass:      #7cc253;
  --sand:       #e6d3a3;
  --gold:       #8a6400;

  --font-pixel: 'DotGothic16', monospace;
  --font-body:  'Zen Kaku Gothic New', sans-serif;

  --border:      3px solid var(--ink);
  --shadow-sm:   4px 4px 0 rgba(16, 19, 21, .35);
  --shadow-card: 6px 6px 0 var(--ink);
  --shadow-lg:   8px 8px 0 var(--ink);
}

/* ---------- 基本 ---------- */
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sky);
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--ink); }
::selection { background: var(--yellow); color: var(--ink); }

img { max-width: 100%; height: auto; }
.pixel { image-rendering: pixelated; }
[hidden] { display: none !important; }

.page { overflow-x: hidden; position: relative; }

/* ---------- アニメーション ---------- */
@keyframes bobY   { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes drift  { 0%{transform:translateX(0)} 100%{transform:translateX(110vw)} }
@keyframes blink  { 0%,60%{opacity:1} 61%,100%{opacity:0} }
@keyframes marquee{ 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ---------- ヘッダー（HUD） ---------- */
.hud {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; pointer-events: none;
}
.hud__panel {
  background: var(--ink); color: #fff;
  padding: 8px 12px;
  border: 3px solid var(--ink-deep);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-pixel); font-size: 13px;
}
.hud__logo {
  pointer-events: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  color: #fff;
}
.hud__logo:hover { color: #fff; }
.hud__chip { width: 12px; height: 12px; background: var(--yellow); display: inline-block; }
.hud__logo-text {
  font-family: var(--font-pixel); font-size: 18px;
  letter-spacing: .08em; white-space: nowrap;
}
.hud__nav {
  pointer-events: auto; margin-left: auto;
  display: none; gap: 6px; align-items: center;
}
.hud__nav a { color: #fff; padding: 0 6px; white-space: nowrap; }
.hud__nav a:hover { color: var(--yellow); }
.hud__nav a.is-cta { color: var(--yellow); }
.hud__nav a.is-cta:hover { color: #fff; }
@media (min-width: 861px) { .hud__nav { display: flex; } }

/* スマホ用のメニュー開閉 */
.hud__toggle {
  pointer-events: auto; margin-left: auto;
  background: var(--ink); color: var(--yellow);
  border: 3px solid var(--ink-deep); box-shadow: var(--shadow-sm);
  font-family: var(--font-pixel); font-size: 13px; letter-spacing: .15em;
  padding: 8px 12px; cursor: pointer;
}
@media (min-width: 861px) { .hud__toggle { display: none; } }
.hud__drawer {
  position: fixed; top: 58px; right: 14px; z-index: 99;
  display: none; flex-direction: column; gap: 2px;
  background: var(--ink); border: 3px solid var(--ink-deep);
  box-shadow: var(--shadow-sm); padding: 10px 14px;
  font-family: var(--font-pixel); font-size: 14px;
}
.hud__drawer.is-open { display: flex; }
.hud__drawer a { color: #fff; padding: 6px 4px; }
.hud__drawer a:hover { color: var(--yellow); }

/* ---------- 空の帯（下層ページ共通のヒーロー） ---------- */
.subhero {
  position: relative;
  height: 190px;
  background: linear-gradient(var(--sky-light), var(--sky));
  overflow: hidden;
}
.subhero__cloud { position: absolute; left: -180px; opacity: .9; animation: drift 60s linear infinite; }
.subhero__cloud--1 { top: 26%; width: 120px; }
.subhero__cloud--2 { top: 58%; width: 84px; opacity: .7; animation-duration: 85s; animation-delay: -40s; }
.subhero--home { height: 260px; }
.subhero__person {
  position: absolute; bottom: -6px; right: 9%; width: 92px;
  animation: bobY 3s ease-in-out infinite;
}
.subhero__tree { position: absolute; bottom: -4px; }
.subhero__tree--1 { left: 7%; width: 58px; }
.subhero__tree--2 { left: 14%; width: 42px; }
@media (max-width: 600px) {
  .subhero { height: 92px; }
  .subhero--home { height: 170px; }
  .subhero__cloud--2 { display: none; }
  .subhero__person { width: 68px; right: 6%; }
  .subhero__tree--2 { display: none; }
}

/* ---------- 流れる帯 ---------- */
.marquee {
  background: var(--ink);
  border-top: 4px solid var(--ink-deep);
  border-bottom: 4px solid var(--ink-deep);
  overflow: hidden; padding: 10px 0; position: relative; z-index: 6;
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--font-pixel); font-size: 16px;
  color: var(--yellow); letter-spacing: .25em;
}
.marquee__track span { padding: 0 30px; white-space: nowrap; }

/* ---------- セクション共通 ---------- */
.section { position: relative; padding: 0 24px 110px; }
.section__edge {
  height: 24px; position: absolute; left: 0; right: 0; top: -24px;
  background-repeat: repeat-x; image-rendering: pixelated;
}
.section--cream { background: var(--cream); }
.section--grass { background: var(--grass); }
.section--sand  { background: var(--sand); }
.section--dark  { background: var(--ink); }
.section--cream .section__edge { background-image: url('assets/img/edge-cream.png'); }
.section--grass .section__edge { background-image: url('assets/img/edge-grass.png'); }
.section--sand  .section__edge { background-image: url('assets/img/edge-sand.png'); }
.section--dark  .section__edge { background-image: url('assets/img/edge-dark.png'); }

.section__inner { max-width: 980px; margin: 0 auto; padding-top: 72px; }
.section__inner--article { max-width: 780px; }

.section__head { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; }
.section__marker { width: 14px; height: 14px; background: var(--yellow); border: 3px solid var(--ink); flex-shrink: 0; }
.section__label {
  font-family: var(--font-pixel); font-size: 15px;
  letter-spacing: .2em; color: var(--ink); white-space: nowrap;
}
.section__rule { flex: 1; border-top: 3px dashed #d8ccae; }
.section__dist { font-family: var(--font-pixel); font-size: 13px; color: #a0946f; white-space: nowrap; }

.section__title {
  font-family: var(--font-pixel);
  font-size: clamp(26px, 3.6vw, 40px); line-height: 1.5; margin: 0 0 20px;
}
.section__lead {
  font-size: 16px; line-height: 2.1; max-width: 640px;
  margin: 0 0 48px; color: var(--ink-soft);
}

/* ---------- カード ---------- */
.card {
  background: #fff;
  border: var(--border);
  box-shadow: var(--shadow-card);
  padding: 26px;
}

.tag {
  background: var(--cream); border: 2px solid var(--ink);
  padding: 4px 10px; font-size: 12px; font-weight: 700; white-space: nowrap;
  font-family: var(--font-pixel); letter-spacing: .1em;
}
.tag--news  { background: #c5eef0; }
.tag--works { background: #ffe9a8; }
.tag--blog  { background: #c9e8b2; }

/* ブログカテゴリの色分け（正本：hayalabo-site 実績ラベルの SNS=緑 / Web=黄 / LINE=水色 に整合） */
.tag--cat-line   { background: #c5eef0; } /* 公式LINE：水色 */
.tag--cat-sns    { background: #c9e8b2; } /* SNS集客：緑 */
.tag--cat-seo    { background: #ffe9a8; } /* SEO：黄 */
.tag--cat-ai     { background: #e6dcf5; } /* AI活用：薄紫 */
.tag--cat-column { background: #f0e6d2; } /* コラム：生成り */

/* ---------- 記事一覧 ---------- */
/* ---------- 記事一覧の絞り込みチップ（ブログトップ） ---------- */
.filter { margin: 30px 0 36px; display: flex; flex-direction: column; gap: 14px; }
.filter__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter__label {
  font-family: var(--font-pixel); font-size: 12px; color: #a0946f;
  letter-spacing: .15em; white-space: nowrap;
}
.filter__chip {
  font-family: var(--font-pixel); font-size: 13.5px; color: var(--ink);
  padding: 8px 14px; background: #fff; border: var(--border);
  box-shadow: 4px 4px 0 rgba(16, 19, 21, .25);
  cursor: pointer; transition: transform .12s, box-shadow .12s;
}
.filter__chip:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(16, 19, 21, .3); }
.filter__chip.is-active { background: var(--ink); color: var(--yellow); }
.filter__chip--tag { background: var(--cream); }
.filter__chip--tag.is-active { background: var(--ink); }

/* カテゴリチップも同じ色分け（選択中は黒地が優先） */
.filter__chip[data-cat][data-slug="line"]:not(.is-active)   { background: #c5eef0; }
.filter__chip[data-cat][data-slug="sns"]:not(.is-active)    { background: #c9e8b2; }
.filter__chip[data-cat][data-slug="seo"]:not(.is-active)    { background: #ffe9a8; }
.filter__chip[data-cat][data-slug="ai"]:not(.is-active)     { background: #e6dcf5; }
.filter__chip[data-cat][data-slug="column"]:not(.is-active) { background: #f0e6d2; }
.filter__empty { padding: 26px 24px; font-size: 14px; color: var(--ink-soft); }

.post-grid.is-loading { opacity: .45; }
@keyframes hayalabo-appear {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
/* fill を both にしない：終了後もアニメが transform を固定し続け、:hover の持ち上がりが効かなくなる */
.post-card--appear { animation: hayalabo-appear .45s ease; }

.post-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.post-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 0 0 22px;
  position: relative; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
/* ホバーの動きはフォローバンドの .follow__btn と同じ（左上へ2px浮く＋影が伸びる） */
.post-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
/* タイトルのリンクをカード全面に広げる（カードのどこを押しても記事へ） */
.post-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card__thumb {
  display: block; border-bottom: var(--border);
  aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand);
}
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__thumb--empty {
  display: flex; align-items: center; justify-content: center;
}
.post-card__thumb--empty img { width: 64px; height: auto; image-rendering: pixelated; object-fit: contain; }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 0 20px; }
.post-card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.post-card__date { font-family: var(--font-pixel); font-size: 12.5px; color: #a0946f; }
.post-card__title { font-size: 16.5px; font-weight: 700; line-height: 1.7; margin: 0; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--gold); }
.post-card__excerpt { font-size: 13.5px; line-height: 1.9; margin: 0; color: var(--ink-soft); }

/* お知らせの1行リスト */
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-row {
  display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap;
  padding: 18px 22px;
}
.news-row__date { font-family: var(--font-pixel); font-size: 13px; color: #a0946f; white-space: nowrap; }
.news-row__title { font-size: 15.5px; font-weight: 700; margin: 0; line-height: 1.8; }
.news-row__title a { color: var(--ink); }
.news-row__title a:hover { color: var(--gold); }

/* ---------- ページネーション ---------- */
.pagination { margin-top: 48px; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers {
  font-family: var(--font-pixel); font-size: 15px;
  background: #fff; color: var(--ink);
  border: var(--border); box-shadow: 4px 4px 0 rgba(16, 19, 21, .3);
  padding: 8px 14px; min-width: 20px; display: inline-block;
}
.pagination .page-numbers.current { background: var(--ink); color: var(--yellow); }
.pagination .page-numbers:hover:not(.current) { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(16, 19, 21, .3); }

/* ---------- 記事ページ ---------- */
.article-head { margin-bottom: 36px; }
.article-head__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.article-head__date { font-family: var(--font-pixel); font-size: 13px; color: #a0946f; }
.article-head__title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(23px, 3.2vw, 34px); line-height: 1.55; margin: 0;
  letter-spacing: .01em;
}
.article-thumb { margin: 0 0 32px; border: var(--border); box-shadow: var(--shadow-card); }
.article-thumb img { display: block; width: 100%; }

.article-body {
  font-size: 15.5px; line-height: 2.1; color: var(--ink);
}

/* 記事内でインラインstyleのクリーム背景（もくじ・吹き出し・囲み・CTA等）を白に統一 */
.article-body [style*="background:#f7f1e1"] { background-color: #fff !important; }
/* テーブルの縞行はクリームだとページ地と同化するので薄グレーに */
.article-body tr[style*="background:#f7f1e1"],
.article-body th[style*="background:#f7f1e1"],
.article-body td[style*="background:#f7f1e1"] { background-color: #eef0f2 !important; }
/* 濃い緑（grass）のボックスは暗い印象なので明るい黄緑に */
.article-body [style*="background:#7cc253"] { background-color: #a3e05c !important; }
/* 紫（ラベンダー）のボックスは寒色なので暖色（ピーチ）に */
.article-body [style*="background:#c9b6f5"] { background-color: #ffd8a8 !important; }
@media (max-width: 600px) {
  .section { padding-left: 16px; padding-right: 16px; }
  .section__inner { padding-top: 40px; }
  .article-head { margin-bottom: 26px; }
}

/* --- 記事本文中のブロック（エディタと揃える。editor-style.css と対で管理） --- */
.article-body > * { margin-top: 0; margin-bottom: 1.6em; }
.article-body > *:last-child { margin-bottom: 0; }

.article-body h2 {
  font-family: var(--font-body); font-weight: 800; font-size: 21px; line-height: 1.7;
  color: var(--ink); margin: 2.2em 0 0.9em;
  padding-left: 14px; border-left: 6px solid var(--yellow);
}
.article-body h3 {
  font-family: var(--font-body); font-weight: 700; font-size: 18.5px; line-height: 1.7;
  color: var(--ink); margin: 2em 0 0.8em;
  padding-bottom: 6px; border-bottom: 3px solid var(--yellow);
}
.article-body h4 {
  font-family: var(--font-body); font-weight: 700; font-size: 16.5px; line-height: 1.7;
  color: var(--ink); margin: 1.8em 0 0.7em;
}
.article-body h2:first-child, .article-body h3:first-child { margin-top: 0; }

.article-body strong { color: var(--ink); background: linear-gradient(transparent 62%, rgba(255, 204, 51, .55) 62%); }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }

.article-body blockquote {
  margin: 0 0 1.6em; padding: 18px 22px;
  background: #fff; border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(16, 19, 21, .2);
  font-size: 14.5px;
}
.article-body blockquote p { margin: 0 0 .6em; }
.article-body blockquote cite { font-size: 12.5px; color: #7a7157; font-style: normal; }

.article-body ul, .article-body ol { padding-left: 1.4em; }
.article-body li { margin-bottom: .4em; }
.article-body li::marker { color: var(--gold); }

.article-body .wp-block-image { margin-bottom: 1.6em; }
.article-body .wp-block-image img { border: var(--border); box-shadow: var(--shadow-card); }
.article-body .wp-block-image figcaption {
  font-size: 12.5px; color: #7a7157; text-align: center; margin-top: 10px;
}

.article-body .wp-block-table table {
  width: 100%; border-collapse: collapse;
  background: #fff; border: var(--border); font-size: 14px;
}
.article-body .wp-block-table th, .article-body .wp-block-table td {
  border: 2px solid #e4dcc6; padding: 10px 14px; line-height: 1.8;
}
.article-body .wp-block-table th { background: #eef0f2; font-weight: 700; }

.article-body pre, .article-body code {
  font-family: var(--font-pixel); font-size: 14px;
  background: var(--ink); color: #eef1f2;
}
.article-body code { padding: 2px 8px; }
.article-body pre { padding: 18px 22px; overflow-x: auto; border: 3px solid var(--ink-deep); }
.article-body pre code { padding: 0; }

.article-body .wp-block-separator {
  border: none; border-top: 3px dashed #d8ccae; margin: 2.4em auto;
}

.article-body .wp-block-button__link {
  font-family: var(--font-pixel); font-size: 16px; letter-spacing: .15em;
  background: var(--ink); color: var(--yellow);
  border: 3px solid var(--ink-deep); border-radius: 0;
  padding: 13px 24px; box-shadow: 4px 4px 0 rgba(16, 19, 21, .3);
  transition: transform .1s, box-shadow .1s;
  text-decoration: none;
}
.article-body .wp-block-button__link:hover {
  transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(16, 19, 21, .3);
  color: var(--yellow);
}

/* パターン用スタイル */
.hayalabo-box {
  background: #fff; border: var(--border);
  box-shadow: 4px 4px 0 rgba(16, 19, 21, .25);
  padding: 22px 26px; margin-bottom: 1.6em;
}
.hayalabo-box__label {
  font-family: var(--font-pixel); font-size: 13px; letter-spacing: .2em;
  color: var(--gold); margin: 0 0 10px;
}
.hayalabo-box p:last-child { margin-bottom: 0; }
.hayalabo-source {
  font-size: 12.5px; color: #7a7157; text-align: right; margin: -0.8em 0 1.6em;
}

/* ---------- 関連記事（ブログ記事の末尾・回遊導線） ---------- */
.related { margin-top: 56px; }
.related__title {
  font-family: var(--font-pixel);
  font-size: 20px; letter-spacing: .1em;
  margin: 0 0 20px; color: var(--ink);
  display: flex; align-items: center; gap: 12px;
}
.related__title::before {
  content: ""; width: 14px; height: 14px; flex-shrink: 0;
  background: var(--gold); border: 2px solid var(--ink);
}
.post-grid--related { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.post-grid--related .post-card { background: #fff; }

/* ---------- 前後の記事ナビ ---------- */
.post-nav {
  margin-top: 40px; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.post-nav__link {
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px 22px; color: var(--ink);
}
.post-nav__link:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.post-nav__dir { font-family: var(--font-pixel); font-size: 12px; color: var(--gold); letter-spacing: .15em; }
.post-nav__title { font-size: 14px; font-weight: 700; line-height: 1.7; }
.post-nav__link--next { text-align: right; align-items: flex-end; }

/* ---------- 戻るボタン ---------- */
.back-button { margin: 48px 0 0; text-align: center; }
.back-button a {
  display: inline-block;
  font-family: var(--font-pixel); font-size: 15px; letter-spacing: .1em;
  background: var(--ink); color: var(--yellow);
  border: 3px solid var(--ink-deep); padding: 12px 22px;
  box-shadow: 4px 4px 0 rgba(16, 19, 21, .3);
  transition: transform .1s, box-shadow .1s;
}
.back-button a:hover {
  color: var(--yellow);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(16, 19, 21, .3);
}

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound-code {
  font-family: var(--font-pixel);
  font-size: clamp(64px, 14vw, 130px); line-height: 1;
  color: var(--yellow); text-shadow: 5px 5px 0 var(--ink);
  margin-bottom: 24px;
}

/* ---------- フォローバンド（SNS導線・フッター直前） ---------- */
.follow {
  position: relative;
  background: var(--grass);
  padding: 0 24px 72px;
}
.follow__inner {
  max-width: 980px; margin: 0 auto; padding-top: 64px;
  display: flex; flex-wrap: wrap; gap: 28px 40px;
  align-items: center; justify-content: space-between;
}
.follow__title {
  font-family: var(--font-pixel);
  font-size: clamp(20px, 2.8vw, 28px); line-height: 1.5;
  margin: 0 0 8px; color: var(--ink);
}
.follow__lead {
  font-size: 15px; line-height: 1.9; margin: 0; color: var(--ink-soft);
}
.follow__links { display: flex; flex-wrap: wrap; gap: 16px; }
.follow__btn {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: var(--border); box-shadow: var(--shadow-sm);
  padding: 10px 16px 10px 10px; color: var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
a.follow__btn:hover {
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(16, 19, 21, .35);
}
.follow__icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--ink); image-rendering: pixelated;
}
.follow__icon--x    { background: var(--ink-deep); color: #fff; }
.follow__icon--note { background: var(--sky); color: var(--ink); }
.follow__icon--yt   { background: var(--sand); color: var(--ink-soft); }
.follow__meta { display: flex; flex-direction: column; line-height: 1.3; }
.follow__name { font-family: var(--font-pixel); font-size: 16px; }
.follow__handle { font-family: var(--font-pixel); font-size: 12px; color: var(--ink-soft); }
.follow__btn--soon {
  opacity: .6; border-style: dashed; box-shadow: none; cursor: default;
}

@media (max-width: 640px) {
  .follow { padding-left: 16px; padding-right: 16px; }
  .follow__inner { padding-top: 48px; display: block; }
  .follow__head { margin-bottom: 24px; }
  .follow__links { flex-direction: column; align-items: stretch; }
}

/* ---------- フッター ---------- */
.footer { position: relative; background: var(--ink); padding: 0 24px 40px; }
.footer__edge {
  height: 24px; position: absolute; left: 0; right: 0; top: -24px;
  background-image: url('assets/img/edge-dark.png');
  background-repeat: repeat-x; image-rendering: pixelated;
}
.footer__inner {
  max-width: 980px; margin: 0 auto; padding-top: 56px;
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between;
}
.footer__logo { display: flex; align-items: center; gap: 10px; }
.footer__logo-text { font-family: var(--font-pixel); font-size: 20px; color: #fff; letter-spacing: .08em; }
.footer__nav { display: flex; gap: 18px; font-family: var(--font-pixel); font-size: 13px; flex-wrap: wrap; }
.footer__nav a { color: #9aa4ad; }
.footer__nav a:hover { color: var(--yellow); }
.footer__copy { font-family: var(--font-pixel); font-size: 12px; color: #79828b; }

/* ---------- スクロール表示アニメーション ---------- */
[data-reveal] { will-change: opacity, transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
