/* =========================================================================
   ティース掲載バナー（あい歯科 / www.ai-dental.jp）
   ・全ページ共通フッター専用
   ・既存CSSに影響しないよう teech-banner- 接頭辞で完結
   ========================================================================= */

.teech-banner,
.teech-banner * {
  box-sizing: border-box;
}

/* ---- フッター用：全ページ共通 -------------------------------------- */
.teech-banner {
  --tb-accent: #2f6fb5;
  --tb-line: #dfe6ee;
  --tb-bg: #ffffff;
  --tb-text: #3b4b5a;
  --tb-muted: #7d8b98;

  max-width: 1100px;
  margin: 30px auto 0;
  padding: 18px 20px 20px;
  text-align: center;
  background: var(--tb-bg);
  border: 1px solid var(--tb-line);
  border-radius: 8px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.6;
}

.teech-banner__ttl {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--tb-muted);
  font-weight: 500;
}

.teech-banner__link {
  display: inline-block;
  max-width: 100%;
  line-height: 0;
  border-radius: 5px;
  overflow: hidden;
  transition: opacity .2s ease, transform .2s ease;
}

.teech-banner__link:hover,
.teech-banner__link:focus-visible {
  opacity: .86;
  transform: translateY(-1px);
}

.teech-banner__link img {
  display: block;
  width: 240px;
  height: auto;
  max-width: 100%;
  aspect-ratio: 12 / 5;   /* 受領バナー 240×100 の比率を保持 */
  object-fit: contain;
  border: 0;
}

.teech-banner__note {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--tb-muted);
}

/* ---- スマートフォン --------------------------------------------------- */
@media screen and (max-width: 768px) {
  .teech-banner {
    margin: 24px 16px 0;
    padding: 16px;
  }
  .teech-banner__link img {
    width: 100%;
    max-width: 240px;
    height: auto;
  }
}

/* ---- 印刷 ------------------------------------------------------------- */
@media print {
  .teech-banner { border: 1px solid #ccc; }
  .teech-banner__note { display: none; }
