/* =========================================================
  まんぷくうさハム神社 2025 / スタイル完全版
  （CSSのみ・完全置き換え v3.8-luxe-fixed-emaOverlay）
  構成ガイド：
    [GLOBAL]   変数・ベース・共通UI
    [TOP]      トップ（今日の縁起 / 本日の叶絵馬）
    [FORTUNE]  巻物レイアウト
    [ETO]      干支カード
    [COMMON]   目次タブ/CTA/共通カード
    [A11Y]     アクセシビリティ/印刷
    [PC-SCALE] PC縮小 / 高齢者拡大
    [ZOKUSEI]  属性診断フォーム
    [MARKER]   マーカー
    [H1]       タイトル帯＆金の筆下線
    [SP-BG]    スマホ背景
    [KOMAINU]  狛犬メーター
    [EMA]      絵馬掲示板（フォーム / 一覧 / いいね / ページャ）
    [TIER]     いいね到達ティア演出
    [ANIM]     汎用アニメーション
    [POST-OVERLAY] 投稿・削除オーバーレイ / トースト
========================================================= */

/* ===================== [GLOBAL] ===================== */
:root {
  --ink: #3a2a15;
  --ink-strong: #2b180c;
  --accent: #b19238;
  --accent-deep: #8a6f25;
  --paper: #fffdf6;
  --line: #e6dec5;
  --border-soft: 1px solid #e6dec5;
  --border-warm: 1px solid #ead9a1;
  --shadow-s: 0 1px 8px rgba(58, 42, 21, 0.08);
  --shadow-m: 0 6px 16px rgba(58, 42, 21, 0.14);
  --shadow-l: 0 10px 24px rgba(58, 42, 21, 0.12);
  --inner-press: inset 0 8px 18px rgba(58, 42, 21, 0.18);

  --bg-washi: url("../img/bg/bg_choujuu_highgrade.png");
  --header-wood: url("../img/pagebtn/navi_kinoita2.png");

  --fortune-max-w: 1000px;
  --fortune-pad: 22px 18px;
  --fortune-radius: 14px;
  --fortune-line: 1.95;
  --fd-font: 18.5px;
  --pc-scale: 0.75;
  --anchor-offset: 12px;

  --nav-h: 36px;
  --nav-icon-w: 98%;
  --row-overlap: 6px;
  --nav-pad-x: 6px;

  --scroll-top: 10%;
  --scroll-right: 5.5%;
  --scroll-left: 5.5%;

  --koma-size: 34px;
  --koma-gap: 10px;
}
@media (min-width: 1025px) {
  :root {
    --fortune-max-w: 860px;
    --scroll-top: 18%;
    --koma-size: 40px;
    --koma-gap: 10px;
    --anchor-offset: 16px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html,
body {
  margin: 0;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "Yuji Syuku", "Noto Sans JP", serif;
  color: var(--ink);
  line-height: 1.9;
  font-size: 18px;
  background: #fffef8 var(--bg-washi) top center repeat;
  background-size: auto;
}
@media (min-width: 1025px) {
  html,
  body {
    font-size: 16px;
    line-height: 1.85;
  }
}
@media (max-width: 360px) {
  html,
  body {
    font-size: 16.5px;
  }
}
@media (min-width: 768px) {
  body {
    padding-top: 64px;
  }
}
@media (max-width: 1024.98px) {
  body {
    padding-bottom: calc(
      var(--nav-h) * 2 - var(--row-overlap) + env(safe-area-inset-bottom)
    ) !important;
  }
}
img {
  max-width: 100%;
  height: auto;
}
input,
select,
textarea,
button {
  font-size: 1rem;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}

/* PCナビ等 */
#top {
  position: relative;
  padding-top: 8px;
}
#top::before {
  content: "";
  display: block;
  height: 36px;
  margin-bottom: 6px;
  background: var(--header-wood) center/110px 36px repeat-x;
}
#randomHeader {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 24px;
  display: block;
  border-radius: 8px;
}
@media (min-width: 1025px) {
  #randomHeader {
    max-width: 480px;
  }
}
@media (max-width: 768px) {
  #randomHeader {
    max-width: 95%;
    border-radius: 6px;
    margin-top: 8px;
  }
}

/* PCナビ */
@media (min-width: 768px) {
  .navbar.bg-light {
    background: #f8f9fa !important;
  }
  .navbar .container {
    max-width: 1240px;
  }
  .navbar-nav {
    flex-wrap: nowrap;
    gap: 0.25rem;
  }
  .navbar.navbar-light .nav-link {
    white-space: nowrap;
    color: #5a4a38;
    transition: color 0.16s, background-color 0.16s, box-shadow 0.16s,
      transform 0.16s;
    border-radius: 8px;
    padding: 0.36rem 0.58rem;
    font-weight: 700;
    font-size: clamp(14px, 1.05vw, 16px);
  }
  .navbar.navbar-light .nav-link:hover,
  .navbar.navbar-light .nav-link:focus {
    color: #6c531b !important;
    transform: translateY(-1px);
    background: linear-gradient(180deg, #fff5d8, #ffefbf);
    box-shadow: 0 0 0 2px #d7be77;
    text-decoration: none;
  }
  .navbar.navbar-light .nav-link.active,
  .navbar.navbar-light .show > .nav-link {
    color: #7a5a15 !important;
    background: linear-gradient(180deg, #fff1c9, #ffe18e);
    box-shadow: 0 0 0 2px #cba84f, 0 6px 16px rgba(58, 42, 21, 0.16);
  }
  .navbar .dropdown-menu {
    border-radius: 10px;
    overflow: hidden;
  }
  .navbar .dropdown-item {
    font-size: 15px;
  }
  .navbar .dropdown-item:hover,
  .navbar .dropdown-item:focus {
    background: #fff3cd;
    color: #5c3d00;
  }
}

/* SP/タブ固定ナビ */
@media (max-width: 1024.98px) {
  .bottom-nav {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 max(0px, env(safe-area-inset-right))
      max(0px, env(safe-area-inset-bottom)) max(0px, env(safe-area-inset-left)) !important;
    background: #f8f9fa !important;
    border-top: 1px solid #e6dec5;
    z-index: 10000 !important;
  }
  .bottom-nav.second-row {
    bottom: calc(var(--nav-h) - var(--row-overlap)) !important;
    z-index: 9999 !important;
  }
  .btn-edo {
    position: relative;
    isolation: isolate;
    flex: 0 0 20%;
    height: var(--nav-h) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--nav-pad-x);
    border: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.28s cubic-bezier(0.18, 0.75, 0.12, 1.2),
      box-shadow 0.28s ease;
  }
  .btn-edo:active,
  .btn-edo.is-pressed {
    transform: translateY(9px) scale(0.94);
    box-shadow: var(--inner-press);
    z-index: 10001 !important;
  }
  .btn-edo img {
    width: var(--nav-icon-w) !important;
    max-height: calc(var(--nav-h) - 2px) !important;
    display: block;
    pointer-events: none;
    user-select: none;
  }
  .btn-edo::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(
      circle,
      rgba(255, 240, 180, 0.95) 0%,
      rgba(255, 225, 120, 0.7) 40%,
      transparent 60%
    );
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
  }
  .btn-edo:active::after,
  .btn-edo.is-pressed::after {
    animation: prayerLight 1.25s ease-out forwards;
  }
}
@keyframes prayerLight {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(0);
  }
  35% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.6);
  }
  70% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(2.35);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3);
  }
}

