@keyframes a {

    0% {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.error404 .site-footer {
    margin-top: -24px;
}

.error404 .site-footer::before {
    top: 24px;
}

.error404 .not-found {
    background-color: #ebf0f7;
    padding: 146px 23px 104px 24px;
}

.error404 .not-found .not-found-content {
    position: relative;
    z-index: 1;
}

.error404 .not-found .not-found-content .not-found-text {
    position: relative;
    z-index: 2;
}

.error404 .not-found .not-found-content .not-found-text .not-found-label > span {
    display: block;
    line-height: 1;
}

.error404 .not-found .not-found-content .not-found-text .not-found-label > span:first-child {
    font-size: 11.25rem;
}

.error404 .not-found .not-found-content .not-found-text .not-found-label > span:nth-child(2) {
    font-size: 2.6875rem;
    margin-top: -20px;
}

.error404 .not-found .not-found-content .not-found-text .not-found-title {
    font-size: 0.875rem;
    line-height: 1.5714285714;
    margin-top: 14px;
}

.error404 .not-found .not-found-content .not-found-text > p {
    font-size: 0.875rem;
    line-height: 1.5714285714;
}

.error404 .not-found .not-found-content .not-found-text .not-found-button {
    margin-top: 30px;
}

.error404 .not-found .not-found-content .not-found-marquee {
    height: 236px;
    position: absolute;
    right: -72px;
    top: -68px;
    width: 236px;
    z-index: 1;
}

.error404 .not-found .not-found-content .not-found-marquee::after,
.error404 .not-found .not-found-content .not-found-marquee::before {
    background-image: url(../images/404/404-circle.svg);
    background-repeat: no-repeat;
    background-size: 236px auto;
    content: '';
    height: 236px;
    position: absolute;
    top: 0;
    width: 118px;
}

.error404 .not-found .not-found-content .not-found-marquee::before {
    background-position: 0 0;
    left: 0;
    z-index: 1;
}

.error404 .not-found .not-found-content .not-found-marquee::after {
    background-position: 100% 0;
    right: 0;
    z-index: 3;
}

.error404 .not-found .not-found-content .not-found-marquee > p {
    animation: a 600s linear infinite;
    color: rgba(255, 255, 255, 0.8);
    display: inline-block;
    font-size: 4.0625rem;
    line-height: 1;
    margin-top: 80px;
    position: relative;
    vertical-align: top;
    white-space: nowrap;
    z-index: 2;
}

.not-found-navs {
    display: grid;
    gap: 151px;
    margin-top: 116px;
}

.not-found-navs .not-found-nav-header .not-found-nav-header-title .not-found-nav-header-title-en {
    color: rgba(9, 51, 69, 0.2);
    font-size: 1rem;
    line-height: 1;
}

.not-found-navs .not-found-nav-header .not-found-nav-header-title .not-found-nav-header-title-ja {
    font-feature-settings: 'palt' on;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

.not-found-navs .not-found-nav-header .not-found-nav-header-anchor {
    margin-top: 52px;
}

.not-found-navs .not-found-nav-header .not-found-nav-header-anchor a {
    align-items: center;
    color: #093345;
    display: flex;
    font-size: 1rem;
    justify-content: space-between;
    line-height: 2;
    text-decoration: none;
}

.not-found-navs .not-found-nav-header .not-found-nav-header-anchor a::after {
    background-color: #b1bbc9;
    clip-path: url(#heptagon-sharp);
    content: '';
    flex-shrink: 0;
    height: 8px;
    margin-left: 12px;
    transition: all 0.3s ease;
    width: 8px;
}

.not-found-navs .not-found-nav-header .not-found-nav-header-anchor a:active,
.not-found-navs .not-found-nav-header .not-found-nav-header-anchor a:hover {
    background-color: rgb(255, 255, 255);
}

.not-found-navs .not-found-nav-header .not-found-nav-header-anchor a:active::after,
.not-found-navs .not-found-nav-header .not-found-nav-header-anchor a:hover::after {
    background-color: #093345;
}

.not-found-navs .not-found-nav-content ul li {
    list-style: none;
}

.not-found-navs .not-found-nav-content img {
    height: auto;
    width: 100%;
}

.not-found-navs .not-found-nav-content img.pc {
    display: none;
}

.not-found-navs .not-found-nav-content img.sp {
    display: block;
}

.not-found-navs .not-found-nav-service {
    margin-top: 25px;
}

.not-found-navs .not-found-nav-service > ul {
    display: grid;
    gap: 44px;
}

.not-found-navs .not-found-nav-service > ul > li .not-found-nav-service-image {
    border-radius: 24px;
    margin-bottom: 16px;
    overflow: hidden;
}

.not-found-navs .not-found-nav-service > ul > li .not-found-nav-service-title {
    font-size: 1.125rem;
    line-height: 2;
}

.not-found-navs .not-found-nav-service > ul > li > ul {
    display: grid;
    gap: 2px;
    margin-top: 16px;
}

.not-found-navs .not-found-nav-service > ul > li > ul > li > a {
    align-items: center;
    color: #093345;
    display: flex;
    font-size: 1rem;
    justify-content: space-between;
    line-height: 2;
    padding-block: 4px;
    text-decoration: none;
}

.not-found-navs .not-found-nav-service > ul > li > ul > li > a::after {
    background-color: #b1bbc9;
    clip-path: url(#heptagon-sharp);
    content: '';
    flex-shrink: 0;
    height: 8px;
    margin-left: 8px;
    width: 8px;
}

.not-found-navs .not-found-nav-about {
    margin-top: 25px;
}

.not-found-navs .not-found-nav-about > ul {
    display: grid;
    gap: 40px;
}

.not-found-navs .not-found-nav-about > ul > li > a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.not-found-navs .not-found-nav-about > ul > li > a .not-found-nav-about-image {
    border-radius: 24px;
    margin-bottom: 16px;
    overflow: hidden;
}

.not-found-navs .not-found-nav-about > ul > li > a .not-found-nav-about-title {
    font-feature-settings: 'palt' on;
    align-items: center;
    color: #093345;
    display: flex;
    font-size: 1rem;
    justify-content: space-between;
    line-height: 2;
    padding-block: 4px;
    text-align: justify;
}

.not-found-navs .not-found-nav-about > ul > li > a .not-found-nav-about-title::after {
    background-color: #b1bbc9;
    clip-path: url(#heptagon-sharp);
    content: '';
    flex-shrink: 0;
    height: 8px;
    margin-left: 8px;
    width: 8px;
}
@media screen and (min-width: 768px) {

    .error404 .site-footer {
        margin-top: -40px;
    }

    .error404 .site-footer::before {
        top: 40px;
    }

    .error404 .not-found {
        padding: 310px 32px 200px;
    }

    .error404 .not-found .not-found-content {
        margin-inline: auto;
        max-width: 1224px;
    }

    .error404 .not-found .not-found-content .not-found-text .not-found-label > span:first-child {
        font-size: 20rem;
    }

    .error404 .not-found .not-found-content .not-found-text .not-found-label > span:nth-child(2) {
        font-size: 4.5rem;
        margin-top: -52px;
    }

    .error404 .not-found .not-found-content .not-found-text .not-found-title {
        margin-top: 28px;
    }

    .error404 .not-found .not-found-content .not-found-text .not-found-title,
    .error404 .not-found .not-found-content .not-found-text > p {
        font-feature-settings: 'palt' on;
        font-size: 1rem;
        line-height: 2;
    }

    .error404 .not-found .not-found-content .not-found-text .not-found-button {
        margin-top: 40px;
        max-width: 392px;
    }

    .error404 .not-found .not-found-content .not-found-text .c-common-button .common-button-label {
        font-size: 1rem;
        line-height: 2;
    }

    .error404 .not-found .not-found-content .not-found-marquee {
        height: 810px;
        right: -4px;
        top: -150px;
        width: 810px;
    }

    .error404 .not-found .not-found-content .not-found-marquee::after,
    .error404 .not-found .not-found-content .not-found-marquee::before {
        background-size: 810px auto;
        height: 810px;
        width: 405px;
    }

    .error404 .not-found .not-found-content .not-found-marquee > p {
        font-size: 13.875rem;
        margin-top: 320px;
    }

    .not-found-navs {
        gap: 40px;
        margin-inline: auto;
        margin-top: 251px;
        max-width: 1224px;
    }

    .not-found-navs .not-found-nav-header {
        align-items: center;
        display: flex;
        justify-content: space-between;
    }

    .not-found-navs .not-found-nav-header .not-found-nav-header-title .not-found-nav-header-title-en {
        margin-bottom: 8px;
    }

    .not-found-navs .not-found-nav-header .not-found-nav-header-title .not-found-nav-header-title-ja {
        font-size: 1.75rem;
        line-height: 1.2857142857;
    }

    .not-found-navs .not-found-nav-header .not-found-nav-header-anchor {
        margin-top: 0;
    }

    .not-found-navs .not-found-nav-header .not-found-nav-header-anchor a {
        background-color: rgba(255, 255, 255, 0);
        border-radius: 4em;
        font-family: TazuganeInfoStdN-Bold;
        font-size: 0.75rem;
        font-weight: 700;
        line-height: 1.8333333333;
        padding: 10px 12px;
    }

    .not-found-navs .not-found-nav-content img.pc {
        display: block;
    }

    .not-found-navs .not-found-nav-content img.sp {
        display: none;
    }

    .not-found-navs .not-found-nav-service {
        margin-top: 48px;
    }

    .not-found-navs .not-found-nav-service > ul {
        gap: 24px;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .not-found-navs .not-found-nav-service > ul > li {
        padding: 8px;
    }

    .not-found-navs .not-found-nav-service > ul > li .not-found-nav-service-title {
        padding-inline: 16px;
    }

    .not-found-navs .not-found-nav-service > ul > li > ul {
        margin-top: 8px;
    }

    .not-found-navs .not-found-nav-service > ul > li > ul > li > a {
        padding-inline: 16px;
    }

    .not-found-navs .not-found-nav-about {
        margin-top: 32px;
    }

    .not-found-navs .not-found-nav-about > ul {
        gap: 44px 16px;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .not-found-navs .not-found-nav-about > ul > li > a {
        background-color: rgba(255, 255, 255, 0);
        border-radius: 28px;
        margin-bottom: 4px;
        padding: 8px;
    }

    .not-found-navs .not-found-nav-about > ul > li > a .not-found-nav-about-image {
        margin-bottom: 8px;
        transition: all 0.3s ease;
    }

    .not-found-navs .not-found-nav-about > ul > li > a .not-found-nav-about-title {
        font-size: 1.125rem;
        line-height: 2;
        padding: 0 16px;
    }

    .not-found-navs .not-found-nav-about > ul > li > a:active,
    .not-found-navs .not-found-nav-about > ul > li > a:hover {
        background-color: rgb(255, 255, 255);
        margin-bottom: 0;
    }

    .not-found-navs .not-found-nav-about > ul > li > a:active .not-found-nav-about-image,
    .not-found-navs .not-found-nav-about > ul > li > a:hover .not-found-nav-about-image {
        margin-bottom: 12px;
    }
}
