@charset "UTF-8";

a {
    color: #333;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    width: 100%;
    max-width: 100%;
    vertical-align: bottom;
}

/* ------header------ */
header {
    display: flex;
    align-items: center;
    background-color: #4B6CB7;
    background: linear-gradient(250deg, rgba(24, 40, 72, 1) 0%, rgba(75, 108, 183, 1) 100%);
    padding: 26px 0 25px 39px;
    height: 80px;
}

h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    margin-right: 24px;
}

h1 a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

h1 img {
    max-width: 100%;
    max-height: 100%;
}

.header__ul {
    display: flex;
}

.header__li:nth-child(1) {
    margin-right: 36px;
}

.header__li:nth-child(2) {
    margin-right: 37px;
}

.header__li:nth-child(3) {
    margin-right: 36px;
}

.header__li:nth-child(4) {
    margin-right: 39px;
}

.header__li:nth-child(5) {
    margin-right: 35px;
}

.header__li a {
    color: #ffffff;
}

.top-jp {
    font-size: 16px;
}

.top-en {
    font-size: 10px;
    display: block;
    text-align: center;
}

.openbtn1 {
    display: none;
}


/* ------top------ */
#top {
    position: relative;
    height: 688px;
}

#top::after {
    content: "";
    position: absolute;
    top: 0;
    left: 30;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: #4b6cb7 transparent transparent transparent;
    border-width: 688px 700px 0px 0px;
    /* transform: scale(1.5); */
}

.bg__img-fv-fade-in {
    width: 100%;
    height: 688px;
    position: relative;
    overflow: hidden;
}

.bg_img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 688px !important;
    opacity: 0;
    -webkit-animation: slider-1 24s linear infinite;
    animation: slider-1 24s linear infinite;
}

.bg_img:nth-child(1) {
    background-image: url(../img/top-image-1.png);
    animation-delay: -2s;
}

.bg_img:nth-child(2) {
    background-image: url(../img/top-image-2.png);
    animation-delay: 6s;
}

.bg_img:nth-child(3) {
    background-image: url(../img/top-image-3.png);
    animation-delay: 14s;
}

.catchphrase__main {
    position: relative;
    top: 97px;
    font-size: 96px;
    color: #FFFFFF;
    font-family: "Lato-Black";
    letter-spacing: 1.92px;
    text-shadow: 4px 4px 4px #18284880;
    margin: 0 0 21px 174px;
    z-index: 1;
}

.catchphrase__area-top {
    color: #182848;
    font-size: 32px;
    margin: 0 0 0 175px;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60%;
}

.catchphrase__sub-top,
.catchphrase__sub-row {
    position: relative;
    padding-left: 52px;
    height: 64px;
    line-height: 64px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    z-index: 1;
    /* テキストが前面に表示されるようにする */
}

.catchphrase__sub-top {
    display: inline-block;
    background-color: #FFFFFF;
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
    max-width: 360px;
    position: relative;
    z-index: 1;
}

.catchphrase__sub-row {
    display: inline-block;
    background-color: #FFFFFF;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}


.catchphrase__sub-top::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 2px;
    width: 100%;
    height: 2px;
    background: #182848 0% 0% no-repeat padding-box;
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
    z-index: 2;
}

.catchphrase__sub-row {
    width: 518px;
    position: relative;
}

.news__area {
    height: 64px;
    border: 2px solid #182848;
    background-color: #FFFFFF;
}

.news__area a {
    display: flex;
    align-items: center;
}

.news__flex {
    position: absolute;
    bottom: 20px;
    display: flex;
    justify-content: center;
    margin: 0 176px;
}

