@charset "UTF-8";
/* ==========================================================================
   しいたけねこ公式サイト — style.css
   1. 変数 / ベース
   2. 共通パーツ（ボタン・見出し・装飾）
   3. ローディング
   4. ヘッダー / ドロワー
   5. HERO
   6. ABOUT
   7. CHARACTER
   8. DAILY
   9. GALLERY
  10. DOWNLOAD
  11. NEWS
  12. CTA
  13. FOOTER
  14. アニメーション / prefers-reduced-motion
   ========================================================================== */

/* ==========================================================================
   1. 変数 / ベース
   ========================================================================== */
:root {
  --color-bg: #fffdf7;
  --color-bg-sub: #fff9e8;
  --color-bg-deep: #fff2b8;
  --color-main: #f5c76a;
  --color-accent: #e8a85b;
  --color-brown: #7c5136;
  --color-brown-deep: #513829;
  --color-dark: #382a22;
  --color-white: #fffefb;
  --color-line: #ecdfc4;

  --shadow-sm: 0 2px 8px rgba(124, 81, 54, .07);
  --shadow-md: 0 8px 24px rgba(124, 81, 54, .10);
  --shadow-lg: 0 16px 40px rgba(124, 81, 54, .13);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --header-h: 68px;
  --container: 1080px;
  --gutter: clamp(20px, 5vw, 40px);

  --font-base: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans",
               "Yu Gothic Medium", "Meiryo", system-ui, sans-serif;

  --ease-out: cubic-bezier(.22, .68, .3, 1);
  --ease-bounce: cubic-bezier(.34, 1.4, .5, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-base);
  font-weight: 500;
  font-size: clamp(15px, 1.05vw + 12px, 17px);
  line-height: 1.9;
  color: var(--color-dark);
  background: var(--color-bg);
  overflow-x: hidden;
  letter-spacing: .02em;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: none; background: none; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.svg-sprite { display: none; }
.icon { width: 1em; height: 1em; fill: none; flex: none; }

.skip-link {
  position: absolute;
  left: 50%;
  top: -80px;
  transform: translateX(-50%);
  z-index: 200;
  padding: 12px 24px;
  background: var(--color-white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}
.container--narrow { --container: 800px; }

section[id],
#main { scroll-margin-top: calc(var(--header-h) + 16px); }
#main:focus { outline: none; }

.br-sp { display: none; }

/* ==========================================================================
   2. 共通パーツ
   ========================================================================== */
.section {
  position: relative;
  padding-block: clamp(64px, 9vw, 116px);
}
.section--about { background: var(--color-bg); }
.section--character { background: var(--color-bg-sub); }
.section--download { background: var(--color-bg); }
.section--news { background: var(--color-bg); }

.sec-head {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.sec-head__en {
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 2px;
}
.sec-head__ja {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  color: var(--color-brown);
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding-inline: 44px;
}
.sec-head__ja::before,
.sec-head__ja::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: var(--color-main);
}
.sec-head__ja::before { left: 0; transform: translateY(-50%) rotate(-16deg); }
.sec-head__ja::after { right: 0; transform: translateY(-50%) rotate(16deg); }
.sec-head__lead {
  margin-top: 10px;
  font-size: .95em;
  color: #6b584b;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }

.btn--primary {
  background: var(--color-brown);
  color: var(--color-white);
  box-shadow: 0 6px 0 #5f3d28, var(--shadow-md);
}
.btn--primary:hover { background: #8b5c3d; transform: translateY(-2px); }
.btn--primary:active { transform: translateY(3px); box-shadow: 0 2px 0 #5f3d28; }

.btn--outline {
  background: var(--color-white);
  color: var(--color-brown);
  border: 2px solid var(--color-main);
  box-shadow: var(--shadow-sm);
}
.btn--outline:hover { background: var(--color-bg-deep); transform: translateY(-2px); }

/* Instagramボタン */
.btn-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  color: var(--color-white);
  background: linear-gradient(100deg, #f09433, #e6683c 35%, #dc2743 65%, #bc1888);
  box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease-out), filter .25s;
}
.btn-ig:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-ig .icon { width: 20px; height: 20px; }
.btn-ig--sm { min-height: 44px; padding: 8px 18px; font-size: 14px; }
.btn-ig--lg { min-height: 60px; padding: 14px 34px; font-size: clamp(15px, 1.6vw, 17px); }

/* 背景の飾り
   ・回転は --deco-r、パララックスの移動量は --py（JSが更新）で合成する
   ・transform を1か所にまとめることで、アニメーションと取り合いにならない */
.deco {
  position: absolute;
  display: block;
  pointer-events: none;
  --deco-r: 0deg;
  --deco-o: .5;
  transform: rotate(var(--deco-r)) translateY(var(--py, 0px));
}
.deco--dot1, .deco--dot2 {
  border-radius: 50%;
  background: var(--color-main);
  --deco-o: .35;
  opacity: .35;
}

/* スクロール表示アニメーション
   JSが動かない環境では隠さない（ページが真っ白にならないようにするため） */
.reveal {
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  will-change: opacity, transform;
}
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   3. ローディング
   ========================================================================== */
.loader { display: none; }        /* JSが無い環境ではローディングを出さない */
.js .loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--color-bg-sub);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out), visibility .55s;
}
.loader[hidden] { display: none; }
.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-28px);
}
.loader__inner { text-align: center; }
.loader__cat {
  width: clamp(120px, 26vw, 160px);
  height: auto;
  margin-inline: auto;
  transform-origin: 50% 100%;
  animation: poyon 1.25s var(--ease-bounce) infinite;
}
.loader__name {
  margin-top: 14px;
  font-size: 19px;
  font-weight: 700;
  color: var(--color-brown);
}
.loader__text {
  margin-top: 2px;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--color-accent);
  font-weight: 700;
}
.loader__dots i {
  font-style: normal;
  animation: blink 1.2s infinite;
}
.loader__dots i:nth-child(2) { animation-delay: .2s; }
.loader__dots i:nth-child(3) { animation-delay: .4s; }

