/*---▼ローディング画面▼---*/

.logo_fadein {
    background: #ebf2f5;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 999;
}

.logo_fadein .loading {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .logo_fadein .loading {
        width: 250%;
    }
}


/*アニメーション*/

.header_inner {
    animation: fadeIn 1s ease 1 normal backwards;
    animation-delay: 2s;
}

@keyframes fadeIn {
    from {
        transform: translateY(-150px);
    }
    to {
        transform: translateY(0);
    }
}

@media screen and (max-width: 768px) {
    .header_inner {
        animation: none;
    }
}


/*---▼ファーストビュー▼---*/

.fv_wrap {
    padding-top: 0;
    margin: auto;
    width: 95%;
}

.fv_inner {
    position: relative;
    height: 42.75rem;
    border-bottom: none !important;
}

.fv_inner .bk-logo {
    position: absolute;
    width: 29.5rem;
    height: 34.375rem;
    flex-shrink: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    transform: scale(0);
    animation: zoomIn 1s ease-in-out forwards;
    animation-delay: 2s;
}

@keyframes zoomIn {
    to {
        transform: scale(1);
    }
}

.fv_inner .txt_sec {
    position: absolute;
    bottom: 3.81rem;
}

h1.title {
    color: #131F33;
    font-family: "Noto Sans JP";
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 160%;
    display: block;
}

h1.title img {
    width: 1.4375rem;
    height: 3.8125rem;
    flex-shrink: 0;
    display: inline-block;
    margin: 0 1rem;
}

.fv_inner p {
    margin-top: 2.5rem;
    font-size: 1.375rem;
    font-weight: 500;
    line-height: 180%;
}

section {
    padding-top: 8.5rem;
}


/*スクロロールダウン*/

.scroll_down {
    width: 100%;
    height: 100vh;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.scroll_down:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(180deg, rgba(#000, 0) 0, rgba(#000, .8) 80%, rgba(#000, .8) 100%);
}

.scroll_down a {
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 40px;
    padding: 10px 10px 175px;
    color: #E00522;
    text-align: center;
    font-family: "Barlow Semi Condensed";
    font-size: 1rem;
    font-weight: 600;
    line-height: 150%;
    text-decoration: none;
    writing-mode: vertical-lr;
    transition: .2s;
    overflow: hidden;
    margin: auto;
}

.scroll_down a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 161px;
    background: #131F333B;
}

.scroll_down a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 161px;
    background: #131F33;
}

.scroll_down a:hover {
    opacity: .5;
}

#type01 a:after {
    animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl01 {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }
    50% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }
    50.1% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }
    100% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding-top: 3.94rem;
    }
    .fv_wrap {
        width: auto;
    }
    h1.title {
        font-size: 2.125rem;
    }
    .fv_inner .txt_sec {
        left: 1rem;
        right: 1rem;
    }
    .fv_inner p {
        font-size: 1rem;
        line-height: 200%;
    }
    .fv_inner .bk-logo {
        width: 18.65rem;
        height: 21.3125rem;
    }
    .scroll_down {
        display: none;
    }
    .fv_inner {
        height: 36.75rem;
    }
    .fv_inner .txt_sec {
        bottom: -2.19rem;
    }
}


/*---▼バナー一覧▼---*/

@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.scroll-infinity {
    margin-top: -1.4rem;
}

.scroll-infinity__wrap {
    display: flex;
    overflow: hidden;
}

.scroll-infinity__list {
    display: flex;
    list-style: none;
    padding: 0
}

.scroll-infinity__list--left {
    animation: infinity-scroll-left 30s infinite linear 0.5s both;
}

.scroll-infinity__list--left .scroll-infinity__item>img {
    width: 1809px;
}

@keyframes infinity-scroll-right {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0%);
    }
}

.scroll-infinity__list--right {
    animation: infinity-scroll-right 30s infinite linear 0.5s both;
}

.scroll-infinity__list--right .scroll-infinity__item>img {
    width: 1546px;
}

.scroll-infinity__wrap.right {
    margin-top: -1rem;
}

@media screen and (max-width: 768px) {
    .scroll-infinity {
        margin-top: 2.5rem;
    }
    .scroll-infinity__list--left .scroll-infinity__item>img {
        width: 1225.72px;
    }
    .scroll-infinity__list--right .scroll-infinity__item>img {
        width: 1048px;
    }
}


/*---▼サービス紹介▼---*/

#service h2 {
    color: #7BA9C366;
    font-family: "Barlow Semi Condensed";
    font-size: 5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    display: flex;
    gap: 1.5rem;
    align-items: baseline;
}

#service h2 span {
    color: #131F33;
    font-size: 1rem;
}

#service h3 {
    color: #131F33;
    font-size: 2rem;
    line-height: 170%;
    font-weight: 400;
    margin: 3rem 0;
}

#service h3 span {
    color: #E00522;
}

#service p.txt_sec {
    line-height: 200%;
    width: 48.375rem;
}

#service .content_sec {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

#service .content_sec>div {
    flex: 1;
}

#service .content_sec>div .img_sec {
    height: 19.5rem;
}

#service .content_sec>div .img_sec img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
}

#service .content_sec>div .text_sec {
    margin: 1.5rem 0;
    padding-right: 2rem;
}

#service .content_sec>div .text_sec h4 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 160%;
    display: flex;
    gap: 1.25rem;
}

#service .content_sec>div .text_sec h4 span {
    color: #E00522;
    font-family: "Barlow Semi Condensed";
}

#service .content_sec>div .text_sec p {
    color: #212429;
    font-size: 0.875rem;
    line-height: 180%;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

