.top {
    margin: 250px auto 0;
    position: relative;
    background-color: #F7F7F7;
    z-index: -5;
}

.top::after {
    content: "";
    display: block;
    background-color: #F7F7F7;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: -100%;
}

.top::before {
    content: "";
    display: block;
    background-color: #F7F7F7;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
}

.top-img {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    width: 344px;
    height: 153px;
    z-index: 99;
}

.top-img img {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(0, -119PX);
}

.smile-txt h2 {
    border: none;
    text-align: center;
    margin: 42px 0 15px !important;
    font-family: 'Noto Sans JP';
    font-size: 30px;
    font-weight: lighter;
    letter-spacing: 0.2em;
    line-height: 1.7em;
}

.smile-txt p {
    font-size: 12px;
    font-family: 'Noto Sans JP';
    text-align: center;
    line-height: 2em;
    padding-bottom: 69px;
    line-height: 2.3em;
}

h2+p {
    margin: 0 auto !important;
}

/*===================================*/

/*================================================*/
.bottom {
    position: relative;
}

.smile-bt {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1040px;
    padding: 0 20px;
    margin: 0 auto;
}

.smile-bt-img {
    margin: 70px 28px 0;
    max-width: 168px;
    width: calc(100% / 4);
}

.bt-txt p span {
    border-bottom: 5px solid #fff;
    position: relative;
}

.bt-txt p span::after {
    content: "";
    display: block;
    background-color: #FFEC00;
    position: absolute;
    width: 0%;
    height: 20%;
    top: 70%;
    left: 0;
    z-index: -2;
    transition: 1s;
}

.bt-txt p span.run::after {
    width: 100%;
}

.bt-txt {
    margin: 91px 0 76px;
}

.bt-txt p {
    text-align: center;
    font-family: 'Noto Sans JP';
    font-size: 30px;
    font-weight: lighter;
    letter-spacing: 0.2em;
    z-index: 2;
}

.bt-link {
    text-align: center;
}

.bt-link a {
    text-decoration: none;
    color: #000;
    border-bottom: 1px solid #000;
}

.bt-link a span {
    padding-bottom: 5px;
}

#loop {
    width: 100%;
    height: 71px;
    background: url(../img/recruit/SMILE_UPDATE_1.png) repeat-x;
    background-position: 0 0;
    background-size: auto 100%;
    -webkit-animation: bgroop 40s linear infinite;
    animation: bgroop 40s linear infinite;
    position: absolute;
    top: 40%;
    transform: translateY(-10%);
    z-index: -1;
}

#loop-bottom {
    width: 100%;
    height: 71px;
    background: url(../img/recruit/SMILE_UPDATE_2.png) repeat-x;
    background-position: 0 0;
    background-size: auto 100%;
    -webkit-animation: bgroop 40s linear infinite;
    animation: bgroop 40s linear infinite;
    position: absolute;
    /*top: 58%;*/
    top: 19%;
    transform: translateY(-10%);
    z-index: -1;
}

@-webkit-keyframes bgroop {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -1956px 0;
    }
}

@keyframes bgroop {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -1956px 0;
    }
}

/* 2022/10追加 */
.office-img {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 4.75rem;
}

.office-img li {
    width: calc(50% - 20px);
    margin: 10px;
}

@media screen and (max-width: 768px) {
    .top {
        margin: 150px auto 0;
    }

    .top-img {
        width: 207px;
        max-height: 164px;
        height: 100px;
        transform: translateY(69px);
    }

    .smile-txt h2 {
        margin-top: 19px !important;
        font-size: 20px;
        font-weight: lighter;
        padding: 0 63px;
    }

    .smile-txt p {
        font-size: 12px;
        font-family: 'Noto Sans JP';
        text-align: start;
        padding: 19px 28px 59px;
    }

    .smile-bt {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 1040px;
        padding: 0 20px;
        margin: 38px auto 0;
        flex-wrap: wrap;
    }

    .smile-bt-img {
        margin: 10px;
        max-width: 158px;
        width: calc(100% / 2 - 20px) !important;
    }

    .bt-txt p {
        font-size: 20px;
        padding: 64px 15px 0;
    }

    .bt-txt {
        margin: 0 0 50px;
    }

    #loop,
    #loop-bottom {
        height: 48px;
    }

    #loop {
        top: 25%;
    }

    #loop-bottom {
        top: 40%;
    }

    .office-img {
        /* margin: 0 -6px 3.75rem; */
        margin: 0;
    }

    .office-img li {
        width: 100%;
        margin: 6px 0;
    }

    .office-img li:last-of-type {
        margin-bottom: 30px;
    }
}