.footer{
  position: relative;
  z-index: 2;
  background-color: var(--white);
  border-top: 1px solid var(--line-pale);
  .inner{
    display: flex;
    justify-content: space-between;
    @media screen and (max-width: 768px) {
      flex-direction: column;
      gap: 4rem;
    }
  }
  .nav-wrap{
    padding-block: 10rem 7rem;
    @media screen and (max-width: 768px) {
      display: none;
    }
  }
  .logo-wrap{
    display: flex;
    flex-direction: column;
    .footer-copy{
      margin-block: auto 0;
      font-family: var(--font-shippori);
      font-size: 3.6rem;
      line-height: 1.45;
    }
  }
  .footer-logo{
    transition: color var(--duration) var(--easing), opacity 0.1s;
    display: block;
    width: fit-content;
    height: fit-content;
    @media screen and (max-width: 768px) {
      display: flex;
      align-items: center;
      gap: max(1.5rem,15px);
    }
    .logo{
      display: block;
      width: 25rem;
      @media screen and (max-width: 768px) {
        width: 16rem;
      }
    }
    @media (any-hover: hover) {
      &:hover{
        opacity: 0.6;
      }
    }
  }
  .footer-link{
    .link-wrap{
      display: flex;
      justify-content: flex-end;
      gap: 7rem;
      @media screen and (max-width: 768px) {
        gap: 4rem;
      }
    }
    ul{
      &:first-child{
        margin-right: 3rem;
        @media screen and (max-width: 768px) {
          margin-right: 0;
        }
      }
      li{
        display: flex;
        flex-direction: column;
        &+ li{
          margin-top:4rem;
        }
        &> a{
          font-size: 1.4rem;
          color: #6C6C6C;
          &+ a{
            margin-top: 0.5em;
          }
        }
        &:has(> a){
          .link-hd{
            margin-bottom: 1rem;
          }
        }
      }
      .link-hd{
        font-size: 1.6rem;
        line-height: 1.5;
      }
      a{
        display: inline-block;
        width: fit-content;
        line-height: 1.5;
      }
    }
    .btns{
      display: flex;
      gap: 2rem;
      margin-top: 5rem;
      .view-btn{
        width: 18rem;
        height: 5rem;
        font-size: 1.6rem;
        padding-inline: 2rem 1.5rem;
      }
    }
  }
  .copyright-wrap{
    border-top: 1px solid var(--line-pale);
    padding-block: 3rem;
    @media screen and (max-width: 768px) {
      padding-block: 2rem;
    }
    .inner{
      @media screen and (max-width: 768px) {
        gap: 1.5rem;
      }
    }
    .links{
      display: flex;
      justify-content: flex-end;
      gap: 3rem;
    }
    a{
      font-size: 1.4rem;
      display: flex;
      gap: 0.25em;
      @media screen and (max-width: 768px) {
        display: none;
      }
    }
    .copyright{
      font-size: 1.4rem;
      font-weight: 500;
      padding-bottom: 0.2em;
      @media screen and (max-width: 768px) {
        text-align: center;
        font-size: 1.1rem;
      }
    }
    @media screen and (max-width: 768px) {
      border-top: none;
    }
  }
}