/* タイトル帯（共通） */
.site-title--kumo {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 700;
  color: #2a1b0d;
  letter-spacing: 0.08em;
  line-height: 1.4;
  display: block;
  margin: 0 auto 14px;
  position: relative;
  text-align: center;
  padding: 6px 14px 18px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  z-index: 0;
}
.site-title--kumo::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(92%, 720px);
  height: 16px;
  border-radius: 12px;
  opacity: 0.96;
  z-index: -1;
  background: linear-gradient(90deg, #bfa46f, #f1e6bf 45%, #bfa46f);
  box-shadow: 0 1px 6px rgba(58, 42, 21, 0.12);
}

/* 上部木目線（共通） */
.wood-line {
  height: 36px;
  margin: 8px auto;
  background: var(--header-wood) center/110px 36px repeat-x;
  border-radius: 6px;
  opacity: 0.95;
}

/* ===================== [TOP] ===================== */
/* 今日の縁起（要約） */
.fortune-compact {
  max-width: var(--fortune-max-w);
  margin: 0 auto;
  padding: 12px;
  background: rgba(255, 255, 255, 0.52);
  border-radius: var(--fortune-radius);
}
.fortune-compact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fortune-compact-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding: 0.75rem 0.9rem;
  margin: 0.4rem 0;
  border: 1px solid #e4deb9;
  border-radius: 12px;
  background: #fffdf6;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  min-height: 46px;
}
@media (min-width: 768px) {
  .fortune-compact-list li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 14px;
    row-gap: 6px;
    align-items: center;
  }
  .fortune-compact .fc-tag {
    grid-column: 1;
  }
  .fortune-compact .fc-main {
    grid-column: 2;
  }
  .fortune-compact .koma-mini {
    grid-column: 3;
    justify-self: end;
  }
  .fortune-compact .fc-sub {
    grid-column: 1 / -1;
    margin-top: 0.2rem;
  }
}
.fortune-compact .fc-tag {
  flex: 0 0 auto;
  padding: 0.16rem 0.65rem;
  border-radius: 999px;
  background: #f2e6bf;
  color: #2b180c;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.fortune-compact .fc-main {
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.fortune-compact .fc-sub {
  display: block;
  font-size: 0.95em;
  color: #4a6a4a;
  margin-top: 0.12rem;
}

/* 参拝指数 */
.pi {
  --pi: #6aa35b;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: #fffef8;
  border: 1px solid #e6dec5;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.06);
  font-weight: 900;
  line-height: 1.2;
}
.pi .pi-num {
  font-size: 1.1em;
}
.pi .pi-unit {
  font-size: 0.85em;
  opacity: 0.75;
  margin-left: 0.05em;
}
.pi .pi-label {
  font-weight: 900;
  color: #4b5d41;
}
.pi .pi-bar {
  position: relative;
  width: 130px;
  height: 8px;
  border-radius: 999px;
  background: #ede3cf;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.pi .pi-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: calc(var(--v, 0) * 1%);
  background: linear-gradient(90deg, var(--pi), #b7d99f);
}
.pi.good {
  --pi: #6aa35b;
}
.pi.normal {
  --pi: #caa134;
}
.pi.low {
  --pi: #c05746;
}
@media (max-width: 430px) {
  .pi .pi-bar {
    width: 100px;
  }
}

/* 本日の叶絵馬（PCグリッド＋SPスライダー） */
.home-ema-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 12px;
}
.home-ema-section.calm {
  background: rgba(20, 12, 0, 0.06);
  border: 1px solid rgba(50, 32, 12, 0.1);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.home-ema-section.shrine-section {
  padding-block: 12px;
}

/* “最新3件”切替用フック */
.home-ema-section .mode-latest {
  display: none;
}
.home-ema-section.is-latest-mode .mode-random {
  display: none;
}
.home-ema-section.is-latest-mode .mode-latest {
  display: block;
}
.mode-badge {
  display: inline-block;
  padding: 0.16rem 0.6rem;
  margin: 0 0 6px 2px;
  border-radius: 999px;
  background: #fff3cf;
  border: 1px solid #ead9a1;
  font-weight: 900;
  color: #4b360e;
}

.top-ema-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1024.98px) {
  .top-ema-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .top-ema-row {
    display: none;
  }
}

.ema-mini {
  display: block;
  background: transparent;
  border: 0;
  padding: 0;
}
.ema-mini__figure {
  position: relative;
  margin: 24px 0 0;
}
.ema-mini__img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-l);
  background: transparent;
}

/* 時間の右に名前（TOPミニ用） */
.ema-meta-top {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ema-meta-top .time-left {
  position: static;
  transform: none;
  order: 1;
}
.ema-meta-top .disp-name {
  position: static;
  transform: none;
  order: 2;
  margin-left: 0;
}
.ema-card .time-left + .disp-name,
.ema-card .time-left + .name-badge,
.ema-card .time-left + .name {
  margin-left: 6px;
}

.disp-name,
.name-badge,
.name {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
.disp-name.center,
.name-badge.center {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  margin: 0 !important;
}

/* 絵馬テキスト（TOPミニ） */
.ema-mini__inside {
  position: absolute;
  top: 44%;
  right: 8%;
  bottom: 14%;
  left: 8%;
  display: grid;
  align-items: end;
  justify-items: center;
  pointer-events: none;
}
.ema-mini__text {
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #5a3e2b;
  line-height: 1.55;
  word-break: break-all;
  overflow-wrap: anywhere;
  line-break: strict;
}
.ema-mini__text p {
  margin: 0;
}

/* SPスライダー */
@media (min-width: 768px) {
  .ema-slider--sp {
    display: none;
  }
}
.ema-slider--sp {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding-inline: 8px;
}
.ema-slider--sp .ema-track {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}
.ema-slider--sp .ema-slide {
  flex: 0 0 100%;
  position: relative;
  padding: 24px 8px 8px;
}
.ema-slider--sp .ema-slide figure {
  margin: 24px 0 0;
}
.ema-slider--sp .dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 10px 0 0;
}
.ema-slider--sp .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d7caa2;
  transition: transform 0.18s ease, background-color 0.18s ease;
}
.ema-slider--sp .dot.active {
  background: #b19238;
  transform: scale(1.15);
}

/* ===================== [FORTUNE] 巻物 ===================== */
.fd-scroll-wrap {
  position: relative !important;
  max-width: var(--fortune-max-w);
  margin: 0 auto;
}
@media (min-width: 1025px) {
  .fd-scroll-wrap {
    width: fit-content;
    margin: 0 auto;
  }
}
.fd-scroll-img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 12px;
}
@media (min-width: 1025px) {
  .fd-scroll-img {
    width: auto !important;
    max-height: calc(100vh - 220px);
    margin: 0 auto;
  }
}
.fd-overlay {
  position: absolute !important;
  top: var(--scroll-top);
  right: var(--scroll-right);
  left: var(--scroll-left);
  background: rgba(255, 255, 255, 0.22) !important;
  -webkit-backdrop-filter: blur(1px) brightness(1.05) saturate(1.03);
  backdrop-filter: blur(1px) brightness(1.05) saturate(1.03);
  border-radius: var(--fortune-radius);
  padding: var(--fortune-pad);
  box-shadow: inset 0 0 0 1px #d9c68e, inset 0 1px 8px rgba(58, 42, 21, 0.08);
  color: var(--ink-strong);
  line-height: var(--fortune-line);
  font-size: var(--fd-font);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
  z-index: 2;
}
.fortune-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fortune-list > li {
  display: none;
}
.fortune-list > li.is-show {
  display: block;
}
.fortune-scroll-wrapper .scroll-bg {
  display: none !important;
}