@keyframes poyon {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  30%      { transform: translateY(-14px) scale(.97, 1.03); }
  60%      { transform: translateY(0) scale(1.04, .96); }
  75%      { transform: translateY(-3px) scale(1, 1); }
}
@keyframes blink {
  0%, 100% { opacity: .25; }
  50%      { opacity: 1; }
}

/* ==========================================================================
   4. ヘッダー / ドロワー
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 130; /* ドロワー(110)より前に出して、開いた状態でも閉じるボタンを押せるようにする */
  height: var(--header-h);
  background: rgba(255, 253, 247, .86);
  transition: box-shadow .3s, background-color .3s;
}
@supports (backdrop-filter: blur(8px)) {
  .header { backdrop-filter: blur(8px); }
}
.header.is-scrolled {
  background: rgba(255, 253, 247, .96);
  box-shadow: 0 2px 14px rgba(124, 81, 54, .08);
}
.header__inner {
  height: 100%;
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 40px; height: auto; transition: transform .4s var(--ease-bounce); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__ja { font-size: 18px; font-weight: 700; color: var(--color-brown); }
.logo__en { font-size: 9px; letter-spacing: .18em; color: var(--color-accent); font-weight: 700; }

.gnav { display: none; align-items: center; gap: 22px; }
.gnav__list { display: flex; align-items: center; gap: 4px; }
.gnav__link {
  position: relative;
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--color-brown);
  transition: color .25s;
}
.gnav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-main);
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity .25s, transform .25s var(--ease-bounce);
}
.gnav__link:hover::after,
.gnav__link.is-current::after { opacity: 1; transform: translate(-50%, 0); }
.gnav__link:hover { color: var(--color-accent); }

/* ハンバーガー（3本線のかわりに、しいたけねこのシルエット） */
.hamburger {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--color-bg-deep);
  z-index: 120;
  transition: background-color .25s;
}
.hamburger:hover { background: var(--color-main); }

.hamburger__cat,
.hamburger__close {
  grid-area: 1 / 1;
  transition: opacity .25s var(--ease-out), transform .35s var(--ease-bounce);
}
.hamburger__cat {
  width: 26px;
  height: auto;
  margin-top: -7px; /* 下のMENUの文字ぶん、少し上に寄せる */
}
.hamburger__close {
  width: 20px;
  height: 20px;
  color: var(--color-brown);
  opacity: 0;
  transform: rotate(-90deg) scale(.5);
}
.hamburger__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  font-size: 7px;
  line-height: 1.4;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--color-brown);
  text-align: center;
  transition: opacity .25s;
}
.hamburger:hover .hamburger__cat { transform: rotate(-7deg) translateY(-2px); }
.hamburger.is-open .hamburger__cat { opacity: 0; transform: scale(.55) rotate(18deg); }
.hamburger.is-open .hamburger__close { opacity: 1; transform: rotate(0) scale(1); }
.hamburger.is-open .hamburger__label { opacity: 0; }

/* ドロワー */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--color-bg-sub);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.drawer[hidden] { display: none; }
.drawer.is-open { opacity: 1; transform: translateY(0); }
.drawer__nav {
  max-width: 420px;
  margin-inline: auto;
  text-align: center;
}
.drawer__list { margin-bottom: 28px; }
.drawer__list li { border-bottom: 2px dotted var(--color-line); }
.drawer__list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 62px;
  justify-content: center;
  padding: 10px;
}
.drawer__ja { font-size: 17px; font-weight: 700; color: var(--color-brown); }
.drawer__en { font-size: 10px; letter-spacing: .18em; color: var(--color-accent); font-weight: 700; }
.drawer__cat {
  width: clamp(120px, 34vw, 170px);
  margin: 26px auto 0;
  transform-origin: 50% 100%;
  animation: catPeekIn .7s var(--ease-bounce) both,
             catWave 4.2s ease-in-out .7s infinite;
}

@keyframes sway {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(3deg) translateY(-6px); }
}

/* ==========================================================================
   5. HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(100svh, 860px);
  padding: calc(var(--header-h) + 28px) 0 96px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 78% at 50% 0%, var(--color-bg-deep) 0%, var(--color-bg-sub) 46%, var(--color-bg) 100%);
}
.hero::after {
  /* ゆるい丘のライン */
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -46px;
  height: 130px;
  border-radius: 50% 50% 0 0;
  background: var(--color-bg);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
  display: grid;
  gap: clamp(8px, 3vw, 32px);
  align-items: center;
}

.hero__body { text-align: center; }
.hero__title { line-height: 1.1; }
.hero__ja {
  display: block;
  font-size: clamp(38px, 10.5vw, 76px);
  font-weight: 700;
  color: var(--color-brown);
  letter-spacing: .04em;
  text-shadow: 3px 3px 0 var(--color-white);
}
.hero__en {
  display: block;
  margin-top: 6px;
  font-size: clamp(11px, 2.4vw, 15px);
  letter-spacing: .38em;
  color: var(--color-accent);
  font-weight: 700;
  text-indent: .38em;
}
.hero__catch {
  margin-top: clamp(18px, 3vw, 26px);
  font-size: clamp(15px, 3.6vw, 20px);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.85;
}
.hero__catch span { display: block; }
.hero__catch em {
  font-style: normal;
  position: relative;
  color: var(--color-brown);
}
.hero__catch em::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 2px;
  height: 8px;
  border-radius: 4px;
  background: var(--color-main);
  opacity: .5;
  z-index: -1;
}
.hero__btn { margin-top: clamp(22px, 3.6vw, 32px); }

