/* フッター（2026-11-27 改修。footer.php から読み込む） */

/* ===== フッター ===== */
#footer.tf { display: block; width: 100%; box-sizing: border-box; padding: 80px 24px 32px; background: #f15a24; color: #fff; text-align: left; }
.tf *, .tf *::before, .tf *::after { box-sizing: border-box; }
.tf-in { display: flex; justify-content: space-between; gap: 64px; max-width: 1180px; margin: 0 auto; }
.tf-company { flex: 0 0 340px; display: flex; flex-direction: column; }
.tf-logo { display: block; width: 109%; margin-left: -10.4%; }  /* 画像の左右の透明余白（各40px）の分を戻す */
.tf-logo img { display: block; width: 100%; height: auto; }
.tf-address { margin-top: 28px; font-size: 13px; font-style: normal; line-height: 1.5; }
.tf-right { flex: 0 1 700px; min-width: 0; }
.tf ul { margin: 0; padding: 0; list-style: none; }
.tf a { color: #fff; text-decoration: none; }
.tf li a:hover { text-decoration: underline; }
/* 左下：グローバルナビ（PCは縦並び） */
.tf-gnav { margin-top: auto; padding-top: 40px; }
.tf-gnav ul { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.tf-gnav li { font-size: 16px; font-weight: 400; white-space: nowrap; }
.tf-gnav li a::before { content: "▶︎"; display: inline-block; margin-right: .6em; font-size: .7em; }
/* 下：店舗一覧 */
.tf-shops { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 24px 32px; }
.tf-head { grid-column: 1 / -1; margin: 0; font-size: 16px; font-weight: 700; }
.tf-area--kumamoto { grid-column: 1; grid-row: 2 / 4; }
.tf-area--fukuoka { grid-column: 2; grid-row: 2; }
.tf-area--kagoshima { grid-column: 2; grid-row: 3; padding-top: 12px; }
.tf-pref { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.55); font-size: 12px; font-weight: 700; }
.tf-area li { margin: 0 0 9px; font-size: 12px; line-height: 1.4; }
.tf .tf-area li a, .tf .tf-gnav li a span { display: inline-block; transition: transform .15s; }
.tf .tf-area li a:hover { text-decoration: none; transform: translateX(8px); }
.tf .tf-gnav li a:hover { text-decoration: none; }
.tf .tf-gnav li a:hover span { transform: translateX(8px); }
.tf .tf-gnav li a span { font-size: inherit; line-height: inherit; }  /* テーマのスマホ用 span 指定を打ち消す */
.tf-copy { max-width: 1180px; margin: 56px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.35); font-size: 11px; text-align: center; }
@media screen and (max-width: 1024px) {
  .tf-in { display: block; }
  .tf-company { margin-bottom: 48px; text-align: center; }
  .tf-address { text-align: center; }
  .tf-gnav { padding-top: 32px; }
  .tf-gnav ul { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .tf-logo { width: 100%; max-width: 320px; margin: 0 auto; }
}
@media screen and (max-width: 768px) {
  #footer.tf { padding: 56px 20px 28px; }
  .tf-gnav ul { gap: 12px 24px; }
  .tf-gnav li { font-size: 12px; }
  .tf-copy { margin-top: 40px; }
}
@media screen and (max-width: 768px) {
  .tf-shops { column-gap: 20px; }
}
@media screen and (min-width: 1025px) { .tf-gnav { margin-bottom: 8px; } }  /* ナビと院名の一番下の文字の高さをそろえる */
/* タブレット・スマホ：ナビが横一列に入らない幅では 2列×2段にする */
@media screen and (max-width: 1024px) { .tf-gnav { container-type: inline-size; } }
@container (max-width: 339px) {
  .tf .tf-gnav ul { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; gap: 14px 32px; }
}