/* ===================== [ETO] 干支カード ===================== */
.eto-panel,
.eto-card {
  max-width: 1000px;
  margin: 14px auto;
  padding: 0 10px;
}
.eto-panel .eto-kv {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
  margin-bottom: 8px;
}
.eto-panel .eto-kv .badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff5db, #ffeaa8);
  border: var(--border-warm);
  color: #3a2a15;
  font-weight: 900;
  box-shadow: 0 2px 10px rgba(58, 42, 21, 0.14);
}
.eto-panel .eto-kv .kv-text {
  font-weight: 900;
  font-size: clamp(18px, 2.6vw, 20px);
  color: var(--ink-strong);
}
.eto-panel .eto-kv .sub {
  color: #624a2f;
  font-weight: 800;
  font-size: clamp(16px, 2.2vw, 18px);
}
.eto-panel .eto-head,
.eto-card .eto-head {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.68),
    rgba(255, 255, 255, 0.42)
  );
  border: 1px solid #d9c68e;
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--ink-strong);
  box-shadow: var(--shadow-s);
}
.eto-panel .eto-title,
.eto-card .eto-title {
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: clamp(18px, 2.6vw, 20px);
}
.eto-panel .eto-head .sub,
.eto-card .eto-sub {
  margin-top: 4px;
  color: #624a2f;
  font-weight: 800;
  font-size: clamp(16px, 2.2vw, 18px);
}
.eto-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0.6rem 0;
}
.eto-tab-2,
.eto-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.55rem 0.9rem;
  border: var(--border-soft);
  border-radius: 999px;
  background: #fffdf6;
  color: #3a2a15;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 1px 0 rgba(58, 42, 21, 0.06), 0 2px 10px rgba(58, 42, 21, 0.08);
  transition: transform 0.18s, background-color 0.18s, box-shadow 0.18s,
    color 0.18s, border-color 0.18s;
}
.eto-tab-2:active,
.eto-tab:active {
  transform: translateY(2px);
}
.eto-tab-2.is-active,
.eto-tab.is-active {
  background: linear-gradient(180deg, #fff0c8, #ffe39b);
  border-color: #b19238;
  color: #4b360e;
  box-shadow: 0 2px 12px rgba(178, 146, 56, 0.35);
}
.eto-body2,
.eto-body {
  background: #fff;
  border: var(--border-soft);
  border-radius: 14px;
  padding: 12px 14px;
  color: #2b1a0c;
  box-shadow: var(--shadow-s);
}
.eto-meta .sel {
  font-weight: 900;
}
.eto-meta .kv {
  color: #5b4935;
  font-weight: 800;
  margin-top: 2px;
}
.eto-stats,
.eto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  margin-top: 0.45rem;
  font-size: clamp(16.5px, 2.2vw, 18px);
}
.eto-memo,
.eto-memos {
  margin-top: 0.5rem;
  display: grid;
  gap: 4px;
  font-size: clamp(16.5px, 2.2vw, 18px);
}
@media (max-width: 540px) {
  .eto-panel,
  .eto-card {
    padding: 0 8px;
  }
  .eto-tab-2,
  .eto-tab {
    padding: 0.55rem 0.8rem;
    font-size: 17px;
  }
  .eto-stats,
  .eto-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 380px) {
  .eto-stats,
  .eto-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== [COMMON] ===================== */
.fd-toc {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1000px;
  margin: 0 auto 1rem;
  padding: 0 0.6rem;
}
@media (max-width: 540px) {
  .fd-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.fd-chip {
  appearance: none;
  border: var(--border-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.1rem;
  border-radius: 15px;
  font: 800 clamp(15px, 2.6vw, 17px) / 1.22 "Noto Sans JP", system-ui,
    sans-serif;
  color: #2b1a0c;
  background: #fffdf6;
  box-shadow: 0 1px 0 rgba(58, 42, 21, 0.06), 0 2px 10px rgba(58, 42, 21, 0.08);
  transition: transform 0.38s cubic-bezier(0.18, 0.75, 0.12, 1.2),
    background-color 0.18s, box-shadow 0.18s, color 0.18s, border-color 0.18s;
}
.fd-chip:active {
  transform: translateY(3px) scale(0.985);
  box-shadow: var(--inner-press);
}
.fd-chip.is-active {
  background: linear-gradient(180deg, #fff0c8, #ffe39b);
  color: #4b360e;
  border-color: #b19238;
  box-shadow: 0 2px 12px rgba(178, 146, 56, 0.38);
  transform: translateY(1px);
}
.fd-headrow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 0.6rem;
}
@media (max-width: 820px) {
  .fd-headrow {
    grid-template-columns: 1fr;
  }
}
.fd-cta .fd-cta-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(180deg, #fff5db, #ffeaa8);
  border: var(--border-warm);
  color: #3a2a15;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(58, 42, 21, 0.14);
}
.fd-card {
  background: transparent;
  border: none;
  border-radius: 14px;
  margin: 8px 0;
  box-shadow: none;
  color: var(--ink-strong);
  width: 100%;
}
.fd-card-h {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #1f1209;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.3)
  );
  border: 1px solid #d9c68e;
  border-radius: 12px;
}
.fd-body {
  padding: 0.7rem 0.2rem 0.2rem;
  font-size: clamp(16.5px, 2.2vw, 18px);
}

/* ===================== [A11Y / LINK / PRINT] ===================== */
[id] {
  scroll-margin-top: var(--anchor-offset);
}
.article[id],
.fd-card[id],
.fd-overlay [id] {
  scroll-margin-top: var(--anchor-offset);
}
footer {
  background: #fffaf0;
  color: var(--ink);
  font-size: 14.5px;
  padding: 1em 0;
  border-top: 1px solid #d7c9b5;
  text-align: center;
}
a {
  color: #765c3f;
}
a:hover {
  color: #6c531b;
}
:root {
  --bs-body-color: var(--ink);
  --bs-emphasis-color: var(--ink-strong);
}
.btn:focus-visible,
.fd-chip:focus-visible,
.eto-tab-2:focus-visible,
.eto-tab:focus-visible,
.z-cta:focus-visible {
  outline: 3px solid #c7a85a;
  outline-offset: 2px;
}
@media (prefers-contrast: more) {
  .fd-overlay {
    background: rgba(255, 255, 255, 0.95) !important;
  }
  .fd-card-h {
    background: #fff;
  }
  .fd-card {
    color: #2b1a0c;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn-edo,
  .ema-track {
    transition: none;
  }
}
@media print {
  html,
  body {
    background: #fff !important;
  }
  .bottom-nav,
  nav,
  header,
  footer {
    display: none !important;
  }
  .fd-scroll-img {
    display: none !important;
  }
  .fd-overlay,
  .eto-panel,
  .eto-card {
    position: static !important;
    box-shadow: none !important;
  }
  .fd-overlay,
  .eto-panel,
  .eto-card,
  .fd-card {
    border: 1px solid #cbb997 !important;
  }
}

/* ===================== [PC-SCALE / ELDER] ===================== */
@media (min-width: 1025px) {
  html {
    background: #fffef8 var(--bg-washi) top center repeat !important;
    background-size: auto !important;
  }
  body {
    background: none !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%) scale(var(--pc-scale));
    transform-origin: top center;
    width: 100%;
    margin: 0;
    overflow-x: hidden;
  }
  @supports (zoom: 1) {
    body {
      left: auto;
      transform: none;
      zoom: var(--pc-scale);
      width: 100%;
    }
  }
  main img,
  .content img,
  .fd-body img {
    max-width: 80%;
    height: auto;
  }
  #randomHeader {
    max-width: 520px;
  }
}
body.is-elder {
  --fd-font: 19.5px;
  --koma-size: 60px;
  --koma-gap: 12px;
  --nav-h: 44px;
  --anchor-offset: 18px;
  letter-spacing: 0.01em;
}
body.is-elder,
body.is-elder html {
  font-size: 19px;
  line-height: 2.05;
}
body.is-elder .btn {
  padding: 1rem 1.25rem;
  font-size: clamp(17px, 2.8vw, 19px);
  min-height: 48px;
}

/* ===================== [ZOKUSEI] 属性診断フォーム ===================== */
.zokusei-hero {
  margin: 0 auto 0.2rem;
  text-align: center;
}
.zokusei-hero-img {
  max-width: 120px;
  width: 30vw;
  height: auto;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.6));
}
.zokusei-hero-cap {
  font-size: 13px;
  color: #6b5a3a;
  margin-top: 4px;
}
.zokusei-miko {
  height: 84px;
  width: auto;
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, 0.7));
  opacity: 0.95;
}
.fd-z-form {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e8dfbf;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 1px 8px rgba(58, 42, 21, 0.1);
}
.fd-z-form label {
  font-weight: 900;
  color: #2b180c;
  font-size: 18px;
}
.fd-z-form select {
  min-width: 120px;
  color: #3a2a15;
  font-size: 18px;
  padding: 0.55rem 0.6rem;
  border: 1px solid #d9cda8;
  border-radius: 10px;
  background: #fffdf6;
}
.fd-z-form select:focus {
  box-shadow: 0 0 0 3px rgba(178, 146, 56, 0.28) !important;
  border-color: #e3d39f !important;
  outline: 0;
}

