:root {
  --bg: #130f0b;          /* 灯火の下の暗がり（暖色の黒） */
  --bg2: #1a140e;
  --card: #12142400;
  --card-s: #1c1712;
  --ink: #f6efe1;         /* 灯りに照らされた生成り */
  --muted: #b7a998;
  --verm: #ff7a4d;        /* 燠火（ember） */
  --cyan: #f0c27a;        /* 淡い灯り色（旧：ネオンシアン） */
  --gold: #e9bd6c;        /* 金・主役の温かい光 */
  --violet: #a5623f;      /* 焦げ茶の紅（旧：ネオン紫） */
  --line: rgba(233, 189, 108, 0.22);   /* 金のヘアライン */
  --line-c: rgba(240, 194, 122, 0.18);
  --glow-v: 0 0 20px rgba(255, 122, 77, 0.4);
  --glow-c: 0 0 18px rgba(240, 194, 122, 0.35);
  --glow-g: 0 0 16px rgba(233, 189, 108, 0.4);
  --max: 1080px;
  --radius: 14px;
  --sans: "Zen Kaku Gothic New", system-ui, sans-serif;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --cursor-paw: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzNCIgaGVpZ2h0PSIzNCIgdmlld0JveD0iMCAwIDM0IDM0Ij4KICA8ZyBmaWxsPSIjZTliZDZjIiBvcGFjaXR5PSIwLjg1Ij4KICAgIDxlbGxpcHNlIGN4PSIxNyIgY3k9IjIyLjUiIHJ4PSIxMSIgcnk9IjkuMyIvPgogICAgPGVsbGlwc2UgY3g9IjcuMiIgY3k9IjEzLjYiIHJ4PSI1IiByeT0iNi40IiB0cmFuc2Zvcm09InJvdGF0ZSgtMTYgNy4yIDEzLjYpIi8+CiAgICA8ZWxsaXBzZSBjeD0iMTMuOCIgY3k9IjguNiIgcng9IjUiIHJ5PSI2LjQiLz4KICAgIDxlbGxpcHNlIGN4PSIyMC4yIiBjeT0iOC42IiByeD0iNSIgcnk9IjYuNCIvPgogICAgPGVsbGlwc2UgY3g9IjI2LjgiIGN5PSIxMy42IiByeD0iNSIgcnk9IjY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CiAgPGcgZmlsbD0iI2ZmYTdjNCI+CiAgICA8ZWxsaXBzZSBjeD0iMTciIGN5PSIyMiIgcng9IjQuNiIgcnk9IjMuOCIvPgogICAgPGVsbGlwc2UgY3g9IjcuNiIgY3k9IjEzLjUiIHJ4PSIxLjgiIHJ5PSIyLjQiIHRyYW5zZm9ybT0icm90YXRlKC0xNiA3LjYgMTMuNSkiLz4KICAgIDxlbGxpcHNlIGN4PSIxMy45IiBjeT0iOC44IiByeD0iMS44IiByeT0iMi40Ii8+CiAgICA8ZWxsaXBzZSBjeD0iMjAuMSIgY3k9IjguOCIgcng9IjEuOCIgcnk9IjIuNCIvPgogICAgPGVsbGlwc2UgY3g9IjI2LjQiIGN5PSIxMy41IiByeD0iMS44IiByeT0iMi40IiB0cmFuc2Zvcm09InJvdGF0ZSgxNiAyNi40IDEzLjUpIi8+CiAgPC9nPgo8L3N2Zz4K") 17 22, pointer;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; cursor: var(--cursor-paw); }
body {
  font-family: var(--sans); color: var(--ink); background: var(--bg);
  line-height: 1.85; font-weight: 500; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  /* 灯りが揺れるような、ごくうっすらとした光の粒 */
  background-image:
    radial-gradient(circle at 100% 50%, transparent 21%, rgba(233,189,108,.045) 22% 33%, transparent 34%),
    radial-gradient(circle at 0% 50%, transparent 21%, rgba(233,189,108,.045) 22% 33%, transparent 34%);
  background-size: 34px 68px;
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--sans); font-weight: 700; padding: 14px 30px; border-radius: 999px; cursor: var(--cursor-paw-pointer); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; text-align: center; }
.btn-primary { background: linear-gradient(120deg, var(--verm), #ff5a3d); color: #120a0a; box-shadow: 0 0 24px rgba(255,122,77,.5), 0 0 44px rgba(255,90,61,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(255,122,77,.65), 0 0 60px rgba(255,90,61,.4); }
.btn-ghost { background: rgba(240,194,122,.06); color: var(--cyan); border: 1.5px solid rgba(240,194,122,.5); }
.btn-ghost:hover { background: rgba(240,194,122,.12); transform: translateY(-2px); box-shadow: var(--glow-c); }
.btn-outline { background: transparent; color: var(--gold); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--gold); box-shadow: var(--glow-g); }
.btn-sm { padding: 9px 20px; font-size: .85rem; }
.btn-lg { padding: 16px 40px; font-size: 1.04rem; }
.btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(19,15,11,.74); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--gold); box-shadow: var(--glow-g); }
.brand-name { font-weight: 900; font-size: 1rem; letter-spacing: .03em; }

