/* ===== FOOTER ===== */
  footer {
    background: var(--pink-pale);
    color: var(--navy);
    text-align: center;
    padding: 32px 0 26px;
    font-size: 14px;
    border-top: 1px solid rgba(75,127,82,0.20);
  }

  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 26px;
    box-sizing: border-box;
  }

  .footer-logo {
    font-family: 'Noto Serif JP', serif;
    font-size: 18px; color: var(--navy);
    margin-bottom: 16px; font-weight: 600;
  }

  .footer-links {
    display: flex; flex-wrap: wrap;
    justify-content: center; gap: 6px 20px;
    margin-bottom: 18px;
  }
  .footer-links a {
    color: var(--navy);
    text-decoration: none; font-size: 12px;
    font-weight: 500; letter-spacing: 0.02em;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--pink-deep); }

  .footer-copy {
    font-size: 11px; color: rgba(75,127,82,0.55);
    letter-spacing: 0.04em; margin: 0;
  }

  /* ===== FLOATING BUTTON ===== */
  .floating-btn {
    position: fixed;
    bottom: 20px; /* JS で動的更新 */
    right: 16px;
    background: rgba(30,34,64,0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 900;
    transition: transform 0.2s, opacity 0.2s, bottom 0.35s cubic-bezier(0.4,0,0.2,1);
  }

  .floating-btn:hover { transform: translateY(-3px); opacity: 1; color: #fff; }

  /* ===== FIXED FOOTER NAV ===== */
  .fixed-footer {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--pink-pale);
    border-top: 1px solid rgba(75,127,82,0.20);
    z-index: 1101;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  }

  .fixed-footer.visible { transform: translateY(0); }

  .fixed-footer-ul {
    list-style: none;
    display: flex;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  /* li均等分割 */
  .fixed-footer-ul li {
    flex: 1;
    display: flex;
    min-width: 0;
  }

  /* 応募ボタンのliだけ広め */
  .fixed-footer-ul li:last-child {
    flex: 1.5;
  }

  /* 区切り線 */
  .fixed-footer-ul li + li {
    border-left: 1px solid rgba(75,127,82,0.15);
  }

  .fixed-footer-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    text-decoration: none;
    color: var(--navy);
    font-size: clamp(10px, 2.2vw, 12px);
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    background: none; border: none;
    padding: 0.7em 0.5em;
    transition: background 0.2s, color 0.2s;
    position: relative;
    overflow: hidden;
  }

  .fixed-footer-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(150,232,188,0.0);
    transition: background 0.2s;
  }

  .fixed-footer-item:hover::before,
  .fixed-footer-item:active::before {
    background: rgba(75,127,82,0.08);
  }

  .fixed-footer-item:hover  { color: var(--pink-deep); }
  .fixed-footer-item:active { color: var(--pink-deep); }

  /* 応募ボタンだけ強調 */
  .fixed-footer-item.highlight {
    background: linear-gradient(135deg, #7DD181, #4B7F52);
    color: rgba(255,255,255,0.9);
    font-size: clamp(11px, 2.4vw, 13px);
    border-left: 1px solid rgba(255,255,255,0.15);
  }

  .fixed-footer-item.highlight::before { display: none; }
  .fixed-footer-item.highlight:hover { filter: brightness(1.1); }

  .ff-icon {
    aspect-ratio: 1;
    width: clamp(28px, 7vw, 34px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1em;
    background: rgba(75,127,82,0.10);
    transition: background 0.2s, transform 0.2s;
    position: relative; z-index: 1;
    flex-shrink: 0;
  }

  .fixed-footer-item.highlight .ff-icon {
    background: rgba(255,255,255,0.2);
  }

  .fixed-footer-item:hover .ff-icon { background: rgba(75,127,82,0.18); transform: translateY(-2px); }
  .fixed-footer-item.highlight:hover .ff-icon { transform: translateY(-2px); }

  .ff-label { position: relative; z-index: 1; line-height: 1; white-space: nowrap; }

  /* セーフエリア対応（iPhone等） */
  @supports (padding-bottom: env(safe-area-inset-bottom)) {
    .fixed-footer {
      padding-bottom: env(safe-area-inset-bottom);
    }
  }

  /* PC では非表示 */
  @media (min-width: 769px) {
    .fixed-footer { display: none !important; }
    .floating-btn {
      right: 28px;
      bottom: 28px;
      width: 40px;
      height: 40px;
    }
  }
