@import url("../tokens.css");

.top-page {

    .content-inner {
        padding: 4rem 2rem;
    }

    .btn-viewmore {
        padding: 16px 60px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        border-radius: 10px;
        color: #4d4d4d;
        font-weight: bold;
        margin: 0 20px 80px;
        display: inline-block;
    }

    .btn-viewmore:hover {
        background-color: var(--c-primary);
        color: #ffffff;
    }

    h2 {
        font-size: 6rem;
    }

    /* hero-container
================================================*/

    .hero-container {
        position: relative;
        width: 100%;
        height: 70vh;
        border-bottom-left-radius: 100% 30%;
        border-bottom-right-radius: 100% 30%;
        overflow: hidden;
    }

    .back-video {
        position: absolute;
        right: 0;
        bottom: 0;
        min-width: 100%;
        min-height: 100%;
        z-index: -1;
        object-fit: cover;
    }

    .hero-text {
        position: absolute;
        width: 40%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }


    .content-inner {
        display: flex;
        justify-content: center;
        gap: 40px;
        max-width: 900px;
        align-items: center;
    }


    /* TOPICS
================================================*/

    /* .row-reverse {
        flex-direction: row-reverse;
    } */



    .section-tiltes {
        color: var(--c-primary);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 300px;
    }

    .bk-img-topics {
        width: 44em;
        background-image: url("/img/home/back_Topics.png");
        background-size: 16em auto;
        background-position: center;
        background-repeat: no-repeat;
    }

    .topics li {
        display: flex;
        margin-bottom: 1rem;
    }

    .date {
        padding-right: 1rem;
    }

    .catchphrase {
        font-size: x-large;
        font-family: "Lucida Bright", serif;
        border-bottom: solid 2px var(--c-footer);
        margin-bottom: 20px;
    }

    /* ABOUT
================================================*/


    .about-inner {
        flex-direction: row-reverse;
    }

    .bk-img-about {
        width: 44em;
        background-image: url("/img/home/back_About.png");
        background-size: 16em auto;
        background-position: center;
        background-repeat: no-repeat;
    }

    .about-text {
        display: flex;
        align-items: center;
        padding: 0 20px;
        justify-content: center;
    }

    .about-text img {
        height: 3em;
        padding: 0 10px 0 0;
    }



    /* BUSINESS
================================================*/

    .business-text {
        display: flex;
        align-items: center;
        width: 44em;
        justify-content: center;
        flex-direction: column;
    }

    .bk-img-business {
        width: 44em;
        background-image: url("/img/home/back_Business.png");
        /* background-size: 16em auto; */
        background-size: 20em auto;
        background-position: center;
        background-repeat: no-repeat;
    }




    .business-text-title {
        font-weight: bold;
    }

    .business-inner ul {
        display: block;
        margin: 20px;
    }

    .business-before,
    .business-after {
        height: 3rem;
    }

    .business-icon {
        max-height: 60px;
    }

    /* RECRUIT
================================================*/

    .recruit-inner {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        flex-direction: row-reverse;
    }

    .bk-img-recruit {
        width: 44em;
        background-image: url("/img/home/back_Recruit.png");
        background-size: 16em auto;
        background-position: center;
        background-repeat: no-repeat;

        min-height: 130px;
        display: flex;
        justify-content: center;
    }

    .recruit-text {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 50px;

    }

    .c-graduate,
    .c-career {
        height: 100px;
        width: 30px;
    }

    .c-graduate {
        background-color: #60c6d4;
        border-radius: 50px 0 0 50px;
    }

    .c-career {
        background-color: #62a9d8;
        border-radius: 0 50px 50px 0;
    }



    /* CONTACT
================================================*/

    .content-contact .contact-inner {
        flex-direction: column;
        gap: 10px;
    }

    .btn-content {
        display: flex;
        align-items: center;
        gap: 20px;

        background-color: var(--c-primary);
        color: #ffffff;
        font-weight: bold;

        padding: 16px 60px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        border-radius: 10px;

        margin: 0 20px 20px;
    }

    .contact-icon_01,
    .contact-icon_02 {
        width: 40px;
    }


    .btn-content:hover {
        background-color: #ffffff;
        color: var(--c-primary);
    }

    .contact-icon_02 {
        display: none;
    }

    .btn-content:hover .contact-icon_01 {
        display: none;
    }

    .btn-content:hover .contact-icon_02 {
        display: block;
    }


    .contact-text {
        color: var(--c-primary);
        font-weight: bold;
    }

    /* SP
================================================*/
    @media screen and (max-width: 767px) {

        .hero-text {
            width: 60%;
        }

        .content-inner {
            padding: 2rem 2rem;
            flex-direction: column;
        }

        .bk-img-topics,
        .bk-img-about,
        .bk-img-business,
        .business-text,
        .bk-img-recruit {
            width: 100%;
        }

        .topics-inner h2 {
            padding-right: 0px;
        }

        .topics li {
            flex-direction: column;
        }


        .about-inner {
            flex-direction: column;
        }

        .catchphrase {
            font-size: larger;
        }

        .c-graduate,
        .c-career {
            height: 30px;
            width: 100%;
        }

        .recruit-inner:before {
            top: 0;
        }

        .recruit-inner:after {
            bottom: 20px;
        }

        .recruit-text {
            gap: 20px;
        }

        .geometric-morph {
            width: 60px;
            height: 60px;
        }

        .c-career {
            border-radius: 100px 100px 0 0;
        }

        .c-graduate {
            border-radius: 0 0 100px 100px;
        }


        .content-contact .contact-inner {
            padding: 4rem 2rem 8rem;
        }

        .btn-content {
            padding: 16px 32px;
            margin: 0;
        }


    }

    @media screen and (max-width: 375px) {
        .about-text div {
            font-size: smaller;
        }
    }
}


/* RECRUIT-animation
================================================*/

.geometric-morph {
    position: relative;
    width: 80px;
    height: 80px;
    /* background: linear-gradient(135deg, #60c6d4, #62a9d8); */
    opacity: 0.5;
    background: linear-gradient(135deg, #b0ebf3, #0077c5);
    animation: morph 5s ease-in-out infinite;
}

@keyframes morph {

    0%,
    100% {
        border-radius: 20%;
        transform: rotate(0deg) scale(1);
    }

    25% {
        border-radius: 50%;
        transform: rotate(90deg) scale(0.9);
    }

    50% {
        border-radius: 5%;
        transform: rotate(180deg) scale(1.1);
    }

    75% {
        border-radius: 50%;
        transform: rotate(270deg) scale(0.9);
    }
}
