.fmp-footer {
  --fmp-ink: #2E261E;
  --fmp-yellow: #F0D670;
  --fmp-cream: #FBF6E4;
  --fmp-line: #6B5D3A;
  --fmp-card: #3D3328;
  --step: 16px;      /* 目盛りの間隔 */
  --needle: 55;      /* 針の位置（目盛り何本目か。5の倍数にする） */
  background: var(--fmp-ink);
  color: var(--fmp-yellow);
  font-family: "DM Sans", "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
}
.fmp-footer, .fmp-footer *, .fmp-footer *::before, .fmp-footer *::after { box-sizing: border-box; }
.fmp-footer :where(p) { margin: 0; padding: 0; }
.fmp-footer :where(a) { color: inherit; text-decoration: none; }
.fmp-footer a:hover { text-decoration: underline; }
.fmp-footer svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.fmp-footer a svg { width: 16px; height: 16px; stroke-width: 2; flex-shrink: 0; }

.fmp-footer__inner { max-width: 1280px; margin: 0 auto; padding: 64px 80px 32px; }

/* ダイヤル目盛り */
.fmp-footer__dial {
  position: relative;
  height: 40px;
  background:
    repeating-linear-gradient(to right, var(--fmp-yellow) 0 2px, transparent 2px calc(var(--step) * 5)) 0 2px / 100% 22px no-repeat,
    repeating-linear-gradient(to right, var(--fmp-yellow) 0 2px, transparent 2px var(--step)) 0 2px / 100% 12px no-repeat;
}
.fmp-footer__dial::before,
.fmp-footer__dial::after { content: ""; position: absolute; background: var(--fmp-yellow); }
.fmp-footer__dial::before { left: calc(var(--step) * var(--needle) - 1px); top: 2px; width: 4px; height: 32px; border-radius: 2px; }
.fmp-footer__dial::after  { left: calc(var(--step) * var(--needle) - 4px); top: 29px; width: 10px; height: 10px; border-radius: 50%; }

/* 本体 */
.fmp-footer__main { margin-top: 56px; display: flex; align-items: flex-start; gap: 48px; }
.fmp-footer__brand { margin-right: auto; }
.fmp-footer__signoff { font-size: 15px; line-height: 1; letter-spacing: 0.3em; }
.fmp-footer__logo { display: block; width: 320px; height: auto; margin-top: 8px; }
.fmp-footer__copy { margin-top: 40px; font-size: 18px; font-weight: 400; line-height: 1.8; letter-spacing: 0.08em; color: var(--fmp-cream); white-space: nowrap; }

.fmp-footer__live { display: none; }

.fmp-footer__nav { display: flex; flex-direction: column; }
.fmp-footer__nav a { display: flex; align-items: center; gap: 16px; height: 44px; font-size: 15px; letter-spacing: 0.2em; white-space: nowrap; }
.fmp-footer__nav span { width: 22px; font-size: 12px; color: var(--fmp-cream); }

.fmp-footer__cta {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  height: 60px; padding: 0 30px; border-radius: 30px;
  background: var(--fmp-yellow);
  font-size: 16px; letter-spacing: 0.1em; white-space: nowrap;
}
.fmp-footer .fmp-footer__cta { color: var(--fmp-ink); }
.fmp-footer__cta svg { width: 18px; height: 18px; }

.fmp-footer__bottom { margin-top: 72px; padding-top: 16px; border-top: 1px solid var(--fmp-line); display: flex; justify-content: space-between; align-items: center; }
.fmp-footer__copyright { font-size: 13px; font-weight: 400; letter-spacing: 0.12em; color: var(--fmp-cream); }
.fmp-footer__top { display: flex; align-items: center; gap: 10px; height: 44px; font-size: 13px; letter-spacing: 0.26em; }

/* タブレット：余白を詰め、入りきらないボタンは次の行へ */
@media (max-width: 1279px) {
  .fmp-footer { --needle: 30; }
  .fmp-footer__inner { padding: 64px 40px 32px; }
  .fmp-footer__main { flex-wrap: wrap; row-gap: 32px; }
}

