/*
Theme Name: anthem_child
Template: anthem_tcd083
Version: 1.0
*/


.footer-top {
  background: #B91721;
  padding: 30px 20px 0;
  font-family: "Zen Maru Gothic", sans-serif;
  box-sizing: border-box;
}

.footer-top * {
  box-sizing: border-box;
}

/* PC基本：左右の白枠 */
.footer-top__inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 759px) minmax(320px, 420px);
  gap: 20px;
  align-items: stretch;
}

/* 左：会社情報 */
.footer-top__info {
  min-height: 200px;
  padding: 36px 30px;
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  column-gap: 24px;
  align-items: center;
  background: #fff;
  border-radius: 10px;
}

/* ロゴ側 */
.footer-top__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.footer-top__brand img {
  flex: 0 0 auto;
  display: block;
  width: 51px;
  height: 58px;
  object-fit: contain;
}

.footer-top__brand > div {
  min-width: 0;
}

.footer-top__brand-en {
  margin: 0;
  color: #000;
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.footer-top__brand-ja {
  margin: 2px 0 0;
  color: #000;
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

/* 住所側 */
.footer-top__detail {
  min-width: 0;
  color: #000;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  line-height: 1.5;
}

.footer-top__detail p {
  margin: 0 0 8px;
}

.footer-top__detail p:last-child {
  margin-bottom: 0;
}

.footer-top__indent {
  padding-left: 71px;
}

/* 右：お問い合わせ・採用 */
.footer-top__links {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  height: 100%;
}

.footer-top__link {
  min-height: 90px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  color: #000;
  text-align: center;
  text-decoration: none;
}
@media screen and (max-width: 1100px) {
  .footer-top__inner {
    width: min(760px, 100%);
    grid-template-columns: 1fr;
  }

  .footer-top__info {
    grid-template-columns: 1fr;
    row-gap: 24px;
    text-align: center;
  }

  .footer-top__brand {
    justify-content: center;
  }

  .footer-top__detail {
    text-align: left;
  }

  .footer-top__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    height: auto;
  }
}

.footer-top__info {
  min-height: 200px;
  padding: 36px 30px;
  display: grid;
  grid-template-columns: 245px 1fr;
  align-items: start;
  background: #fff;
  border-radius: 10px;
}

.footer-top__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-top__brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-top__brand-en {
  margin: 0;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-top__brand-ja {
  margin: 2px 0 0;
  color: #000;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-top__detail {
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.footer-top__detail p {
  margin: 0 0 8px;
}

.footer-top__detail p:last-child {
  margin-bottom: 0;
}

.footer-top__indent {
  padding-left: 71px;
}

.footer-top__links {
  display: grid;
  gap: 20px;
}

.footer-top__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  color: #000;
  text-align: center;
  text-decoration: none;
}

.footer-top__link span {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-top__link em {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  font-style: normal;
}

.footer-top__link:hover {
  opacity: 0.85;
}
@media screen and (max-width: 767px) {
  .footer-top {
    padding: 24px 16px 0;
  }

  .footer-top__inner {
    display: block;
  }

  .footer-top__info {
    min-height: 0;
    padding: 28px 20px;
    display: block;
  }

  .footer-top__brand {
    justify-content: center;
    margin-bottom: 24px;
  }
  .footer-top__brand img {
  width: 60%;
}

  .footer-top__brand-ja {
    font-size: 24px;
  }

  .footer-top__detail {
    font-size: 13px;
    line-height: 1.7;
  }

  .footer-top__indent {
    padding-left: 0;
  }

  .footer-top__links {
    margin-top: 20px;
    gap: 14px;
  }

  .footer-top__link {
    height: 80px;
  }
  .footer-top__link span {
    font-size: 14px;
  }

  .footer-top__link em {
    font-size: 12px;
}
}