.news__text-title {
    color: #FFFFFF;
    margin-right: 24px;
    background: #182848;
    clip-path: polygon(0 0, 100% 0, 75% 100%, 0% 100%);
    width: 175px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

time {
    margin-right: 24px;
    font-size: 16px;
}

.announce-tag {
    margin-right: 24px;
    font-size: 12px;
    text-align: center;
    width: 80px;
    border-radius: 6px;
    color: #FFFFFF;
    background-color: #B8614B;
}

.new__text {
    margin-right: 150px;
    font-size: 16px;
}

.span_space {
    background: #182848;
    clip-path: polygon(35% 0, 100% 0, 100% 100%, 0% 100%);
    width: 120px;
    height: 64px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-left {
    animation: slide-left 0.5s ease-out 0s 1 forwards;
}

@keyframes slide-left {

    0% {
        transform: translateX(-5%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


.slide-up {
    animation: slide-up 0.5s ease-out 0s 1 forwards;
}

@keyframes slide-up {

    0% {
        transform: translateY(5%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slider-1 {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    4.16% {
        opacity: 1;
    }

    33.33% {
        opacity: 1;
    }

    41.66% {
        opacity: 0;
        transform: scale(1.2);
    }

    100% {
        opacity: 0;
    }
}



/* ------service------ */
#services {
    margin-bottom: 160px;
    position: relative;
}

#services::before {
    content: "";
    clip-path: polygon(0 0, 87% 0%, 57% 100%, 0% 100%);
    background-color: #F0F0F0;
    position: absolute;
    top: -30px;
    width: 90%;
    height: 435px;
    z-index: -50;
}

#services::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent transparent #f0f0f0 transparent;
    border-width: 0px 0px 203px 175px;
}

.services__inner {
    display: flex;
    margin-top: 160px;
}

.services__img-area {
    max-width: 620px;
}

.services__inner img {
    width: 100%px;
}

.services__text-area {
    margin-left: 47px;
}

.contents__title-area-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.services_catchphrase {
    font-size: 32px;
    margin-top: 33px;
    margin-bottom: 21px;
}

.services__text {
    font-size: 16px;
    margin-bottom: 26px;
}



/* ------about------ */
.bg__img {
    background-image: url(../img/background-image-about.jpg);
    background-size: cover;
    margin-bottom: 160px;
    padding: 40px 0;
}

.about__text-area {
    background-color: #FFFFFF;
    width: 504px;
    margin-left: 175px;
    padding: 37px 48px 48px;
}

.about__text {
    text-align: left;
    font-size: 16px;
    letter-spacing: 0.32px;
    color: #191919;
    margin: 53px 0 48px;
}

.left {
    margin-bottom: 32px;
    margin: 0 30px 32px 0;
}


/* ------works------ */
#works {
    margin-bottom: 160px;
    position: relative;
}

#works::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent transparent transparent #f0f0f0;
    border-width: 350px 0px 0px 408px;
    z-index: 1;
}

#works::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent #f0f0f0 transparent transparent;
    border-width: 0px 350px 408px 0px;
    z-index: 1;
}

.catchphrase__area {
    text-align: center;
    margin: 28px 0 54px;
    position: relative;
    z-index: 2;
}

.contents__catchphrase {
    font-size: 32px;
    margin-top: 28px;
    margin-bottom: 26px;
}

.contents__text {
    font-size: 16px;
    margin-bottom: 54px;
}

.works__flex-area {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.works__flex-item {
    max-width: 472px;
    box-shadow: 0px 0px 10px #19191940;
}

.works__flex-item:nth-child(1) {
    margin-right: 20px;
}

.works__flex-item:nth-child(2) {
    margin-left: 20px;
}

.number {
    width: 56px;
    height: 56px;
    font-size: 24px;
    color: #FFFFFF;
    text-align: center;
    line-height: 56px;
    background-color: #182848;
    position: relative;
    top: -20px;
    left: 42px;
}

.works__flex-item img {
    width: 100%;
}

.works__flex-textarea {
    padding: 23px 24px 16px;
}

.works__item-title {
    font-size: 24px;
    color: #B8614B;
    margin-bottom: 25px;
}

.work__item-text {
    font-size: 16px;
    color: #191919;
    text-align: left;
    letter-spacing: 0.32px;
}


/* ------recruit------ */
#recruit {
    background-color: #F0F0F0;
    padding-top: 57px;
    padding-bottom: 80px;
}


.recruit__item-container {
    display: flex;
    justify-content: center;
    margin-top: 57px;
    margin-bottom: 64px;
}

.recruit__item-know,
.recruit__item-oneday,
.recruit__item-offer {
    max-width: 312px;
}

.recruit__item-know {
    margin-top: 80px;
}

.recruit__item-oneday {
    margin: 40px 36px 0;
}

.recruit__item-btn {
    font-size: 16px;
    color: #ffffff;
    background-color: #182848;
    opacity: 0.64;
    padding: 17px 0 18px 16px;
    width: 264px;
    position: relative;
    right: -60px;
    top: -35px;
}



/* ------contact------ */
#contact {
    background-image: url(../img/bckground-image-contact.jpg);
    height: 411px;
    background-size: cover;
    padding: 68px 0 75px;
}

.contact__title-area {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 38px;
}

.white__title {
    font-size: 48px;
    color: #FFFFFF;
    margin-right: 8px;
}

.white__title::after {
    border: 1px solid #FFFFFF;
}

.white__sub-title {
    font-size: 24px;
    color: #FFFFFF;
    margin-left: 8px;
}

.contact__text {
    font-size: 16px;
    color: #FFFFFF;
    text-align: center;
    letter-spacing: 0.32px;
    margin-bottom: 53px;
}

.btn__area {
    text-align: center;
}

.contact__left-btn,
.contact__right-btn {
    max-width: 320px;
    padding: 23px 96px 14px;
}

.contact__left-btn {
    width: 320px;
    background-color: #B8614B;
    font-size: 16px;
    color: #FFFFFF;
    margin-right: 40px;
    padding: 24px 63px;
}

.contact__right-btn {
    width: 320px;
    background-color: #191919;
    font-size: 16px;
    color: #FFFFFF;
    margin-left: 40px;
    padding: 24px 63px;
}


/* ------footer__nav------ */
#footer__nav {
    background-color: #182848;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding: 85px 175px 105px 175px;
}