.hero__figure {
  position: relative;
  display: grid;
  place-items: center;
}
.hero__blob {
  position: absolute;
  width: min(86%, 460px);
  aspect-ratio: 1;
  border-radius: 46% 54% 52% 48% / 50% 46% 54% 50%;
  background: var(--color-white);
  opacity: .75;
  animation: blob 12s ease-in-out infinite;
}
.hero__cat {
  position: relative;
  width: min(78%, 420px);
  height: auto;
  filter: drop-shadow(0 16px 22px rgba(124, 81, 54, .14));
  transform-origin: 50% 100%;
  animation: catIdleHop 8s var(--ease-out) infinite;
  cursor: pointer;
}
.hero__whisper {
  position: absolute;
  right: 0;
  top: 8%;
  font-size: clamp(11px, 2.6vw, 14px);
  font-weight: 700;
  color: var(--color-brown);
  line-height: 1.7;
  writing-mode: vertical-rl;
  opacity: .8;
}

@keyframes blob {
  0%, 100% { border-radius: 46% 54% 52% 48% / 50% 46% 54% 50%; transform: rotate(0deg); }
  50%      { border-radius: 54% 46% 48% 52% / 46% 54% 46% 54%; transform: rotate(6deg); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* HERO装飾の配置 */
.hero__deco { position: absolute; inset: 0; z-index: 1; }
.hero__deco .deco { color: var(--color-accent); }
.deco--m1 { width: 54px; height: 54px; left: 6%;  top: 22%; --deco-o: .85; }
.deco--m2 { width: 38px; height: 38px; right: 8%; top: 14%; --deco-o: .75; --deco-r: 8deg; }
.deco--m3 { width: 44px; height: 44px; left: 14%; bottom: 16%; --deco-o: .7; --deco-r: -6deg; }
.deco--p1 { width: 28px; height: 28px; left: 22%; top: 12%; --deco-r: -18deg; }
.deco--p2 { width: 22px; height: 22px; right: 20%; bottom: 26%; --deco-r: 14deg; }
.deco--p3 { width: 26px; height: 26px; right: 12%; top: 46%; --deco-r: -8deg; }
.hero__deco .deco--g1 { width: 56px; height: 28px; left: 3%;  bottom: 10%; color: #b9cf9a; --deco-o: .9; }
.hero__deco .deco--g2 { width: 44px; height: 22px; right: 5%; bottom: 13%; color: #b9cf9a; --deco-o: .9; }
.deco--dot1 { width: 14px; height: 14px; left: 44%; top: 8%; }
.deco--dot2 { width: 9px;  height: 9px;  right: 30%; top: 30%; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
}
.scroll-cue__text {
  font-size: 9px;
  letter-spacing: .24em;
  color: var(--color-accent);
  font-weight: 700;
}
.scroll-cue__line {
  width: 2px;
  height: 34px;
  border-radius: 2px;
  background: linear-gradient(var(--color-main), transparent);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue {
  0%   { transform: scaleY(.25); transform-origin: top; opacity: .4; }
  50%  { transform: scaleY(1);   transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1);   transform-origin: bottom; }
  100% { transform: scaleY(.25); transform-origin: bottom; opacity: .4; }
}

/* ==========================================================================
   6. ABOUT
   ========================================================================== */
.about {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
}
.about__text {
  text-align: center;
  font-size: clamp(15px, 1.9vw, 18px);
  line-height: 2.2;
  color: #4b3a2e;
}
.about__cat { height: auto; }
.about__cat--sleep { width: clamp(120px, 22vw, 180px); }
.about__cat--sit   { width: clamp(110px, 20vw, 160px); }
.about__cat--back  { display: none; width: 130px; }

/* ==========================================================================
   7. CHARACTER
   ========================================================================== */
.chara-card {
  display: grid;
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  padding: clamp(28px, 5vw, 52px) clamp(22px, 4vw, 52px);
  background: var(--color-white);
  border: 3px solid var(--color-main);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.chara-card__figure {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
}
.chara-card__circle {
  position: absolute;
  width: min(80vw, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-bg-deep);
}
.chara-card__figure img {
  position: relative;
  width: min(62vw, 210px);
  height: auto;
  transform-origin: 50% 100%;
  animation: catBreatheTilt 9s ease-in-out infinite;
}
/* 画面に入った瞬間に、いちど ぴょこん と跳ねる */
.chara-card.is-hopping .chara-card__figure img {
  animation: catHopOnce .9s var(--ease-bounce),
             catBreatheTilt 9s ease-in-out .9s infinite;
}
.chara-card__body { text-align: center; }
.chara-card__name { line-height: 1.2; }
.chara-card__ja {
  display: block;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--color-brown);
}
.chara-card__en {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--color-accent);
  font-weight: 700;
}
.chara-card__lead {
  margin-top: 14px;
  font-size: .95em;
  color: #5a4738;
}

.profile { margin-top: 20px; display: grid; gap: 10px; }
.profile__row {
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  background: var(--color-bg-sub);
  border-radius: var(--radius-sm);
}
.profile__row dt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-brown);
}
.profile__row dt .icon { width: 18px; height: 18px; }
.profile__row dd { margin: 0; font-size: 14px; color: #4b3a2e; }

/* ポーズ一覧 */
.poses { margin-top: clamp(32px, 5vw, 52px); }
.poses__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: clamp(16px, 2.4vw, 20px);
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 20px;
}
.poses__title .icon { width: 18px; height: 18px; color: var(--color-main); fill: currentColor; }
.poses__list {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-main) transparent;
}
.poses__list::-webkit-scrollbar { height: 6px; }
.poses__list::-webkit-scrollbar-thumb { background: var(--color-main); border-radius: 3px; }
.pose {
  flex: 0 0 auto;
  width: 104px;
  text-align: center;
  scroll-snap-align: center;
}
.pose__thumb {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--color-bg-deep);
  overflow: hidden;
  transition: transform .3s var(--ease-bounce), background-color .3s;
}
.pose__thumb img {
  width: 80%;
  max-height: 80%;
  height: auto;
  object-fit: contain;
  transition: transform .3s var(--ease-bounce);
}
.pose:hover .pose__thumb { background: var(--color-main); }
.pose:hover .pose__thumb img { transform: scale(1.08) translateY(-2px); }
.pose__label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-brown);
}
.poses__hint {
  margin-top: 6px;
  text-align: center;
  font-size: 11px;
  color: var(--color-accent);
  font-weight: 700;
}