/* ===== BGMコントロール（ヘッダー/フッター） ===== */
.header-actions { display: flex; align-items: center; gap: 10px; }
.bgm-ctl { display: flex; align-items: center; gap: 8px; }
/* サウンド操作はシアン系の"ひとかたまり"に */
.header-actions .bgm-ctl { padding: 5px 11px 5px 6px; border-radius: 999px; background: rgba(240,194,122,.07); border: 1px solid rgba(240,194,122,.2); }
.bgm-toggle { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--line-c); background: rgba(240,194,122,.06); color: #bda98c; cursor: var(--cursor-paw-pointer); transition: color .2s, border-color .2s, box-shadow .2s; }
.bgm-toggle:hover { color: #f2d4a0; border-color: rgba(240,194,122,.5); }
.bgm-toggle.on { color: #f0c27a; border-color: rgba(240,194,122,.6); animation: bgmPulse 2s ease-in-out infinite; }
@keyframes bgmPulse { 0%,100% { box-shadow: 0 0 9px rgba(240,194,122,.25); } 50% { box-shadow: 0 0 16px rgba(240,194,122,.5); } }
.bgm-vol { -webkit-appearance: none; appearance: none; width: 72px; height: 4px; border-radius: 3px; background: rgba(240,194,122,.22); outline: none; cursor: var(--cursor-paw-pointer); }
.bgm-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #f0c27a; box-shadow: 0 0 8px rgba(240,194,122,.6); cursor: var(--cursor-paw-pointer); }
.bgm-vol::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: #f0c27a; box-shadow: 0 0 8px rgba(240,194,122,.6); cursor: var(--cursor-paw-pointer); }
/* ヘッダーの区切り線 */
.hdr-divider { width: 1px; height: 22px; background: rgba(255,255,255,.16); flex: 0 0 auto; }
/* note は金色の"実ボタン"として明確に */
.btn-note { background: rgba(230,198,116,.14); font-weight: 800; letter-spacing: .04em; }
.btn-note:hover { background: rgba(230,198,116,.24); border-color: var(--gold); box-shadow: var(--glow-g); }
.bgm-ctl-footer { justify-content: center; margin: 4px 0 2px; }
.bgm-label { font-size: .72rem; letter-spacing: .18em; color: #807b96; }
@media (max-width: 560px) { .bgm-vol { width: 48px; } .header-actions { gap: 8px; } .header-actions .bgm-ctl { padding: 4px 8px 4px 5px; gap: 6px; } }
@media (max-width: 480px) {
  .header-actions .bgm-ctl, .header-actions .hdr-divider { display: none; }
  .header-actions .btn-sm { padding: 8px 13px; font-size: .78rem; white-space: nowrap; }
}

/* ===== 動く壁 ===== */
.wall { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; grid-auto-flow: row dense; gap: 6px; }
.wall .tile { position: relative; overflow: hidden; background: #150f0a; border-radius: 8px; }
.wall .tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.wall .tile.tall { grid-row: span 2; }
@media (max-width: 640px) { .wall { grid-template-columns: repeat(3, 1fr); } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; }
.wall-bg { position: absolute; inset: -2%; z-index: 0; gap: 6px; filter: brightness(.56) saturate(1.25) contrast(1.04); }
.wall-bg .tile { border-radius: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background:
  radial-gradient(70% 55% at 20% 12%, rgba(255,122,77,.24), transparent 60%),
  radial-gradient(75% 60% at 85% 88%, rgba(240,194,122,.22), transparent 60%),
  radial-gradient(125% 95% at 50% 46%, transparent 30%, rgba(19,15,11,.58) 82%),
  linear-gradient(180deg, rgba(19,15,11,.36), rgba(19,15,11,.28)); }
.hero-inner { position: relative; z-index: 3; padding: 40px 22px; }
/* 日の丸/満月グロー（ゆっくり呼吸） */
.hero-inner::before { content: ""; position: absolute; top: 46%; left: 50%; transform: translate(-50%,-50%); width: min(66vw, 460px); aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(255,122,77,.4) 0 30%, rgba(255,122,77,.16) 46%, transparent 64%);
  filter: blur(4px); animation: sun 6.5s ease-in-out infinite; }
@keyframes sun { 0%,100%{ opacity:.82; transform:translate(-50%,-50%) scale(1);} 50%{ opacity:1; transform:translate(-50%,-50%) scale(1.07);} }
.eyebrow { letter-spacing: .36em; font-size: .72rem; color: var(--gold); font-weight: 700; margin-bottom: 22px; text-shadow: var(--glow-g); }
.eyebrow.center { text-align: center; }

/* 流れる大文字（金→朱→藍シアン→金） */
.hero-name { font-family: var(--serif); font-size: clamp(3rem, 12vw, 6.5rem); font-weight: 800; letter-spacing: .06em; line-height: 1;
  background: linear-gradient(100deg, #f2d9a8 0%, #f0b871 30%, #ff8a5c 55%, #f0b871 80%, #f2d9a8 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 18px rgba(255,138,92,.34)) drop-shadow(0 0 30px rgba(233,189,108,.22));
  animation: flowText 11s ease-in-out infinite, nameIn 1.3s cubic-bezier(.2,.7,.2,1) both; }
@keyframes flowText { 50% { background-position: 100% 0; } }
@keyframes nameIn { from { opacity:0; transform: translateY(16px) scale(.98); letter-spacing:.34em; } to { opacity:1; transform:none; letter-spacing:.06em; } }
.hero-tag { font-family: var(--serif); font-size: clamp(1.2rem, 4vw, 1.9rem); font-weight: 600; margin-top: 24px; text-shadow: 0 0 18px rgba(240,194,122,.32); animation: fadeUp 1.3s .35s ease both; }
.hero-tag::before, .hero-tag::after { content: "＼"; color: var(--gold); opacity: .6; margin: 0 .5em; font-size: .8em; text-shadow: var(--glow-g); }
.hero-tag::after { content: "／"; }
@keyframes fadeUp { from{ opacity:0; transform:translateY(12px);} to{ opacity:1; transform:none;} }

/* 縦書きの和アクセント */
.hero-vertical { position: absolute; top: 50%; right: max(3vw, 18px); transform: translateY(-50%); z-index: 3;
  writing-mode: vertical-rl; font-family: var(--serif); font-weight: 600; font-size: .92rem; letter-spacing: .34em;
  color: rgba(230,198,116,.75); text-shadow: 0 0 14px rgba(230,198,116,.4); }
@media (max-width: 900px) { .hero-vertical { display: none; } }
.hero-sub { color: #d6d1e6; margin-top: 14px; font-size: 1rem; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.scroll-cue { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 3; color: var(--gold); font-size: 1.5rem; text-shadow: var(--glow-g); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,7px);} }

/* Sections */
.section { padding: 96px 0; position: relative; overflow: hidden; }
.section-line { border-top: 1px solid var(--line); }
.section > *:not(.wa-mark) { position: relative; z-index: 1; }
/* 背後の漢字透かし（明朝） */
.wa-mark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -52%); z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--serif); font-weight: 800; line-height: 1; font-size: clamp(12rem, 40vw, 27rem);
  color: rgba(230, 198, 116, 0.055); text-shadow: 0 0 70px rgba(71, 216, 255, 0.06); }
/* 見出し：流れる金グラデ */
.section-title { text-align: center; font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 5vw, 2.3rem); letter-spacing: .04em;
  background: linear-gradient(100deg, #e9bd6c, #fff2cf 35%, #ff9a6b 60%, #e9bd6c 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 12px rgba(233,189,108,.32)); animation: flowText 13s ease-in-out infinite; }
.section-title::after { content: ""; display: block; width: 46px; height: 2px; margin: 16px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: var(--glow-g); }
.section-lead { text-align: center; color: var(--muted); max-width: 620px; margin: 16px auto 0; }

/* ===== 掛け軸風・和の木々（大きく縁に流し込み、文字は手前で読ませる） ===== */
.section > .kakejiku-tree { position: absolute; z-index: 0; }
.kakejiku-tree { pointer-events: none; user-select: none; top: 0; height: 100%; width: clamp(240px, 34vw, 420px); overflow: hidden; }
.kakejiku-tree img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.08) contrast(1.03) brightness(.96); }
.kakejiku-tree::after { content: ""; position: absolute; inset: 0; }
.tree-bamboo { right: 0; }
.tree-bamboo img { object-position: right center; }
.tree-bamboo::after { background: linear-gradient(to left, transparent 0%, var(--bg) 90%); }
.tree-plum { left: 0; }
.tree-plum img { object-position: left center; }
.tree-plum::after { background: linear-gradient(to right, transparent 0%, var(--bg) 90%); }
.tree-sakura { right: 0; }
.tree-sakura img { object-position: right center; }
.tree-sakura::after { background: linear-gradient(to left, transparent 0%, var(--bg) 90%); }
@media (max-width: 900px) { .kakejiku-tree { width: clamp(160px, 40vw, 260px); } }
@media (max-width: 560px) { .kakejiku-tree { width: 46vw; } }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.stat { background: var(--card-s); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 18px; text-align: center; transition: border-color .2s ease, box-shadow .2s ease; }
.stat:hover { border-color: rgba(230,198,116,.55); box-shadow: 0 0 22px rgba(230,198,116,.18); }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 3rem); font-weight: 800; color: var(--cyan); line-height: 1; letter-spacing: .01em; text-shadow: var(--glow-c); }
.stat-num .unit { font-size: .42em; color: var(--ink); margin-left: 3px; font-family: var(--sans); font-weight: 700; text-shadow: none; }
.stat-label { display: block; margin-top: 12px; font-size: .84rem; color: var(--muted); }
.stat:nth-child(2) .stat-num { color: var(--verm); text-shadow: var(--glow-v); }
.stat:nth-child(3) .stat-num { color: var(--gold); text-shadow: var(--glow-g); }
.stat:nth-child(4) .stat-num { color: var(--violet); text-shadow: 0 0 22px rgba(165,98,63,.55); }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* About */
.about-inner { display: flex; gap: 40px; align-items: center; max-width: 900px; }
.about-avatar { width: 170px; height: 170px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 3px solid var(--gold); box-shadow: 0 0 28px rgba(230,198,116,.4), 0 0 54px rgba(255,122,77,.2); }
.about-title { font-family: var(--serif); font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 700; line-height: 1.4; margin-bottom: 20px; }
.about-text { color: var(--muted); margin-bottom: 16px; }
.about-text strong { color: var(--cyan); font-weight: 700; text-shadow: 0 0 14px rgba(240,194,122,.35); }
@media (max-width: 720px) { .about-inner { flex-direction: column; text-align: center; gap: 24px; } }