/* ===================== [MARKER] ===================== */
.marker_blue {
  background: linear-gradient(transparent 60%, #cceeff 60%);
}
.marker_yellow {
  background: linear-gradient(transparent 60%, #fff7aa 60%);
}
.marker_Pinku {
  background: linear-gradient(transparent 60%, #ffd1dc 60%);
}
.marker_green {
  background: linear-gradient(transparent 60%, #d4fcdc 60%);
}

/* ===================== [H1] 金の筆下線 ===================== */
h1.site-title--kumo {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 0 18px !important;
  margin: 0 auto 16px !important;
  width: max-content !important;
  display: block !important;
  text-align: center !important;
  position: relative !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif !important;
  font-weight: 650 !important;
  font-size: clamp(26px, 2.6vw, 32px) !important;
  color: #2a1b0d !important;
  letter-spacing: 0.08em !important;
  line-height: 1.32 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}
h1.site-title--kumo::before {
  content: none !important;
}
h1.site-title--kumo::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(92%, 760px);
  height: 12px;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(90deg, #b39a5e 0%, #e7d8a6 52%, #b39a5e 100%)
      center 65%/100% 4px no-repeat,
    linear-gradient(#5a4632, #5a4632) center bottom/100% 1px no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 1px 6px rgba(58, 42, 21, 0.12);
}

/* ===================== [SP-BG] ===================== */
@media (max-width: 1024.98px) {
  html,
  body {
    background-image: var(--bg-washi) !important;
    background-repeat: repeat !important;
    background-position: top center !important;
    background-size: auto !important;
    background-attachment: scroll !important;
  }
}

/* ===================== [KOMAINU] ===================== */
.koma-mini {
  display: inline-flex;
  gap: 10px;
  margin-left: 0.35rem;
  vertical-align: middle;
}
.koma-mini .fi {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  filter: contrast(115%) brightness(105%);
}
.koma-mini .fi.is-empty {
  opacity: 0.38;
  filter: grayscale(95%) brightness(0.9);
}
@media (min-width: 768px) {
  .koma-mini .fi {
    width: 40px;
    height: 40px;
  }
}
@media (min-width: 1025px) {
  .koma-mini .fi {
    width: 48px;
    height: 48px;
  }
}
.koma-rank {
  --size: var(--koma-size);
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: var(--koma-gap);
  vertical-align: middle;
  margin-left: 0.35rem;
  position: relative;
  isolation: isolate;
}
.koma-rank img {
  width: auto;
  height: var(--size);
  filter: grayscale(100%) contrast(120%) brightness(105%);
  user-select: none;
  pointer-events: none;
}
.koma-rank img.off {
  opacity: 0.38;
  filter: grayscale(100%) brightness(0.35) contrast(130%);
}
.koma-rank:focus-within {
  outline: 3px solid #c7a85a;
  outline-offset: 4px;
  border-radius: 10px;
}
.koma-rank .koma-num {
  display: none;
}
.koma-rank:active {
  transform: translateY(1px);
}
.koma-rank.is-lg {
  --size: 64px;
}
.koma-mini.is-lg .fi {
  width: 56px;
  height: 56px;
}

/* ===================== [EMA] 絵馬掲示板 ===================== */
/* ヘッダ＆リード */
.ema-head {
  max-width: 1000px;
  margin: 10px auto 12px;
  padding: 0 12px;
  text-align: center;
}
.ema-head .title-shrine {
  display: inline-block;
}
.ema-head .ema-lead {
  margin: 6px auto 0;
  max-width: 780px;
  color: #574231;
  font-weight: 800;
}

/* 投稿フォーム */
.ema-form-section {
  max-width: 1000px;
  margin: 0 auto 12px;
  padding: 0 12px;
}
.ema-form-visual .form-bg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: var(--shadow-s);
}
.form-overlay {
  position: relative;
  margin: 3.5%;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
}
@media (max-width: 600px) {
  .form-overlay {
    position: static;
    margin: 8px 0 0;
    padding: 12px;
  }
}
.form-title {
  margin: 0 0 6px;
}
.ema-form .form-row {
  margin: 8px 0;
}
.ema-form .form-label {
  font-weight: 900;
  color: #2b180c;
}
.ema-form .form-control {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid #d9cda8;
  border-radius: 10px;
  background: #fffdf6;
  color: #3a2a15;
  font-size: 18px;
}
.count-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
  font-weight: 800;
}
.count {
  font-weight: 900;
}
.count-sub {
  color: #5c4a3b;
}

/* プレビュー絵馬 */
.ema-figure {
  position: relative;
  margin: 8px auto 0;
  max-width: 520px;
}
.ema-figure.ema-preview {
  max-width: min(520px, 50%);
}
@media (max-width: 768px) {
  .ema-figure.ema-preview {
    max-width: 520px;
  }
}
.ema-img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: var(--shadow-s);
  background: #fffdf6;
}

/* 絵馬文字エリア */
.ema-inside {
  position: absolute;
  top: 42%;
  right: 4%;
  bottom: 10%;
  left: 4%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 6px;
  overflow: hidden;
}
@media (max-width: 360px) {
  .ema-inside {
    top: 44%;
    right: 4%;
    bottom: 10%;
    left: 4%;
  }
}
.ema-text {
  width: 100%;
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #2b1a0c;
  line-height: 1.6;
  word-break: break-word;
  max-height: 100%;
  overflow: hidden;
}

/* 投稿ボタン */
.submit-row {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}
.ema-submit-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  line-height: 0;
  transition: transform 0.28s cubic-bezier(0.18, 0.75, 0.12, 1.2), filter 0.28s;
  -webkit-tap-highlight-color: transparent;
}
.ema-submit-btn:active,
.dopamine-press.press-deep {
  transform: translateY(8px) scale(0.97);
  filter: saturate(1.05);
}
.submit-img {
  width: min(54vw, 220px);
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(58, 42, 21, 0.18));
}
.submit-img.is-half {
  width: min(40vw, 180px);
}
.ema-submit-btn .submit-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  font-weight: 900;
  letter-spacing: 0.06em;
  font-size: clamp(18px, 3.6vw, 26px);
  color: #1f1409;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.95), 0 2px 6px rgba(0, 0, 0, 0.12);
}
.ema-submit-btn .shrine-halo {
  position: absolute;
  inset: -8% -10%;
  border-radius: 16px;
  z-index: 1;
  background: radial-gradient(
      320px 180px at 50% 46%,
      rgba(255, 236, 170, 0.65),
      transparent 62%
    ),
    radial-gradient(
      620px 300px at 8% -12%,
      rgba(255, 230, 150, 0.22),
      transparent 60%
    ),
    radial-gradient(
      620px 300px at 108% -12%,
      rgba(255, 220, 140, 0.18),
      transparent 60%
    );
  filter: blur(0.6px);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.ema-submit-btn.glow .shrine-halo {
  opacity: 0.88;
  transform: scale(1.02);
}
.ema-submit-btn.glow .submit-img {
  filter: drop-shadow(0 10px 22px rgba(58, 42, 21, 0.22)) saturate(1.04)
    brightness(1.02);
}
.ema-submit-btn.glow {
  animation: btnBreathe 2.6s ease-in-out infinite;
}
@keyframes btnBreathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.01);
  }
}
.ema-submit-btn .ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(200, 162, 74, 0.85);
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0.9;
  animation: ringPulse 0.6s ease-out forwards;
  pointer-events: none;
  z-index: 3;
}
@keyframes ringPulse {
  to {
    transform: translate(-50%, -50%) scale(8);
    opacity: 0;
  }
}
.ema-submit-btn .spark-mini {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #ffe9a8 0%,
    #ffcf4d 55%,
    rgba(255, 213, 94, 0) 74%
  );
  filter: drop-shadow(0 0 2px rgba(255, 215, 110, 0.9));
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: sparkFly 0.9s ease-out forwards;
}
@keyframes sparkFly {
  0% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy)))
      scale(0.1);
  }
}

