#termsOfUseModal .modal-custom-content {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
    height: 578px;
    width: 800px;
}

#termsOfUseModal .modal-custom-title {
    text-align: center;
    padding: 48px 64px 16px 64px;
	display: flex;
	flex-direction: column;
	justify-items: center;
	align-items: center;
	gap: 16px;
}

#termsOfUseModal .modal-custom-title h2 {
    letter-spacing: 0;
    font-size: 24px;
}

#termsOfUseModal .modal-custom-title p {
    line-height: 24px
}

#termsOfUseModal .modal-custom-section {
	overflow-y: scroll;
}

#termsOfUseModal .modal-custom-btn-container {
	align-items: center;
}

#termsOfUseModal .modal-custom-btn-container button {
    height: auto;
    width: auto;
}

#chkTou {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8.5px;
}

#chkTou input {
    margin: 0;
    width: 16px;
    height: 16px;
    flex: none;
}

#chkTou label {
    line-height: 20px;
}

@media screen and (max-width: 425px) {
    #termsOfUseModal .modal-custom-content {
        height: 100vh; 
        width: 100vw;
        max-height: inherit;
        max-width: inherit;
        border-radius: 0;
    }
    
    #termsOfUseModal .modal-custom-title {
        padding: 36px 64px 24px 64px;
    }

    #termsOfUseModal .modal-custom-section {
        padding: 16px 24px;
    }
    
    #termsOfUseModal .modal-custom-btn-container {
        align-items: normal;
        flex-direction: column;
        justify-content: center;
        gap: 16px;
        padding: 24px;
    }

    #chkTou {
        align-items: baseline;
    }
}