#undergrads {
    #sec-title {
        position: relative;
        height: 480px;
        background-color: #FFCD9A;
        
        .background-img {
            height: 100%;
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .title-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;

            &.with-overlay {
                backdrop-filter: blur(2px);
                background: rgba(0, 0, 0, 0.2);
            }

            .title-text {
                height: 100%;
                flex: 1;
                /* display: flex;
                flex-direction: column; */
                padding: 40px;
                color: white;

                h1 {
                    text-transform: uppercase;
                    font-family: 'Bayon', sans-serif;
                    font-size: 50px;
                }

                .subtitle-container {
                    margin-top: 10px;
                    padding: 8px;
                    /* background: rgba(0, 0, 0, 1); */
                    width: fit-content;
                    background: linear-gradient(to right, #FE5000, #FFC175);

                    h2 {
                        text-transform: uppercase;
                        font-size: 18px;
                    }
                }
            }
        }
    }

    #sec-recruits {
        padding: 40px 20px;
        max-width: 1000px;
        margin: 0 auto;

        .intro-section {
            & h2 {
                font-size: 40px;
                font-family: 'Bayon', sans-serif;
                color: #F26900;
            }

            & h3 {
                font-size: 16px;
                color: gray;
            }

            & p {
                margin: 30px 30px;
                margin-bottom: 80px;    
                font-size: 14px;
                line-height: 1.25;
            }
        }

        .recruits-section {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            flex-wrap: wrap;

            .recruit-item {
                margin: 0 80px;
                padding: 0 20px;
                padding-top: 40px;
                flex: 1;
                border-top: 1px solid #F26900;
                position: relative;
                display: flex;
                flex-direction: column;
                justify-content: space-between;

                &::after {
                    content: '';
                    position: absolute;
                    top: 20px;
                    right: -80px;
                    bottom: 0;
                    width: 1px;
                    height: calc(100% - 20px);
                    background-color: #F26900;
                }

                &:last-child {
                    &::after {
                        display: none;
                    }
                }

                & h3 {
                    font-size: 24px;
                    font-family: 'Bayon', sans-serif;
                    color: #F26900;
                    margin-bottom: 10px;
                }

                & p {
                    font-size: 14px;
                    line-height: 1.25;
                }

                .button {
                    margin-left: auto;
                    margin-top: 20px;
                    margin-bottom: 20px;
                    width: 80px;
                    height: 80px;
                    border-radius: 50%;
                    background-color: #F26900;
                    color: white;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    font-size: 30px;
                    cursor: pointer;
                    transition: all 0.3s ease;

                    &:hover {
                        opacity: 0.9;
                        transform: scale(1.05);
                        box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.2);
                    }
                }
            }
        }
    }

    #sec-others {
        padding: 40px 20px;
        max-width: 1000px;
        margin: 0 auto;

        .others-section {
            display: flex;
            flex-direction: column;

            .other-item {
                & h2 {
                    font-size: 40px;
                    font-family: 'Bayon', sans-serif;
                    color: #006DF2;
                }
    
                & h3 {
                    font-size: 16px;
                    color: gray;
                }
    
                & p {
                    margin: 30px 30px;
                    margin-bottom: 60px;    
                    font-size: 14px;
                    line-height: 1.25;
                }

                .other-buttons {
                    .other-button {
                        display: flex;
                        flex-direction: row;
                        align-items: center;
                        justify-content: space-between;
                        padding: 20px 30px;
                        margin: 0 40px;
                        border-top: 2px solid #006DF2;

                        & a {
                            font-family: 'Bayon', sans-serif;
                            font-size: 32px;
                            line-height: 1.25;
                            color: #006DF2;
                        }

                        .button {
                            margin-left: auto;
                            width: 60px;
                            height: 60px;
                            border-radius: 50%;
                            background-color: #006DF2;
                            color: white;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            font-size: 28px;
                            cursor: pointer;
                            transition: all 0.3s ease;
        
                            &:hover {
                                opacity: 0.9;
                                transform: scale(1.05);
                                box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.2);
                            }
                        }
                    }
                }
            }
        }
    }
}

