/* ===== FOOTER ===== */
  footer {
    background: var(--navy);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 26px 0;
    font-size: 14px;
  }

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

  footer a { color: rgba(255,255,255,0.7); text-decoration: none; margin: 0 10px; }
  footer a:hover { color: white; }

  .footer-logo { font-family: 'Noto Serif JP', serif; font-size: 20px; color: white; margin-bottom: 12px; font-weight: 600; }

  .footer-mutual-links { margin-bottom: 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .footer-mutual-label { font-size: 11px; letter-spacing: 0.15em; color: rgba(255,255,255,0.35); text-transform: uppercase; }
  .footer-mutual-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

  .footer-mutual-current {
    font-size: 13px;
    font-weight: 700;
    color: var(--pink-main);
    border: 1px solid var(--pink-main);
    background: rgba(240,62,122,0.12);
    padding: 6px 18px;
    border-radius: 50px;
    letter-spacing: 0.04em;
    cursor: default;
  }

  .footer-mutual-btn {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.75) !important;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 18px;
    border-radius: 50px;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    letter-spacing: 0.04em;
    margin: 0 !important;
  }

  .footer-mutual-btn:hover { color: white !important; border-color: rgba(240,62,122,0.7); background: rgba(240,62,122,0.15); }

  .footer-links { margin-bottom: 20px; }

  /* ===== 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: 999;
    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(--navy);
    border-top: 1px solid rgba(255,255,255,0.12);
    z-index: 998;
    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(255,255,255,0.1);
  }

  .fixed-footer-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    text-decoration: none;
    color: rgba(255,255,255,0.65);
    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(240,62,122,0.0);
    transition: background 0.2s;
  }

  .fixed-footer-item:hover::before,
  .fixed-footer-item:active::before {
    background: rgba(240,62,122,0.12);
  }

  .fixed-footer-item:hover  { color: #fff; }
  .fixed-footer-item:active { color: #fff; }

  /* 応募ボタンだけ強調 */
  .fixed-footer-item.highlight {
    background: linear-gradient(135deg, #2a3060, #1E2240);
    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(255,255,255,0.08);
    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(255,255,255,0.14); 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;
    }
  }
