/**
 * 共通フッター（footer-content-new.php）専用スタイル
 * skillupai / skillupai_pt / personal / ai-camp で共通フッター表示時に読み込む。
 * 他テーマで読み込んでも、footer 内にのみ適用される。
 */

footer#footer {
  overflow: hidden;
  background-color: inherit;
  padding: 0;
  border-bottom: 5px solid #D29C08;
}

@media (max-width: 960px) {
  footer#footer {
    border-bottom-width: 4px;
  }
}

.footer ul,
.footer li {
  list-style: none;
  list-style-image: none;
}

.footer a {
  zoom: 1;
  outline: 0;
  color: #000000;
  text-decoration: none;
}

.footer img {
  width: 100%;
  outline: 0;
  border: 0;
  border-style: none;
}

footer .footer__logo {
  width: 10rem;
  margin: 0 auto;
  display: block;
}

footer .footer-service__title {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: #333;
}

footer .footer-flex__wrap {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2.5rem;
  position: relative;
  gap: 2rem;
}

footer .footer-flex__wrap .footer-gnav {
  flex: 1;
  min-width: 0;
}

footer .footer-service__inner {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

footer .footer-section__service {
  background-color: #f7f7f7;
}

footer .footer-section__info {
  background-color: #fff;
  padding-top: 3.125rem;
  padding-bottom: 4.375rem;
}

footer .footer-info__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 6.25rem;
  flex-wrap: wrap;
}

footer .footer-info__left {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}

footer .footer-info__logo {
  margin-bottom: 1.5rem;
  order: 0;
}

footer .footer-info__logo a {
  display: inline-block;
}

footer .footer-info__logo svg {
  width: 291px;
  height: auto;
  display: block;
}

footer .footer-info__sns {
  display: flex;
  gap: 1rem;
  margin-bottom: 4.8125rem;
  order: 0;
}

footer .footer-sns__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: opacity 0.3s;
}

footer .footer-sns__link:hover {
  opacity: 0.7;
}

footer .footer-sns__link svg,
footer .footer-sns__link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

footer .footer-info__copyright {
  color: #555;
  font-size: 0.875rem;
  line-height: 1.5;
  order: 5;
}

