/* css/layout/footer.css */

#footer {
  --footer-line: rgba(255, 255, 255, .25);
  background-color: rgba(20, 130, 159, 0.9);
  color: #fff;
}

#footer .footer-inner {
  width: min(95%, 1100px);
  margin: 0 auto;
  padding: 48px 0 40px;
}

#footer .footer-title {
  text-align: center;
}
#footer .footer-title::after {
  margin-left: auto;
  margin-right: auto;
}

#footer .footer-grid {
  display: grid;
  padding-top: 32px;
  grid-template-columns: repeat(2, minmax(280px, 420px));
  justify-content: center;
  align-items: start;
  gap: 40px;
}
#footer .footer-grid > * {
  place-self: center;
  width: min(92vw, 420px);
}

/* 地図カード */
#footer .map-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
}
#footer .map-iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

/* 情報リスト */
#footer .info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}
#footer .info-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: baseline;
}
#footer dt {
  font-weight: 700;
  color: #eaf2ee;
}
#footer dd { margin: 0; }
#footer a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, .45);
}
#footer a:hover {
  border-bottom-color: #fff;
}

#footer .footer-bottom {
  border-top: 1px solid var(--footer-line);
  text-align: center;
  padding: 16px 0 24px;
  color: rgba(255, 255, 255, .9);
  font-size: 12px;
}

/* ---------- 768px以下：スマホ化 ---------- */
@media (max-width: 768px) {
  #footer .footer-inner { padding: 20px 0 22px; }
  #footer .footer-title { margin: 0 0 10px; font-size: clamp(20px, 6vw, 28px); }
  
  #footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 24px;
  }
  #footer .footer-grid > * { width: 100%; }
  
  #footer .map-iframe { height: 180px; }
  #footer .map-card { box-shadow: 0 10px 24px rgba(0, 0, 0, .18); margin-bottom: 0; }
  
  #footer .info-list { gap: 8px; }
  #footer .info-row { grid-template-columns: 68px 1fr; gap: 8px; }
  #footer dt { margin: 0; line-height: 1.4; }
  #footer dd { margin: 0; line-height: 1.6; }
  
  #footer .info-row dd,
  #footer .info-row dd a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}