/* ==========================================================================
   10. DOWNLOAD
   ========================================================================== */
.download {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  background: var(--color-bg-deep);
  border-radius: var(--radius-lg);
  text-align: center;
}
.download__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
}
.download__label .icon { width: 16px; height: 16px; fill: currentColor; }
.download__title {
  margin-top: 8px;
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 700;
  color: var(--color-brown);
  line-height: 1.6;
}
.download__text { margin: 10px 0 20px; font-size: .95em; color: #5a4738; }
.download__figure img { width: clamp(120px, 26vw, 180px); margin-inline: auto; }

/* ==========================================================================
   11. NEWS
   ========================================================================== */
.news {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: clamp(8px, 2vw, 16px) clamp(16px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
}
.news__list li { border-bottom: 2px dotted var(--color-line); }
.news__list li:last-child { border-bottom: none; }
.news__row {
  display: grid;
  gap: 2px;
  padding: 16px 4px;
}
.news__date {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: .06em;
}
.news__title { font-size: 15px; color: #4b3a2e; }
a.news__row { transition: background-color .25s; border-radius: var(--radius-sm); }
a.news__row:hover { background: var(--color-bg-sub); }
.news__empty { padding: 26px 4px; text-align: center; color: #8a7666; font-size: 14px; }

/* ==========================================================================
   12. CTA
   ========================================================================== */
.section--cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-bg-sub), var(--color-bg-deep));
}
.cta__deco { position: absolute; inset: 0; }
.cta__deco .deco { color: var(--color-accent); opacity: .4; }
.deco--cta1 { width: 48px; height: 48px; left: 5%;  top: 14%; opacity: .8; }
.deco--cta2 { width: 26px; height: 26px; right: 8%; top: 22%; --deco-r: 16deg; }
.cta__deco .deco--cta3 { width: 52px; height: 26px; right: 4%; bottom: 10%; color: #b9cf9a; opacity: .9; }

.cta {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}
.cta__cat {
  width: clamp(130px, 28vw, 190px);
  height: auto;
  transform-origin: 50% 92%;
  animation: catWave 4.6s ease-in-out infinite;
}
.cta__balloon {
  position: relative;
  display: inline-block;
  margin-bottom: 6px;
  padding: 8px 18px;
  background: var(--color-white);
  border: 2px solid var(--color-main);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-brown);
}
.cta__balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 12px;
  height: 12px;
  background: var(--color-white);
  border-right: 2px solid var(--color-main);
  border-bottom: 2px solid var(--color-main);
  transform: translateX(-50%) rotate(45deg);
}
.cta__title {
  font-size: clamp(21px, 4vw, 32px);
  font-weight: 700;
  color: var(--color-brown);
  line-height: 1.7;
}
.cta__text { margin: 12px 0 22px; font-size: .95em; color: #5a4738; }

/* ==========================================================================
   13. フッター
   ========================================================================== */
.footer {
  position: relative;
  padding: clamp(44px, 6vw, 64px) 0 32px;
  background: var(--color-bg-deep);
  text-align: center;
  overflow: hidden;
}
.footer__logo {
  display: inline-grid;
  justify-items: center;
  gap: 2px;
}
.footer__logo img { width: 52px; height: auto; }
.footer__ja { font-size: 21px; font-weight: 700; color: var(--color-brown); }
.footer__en { font-size: 9px; letter-spacing: .24em; color: var(--color-accent); font-weight: 700; }

.footer__nav { margin-top: 24px; }
.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 6px;
}
.footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--color-brown);
  border-radius: var(--radius-pill);
  transition: background-color .25s;
}
.footer__nav a:hover { background: rgba(255, 255, 255, .6); }

.footer__msg {
  margin-top: 18px;
  font-size: 12.5px;
  color: #7a6552;
}
.footer__copy {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: .1em;
  color: #8a7666;
}
.footer__cat {
  width: clamp(90px, 20vw, 130px);
  height: auto;
  margin: 18px auto 0;
  opacity: .9;
  transform-origin: 50% 100%;
  animation: catSleep 4.2s ease-in-out infinite;  /* すーすー寝息 */
}

/* ==========================================================================
   14. レスポンシブ
   ========================================================================== */
@media (min-width: 600px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .download { grid-template-columns: 1fr auto; text-align: left; }
  .download__figure img { margin-right: 0; }
}

@media (min-width: 768px) {
  :root { --header-h: 76px; }
  .br-sp { display: none; }

  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .hero__body { text-align: left; }
  .hero__ja { font-size: clamp(34px, 5.4vw, 72px); }
  .hero__en { font-size: clamp(10px, 1.1vw, 14px); }
  .hero__btn { margin-top: 30px; }
  .hero__cat { width: min(100%, 420px); }

  .about {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "sleep text back"
      "sleep text sit";
    align-items: center;
    gap: clamp(10px, 2vw, 28px) clamp(16px, 3vw, 40px);
  }
  .about__cat--sleep { grid-area: sleep; width: clamp(140px, 17vw, 200px); }
  .about__text       { grid-area: text; }
  .about__cat--back  { grid-area: back; display: block; width: clamp(90px, 10vw, 120px); }
  .about__cat--sit   { grid-area: sit;  width: clamp(90px, 11vw, 130px); }

  .chara-card { grid-template-columns: auto minmax(0, 1fr); }
  .chara-card__body { text-align: left; }
  .chara-card__name,
  .chara-card__lead { text-align: left; }
  .profile { grid-template-columns: 1fr; }
  .profile__row {
    grid-template-columns: 130px 1fr;
    align-items: center;
    gap: 12px;
  }
  .profile__row dt { justify-content: flex-start; }

  .poses__list {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    overflow: visible;
  }
  .pose, .pose__thumb { width: 100%; }
  .pose__thumb { height: auto; aspect-ratio: 1; }
  .poses__hint { display: none; }

  .cards { grid-template-columns: repeat(3, 1fr); }

  .cta { text-align: center; }
}

