/* フッター */

#footer {
  width: 100%;

  @media screen and (max-width: 723px) {
    padding-bottom: 40px;
  }
}

.footer {
  position: relative;
  height: 128px;
  padding: 18px 0;
  width: 1040px;
  margin: 0 auto;
}

.footer_corp {
  position: absolute;
  width: 1040px;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
}

.footer_divider {
  position: absolute;
  width: 770px;
  height: 1px;
  background-color: var(--divider);
  top: 72px;
  right: 0;
}

.copyright {
  position: absolute;
  color: white;
  font-size: 12px;
  text-align: center;
  color: #16006e;
  bottom: 18px;
  right: 0;
}

.footer_list {
  position: absolute;
  display: flex;
  gap: 24px;
  right: 0;
  top: 36px;
}

.footer_list_item {
  font-size: 14px;
  color: #16006e;
  position: relative;
  display: flex;
  align-items: end;
  gap: 4px;
}

.footer_list_item::before {
  content: "";
  width: 6px;
  height: 12px;
  background: url(/common/images/angle_right_icon.svg) no-repeat;
  background-size: 100%;
  display: block;
}

@media screen and (max-width: 723px) {
  .footer {
    position: relative;
    height: auto;
    width: 100%;
    padding: 24px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .footer_corp {
    width: 100%;
    transform: none;
    position: static;
  }

  .footer_divider {
    display: none;
  }

  .copyright {
    position: static;
    font-size: 10px;
    text-align: left;
  }

  .footer_list {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 20px;
    column-gap: 24px;
    transform: none;
    margin-right: 20px;
  }

  .footer_list_item {
    position: relative;
  }
}
/* --- フッター */

/* 製品フッター */
.footer_product {
  background-color: var(--primary);
  width: 100%;
  border: var(--primary-border) solid 1px;
  padding: 32px 0 24px;
}

.footer_product_inner {
  width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.footer_product_banner_wrapper {
  width: 390px;
  flex-shrink: 0;
}

.footer_product_banner {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 723px) {
  .footer_product {
    border: none;
  }

  .footer_product_inner {
    width: 100%;
    padding: 0 20px;
    flex-direction: column;
    gap: 24px;
  }

  .footer_product_banner_wrapper {
    width: 100%;
  }

  .footer_product_banner {
    width: 100%;
  }
}
/* --- 製品フッター */

/* フッターサイトマップ */
#footer_sitemap {
  background-color: var(--primary);
  margin: 0;
  width: fit-content;
  min-width: 0;
}

.footer_sitemap {
  background-color: var(--primary);
  display: flex;
  flex-direction: row;
  margin: 0;
  gap: 40px;
  width: 100%;
}

.footer_home_icon {
  width: 16px;
  height: 14px;
  margin-right: 8px;
  margin-bottom: 2px;
  filter: var(--white-icon-filter);
}

.footer_menu_container {
  height: fit-content;
  color: var(--text-white);
  width: auto;
  padding-left: 16px;
  padding-bottom: 4px;
  padding-top: 2px;
  border-radius: 5px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;

  &::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 1px;
    border-right: 1px solid white;
    border-radius: 1px;
    left: 0;
    top: 0;
  }
}

.footer_menu_container--home::before {
  display: none;
}

.footer_menu_list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 12px;
  font-size: var(--font-size-sm);
}

.footer_menu_list_item {
  line-height: 1;
  font-weight: 400;
}

.footer_menu_title {
  font-weight: bold;
  font-size: var(--font-size-md);
}

.footer_menu_list_sub_container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer_menu_list_sub_item {
  ::before {
    width: 20px;
    content: "-";
    display: inline-block;
  }
}

@media screen and (max-width: 723px) {
  #footer_sitemap {
    position: relative;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .footer_sitemap {
    row-gap: 24px;
    height: auto;
    width: 100%;
    flex-direction: column;
  }

  .footer_menu_container {
    padding-left: 10px;
  }

  .footer_menu_container--home {
    padding-left: 0;
  }

  .footer_menu_list {
    font-size: var(--font-size-sm);
    padding-left: 10px;
  }

  .footer_menu_list_item {
    line-height: 1.5;
    font-weight: 400;
  }

  .footer_menu_title {
    font-weight: bold;
    font-size: var(--font-size-md);
  }
}
/* --- フッターサイトマップ */