footer .footer-info__center {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

footer .footer-info__center .other-link-group ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .footer-info__center .other-link-group ul li a {
  color: #636363;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 2.14286;
  transition: color 0.3s;
}

footer .footer-info__center .other-link-group ul li a:hover {
  color: #003fab;
}

footer .footer-info__right {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
}

footer .footer-contact-button {
  display: inline-flex;
  padding: 0 24px;
  justify-content: center;
  align-items: center;
  width: 200px;
  min-height: 40px;
  border-radius: 4px;
  border: 1px solid #003fab;
  background: #fff;
  color: #003fab;
  font-feature-settings: "pwid" on;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

footer .footer-contact-button:hover {
  background: #f4faff;
  color: #003fab;
  transition: background 0.2s;
}

@media (max-width: 960px) {
  footer .footer-section__info {
    padding: 2rem 0;
  }

  footer .footer-info__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.7rem;
    text-align: left;
    padding: 0 20px;
  }

  footer .footer-info__left {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    order: 1;
  }

  footer .footer-info__logo {
    display: block;
    order: 0;
  }

  footer .footer-info__logo svg {
    width: 180px;
  }

  footer .footer-info__sns {
    display: flex;
    justify-content: flex-start;
    order: 0;
    margin-bottom: 0;
  }

  footer .footer-info__copyright {
    text-align: center;
    width: 100%;
    margin-top: 0;
    order: 4;
    font-size: 1.2rem;
  }

  footer .footer-info__center {
    width: 100%;
    order: 2;
    justify-content: flex-start;
  }

  footer .footer-info__center .other-link-group ul {
    align-items: flex-start;
  }

  footer .footer-info__center .other-link-group ul li a {
    font-size: 1.4rem;
  }

  footer .footer-info__right {
    width: 100%;
    justify-content: center;
    order: 3;
  }

  footer .footer-contact-button {
    width: 266px;
    height: 50px;
    font-size: 1.6rem;
  }

  footer .footer-service__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  footer .footer-flex__wrap {
    flex-direction: column;
    gap: 2rem;
    padding: 0 20px;
  }

  footer .footer-flex__wrap .footer-gnav {
    width: 100%;
  }
}

footer .footer-section__other-link {
  background-color: #a3a3a3;
}

footer .footer-section__other .footer-other__inner::before {
  position: absolute;
  content: "";
  background: url(https://www.skillupai.com/private-training/wp-content/themes/skillupai/assets/img/common/msk-logo.png) center / cover no-repeat;
  display: block;
  width: 20.375rem;
  height: 21.5rem;
  top: 14%;
  z-index: -1;
  left: 5%;
}

footer .footer-other__inner {
  position: relative;
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}

footer .footer__logo.other {
  width: 18.75rem;
}

footer .footer-other__title {
  text-align: center;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-top: 1rem;
  font-weight: 600;
  color: #fff;
}

footer .footer-other__title a {
  color: #fff;
}

footer a.sns__link {
  display: flex;
  align-items: center;
  color: #000000;
  font-size: max(0.87rem, 14px);
  line-height: 1.8;
  gap: 0.5rem;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.02em;
}

footer .footer-group__title {
  text-align: center;
  font-size: max(0.87rem, 14px);
  line-height: 1.8;
  font-weight: 600;
  letter-spacing: 0.02em;
}

footer .flex-sns-groupe {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

footer .other-link-group ul {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

footer .other-link-group ul li {
  position: relative;
}

footer .other-link-group ul li a::before {
  content: "";
  display: block;
  width: 2px;
  height: 1rem;
  background-color: #fff;
  position: relative;
  top: 0.1rem;
  left: -0.5rem;
}

footer .other-link-group ul li:first-of-type a:before {
  content: none;
}

footer .flex-sns,
footer .sns-group {
  margin-top: 1.4rem;
}

footer .other-link-group ul li a {
  color: #fff;
  font-size: max(0.87rem, 12px);
  line-height: 1.8;
  font-weight: 300;
  letter-spacing: 0.02em;
  position: relative;
  display: flex;
  align-items: center;
}

footer svg.i-twitter {
  width: 1.25rem;
}

footer svg.i-facebook {
  width: 1.286rem;
}

footer svg.i-youtube {
  width: 1.45rem;
}

footer svg.i-linkedin {
  width: 1.267rem;
}

footer .copyright {
  font-size: max(0.875rem, 13px);
  letter-spacing: 0.02em;
  font-weight: 300;
  text-align: center;
  background: #d29c07;
  color: #fff;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .footer-gnav .gnav__item {
  font-weight: 500;
  color: #333;
  font-size: max(0.5rem, 12px);
  margin-bottom: 1.3rem;
  letter-spacing: 0.01em;
  line-height: 1.8;
}

footer .footer-gnav .gnav__item a {
  font-weight: 500;
  color: #333;
  font-size: max(0.87rem, 14px);
  line-height: 1.8;
  display: flex;
  align-items: center;
  letter-spacing: 0.02em;
}

footer .list-line {
  position: relative;
  display: flex;
  align-items: center;
}

footer .gnav__list__sub.other-ptn li {
  gap: 0.55rem;
}

footer .gnav__list__sub.other-ptn li a.gnav__link {
  position: relative;
  left: 1.6rem;
}

footer .list-line::before {
  content: "";
  display: block;
  width: 1rem;
  height: 2px;
  background-color: #d29c07;
}

footer .footer-gnav .gnav__item a svg {
  width: 1rem;
  margin-right: 0.6rem;
}

footer .gnav__list__sub {
  margin-bottom: 0.8rem;
}

@media screen and (min-width: 768px) and (max-width: calc(1008px - 0.2px)) {
  footer .footer-gnav .gnav__item a {
    font-size: max(0.87rem, 10px);
  }
}

@media screen and (max-width: calc(992px - 0.2px)) {
  footer .footer-group__title,
  footer .footer-gnav .gnav__item {
    font-size: 1rem;
  }

  footer .footer-service__title {
    font-size: 1.4rem;
  }

  footer .footer-gnav .gnav__item a {
    font-size: 1.2rem;
  }

  footer .gnav__list__sub.other-ptn li a.gnav__link {
    left: 0;
  }

  footer .footer-flex__wrap {
    flex-wrap: wrap;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media screen and (max-width: calc(576px - 0.2px)) {
  footer .footer-gnav {
    width: 100%;
  }

  footer .other-link-group ul {
    display: flex;
    justify-content: left;
    gap: 1rem 4rem;
    flex-wrap: wrap;
  }

  footer .other-link-group ul li a::before {
    content: none;
  }

  footer .other-link-group ul li a::after {
    content: "";
    display: block;
    width: 2px;
    height: 1rem;
    background-color: #fff;
    position: relative;
    top: 0.1rem;
    left: 1rem;
  }

  footer .other-link-group ul li:last-child a::after {
    content: none;
  }

  footer .footer-other__inner {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  footer .other-link-group ul {
    gap: 1rem 2rem;
    flex-wrap: wrap;
  }

  footer .footer-flex__wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-left: 4rem;
    padding-right: 4rem;
  }

  footer svg.i-youtube {
    width: 2.2rem;
  }
}