/* 一覧（中央寄せグリッド） */
.ema-board {
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: clamp(8px, 2vw, 16px);
}
.ema-board .ema-grid {
  display: grid;
  gap: 22px 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 360px));
  justify-content: center;
  align-content: start;
}
.ema-card {
  width: 360px;
  max-width: 100%;
  background: #fffdf6;
  border: 1px solid #ead9a1;
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--shadow-s);
  position: relative;
  margin: 0;
}

/* 日付行＋名前行 */
.card-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  margin: 2px 0 4px;
}
.card-time-topleft {
  position: relative;
  display: inline-block;
  color: #6b5a3a;
  font-weight: 800;
  font-size: 0.92em;
  line-height: 1;
}
.poster-name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.poster-name .rank-mini {
  display: block;
}
.poster-name .name-text {
  font-weight: 900;
  color: #2b1a0c;
}

/* スマホは1列 */
@media (max-width: 740px) {
  .ema-board .ema-grid {
    grid-template-columns: 1fr;
    justify-content: center;
  }
  .ema-card {
    width: min(92vw, 360px);
    margin-inline: auto;
  }
}

/* いいねUI */
.ema-actions {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 8px;
  margin-top: 10px;
  justify-items: center;
}
.ema-like-center {
  display: grid;
  place-items: center;
}
.like-form {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas: "btn btn" "counter del";
  justify-items: center;
  align-items: center;
  column-gap: 8px;
  row-gap: 0;
  position: relative;
}
.like-btn {
  grid-area: btn;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.leaf-wrap {
  grid-area: counter;
  position: relative;
  display: inline-grid;
  place-items: center;
  line-height: 1;
  margin-top: 0 !important;
}
.delete-btn {
  grid-area: del;
  background: transparent;
  border: 0;
}
.delete-btn.delete-small {
  padding: 4px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.18s;
}
.delete-btn.delete-small:active {
  transform: translateY(6px) scale(0.97);
}
.ema-actions .delete-icon {
  width: 80px;
  height: auto;
  display: block;
  filter: drop-shadow(0 3px 0 rgba(255, 255, 255, 0.65));
}

/* いいねボタン */
.like-btn.only-icon {
  display: grid;
  place-items: center;
  padding: 4px;
  transition: transform 0.22s cubic-bezier(0.18, 0.75, 0.12, 1.2), filter 0.22s;
}
.like-btn.only-icon:active {
  transform: translateY(6px) scale(0.97);
}
.like-icon {
  height: auto;
}
.like-icon.xl {
  height: auto;
  display: block;
  filter: drop-shadow(0 3px 0 rgba(255, 255, 255, 0.65));
}

/* カウンター（四つ葉上に数字） */
.leaf-wrap .leaf-img {
  display: block;
  width: clamp(64px, 18vw, 150px);
  height: auto;
}
.leaf-wrap .leaf-num {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: 900;
  color: #2b1a0c;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  font-size: 28px !important;
  letter-spacing: 0.02em;
  min-width: 2ch;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 1025px) {
  .leaf-wrap .leaf-num {
    font-size: 30px !important;
  }
}
.leaf-num[data-digits="1"] {
  transform: translate(-50%, -50%) scale(1);
}
.leaf-num[data-digits="2"] {
  transform: translate(-50%, -50%) scale(0.96);
}
.leaf-num[data-digits="3"] {
  transform: translate(-50%, -50%) scale(0.9);
}
.leaf-num[data-digits="4"] {
  transform: translate(-50%, -50%) scale(0.84);
}
.leaf-num[data-digits="5"] {
  transform: translate(-50%, -50%) scale(0.78);
}

/* いいね演出 */
.dopamine-like .boom {
  animation: likeBoom 0.6s cubic-bezier(0.22, 1.4, 0.36, 1) both;
}
@keyframes likeBoom {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
.like-icon.shine {
  animation: likeShine 0.6s ease-out both;
}
@keyframes likeShine {
  0% {
    filter: brightness(1);
  }
  40% {
    filter: brightness(1.25);
  }
  100% {
    filter: brightness(1);
  }
}
.plus-one {
  position: absolute;
  margin-top: -12px;
  transform: translateY(0);
  font-weight: 900;
  color: #b19238;
  text-shadow: 0 1px 0 #fff;
  opacity: 0;
  animation: plusRise 0.7s ease-out both;
}
@keyframes plusRise {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-18px);
  }
}

/* 常時ドーパミン（控えめ） */
.leaf-wrap.is-alive .leaf-img {
  animation: leafPulse 2.4s ease-in-out infinite;
  transform-origin: center;
}
.leaf-wrap.is-alive .leaf-num {
  animation: numBreath 3.2s ease-in-out infinite;
}
@keyframes numBreath {
  0%,
  100% {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  }
  50% {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 1),
      0 0 8px rgba(255, 210, 120, 0.65);
  }
}

/* ページャ */
.ema-pager {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin: 12px 0 4px;
}
.pager-overlay {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}
.pager-overlay .pager-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
}
.pager-overlay .pager-wrap img {
  display: block;
}
.pager-overlay .pager-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #2b1a0c;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}
.page-link {
  display: inline-block;
  transition: transform 0.18s;
}
.page-link.is-active .pager-wrap {
  transform: scale(1.06);
}
.page-link:active {
  transform: translateY(2px) scale(0.98);
}
.next-link .pager-wrap {
  animation: nextPulse 1.2s ease-in-out infinite;
}
@keyframes nextPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

/* タイトル下の金ライン維持 */
.board-title {
  margin: 0 0 6px;
}

/* PCナビ微調整 */
@media (min-width: 1025px) {
  .navbar .container {
    max-width: 1320px;
  }
  .navbar.navbar-light .nav-link {
    padding: 0.32rem 0.5rem;
    font-size: clamp(13px, 0.95vw, 15px);
    letter-spacing: 0.01em;
  }
  .navbar-nav {
    flex-wrap: nowrap;
    gap: 0.2rem;
  }
}

