/* =============================================
   博多車工房ミヤケ — Footer CSS（全ページ共通）
   Breakpoints: 1220px, 767px
   ============================================= */
.site-footer { background-color: #7089A4; }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo { align-self: flex-start; }
.footer-logo img {
  width: 175px;
  transition: transform 0.3s;
}
.footer-logo img:hover { transform: scale(1.1); }

.footer-divider {
  width: 100%;
  border: none;
  border-top: 1px solid #050505;
  margin: 4px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin: 30px 0;
}

.footer-info-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 65%;
}

.footer-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 35px;
  font-weight: 600;
  color: #F2F2F2;
}

.logo-chara { color: #E10032; }

/* dl/dt/dd for footer table */
.footer-info-table {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 20px 0;
  width: 500px;
}
.footer-info-table dt,
.footer-info-table dd {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  color: #FFF;
  margin: 0;
}
.footer-info-table dt { font-weight: 600; }
.footer-info-table .logo-chara { color: #E10032 !important; font-weight: 700; }
.footer-info-table .footer-name-blue { color: #0E3668; font-weight: 700; }

.footer-info-right {
  width: 50%;
  display: flex;
  justify-content: flex-end;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 10px 0;
  width: 450px;
}
.footer-links a {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  color: #FFF;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: #D6D3D3; }

.footer-bottom {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.footer-bottom img {
  width: 50px;
  transition: opacity 0.3s;
}
.footer-bottom img:hover { opacity: 0.7; }

.footer-copy {
  width: 100%;
  margin: 18px 0 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  text-align: left;
}

@media (max-width: 1220px) {
  .footer-inner { width: 90%; }
  .footer-content { flex-direction: column; align-items: center; gap: 30px; }
  .footer-info-left { width: 100%; justify-content: center; }
  .footer-info-right { width: 100%; flex-direction: column; align-items: center; }
  .footer-links { width: 600px; max-width: 100%; gap: 0; }
}
@media (max-width: 767px) {
  .footer-logo { align-self: center; }
  .footer-info-left { flex-direction: column; gap: 15px; }
  .footer-info-table { grid-template-columns: 1fr 1.44fr; gap: 16px 0; width: 100%; }
  .footer-info-table dt,
  .footer-info-table dd { font-size: 16px; }
  .footer-info-right { justify-content: flex-start; }
  .footer-links {
    width: 300px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(9, 1fr);
    gap: 10px 0;
  }
  .footer-links a { font-size: 16px; }
  .footer-bottom {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    padding-bottom: 0;
  }
  .footer-copy {
    margin-top: 18px;
    padding-bottom: 80px;
    text-align: center;
  }
}
