.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex: 0 0 auto
}

.header__inner {
    gap: 18px
}

.main-nav {
    flex-wrap: wrap
}

.header-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    color: var(--gold);
    transition: color .2s, background .2s, transform .2s
}

.header-instagram:hover,
.header-instagram:focus-visible {
    color: var(--black);
    background: var(--gold);
    transform: translateY(-2px)
}

.header-instagram svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 8;
    width: 44px;
    height: 44px;
    border: 1px solid var(--gold);
    background: rgba(10, 10, 10, .9);
    color: var(--gold);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s, visibility .25s, transform .25s, background .25s
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none
}

.back-to-top:hover,
.back-to-top:focus-visible {
    background: var(--gold);
    color: var(--black)
}

.back-to-top svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.key-point img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex: 0 0 60px
}

.key-point {
    gap: 18px
}

.key-point b {
    font-size: 23px
}

.key-point span {
    font-size: 15px
}

@media (min-width:801px) {
    .method__note {
        font-size: 17px
    }

    .method__note strong {
        font-size: 34px
    }

    .method__note small {
        font-size: 12px
    }
}

.pentagon img {
    width: 40px;
    height: 40px;
    object-fit: contain
}

@media (max-width:800px) {
    .header__inner {
        min-height: 68px;
        gap: 8px
    }

    .brand img {
        width: 52px;
        height: 52px
    }

    .main-nav .header-instagram {
        width: 40px;
        height: 40px
    }

    .hero {
        min-height: clamp(680px, 92svh, 820px)
    }

    .hero__image {
        background-size: cover;
        background-position: 58% center
    }

    .hero__shade {
        background: linear-gradient(90deg, rgba(10, 10, 10, .88), rgba(10, 10, 10, .28)), linear-gradient(0deg, rgba(10, 10, 10, .8), transparent 65%)
    }

    .key-point img {
        width: 40px;
        height: 40px;
        flex-basis: 40px
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px
    }
}

@media (max-width:430px) {
    .hero {
        min-height: clamp(650px, 88svh, 760px)
    }

    .hero__image {
        background-position: 63% center
    }

    .brand img {
        width: 48px;
        height: 48px
    }

    .key-point img {
        width: 38px;
        height: 38px;
        flex-basis: 38px
    }

    .back-to-top {
        right: 12px;
        bottom: 12px
    }
}

@media (prefers-reduced-motion:reduce) {
    .back-to-top {
        transition: none
    }
}