header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    background-color: var(--White);
    border-bottom: solid 1px #e8e8e8;
}

header ul,
header .inner {
    display: flex;
    justify-content: space-between;
}

header li {
    text-align: center;
    font-size: 13px;
    line-height: 1.4;
    position: relative;
    transition: 0.5s;
}

.circle_anime {
    position: relative;
    transition-duration: 0.4s;
    z-index: 2;
    padding: 1rem;
    /* overflow: hidden; */
}

.circle_anime::after {
    background: var(--Gray);
    border-radius: 50%;
    content: "";
    display: block;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%) scale(0.1);
    z-index: -1;
    transition:
        opacity 0.5s,
        transform 0s;
    transition-delay: 0s, 0.4s;
}

.circle_anime:hover {
    color: white;
}

.circle_anime:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1); /* 均等に拡大 */
    transition-delay: 0s;
    transition:
        opacity 0.8s,
        transform 0.6s ease-in-out;
}

header ul {
    align-items: center;
    margin-right: 1rem;
}

header .item {
    display: flex;
}

h1 img {
    max-width: 58px;
    margin: 1rem;
    transition: 0.7s;
}
h1:hover {
    opacity: 70%;
}

@media screen and (max-width: 768px) {
    header ul,
    .language_change {
        display: none !important;
    }
    header .inner {
        justify-content: center;
    }
    h1 img {
        max-width: 48px;
        margin: 0.5rem 0rem 0rem 0rem;
    }
}

.language_change {
    display: inline-block;
    text-decoration: none;
    color: var(--White);
    background-color: var(--main-color);
    padding: 1rem;
    overflow: hidden;
    position: relative;
    transition: 1s;
    display: flex;
    align-items: center;
    padding-bottom: 20px;
}

.language_change:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 100px;
    height: 100px;
    background-color: var(--Gray);
    border-radius: 50%;
    transform: scale(0);
    transition:
        transform 1s ease,
        background-color 1s ease;
    z-index: 0;
}

.language_change a {
    position: relative;
    z-index: 1;
}

.language_change:hover:before {
    transform: scale(10);
    background-color: var(--Gray);
}