@media screen and (max-width: 768px) {
    #service .content_sec {
        display: block;
    }
    #service h2 {
        font-size: 4rem;
        gap: 0.5rem;
    }
    #service h2 span {
        font-size: 0.875rem;
    }
    #service h3 {
        font-size: 1.75rem;
        margin: 2rem 0;
    }
    #service p.txt_sec {
        font-size: 0.875rem;
        width: auto;
    }
    #service .content_sec>div .img_sec {
        height: 17.64538rem;
    }
    #service .content_sec>div .text_sec {
        padding-right: 0;
    }
}


/*---▼新着情報▼---*/

#news h2 {
    color: #7BA9C366;
    font-family: "Barlow Semi Condensed";
    font-size: 5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    display: flex;
    gap: 1.5rem;
    align-items: baseline;
}

#news h2 span {
    color: #131F33;
    font-size: 1rem;
}

#news .flex_sec {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem 0 2.5rem 0;
}

#news .news_sec>a {
    width: calc(100% / 3 - 1.5rem);
}

#news .news_sec>a {}

#news .img_sec {
    width: 23.54169rem;
    height: 13.24219rem;
    cursor: pointer;
    overflow: hidden;
}

#news .img_sec img {
    width: 23.54169rem;
    flex-shrink: 0;
    object-fit: cover;
    height: 13.24219rem;
    transition: transform .6s ease;
}

#news .img_sec:hover img {
    transform: scale(1.1);
    /* 拡大 */
}

#news .text_sec {
    width: calc(100%- 17.20831rem - 2.5rem);
}

#news .data {
    color: #131F33;
    font-size: 0.82769rem;
    line-height: 200%;
    display: flex;
    gap: 0.88rem;
    padding-top: 1rem;
}

#news .text_sec p.title {
    font-weight: 700;
    line-height: 200%;
    padding: 0.69rem 0;
}

#news .text_sec .tag_sec {
    display: flex;
    gap: 0.83rem;
}

#news .text_sec .tag_sec p {
    font-weight: 400;
    font-size: 0.82769rem;
    padding: 0;
}

@media screen and (max-width: 768px) {
    #news h2 {
        font-size: 4rem;
        gap: 0.5rem;
    }
    #news h2 span {
        font-size: 0.875rem;
    }
    #news .flex_sec {
        display: block;
    }
    #news .flex_sec {
        width: auto;
        margin-bottom: 3rem;
        padding-bottom: 0;
    }
    #news .news_sec>a {
        border-bottom: none;
        display: block;
        padding: 0;
        width: auto;
        padding-top: 2.5rem;
    }
    #news div .img_sec {
        width: 100%;
        height: 12.02344rem;
        flex-shrink: 0;
    }
    #news div .img_sec img {
        width: 100%;
        height: 12.02344rem;
        object-fit: cover;
        object-position: center;
    }
    #news .news_sec>a:first-child {
        border-top: none;
    }
    #news .text_sec {
        width: auto;
        margin-top: 1rem;
    }
    #news .data {
        padding-top: 0;
    }
    #news .text_sec p.title {
        padding: 0.25rem 0;
    }
}


/*---▼企業情報＆採用情報▼---*/

.link_sec .content_sec {
    display: flex;
}

.link_sec .content_sec>div {
    flex: 1;
    position: relative;
    height: 22.5625rem;
}

.link_sec .content_sec>div .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.link_sec .content_sec>div .content h2 {
    color: #FFFFFFB2;
    margin-bottom: 4rem;
    font-family: "Barlow Semi Condensed";
    font-size: 5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
}

.link_sec .content_sec>div .content h2 span {
    color: #fff;
    font-size: 1rem;
}

.company_sec {
    background-image: url(../img/common/company_sec_bk.webp);
    margin-left: calc(50% - 50vw);
    padding-right: 5.63rem;
    padding-left: calc(50vw - 50% + 5.63rem);
    object-fit: cover;
    background-size: 100%;
    background-repeat: no-repeat;
}

.recruit_sec {
    background-image: url(../img/common/recruit_sec_bk.webp);
    margin-right: calc(50% - 50vw);
    padding-left: 5.63rem;
    padding-right: calc(50vw - 50% + 5.63rem);
    object-fit: cover;
    background-size: 100%;
    background-repeat: no-repeat;
}

@media screen and (max-width: 1440px) {
    .company_sec,
    .recruit_sec {
        background-size: auto 22.5625rem;
    }
    .link_sec .content_sec>div .content {
        padding-left: 5rem;
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .link_sec .content_sec {
        display: block;
    }
    .link_sec {
        padding-top: 6.5rem;
    }
    .link_sec h2 {
        font-size: 4rem;
        font-style: normal;
        font-weight: 400;
        line-height: 100%;
    }
    .link_sec .content_sec>div .content h2 {
        margin-bottom: 2rem;
    }
    .link_sec .wrap {
        padding: 0;
    }
    .link_sec .content_sec>div {
        position: relative;
        height: 17.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .company_sec {
        margin-left: 0;
        padding-right: 0;
        padding-left: 0;
        background-size: auto 17.5rem;
    }
    .recruit_sec {
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        background-size: auto 17.5rem;
    }
    .link_sec .content_sec>div .content {
        position: absolute;
        top: auto;
        left: auto;
        transform: none;
        -webkit-transform: none;
        -ms-transform: none;
        padding-left: 0;
        width: auto;
    }
    .link_sec .content_sec>div .content h2 span {
        font-size: 0.875rem;
        padding-left: 0.5rem;
    }
    .link_sec .content_sec>.recruit_sec .content {
        width: 95%;
    }
}
