/* フッターメインエリア：3つのメニューを横並びにする */
.p-footer-main--menu-only {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 60px;
}

.p-footer-main--menu-only .p-footer-nav {
  display: grid;
  min-width: 0;
}

/* コピーライト直前の会社情報エリア */
.p-footer-company {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding-block: 30px 24px;
}

.p-footer-company::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 10px;
  transform: translateX(-50%);
  background: var(--tcd-accent-color);
}

.p-footer-company__logo {
  min-width: 0;
}

.p-footer-company__logo .c-logo {
  display: inline-flex;
  max-width: 100%;
}

.p-footer-company__logo .c-logo-picture {
  max-width: 100%;
}

.p-footer-company__logo .c-logo__image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 64px;
}

.p-footer-company__info {
  justify-self: end;
  font-size: 16px;
  line-height: 1.45;
  text-align: left;
}
/* コピーライトを右揃えに変更 */
.p-footer-copyright {
  justify-content: end;
}
/* フッターメニューのタイトル太字 */
.menu_title > a {
    font-weight: bold;
    pointer-events: none;
}

@media (max-width: 767px) {
  .p-footer-main--menu-only {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .p-footer-main--menu-only .p-footer-nav {
    display: grid;
  }

  .p-footer-company {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 30px 24px;
    text-align: center;
  }

  .p-footer-company__logo,
  .p-footer-company__info {
    justify-self: center;
  }

  .p-footer-company__logo .c-logo__image {
    max-height: 52px;
  }

  .p-footer-company__info {
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
  }
}
