/* 共通フッター: /style.css から該当ブロックを写し（更新時は style.css が正）*/
.footer-lead {
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ---------- Footer redesign ---------- */
body > footer {
  background: #111;
  padding: clamp(48px, 6vw, 80px) 0 0;
}

.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  color: #fff;
}

.footer img {
  width: 200px;
  margin: 0 auto 16px;
  display: block;
  opacity: 0.9;
}

.footer_flex {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer_flex h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}

.footer_flex h3 {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin: 24px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer_flex h3:first-child,
.footer_flex div:first-child h3 {
  margin-top: 0;
}

.footer_flex div:nth-child(2) > h3:first-child {
  margin-top: 0;
}

.footer .tel {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: #fff;
}

.footer .fax {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin: 0 0 12px;
}

.footer .address {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin: 12px 0;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer ul li {
  position: relative;
  padding: 0;
  margin: 0;
  line-height: 1;
}

.footer ul li::before {
  display: none;
}

.footer ul li a {
  display: block;
  padding: 6px 0;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer ul li a:hover {
  color: #fff;
  opacity: 1;
}

.footer-service-lead {
  font-size: 0.72rem;
  font-weight: 700;
  color: #b11920;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 20px 0 6px;
  padding-bottom: 4px;
}

.footer-service-lead:first-child,
.footer_flex div:nth-child(2) .footer-service-lead:first-child {
  margin-top: 0;
}

.f_c_btn {
  display: block;
  background: #b11920;
  text-align: center;
  text-decoration: none;
  color: #fff;
  padding: 16px 32px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 20px;
  transition: background 0.2s, transform 0.2s;
  max-width: 240px;
}

.f_c_btn:hover {
  background: #8e1419;
  color: #fff;
  transform: translateY(-2px);
}

.footer_sns {
  display: flex;
  gap: 12px;
  margin: 20px 0 0;
  align-items: center;
}

.footer_sns a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.footer_sns a[aria-label*="X"] {
  background: #000;
}

.footer_sns a[aria-label*="X"]:hover {
  background: #333;
}

.footer_sns a[aria-label*="Instagram"] {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.footer_sns a[aria-label*="Instagram"]:hover {
  opacity: 0.85;
}

.footer_sns a[aria-label*="note"] {
  background: #fff;
  color: #040000;
}

.footer_sns a[aria-label*="note"]:hover {
  background: #e0e0e0;
}

/* 住所の斜体を消す（style.css の address 指定の写し） */
body > footer address { font-style: normal; }

/* 写し漏れの追加（2026-10-14）: SNSの外部リンクアイコンを隠す・フッター一覧のアイコンを小さく */
.footer_sns a:hover {
  transform: translateY(-2px);
}

.footer_sns svg {
  width: 1.1em;
  height: 1.1em;
  display: block;
}

.footer_sns i {
  font-size: 1.1em;
}

.footer_sns .fa-external-link-alt {
  display: none !important;
}

.footer ul li a .fa-external-link-alt {
  font-size: 0.7em;
  opacity: 0.5;
  white-space: nowrap;
}

.footer2 {
  background: #111;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer2 p {
  margin: 0;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  text-align: center;
  padding: 20px 10px;
}


/* ---- 幅ごとの規則（style.css の @media から footer 関連だけ写し） ---- */
@media (max-width: 960px) {
  .footer_flex {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .footer_flex {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer img {
    width: 160px;
  }
  .footer_sns a {
    width: 36px;
    height: 36px;
  }
}
