/*
 * footer.css
 * フッター（上段：会社情報・ナビ / 下段：コピーライト）
 * 読み込み順：common.css → header.css → footer.css → ページ別CSS
 */
/* フッター上段：淡いベージュ・会社情報＋ナビ */
.footer-main {
  background: #e3e3d3;
  padding-block: 80px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  column-gap: 48px;
  align-items: center;
}
/* 左カラム：ロゴ・法人名・住所・連絡先（中身の幅に合わせて余白をなくす） */
.footer-col-company {
  min-width: 0;
  width: -webkit-max-content;
  width: max-content;
  max-width: 100%;
  -webkit-justify-self: start;
  -ms-flex-item-align: start;
  justify-self: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  text-align: center;
}
.footer-brand a {
  transition: opacity .25s ease;
}
.footer-brand a:hover {
  opacity: 0.6;
}
.footer-brand-mark {
  width: 200px;
  margin-bottom: 12px;
  display: block;
  object-fit: contain;
}
.footer-brand-label {
  font-size: 11px;
  color: #333;
  margin: 0 0 4px;
}
.footer-brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #333;
  margin: 0;
}
/* フッター左カラム（住所など）は中央揃え */
.footer-col-company {
  text-align: center;
}
.footer-address {
  font-size: 13px;
  line-height: 1.9;
  color: #333;
  margin: 0;
  font-style: normal;
  display: inline-block;
  text-align: center;
}
/* TEL・FAXは縦並びで文頭揃え */
.footer-address-line {
  display: block;
}
.footer-address .footer-address-line + .footer-address-line {
  margin-top: 2px;
}
.footer-address > a {
  display: inline-block;
  margin-top: 4px;
}
.footer-address a {
  color: #333;
  text-decoration: none;
}
.footer-address a:hover {
  text-decoration: underline;
}
/* 右側：ナビゲーション列 */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  min-width: 0;
}
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-nav-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-nav-heading {
  font-size: 15px;
  font-weight: normal;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.25);
  width: 100%;
}
/* 小項目扱い（脩學講座についてなど・ドット線なし・リストと同じスタイル） */
.footer-nav-heading--sub {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
  font-size: 12px;
  line-height: 2;
}
.footer-nav-heading a {
  color: #333;
  text-decoration: none;
  transition: opacity .25s ease;
}
.footer-nav-heading a:hover {
  opacity: 0.6;
}
/* .footer-nav-heading a:hover {
  text-decoration: underline;
} */
/* 一番右の列：育英会概要〜プライバシーポリシー間の間隔を70pxに */
.footer-nav-col:last-child {
  gap: 35px;
}
.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 2;
}
.footer-nav-list a {
  color: #333;
  text-decoration: none;
  transition: opacity .25s ease;
  padding-bottom: 5px;
  background-image: linear-gradient(#333, #333);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 0 1px;
  transition: background-size 0.3s;
}
.footer-nav-list a:hover {
  background-position: bottom left;
  background-size: 100% 1px;
}
/* .footer-nav-list a:hover {
  text-decoration: underline;
} */
/* フッター下段：コピーライトバー */
.footer-copy-bar {
  background: #333;
  padding-block: 14px 16px;
}
.footer-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-align: center;
  letter-spacing: 0.02em;
}
/* SP：フッター */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  .footer-col-company {
    margin: 0 auto;
  }
  .footer-nav {
    display: none;
  }
  .footer-main {
    padding-block: 40px;
  }
}