@charset "UTF-8";

.catch-phrase {
    display: flex;
    align-items: center;
    margin: 200px 0 200px 0;
}

.catch-phrase img {
    width: 56%;
    height: 400px;
    object-fit: cover;
    object-position: center 70%;
    border-radius: 0 20px 20px 0;
    margin: 0 8% 0 0;
}

.catch-phrase p {
    font-size: 1.2rem;
    line-height: 2;
}

.profile {
    position: relative;
    margin: 0 auto;
    width: 80%;
    max-width: 1000px;
}

.profile .flex-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.profile .section-title {
    color: #00A882;
}

.profile .text {
    margin: -120px 0 0 0;
}

.profile p {
    margin: 0 0 40px 0;
    line-height: 2;
    font-size: 0.9rem;
}

.profile p:last-of-type {
    margin: 0;
}

.profile .profile-image {
    width: 300px;
    height: 240px;
    object-fit: cover;
    margin: 10px 0 0 0;
    object-position: center 25%;
    border-radius: 20px;
}

.license {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 120px 0 0 0;
}

.license img {
    width: 50%;
    object-fit: cover;
    object-position: left center;
    border-radius: 20px;
}

@media screen and (max-width: 1023px) {
    .catch-phrase p {
        font-size: 1rem;
    }

    .catch-phrase img {
        width: 56%;
        height: 300px;
        object-fit: cover;
        object-position: center 70%;
        border-radius: 0 20px 20px 0;
        margin: 0 40px 0 0;
    }

    #title .item01 img {
        object-position: 50% 40%;
    }

    .profile .flex-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .profile .text {
        margin: 80px 0 0 0;
    }

    .license .section-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 600px) {
    .section-title {
        font-size: 1.4rem;
        margin: 20px 0 0 0;
    }

    .catch-phrase {
        flex-direction: column-reverse;
        margin: 100px 0 100px 0;
    }

    .catch-phrase p {
        text-align: center;
    }

    .catch-phrase img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        object-position: center 70%;
        border-radius: 0;
        margin: 40px 0 0 0;
    }

    .profile {
        width: 90%;
    }

    .profile .section-title {
        font-size: 2rem;
    }

    .profile .profile-image {
        width: 180px;
        height: 120px;
        object-fit: cover;
        margin: 10px 0 0 0;
        object-position: center 25%;
        border-radius: 20px;
    }

    .license {
        position: relative;
        margin: 120px 0 0 0;
    }

    .license .section-title {
        width: 100%;
        margin: 20px 0 40px 0;
    }
    
    .license img {
        position: absolute;
        width: 100%;
        height: 200px;
        top: 340px;
        border-radius: 20px;
    }

    .back-home {
        margin: 340px auto 140px auto;
    }
}