#recruit-supporter {
    /* position: relative; */

    #btn-form {
        position: fixed;
        z-index: 100;
        bottom: 2dvw;
        right: 2dvw;
        width: 180px;
        height: 180px;
        max-width: 30dvw;
        max-height: 30dvw;
        background-color: black;
        border-radius: 50%;
        color: white;
        transition: all 0.3s ease;

        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;

        & p {
            text-align: center;
            font-size: 14px;
            line-height: 1.75;
        }

        &:hover {
            opacity: 0.9;
            transform: scale(1.05);
            box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.2);
        }
    }
    
    #sec-title {
        padding: 30px 50px;
        margin: 0 auto;
        max-width: 1200px;

        & h1 {
            font-family: 'Bayon', sans-serif;
            font-size: 45px;
            text-decoration: underline;
            text-decoration-color: black;
            text-decoration-thickness: 2px;
            text-decoration-style: dotted;
            text-underline-offset: 10px;
        }

        & p {
            font-size: 16px;
            line-height: 1.75;
            margin: 0 20px;
            margin-top: 30px;
            text-align: center;
        }
    }

    #sec-points {
        padding: 30px 50px;
        margin: 0 auto;
        max-width: 1000px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        & h2 {
            font-size: 20px;
            font-family: 'Hiragino Kaku Gothic Pro W6', sans-serif;
            margin-bottom: 60px;
        }

        .points-section {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            max-width: 1000px;
            gap: 50px;

            .point-item {
                padding: 40px 15px;
                border-radius: 50%;
                border: 1px solid #FF6200;
                height: 260px;
                width: 260px;
                display: flex;
                flex-direction: column;
                align-items: center;

                .point-number {
                    font-size: 20px;
                    color: #FF6600;
                    font-family: 'Hiragino Kaku Gothic Pro W6', sans-serif;
                }

                .point-text {
                    flex: 1;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    text-align: center;
                    line-height: 1.75;
                    font-size: 16px;
                }
            }
        }
    }

    #sec-steps {
        padding: 30px 50px;
        padding-bottom: 60px;
        margin: 0 auto;
        max-width: 1200px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        & h2 {
            font-size: 20px;
            font-family: 'Hiragino Kaku Gothic Pro W6', sans-serif;
            margin-bottom: 60px;
        }

        .steps-container {
            width: 100%;
            display: flex;
            flex-direction: row;
            align-items: stretch;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;

            @media (max-width: 950px) {
                flex-direction: column;
            }

            .step-item {
                flex: 1 1;
                min-width: 270px;
                max-width: 270px;
                background-color: white;
                border: 1px solid rgba(0, 0, 0, 0.1);
                box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
                padding: 20px 10px;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                align-self: stretch;
                position: relative;
                z-index: 10;

                &::before {
                    content: '';
                    position: absolute;
                    top: 50%;
                    left: calc(100% + 1px);
                    width: 270px;
                    height: 2px;
                    background-color: #FF6600;
                    transform: translateY(-50%);
                    z-index: 1;
                }

                &:last-child::before {
                    display: none;
                }

                @media (max-width: 950px) {
                    margin: 0 auto;

                    &::before {
                        display: none;
                    }
                }

                & span {
                    font-size: 18px;
                    color: #FF6600;
                    font-family: 'Hiragino Kaku Gothic Pro W6', sans-serif;
                    margin-bottom: 10px;
                }

                & h3 {
                    font-size: 12px;
                    padding: 10px 20px;
                    text-align: center;
                    background-color: #FF6600;
                    font-family: 'Hiragino Kaku Gothic Pro W6', sans-serif;
                    color: white;
                    border-top-right-radius: 10px;
                    border-bottom-left-radius: 10px;
                    margin-bottom: 15px;
                }

                & p {
                    font-size: 12px;
                    line-height: 1.75;
                    text-align: center;
                    margin: 0 auto;
                }
            }
        }
    }
}

/* #recruit-member: see css/recruit-member.css */

@media (max-width: 768px) {
    #undergrads {
        #sec-title {
            height: 320px;

            .title-container .title-text {
                padding: 24px 20px;

                h1 {
                    font-size: 28px;
                }

                .subtitle-container {
                    margin-top: 8px;
                    padding: 6px;

                    h2 {
                        font-size: 14px;
                    }
                }
            }
        }

        #sec-recruits {
            padding: 24px 16px;

            .intro-section {
                & h2 {
                    font-size: 28px;
                }

                & p {
                    margin: 16px 0;
                    margin-bottom: 40px;
                }
            }

            .recruits-section {
                flex-direction: column;
                gap: 0;

                .recruit-item {
                    margin: 0;
                    padding: 24px 0;
                    padding-left: 0;
                    padding-right: 0;
                    min-width: 100%;
                    border-top: 1px solid #F26900;

                    &::after {
                        display: none;
                    }

                    & h3 {
                        font-size: 20px;
                    }

                    .button {
                        width: 56px;
                        height: 56px;
                        font-size: 22px;
                        margin-top: 16px;
                        margin-bottom: 0;
                    }
                }
            }
        }

        #sec-others {
            padding: 24px 16px;

            .others-section .other-item {
                & h2 {
                    font-size: 28px;
                }

                & p {
                    margin: 16px 0;
                    margin-bottom: 40px;
                }

                .other-buttons .other-button {
                    padding: 14px 0;
                    margin: 0;
                    border-top: 2px solid #006DF2;

                    & a {
                        font-size: 20px;
                        line-height: 1.3;
                    }

                    .button {
                        width: 48px;
                        height: 48px;
                        font-size: 22px;
                        flex-shrink: 0;
                    }
                }
            }
        }
    }

    #recruit-supporter {
        #sec-title {
            padding: 30px 20px;
        }

        #sec-points {
            & h2 {
                margin-bottom: 30px;
            }

            .points-section {
                gap: 20px;
            }
        }
    }
}