@charset "utf-8";

/* ===== footer base ===== */
.hk-footer{
  background: #fff;
  color: #111;
  border-top: 1px solid #e6e6e6;
}

.hk-footer__inner{
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 24px;

  display: grid;
  grid-template-columns: 320px 1fr 320px;
  gap: 100px;
  align-items: start;
}

footer#site-footer p {
    padding: 0;
}

/* ===== left ===== */
.hk-footer__logo img{
  width: 210px;
  height: auto;
  display: block;
}

.hk-footer__info{
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
}

.hk-footer__address,
.hk-footer__hours{
  margin: 0 0 10px;
}

.hk-footer__tel{
  margin: 14px 0 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
}

.hk-footer__tel a{
  color: #0a5c78;              /* スクショの青緑寄せ */
  text-decoration: none;
}
.hk-footer__tel a:hover{ text-decoration: underline; }

.hk-footer__sns{
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.hk-footer__snsLink{
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #0a5c78;
  text-decoration: none;
  font-weight: 700;
  font-size: 36px;
}

/* ===== nav ===== */
.hk-footer__menu{
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 10px 24px;
  align-content: start;
}

.hk-footer__menu a{
  color: #111;
  text-decoration: none;
  font-size: 14px;
}
.hk-footer__menu a:hover{ text-decoration: underline; }

/* サブメニューがある場合 */
.hk-footer__menu .sub-menu{
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.hk-footer__menu .sub-menu a{
  color: #333;
  font-size: 13px;
}

/* ===== right ===== */
.hk-footer__buttons{
  display: grid;
  gap: 12px;
  justify-items: end;
}

.hk-footer__btn{
  width: 260px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 2px;          /* スクショは角丸強くない */
  transition: opacity .15s ease;
}

.hk-footer__btn--outline{
  border: 1px solid #0a5c78;
  color: #0a5c78;
  background: #fff;
}
.hk-footer__btn:hover{ opacity: .85; }

.hk-footer__banners{
  margin-top: 16px;
  display: grid;
  gap: 12px;
  justify-items: end;
}

.hk-footer__banner{
  display: block;
  width: 260px;
}

.hk-footer__banner img{
  width: 80%;
  height: auto;
  display: block;
}

.hk-footer__fastbanner{
  display: block;
  width: 260px;
}

.hk-footer__fastbanner img{
  width: 80%;
  height: auto;
  display: block;
}

/* ===== bottom ===== */
.hk-footer__bottom{
  text-align: center;
  padding: 16px 0 22px;
  font-size: 12px;
  color: #111;
}

/* ===== responsive ===== */
@media (max-width: 960px){
  .hk-footer__inner{
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hk-footer__buttons,
  .hk-footer__banners{
    justify-items: start;
  }
  .hk-footer__btn,
  .hk-footer__banner{
    width: min(360px, 100%);
  }
  .hk-footer__menu{
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }

  .hk-footer__banner img {
    width: 60%;
    height: auto;
    display: block;
}

}

@media (max-width: 520px){
  .hk-footer__menu{
    grid-template-columns: 1fr;
  }
}