/* Links */
.links-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 44px; }
.links-grid > .link-card { flex: 1 1 calc((100% - 32px) / 3); max-width: calc((100% - 32px) / 3); min-width: 220px; }
.link-card { display: flex; flex-direction: column; background: var(--card-s); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.link-card:not(.soon):hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: var(--glow-c); }
.link-card.featured { border-color: var(--verm); background: linear-gradient(160deg, rgba(255,122,77,.12), var(--card-s)); box-shadow: 0 0 22px rgba(255,122,77,.2); }
.link-head { display: flex; align-items: center; gap: 12px; }
.link-icon { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.link-icon svg { width: 21px; height: 21px; display: block; }
.link-card:not(.soon):hover .link-icon { border-color: rgba(240,194,122,.35); }
.link-name { font-weight: 900; font-size: 1.15rem; }
.link-desc { color: var(--muted); font-size: .86rem; margin-top: 12px; }
.link-go { margin-top: 16px; color: var(--cyan); font-weight: 700; font-size: .9rem; }
.link-card.featured .link-go { color: var(--verm); }
.link-card.soon { opacity: .5; }
.link-go.badge { display: inline-block; align-self: flex-start; background: rgba(230,198,116,.1); border: 1px solid var(--line); color: var(--muted); padding: 3px 12px; border-radius: 999px; font-size: .78rem; }
@media (max-width: 720px) { .links-grid > .link-card { flex-basis: calc((100% - 16px) / 2); max-width: calc((100% - 16px) / 2); min-width: 0; } }
@media (max-width: 460px) { .links-grid > .link-card { flex-basis: 100%; max-width: 100%; } }
/* YouTube：タイトル画像を他カードと同サイズのボタンに */
.link-youtube { position: relative; padding: 0; overflow: hidden; min-height: 152px; }
.link-youtube .yt-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.link-card.link-youtube:hover { border-color: #ff4d4d; box-shadow: 0 0 22px rgba(255,45,45,.3); }
.link-youtube:hover .yt-cover { transform: scale(1.05); }
.yt-badge { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 5px; border-radius: 999px; background: rgba(12,13,22,.72); backdrop-filter: blur(3px); color: #fff; font-weight: 800; font-size: .82rem; box-shadow: 0 4px 14px rgba(0,0,0,.42); }
.yt-play { width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #ff0000; color: #fff; }
.yt-play svg { width: 12px; height: 12px; margin-left: 1px; }
/* 黒猫レコーズ（無料BGM）：画像カード */
.link-bgm { position: relative; padding: 0; overflow: hidden; min-height: 152px; }
.link-bgm .rec-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.link-card.link-bgm:hover { border-color: #a86bff; box-shadow: 0 0 22px rgba(165,98,63,.32); }
.link-bgm:hover .rec-cover { transform: scale(1.05); }
.rec-ico { width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #a86bff, #ff5ea8); color: #fff; }
.rec-ico svg { width: 12px; height: 12px; }

/* ===== 花札：畳に平置き ===== */
.fuda-flat { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 22px 18px; max-width: 900px; margin: 44px auto 0; padding: 10px 6px 30px; }
.fuda-hint-line { text-align: center; margin-top: 12px; color: var(--muted); font-size: .76rem; letter-spacing: .06em; }

/* ===== ページを彷徨う黒猫（ビューポート固定） ===== */
.cat-roam { position: fixed; z-index: 150; width: 64px; pointer-events: none; filter: drop-shadow(0 6px 12px rgba(0,0,0,.55)); }
.cat-roam-img { width: 100%; height: auto; display: block; transition: transform .25s ease; }
.cat-roam.face-right .cat-roam-img { transform: scaleX(-1); }
.cat-roam.walking .cat-roam-img { animation: catWalkBob .46s ease-in-out infinite; }
.cat-roam.face-right.walking .cat-roam-img { animation: catWalkBobFlip .46s ease-in-out infinite; }
.cat-roam.paused .cat-roam-img { animation: catIdle 3.6s ease-in-out infinite; }
.cat-roam.hidden-cat { opacity: 0; transition: opacity .2s ease; }
@keyframes catIdle { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-3px) rotate(-1.5deg); } }
@keyframes catWalkBob { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-4px) rotate(1deg); } }
@keyframes catWalkBobFlip { 0%,100% { transform: scaleX(-1) translateY(0) rotate(-1deg); } 50% { transform: scaleX(-1) translateY(-4px) rotate(1deg); } }

@media (max-width: 560px) { .cat-roam { width: 50px; } }
/* 選択演出：飛んできて斜めに刺さる札 */
.fuda-hero-layer { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(15,11,8,0); transition: background .35s ease; }
.fuda-hero-layer.show { display: flex; background: rgba(15,11,8,.74); backdrop-filter: blur(3px); }
/* 注力チャンネル（YouTube/BGM）選択時：以前のカバー画像を全面背景に */
.fuda-hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: 0; filter: blur(2px) brightness(.6) saturate(1.15); transform: scale(1.06); transition: opacity .5s ease; pointer-events: none; }
.fuda-hero-layer.has-bg .fuda-hero-bg { opacity: 1; }
.fuda-hero-layer.has-bg { background: rgba(15,11,8,.5); }
.fuda-hero-card { z-index: 1; }
.fuda-hero-hint { z-index: 1; }
.fuda-hero-card { position: absolute; top: 50%; left: 50%; width: 244px; height: 356px; border-radius: 16px; background-size: cover; background-position: center; box-shadow: 0 34px 80px rgba(0,0,0,.72), 0 0 46px rgba(230,198,116,.42); transform: translate(-50%,-50%); will-change: transform, opacity; cursor: var(--cursor-paw-pointer); pointer-events: none; }
.fuda-hero-layer.ready .fuda-hero-card { pointer-events: auto; }   /* 飛来完了後だけ開ける */
.fuda-hero-hint { position: absolute; bottom: 12%; color: #fff; font-weight: 800; letter-spacing: .08em; font-size: 1rem; opacity: 0; transition: opacity .3s; text-shadow: 0 2px 12px rgba(0,0,0,.7); pointer-events: none; }
.fuda-hero-layer.ready .fuda-hero-hint { opacity: .92; }
.fuda-hero-hint small { display: block; margin-top: 6px; font-size: .72em; font-weight: 600; opacity: .72; }
@media (max-width: 560px) { .fuda-hero-card { width: 200px; height: 292px; } }
.fuda { position: relative; width: 132px; height: 194px; border-radius: 13px; overflow: hidden; text-decoration: none; pointer-events: auto; cursor: var(--cursor-paw-pointer);
  color: #fff; background: radial-gradient(135% 108% at 50% -12%, var(--fc), var(--fc2) 80%);
  transform: rotate(var(--rot, 0deg)) translateY(var(--ty, 0px));
  transition: transform .3s cubic-bezier(.2,.8,.25,1), box-shadow .3s ease;
  box-shadow: inset 0 0 0 3px #f4e6b8, inset 0 0 0 5px rgba(201,162,75,.5), 0 12px 26px rgba(0,0,0,.45); }
.fuda::before { content: ""; position: absolute; inset: 0; z-index: 1; background: repeating-radial-gradient(circle at 50% 122%, rgba(255,255,255,.1) 0 1.5px, transparent 1.5px 14px); opacity: .6; pointer-events: none; }
.fuda::after { content: "❀"; position: absolute; top: 9px; left: 11px; z-index: 1; color: rgba(255,255,255,.65); font-size: 12px; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.fuda:hover, .fuda:focus-visible { transform: rotate(0deg) translateY(calc(var(--ty, 0px) - 10px)) scale(1.06); z-index: 2; box-shadow: inset 0 0 0 3px #fff3cf, inset 0 0 0 5px rgba(230,198,116,.9), 0 0 26px rgba(230,198,116,.4), 0 0 40px var(--fc), 0 18px 34px rgba(0,0,0,.5); }
.fuda:focus-visible { outline: none; }
/* 画像を使う札（YouTube/BGM＝元画像を流用） */
.fuda-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.fuda:has(.fuda-img) { background: #14101a; }
.fuda:has(.fuda-img)::before { display: none; }

/* 準備中の花札：貼り紙＋バッテン */
.fuda-locked .fuda-img { filter: grayscale(.75) brightness(.42); }
.fuda-seal { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.fuda-seal-x { position: absolute; inset: 10%; }
.fuda-seal-x::before, .fuda-seal-x::after { content: ""; position: absolute; top: 50%; left: 50%; width: 128%; height: 3px; background: rgba(230,60,50,.82); box-shadow: 0 0 6px rgba(0,0,0,.5); }
.fuda-seal-x::before { transform: translate(-50%,-50%) rotate(45deg); }
.fuda-seal-x::after { transform: translate(-50%,-50%) rotate(-45deg); }
.fuda-seal-tape { position: absolute; top: 42%; left: 50%; transform: translate(-50%,-50%) rotate(-9deg); background: repeating-linear-gradient(135deg, #efe2c2, #efe2c2 6px, #e6d6ac 6px, #e6d6ac 12px); color: #3a2a1a; font-family: var(--serif); font-weight: 800; font-size: 1.05rem; letter-spacing: .12em; padding: 5px 16px; white-space: nowrap; box-shadow: 0 3px 10px rgba(0,0,0,.5); border: 1px dashed rgba(58,42,26,.5); }
.fuda-hero-card.locked { filter: grayscale(.7) brightness(.5); }
.fuda-hero-card.locked::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(45deg, transparent 47.5%, rgba(230,60,50,.85) 49%, rgba(230,60,50,.85) 51%, transparent 52.5%),
  linear-gradient(-45deg, transparent 47.5%, rgba(230,60,50,.85) 49%, rgba(230,60,50,.85) 51%, transparent 52.5%); }
.fuda-hero-card.locked::before { content: "準備中"; position: absolute; top: 40%; left: 50%; transform: translate(-50%,-50%) rotate(-9deg); z-index: 1; background: repeating-linear-gradient(135deg, #efe2c2, #efe2c2 6px, #e6d6ac 6px, #e6d6ac 12px); color: #3a2a1a; font-family: var(--serif); font-weight: 800; font-size: 1.3rem; letter-spacing: .14em; padding: 8px 24px; box-shadow: 0 4px 14px rgba(0,0,0,.55); border: 1px dashed rgba(58,42,26,.5); }
@media (max-width: 560px) { .fuda-seal-tape { font-size: .82rem; padding: 4px 12px; } }
.fuda-caption { text-align: center; margin-top: 14px; min-height: 1.3em; color: #cfc9e0; font-size: .92rem; letter-spacing: .02em; }
@media (max-width: 560px) {
  .fuda { width: 104px; height: 154px; }
  .fuda-flat { gap: 16px 12px; }
}

/* Final CTA */
.cta-final { text-align: center; padding: 100px 0; border-top: 1px solid var(--line); background:
  radial-gradient(900px 380px at 50% 130%, rgba(255,122,77,.28), transparent 70%),
  radial-gradient(900px 380px at 50% -20%, rgba(240,194,122,.18), transparent 70%); }
.cta-copy { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 5.4vw, 2.4rem); line-height: 1.6; margin-bottom: 32px; text-shadow: 0 0 26px rgba(255,122,77,.28); }

/* Footer */
.site-footer { background: #0f0b07; padding: 40px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.footer-brand img { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); font-weight: 700; font-size: .9rem; }
.footer-links a:hover { color: var(--gold); text-shadow: var(--glow-g); }
.copyright { font-size: .82rem; color: #625d78; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *{ animation: none !important; transition: none !important; } .reveal{ opacity:1; transform:none; } .scroll-cue{ animation: none; } }

@media (max-width: 480px) { .section { padding: 72px 0; } .hero-actions { flex-direction: column; align-items: stretch; } }

/* ===== 企業案件（index.html内・プロフィールと同格の一区画） ===== */
.section-biz { position: relative; overflow: hidden; padding: 120px 0; }
.section > .section-biz-bg { position: absolute; z-index: 0; }
.section-biz-bg { inset: 0; pointer-events: none; }
.section-biz-bg img { width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; filter: saturate(1.08) contrast(1.03) brightness(.94); }
.section-biz-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 0%, transparent 32%, var(--bg) 76%), linear-gradient(0deg, rgba(19,15,11,.3), rgba(19,15,11,.3)); }
.section-biz-inner { max-width: 560px; margin-left: auto; margin-right: 7%; }
.section-biz-title { font-family: var(--serif); font-size: clamp(1.7rem, 4.6vw, 2.4rem); font-weight: 700; line-height: 1.5; margin-bottom: 22px; }
.section-biz-text { color: var(--muted); margin-bottom: 16px; }
.section-biz-text strong { color: var(--gold); font-weight: 700; text-shadow: 0 0 14px rgba(230,198,116,.35); }
.section-biz .biz-mini-stats { justify-content: flex-start; margin-top: 34px; }
.section-biz-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .section-biz-inner { margin: 0 auto; text-align: center; max-width: 620px; }
  .section-biz .biz-mini-stats { justify-content: center; }
  .section-biz-bg img { object-position: 30% center; }
  .section-biz-bg::after { background: linear-gradient(180deg, rgba(19,15,11,.4) 0%, rgba(19,15,11,.65) 16%, var(--bg) 48%); }
}

/* ===== 企業案件ページ（business.html）専用 ===== */
.biz-hero { min-height: 78svh; display: flex; align-items: center; text-align: center; position: relative; overflow: hidden; }
.biz-hero::before { content:""; position:absolute; inset:0; z-index:0;
  background: radial-gradient(60% 55% at 50% 0%, rgba(255,122,77,.22), transparent 65%), radial-gradient(55% 50% at 50% 100%, rgba(240,194,122,.16), transparent 65%); }
.biz-hero-inner { position: relative; z-index: 1; }
.biz-copy { font-family: var(--serif); font-weight: 700; font-size: clamp(1.7rem, 5.6vw, 2.7rem); line-height: 1.55; margin: 22px 0 18px; }
.biz-copy em { font-style: normal; color: transparent; background: linear-gradient(100deg, #f2d9a8, #f0b871 45%, #ff8a5c 80%); -webkit-background-clip: text; background-clip: text; }
.biz-lead { color: var(--muted); max-width: 560px; margin: 0 auto 34px; }
.biz-mini-stats { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.biz-mini-stat { text-align: center; }
.biz-mini-stat b { display: block; font-family: var(--serif); font-size: clamp(1.3rem, 3.4vw, 1.8rem); color: var(--gold); text-shadow: var(--glow-g); }
.biz-mini-stat span { font-size: .74rem; color: var(--muted); letter-spacing: .06em; }

.collab-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.collab-card { background: var(--card-s); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.collab-card:hover { border-color: var(--verm); box-shadow: var(--glow-v); transform: translateY(-3px); }
.collab-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,122,77,.12); border: 1px solid rgba(255,122,77,.35); color: var(--verm); margin-bottom: 16px; }
.collab-icon svg { width: 24px; height: 24px; }
.collab-card h3 { font-family: var(--serif); font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; }
.collab-card p { color: var(--muted); font-size: .88rem; }

.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.content-card { text-align: center; background: linear-gradient(160deg, rgba(240,194,122,.08), var(--card-s)); border: 1px solid var(--line-c); border-radius: var(--radius); padding: 30px 20px; }
.content-tag { display: inline-block; font-size: .68rem; letter-spacing: .12em; color: var(--cyan); font-weight: 800; margin-bottom: 12px; }
.content-card h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.content-card p { color: var(--muted); font-size: .86rem; }

.flow-list { counter-reset: flow; margin-top: 48px; display: flex; flex-direction: column; gap: 0; max-width: 620px; margin-left: auto; margin-right: auto; }
.flow-step { counter-increment: flow; display: flex; gap: 20px; padding: 22px 0; position: relative; }
.flow-step:not(:last-child)::after { content:""; position:absolute; left:23px; top:56px; bottom:-6px; width:1px; background: var(--line); }
.flow-num { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--card-s); border: 1.5px solid var(--gold); color: var(--gold); font-family: var(--serif); font-weight: 800; display: grid; place-items: center; box-shadow: var(--glow-g); position: relative; z-index: 1; }
.flow-body h3 { font-family: var(--serif); font-size: 1.02rem; font-weight: 700; margin-bottom: 4px; }
.flow-body p { color: var(--muted); font-size: .86rem; }

.biz-cta-note { color: var(--muted); font-size: .86rem; margin-top: 18px; max-width: 480px; margin-left: auto; margin-right: auto; }
.biz-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

@media (max-width: 640px) { .collab-grid { grid-template-columns: 1fr; } .content-grid { grid-template-columns: 1fr; } }

/* ===== マウスの軌跡に残る、うっすら光る肉球 ===== */
.paw-print { position: fixed; z-index: 300; top: 0; left: 0; width: 17px; height: 17px; pointer-events: none;
  opacity: 0; transform: translate(-50%,-50%) scale(.55) rotate(var(--pr, 0deg));
  animation: pawFade 1.15s ease-out forwards; }
.paw-print svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 11px rgba(233,189,108,.85)) drop-shadow(0 0 20px rgba(233,189,108,.5)); }
.paw-print svg .pb ellipse { fill: rgba(240,194,122,.68); }
.paw-print svg .pp ellipse { fill: rgba(255,226,175,.85); }
@keyframes pawFade {
  0%   { opacity: .8; transform: translate(-50%,-50%) scale(.5) rotate(var(--pr,0deg)); }
  15%  { opacity: .65; transform: translate(-50%,-50%) scale(.85) rotate(var(--pr,0deg)); }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(1) rotate(var(--pr,0deg)); }
}
@media (prefers-reduced-motion: reduce) { .paw-print { display: none; } }

/* ===== クリックでふわっと膨らむ、ひとまわり大きい肉球 ===== */
.paw-burst { position: fixed; z-index: 301; top: 0; left: 0; width: 42px; height: 42px; pointer-events: none;
  opacity: 0; transform: translate(-50%,-50%) scale(.25) rotate(var(--pr, 0deg));
  animation: pawBloom .7s cubic-bezier(.22,1.4,.36,1) forwards; }
.paw-burst svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 12px rgba(233,189,108,.55)) drop-shadow(0 0 6px rgba(255,161,191,.55)); }
.paw-burst svg .pb ellipse { fill: rgba(20,17,14,.85); }
.paw-burst svg .pp ellipse { fill: rgba(255,161,191,.9); }
@keyframes pawBloom {
  0%   { opacity: 0;   transform: translate(-50%,-50%) scale(.22) rotate(var(--pr,0deg)); }
  38%  { opacity: .95; transform: translate(-50%,-50%) scale(1.2) rotate(var(--pr,0deg)); }
  100% { opacity: 0;   transform: translate(-50%,-50%) scale(1.55) rotate(var(--pr,0deg)); }
}
@media (prefers-reduced-motion: reduce) { .paw-burst { display: none; } }
