@charset "UTF-8";
.research {
    &>.bg {
        top: 46%;
    }
    .copywriting {
        padding: 1.5em 1em 0em;
        .bg {
            height: 85%;
        }
    }
    .container {
        padding-bottom: 5em;
    }
    &__list {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        width: 70em;
        margin: 0 auto;
    }
    &__item {
    width: em(340);
        margin: 0 1em 3em;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        cursor: pointer;
        &:hover {
            .research__pic {
                box-shadow: 0 0 1em rgba($blue, 0.3);
                border: 0.2em solid $green-d;
                transition: box-shadow 0.3s;
            }
            .research__name {
                animation: pulse 1.5s infinite;
            }
        }
    }
    &__pic {
        border: 0.1em solid rgba($blue, 0.3);
        box-shadow: 0.4em 0.4em 0.6em rgba(#000, 0.1);
        border-radius: 0.5em;
        width: 15em;
        overflow: hidden;
        margin-bottom: 1.5em;
        img {
            width: 100%;
            height: auto;
        }
    }
    &__name {
        display: inline-block;
        border-radius: 1.5em;
        padding: 0.6em 1em;
        box-shadow: 0 0 0 1em transparent;
        background-color: $green-d;
        cursor: pointer;
        p {
            text-align: center;
            color: $green-d;
            font-size: 1.2em;
            color: $white;
            line-height: 1;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            span {
                display: inline-block;
                font-size: 0.6em;
                margin: 0.2em 0.2em 0;
                line-height: 1;
            }
        }
    }
    @keyframes pulse {
        0% {
            box-shadow: 0 0 0 0 $green-d;
        }
    }
}

@media screen and (max-width: 992px) {
    .research {
        .container {
            padding: 0;
            padding-bottom: 10em;
        }
        .copywriting {
            padding: 3em 0 3em;
        }
        &__list {
            width: 100%;
        }
        &__item {
            margin: 0 0 3em;
            width: 30em;
            &:hover {
                .research__pic {
                    border: 0.4em solid $green-d;
                }
            }
        }
        &__pic {
            width: 25em;
            border-radius: 1.5em;
            box-shadow: 1em 1em 2em rgba(#000, 0.1);
            margin-bottom: 2em;
        }
        &__name {
            border-radius: 2.5em;
            padding: 0.8em 2.5em;
            p {
                font-size: 1.75em;
                white-space: nowrap;
            }
        }
    }
}