.gn-site-footer {
    border-top: 2px solid var(--color-sub);
    background-color: var(--color-white);
    background-image: url("../../images/common/bg_pattern-pink.png");
    background-size: 176px 176px;
}

.gn-site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 40px;
}

.gn-site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 260px;
}

.gn-site-footer__logo {
    width: 260px;
}

.gn-share {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 20px;
    border: 2px solid var(--color-main);
    border-radius: 9999px;
    color: var(--color-main);
    background-color: var(--color-white);
}

.gn-share__label {
    font-size: 18px;
    font-weight: 800;
}

.gn-share__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-black);
}

.gn-share__icon:hover {
  opacity: 0.4;
}

.gn-share__icon img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.gn-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    width: 610px;
}

.gn-footer-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 40px;
    border: 2px solid var(--color-main);
    border-radius: 9999px;
    background: var(--color-main);
    color: var(--color-white);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
    white-space: nowrap;
    transition: background-color 160ms ease, color 160ms ease;
}

.gn-footer-nav__link:hover,
.gn-footer-nav__link:focus-visible {
  background: var(--color-white);
  color: var(--color-main);
}

.gn-top-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    padding-bottom: 20px;
    border: 3px solid var(--color-main);
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: 3px 3px 0 var(--color-main);
    color: var(--color-main);
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.gn-top-button:hover,
.gn-top-button:focus-visible {
    box-shadow: 0 0 0 var(--color-main);
    transform: translate(3px, 3px);
}

.gn-top-button__icon {
    width: 70px;
    height: 70px;
    margin-bottom: -20px;
    object-fit: contain;
}

.gn-top-button__label {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.gn-site-footer__copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 40px;
    background: var(--color-main);
    color: var(--color-white);
}

.gn-site-footer__copyright {
    width: 580px;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
}

.gn-site-footer__privacy-container {
    display: flex;
    gap: 20px;
    align-items: center;
}

.gn-site-footer__privacy {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.gn-site-footer__privacy:hover {
  opacity: 0.7;
}

.gn-site-footer__privacy img {
    width: 10px;
    height: 10px;
}

@media (max-width: 767px) {
    .gn-site-footer {
        background-size: 88px 88px;
    }

    .gn-site-footer__inner {
        flex-direction: column;
        gap: 30px;
        padding: 30px 15px;
    }

    .gn-site-footer__brand {
        width: 200px;
    }

    .gn-site-footer__logo {
        width: 200px;
    }

    .gn-share__label {
        font-size: 16px;
    }

    .gn-share__icon {
        width: 28px;
        height: 28px;
    }

    .gn-share__icon:hover {
      opacity: 1;
    }

    .gn-footer-nav {
        width: 100%;
    }

    .gn-footer-nav__link {
        padding: 6px 26px;
        font-size: 12px;
    }

    .gn-top-button {
        width: 80px;
        height: 80px;
        padding-bottom: 15px;
        border-width: 2px;
        box-shadow: 2px 2px 0 var(--color-main);
    }

    .gn-top-button__icon {
        width: 50px;
        height: 50px;
        margin-bottom: -14px;
    }

    .gn-top-button__label {
        font-size: 16px;
    }

    .gn-site-footer__copy {
        flex-direction: column-reverse;
        gap: 10px;
        padding: 20px 15px;
        text-align: center;
    }

    .gn-site-footer__copyright {
        width: 100%;
        max-width: 330px;
        line-height: 1.5;
    }

    .gn-site-footer__privacy-container {
      gap: 10px;
    }


    .gn-site-footer__privacy:hover {
      opacity: 1;
    }
}