@media (min-width: 1024px) {
  .gnav { display: flex; }
  .hamburger { display: none; }
  .drawer { display: none !important; }
  .hero__whisper { right: -6%; }
}

/* 横並びが窮屈な狭い画面用の微調整 */
@media (max-width: 400px) {
  .br-sp { display: inline; }
  .pose, .pose__thumb { width: 92px; height: 92px; }
  .pose { height: auto; }
}

/* ==========================================================================
   15. 初期表示アニメーション
   ※ .js が付いているとき（＝JavaScriptが動くとき）だけ隠す。
      JSが動かない環境では、最初から表示されたままになります。
   ========================================================================== */
.js .hero__title,
.js .hero__catch,
.js .hero__btn,
.js .hero__cat,
.js .hero__whisper,
.js .hero__deco .deco,
.js .scroll-cue {
  opacity: 0;
}
body.is-ready .hero__title  { animation: rise .7s var(--ease-out) .05s forwards; }
body.is-ready .hero__catch  { animation: rise .7s var(--ease-out) .22s forwards; }
body.is-ready .hero__btn    { animation: rise .7s var(--ease-out) .36s forwards; }
body.is-ready .hero__cat    { animation: pop .8s var(--ease-bounce) .3s forwards, catIdleHop 8s var(--ease-out) 1.1s infinite; }
body.is-ready .hero__whisper{ animation: fade .8s var(--ease-out) .7s forwards; }
body.is-ready .scroll-cue   { animation: fade .8s var(--ease-out) .9s forwards; }
body.is-ready .hero__deco .deco { animation: decoIn .7s var(--ease-bounce) forwards; }
body.is-ready .deco--m1 { animation-delay: .52s; }
body.is-ready .deco--m2 { animation-delay: .60s; }
body.is-ready .deco--m3 { animation-delay: .68s; }
body.is-ready .deco--p1 { animation-delay: .56s; }
body.is-ready .deco--p2 { animation-delay: .64s; }
body.is-ready .deco--p3 { animation-delay: .72s; }
body.is-ready .deco--g1 { animation-delay: .60s; }
body.is-ready .deco--g2 { animation-delay: .66s; }
body.is-ready .deco--dot1 { animation-delay: .70s; }
body.is-ready .deco--dot2 { animation-delay: .76s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pop {
  0%   { opacity: 0; transform: translateY(56px) scale(.9); }
  60%  { opacity: 1; transform: translateY(-10px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes decoIn {
  from { opacity: 0; }
  to   { opacity: var(--deco-o, .5); }
}

/* ==========================================================================
   16. モーションを減らす設定（アクセシビリティ）
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1 !important; transform: none !important; }

  .hero__title, .hero__catch, .hero__btn, .hero__cat,
  .hero__whisper, .scroll-cue { opacity: 1 !important; }
  .hero__deco .deco { opacity: var(--deco-o, .5) !important; }

  .hero__cat, .chara-card__figure img, .cta__cat,
  .drawer__cat, .loader__cat, .hero__blob { animation: none !important; }
}

/* ==========================================================================
   17. かべがみダウンロードページ（download/index.html）
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon--flip { transform: none; }
.btn:hover .icon--flip { transform: translateX(-4px); }

/* ページ見出し */
.page-head {
  position: relative;
  padding: calc(var(--header-h) + 40px) 0 clamp(36px, 6vw, 60px);
  text-align: center;
  background: radial-gradient(120% 80% at 50% 0%, var(--color-bg-deep) 0%, var(--color-bg-sub) 55%, var(--color-bg) 100%);
}
.page-head__title {
  margin-top: 2px;
  font-size: clamp(24px, 4.4vw, 38px);
  font-weight: 700;
  color: var(--color-brown);
  line-height: 1.6;
}
.page-head__lead {
  margin-top: 14px;
  font-size: .95em;
  color: #5a4738;
}
.page-head__cat {
  width: clamp(110px, 22vw, 160px);
  height: auto;
  margin: 18px auto 0;
  transform-origin: 50% 100%;
  animation: catIdleHop 9s var(--ease-out) infinite;
}

/* パンくず */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #8a7666;
  margin-bottom: 14px;
}
.breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--color-accent);
}
.breadcrumb li { white-space: nowrap; }
.breadcrumb li[aria-current] { white-space: normal; min-width: 0; }
.breadcrumb a { color: var(--color-brown); font-weight: 700; }
.breadcrumb a:hover { color: var(--color-accent); }

/* 壁紙一覧 */
.section--wallpaper { background: var(--color-bg); padding-top: clamp(40px, 6vw, 68px); }
.wp-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: clamp(18px, 3vw, 30px);
}
.wp-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.wp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.wp-card__thumb {
  display: block;
  aspect-ratio: 9 / 16;
  background: var(--color-bg-sub);
  overflow: hidden;
}
.wp-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.wp-card:hover .wp-card__thumb img { transform: scale(1.03); }
.wp-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 16px 18px;
  flex: 1;
}
.wp-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-brown);
}
.wp-card__size {
  font-size: 11.5px;
  color: #8a7666;
  letter-spacing: .04em;
}
.wp-card__btn {
  margin-top: 12px;
  min-height: 48px;
  padding: 10px 18px;
  font-size: 14px;
  width: 100%;
}
.wp-card__btn .icon { width: 17px; height: 17px; }
.wp-card__btn:hover .icon { transform: translateY(2px); }

