/* ===== 共通フッター ===== */
footer,
#contact{
  background:#fff;
  padding:0 0 24px;
  margin:0;
}

.footer-line{
  width:100%;
  margin:0 0 10px;
  border-top:1px solid #ececec;
}

.footer-top{
  display:grid;
  grid-template-columns:auto auto auto;
  justify-content:center;
  align-items:start;
  gap:48px;
  text-align:left;
}

.footer-brand{
  display:block;
}

.footer-logo-wrap{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:14px;
  margin:30px 0 2px -8px;
}

.footer-logo-wrap img{
  height:38px;
  width:auto;
  max-width:none;
}

.logo-text{
  color:#111;
  font-size:18px;
  font-weight:800;
  letter-spacing:.04em;
  line-height:1.2;
}

.footer-brand p{
  margin:0;
  color:#666;
  font-size:13px;
  line-height:1.4;
}

.footer-links{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  justify-content:start;
  align-items:start;
  gap:12px 26px;
  margin:38px 0 0;
  padding:8px 0 0;
  color:#333;
  font-size:13px;
  line-height:1.5;
  text-align:left;
}

.footer-links a{
  display:block;
  height:auto;
  padding:0;
  margin:0;
  border:none;
  background:transparent;
  box-shadow:none;
  color:inherit;
  font-size:inherit;
  font-weight:400;
  line-height:1.5;
  text-align:left;
}

.footer-links a::after{
  display:none;
}

.footer-links a:hover{
  color:var(--orange-deep);
}

.footer-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  justify-self:end;
  align-self:start;
  width:auto;
  height:auto;
  min-height:auto;
  margin:48px 0 0;
  padding:14px 26px;
  border:none;
  border-radius:4px;
  background:#111;
  box-shadow:none;
  color:#fff;
  font-size:13px;
  font-weight:700;
  letter-spacing:.06em;
  line-height:1.5;
  text-align:center;
  white-space:nowrap;
  transition:.25s;
}

.footer-cta:hover{
  background:var(--orange);
  color:#fff;
}

.footer-bottom{
  margin:28px 0 0;
  padding:18px 0 0;
  border-top:none;
  color:#80888d;
  font-size:12px;
  line-height:1.5;
  text-align:center;
}

@media(max-width:1100px){
  .footer-top{
    grid-template-columns:1fr;
    justify-items:center;
    gap:18px;
    text-align:center;
  }

  .footer-logo-wrap{
    justify-content:center;
    margin-left:0;
  }

  .footer-brand p{
    text-align:center;
  }

  .footer-links{
    justify-content:center;
    text-align:left;
  }

  .footer-cta{
    justify-self:center;
    margin-top:8px;
  }
}

@media(max-width:760px){
  footer,
  #contact{
    padding:0 0 18px;
  }

  .footer-line{
    width:100%;
    margin:0 0 18px;
  }

  .footer-top{
    grid-template-columns:1fr;
    justify-items:center;
    gap:12px;
    text-align:center;
  }

  .footer-logo-wrap{
    justify-content:center;
    gap:12px;
    margin:20px 0 2px;
    transform:translateX(-6px);
  }

  .footer-brand p{
    font-size:12px;
    line-height:1.5;
    text-align:center;
  }

  .footer-links{
    grid-template-columns:90px 90px 90px;
    justify-content:center;
    align-items:start;
    gap:8px 12px;
    margin:10px 0 0;
    padding:0;
    font-size:12px;
    line-height:1.5;
    text-align:left;
  }

  .footer-links a{
    font-size:12px;
    line-height:1.5;
    text-align:left;
  }

  .footer-cta{
    justify-self:center;
    margin-top:4px;
    padding:11px 22px;
    font-size:12px;
  }

  .footer-bottom{
    margin-top:18px;
    padding-top:12px;
    font-size:11px;
  }
}

@media(max-width:360px){
  .footer-links{
    grid-template-columns:82px 82px 82px;
    gap:8px;
  }
}