/* 称号バナー */
.rank-banner {
  margin-top: 4px;
}
.rank-banner--elegant {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff7dd, #f3e3b1);
  border: 1px solid #e0c782;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
  font-size: 14px;
  color: #4b360e;
  max-width: 100%;
}
.rank-badge {
  flex: 0 0 auto;
  display: block;
}
.rank-text {
  font-weight: 800;
}

/* ===================== [TIER] いいね到達ティア ===================== */
.ema-card[data-tier] .leaf-num {
  transition: transform 0.25s ease, color 0.25s ease, text-shadow 0.25s ease;
}
.ema-card[data-tier] .like-icon.xl {
  transition: filter 0.25s ease, transform 0.25s ease;
}

/* t0：通常 */
.ema-card[data-tier="t0"] .leaf-num {
  color: #2b1a0c;
}

/* t30〜t200：段階的に光が強くなる */
.ema-card[data-tier="t30"] .leaf-num {
  color: #6c531b;
  text-shadow: 0 1px 0 #fff, 0 0 6px rgba(255, 215, 140, 0.6);
}

.ema-card[data-tier="t50"] .leaf-num {
  color: #8a6f25;
  text-shadow: 0 1px 0 #fff, 0 0 8px rgba(255, 205, 100, 0.75);
}
.ema-card[data-tier="t50"] .like-icon.xl {
  transform: scale(1.02);
  filter: drop-shadow(0 0 8px rgba(255, 200, 90, 0.75));
}

.ema-card[data-tier="t100"] .leaf-num {
  color: #a5801f;
  text-shadow: 0 1px 0 #fff, 0 0 10px rgba(255, 195, 80, 0.9);
}
.ema-card[data-tier="t100"] .like-icon.xl {
  transform: scale(1.03);
  filter: drop-shadow(0 0 10px rgba(255, 190, 70, 0.9));
}

.ema-card[data-tier="t200"] .leaf-num {
  color: #b68a20;
  text-shadow: 0 1px 0 #fff, 0 0 12px rgba(255, 185, 60, 1);
}
.ema-card[data-tier="t200"] .like-icon.xl {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(255, 180, 50, 1));
}

/* t300：周囲に金の光輪＋キラキラ */
.ema-card[data-tier="t300"] .leaf-num {
  color: #c59527;
  text-shadow: 0 1px 0 #fff, 0 0 12px rgba(255, 190, 60, 1);
}
.ema-card[data-tier="t300"] .like-icon.xl {
  transform: scale(1.07);
  filter: drop-shadow(0 0 14px rgba(255, 185, 50, 1));
}
.ema-card[data-tier="t300"] .like-form::before {
  content: "";
  position: absolute;
  inset: -10px;
  pointer-events: none;
  z-index: -1;
  border-radius: 16px;
  background: repeating-conic-gradient(
    rgba(255, 210, 110, 0) 0deg,
    rgba(255, 210, 110, 0) 12deg,
    rgba(255, 210, 110, 0.28) 12deg,
    rgba(255, 210, 110, 0.28) 16deg
  );
  animation: raySpin 8s linear infinite;
}
.ema-card[data-tier="t300"] .leaf-wrap::after {
  content: "";
  position: absolute;
  inset: -6px;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle 2px at 18px 10px, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 60%),
    radial-gradient(circle 1.8px at 60px 22px, rgba(255, 240, 200, 0.9), rgba(255, 240, 200, 0) 60%),
    radial-gradient(circle 2.2px at 42px 48px, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 60%),
    radial-gradient(circle 1.6px at 86px 36px, rgba(255, 230, 160, 0.9), rgba(255, 230, 160, 0) 60%);
  background-repeat: no-repeat;
  animation: glitter 3.8s linear infinite;
}

/* t500：絵馬全体にオーラ＋光線 */
.ema-card[data-tier="t500"] .leaf-num {
  color: #d2a02c;
  text-shadow: 0 1px 0 #fff, 0 0 14px rgba(255, 200, 70, 1),
    0 0 28px rgba(255, 210, 110, 0.8);
}
.ema-card[data-tier="t500"] .like-icon.xl {
  transform: scale(1.1);
  filter: drop-shadow(0 0 16px rgba(255, 200, 80, 1))
    drop-shadow(0 0 28px rgba(255, 210, 110, 0.9));
}
.ema-card[data-tier="t500"] .like-form::after {
  content: "";
  position: absolute;
  inset: -12px;
  pointer-events: none;
  z-index: 0;
  border-radius: 18px;
  background: radial-gradient(
      circle 320px at 50% 50%,
      rgba(255, 225, 150, 0.22) 0%,
      rgba(255, 225, 150, 0) 70%
    ),
    radial-gradient(
      circle 80px at 50% 50%,
      rgba(255, 240, 200, 0.35) 0%,
      rgba(255, 240, 200, 0) 70%
    );
  animation: auraPulse 2s ease-in-out infinite;
}
.ema-card[data-tier="t500"] .like-form::before {
  content: "";
  position: absolute;
  inset: -14px;
  pointer-events: none;
  z-index: -1;
  border-radius: 20px;
  background: repeating-conic-gradient(
    rgba(255, 215, 120, 0) 0deg,
    rgba(255, 215, 120, 0) 10deg,
    rgba(255, 215, 120, 0.32) 10deg,
    rgba(255, 215, 120, 0.32) 14deg
  );
  animation: raySpin 6s linear infinite;
}

/* t800：四つ葉部分に枠＆内側の輝き */
.ema-card[data-tier="t800"] .leaf-num {
  color: #dcab30;
  text-shadow: 0 1px 0 #fff, 0 0 16px rgba(255, 205, 80, 1),
    0 0 34px rgba(255, 215, 120, 0.95);
}
.ema-card[data-tier="t800"] .like-icon.xl {
  transform: scale(1.12) rotate(-0.5deg);
  filter: drop-shadow(0 0 18px rgba(255, 205, 90, 1))
    drop-shadow(0 0 38px rgba(255, 220, 140, 0.95));
}
.ema-card[data-tier="t800"] .leaf-wrap::before {
  content: "";
  position: absolute;
  inset: -8px;
  pointer-events: none;
  z-index: 2;
  border-radius: 14px;
  box-shadow: 0 0 0 2px rgba(210, 170, 90, 0.25) inset,
    0 0 22px rgba(255, 220, 140, 0.55) inset, 0 10px 26px rgba(0, 0, 0, 0.14);
}
.ema-card[data-tier="t800"] .leaf-wrap::after {
  content: "";
  position: absolute;
  inset: -8px;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle 2.4px at 14px 12px, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 60%),
    radial-gradient(circle 2px at 70px 28px, rgba(255, 240, 200, 0.9), rgba(255, 240, 200, 0) 60%),
    radial-gradient(circle 2.2px at 48px 46px, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 60%);
  background-repeat: no-repeat;
  animation: glitter 3.2s linear infinite;
}