.footer__nav-row-logo-img {
    max-width: 160px;
    margin-bottom: 36px;
}

.footer__nav-top-ul {
    writing-mode: vertical-rl;
    letter-spacing: 3.2px;
}

.footer__nav-top-li {
    font-size: 16px;
}

.footer__nav-top-li a {
    color: #ffffff;
    font-size: 16px;
}

.address {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 16px;
}

.footer__nav-top-ul {
    writing-mode: vertical-rl;
    letter-spacing: 3.2px;
}

.footer__nav-top-li {
    margin-left: 24px;
}

.footer__nav-top-li:nth-child(2) {
    margin-left: 40px;
}

.footer__nav-top-li:nth-child(3) {
    margin-right: 40px;
}


/* ------footer------ */
.footer {
    color: #FFFFFF;
    font-size: 12px;
    background-color: #191919;
    padding: 22px 0 23px 175px;
    text-align: left;
}



@media (max-width: 768px) {

    /* ------header------ */
    header {
        justify-content: space-between;
        padding: 15px 20px;
    }

    .header__ul {
        display: none;
    }

    .openbtn1 {
        display: block;
        position: relative;
        cursor: pointer;
        width: 50px;
        height: 50px;
        border-radius: 5px;
    }

    .openbtn1 span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: #ffffff;
    }

    .openbtn1 span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn1 span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn1 span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn1.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn1.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn1.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .openbtn1.active+#g-nav {
        display: block;
    }

    .white__title {
        font-size: 32px;
    }

    .white__sub-title {
        font-size: 20px;
    }

    .black__title {
        font-size: 32px;
        margin-right: 8px;
    }

    .black__sub-title {
        font-size: 20px;
        margin-left: 8px;
    }


    /* ------top------ */
    #top {
        background: transparent linear-gradient(90deg, #4B6CB7 0%, #182848 100%) 0% 0% no-repeat padding-box;
opacity: 1;

    }
    #top::after {
        content: "";
        position: absolute;
        border-style: none;
    }

    .bg_img:nth-child(1),
    .bg_img:nth-child(2),
    .bg_img:nth-child(3) {
        display: none;
    }

    .news__flex {
        margin: 0 20px 0;
        position: initial;
        display: flex;
        justify-content: flex-start;
        position: absolute;
        bottom: 5%;
    }

    .catchphrase__main {
        font-size: 48px;
        max-width: 327px;
        margin: 0 28px 23px 20px;
    }

    .catchphrase__area-top {
        margin: 0 0 0 20px;
        font-size: 20px;
        width: 100%;

    }
    .catchphrase__sub-top {
        padding-left: 24px;
        max-width: 208px;
    }
    .catchphrase__sub-row {
        padding-left: 24px;
        max-width: 308px;
    }
    .news__text-title {
        width: 74px;
        height: 22px;
        font-size: 14px;
        position: absolute;
        top: -40%;
        margin-right: 0;
        clip-path: polygon(0 0, 75% 0, 100% 100%, 0% 100%);
        margin-top: 0;
        padding: 0;
    }
    .news__area {
        margin-bottom: 0; /* 追加: 下の余白をゼロに */
        padding-bottom: 0; /* 追加: パディングをゼロに */
        position: relative; 
        bottom: 13%;
    }
    .announce-tag {
        margin-right: 6px;
        font-size: 12px;
        text-align: center;
        width: 65px;
        border-radius: 6px;
        color: #FFFFFF;
        background-color: #B8614B;
    }
    time {
        font-size: 14px;
        margin-right: 6px;
        padding-left: 8px;
    }
    .new__text {
        font-size: 14px;
        margin-right: 6px;
    }
    .span_space {
        display: none;
    }






    /* ------service------ */
    .services__inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 120px;
    }

    .services__img-area {
        width: 100%;
        max-width: initial;
        margin-bottom: 32px;
    }

    .services__text-area {
        margin-left: 20px;
    }

    .services_catchphrase {
        padding-left: 0;
    }

    #services::before {
        content: "";
        clip-path: polygon(0 0, 80% 0%, 50% 100%, 0% 100%);
        background-color: #F0F0F0;
        position: absolute;
        top: 32%;
    }

    #services::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 0;
        height: 0;
        border-style: solid;
        border-color: transparent transparent #f0f0f0 transparent;
        border-width: 0px 0px 134px 63px;
    }


    /* ------about------ */
    .bg__img {
        background-image: none;
        margin-bottom: 120px;
    }

    .pc_none {
        background-image: url(../img/background-image-about.jpg);
        height: 248px;
        margin: 0 20px 32px;
    }

    .about__text-area {
        margin-left: 20px;
        padding: 0;
        width: auto;
    }

    .about__text-area img {
        display: none;
    }

    .about__text {
        font-size: 14px;
        margin: 27px 0 19px;
    }




    /* ------works------ */
    #works {
        position: relative;
    }

    #works::before {
        content: "";
        position: absolute;
        bottom: 84%;
        border-style: solid;
        border-width: 0px 104px 222px 0px;
        border-color: transparent #F0F0F0 transparent transparent;
        transform: scaleX(-1);
        /* 左右反転 */
        z-index: 1;
    }

    #works::after {
        content: "";
        position: absolute;
        top: 85%;
        border-width: 222px 104px 0px 0px;
        border-color: transparent #F0F0F0 transparent transparent;
        z-index: 1;
    }

    .contents__title-area {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 35px;
        position: relative;
        z-index: 2;
    }

    .catchphrase__area {
        margin: 23px 0 27px;
        padding-left: 20px;
        text-align: left;
        position: relative;
        z-index: 2;
    }

    .contents__catchphrase {
        font-size: 24px;
    }

    .contents__text {
        font-size: 14px;
        margin-bottom: 27px;
    }

    .works__flex-area {
        display: flex;
        flex-direction: column;
    }

    .works__flex-item {
        box-shadow: none;
        max-width: initial;
    }

    .works__flex-item:nth-child(2) {
        margin: 0;
        max-width: initial;
    }

    .works__item-title {
        font-size: 20px;
    }

    .works__item-text {
        font-size: 14px;
    }

    .number {
        width: 64px;
        height: 40px;
        font-size: 20px;
        line-height: 40px;
        top: 214px;
        left: 0;
    }





    /* ------recruit------ */
    #recruit {
        padding: 112px 0 120px;
    }

    .recruit__item-container {
        display: flex;
        flex-direction: column;
    }

    .recruit__item-know,
    .recruit__item-oneday,
    .recruit__item-offer {
        max-width: initial;
        position: relative;
    }

    .recruit__item-know {
        margin-top: 0;
    }

    .recruit__item-oneday {
        margin: 0;
    }

    .recruit__item-btn {
        background-color: transparent;
        position: absolute;
        top: 90%;
        right: 70%;
    }


    /* ------contact------ */
    .contact__text {
        font-size: 16px;
        width: 100%;
        text-align: left;
        margin: 0 auto 30px;
        padding: 0 20px;
    }

    .btn__area {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-content: center;

    }

    .contact__left-btn {
        margin-right: 0;
        padding: 16px 12px;
        margin-bottom: 24px;
    }

    .contact__right-btn {
        margin-left: 0;
        padding: 16px 12px;
    }




    /* ------footer__nav-top-li------ */
    #footer__nav {
        display: flex;
        flex-direction: column;
        padding: 37px 20px 30px 20px;
    }

    .footer__nav-top {
        margin-bottom: 78px;
    }

    .footer__nav-top-ul {
        writing-mode: inherit;
    }

    .footer__nav-top-li {
        margin-left: 0;
        margin-bottom: 18px;
    }

    .footer__nav-top-li:nth-child(2) {
        margin-left: 0;
        margin-bottom: 19px;
    }

    .footer__nav-top-li:nth-child(3) {
        margin-left: 0;
        margin-bottom: 19px;
    }

    .footer__nav-top-li:nth-child(4) {
        margin-left: 0;
        margin-bottom: 59px;
    }

    .footer__nav-top-li:nth-child(5) {
        margin-left: 0;
        margin-bottom: 18px;
    }

    .footer__nav-top-li a {
        color: #ffffff;
        font-size: 14px;
    }

    .address {
        color: #ffffff;
        font-size: 14px;
    }

    .footer__nav-row-logo-img {
        margin-bottom: 19px;
    }

    /* ------footer */
    .footer {
        font-size: 10px;
        padding: 13px 0 15px 20px;
    }
}