@charset "utf-8";

/* 班紹介 */
main .group-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 50px auto;
}

main .group-intro div {
    margin: 10px auto;
    width: 60vw;

    line-height: 2;
    margin: 10px auto;
}

main .group-intro div h3 {
    font-size: 20px;
    font-weight: bold;
    color: #174974;
    margin: 15px 0;
}

main .group-intro div p {
    font-size: 15px;
    margin: 5px 0;
}

main .group-intro div span {
    font-weight: bold;
}

main .group-intro div li {
    list-style: circle;
    margin-left: 40px;
    padding-left: 10px;
}

main .experience .member_experience .member {
    display: flex;
    flex-direction: row;
}

main .experience .member_experience .member .name_photo {
    width: 20vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main .experience .member_experience .member .name_photo h4 {
    font-size: 16px;
    font-weight: 500;
}

main .experience .member_experience .member .name_photo img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}

main .experience .member_experience .member .speech_bubble p {
    padding: 2.5px 5px;
}

main .experience .member_experience .member .speech_bubble {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
    width: 35vw;
    margin-left: 5vw;
    padding: .8em 1.2em;
    border-radius: 15px;
    background-color: #dce7f9;
    color: #333333;
}

main .experience .member_experience .member .speech_bubble::before {
    position: absolute;
    top: 50%;
    /* 左辺の50%の位置からスタート */
    transform: translateY(-50%);
    /* 高さの半分だけ上に移動して中央に揃える */
    left: -20px;
    width: 20px;
    height: 30px;
    background-color: #dce7f9;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    content: '';
}

/*応募リンク*/
main .link {
    background-color: rgba(166, 166, 214, 0.089);
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

main .link h2 {
    background-color: #020d16;
    color: #fff;
    border-radius: 4px;
    width: 500px;
    height: 90px;
    margin: 30px 0;

    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #fff;

    position: relative;
    /* For animation */
    background-image: linear-gradient(to left, #020d16 50%, #174974 50%);
    background-size: 200% 100%;
    background-position: right;
    transition: 1s;
}

main .link h2:hover {
    background-position: left;
    /* Slide the background to the left */
}

main .link h2 a {
    text-decoration: none;
}

main .link h3 {
    margin-top: 20px;
    font-size: 20px;
    text-align: center;
}


/* Tablet Size */
/* Smartphone View */
@media screen and (max-width: 840px) {



    /* 班紹介 */
    main .group-intro {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 30px auto;
    }

    main .group-intro div {
        margin: 10px auto;

        line-height: 2;
        margin: 10px auto;
    }

    main .group-intro div h3 {
        font-size: 20px;
        font-weight: bold;
        color: #174974;
        margin: 15px 0;
    }

    main .group-intro div p {
        font-size: 15px;
        margin: 5px 0;
    }

    main .group-intro div li {
        list-style: circle;
        margin-left: 40px;
        padding-left: 10px;
    }

    main .group-intro div {
        margin: 10px auto;
        width: 80vw;

        line-height: 2;
        margin: 10px auto;
    }


    main .experience .member_experience .member {
        display: flex;
        flex-direction: column;
    }

    main .experience .member_experience .member .name_photo {
        width: 80vw;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    main .experience .member_experience .member .name_photo h4 {
        font-size: 16px;
        font-weight: 500;
    }

    main .experience .member_experience .member .name_photo img {
        max-width: 40vw;
    }

    main .experience .member_experience .member .speech_bubble p {
        padding: 2.5px 5px;
    }

    main .experience .member_experience .member .speech_bubble {
        display: flex;
        flex-direction: column;

        align-items: center;
        position: relative;
        width: 70vw;
        margin-top: 15px;
        padding: .8em 1.2em;
        border-radius: 15px;
        background-color: #dce7f9;
        color: #333333;
    }

    main .experience .member_experience .member .speech_bubble::before {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: -15px;
        width: 30px;
        height: 15px;
        background-color: #dce7f9;
        clip-path: polygon(50% 0, 0 100%, 100% 100%);
        content: '';
    }

    /*応募リンク*/
    main .link {
        background-color: rgba(166, 166, 214, 0.089);
        height: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    main .link h2 {
        background-color: #020d16;
        color: #fff;
        border-radius: 4px;
        width: 80vw;
        height: 90px;
        margin: 30px 0;

        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 30px;
        color: #fff;
    }

    main .link h2 a {
        text-decoration: none;
    }

    main .link h3 {
        margin-top: 20px;
        font-size: 15px;
        text-align: center;
    }
}