footer {
  width: 100%;
  height: auto;
  background: var(--MAIN-COLOR, #1860cc);
  position: relative;

  .footer_inner {
    width: 1200px;
    height: 300px;
    margin: auto;
    position: relative;

    .team_name {
      position: absolute;
      top: 50px;
      left: 10px;
      display: flex;
      width: 255px;
      justify-content: center;
      align-items: flex-end;
      gap: 10px;
      cursor: pointer;

      .footer_logo {
        width: 120px;
        height: 120px;
      }

      .team {
        width: 125px;
        height: 118px;
        flex-shrink: 0;

        span {
          color: #fff;
          font-family: Khand;
          font-size: 40px;
          font-style: normal;
          font-weight: 600;
          line-height: 100%;
          letter-spacing: -0.05em;
        }
      }
    }

    nav {
      position: absolute;
      top: 50px;
      right: 10px;
      height: 24px;
      flex-shrink: 0;

      .link {
        text-decoration: none;
        color: #fff;
        text-align: center;
        font-family: "Sawarabi Gothic";
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 120%;
        letter-spacing: 0.03em;
        padding: 0px 25px;
        border-right: 1px solid #aaa;

        &:last-child {
          border: none;
          padding: 0 0 0 25px;
        }
      }
    }

    .privacy_policy {
      position: absolute;
      bottom: 100px;
      right: 10px;
      color: #fff;
      text-align: center;
      font-family: "Sawarabi Gothic";
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      line-height: 120%;
      letter-spacing: 0.03em;
      text-decoration: none;
    }

    .copyrights {
      position: absolute;
      bottom: 50px;
      right: 10px;
      color: #fff;
      text-align: center;
      font-family: Khand;
      font-size: 20px;
      font-style: normal;
      font-weight: 400;
      line-height: 120%;
      letter-spacing: 0.03em;
      pointer-events: none;
    }

    .icon {
      position: absolute;
      bottom: 50px;
      left: 10px;
      display: inline-flex;
      align-items: center;
      gap: 30px;

      svg {
        cursor: pointer;
      }
    }

    .scroll {
      position: absolute;
      bottom: 50px;
      left: 0;
      right: 0;
      margin: auto;
      cursor: pointer;
    }
  }
}

@media (width <= 1300px) {
  footer {
    .footer_inner {
      width: 708px;
      height: 300px;
      margin: auto;
      position: relative;

      .team_name {
        width: 185px;

        .footer_logo {
          width: 90px;
          height: 90px;
        }

        .team {
          width: 93px;
          height: 90px;

          span {
            font-size: 30px;
          }
        }
      }

      nav {
        .link {
          padding: 0px 12px;
          font-size: 14px;

          &:first-child {
            padding: 0 15px 0 0;
          }
          &:last-child {
            border: none;
            padding: 0 0 0 15px;
          }
        }
      }

      .copyrights {
        font-size: 16px;
      }
    }
  }
}

@media (width <= 768px) {
  footer {
    .footer_inner {
      width: auto;
      height: 468px;

      .team_name {
        top: 218px;
        left: 20px;
      }

      nav {
        top: 20px;
        left: 0;
        right: 0;
        margin: auto;
        height: auto;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;

        .link {
          font-size: 14px;
          padding: 0;
          border: none;

          &:first-child {
            padding: 0;
          }

          &:last-child {
            border: none;
            padding: 0;
          }
        }
      }

      .privacy_policy {
        bottom: 114px;
        left: 0;
        right: 0;
        margin: auto;
      }

      .copyrights {
        bottom: 78px;
        left: 0;
        right: 0;
        margin: auto;
      }

      .icon {
        width: 92px;
        top: 240px;
        bottom: auto;
        left: auto;
        right: 20px;
      }

      .scroll {
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        margin: auto;
        cursor: pointer;
      }
    }
  }
}