/* 使い方 */
.section--howto { background: var(--color-bg-sub); }
.howto {
  display: grid;
  gap: 16px;
}
.howto__block {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.howto__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 6px;
}
.howto__num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--color-main);
  color: var(--color-white);
  font-size: 14px;
}
.howto__block p { font-size: 14px; line-height: 1.95; color: #4b3a2e; }
.howto__block strong { color: var(--color-brown); }

/* お願い */
.notice {
  margin-top: 24px;
  padding: 20px 22px;
  border: 2px dashed var(--color-main);
  border-radius: var(--radius-md);
  background: var(--color-bg);
}
.notice__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 8px;
}
.notice__title .icon { width: 20px; height: 20px; }
.notice__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.95;
  color: #5a4738;
}
.notice__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.wp-card__empty {
  grid-column: 1 / -1;
  padding: 40px 20px;
  text-align: center;
  color: #8a7666;
  font-size: 14px;
  background: var(--color-white);
  border-radius: var(--radius-md);
}

.back-top { margin-top: clamp(28px, 4vw, 40px); text-align: center; }

@media (min-width: 768px) {
  .howto { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .page-head__cat { animation: none !important; }
}


/* ==========================================================================
   18. しいたけねこの動き（キャラクターアニメーション）
   ・1つの要素に transform のアニメを2本かけると後ろが勝ってしまうので、
     1キャラ＝1キーフレームにまとめている
   ・ほとんどの時間は「止まっている」ようにして、ときどき動かす（メリハリ）
   ========================================================================== */

/* ふんわり浮いて、ときどき ぴょこん と跳ねる（トップの主役） */
@keyframes catIdleHop {
  0%,  30%  { transform: translateY(0)     scale(1, 1); }
  10%       { transform: translateY(-9px)  scale(.99, 1.01); }
  20%       { transform: translateY(0)     scale(1.01, .99); }
  46%       { transform: translateY(2px)   scale(1.07, .93); }   /* ためる */
  54%       { transform: translateY(-26px) scale(.93, 1.07) rotate(-3deg); } /* 跳ぶ */
  62%       { transform: translateY(0)     scale(1.09, .91); }   /* 着地 */
  68%       { transform: translateY(-7px)  scale(.98, 1.02); }
  74%       { transform: translateY(0)     scale(1.03, .97); }
  80%, 100% { transform: translateY(0)     scale(1, 1); }
}

/* 呼吸しながら、ときどき首をかしげる（キャラクター紹介） */
@keyframes catBreatheTilt {
  0%        { transform: scale(1, 1) rotate(0); }
  12%       { transform: scale(1.02, .985) rotate(0); }
  24%       { transform: scale(1, 1) rotate(0); }
  36%       { transform: scale(1.02, .985) rotate(0); }
  48%       { transform: scale(1, 1) rotate(0); }
  58%       { transform: scale(1.01, .99) rotate(-5deg); }
  68%       { transform: scale(1, 1) rotate(4deg); }
  76%       { transform: scale(1.01, .99) rotate(-2deg); }
  84%, 100% { transform: scale(1, 1) rotate(0); }
}

/* 画面に入ったときの、いちどだけの ぴょこん */
@keyframes catHopOnce {
  0%   { transform: translateY(0) scale(1.06, .94); }
  35%  { transform: translateY(-22px) scale(.94, 1.06); }
  65%  { transform: translateY(0) scale(1.08, .92); }
  82%  { transform: translateY(-6px) scale(.98, 1.02); }
  100% { transform: translateY(0) scale(1, 1); }
}

/* 手をふる（ときどき、ぱたぱた） */
@keyframes catWave {
  0%, 52%, 100% { transform: rotate(0) translateY(0); }
  46%           { transform: rotate(0) translateY(-4px); }
  60%           { transform: rotate(-9deg) translateY(-2px); }
  68%           { transform: rotate(7deg)  translateY(-2px); }
  76%           { transform: rotate(-7deg) translateY(-2px); }
  84%           { transform: rotate(5deg)  translateY(-1px); }
  92%           { transform: rotate(0) translateY(0); }
}

/* すーすー寝息（ねているしいたけねこ） */
@keyframes catSleep {
  0%, 100% { transform: scale(1, 1) translateY(0); }
  45%      { transform: scale(1.025, .975) translateY(1px); }
}

/* ちょこんと顔を出す（メニューを開いたとき） */
@keyframes catPeekIn {
  0%   { transform: translateY(34px) scale(.9); opacity: 0; }
  70%  { transform: translateY(-5px) scale(1.02); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* ゆらゆら（すわっているしいたけねこ） */
@keyframes catSwayGentle {
  0%, 44%, 100% { transform: rotate(0); }
  58%           { transform: rotate(-4deg); }
  72%           { transform: rotate(3deg); }
  86%           { transform: rotate(0); }
}

/* うしろ姿が、ときどき のぞきこむ */
@keyframes catPeekBack {
  0%, 55%, 100% { transform: translateY(0) rotate(0); }
  66%           { transform: translateY(-6px) rotate(-3deg); }
  80%           { transform: translateY(-2px) rotate(2deg); }
}

/* さわられたときの ぷるぷる（JSで .is-jelly を付ける） */
@keyframes catJelly {
  /* opacity を書いておかないと、pop アニメの forwards が外れて消えてしまう */
  0%   { transform: scale(1, 1); opacity: 1; }
  22%  { transform: scale(1.14, .86); }
  40%  { transform: scale(.9, 1.1); }
  56%  { transform: scale(1.07, .93); }
  70%  { transform: scale(.96, 1.04); }
  84%  { transform: scale(1.02, .98); }
  100% { transform: scale(1, 1); opacity: 1; }
}

/* 小さなサムネイルの、ひかえめな呼吸 */
@keyframes catMini {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  50%      { transform: translateY(-2px) scale(1.01, .99); }
}

/* ---- 割り当て ---- */

/* ABOUTのまわりの3匹（それぞれちがう動き） */
.about__cat { transform-origin: 50% 100%; }
.about__cat--sleep { animation: catSleep 4.6s ease-in-out infinite; }
.about__cat--sit   { animation: catSwayGentle 8s var(--ease-out) 1.5s infinite; }
.about__cat--back  { animation: catPeekBack 10s var(--ease-out) .8s infinite; }

/* トップの主役：さわると ぷるぷる
   ・登場アニメが終わったら body に .is-idle が付く（main.js）。
     そこから先は「ふだんの動き」と「ぷるぷる」を入れ替えるだけにして、
     登場アニメが再生され直して一瞬消える、という事故を防いでいる */
body.is-idle .hero__cat {
  opacity: 1;
  animation: catIdleHop 8s var(--ease-out) infinite;
}
.hero__cat.is-jelly,
body.is-ready .hero__cat.is-jelly,
body.is-idle .hero__cat.is-jelly {
  opacity: 1;
  animation: catJelly .62s var(--ease-out);
}
.hero__figure:hover .hero__whisper { opacity: 1; }
.hero__whisper { transition: opacity .4s; }

/* ポーズ一覧：ふだんは静か、さわると跳ねる */
.pose__thumb img { transform-origin: 50% 100%; }
.pose:nth-child(odd) .pose__thumb img  { animation: catMini 3.6s ease-in-out infinite; }
.pose:nth-child(even) .pose__thumb img { animation: catMini 4.2s ease-in-out .6s infinite; }
.pose:hover .pose__thumb img,
.pose:focus-within .pose__thumb img {
  animation: catHopOnce .8s var(--ease-bounce);
}

/* メニューボタンのねこ：押すと ぷるん */
.hamburger:active .hamburger__cat { transform: scale(1.12, .88); }

@media (prefers-reduced-motion: reduce) {
  .about__cat, .hero__cat, .chara-card__figure img, .cta__cat,
  .drawer__cat, .footer__cat, .page-head__cat, .pose__thumb img,
  .loader__cat { animation: none !important; }
}

/* ==========================================================================
   19. しいたけねことあそぶ（PLAY）
   ・公式サイトでしか体験できない、さわって遊べるコーナー
   ・動きは「かわいく・短く・控えめに」。押しつけがましくしない
   ========================================================================== */
.section--play {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% 8%, var(--color-bg-deep) 0%, var(--color-bg-sub) 52%, var(--color-bg) 100%);
  padding-block: clamp(68px, 10vw, 118px);
}

.play-deco { position: absolute; inset: 0; pointer-events: none; }
.play-deco .deco { color: var(--color-accent); opacity: .35; }
.deco--pl1 { width: 44px; height: 44px; left: 5%;  top: 14%; --deco-o: .8; }
.deco--pl2 { width: 24px; height: 24px; right: 8%; top: 20%; --deco-r: 14deg; }
.deco--pl3 { width: 20px; height: 20px; left: 12%; bottom: 22%; --deco-r: -12deg; }
.play-deco .deco--pl4 { width: 46px; height: 23px; right: 5%; bottom: 12%; color: #b9cf9a; --deco-o: .7; }
.deco--pldot { width: 11px; height: 11px; right: 22%; top: 46%; border-radius: 50%; background: var(--color-main); --deco-o: .4; opacity: .4; }

/* 見出し */
.play-head { text-align: center; margin-bottom: clamp(24px, 4vw, 40px); }
.play-head__en {
  font-size: 11.5px;
  letter-spacing: .3em;
  color: var(--color-accent);
  font-weight: 700;
  text-indent: .3em;
}
.play-head__ja {
  margin-top: 6px;
  font-size: clamp(26px, 4.6vw, 40px);
  font-weight: 700;
  color: var(--color-brown);
  letter-spacing: .04em;
}
.play-head__lead {
  margin-top: 12px;
  font-size: clamp(14px, 1.7vw, 16px);
  color: #6b584b;
}

/* しいたけねこの居場所 */
.play-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(230px, 34vw, 300px);
  margin-inline: auto;
  max-width: 420px;
}
.play-stage__ground {
  position: absolute;
  bottom: 6px;
  width: min(60%, 200px);
  height: 18px;
  border-radius: 50%;
  background: rgba(124, 81, 54, .08);
}
.play-cat {
  position: relative;
  display: grid;
  place-items: end center;
  width: min(62vw, 230px);
  padding: 0;
  cursor: pointer;
  border-radius: 24px;
  transform-origin: 50% 100%;
  animation: catBreatheTilt 9s ease-in-out infinite;
}
.play-cat__img { width: 100%; height: auto; }

/* ── つつく：ぽよん ── */
.play-cat.is-poke {
  animation: playPoke .62s var(--ease-bounce);
}
@keyframes playPoke {
  0%   { transform: translateY(0) scale(1, 1); }
  18%  { transform: translateY(2px) scale(1.09, .91); }
  46%  { transform: translateY(-26px) scale(.94, 1.06); }
  70%  { transform: translateY(0) scale(1.07, .93); }
  86%  { transform: translateY(-5px) scale(.99, 1.01); }
  100% { transform: translateY(0) scale(1, 1); }
}

/* ── なでる：ゆらゆら（とても小さく） ── */
.play-cat.is-pet {
  animation: playPet 1.05s ease-in-out;
}
@keyframes playPet {
  0%, 100% { transform: rotate(0) translateY(0); }
  20%      { transform: rotate(-4deg) translateY(-3px); }
  45%      { transform: rotate(3.5deg) translateY(-3px); }
  70%      { transform: rotate(-2.5deg) translateY(-2px); }
  88%      { transform: rotate(1.5deg) translateY(0); }
}

/* ── おやつ：ちいさく跳ねてよろこぶ ── */
.play-cat.is-treat {
  animation: playTreat .86s var(--ease-bounce);
}
@keyframes playTreat {
  0%   { transform: translateY(0) scale(1, 1) rotate(0); }
  25%  { transform: translateY(-16px) scale(.97, 1.03) rotate(-3deg); }
  50%  { transform: translateY(0) scale(1.05, .95) rotate(0); }
  72%  { transform: translateY(-9px) scale(.99, 1.01) rotate(3deg); }
  100% { transform: translateY(0) scale(1, 1) rotate(0); }
}

/* ── つつきすぎ：ねむる ── */
.play-cat.is-tired {
  animation: playTired 2.6s ease-in-out;
}
@keyframes playTired {
  0%      { transform: translateY(0) scale(1, 1); }
  14%     { transform: translateY(4px) scale(1.06, .94); }
  30%,100%{ transform: translateY(6px) scale(1.02, .98); }
}

/* 押したときに、ひとことだけ出る文字 */
.play-fx {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: .06em;
  opacity: 0;
  pointer-events: none;
}
.play-fx.is-on { animation: playFx 1s var(--ease-out); }
@keyframes playFx {
  0%   { opacity: 0; transform: translate(-50%, 8px); }
  25%  { opacity: 1; transform: translate(-50%, -2px); }
  70%  { opacity: 1; transform: translate(-50%, -10px); }
  100% { opacity: 0; transform: translate(-50%, -20px); }
}

/* おやつのときのハート（1〜2個だけ・一瞬） */
.play-hearts { position: absolute; inset: 0; pointer-events: none; }
.play-heart {
  position: absolute;
  left: 50%;
  top: 24%;
  width: 16px;
  height: 16px;
  background: #eaa0a0;
  transform: rotate(-45deg);
  border-radius: 0 0 3px 0;
  opacity: 0;
  animation: playHeart 1.1s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * .14s);
}
.play-heart::before,
.play-heart::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: #eaa0a0;
  border-radius: 50%;
}
.play-heart::before { top: -8px; left: 0; }
.play-heart::after  { top: 0; right: -8px; }
@keyframes playHeart {
  0%   { opacity: 0; transform: rotate(-45deg) translate(0, 0) scale(.5); }
  30%  { opacity: 1; transform: rotate(-45deg) translate(-14px, -12px) scale(1); }
  100% { opacity: 0; transform: rotate(-45deg) translate(-26px, -34px) scale(.9); }
}
.play-heart:nth-child(2) { top: 30%; left: 58%; }