/* スマホ */
@media (max-width: 767px) {
  .fmp-footer { --step: 9px; --needle: 25; }
  .fmp-footer__inner { padding: 48px 24px 24px; }
  .fmp-footer__dial { height: 32px; background-size: 100% 16px, 100% 10px; }
  .fmp-footer__dial::before { width: 3px; height: 24px; }
  .fmp-footer__dial::after { top: 22px; width: 8px; height: 8px; left: calc(var(--step) * var(--needle) - 3px); }

  .fmp-footer__main { margin-top: 40px; flex-direction: column; align-items: stretch; gap: 0; }
  .fmp-footer__brand { margin-right: 0; }
  .fmp-footer__signoff { font-size: 13px; }
  .fmp-footer__logo { width: 280px; max-width: 100%; margin-top: 6px; }
  .fmp-footer__copy { margin-top: 28px; font-size: min(17px, 4.5vw); }

  .fmp-footer__live { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
  .fmp-footer__label { font-size: 12px; line-height: 1; letter-spacing: 0.3em; margin-bottom: 4px; }
  .fmp-footer__reserve { display: flex; align-items: center; gap: 8px; height: 44px; font-size: 13px; letter-spacing: 0.1em; }

  .fmp-footer__nav { margin-top: 36px; border-bottom: 1px solid var(--fmp-line); }
  .fmp-footer__nav a { height: 48px; font-size: 14px; border-top: 1px solid var(--fmp-line); }

  .fmp-footer__cta { margin-top: 36px; height: 56px; border-radius: 28px; }

  .fmp-footer__bottom { margin-top: 20px; padding-top: 0; border-top: 0; }
  .fmp-footer__copyright { font-size: 12px; }
  .fmp-footer__top { gap: 8px; font-size: 12px; letter-spacing: 0.24em; }
}

/* 幅の狭いスマホ（〜359px） */
@media (max-width: 359px) {
  .fmp-footer__reserve { font-size: 12px; gap: 6px; }
  .fmp-footer__cta { padding: 0 16px; font-size: 15px; }
  .fmp-footer__copyright { letter-spacing: 0.04em; white-space: nowrap; }
  .fmp-footer__top { letter-spacing: 0.14em; white-space: nowrap; }
}

/* Integration only: keep theme chrome separate from the approved footer. */
#footer.l-footer { display: none; }
.fmp-footer__live[hidden] { display: none !important; }
body .fmp-footer .fmp-footer__copyright[data-fmp-small-text],
body .fmp-footer .fmp-footer__area[data-fmp-small-text] { font-weight: 400 !important; }

/* フッターのライブ情報（スマホ）：帯つきカード
   footer.css の @media (max-width: 767px) 内にある
   .fmp-footer__card / __card-row / __card-row--foot / __date / __time / __venue / __area
   の指定を、このブロックで置き換える。 */
@media (max-width: 767px) {
  .fmp-footer .fmp-footer__card {
    padding: 0;
    border-radius: 14px;
    background: var(--fmp-card);
    overflow: hidden;
  }
  .fmp-footer .fmp-footer__card-head {
    display: flex;
    align-items: center;
    min-height: 34px;
    margin: 0;
    padding: 6px 20px;
    background: var(--fmp-yellow);
    color: var(--fmp-ink);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.16em;
  }
  .fmp-footer .fmp-footer__card-body { padding: 16px 20px 4px; }
  .fmp-footer .fmp-footer__date {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: 0.06em;
    color: var(--fmp-yellow);
  }
  .fmp-footer .fmp-footer__venue {
    margin: 6px 0 0;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.06em;
    color: var(--fmp-cream);
  }
  .fmp-footer .fmp-footer__card-row--foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 44px;
  }
  .fmp-footer .fmp-footer__time {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 14px;
    letter-spacing: 0.08em;
    color: var(--fmp-cream);
    white-space: nowrap;
  }
  .fmp-footer .fmp-footer__time-label { font-size: 11px; letter-spacing: 0.2em; }
  .fmp-footer .fmp-footer__reserve { margin-left: auto; white-space: nowrap; }
  .fmp-footer .fmp-footer__full {
    margin-left: auto;
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--fmp-cream);
    white-space: nowrap;
  }
}

/* 幅の狭いスマホ（〜359px）。既存の .fmp-footer__card { padding: 16px 16px 6px } は削除する */
@media (max-width: 359px) {
  .fmp-footer .fmp-footer__card { padding: 0; }
  .fmp-footer .fmp-footer__card-head { padding: 6px 16px; }
  .fmp-footer .fmp-footer__card-body { padding: 14px 16px 4px; }
  .fmp-footer .fmp-footer__date { font-size: 18px; }
  .fmp-footer .fmp-footer__time { letter-spacing: 0.06em; }
}

/* フッター：新しいロゴ（塗りの図形）と、THANKS FOR TUNING IN. の大きさ・隙間 */
.fmp-footer .fmp-footer__logo { fill: currentColor; stroke: none; }
/* 英字はロゴの「ピ」の手前までに収める */
.fmp-footer .fmp-footer__signoff { font-size: 10.25px; white-space: nowrap; }
/* 英字の下端からロゴの文字（エ）の上端までを 13px にする */
.fmp-footer .fmp-footer__logo { margin-top: -17.9px; }

@media (max-width: 767px) {
  /* ロゴは横幅いっぱい（最大360px）。英字はロゴの幅に合わせて最大11px */
  .fmp-footer .fmp-footer__signoff { font-size: min(11px, calc(3.427vw - 2.22px)); }
  .fmp-footer .fmp-footer__logo { width: min(100%, 360px); max-width: none; margin-top: calc(10.46px - min(9.212%, 33.16px)); }
}