/* t1000：最上位・虹がかるようなオーラ */
.ema-card[data-tier="t1000"] .leaf-num {
  color: #f0b935;
  text-shadow: 0 1px 0 #fff, 0 0 18px rgba(255, 210, 90, 1),
    0 0 40px rgba(255, 230, 170, 1);
}
.ema-card[data-tier="t1000"] .like-icon.xl {
  transform: scale(1.14) rotate(-0.6deg);
  filter: drop-shadow(0 0 20px rgba(255, 210, 90, 1))
    drop-shadow(0 0 42px rgba(255, 235, 180, 1));
}
.ema-card[data-tier="t1000"] .like-form::before {
  content: "";
  position: absolute;
  inset: -18px;
  pointer-events: none;
  z-index: -1;
  border-radius: 24px;
  background:
    conic-gradient(
      from 0deg,
      rgba(255, 180, 180, 0.15),
      rgba(255, 210, 140, 0.3),
      rgba(255, 255, 180, 0.3),
      rgba(180, 255, 190, 0.3),
      rgba(180, 220, 255, 0.3),
      rgba(230, 190, 255, 0.3),
      rgba(255, 180, 180, 0.15)
    );
  animation: raySpin 5s linear infinite;
}
.ema-card[data-tier="t1000"] .like-form::after {
  content: "";
  position: absolute;
  inset: -10px;
  pointer-events: none;
  z-index: 0;
  border-radius: 20px;
  background: radial-gradient(
    circle 260px at 50% 50%,
    rgba(255, 240, 210, 0.6),
    rgba(255, 240, 210, 0) 70%
  );
  animation: auraPulse 1.8s ease-in-out infinite;
}

/* ===================== [ANIM] 汎用 ===================== */
@keyframes leafPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}
@keyframes raySpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes glitter {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}
@keyframes auraPulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

/* ===================== [POST-OVERLAY] 投稿オーバーレイ＆トースト ===================== */
#emaPostedScreen {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: radial-gradient(circle at center, rgba(255, 253, 246, 0.98) 0%, rgba(248, 242, 230, 0.98) 40%, rgba(246, 238, 220, 0.98) 100%);
  z-index: 10000;
}
#emaPostedScreen.show {
  display: grid !important;
}
#emaPostedScreen .panel {
  width: min(920px, 92vw);
  background: #fffef8;
  border: 1px solid #e6dec5;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  padding: 26px 16px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#emaPostedScreen .title {
  font-size: clamp(22px, 4.6vw, 32px);
  margin: 0 0 12px;
  font-weight: 900;
}
#emaPostedScreen .goldline {
  position: relative;
  padding-bottom: 0.35rem;
  display: inline-block;
}
#emaPostedScreen .goldline::after {
  content: "";
  display: block;
  height: 6px;
  border-radius: 6px;
  margin: 0.35rem auto 0;
  width: min(520px, 82%);
  background: linear-gradient(90deg, transparent, #eddba4 12%, #b68d3d 52%, #7e5e22 86%, transparent);
  box-shadow: 0 2px 12px rgba(182, 141, 61, 0.28), inset 0 0 2px rgba(255, 255, 255, 0.6);
}
#emaPostedScreen .miko {
  width: min(220px, 40vw);
  height: auto;
  object-fit: contain;
  margin: 8px auto 10px;
  display: block;
  animation: float 3.8s ease-in-out infinite;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.12));
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
#emaPostedScreen .msg {
  margin: 4px auto 8px;
  font-size: clamp(14px, 3vw, 16px);
  color: #6b533a;
}
#emaPostedScreen .hr {
  height: 1px;
  margin: 14px auto 12px;
  width: 92%;
  background: linear-gradient(90deg, transparent, rgba(182, 141, 61, 0.55), transparent);
}
#emaPostedScreen .foot {
  font-size: 12px;
  color: #ad9275;
}

/* mini絵馬（板の内側だけテキストエリア） */
.mini-ema {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}
.mini-ema-img {
  display: block;
  width: 210px;
  height: auto;
  border-radius: 6px;
}
.mini-ema-write {
  position: absolute;
  inset: 54% 16% 11% 16%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  pointer-events: none;
  gap: 6px;
  overflow: hidden;
}
.mini-ema-name {
  font-family: "Yuji Syuku", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 16px;
  line-height: 1.25;
  color: #7a3a00;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  mix-blend-mode: multiply;
  filter: contrast(1.03) saturate(1.02);
}
.mini-ema-text {
  font-family: "Yuji Syuku", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 18px;
  line-height: 1.45;
  color: #7a3a00;
  letter-spacing: 0.02em;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  padding: 0 2px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: rotate(-0.3deg);
  mix-blend-mode: multiply;
  filter: contrast(1.03) saturate(1.02);
}

@media (max-width: 480px) {
  .mini-ema-img {
    width: 190px;
  }
  .mini-ema-write {
    inset: 56% 14% 10% 14%;
  }
}