/* しいたけねこの返事 */
.play-say {
  min-height: 1.9em;
  margin-top: 12px;
  text-align: center;
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 700;
  color: var(--color-brown);
}

/* ボタン */
.play-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(18px, 3vw, 26px);
}
.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  border: 2px solid var(--color-main);
  color: var(--color-brown);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 0 rgba(232, 168, 91, .35);
  transition: transform .22s var(--ease-out), background-color .22s, box-shadow .22s;
}
.play-btn .icon { width: 19px; height: 19px; color: var(--color-accent); }
.play-btn:hover {
  background: var(--color-bg-deep);
  transform: translateY(-2px) scale(1.03);
}
.play-btn:active {
  transform: translateY(2px) scale(.99);
  box-shadow: 0 1px 0 rgba(232, 168, 91, .35);
}
.play-btn__icon { display: inline-flex; }

/* 今日のひとこと */
.today {
  position: relative;
  max-width: 460px;
  margin: clamp(34px, 5.5vw, 56px) auto 0;
  padding: 22px 26px;
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.today::after {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--color-white);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 3px;
}
.today__label {
  font-size: 11px;
  letter-spacing: .2em;
  font-weight: 700;
  color: var(--color-accent);
}
.today__text {
  margin-top: 8px;
  font-size: clamp(16px, 2.1vw, 19px);
  font-weight: 700;
  line-height: 1.9;
  color: var(--color-brown);
}

/* 画面が狭いとき：ボタンは2段でもOK */
@media (max-width: 400px) {
  .play-actions { gap: 10px; }
  .play-btn { padding: 12px 20px; font-size: 14px; }
}

/* 動きを減らす設定のとき：機能はそのまま、動きだけ止める */
@media (prefers-reduced-motion: reduce) {
  .play-cat,
  .play-cat.is-poke,
  .play-cat.is-pet,
  .play-cat.is-treat,
  .play-cat.is-tired { animation: none !important; transform: none !important; }
  .play-fx, .play-heart { display: none !important; }
  .play-btn:hover { transform: none; }
}

/* ==========================================================================
   20. 404（ページが見つかりません）
   ========================================================================== */
.nf-page { background: var(--color-bg-sub); }
.notfound {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
  background: radial-gradient(120% 70% at 50% 0%, var(--color-bg-deep) 0%, var(--color-bg-sub) 55%, var(--color-bg) 100%);
}
.notfound__cat {
  width: clamp(120px, 26vw, 180px);
  height: auto;
  margin-inline: auto;
  transform-origin: 50% 100%;
  animation: catSwayGentle 8s var(--ease-out) infinite;
}
.notfound__code {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: .3em;
  font-weight: 700;
  color: var(--color-accent);
  text-indent: .3em;
}
.notfound__title {
  margin-top: 6px;
  font-size: clamp(24px, 4.4vw, 36px);
  font-weight: 700;
  color: var(--color-brown);
  letter-spacing: .04em;
}
.notfound__text {
  margin-top: 16px;
  font-size: clamp(14px, 1.7vw, 16px);
  line-height: 2.1;
  color: #6b584b;
}
.notfound__back { margin-top: clamp(26px, 4vw, 36px); }

@media (prefers-reduced-motion: reduce) {
  .notfound__cat { animation: none !important; }
}