/* 左下トースト（いいねのメッセージ） */
.ema-toast {
  position: fixed;
  left: 50%;
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(8px);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(58, 42, 21, 0.94);
  color: #fffef8;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
  z-index: 11000;
}
.ema-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* 旧cornerToastは完全廃止 */
#cornerToast,
.corner-toast,
[data-corner-toast] {
  display: none !important;
}
/* =========================
   postmenu（投稿メニュー）完全復元 v2025-11-14r6
   画像: img/bg/scroll_usagi_kitsune7.png
   ========================= */
   .pm-wrap{
    --pm-max:1100px;
    --pm-gap:12px;
    --pm-gold:#caa24a;
    --pm-gold-mid:#e6c96d;
    --pm-gold-hi:#fff4c8;
    --pm-gold-deep:#a57f2b;
    --pm-ink:#3a2816;         /* 濃い茶色（視認性） */
    --pm-paper:#fbf4e6;
    --pm-border:#e2d2a8;
    --pm-shadow:0 10px 28px rgba(0,0,0,.12);
    /* 筆タッチ調整用：密度と角度（好みに応じて微調整OK） */
    --stroke-density: 6px;    /* 小さいほど筋が増える */
    --stroke-alpha: .14;      /* スジの濃さ */
    --stroke-angle-a: 14deg;
    --stroke-angle-b: -11deg;
    color:var(--pm-ink);
    font-feature-settings:"palt" 1;
  }
  
  /* ─ 見出し（白札＋金縁＋筆下線） ─ */
  .pm-head{max-width:var(--pm-max);margin:10px auto 14px;padding:0 12px;text-align:center;}
  .pm-title{
    display:inline-block;position:relative;margin:0;padding:10px 22px 22px;border-radius:18px;
    background:linear-gradient(180deg,#fff 0%,#f7f2e9 100%);
    color:var(--pm-ink);
    font-family:"Hiragino Mincho ProN","Yu Mincho","YuMincho",serif;
    font-weight:900;font-size:clamp(18px,3.4vw,26px);letter-spacing:.08em;line-height:1.35;
    border:2px solid var(--pm-gold);
    box-shadow:0 2px 0 rgba(255,255,255,.9) inset,0 12px 18px rgba(0,0,0,.12);
  }
  
  /* h1 金“筆”下線：グラデ＋ストリーク＋毛先テーパー */
  .pm-title::before{
    content:"";position:absolute;left:50%;bottom:7px;transform:translateX(-50%);
    width:88%;height:10px;
    background:
      /* 斜めストリーク（筆ムラ）２枚重ね */
      repeating-linear-gradient(var(--stroke-angle-a),
        rgba(0,0,0,0) 0 calc(var(--stroke-density)*.7),
        rgba(0,0,0,var(--stroke-alpha)) calc(var(--stroke-density)*.7) var(--stroke-density)
      ),
      repeating-linear-gradient(var(--stroke-angle-b),
        rgba(0,0,0,0) 0 calc(var(--stroke-density)*.55),
        rgba(0,0,0,calc(var(--stroke-alpha)*.9)) calc(var(--stroke-density)*.55) calc(var(--stroke-density)*.95)
      ),
      /* 中央ハイライト */
      radial-gradient(closest-side at 50% 50%, rgba(255,250,230,.95) 0%, rgba(255,250,230,0) 70%),
      /* 金グラデ本体 */
      linear-gradient(90deg,#b8933e 0%,#c8a149 12%,#dab95b 24%,#efd98a 38%,#fff5dc 50%,#efd98a 62%,#dab95b 76%,#c8a149 88%,#b8933e 100%);
    /* 毛先をギザっとした形に（筆のバサッ感） */
    clip-path:polygon(
      0 50%, 2% 58%, 4% 66%, 6% 74%, 9% 79%, 12% 83%, 16% 86%, 22% 88%,
      50% 92%,
      78% 88%, 84% 85%, 88% 82%, 91% 78%, 94% 72%, 96% 64%, 98% 56%, 100% 50%,
      98% 44%, 96% 36%, 94% 28%, 91% 22%, 88% 18%, 84% 15%, 78% 12%,
      50% 8%,
      22% 12%, 16% 14%, 12% 17%, 9% 21%, 6% 27%, 4% 34%, 2% 42%
    );
    box-shadow:0 1px 0 rgba(255,255,255,.85) inset,0 2px 6px rgba(160,120,40,.35);
  }
  
  .pm-title::after{
    content:"";position:absolute;inset:auto 10px -12px 10px;height:14px;border-radius:12px;
    background:linear-gradient(180deg,#e8cb7a 0%,var(--pm-gold-deep) 100%);z-index:-1;
  }
  
  .pm-lead{font-weight:800;color:#5a4630;margin-top:8px;font-size:clamp(13px,2.8vw,16px);}
  
  /* ─ 巻物本体 ─ */
  .pm-scroll{position:relative;display:block;margin:0 auto;max-width:var(--pm-max);}
  .pm-scroll-img{width:100%;height:auto;display:block;filter:drop-shadow(0 10px 30px rgba(0,0,0,.15));}
  
  /* 紙面の安全域（動物に被らない） */
  .pm-scroll-inner{
    position:absolute;
    top:clamp(10px,3.8vw,44px);
    bottom:clamp(260px,38vw,340px);
    left:clamp(12px,4.8vw,68px);
    right:clamp(12px,4.8vw,68px);
    display:grid;place-items:center;
  }
  
  /* 常に2列×3段 */
  .pm-grid{
    width:min(86%,780px);
    display:grid;grid-template-columns:repeat(2,1fr);
    gap:var(--pm-gap);list-style:none;margin:0 auto;padding:0;
  }
  .pm-grid>li{margin:0;padding:0;}
  
  /* ─ カード ─ */
  .pm-card{
    position:relative;display:grid;place-content:center;gap:6px;
    min-height:96px;padding:12px 10px;text-align:center;border-radius:16px;
    background:linear-gradient(180deg,#fffdf7 0%,var(--pm-paper) 100%);
    border:1px solid var(--pm-border);
    box-shadow:var(--pm-shadow),inset 0 0 0 1px rgba(255,255,255,.6);
    color:var(--pm-ink);text-decoration:none;outline:0;overflow:hidden;
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
  }
  .pm-card::after{
    content:"";position:absolute;inset:0;border-radius:16px;pointer-events:none;
    background:linear-gradient(180deg,rgba(255,255,255,.52),rgba(255,255,255,0) 40%),
               linear-gradient(180deg,rgba(181,147,74,.4),rgba(181,147,74,.06));
    mix-blend:multiply;
  }
  .pm-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(0,0,0,.18),inset 0 0 0 1px rgba(255,255,255,.65);}
  .pm-card:focus-visible{box-shadow:0 0 0 3px rgba(201,162,74,.35),var(--pm-shadow);}
  
  /* アイコンと文字（高齢者向けに読みやすく） */
  .pm-ico{font-size:26px;line-height:1;}
  .pm-headline{
    font-family:"Hiragino Mincho ProN","Yu Mincho","YuMincho",serif;
    font-weight:900;font-size:19px;line-height:1.2;letter-spacing:.07em;color:var(--pm-ink);
  }
  .pm-sub{font-size:13px;color:#4b3a26;letter-spacing:.05em;margin-top:1px;font-weight:800;}
  
  /* カード見出しの金“筆”下線（h1と同じ質感） */
  .brushline{position:relative;display:inline-block;padding-bottom:6px;}
  .brushline::after{
    content:"";position:absolute;left:50%;bottom:0;transform:translateX(-50%);
    width:92%;height:8px;
    background:
      repeating-linear-gradient(var(--stroke-angle-a),
        rgba(0,0,0,0) 0 calc(var(--stroke-density)*.7),
        rgba(0,0,0,var(--stroke-alpha)) calc(var(--stroke-density)*.7) var(--stroke-density)
      ),
      repeating-linear-gradient(var(--stroke-angle-b),
        rgba(0,0,0,0) 0 calc(var(--stroke-density)*.55),
        rgba(0,0,0,calc(var(--stroke-alpha)*.9)) calc(var(--stroke-density)*.55) calc(var(--stroke-density)*.95)
      ),
      radial-gradient(closest-side at 50% 50%, rgba(255,250,230,.95) 0%, rgba(255,250,230,0) 70%),
      linear-gradient(90deg,#b8933e 0%,#c8a149 12%,#dab95b 24%,#efd98a 38%,#fff5dc 50%,#efd98a 62%,#dab95b 76%,#c8a149 88%,#b8933e 100%);
    clip-path:polygon(
      0 50%, 2% 58%, 4% 66%, 6% 74%, 9% 79%, 12% 83%, 16% 86%, 22% 88%,
      50% 92%,
      78% 88%, 84% 85%, 88% 82%, 91% 78%, 94% 72%, 96% 64%, 98% 56%, 100% 50%,
      98% 44%, 96% 36%, 94% 28%, 91% 22%, 88% 18%, 84% 15%, 78% 12%,
      50% 8%,
      22% 12%, 16% 14%, 12% 17%, 9% 21%, 6% 27%, 4% 34%, 2% 42%
    );
    filter:drop-shadow(0 1px 0 rgba(255,255,255,.75)) drop-shadow(0 2px 6px rgba(172,134,62,.55));
  }
  
  /* タップ演出（既存JSと連動） */
  .pm-card.is-press{box-shadow:0 0 0 2px rgba(202,168,90,.35),0 12px 26px rgba(0,0,0,.16);}
  .pm-card.is-press::before{
    content:"";position:absolute;top:var(--y);left:var(--x);translate:-50% -50%;
    width:10px;height:10px;border-radius:999px;
    background:radial-gradient(circle,rgba(255,240,180,.95) 0%,rgba(255,215,120,.55) 60%,transparent 62%);
    box-shadow:0 0 20px rgba(255,210,120,.8),0 0 40px rgba(202,168,90,.6);
    animation:pm-ripple .9s ease-out forwards;
  }
  @keyframes pm-ripple{0%{opacity:.9;transform:scale(.2);}70%{opacity:.55;transform:scale(15);}100%{opacity:0;transform:scale(18);}}
  
  /* 巻物の外：絵馬掲示板 */
  .pm-bbs{max-width:var(--pm-max);margin:12px auto 36px;padding:0 16px;}
  .pm-card--bbs{min-height:76px;grid-auto-flow:column;grid-auto-columns:max-content;gap:10px;padding:16px;width:min(440px,100%);margin:0 auto;}
  .pm-card--bbs .pm-ico{font-size:22px;}
  
  /* 改行維持（ペット） */
  .pm-card br{content:"";display:block;height:0;}
  
  /* 狭幅保険（≤360px） */
  @media (max-width:360px){
    .pm-scroll-inner{top:14px;bottom:260px;left:10px;right:10px;}
    .pm-headline{font-size:18px;}
    .pm-sub{font-size:12.5px;}
    .pm-card{min-height:92px;padding:10px 9px;}
  }
  
  /* 動き弱め */
  @media (prefers-reduced-motion:reduce){
    .pm-card,.pm-card:hover{transition:none;}
    .pm-card.is-press::before{animation:none;}
  }
  